@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/dist/client.js CHANGED
@@ -603,6 +603,74 @@ class CreateUserResponse extends $tea.Model {
603
603
  }
604
604
  }
605
605
  exports.CreateUserResponse = CreateUserResponse;
606
+ class CreateUserProvisioningRequest extends $tea.Model {
607
+ constructor(map) {
608
+ super(map);
609
+ }
610
+ static names() {
611
+ return {
612
+ deletionStrategy: 'DeletionStrategy',
613
+ description: 'Description',
614
+ directoryId: 'DirectoryId',
615
+ duplicationStrategy: 'DuplicationStrategy',
616
+ principalId: 'PrincipalId',
617
+ principalType: 'PrincipalType',
618
+ targetId: 'TargetId',
619
+ targetType: 'TargetType',
620
+ };
621
+ }
622
+ static types() {
623
+ return {
624
+ deletionStrategy: 'string',
625
+ description: 'string',
626
+ directoryId: 'string',
627
+ duplicationStrategy: 'string',
628
+ principalId: 'string',
629
+ principalType: 'string',
630
+ targetId: 'string',
631
+ targetType: 'string',
632
+ };
633
+ }
634
+ }
635
+ exports.CreateUserProvisioningRequest = CreateUserProvisioningRequest;
636
+ class CreateUserProvisioningResponseBody extends $tea.Model {
637
+ constructor(map) {
638
+ super(map);
639
+ }
640
+ static names() {
641
+ return {
642
+ requestId: 'RequestId',
643
+ userProvisioning: 'UserProvisioning',
644
+ };
645
+ }
646
+ static types() {
647
+ return {
648
+ requestId: 'string',
649
+ userProvisioning: CreateUserProvisioningResponseBodyUserProvisioning,
650
+ };
651
+ }
652
+ }
653
+ exports.CreateUserProvisioningResponseBody = CreateUserProvisioningResponseBody;
654
+ class CreateUserProvisioningResponse extends $tea.Model {
655
+ constructor(map) {
656
+ super(map);
657
+ }
658
+ static names() {
659
+ return {
660
+ headers: 'headers',
661
+ statusCode: 'statusCode',
662
+ body: 'body',
663
+ };
664
+ }
665
+ static types() {
666
+ return {
667
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
668
+ statusCode: 'number',
669
+ body: CreateUserProvisioningResponseBody,
670
+ };
671
+ }
672
+ }
673
+ exports.CreateUserProvisioningResponse = CreateUserProvisioningResponse;
606
674
  class DeleteAccessAssignmentRequest extends $tea.Model {
607
675
  constructor(map) {
608
676
  super(map);
@@ -995,6 +1063,118 @@ class DeleteUserResponse extends $tea.Model {
995
1063
  }
996
1064
  }
997
1065
  exports.DeleteUserResponse = DeleteUserResponse;
1066
+ class DeleteUserProvisioningRequest extends $tea.Model {
1067
+ constructor(map) {
1068
+ super(map);
1069
+ }
1070
+ static names() {
1071
+ return {
1072
+ deletionStrategy: 'DeletionStrategy',
1073
+ directoryId: 'DirectoryId',
1074
+ userProvisioningId: 'UserProvisioningId',
1075
+ };
1076
+ }
1077
+ static types() {
1078
+ return {
1079
+ deletionStrategy: 'string',
1080
+ directoryId: 'string',
1081
+ userProvisioningId: 'string',
1082
+ };
1083
+ }
1084
+ }
1085
+ exports.DeleteUserProvisioningRequest = DeleteUserProvisioningRequest;
1086
+ class DeleteUserProvisioningResponseBody extends $tea.Model {
1087
+ constructor(map) {
1088
+ super(map);
1089
+ }
1090
+ static names() {
1091
+ return {
1092
+ requestId: 'RequestId',
1093
+ };
1094
+ }
1095
+ static types() {
1096
+ return {
1097
+ requestId: 'string',
1098
+ };
1099
+ }
1100
+ }
1101
+ exports.DeleteUserProvisioningResponseBody = DeleteUserProvisioningResponseBody;
1102
+ class DeleteUserProvisioningResponse extends $tea.Model {
1103
+ constructor(map) {
1104
+ super(map);
1105
+ }
1106
+ static names() {
1107
+ return {
1108
+ headers: 'headers',
1109
+ statusCode: 'statusCode',
1110
+ body: 'body',
1111
+ };
1112
+ }
1113
+ static types() {
1114
+ return {
1115
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1116
+ statusCode: 'number',
1117
+ body: DeleteUserProvisioningResponseBody,
1118
+ };
1119
+ }
1120
+ }
1121
+ exports.DeleteUserProvisioningResponse = DeleteUserProvisioningResponse;
1122
+ class DeleteUserProvisioningEventRequest extends $tea.Model {
1123
+ constructor(map) {
1124
+ super(map);
1125
+ }
1126
+ static names() {
1127
+ return {
1128
+ directoryId: 'DirectoryId',
1129
+ eventId: 'EventId',
1130
+ userProvisioningId: 'UserProvisioningId',
1131
+ };
1132
+ }
1133
+ static types() {
1134
+ return {
1135
+ directoryId: 'string',
1136
+ eventId: 'string',
1137
+ userProvisioningId: 'string',
1138
+ };
1139
+ }
1140
+ }
1141
+ exports.DeleteUserProvisioningEventRequest = DeleteUserProvisioningEventRequest;
1142
+ class DeleteUserProvisioningEventResponseBody extends $tea.Model {
1143
+ constructor(map) {
1144
+ super(map);
1145
+ }
1146
+ static names() {
1147
+ return {
1148
+ requestId: 'RequestId',
1149
+ };
1150
+ }
1151
+ static types() {
1152
+ return {
1153
+ requestId: 'string',
1154
+ };
1155
+ }
1156
+ }
1157
+ exports.DeleteUserProvisioningEventResponseBody = DeleteUserProvisioningEventResponseBody;
1158
+ class DeleteUserProvisioningEventResponse extends $tea.Model {
1159
+ constructor(map) {
1160
+ super(map);
1161
+ }
1162
+ static names() {
1163
+ return {
1164
+ headers: 'headers',
1165
+ statusCode: 'statusCode',
1166
+ body: 'body',
1167
+ };
1168
+ }
1169
+ static types() {
1170
+ return {
1171
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1172
+ statusCode: 'number',
1173
+ body: DeleteUserProvisioningEventResponseBody,
1174
+ };
1175
+ }
1176
+ }
1177
+ exports.DeleteUserProvisioningEventResponse = DeleteUserProvisioningEventResponse;
998
1178
  class DeprovisionAccessConfigurationRequest extends $tea.Model {
999
1179
  constructor(map) {
1000
1180
  super(map);
@@ -1933,63 +2113,43 @@ class GetUserMFAAuthenticationSettingsResponse extends $tea.Model {
1933
2113
  }
1934
2114
  }
1935
2115
  exports.GetUserMFAAuthenticationSettingsResponse = GetUserMFAAuthenticationSettingsResponse;
1936
- class ListAccessAssignmentsRequest extends $tea.Model {
2116
+ class GetUserProvisioningRequest extends $tea.Model {
1937
2117
  constructor(map) {
1938
2118
  super(map);
1939
2119
  }
1940
2120
  static names() {
1941
2121
  return {
1942
- accessConfigurationId: 'AccessConfigurationId',
1943
2122
  directoryId: 'DirectoryId',
1944
- maxResults: 'MaxResults',
1945
- nextToken: 'NextToken',
1946
- principalId: 'PrincipalId',
1947
- principalType: 'PrincipalType',
1948
- targetId: 'TargetId',
1949
- targetType: 'TargetType',
2123
+ userProvisioningId: 'UserProvisioningId',
1950
2124
  };
1951
2125
  }
1952
2126
  static types() {
1953
2127
  return {
1954
- accessConfigurationId: 'string',
1955
2128
  directoryId: 'string',
1956
- maxResults: 'number',
1957
- nextToken: 'string',
1958
- principalId: 'string',
1959
- principalType: 'string',
1960
- targetId: 'string',
1961
- targetType: 'string',
2129
+ userProvisioningId: 'string',
1962
2130
  };
1963
2131
  }
1964
2132
  }
1965
- exports.ListAccessAssignmentsRequest = ListAccessAssignmentsRequest;
1966
- class ListAccessAssignmentsResponseBody extends $tea.Model {
2133
+ exports.GetUserProvisioningRequest = GetUserProvisioningRequest;
2134
+ class GetUserProvisioningResponseBody extends $tea.Model {
1967
2135
  constructor(map) {
1968
2136
  super(map);
1969
2137
  }
1970
2138
  static names() {
1971
2139
  return {
1972
- accessAssignments: 'AccessAssignments',
1973
- isTruncated: 'IsTruncated',
1974
- maxResults: 'MaxResults',
1975
- nextToken: 'NextToken',
1976
2140
  requestId: 'RequestId',
1977
- totalCounts: 'TotalCounts',
2141
+ userProvisioning: 'UserProvisioning',
1978
2142
  };
1979
2143
  }
1980
2144
  static types() {
1981
2145
  return {
1982
- accessAssignments: { 'type': 'array', 'itemType': ListAccessAssignmentsResponseBodyAccessAssignments },
1983
- isTruncated: 'boolean',
1984
- maxResults: 'number',
1985
- nextToken: 'string',
1986
2146
  requestId: 'string',
1987
- totalCounts: 'number',
2147
+ userProvisioning: GetUserProvisioningResponseBodyUserProvisioning,
1988
2148
  };
1989
2149
  }
1990
2150
  }
1991
- exports.ListAccessAssignmentsResponseBody = ListAccessAssignmentsResponseBody;
1992
- class ListAccessAssignmentsResponse extends $tea.Model {
2151
+ exports.GetUserProvisioningResponseBody = GetUserProvisioningResponseBody;
2152
+ class GetUserProvisioningResponse extends $tea.Model {
1993
2153
  constructor(map) {
1994
2154
  super(map);
1995
2155
  }
@@ -2004,66 +2164,46 @@ class ListAccessAssignmentsResponse extends $tea.Model {
2004
2164
  return {
2005
2165
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2006
2166
  statusCode: 'number',
2007
- body: ListAccessAssignmentsResponseBody,
2167
+ body: GetUserProvisioningResponseBody,
2008
2168
  };
2009
2169
  }
2010
2170
  }
2011
- exports.ListAccessAssignmentsResponse = ListAccessAssignmentsResponse;
2012
- class ListAccessConfigurationProvisioningsRequest extends $tea.Model {
2171
+ exports.GetUserProvisioningResponse = GetUserProvisioningResponse;
2172
+ class GetUserProvisioningConfigurationRequest extends $tea.Model {
2013
2173
  constructor(map) {
2014
2174
  super(map);
2015
2175
  }
2016
2176
  static names() {
2017
2177
  return {
2018
- accessConfigurationId: 'AccessConfigurationId',
2019
2178
  directoryId: 'DirectoryId',
2020
- maxResults: 'MaxResults',
2021
- nextToken: 'NextToken',
2022
- provisioningStatus: 'ProvisioningStatus',
2023
- targetId: 'TargetId',
2024
- targetType: 'TargetType',
2025
2179
  };
2026
2180
  }
2027
2181
  static types() {
2028
2182
  return {
2029
- accessConfigurationId: 'string',
2030
2183
  directoryId: 'string',
2031
- maxResults: 'number',
2032
- nextToken: 'string',
2033
- provisioningStatus: 'string',
2034
- targetId: 'string',
2035
- targetType: 'string',
2036
2184
  };
2037
2185
  }
2038
2186
  }
2039
- exports.ListAccessConfigurationProvisioningsRequest = ListAccessConfigurationProvisioningsRequest;
2040
- class ListAccessConfigurationProvisioningsResponseBody extends $tea.Model {
2187
+ exports.GetUserProvisioningConfigurationRequest = GetUserProvisioningConfigurationRequest;
2188
+ class GetUserProvisioningConfigurationResponseBody extends $tea.Model {
2041
2189
  constructor(map) {
2042
2190
  super(map);
2043
2191
  }
2044
2192
  static names() {
2045
2193
  return {
2046
- accessConfigurationProvisionings: 'AccessConfigurationProvisionings',
2047
- isTruncated: 'IsTruncated',
2048
- maxResults: 'MaxResults',
2049
- nextToken: 'NextToken',
2050
2194
  requestId: 'RequestId',
2051
- totalCounts: 'TotalCounts',
2195
+ userProvisioningConfiguration: 'UserProvisioningConfiguration',
2052
2196
  };
2053
2197
  }
2054
2198
  static types() {
2055
2199
  return {
2056
- accessConfigurationProvisionings: { 'type': 'array', 'itemType': ListAccessConfigurationProvisioningsResponseBodyAccessConfigurationProvisionings },
2057
- isTruncated: 'boolean',
2058
- maxResults: 'number',
2059
- nextToken: 'string',
2060
2200
  requestId: 'string',
2061
- totalCounts: 'number',
2201
+ userProvisioningConfiguration: GetUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration,
2062
2202
  };
2063
2203
  }
2064
2204
  }
2065
- exports.ListAccessConfigurationProvisioningsResponseBody = ListAccessConfigurationProvisioningsResponseBody;
2066
- class ListAccessConfigurationProvisioningsResponse extends $tea.Model {
2205
+ exports.GetUserProvisioningConfigurationResponseBody = GetUserProvisioningConfigurationResponseBody;
2206
+ class GetUserProvisioningConfigurationResponse extends $tea.Model {
2067
2207
  constructor(map) {
2068
2208
  super(map);
2069
2209
  }
@@ -2078,62 +2218,48 @@ class ListAccessConfigurationProvisioningsResponse extends $tea.Model {
2078
2218
  return {
2079
2219
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2080
2220
  statusCode: 'number',
2081
- body: ListAccessConfigurationProvisioningsResponseBody,
2221
+ body: GetUserProvisioningConfigurationResponseBody,
2082
2222
  };
2083
2223
  }
2084
2224
  }
2085
- exports.ListAccessConfigurationProvisioningsResponse = ListAccessConfigurationProvisioningsResponse;
2086
- class ListAccessConfigurationsRequest extends $tea.Model {
2225
+ exports.GetUserProvisioningConfigurationResponse = GetUserProvisioningConfigurationResponse;
2226
+ class GetUserProvisioningEventRequest extends $tea.Model {
2087
2227
  constructor(map) {
2088
2228
  super(map);
2089
2229
  }
2090
2230
  static names() {
2091
2231
  return {
2092
2232
  directoryId: 'DirectoryId',
2093
- filter: 'Filter',
2094
- maxResults: 'MaxResults',
2095
- nextToken: 'NextToken',
2096
- statusNotifications: 'StatusNotifications',
2233
+ eventId: 'EventId',
2097
2234
  };
2098
2235
  }
2099
2236
  static types() {
2100
2237
  return {
2101
2238
  directoryId: 'string',
2102
- filter: 'string',
2103
- maxResults: 'number',
2104
- nextToken: 'string',
2105
- statusNotifications: 'string',
2239
+ eventId: 'string',
2106
2240
  };
2107
2241
  }
2108
2242
  }
2109
- exports.ListAccessConfigurationsRequest = ListAccessConfigurationsRequest;
2110
- class ListAccessConfigurationsResponseBody extends $tea.Model {
2243
+ exports.GetUserProvisioningEventRequest = GetUserProvisioningEventRequest;
2244
+ class GetUserProvisioningEventResponseBody extends $tea.Model {
2111
2245
  constructor(map) {
2112
2246
  super(map);
2113
2247
  }
2114
2248
  static names() {
2115
2249
  return {
2116
- accessConfigurations: 'AccessConfigurations',
2117
- isTruncated: 'IsTruncated',
2118
- maxResults: 'MaxResults',
2119
- nextToken: 'NextToken',
2120
2250
  requestId: 'RequestId',
2121
- totalCounts: 'TotalCounts',
2251
+ userProvisioningEvent: 'UserProvisioningEvent',
2122
2252
  };
2123
2253
  }
2124
2254
  static types() {
2125
2255
  return {
2126
- accessConfigurations: { 'type': 'array', 'itemType': ListAccessConfigurationsResponseBodyAccessConfigurations },
2127
- isTruncated: 'boolean',
2128
- maxResults: 'number',
2129
- nextToken: 'string',
2130
2256
  requestId: 'string',
2131
- totalCounts: 'number',
2257
+ userProvisioningEvent: GetUserProvisioningEventResponseBodyUserProvisioningEvent,
2132
2258
  };
2133
2259
  }
2134
2260
  }
2135
- exports.ListAccessConfigurationsResponseBody = ListAccessConfigurationsResponseBody;
2136
- class ListAccessConfigurationsResponse extends $tea.Model {
2261
+ exports.GetUserProvisioningEventResponseBody = GetUserProvisioningEventResponseBody;
2262
+ class GetUserProvisioningEventResponse extends $tea.Model {
2137
2263
  constructor(map) {
2138
2264
  super(map);
2139
2265
  }
@@ -2148,32 +2274,48 @@ class ListAccessConfigurationsResponse extends $tea.Model {
2148
2274
  return {
2149
2275
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2150
2276
  statusCode: 'number',
2151
- body: ListAccessConfigurationsResponseBody,
2277
+ body: GetUserProvisioningEventResponseBody,
2152
2278
  };
2153
2279
  }
2154
2280
  }
2155
- exports.ListAccessConfigurationsResponse = ListAccessConfigurationsResponse;
2156
- class ListDirectoriesResponseBody extends $tea.Model {
2281
+ exports.GetUserProvisioningEventResponse = GetUserProvisioningEventResponse;
2282
+ class GetUserProvisioningRdAccountStatisticsRequest extends $tea.Model {
2283
+ constructor(map) {
2284
+ super(map);
2285
+ }
2286
+ static names() {
2287
+ return {
2288
+ directoryId: 'DirectoryId',
2289
+ rdMemberId: 'RdMemberId',
2290
+ };
2291
+ }
2292
+ static types() {
2293
+ return {
2294
+ directoryId: 'string',
2295
+ rdMemberId: 'string',
2296
+ };
2297
+ }
2298
+ }
2299
+ exports.GetUserProvisioningRdAccountStatisticsRequest = GetUserProvisioningRdAccountStatisticsRequest;
2300
+ class GetUserProvisioningRdAccountStatisticsResponseBody extends $tea.Model {
2157
2301
  constructor(map) {
2158
2302
  super(map);
2159
2303
  }
2160
2304
  static names() {
2161
2305
  return {
2162
- directories: 'Directories',
2163
2306
  requestId: 'RequestId',
2164
- totalCounts: 'TotalCounts',
2307
+ userProvisioningStatistics: 'UserProvisioningStatistics',
2165
2308
  };
2166
2309
  }
2167
2310
  static types() {
2168
2311
  return {
2169
- directories: { 'type': 'array', 'itemType': ListDirectoriesResponseBodyDirectories },
2170
2312
  requestId: 'string',
2171
- totalCounts: 'number',
2313
+ userProvisioningStatistics: GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics,
2172
2314
  };
2173
2315
  }
2174
2316
  }
2175
- exports.ListDirectoriesResponseBody = ListDirectoriesResponseBody;
2176
- class ListDirectoriesResponse extends $tea.Model {
2317
+ exports.GetUserProvisioningRdAccountStatisticsResponseBody = GetUserProvisioningRdAccountStatisticsResponseBody;
2318
+ class GetUserProvisioningRdAccountStatisticsResponse extends $tea.Model {
2177
2319
  constructor(map) {
2178
2320
  super(map);
2179
2321
  }
@@ -2188,28 +2330,344 @@ class ListDirectoriesResponse extends $tea.Model {
2188
2330
  return {
2189
2331
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2190
2332
  statusCode: 'number',
2191
- body: ListDirectoriesResponseBody,
2333
+ body: GetUserProvisioningRdAccountStatisticsResponseBody,
2192
2334
  };
2193
2335
  }
2194
2336
  }
2195
- exports.ListDirectoriesResponse = ListDirectoriesResponse;
2196
- class ListExternalSAMLIdPCertificatesRequest extends $tea.Model {
2337
+ exports.GetUserProvisioningRdAccountStatisticsResponse = GetUserProvisioningRdAccountStatisticsResponse;
2338
+ class GetUserProvisioningStatisticsRequest extends $tea.Model {
2197
2339
  constructor(map) {
2198
2340
  super(map);
2199
2341
  }
2200
2342
  static names() {
2201
2343
  return {
2202
2344
  directoryId: 'DirectoryId',
2345
+ userProvisioningId: 'UserProvisioningId',
2203
2346
  };
2204
2347
  }
2205
2348
  static types() {
2206
2349
  return {
2207
2350
  directoryId: 'string',
2351
+ userProvisioningId: 'string',
2208
2352
  };
2209
2353
  }
2210
2354
  }
2211
- exports.ListExternalSAMLIdPCertificatesRequest = ListExternalSAMLIdPCertificatesRequest;
2212
- class ListExternalSAMLIdPCertificatesResponseBody extends $tea.Model {
2355
+ exports.GetUserProvisioningStatisticsRequest = GetUserProvisioningStatisticsRequest;
2356
+ class GetUserProvisioningStatisticsResponseBody extends $tea.Model {
2357
+ constructor(map) {
2358
+ super(map);
2359
+ }
2360
+ static names() {
2361
+ return {
2362
+ requestId: 'RequestId',
2363
+ userProvisioningStatistics: 'UserProvisioningStatistics',
2364
+ };
2365
+ }
2366
+ static types() {
2367
+ return {
2368
+ requestId: 'string',
2369
+ userProvisioningStatistics: GetUserProvisioningStatisticsResponseBodyUserProvisioningStatistics,
2370
+ };
2371
+ }
2372
+ }
2373
+ exports.GetUserProvisioningStatisticsResponseBody = GetUserProvisioningStatisticsResponseBody;
2374
+ class GetUserProvisioningStatisticsResponse extends $tea.Model {
2375
+ constructor(map) {
2376
+ super(map);
2377
+ }
2378
+ static names() {
2379
+ return {
2380
+ headers: 'headers',
2381
+ statusCode: 'statusCode',
2382
+ body: 'body',
2383
+ };
2384
+ }
2385
+ static types() {
2386
+ return {
2387
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2388
+ statusCode: 'number',
2389
+ body: GetUserProvisioningStatisticsResponseBody,
2390
+ };
2391
+ }
2392
+ }
2393
+ exports.GetUserProvisioningStatisticsResponse = GetUserProvisioningStatisticsResponse;
2394
+ class ListAccessAssignmentsRequest extends $tea.Model {
2395
+ constructor(map) {
2396
+ super(map);
2397
+ }
2398
+ static names() {
2399
+ return {
2400
+ accessConfigurationId: 'AccessConfigurationId',
2401
+ directoryId: 'DirectoryId',
2402
+ maxResults: 'MaxResults',
2403
+ nextToken: 'NextToken',
2404
+ principalId: 'PrincipalId',
2405
+ principalType: 'PrincipalType',
2406
+ targetId: 'TargetId',
2407
+ targetType: 'TargetType',
2408
+ };
2409
+ }
2410
+ static types() {
2411
+ return {
2412
+ accessConfigurationId: 'string',
2413
+ directoryId: 'string',
2414
+ maxResults: 'number',
2415
+ nextToken: 'string',
2416
+ principalId: 'string',
2417
+ principalType: 'string',
2418
+ targetId: 'string',
2419
+ targetType: 'string',
2420
+ };
2421
+ }
2422
+ }
2423
+ exports.ListAccessAssignmentsRequest = ListAccessAssignmentsRequest;
2424
+ class ListAccessAssignmentsResponseBody extends $tea.Model {
2425
+ constructor(map) {
2426
+ super(map);
2427
+ }
2428
+ static names() {
2429
+ return {
2430
+ accessAssignments: 'AccessAssignments',
2431
+ isTruncated: 'IsTruncated',
2432
+ maxResults: 'MaxResults',
2433
+ nextToken: 'NextToken',
2434
+ requestId: 'RequestId',
2435
+ totalCounts: 'TotalCounts',
2436
+ };
2437
+ }
2438
+ static types() {
2439
+ return {
2440
+ accessAssignments: { 'type': 'array', 'itemType': ListAccessAssignmentsResponseBodyAccessAssignments },
2441
+ isTruncated: 'boolean',
2442
+ maxResults: 'number',
2443
+ nextToken: 'string',
2444
+ requestId: 'string',
2445
+ totalCounts: 'number',
2446
+ };
2447
+ }
2448
+ }
2449
+ exports.ListAccessAssignmentsResponseBody = ListAccessAssignmentsResponseBody;
2450
+ class ListAccessAssignmentsResponse extends $tea.Model {
2451
+ constructor(map) {
2452
+ super(map);
2453
+ }
2454
+ static names() {
2455
+ return {
2456
+ headers: 'headers',
2457
+ statusCode: 'statusCode',
2458
+ body: 'body',
2459
+ };
2460
+ }
2461
+ static types() {
2462
+ return {
2463
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2464
+ statusCode: 'number',
2465
+ body: ListAccessAssignmentsResponseBody,
2466
+ };
2467
+ }
2468
+ }
2469
+ exports.ListAccessAssignmentsResponse = ListAccessAssignmentsResponse;
2470
+ class ListAccessConfigurationProvisioningsRequest extends $tea.Model {
2471
+ constructor(map) {
2472
+ super(map);
2473
+ }
2474
+ static names() {
2475
+ return {
2476
+ accessConfigurationId: 'AccessConfigurationId',
2477
+ directoryId: 'DirectoryId',
2478
+ maxResults: 'MaxResults',
2479
+ nextToken: 'NextToken',
2480
+ provisioningStatus: 'ProvisioningStatus',
2481
+ targetId: 'TargetId',
2482
+ targetType: 'TargetType',
2483
+ };
2484
+ }
2485
+ static types() {
2486
+ return {
2487
+ accessConfigurationId: 'string',
2488
+ directoryId: 'string',
2489
+ maxResults: 'number',
2490
+ nextToken: 'string',
2491
+ provisioningStatus: 'string',
2492
+ targetId: 'string',
2493
+ targetType: 'string',
2494
+ };
2495
+ }
2496
+ }
2497
+ exports.ListAccessConfigurationProvisioningsRequest = ListAccessConfigurationProvisioningsRequest;
2498
+ class ListAccessConfigurationProvisioningsResponseBody extends $tea.Model {
2499
+ constructor(map) {
2500
+ super(map);
2501
+ }
2502
+ static names() {
2503
+ return {
2504
+ accessConfigurationProvisionings: 'AccessConfigurationProvisionings',
2505
+ isTruncated: 'IsTruncated',
2506
+ maxResults: 'MaxResults',
2507
+ nextToken: 'NextToken',
2508
+ requestId: 'RequestId',
2509
+ totalCounts: 'TotalCounts',
2510
+ };
2511
+ }
2512
+ static types() {
2513
+ return {
2514
+ accessConfigurationProvisionings: { 'type': 'array', 'itemType': ListAccessConfigurationProvisioningsResponseBodyAccessConfigurationProvisionings },
2515
+ isTruncated: 'boolean',
2516
+ maxResults: 'number',
2517
+ nextToken: 'string',
2518
+ requestId: 'string',
2519
+ totalCounts: 'number',
2520
+ };
2521
+ }
2522
+ }
2523
+ exports.ListAccessConfigurationProvisioningsResponseBody = ListAccessConfigurationProvisioningsResponseBody;
2524
+ class ListAccessConfigurationProvisioningsResponse extends $tea.Model {
2525
+ constructor(map) {
2526
+ super(map);
2527
+ }
2528
+ static names() {
2529
+ return {
2530
+ headers: 'headers',
2531
+ statusCode: 'statusCode',
2532
+ body: 'body',
2533
+ };
2534
+ }
2535
+ static types() {
2536
+ return {
2537
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2538
+ statusCode: 'number',
2539
+ body: ListAccessConfigurationProvisioningsResponseBody,
2540
+ };
2541
+ }
2542
+ }
2543
+ exports.ListAccessConfigurationProvisioningsResponse = ListAccessConfigurationProvisioningsResponse;
2544
+ class ListAccessConfigurationsRequest extends $tea.Model {
2545
+ constructor(map) {
2546
+ super(map);
2547
+ }
2548
+ static names() {
2549
+ return {
2550
+ directoryId: 'DirectoryId',
2551
+ filter: 'Filter',
2552
+ maxResults: 'MaxResults',
2553
+ nextToken: 'NextToken',
2554
+ statusNotifications: 'StatusNotifications',
2555
+ };
2556
+ }
2557
+ static types() {
2558
+ return {
2559
+ directoryId: 'string',
2560
+ filter: 'string',
2561
+ maxResults: 'number',
2562
+ nextToken: 'string',
2563
+ statusNotifications: 'string',
2564
+ };
2565
+ }
2566
+ }
2567
+ exports.ListAccessConfigurationsRequest = ListAccessConfigurationsRequest;
2568
+ class ListAccessConfigurationsResponseBody extends $tea.Model {
2569
+ constructor(map) {
2570
+ super(map);
2571
+ }
2572
+ static names() {
2573
+ return {
2574
+ accessConfigurations: 'AccessConfigurations',
2575
+ isTruncated: 'IsTruncated',
2576
+ maxResults: 'MaxResults',
2577
+ nextToken: 'NextToken',
2578
+ requestId: 'RequestId',
2579
+ totalCounts: 'TotalCounts',
2580
+ };
2581
+ }
2582
+ static types() {
2583
+ return {
2584
+ accessConfigurations: { 'type': 'array', 'itemType': ListAccessConfigurationsResponseBodyAccessConfigurations },
2585
+ isTruncated: 'boolean',
2586
+ maxResults: 'number',
2587
+ nextToken: 'string',
2588
+ requestId: 'string',
2589
+ totalCounts: 'number',
2590
+ };
2591
+ }
2592
+ }
2593
+ exports.ListAccessConfigurationsResponseBody = ListAccessConfigurationsResponseBody;
2594
+ class ListAccessConfigurationsResponse extends $tea.Model {
2595
+ constructor(map) {
2596
+ super(map);
2597
+ }
2598
+ static names() {
2599
+ return {
2600
+ headers: 'headers',
2601
+ statusCode: 'statusCode',
2602
+ body: 'body',
2603
+ };
2604
+ }
2605
+ static types() {
2606
+ return {
2607
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2608
+ statusCode: 'number',
2609
+ body: ListAccessConfigurationsResponseBody,
2610
+ };
2611
+ }
2612
+ }
2613
+ exports.ListAccessConfigurationsResponse = ListAccessConfigurationsResponse;
2614
+ class ListDirectoriesResponseBody extends $tea.Model {
2615
+ constructor(map) {
2616
+ super(map);
2617
+ }
2618
+ static names() {
2619
+ return {
2620
+ directories: 'Directories',
2621
+ requestId: 'RequestId',
2622
+ totalCounts: 'TotalCounts',
2623
+ };
2624
+ }
2625
+ static types() {
2626
+ return {
2627
+ directories: { 'type': 'array', 'itemType': ListDirectoriesResponseBodyDirectories },
2628
+ requestId: 'string',
2629
+ totalCounts: 'number',
2630
+ };
2631
+ }
2632
+ }
2633
+ exports.ListDirectoriesResponseBody = ListDirectoriesResponseBody;
2634
+ class ListDirectoriesResponse extends $tea.Model {
2635
+ constructor(map) {
2636
+ super(map);
2637
+ }
2638
+ static names() {
2639
+ return {
2640
+ headers: 'headers',
2641
+ statusCode: 'statusCode',
2642
+ body: 'body',
2643
+ };
2644
+ }
2645
+ static types() {
2646
+ return {
2647
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2648
+ statusCode: 'number',
2649
+ body: ListDirectoriesResponseBody,
2650
+ };
2651
+ }
2652
+ }
2653
+ exports.ListDirectoriesResponse = ListDirectoriesResponse;
2654
+ class ListExternalSAMLIdPCertificatesRequest extends $tea.Model {
2655
+ constructor(map) {
2656
+ super(map);
2657
+ }
2658
+ static names() {
2659
+ return {
2660
+ directoryId: 'DirectoryId',
2661
+ };
2662
+ }
2663
+ static types() {
2664
+ return {
2665
+ directoryId: 'string',
2666
+ };
2667
+ }
2668
+ }
2669
+ exports.ListExternalSAMLIdPCertificatesRequest = ListExternalSAMLIdPCertificatesRequest;
2670
+ class ListExternalSAMLIdPCertificatesResponseBody extends $tea.Model {
2213
2671
  constructor(map) {
2214
2672
  super(map);
2215
2673
  }
@@ -2492,8 +2950,124 @@ class ListMFADevicesForUserResponseBody extends $tea.Model {
2492
2950
  };
2493
2951
  }
2494
2952
  }
2495
- exports.ListMFADevicesForUserResponseBody = ListMFADevicesForUserResponseBody;
2496
- class ListMFADevicesForUserResponse extends $tea.Model {
2953
+ exports.ListMFADevicesForUserResponseBody = ListMFADevicesForUserResponseBody;
2954
+ class ListMFADevicesForUserResponse extends $tea.Model {
2955
+ constructor(map) {
2956
+ super(map);
2957
+ }
2958
+ static names() {
2959
+ return {
2960
+ headers: 'headers',
2961
+ statusCode: 'statusCode',
2962
+ body: 'body',
2963
+ };
2964
+ }
2965
+ static types() {
2966
+ return {
2967
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2968
+ statusCode: 'number',
2969
+ body: ListMFADevicesForUserResponseBody,
2970
+ };
2971
+ }
2972
+ }
2973
+ exports.ListMFADevicesForUserResponse = ListMFADevicesForUserResponse;
2974
+ class ListPermissionPoliciesInAccessConfigurationRequest extends $tea.Model {
2975
+ constructor(map) {
2976
+ super(map);
2977
+ }
2978
+ static names() {
2979
+ return {
2980
+ accessConfigurationId: 'AccessConfigurationId',
2981
+ directoryId: 'DirectoryId',
2982
+ permissionPolicyType: 'PermissionPolicyType',
2983
+ };
2984
+ }
2985
+ static types() {
2986
+ return {
2987
+ accessConfigurationId: 'string',
2988
+ directoryId: 'string',
2989
+ permissionPolicyType: 'string',
2990
+ };
2991
+ }
2992
+ }
2993
+ exports.ListPermissionPoliciesInAccessConfigurationRequest = ListPermissionPoliciesInAccessConfigurationRequest;
2994
+ class ListPermissionPoliciesInAccessConfigurationResponseBody extends $tea.Model {
2995
+ constructor(map) {
2996
+ super(map);
2997
+ }
2998
+ static names() {
2999
+ return {
3000
+ permissionPolicies: 'PermissionPolicies',
3001
+ requestId: 'RequestId',
3002
+ totalCounts: 'TotalCounts',
3003
+ };
3004
+ }
3005
+ static types() {
3006
+ return {
3007
+ permissionPolicies: { 'type': 'array', 'itemType': ListPermissionPoliciesInAccessConfigurationResponseBodyPermissionPolicies },
3008
+ requestId: 'string',
3009
+ totalCounts: 'number',
3010
+ };
3011
+ }
3012
+ }
3013
+ exports.ListPermissionPoliciesInAccessConfigurationResponseBody = ListPermissionPoliciesInAccessConfigurationResponseBody;
3014
+ class ListPermissionPoliciesInAccessConfigurationResponse extends $tea.Model {
3015
+ constructor(map) {
3016
+ super(map);
3017
+ }
3018
+ static names() {
3019
+ return {
3020
+ headers: 'headers',
3021
+ statusCode: 'statusCode',
3022
+ body: 'body',
3023
+ };
3024
+ }
3025
+ static types() {
3026
+ return {
3027
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3028
+ statusCode: 'number',
3029
+ body: ListPermissionPoliciesInAccessConfigurationResponseBody,
3030
+ };
3031
+ }
3032
+ }
3033
+ exports.ListPermissionPoliciesInAccessConfigurationResponse = ListPermissionPoliciesInAccessConfigurationResponse;
3034
+ class ListSCIMServerCredentialsRequest extends $tea.Model {
3035
+ constructor(map) {
3036
+ super(map);
3037
+ }
3038
+ static names() {
3039
+ return {
3040
+ directoryId: 'DirectoryId',
3041
+ };
3042
+ }
3043
+ static types() {
3044
+ return {
3045
+ directoryId: 'string',
3046
+ };
3047
+ }
3048
+ }
3049
+ exports.ListSCIMServerCredentialsRequest = ListSCIMServerCredentialsRequest;
3050
+ class ListSCIMServerCredentialsResponseBody extends $tea.Model {
3051
+ constructor(map) {
3052
+ super(map);
3053
+ }
3054
+ static names() {
3055
+ return {
3056
+ requestId: 'RequestId',
3057
+ SCIMServerCredentials: 'SCIMServerCredentials',
3058
+ totalCounts: 'TotalCounts',
3059
+ };
3060
+ }
3061
+ static types() {
3062
+ return {
3063
+ requestId: 'string',
3064
+ SCIMServerCredentials: { 'type': 'array', 'itemType': ListSCIMServerCredentialsResponseBodySCIMServerCredentials },
3065
+ totalCounts: 'number',
3066
+ };
3067
+ }
3068
+ }
3069
+ exports.ListSCIMServerCredentialsResponseBody = ListSCIMServerCredentialsResponseBody;
3070
+ class ListSCIMServerCredentialsResponse extends $tea.Model {
2497
3071
  constructor(map) {
2498
3072
  super(map);
2499
3073
  }
@@ -2508,12 +3082,12 @@ class ListMFADevicesForUserResponse extends $tea.Model {
2508
3082
  return {
2509
3083
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2510
3084
  statusCode: 'number',
2511
- body: ListMFADevicesForUserResponseBody,
3085
+ body: ListSCIMServerCredentialsResponseBody,
2512
3086
  };
2513
3087
  }
2514
3088
  }
2515
- exports.ListMFADevicesForUserResponse = ListMFADevicesForUserResponse;
2516
- class ListPermissionPoliciesInAccessConfigurationRequest extends $tea.Model {
3089
+ exports.ListSCIMServerCredentialsResponse = ListSCIMServerCredentialsResponse;
3090
+ class ListTasksRequest extends $tea.Model {
2517
3091
  constructor(map) {
2518
3092
  super(map);
2519
3093
  }
@@ -2521,39 +3095,61 @@ class ListPermissionPoliciesInAccessConfigurationRequest extends $tea.Model {
2521
3095
  return {
2522
3096
  accessConfigurationId: 'AccessConfigurationId',
2523
3097
  directoryId: 'DirectoryId',
2524
- permissionPolicyType: 'PermissionPolicyType',
3098
+ filter: 'Filter',
3099
+ maxResults: 'MaxResults',
3100
+ nextToken: 'NextToken',
3101
+ principalId: 'PrincipalId',
3102
+ principalType: 'PrincipalType',
3103
+ status: 'Status',
3104
+ targetId: 'TargetId',
3105
+ targetType: 'TargetType',
3106
+ taskType: 'TaskType',
2525
3107
  };
2526
3108
  }
2527
3109
  static types() {
2528
3110
  return {
2529
3111
  accessConfigurationId: 'string',
2530
3112
  directoryId: 'string',
2531
- permissionPolicyType: 'string',
3113
+ filter: 'string',
3114
+ maxResults: 'number',
3115
+ nextToken: 'string',
3116
+ principalId: 'string',
3117
+ principalType: 'string',
3118
+ status: 'string',
3119
+ targetId: 'string',
3120
+ targetType: 'string',
3121
+ taskType: 'string',
2532
3122
  };
2533
3123
  }
2534
3124
  }
2535
- exports.ListPermissionPoliciesInAccessConfigurationRequest = ListPermissionPoliciesInAccessConfigurationRequest;
2536
- class ListPermissionPoliciesInAccessConfigurationResponseBody extends $tea.Model {
3125
+ exports.ListTasksRequest = ListTasksRequest;
3126
+ class ListTasksResponseBody extends $tea.Model {
2537
3127
  constructor(map) {
2538
3128
  super(map);
2539
3129
  }
2540
3130
  static names() {
2541
3131
  return {
2542
- permissionPolicies: 'PermissionPolicies',
3132
+ isTruncated: 'IsTruncated',
3133
+ maxResults: 'MaxResults',
3134
+ nextToken: 'NextToken',
2543
3135
  requestId: 'RequestId',
3136
+ tasks: 'Tasks',
2544
3137
  totalCounts: 'TotalCounts',
2545
3138
  };
2546
3139
  }
2547
3140
  static types() {
2548
3141
  return {
2549
- permissionPolicies: { 'type': 'array', 'itemType': ListPermissionPoliciesInAccessConfigurationResponseBodyPermissionPolicies },
3142
+ isTruncated: 'boolean',
3143
+ maxResults: 'number',
3144
+ nextToken: 'string',
2550
3145
  requestId: 'string',
3146
+ tasks: { 'type': 'array', 'itemType': ListTasksResponseBodyTasks },
2551
3147
  totalCounts: 'number',
2552
3148
  };
2553
3149
  }
2554
3150
  }
2555
- exports.ListPermissionPoliciesInAccessConfigurationResponseBody = ListPermissionPoliciesInAccessConfigurationResponseBody;
2556
- class ListPermissionPoliciesInAccessConfigurationResponse extends $tea.Model {
3151
+ exports.ListTasksResponseBody = ListTasksResponseBody;
3152
+ class ListTasksResponse extends $tea.Model {
2557
3153
  constructor(map) {
2558
3154
  super(map);
2559
3155
  }
@@ -2568,48 +3164,60 @@ class ListPermissionPoliciesInAccessConfigurationResponse extends $tea.Model {
2568
3164
  return {
2569
3165
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2570
3166
  statusCode: 'number',
2571
- body: ListPermissionPoliciesInAccessConfigurationResponseBody,
3167
+ body: ListTasksResponseBody,
2572
3168
  };
2573
3169
  }
2574
3170
  }
2575
- exports.ListPermissionPoliciesInAccessConfigurationResponse = ListPermissionPoliciesInAccessConfigurationResponse;
2576
- class ListSCIMServerCredentialsRequest extends $tea.Model {
3171
+ exports.ListTasksResponse = ListTasksResponse;
3172
+ class ListUserProvisioningEventsRequest extends $tea.Model {
2577
3173
  constructor(map) {
2578
3174
  super(map);
2579
3175
  }
2580
3176
  static names() {
2581
3177
  return {
2582
3178
  directoryId: 'DirectoryId',
3179
+ maxResults: 'MaxResults',
3180
+ nextToken: 'NextToken',
3181
+ userProvisioningId: 'UserProvisioningId',
2583
3182
  };
2584
3183
  }
2585
3184
  static types() {
2586
3185
  return {
2587
3186
  directoryId: 'string',
3187
+ maxResults: 'number',
3188
+ nextToken: 'string',
3189
+ userProvisioningId: 'string',
2588
3190
  };
2589
3191
  }
2590
3192
  }
2591
- exports.ListSCIMServerCredentialsRequest = ListSCIMServerCredentialsRequest;
2592
- class ListSCIMServerCredentialsResponseBody extends $tea.Model {
3193
+ exports.ListUserProvisioningEventsRequest = ListUserProvisioningEventsRequest;
3194
+ class ListUserProvisioningEventsResponseBody extends $tea.Model {
2593
3195
  constructor(map) {
2594
3196
  super(map);
2595
3197
  }
2596
3198
  static names() {
2597
3199
  return {
3200
+ isTruncated: 'IsTruncated',
3201
+ maxResults: 'MaxResults',
3202
+ nextToken: 'NextToken',
2598
3203
  requestId: 'RequestId',
2599
- SCIMServerCredentials: 'SCIMServerCredentials',
2600
3204
  totalCounts: 'TotalCounts',
3205
+ userProvisioningEvents: 'UserProvisioningEvents',
2601
3206
  };
2602
3207
  }
2603
3208
  static types() {
2604
3209
  return {
3210
+ isTruncated: 'boolean',
3211
+ maxResults: 'number',
3212
+ nextToken: 'string',
2605
3213
  requestId: 'string',
2606
- SCIMServerCredentials: { 'type': 'array', 'itemType': ListSCIMServerCredentialsResponseBodySCIMServerCredentials },
2607
3214
  totalCounts: 'number',
3215
+ userProvisioningEvents: { 'type': 'array', 'itemType': ListUserProvisioningEventsResponseBodyUserProvisioningEvents },
2608
3216
  };
2609
3217
  }
2610
3218
  }
2611
- exports.ListSCIMServerCredentialsResponseBody = ListSCIMServerCredentialsResponseBody;
2612
- class ListSCIMServerCredentialsResponse extends $tea.Model {
3219
+ exports.ListUserProvisioningEventsResponseBody = ListUserProvisioningEventsResponseBody;
3220
+ class ListUserProvisioningEventsResponse extends $tea.Model {
2613
3221
  constructor(map) {
2614
3222
  super(map);
2615
3223
  }
@@ -2624,48 +3232,40 @@ class ListSCIMServerCredentialsResponse extends $tea.Model {
2624
3232
  return {
2625
3233
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2626
3234
  statusCode: 'number',
2627
- body: ListSCIMServerCredentialsResponseBody,
3235
+ body: ListUserProvisioningEventsResponseBody,
2628
3236
  };
2629
3237
  }
2630
3238
  }
2631
- exports.ListSCIMServerCredentialsResponse = ListSCIMServerCredentialsResponse;
2632
- class ListTasksRequest extends $tea.Model {
3239
+ exports.ListUserProvisioningEventsResponse = ListUserProvisioningEventsResponse;
3240
+ class ListUserProvisioningsRequest extends $tea.Model {
2633
3241
  constructor(map) {
2634
3242
  super(map);
2635
3243
  }
2636
3244
  static names() {
2637
3245
  return {
2638
- accessConfigurationId: 'AccessConfigurationId',
2639
3246
  directoryId: 'DirectoryId',
2640
- filter: 'Filter',
2641
3247
  maxResults: 'MaxResults',
2642
3248
  nextToken: 'NextToken',
2643
3249
  principalId: 'PrincipalId',
2644
3250
  principalType: 'PrincipalType',
2645
- status: 'Status',
2646
3251
  targetId: 'TargetId',
2647
3252
  targetType: 'TargetType',
2648
- taskType: 'TaskType',
2649
3253
  };
2650
3254
  }
2651
3255
  static types() {
2652
3256
  return {
2653
- accessConfigurationId: 'string',
2654
3257
  directoryId: 'string',
2655
- filter: 'string',
2656
3258
  maxResults: 'number',
2657
3259
  nextToken: 'string',
2658
3260
  principalId: 'string',
2659
3261
  principalType: 'string',
2660
- status: 'string',
2661
3262
  targetId: 'string',
2662
3263
  targetType: 'string',
2663
- taskType: 'string',
2664
3264
  };
2665
3265
  }
2666
3266
  }
2667
- exports.ListTasksRequest = ListTasksRequest;
2668
- class ListTasksResponseBody extends $tea.Model {
3267
+ exports.ListUserProvisioningsRequest = ListUserProvisioningsRequest;
3268
+ class ListUserProvisioningsResponseBody extends $tea.Model {
2669
3269
  constructor(map) {
2670
3270
  super(map);
2671
3271
  }
@@ -2675,8 +3275,8 @@ class ListTasksResponseBody extends $tea.Model {
2675
3275
  maxResults: 'MaxResults',
2676
3276
  nextToken: 'NextToken',
2677
3277
  requestId: 'RequestId',
2678
- tasks: 'Tasks',
2679
3278
  totalCounts: 'TotalCounts',
3279
+ userProvisionings: 'UserProvisionings',
2680
3280
  };
2681
3281
  }
2682
3282
  static types() {
@@ -2685,13 +3285,13 @@ class ListTasksResponseBody extends $tea.Model {
2685
3285
  maxResults: 'number',
2686
3286
  nextToken: 'string',
2687
3287
  requestId: 'string',
2688
- tasks: { 'type': 'array', 'itemType': ListTasksResponseBodyTasks },
2689
3288
  totalCounts: 'number',
3289
+ userProvisionings: { 'type': 'array', 'itemType': ListUserProvisioningsResponseBodyUserProvisionings },
2690
3290
  };
2691
3291
  }
2692
3292
  }
2693
- exports.ListTasksResponseBody = ListTasksResponseBody;
2694
- class ListTasksResponse extends $tea.Model {
3293
+ exports.ListUserProvisioningsResponseBody = ListUserProvisioningsResponseBody;
3294
+ class ListUserProvisioningsResponse extends $tea.Model {
2695
3295
  constructor(map) {
2696
3296
  super(map);
2697
3297
  }
@@ -2706,11 +3306,11 @@ class ListTasksResponse extends $tea.Model {
2706
3306
  return {
2707
3307
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2708
3308
  statusCode: 'number',
2709
- body: ListTasksResponseBody,
3309
+ body: ListUserProvisioningsResponseBody,
2710
3310
  };
2711
3311
  }
2712
3312
  }
2713
- exports.ListTasksResponse = ListTasksResponse;
3313
+ exports.ListUserProvisioningsResponse = ListUserProvisioningsResponse;
2714
3314
  class ListUsersRequest extends $tea.Model {
2715
3315
  constructor(map) {
2716
3316
  super(map);
@@ -3073,6 +3673,62 @@ class ResetUserPasswordResponse extends $tea.Model {
3073
3673
  }
3074
3674
  }
3075
3675
  exports.ResetUserPasswordResponse = ResetUserPasswordResponse;
3676
+ class RetryUserProvisioningEventRequest extends $tea.Model {
3677
+ constructor(map) {
3678
+ super(map);
3679
+ }
3680
+ static names() {
3681
+ return {
3682
+ directoryId: 'DirectoryId',
3683
+ duplicationStrategy: 'DuplicationStrategy',
3684
+ eventId: 'EventId',
3685
+ };
3686
+ }
3687
+ static types() {
3688
+ return {
3689
+ directoryId: 'string',
3690
+ duplicationStrategy: 'string',
3691
+ eventId: 'string',
3692
+ };
3693
+ }
3694
+ }
3695
+ exports.RetryUserProvisioningEventRequest = RetryUserProvisioningEventRequest;
3696
+ class RetryUserProvisioningEventResponseBody extends $tea.Model {
3697
+ constructor(map) {
3698
+ super(map);
3699
+ }
3700
+ static names() {
3701
+ return {
3702
+ requestId: 'RequestId',
3703
+ };
3704
+ }
3705
+ static types() {
3706
+ return {
3707
+ requestId: 'string',
3708
+ };
3709
+ }
3710
+ }
3711
+ exports.RetryUserProvisioningEventResponseBody = RetryUserProvisioningEventResponseBody;
3712
+ class RetryUserProvisioningEventResponse extends $tea.Model {
3713
+ constructor(map) {
3714
+ super(map);
3715
+ }
3716
+ static names() {
3717
+ return {
3718
+ headers: 'headers',
3719
+ statusCode: 'statusCode',
3720
+ body: 'body',
3721
+ };
3722
+ }
3723
+ static types() {
3724
+ return {
3725
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3726
+ statusCode: 'number',
3727
+ body: RetryUserProvisioningEventResponseBody,
3728
+ };
3729
+ }
3730
+ }
3731
+ exports.RetryUserProvisioningEventResponse = RetryUserProvisioningEventResponse;
3076
3732
  class SetExternalSAMLIdentityProviderRequest extends $tea.Model {
3077
3733
  constructor(map) {
3078
3734
  super(map);
@@ -3518,8 +4174,132 @@ class UpdateMFAAuthenticationSettingsResponseBody extends $tea.Model {
3518
4174
  };
3519
4175
  }
3520
4176
  }
3521
- exports.UpdateMFAAuthenticationSettingsResponseBody = UpdateMFAAuthenticationSettingsResponseBody;
3522
- class UpdateMFAAuthenticationSettingsResponse extends $tea.Model {
4177
+ exports.UpdateMFAAuthenticationSettingsResponseBody = UpdateMFAAuthenticationSettingsResponseBody;
4178
+ class UpdateMFAAuthenticationSettingsResponse extends $tea.Model {
4179
+ constructor(map) {
4180
+ super(map);
4181
+ }
4182
+ static names() {
4183
+ return {
4184
+ headers: 'headers',
4185
+ statusCode: 'statusCode',
4186
+ body: 'body',
4187
+ };
4188
+ }
4189
+ static types() {
4190
+ return {
4191
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4192
+ statusCode: 'number',
4193
+ body: UpdateMFAAuthenticationSettingsResponseBody,
4194
+ };
4195
+ }
4196
+ }
4197
+ exports.UpdateMFAAuthenticationSettingsResponse = UpdateMFAAuthenticationSettingsResponse;
4198
+ class UpdateSCIMServerCredentialStatusRequest extends $tea.Model {
4199
+ constructor(map) {
4200
+ super(map);
4201
+ }
4202
+ static names() {
4203
+ return {
4204
+ credentialId: 'CredentialId',
4205
+ directoryId: 'DirectoryId',
4206
+ newStatus: 'NewStatus',
4207
+ };
4208
+ }
4209
+ static types() {
4210
+ return {
4211
+ credentialId: 'string',
4212
+ directoryId: 'string',
4213
+ newStatus: 'string',
4214
+ };
4215
+ }
4216
+ }
4217
+ exports.UpdateSCIMServerCredentialStatusRequest = UpdateSCIMServerCredentialStatusRequest;
4218
+ class UpdateSCIMServerCredentialStatusResponseBody extends $tea.Model {
4219
+ constructor(map) {
4220
+ super(map);
4221
+ }
4222
+ static names() {
4223
+ return {
4224
+ requestId: 'RequestId',
4225
+ SCIMServerCredential: 'SCIMServerCredential',
4226
+ };
4227
+ }
4228
+ static types() {
4229
+ return {
4230
+ requestId: 'string',
4231
+ SCIMServerCredential: UpdateSCIMServerCredentialStatusResponseBodySCIMServerCredential,
4232
+ };
4233
+ }
4234
+ }
4235
+ exports.UpdateSCIMServerCredentialStatusResponseBody = UpdateSCIMServerCredentialStatusResponseBody;
4236
+ class UpdateSCIMServerCredentialStatusResponse extends $tea.Model {
4237
+ constructor(map) {
4238
+ super(map);
4239
+ }
4240
+ static names() {
4241
+ return {
4242
+ headers: 'headers',
4243
+ statusCode: 'statusCode',
4244
+ body: 'body',
4245
+ };
4246
+ }
4247
+ static types() {
4248
+ return {
4249
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4250
+ statusCode: 'number',
4251
+ body: UpdateSCIMServerCredentialStatusResponseBody,
4252
+ };
4253
+ }
4254
+ }
4255
+ exports.UpdateSCIMServerCredentialStatusResponse = UpdateSCIMServerCredentialStatusResponse;
4256
+ class UpdateUserRequest extends $tea.Model {
4257
+ constructor(map) {
4258
+ super(map);
4259
+ }
4260
+ static names() {
4261
+ return {
4262
+ directoryId: 'DirectoryId',
4263
+ newDescription: 'NewDescription',
4264
+ newDisplayName: 'NewDisplayName',
4265
+ newEmail: 'NewEmail',
4266
+ newFirstName: 'NewFirstName',
4267
+ newLastName: 'NewLastName',
4268
+ userId: 'UserId',
4269
+ };
4270
+ }
4271
+ static types() {
4272
+ return {
4273
+ directoryId: 'string',
4274
+ newDescription: 'string',
4275
+ newDisplayName: 'string',
4276
+ newEmail: 'string',
4277
+ newFirstName: 'string',
4278
+ newLastName: 'string',
4279
+ userId: 'string',
4280
+ };
4281
+ }
4282
+ }
4283
+ exports.UpdateUserRequest = UpdateUserRequest;
4284
+ class UpdateUserResponseBody extends $tea.Model {
4285
+ constructor(map) {
4286
+ super(map);
4287
+ }
4288
+ static names() {
4289
+ return {
4290
+ requestId: 'RequestId',
4291
+ user: 'User',
4292
+ };
4293
+ }
4294
+ static types() {
4295
+ return {
4296
+ requestId: 'string',
4297
+ user: UpdateUserResponseBodyUser,
4298
+ };
4299
+ }
4300
+ }
4301
+ exports.UpdateUserResponseBody = UpdateUserResponseBody;
4302
+ class UpdateUserResponse extends $tea.Model {
3523
4303
  constructor(map) {
3524
4304
  super(map);
3525
4305
  }
@@ -3534,50 +4314,48 @@ class UpdateMFAAuthenticationSettingsResponse extends $tea.Model {
3534
4314
  return {
3535
4315
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3536
4316
  statusCode: 'number',
3537
- body: UpdateMFAAuthenticationSettingsResponseBody,
4317
+ body: UpdateUserResponseBody,
3538
4318
  };
3539
4319
  }
3540
4320
  }
3541
- exports.UpdateMFAAuthenticationSettingsResponse = UpdateMFAAuthenticationSettingsResponse;
3542
- class UpdateSCIMServerCredentialStatusRequest extends $tea.Model {
4321
+ exports.UpdateUserResponse = UpdateUserResponse;
4322
+ class UpdateUserMFAAuthenticationSettingsRequest extends $tea.Model {
3543
4323
  constructor(map) {
3544
4324
  super(map);
3545
4325
  }
3546
4326
  static names() {
3547
4327
  return {
3548
- credentialId: 'CredentialId',
3549
4328
  directoryId: 'DirectoryId',
3550
- newStatus: 'NewStatus',
4329
+ userId: 'UserId',
4330
+ userMFAAuthenticationSettings: 'UserMFAAuthenticationSettings',
3551
4331
  };
3552
4332
  }
3553
4333
  static types() {
3554
4334
  return {
3555
- credentialId: 'string',
3556
4335
  directoryId: 'string',
3557
- newStatus: 'string',
4336
+ userId: 'string',
4337
+ userMFAAuthenticationSettings: 'string',
3558
4338
  };
3559
4339
  }
3560
4340
  }
3561
- exports.UpdateSCIMServerCredentialStatusRequest = UpdateSCIMServerCredentialStatusRequest;
3562
- class UpdateSCIMServerCredentialStatusResponseBody extends $tea.Model {
4341
+ exports.UpdateUserMFAAuthenticationSettingsRequest = UpdateUserMFAAuthenticationSettingsRequest;
4342
+ class UpdateUserMFAAuthenticationSettingsResponseBody extends $tea.Model {
3563
4343
  constructor(map) {
3564
4344
  super(map);
3565
4345
  }
3566
4346
  static names() {
3567
4347
  return {
3568
4348
  requestId: 'RequestId',
3569
- SCIMServerCredential: 'SCIMServerCredential',
3570
4349
  };
3571
4350
  }
3572
4351
  static types() {
3573
4352
  return {
3574
4353
  requestId: 'string',
3575
- SCIMServerCredential: UpdateSCIMServerCredentialStatusResponseBodySCIMServerCredential,
3576
4354
  };
3577
4355
  }
3578
4356
  }
3579
- exports.UpdateSCIMServerCredentialStatusResponseBody = UpdateSCIMServerCredentialStatusResponseBody;
3580
- class UpdateSCIMServerCredentialStatusResponse extends $tea.Model {
4357
+ exports.UpdateUserMFAAuthenticationSettingsResponseBody = UpdateUserMFAAuthenticationSettingsResponseBody;
4358
+ class UpdateUserMFAAuthenticationSettingsResponse extends $tea.Model {
3581
4359
  constructor(map) {
3582
4360
  super(map);
3583
4361
  }
@@ -3592,58 +4370,54 @@ class UpdateSCIMServerCredentialStatusResponse extends $tea.Model {
3592
4370
  return {
3593
4371
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3594
4372
  statusCode: 'number',
3595
- body: UpdateSCIMServerCredentialStatusResponseBody,
4373
+ body: UpdateUserMFAAuthenticationSettingsResponseBody,
3596
4374
  };
3597
4375
  }
3598
4376
  }
3599
- exports.UpdateSCIMServerCredentialStatusResponse = UpdateSCIMServerCredentialStatusResponse;
3600
- class UpdateUserRequest extends $tea.Model {
4377
+ exports.UpdateUserMFAAuthenticationSettingsResponse = UpdateUserMFAAuthenticationSettingsResponse;
4378
+ class UpdateUserProvisioningRequest extends $tea.Model {
3601
4379
  constructor(map) {
3602
4380
  super(map);
3603
4381
  }
3604
4382
  static names() {
3605
4383
  return {
3606
4384
  directoryId: 'DirectoryId',
4385
+ newDeletionStrategy: 'NewDeletionStrategy',
3607
4386
  newDescription: 'NewDescription',
3608
- newDisplayName: 'NewDisplayName',
3609
- newEmail: 'NewEmail',
3610
- newFirstName: 'NewFirstName',
3611
- newLastName: 'NewLastName',
3612
- userId: 'UserId',
4387
+ newDuplicationStrategy: 'NewDuplicationStrategy',
4388
+ userProvisioningId: 'UserProvisioningId',
3613
4389
  };
3614
4390
  }
3615
4391
  static types() {
3616
4392
  return {
3617
4393
  directoryId: 'string',
4394
+ newDeletionStrategy: 'string',
3618
4395
  newDescription: 'string',
3619
- newDisplayName: 'string',
3620
- newEmail: 'string',
3621
- newFirstName: 'string',
3622
- newLastName: 'string',
3623
- userId: 'string',
4396
+ newDuplicationStrategy: 'string',
4397
+ userProvisioningId: 'string',
3624
4398
  };
3625
4399
  }
3626
4400
  }
3627
- exports.UpdateUserRequest = UpdateUserRequest;
3628
- class UpdateUserResponseBody extends $tea.Model {
4401
+ exports.UpdateUserProvisioningRequest = UpdateUserProvisioningRequest;
4402
+ class UpdateUserProvisioningResponseBody extends $tea.Model {
3629
4403
  constructor(map) {
3630
4404
  super(map);
3631
4405
  }
3632
4406
  static names() {
3633
4407
  return {
3634
4408
  requestId: 'RequestId',
3635
- user: 'User',
4409
+ userProvisioning: 'UserProvisioning',
3636
4410
  };
3637
4411
  }
3638
4412
  static types() {
3639
4413
  return {
3640
4414
  requestId: 'string',
3641
- user: UpdateUserResponseBodyUser,
4415
+ userProvisioning: UpdateUserProvisioningResponseBodyUserProvisioning,
3642
4416
  };
3643
4417
  }
3644
4418
  }
3645
- exports.UpdateUserResponseBody = UpdateUserResponseBody;
3646
- class UpdateUserResponse extends $tea.Model {
4419
+ exports.UpdateUserProvisioningResponseBody = UpdateUserProvisioningResponseBody;
4420
+ class UpdateUserProvisioningResponse extends $tea.Model {
3647
4421
  constructor(map) {
3648
4422
  super(map);
3649
4423
  }
@@ -3658,48 +4432,50 @@ class UpdateUserResponse extends $tea.Model {
3658
4432
  return {
3659
4433
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3660
4434
  statusCode: 'number',
3661
- body: UpdateUserResponseBody,
4435
+ body: UpdateUserProvisioningResponseBody,
3662
4436
  };
3663
4437
  }
3664
4438
  }
3665
- exports.UpdateUserResponse = UpdateUserResponse;
3666
- class UpdateUserMFAAuthenticationSettingsRequest extends $tea.Model {
4439
+ exports.UpdateUserProvisioningResponse = UpdateUserProvisioningResponse;
4440
+ class UpdateUserProvisioningConfigurationRequest extends $tea.Model {
3667
4441
  constructor(map) {
3668
4442
  super(map);
3669
4443
  }
3670
4444
  static names() {
3671
4445
  return {
3672
4446
  directoryId: 'DirectoryId',
3673
- userId: 'UserId',
3674
- userMFAAuthenticationSettings: 'UserMFAAuthenticationSettings',
4447
+ newDefaultLandingPage: 'NewDefaultLandingPage',
4448
+ newSessionDuration: 'NewSessionDuration',
3675
4449
  };
3676
4450
  }
3677
4451
  static types() {
3678
4452
  return {
3679
4453
  directoryId: 'string',
3680
- userId: 'string',
3681
- userMFAAuthenticationSettings: 'string',
4454
+ newDefaultLandingPage: 'string',
4455
+ newSessionDuration: 'number',
3682
4456
  };
3683
4457
  }
3684
4458
  }
3685
- exports.UpdateUserMFAAuthenticationSettingsRequest = UpdateUserMFAAuthenticationSettingsRequest;
3686
- class UpdateUserMFAAuthenticationSettingsResponseBody extends $tea.Model {
4459
+ exports.UpdateUserProvisioningConfigurationRequest = UpdateUserProvisioningConfigurationRequest;
4460
+ class UpdateUserProvisioningConfigurationResponseBody extends $tea.Model {
3687
4461
  constructor(map) {
3688
4462
  super(map);
3689
4463
  }
3690
4464
  static names() {
3691
4465
  return {
3692
4466
  requestId: 'RequestId',
4467
+ userProvisioningConfiguration: 'UserProvisioningConfiguration',
3693
4468
  };
3694
4469
  }
3695
4470
  static types() {
3696
4471
  return {
3697
4472
  requestId: 'string',
4473
+ userProvisioningConfiguration: UpdateUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration,
3698
4474
  };
3699
4475
  }
3700
4476
  }
3701
- exports.UpdateUserMFAAuthenticationSettingsResponseBody = UpdateUserMFAAuthenticationSettingsResponseBody;
3702
- class UpdateUserMFAAuthenticationSettingsResponse extends $tea.Model {
4477
+ exports.UpdateUserProvisioningConfigurationResponseBody = UpdateUserProvisioningConfigurationResponseBody;
4478
+ class UpdateUserProvisioningConfigurationResponse extends $tea.Model {
3703
4479
  constructor(map) {
3704
4480
  super(map);
3705
4481
  }
@@ -3714,11 +4490,11 @@ class UpdateUserMFAAuthenticationSettingsResponse extends $tea.Model {
3714
4490
  return {
3715
4491
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3716
4492
  statusCode: 'number',
3717
- body: UpdateUserMFAAuthenticationSettingsResponseBody,
4493
+ body: UpdateUserProvisioningConfigurationResponseBody,
3718
4494
  };
3719
4495
  }
3720
4496
  }
3721
- exports.UpdateUserMFAAuthenticationSettingsResponse = UpdateUserMFAAuthenticationSettingsResponse;
4497
+ exports.UpdateUserProvisioningConfigurationResponse = UpdateUserProvisioningConfigurationResponse;
3722
4498
  class UpdateUserStatusRequest extends $tea.Model {
3723
4499
  constructor(map) {
3724
4500
  super(map);
@@ -3959,6 +4735,52 @@ class CreateUserResponseBodyUser extends $tea.Model {
3959
4735
  }
3960
4736
  }
3961
4737
  exports.CreateUserResponseBodyUser = CreateUserResponseBodyUser;
4738
+ class CreateUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
4739
+ constructor(map) {
4740
+ super(map);
4741
+ }
4742
+ static names() {
4743
+ return {
4744
+ createTime: 'CreateTime',
4745
+ deletionStrategy: 'DeletionStrategy',
4746
+ description: 'Description',
4747
+ directoryId: 'DirectoryId',
4748
+ duplicationStrategy: 'DuplicationStrategy',
4749
+ ownerPk: 'OwnerPk',
4750
+ principalId: 'PrincipalId',
4751
+ principalName: 'PrincipalName',
4752
+ principalType: 'PrincipalType',
4753
+ status: 'Status',
4754
+ targetId: 'TargetId',
4755
+ targetName: 'TargetName',
4756
+ targetPath: 'TargetPath',
4757
+ targetType: 'TargetType',
4758
+ updateTime: 'UpdateTime',
4759
+ userProvisioningId: 'UserProvisioningId',
4760
+ };
4761
+ }
4762
+ static types() {
4763
+ return {
4764
+ createTime: 'string',
4765
+ deletionStrategy: 'string',
4766
+ description: 'string',
4767
+ directoryId: 'string',
4768
+ duplicationStrategy: 'string',
4769
+ ownerPk: 'string',
4770
+ principalId: 'string',
4771
+ principalName: 'string',
4772
+ principalType: 'string',
4773
+ status: 'string',
4774
+ targetId: 'string',
4775
+ targetName: 'string',
4776
+ targetPath: 'string',
4777
+ targetType: 'string',
4778
+ updateTime: 'string',
4779
+ userProvisioningId: 'string',
4780
+ };
4781
+ }
4782
+ }
4783
+ exports.CreateUserProvisioningResponseBodyUserProvisioning = CreateUserProvisioningResponseBodyUserProvisioning;
3962
4784
  class DeleteAccessAssignmentResponseBodyTask extends $tea.Model {
3963
4785
  constructor(map) {
3964
4786
  super(map);
@@ -4094,17 +4916,23 @@ class GetDirectorySAMLServiceProviderInfoResponseBodySAMLServiceProvider extends
4094
4916
  static names() {
4095
4917
  return {
4096
4918
  acsUrl: 'AcsUrl',
4919
+ authnSignAlgo: 'AuthnSignAlgo',
4920
+ certificateType: 'CertificateType',
4097
4921
  directoryId: 'DirectoryId',
4098
4922
  encodedMetadataDocument: 'EncodedMetadataDocument',
4099
4923
  entityId: 'EntityId',
4924
+ supportEncryptedAssertion: 'SupportEncryptedAssertion',
4100
4925
  };
4101
4926
  }
4102
4927
  static types() {
4103
4928
  return {
4104
4929
  acsUrl: 'string',
4930
+ authnSignAlgo: 'string',
4931
+ certificateType: 'string',
4105
4932
  directoryId: 'string',
4106
4933
  encodedMetadataDocument: 'string',
4107
4934
  entityId: 'string',
4935
+ supportEncryptedAssertion: 'boolean',
4108
4936
  };
4109
4937
  }
4110
4938
  }
@@ -4284,81 +5112,253 @@ class GetTaskResponseBodyTask extends $tea.Model {
4284
5112
  principalId: 'string',
4285
5113
  principalName: 'string',
4286
5114
  principalType: 'string',
4287
- startTime: 'string',
4288
- status: 'string',
5115
+ startTime: 'string',
5116
+ status: 'string',
5117
+ targetId: 'string',
5118
+ targetName: 'string',
5119
+ targetPath: 'string',
5120
+ targetPathName: 'string',
5121
+ targetType: 'string',
5122
+ taskId: 'string',
5123
+ taskType: 'string',
5124
+ };
5125
+ }
5126
+ }
5127
+ exports.GetTaskResponseBodyTask = GetTaskResponseBodyTask;
5128
+ class GetTaskStatusResponseBodyTaskStatus extends $tea.Model {
5129
+ constructor(map) {
5130
+ super(map);
5131
+ }
5132
+ static names() {
5133
+ return {
5134
+ endTime: 'EndTime',
5135
+ failureReason: 'FailureReason',
5136
+ startTime: 'StartTime',
5137
+ status: 'Status',
5138
+ taskId: 'TaskId',
5139
+ taskType: 'TaskType',
5140
+ };
5141
+ }
5142
+ static types() {
5143
+ return {
5144
+ endTime: 'string',
5145
+ failureReason: 'string',
5146
+ startTime: 'string',
5147
+ status: 'string',
5148
+ taskId: 'string',
5149
+ taskType: 'string',
5150
+ };
5151
+ }
5152
+ }
5153
+ exports.GetTaskStatusResponseBodyTaskStatus = GetTaskStatusResponseBodyTaskStatus;
5154
+ class GetUserResponseBodyUser extends $tea.Model {
5155
+ constructor(map) {
5156
+ super(map);
5157
+ }
5158
+ static names() {
5159
+ return {
5160
+ createTime: 'CreateTime',
5161
+ description: 'Description',
5162
+ displayName: 'DisplayName',
5163
+ email: 'Email',
5164
+ firstName: 'FirstName',
5165
+ lastName: 'LastName',
5166
+ provisionType: 'ProvisionType',
5167
+ status: 'Status',
5168
+ updateTime: 'UpdateTime',
5169
+ userId: 'UserId',
5170
+ userName: 'UserName',
5171
+ };
5172
+ }
5173
+ static types() {
5174
+ return {
5175
+ createTime: 'string',
5176
+ description: 'string',
5177
+ displayName: 'string',
5178
+ email: 'string',
5179
+ firstName: 'string',
5180
+ lastName: 'string',
5181
+ provisionType: 'string',
5182
+ status: 'string',
5183
+ updateTime: 'string',
5184
+ userId: 'string',
5185
+ userName: 'string',
5186
+ };
5187
+ }
5188
+ }
5189
+ exports.GetUserResponseBodyUser = GetUserResponseBodyUser;
5190
+ class GetUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
5191
+ constructor(map) {
5192
+ super(map);
5193
+ }
5194
+ static names() {
5195
+ return {
5196
+ createTime: 'CreateTime',
5197
+ deletionStrategy: 'DeletionStrategy',
5198
+ description: 'Description',
5199
+ directoryId: 'DirectoryId',
5200
+ duplicationStrategy: 'DuplicationStrategy',
5201
+ ownerPk: 'OwnerPk',
5202
+ principalId: 'PrincipalId',
5203
+ principalName: 'PrincipalName',
5204
+ principalType: 'PrincipalType',
5205
+ status: 'Status',
5206
+ targetId: 'TargetId',
5207
+ targetName: 'TargetName',
5208
+ targetPath: 'TargetPath',
5209
+ targetType: 'TargetType',
5210
+ updateTime: 'UpdateTime',
5211
+ userProvisioningId: 'UserProvisioningId',
5212
+ };
5213
+ }
5214
+ static types() {
5215
+ return {
5216
+ createTime: 'string',
5217
+ deletionStrategy: 'string',
5218
+ description: 'string',
5219
+ directoryId: 'string',
5220
+ duplicationStrategy: 'string',
5221
+ ownerPk: 'string',
5222
+ principalId: 'string',
5223
+ principalName: 'string',
5224
+ principalType: 'string',
5225
+ status: 'string',
5226
+ targetId: 'string',
5227
+ targetName: 'string',
5228
+ targetPath: 'string',
5229
+ targetType: 'string',
5230
+ updateTime: 'string',
5231
+ userProvisioningId: 'string',
5232
+ };
5233
+ }
5234
+ }
5235
+ exports.GetUserProvisioningResponseBodyUserProvisioning = GetUserProvisioningResponseBodyUserProvisioning;
5236
+ class GetUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration extends $tea.Model {
5237
+ constructor(map) {
5238
+ super(map);
5239
+ }
5240
+ static names() {
5241
+ return {
5242
+ createTime: 'CreateTime',
5243
+ defaultLandingPage: 'DefaultLandingPage',
5244
+ directoryId: 'DirectoryId',
5245
+ sessionDuration: 'SessionDuration',
5246
+ updateTime: 'UpdateTime',
5247
+ };
5248
+ }
5249
+ static types() {
5250
+ return {
5251
+ createTime: 'string',
5252
+ defaultLandingPage: 'string',
5253
+ directoryId: 'string',
5254
+ sessionDuration: 'number',
5255
+ updateTime: 'string',
5256
+ };
5257
+ }
5258
+ }
5259
+ exports.GetUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration = GetUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration;
5260
+ class GetUserProvisioningEventResponseBodyUserProvisioningEvent extends $tea.Model {
5261
+ constructor(map) {
5262
+ super(map);
5263
+ }
5264
+ static names() {
5265
+ return {
5266
+ createTime: 'CreateTime',
5267
+ deletionStrategy: 'DeletionStrategy',
5268
+ directoryId: 'DirectoryId',
5269
+ duplicationStrategy: 'DuplicationStrategy',
5270
+ errorCount: 'ErrorCount',
5271
+ errorInfo: 'ErrorInfo',
5272
+ eventId: 'EventId',
5273
+ latestAsyncTime: 'LatestAsyncTime',
5274
+ principalId: 'PrincipalId',
5275
+ principalName: 'PrincipalName',
5276
+ principalType: 'PrincipalType',
5277
+ sourceType: 'SourceType',
5278
+ targetId: 'TargetId',
5279
+ targetName: 'TargetName',
5280
+ targetPath: 'TargetPath',
5281
+ targetType: 'TargetType',
5282
+ updateTime: 'UpdateTime',
5283
+ userProvisioningId: 'UserProvisioningId',
5284
+ };
5285
+ }
5286
+ static types() {
5287
+ return {
5288
+ createTime: 'string',
5289
+ deletionStrategy: 'string',
5290
+ directoryId: 'string',
5291
+ duplicationStrategy: 'string',
5292
+ errorCount: 'number',
5293
+ errorInfo: 'string',
5294
+ eventId: 'string',
5295
+ latestAsyncTime: 'string',
5296
+ principalId: 'string',
5297
+ principalName: 'string',
5298
+ principalType: 'string',
5299
+ sourceType: 'string',
4289
5300
  targetId: 'string',
4290
5301
  targetName: 'string',
4291
5302
  targetPath: 'string',
4292
- targetPathName: 'string',
4293
5303
  targetType: 'string',
4294
- taskId: 'string',
4295
- taskType: 'string',
5304
+ updateTime: 'string',
5305
+ userProvisioningId: 'string',
4296
5306
  };
4297
5307
  }
4298
5308
  }
4299
- exports.GetTaskResponseBodyTask = GetTaskResponseBodyTask;
4300
- class GetTaskStatusResponseBodyTaskStatus extends $tea.Model {
5309
+ exports.GetUserProvisioningEventResponseBodyUserProvisioningEvent = GetUserProvisioningEventResponseBodyUserProvisioningEvent;
5310
+ class GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics extends $tea.Model {
4301
5311
  constructor(map) {
4302
5312
  super(map);
4303
5313
  }
4304
5314
  static names() {
4305
5315
  return {
4306
- endTime: 'EndTime',
4307
- failureReason: 'FailureReason',
4308
- startTime: 'StartTime',
4309
- status: 'Status',
4310
- taskId: 'TaskId',
4311
- taskType: 'TaskType',
5316
+ directoryId: 'DirectoryId',
5317
+ entityId: 'EntityId',
5318
+ failedEventCount: 'FailedEventCount',
5319
+ latestAsyncTime: 'LatestAsyncTime',
5320
+ ownerPk: 'OwnerPk',
5321
+ type: 'Type',
4312
5322
  };
4313
5323
  }
4314
5324
  static types() {
4315
5325
  return {
4316
- endTime: 'string',
4317
- failureReason: 'string',
4318
- startTime: 'string',
4319
- status: 'string',
4320
- taskId: 'string',
4321
- taskType: 'string',
5326
+ directoryId: 'string',
5327
+ entityId: 'string',
5328
+ failedEventCount: 'number',
5329
+ latestAsyncTime: 'string',
5330
+ ownerPk: 'string',
5331
+ type: 'string',
4322
5332
  };
4323
5333
  }
4324
5334
  }
4325
- exports.GetTaskStatusResponseBodyTaskStatus = GetTaskStatusResponseBodyTaskStatus;
4326
- class GetUserResponseBodyUser extends $tea.Model {
5335
+ exports.GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics = GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics;
5336
+ class GetUserProvisioningStatisticsResponseBodyUserProvisioningStatistics extends $tea.Model {
4327
5337
  constructor(map) {
4328
5338
  super(map);
4329
5339
  }
4330
5340
  static names() {
4331
5341
  return {
4332
- createTime: 'CreateTime',
4333
- description: 'Description',
4334
- displayName: 'DisplayName',
4335
- email: 'Email',
4336
- firstName: 'FirstName',
4337
- lastName: 'LastName',
4338
- provisionType: 'ProvisionType',
4339
- status: 'Status',
4340
- updateTime: 'UpdateTime',
4341
- userId: 'UserId',
4342
- userName: 'UserName',
5342
+ directoryId: 'DirectoryId',
5343
+ entityId: 'EntityId',
5344
+ failedEventCount: 'FailedEventCount',
5345
+ latestAsyncTime: 'LatestAsyncTime',
5346
+ ownerPk: 'OwnerPk',
5347
+ type: 'Type',
4343
5348
  };
4344
5349
  }
4345
5350
  static types() {
4346
5351
  return {
4347
- createTime: 'string',
4348
- description: 'string',
4349
- displayName: 'string',
4350
- email: 'string',
4351
- firstName: 'string',
4352
- lastName: 'string',
4353
- provisionType: 'string',
4354
- status: 'string',
4355
- updateTime: 'string',
4356
- userId: 'string',
4357
- userName: 'string',
5352
+ directoryId: 'string',
5353
+ entityId: 'string',
5354
+ failedEventCount: 'number',
5355
+ latestAsyncTime: 'string',
5356
+ ownerPk: 'string',
5357
+ type: 'string',
4358
5358
  };
4359
5359
  }
4360
5360
  }
4361
- exports.GetUserResponseBodyUser = GetUserResponseBodyUser;
5361
+ exports.GetUserProvisioningStatisticsResponseBodyUserProvisioningStatistics = GetUserProvisioningStatisticsResponseBodyUserProvisioningStatistics;
4362
5362
  class ListAccessAssignmentsResponseBodyAccessAssignments extends $tea.Model {
4363
5363
  constructor(map) {
4364
5364
  super(map);
@@ -4725,6 +5725,102 @@ class ListTasksResponseBodyTasks extends $tea.Model {
4725
5725
  }
4726
5726
  }
4727
5727
  exports.ListTasksResponseBodyTasks = ListTasksResponseBodyTasks;
5728
+ class ListUserProvisioningEventsResponseBodyUserProvisioningEvents extends $tea.Model {
5729
+ constructor(map) {
5730
+ super(map);
5731
+ }
5732
+ static names() {
5733
+ return {
5734
+ createTime: 'CreateTime',
5735
+ deletionStrategy: 'DeletionStrategy',
5736
+ directoryId: 'DirectoryId',
5737
+ duplicationStrategy: 'DuplicationStrategy',
5738
+ errorCount: 'ErrorCount',
5739
+ errorInfo: 'ErrorInfo',
5740
+ eventId: 'EventId',
5741
+ latestAsyncTime: 'LatestAsyncTime',
5742
+ principalId: 'PrincipalId',
5743
+ principalName: 'PrincipalName',
5744
+ principalType: 'PrincipalType',
5745
+ sourceType: 'SourceType',
5746
+ targetId: 'TargetId',
5747
+ targetName: 'TargetName',
5748
+ targetPath: 'TargetPath',
5749
+ targetType: 'TargetType',
5750
+ updateTime: 'UpdateTime',
5751
+ userProvisioningId: 'UserProvisioningId',
5752
+ };
5753
+ }
5754
+ static types() {
5755
+ return {
5756
+ createTime: 'string',
5757
+ deletionStrategy: 'string',
5758
+ directoryId: 'string',
5759
+ duplicationStrategy: 'string',
5760
+ errorCount: 'number',
5761
+ errorInfo: 'string',
5762
+ eventId: 'string',
5763
+ latestAsyncTime: 'string',
5764
+ principalId: 'string',
5765
+ principalName: 'string',
5766
+ principalType: 'string',
5767
+ sourceType: 'string',
5768
+ targetId: 'string',
5769
+ targetName: 'string',
5770
+ targetPath: 'string',
5771
+ targetType: 'string',
5772
+ updateTime: 'string',
5773
+ userProvisioningId: 'string',
5774
+ };
5775
+ }
5776
+ }
5777
+ exports.ListUserProvisioningEventsResponseBodyUserProvisioningEvents = ListUserProvisioningEventsResponseBodyUserProvisioningEvents;
5778
+ class ListUserProvisioningsResponseBodyUserProvisionings extends $tea.Model {
5779
+ constructor(map) {
5780
+ super(map);
5781
+ }
5782
+ static names() {
5783
+ return {
5784
+ createTime: 'CreateTime',
5785
+ deletionStrategy: 'DeletionStrategy',
5786
+ description: 'Description',
5787
+ directoryId: 'DirectoryId',
5788
+ duplicationStrategy: 'DuplicationStrategy',
5789
+ ownerPk: 'OwnerPk',
5790
+ principalId: 'PrincipalId',
5791
+ principalName: 'PrincipalName',
5792
+ principalType: 'PrincipalType',
5793
+ status: 'Status',
5794
+ targetId: 'TargetId',
5795
+ targetName: 'TargetName',
5796
+ targetPath: 'TargetPath',
5797
+ targetType: 'TargetType',
5798
+ updateTime: 'UpdateTime',
5799
+ userProvisioningId: 'UserProvisioningId',
5800
+ };
5801
+ }
5802
+ static types() {
5803
+ return {
5804
+ createTime: 'string',
5805
+ deletionStrategy: 'string',
5806
+ description: 'string',
5807
+ directoryId: 'string',
5808
+ duplicationStrategy: 'string',
5809
+ ownerPk: 'string',
5810
+ principalId: 'string',
5811
+ principalName: 'string',
5812
+ principalType: 'string',
5813
+ status: 'string',
5814
+ targetId: 'string',
5815
+ targetName: 'string',
5816
+ targetPath: 'string',
5817
+ targetType: 'string',
5818
+ updateTime: 'string',
5819
+ userProvisioningId: 'string',
5820
+ };
5821
+ }
5822
+ }
5823
+ exports.ListUserProvisioningsResponseBodyUserProvisionings = ListUserProvisioningsResponseBodyUserProvisionings;
4728
5824
  class ListUsersResponseBodyUsers extends $tea.Model {
4729
5825
  constructor(map) {
4730
5826
  super(map);
@@ -4969,6 +6065,76 @@ class UpdateUserResponseBodyUser extends $tea.Model {
4969
6065
  }
4970
6066
  }
4971
6067
  exports.UpdateUserResponseBodyUser = UpdateUserResponseBodyUser;
6068
+ class UpdateUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
6069
+ constructor(map) {
6070
+ super(map);
6071
+ }
6072
+ static names() {
6073
+ return {
6074
+ createTime: 'CreateTime',
6075
+ deletionStrategy: 'DeletionStrategy',
6076
+ description: 'Description',
6077
+ directoryId: 'DirectoryId',
6078
+ duplicationStrategy: 'DuplicationStrategy',
6079
+ ownerPk: 'OwnerPk',
6080
+ principalId: 'PrincipalId',
6081
+ principalName: 'PrincipalName',
6082
+ principalType: 'PrincipalType',
6083
+ status: 'Status',
6084
+ targetId: 'TargetId',
6085
+ targetName: 'TargetName',
6086
+ targetPath: 'TargetPath',
6087
+ targetType: 'TargetType',
6088
+ updateTime: 'UpdateTime',
6089
+ userProvisioningId: 'UserProvisioningId',
6090
+ };
6091
+ }
6092
+ static types() {
6093
+ return {
6094
+ createTime: 'string',
6095
+ deletionStrategy: 'string',
6096
+ description: 'string',
6097
+ directoryId: 'string',
6098
+ duplicationStrategy: 'string',
6099
+ ownerPk: 'string',
6100
+ principalId: 'string',
6101
+ principalName: 'string',
6102
+ principalType: 'string',
6103
+ status: 'string',
6104
+ targetId: 'string',
6105
+ targetName: 'string',
6106
+ targetPath: 'string',
6107
+ targetType: 'string',
6108
+ updateTime: 'string',
6109
+ userProvisioningId: 'string',
6110
+ };
6111
+ }
6112
+ }
6113
+ exports.UpdateUserProvisioningResponseBodyUserProvisioning = UpdateUserProvisioningResponseBodyUserProvisioning;
6114
+ class UpdateUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration extends $tea.Model {
6115
+ constructor(map) {
6116
+ super(map);
6117
+ }
6118
+ static names() {
6119
+ return {
6120
+ createTime: 'CreateTime',
6121
+ defaultLandingPage: 'DefaultLandingPage',
6122
+ directoryId: 'DirectoryId',
6123
+ sessionDuration: 'SessionDuration',
6124
+ updateTime: 'UpdateTime',
6125
+ };
6126
+ }
6127
+ static types() {
6128
+ return {
6129
+ createTime: 'string',
6130
+ defaultLandingPage: 'string',
6131
+ directoryId: 'string',
6132
+ sessionDuration: 'number',
6133
+ updateTime: 'string',
6134
+ };
6135
+ }
6136
+ }
6137
+ exports.UpdateUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration = UpdateUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration;
4972
6138
  class Client extends openapi_client_1.default {
4973
6139
  constructor(config) {
4974
6140
  super(config);
@@ -4988,8 +6154,6 @@ class Client extends openapi_client_1.default {
4988
6154
  /**
4989
6155
  * You can add up to two SAML signing certificates.
4990
6156
  * This topic provides an example on how to add a SAML signing certificate to the directory `d-00fc2p61****`.
4991
- * ## Limits
4992
- * 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.
4993
6157
  *
4994
6158
  * @param request AddExternalSAMLIdPCertificateRequest
4995
6159
  * @param runtime runtime options for this request RuntimeOptions
@@ -5023,8 +6187,6 @@ class Client extends openapi_client_1.default {
5023
6187
  /**
5024
6188
  * You can add up to two SAML signing certificates.
5025
6189
  * This topic provides an example on how to add a SAML signing certificate to the directory `d-00fc2p61****`.
5026
- * ## Limits
5027
- * 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.
5028
6190
  *
5029
6191
  * @param request AddExternalSAMLIdPCertificateRequest
5030
6192
  * @return AddExternalSAMLIdPCertificateResponse
@@ -5035,8 +6197,6 @@ class Client extends openapi_client_1.default {
5035
6197
  }
5036
6198
  /**
5037
6199
  * This topic provides an example on how to add the system policy `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
5038
- * ## Limits
5039
- * 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.
5040
6200
  *
5041
6201
  * @param request AddPermissionPolicyToAccessConfigurationRequest
5042
6202
  * @param runtime runtime options for this request RuntimeOptions
@@ -5078,8 +6238,6 @@ class Client extends openapi_client_1.default {
5078
6238
  }
5079
6239
  /**
5080
6240
  * This topic provides an example on how to add the system policy `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
5081
- * ## Limits
5082
- * 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.
5083
6241
  *
5084
6242
  * @param request AddPermissionPolicyToAccessConfigurationRequest
5085
6243
  * @return AddPermissionPolicyToAccessConfigurationResponse
@@ -5091,8 +6249,6 @@ class Client extends openapi_client_1.default {
5091
6249
  /**
5092
6250
  * 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.
5093
6251
  * This topic provides an example of how to add the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
5094
- * ## Limits
5095
- * 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.
5096
6252
  *
5097
6253
  * @param request AddUserToGroupRequest
5098
6254
  * @param runtime runtime options for this request RuntimeOptions
@@ -5129,8 +6285,6 @@ class Client extends openapi_client_1.default {
5129
6285
  /**
5130
6286
  * 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.
5131
6287
  * This topic provides an example of how to add the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
5132
- * ## Limits
5133
- * 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.
5134
6288
  *
5135
6289
  * @param request AddUserToGroupRequest
5136
6290
  * @return AddUserToGroupResponse
@@ -5142,8 +6296,6 @@ class Client extends openapi_client_1.default {
5142
6296
  /**
5143
6297
  * 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.
5144
6298
  * This topic provides an example on how to clear the configurations of the SAML IdP within the directory `d-00fc2p61****`.
5145
- * ## Limits
5146
- * 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.
5147
6299
  *
5148
6300
  * @param request ClearExternalSAMLIdentityProviderRequest
5149
6301
  * @param runtime runtime options for this request RuntimeOptions
@@ -5174,8 +6326,6 @@ class Client extends openapi_client_1.default {
5174
6326
  /**
5175
6327
  * 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.
5176
6328
  * This topic provides an example on how to clear the configurations of the SAML IdP within the directory `d-00fc2p61****`.
5177
- * ## Limits
5178
- * 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.
5179
6329
  *
5180
6330
  * @param request ClearExternalSAMLIdentityProviderRequest
5181
6331
  * @return ClearExternalSAMLIdentityProviderResponse
@@ -5188,8 +6338,6 @@ class Client extends openapi_client_1.default {
5188
6338
  * 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.
5189
6339
  * For more information about how to assign permissions on an account in your resource directory, see [Overview of multi-account authorization](~~266726~~).
5190
6340
  * 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.
5191
- * ## Limits
5192
- * 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.
5193
6341
  *
5194
6342
  * @param request CreateAccessAssignmentRequest
5195
6343
  * @param runtime runtime options for this request RuntimeOptions
@@ -5236,8 +6384,6 @@ class Client extends openapi_client_1.default {
5236
6384
  * 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.
5237
6385
  * For more information about how to assign permissions on an account in your resource directory, see [Overview of multi-account authorization](~~266726~~).
5238
6386
  * 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.
5239
- * ## Limits
5240
- * 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.
5241
6387
  *
5242
6388
  * @param request CreateAccessAssignmentRequest
5243
6389
  * @return CreateAccessAssignmentResponse
@@ -5249,8 +6395,6 @@ class Client extends openapi_client_1.default {
5249
6395
  /**
5250
6396
  * For more information about access configurations, see [Overview of access configurations](~~266737~~).
5251
6397
  * This topic provides an example on how to create an access configuration named `ECS-Admin`.
5252
- * ## Limits
5253
- * 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.
5254
6398
  *
5255
6399
  * @param request CreateAccessConfigurationRequest
5256
6400
  * @param runtime runtime options for this request RuntimeOptions
@@ -5293,8 +6437,6 @@ class Client extends openapi_client_1.default {
5293
6437
  /**
5294
6438
  * For more information about access configurations, see [Overview of access configurations](~~266737~~).
5295
6439
  * This topic provides an example on how to create an access configuration named `ECS-Admin`.
5296
- * ## Limits
5297
- * 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.
5298
6440
  *
5299
6441
  * @param request CreateAccessConfigurationRequest
5300
6442
  * @return CreateAccessConfigurationResponse
@@ -5310,8 +6452,6 @@ class Client extends openapi_client_1.default {
5310
6452
  * ## Limits
5311
6453
  * - You can create only one directory for a management account.
5312
6454
  * - If you want to change the region of a directory, you must delete the directory and then create a directory in a different region.
5313
- * ## Limits
5314
- * 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.
5315
6455
  *
5316
6456
  * @param request CreateDirectoryRequest
5317
6457
  * @param runtime runtime options for this request RuntimeOptions
@@ -5346,8 +6486,6 @@ class Client extends openapi_client_1.default {
5346
6486
  * ## Limits
5347
6487
  * - You can create only one directory for a management account.
5348
6488
  * - If you want to change the region of a directory, you must delete the directory and then create a directory in a different region.
5349
- * ## Limits
5350
- * 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.
5351
6489
  *
5352
6490
  * @param request CreateDirectoryRequest
5353
6491
  * @return CreateDirectoryResponse
@@ -5358,8 +6496,6 @@ class Client extends openapi_client_1.default {
5358
6496
  }
5359
6497
  /**
5360
6498
  * This topic provides an example on how to create a group named `TestGroup`.
5361
- * ## Limits
5362
- * 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.
5363
6499
  *
5364
6500
  * @param request CreateGroupRequest
5365
6501
  * @param runtime runtime options for this request RuntimeOptions
@@ -5395,8 +6531,6 @@ class Client extends openapi_client_1.default {
5395
6531
  }
5396
6532
  /**
5397
6533
  * This topic provides an example on how to create a group named `TestGroup`.
5398
- * ## Limits
5399
- * 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.
5400
6534
  *
5401
6535
  * @param request CreateGroupRequest
5402
6536
  * @return CreateGroupResponse
@@ -5408,8 +6542,6 @@ class Client extends openapi_client_1.default {
5408
6542
  /**
5409
6543
  * SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
5410
6544
  * This topic provides an example on how to create a SCIM credential within the directory `d-00fc2p61****`.
5411
- * ## Limits
5412
- * 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.
5413
6545
  *
5414
6546
  * @param request CreateSCIMServerCredentialRequest
5415
6547
  * @param runtime runtime options for this request RuntimeOptions
@@ -5440,8 +6572,6 @@ class Client extends openapi_client_1.default {
5440
6572
  /**
5441
6573
  * SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
5442
6574
  * This topic provides an example on how to create a SCIM credential within the directory `d-00fc2p61****`.
5443
- * ## Limits
5444
- * 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.
5445
6575
  *
5446
6576
  * @param request CreateSCIMServerCredentialRequest
5447
6577
  * @return CreateSCIMServerCredentialResponse
@@ -5452,8 +6582,6 @@ class Client extends openapi_client_1.default {
5452
6582
  }
5453
6583
  /**
5454
6584
  * This topic provides an example on how to create a user named `Alice`.
5455
- * ## Limits
5456
- * 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.
5457
6585
  *
5458
6586
  * @param request CreateUserRequest
5459
6587
  * @param runtime runtime options for this request RuntimeOptions
@@ -5504,8 +6632,6 @@ class Client extends openapi_client_1.default {
5504
6632
  }
5505
6633
  /**
5506
6634
  * This topic provides an example on how to create a user named `Alice`.
5507
- * ## Limits
5508
- * 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.
5509
6635
  *
5510
6636
  * @param request CreateUserRequest
5511
6637
  * @return CreateUserResponse
@@ -5514,11 +6640,56 @@ class Client extends openapi_client_1.default {
5514
6640
  let runtime = new $Util.RuntimeOptions({});
5515
6641
  return await this.createUserWithOptions(request, runtime);
5516
6642
  }
6643
+ async createUserProvisioningWithOptions(request, runtime) {
6644
+ tea_util_1.default.validateModel(request);
6645
+ let query = {};
6646
+ if (!tea_util_1.default.isUnset(request.deletionStrategy)) {
6647
+ query["DeletionStrategy"] = request.deletionStrategy;
6648
+ }
6649
+ if (!tea_util_1.default.isUnset(request.description)) {
6650
+ query["Description"] = request.description;
6651
+ }
6652
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
6653
+ query["DirectoryId"] = request.directoryId;
6654
+ }
6655
+ if (!tea_util_1.default.isUnset(request.duplicationStrategy)) {
6656
+ query["DuplicationStrategy"] = request.duplicationStrategy;
6657
+ }
6658
+ if (!tea_util_1.default.isUnset(request.principalId)) {
6659
+ query["PrincipalId"] = request.principalId;
6660
+ }
6661
+ if (!tea_util_1.default.isUnset(request.principalType)) {
6662
+ query["PrincipalType"] = request.principalType;
6663
+ }
6664
+ if (!tea_util_1.default.isUnset(request.targetId)) {
6665
+ query["TargetId"] = request.targetId;
6666
+ }
6667
+ if (!tea_util_1.default.isUnset(request.targetType)) {
6668
+ query["TargetType"] = request.targetType;
6669
+ }
6670
+ let req = new $OpenApi.OpenApiRequest({
6671
+ query: openapi_util_1.default.query(query),
6672
+ });
6673
+ let params = new $OpenApi.Params({
6674
+ action: "CreateUserProvisioning",
6675
+ version: "2021-05-15",
6676
+ protocol: "HTTPS",
6677
+ pathname: "/",
6678
+ method: "POST",
6679
+ authType: "AK",
6680
+ style: "RPC",
6681
+ reqBodyType: "formData",
6682
+ bodyType: "json",
6683
+ });
6684
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateUserProvisioningResponse({}));
6685
+ }
6686
+ async createUserProvisioning(request) {
6687
+ let runtime = new $Util.RuntimeOptions({});
6688
+ return await this.createUserProvisioningWithOptions(request, runtime);
6689
+ }
5517
6690
  /**
5518
6691
  * 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.
5519
6692
  * 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****`.
5520
- * ## Limits
5521
- * 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.
5522
6693
  *
5523
6694
  * @param request DeleteAccessAssignmentRequest
5524
6695
  * @param runtime runtime options for this request RuntimeOptions
@@ -5567,8 +6738,6 @@ class Client extends openapi_client_1.default {
5567
6738
  /**
5568
6739
  * 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.
5569
6740
  * 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****`.
5570
- * ## Limits
5571
- * 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.
5572
6741
  *
5573
6742
  * @param request DeleteAccessAssignmentRequest
5574
6743
  * @return DeleteAccessAssignmentResponse
@@ -5581,8 +6750,6 @@ class Client extends openapi_client_1.default {
5581
6750
  * This topic provides an example on how to delete the access configuration whose ID is `ac-001j9mcm3k7335bc****`.
5582
6751
  * ## Prerequisites
5583
6752
  * The access configuration that you want to delete is de-provisioned from the accounts in your resource directory. For more information, see [DeprovisionAccessConfiguration](~~338352~~).
5584
- * ## Limits
5585
- * 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.
5586
6753
  *
5587
6754
  * @param request DeleteAccessConfigurationRequest
5588
6755
  * @param runtime runtime options for this request RuntimeOptions
@@ -5620,8 +6787,6 @@ class Client extends openapi_client_1.default {
5620
6787
  * This topic provides an example on how to delete the access configuration whose ID is `ac-001j9mcm3k7335bc****`.
5621
6788
  * ## Prerequisites
5622
6789
  * The access configuration that you want to delete is de-provisioned from the accounts in your resource directory. For more information, see [DeprovisionAccessConfiguration](~~338352~~).
5623
- * ## Limits
5624
- * 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.
5625
6790
  *
5626
6791
  * @param request DeleteAccessConfigurationRequest
5627
6792
  * @return DeleteAccessConfigurationResponse
@@ -5640,8 +6805,6 @@ class Client extends openapi_client_1.default {
5640
6805
  * * Access configurations are deleted. For more information, see [DeleteAccessConfiguration](~~336907~~).
5641
6806
  * * System for Cross-domain Identity Management (SCIM) credentials are deleted. For more information, see [DeleteSCIMServerCredential](~~341842~~).
5642
6807
  * * SSO logon configurations are deleted. For more information, see [ClearExternalSAMLIdentityProvider](~~341573~~).
5643
- * ## Limits
5644
- * 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.
5645
6808
  *
5646
6809
  * @param request DeleteDirectoryRequest
5647
6810
  * @param runtime runtime options for this request RuntimeOptions
@@ -5679,8 +6842,6 @@ class Client extends openapi_client_1.default {
5679
6842
  * * Access configurations are deleted. For more information, see [DeleteAccessConfiguration](~~336907~~).
5680
6843
  * * System for Cross-domain Identity Management (SCIM) credentials are deleted. For more information, see [DeleteSCIMServerCredential](~~341842~~).
5681
6844
  * * SSO logon configurations are deleted. For more information, see [ClearExternalSAMLIdentityProvider](~~341573~~).
5682
- * ## Limits
5683
- * 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.
5684
6845
  *
5685
6846
  * @param request DeleteDirectoryRequest
5686
6847
  * @return DeleteDirectoryResponse
@@ -5695,8 +6856,6 @@ class Client extends openapi_client_1.default {
5695
6856
  * 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.
5696
6857
  * * Users: You must remove users from the group. For more information, see [RemoveUserFromGroup](~~335116~~).
5697
6858
  * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the group. For more information, see [DeleteAccessAssignment](~~338350~~).
5698
- * ## Limits
5699
- * 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.
5700
6859
  *
5701
6860
  * @param request DeleteGroupRequest
5702
6861
  * @param runtime runtime options for this request RuntimeOptions
@@ -5733,8 +6892,6 @@ class Client extends openapi_client_1.default {
5733
6892
  * 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.
5734
6893
  * * Users: You must remove users from the group. For more information, see [RemoveUserFromGroup](~~335116~~).
5735
6894
  * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the group. For more information, see [DeleteAccessAssignment](~~338350~~).
5736
- * ## Limits
5737
- * 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.
5738
6895
  *
5739
6896
  * @param request DeleteGroupRequest
5740
6897
  * @return DeleteGroupResponse
@@ -5745,8 +6902,6 @@ class Client extends openapi_client_1.default {
5745
6902
  }
5746
6903
  /**
5747
6904
  * This topic provides an example on how to unbind the MFA device `mfa-00ujhet8pycljj7j****` from the user `u-00q8wbq42wiltcrk****`.
5748
- * ## Limits
5749
- * 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.
5750
6905
  *
5751
6906
  * @param request DeleteMFADeviceForUserRequest
5752
6907
  * @param runtime runtime options for this request RuntimeOptions
@@ -5782,8 +6937,6 @@ class Client extends openapi_client_1.default {
5782
6937
  }
5783
6938
  /**
5784
6939
  * This topic provides an example on how to unbind the MFA device `mfa-00ujhet8pycljj7j****` from the user `u-00q8wbq42wiltcrk****`.
5785
- * ## Limits
5786
- * 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.
5787
6940
  *
5788
6941
  * @param request DeleteMFADeviceForUserRequest
5789
6942
  * @return DeleteMFADeviceForUserResponse
@@ -5795,8 +6948,6 @@ class Client extends openapi_client_1.default {
5795
6948
  /**
5796
6949
  * After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
5797
6950
  * This topic provides an example on how to delete the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
5798
- * ## Limits
5799
- * 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.
5800
6951
  *
5801
6952
  * @param request DeleteSCIMServerCredentialRequest
5802
6953
  * @param runtime runtime options for this request RuntimeOptions
@@ -5830,8 +6981,6 @@ class Client extends openapi_client_1.default {
5830
6981
  /**
5831
6982
  * After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
5832
6983
  * This topic provides an example on how to delete the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
5833
- * ## Limits
5834
- * 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.
5835
6984
  *
5836
6985
  * @param request DeleteSCIMServerCredentialRequest
5837
6986
  * @return DeleteSCIMServerCredentialResponse
@@ -5847,8 +6996,6 @@ class Client extends openapi_client_1.default {
5847
6996
  * * Multi-factor authentication (MFA) devices: You must unbind the MFA devices from the user. For more information, see [DeleteMFADeviceForUser](~~341675~~).
5848
6997
  * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the user. For more information, see [DeleteAccessAssignment](~~338350~~).
5849
6998
  * * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](~~335116~~).
5850
- * ## Limits
5851
- * 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.
5852
6999
  *
5853
7000
  * @param request DeleteUserRequest
5854
7001
  * @param runtime runtime options for this request RuntimeOptions
@@ -5886,8 +7033,6 @@ class Client extends openapi_client_1.default {
5886
7033
  * * Multi-factor authentication (MFA) devices: You must unbind the MFA devices from the user. For more information, see [DeleteMFADeviceForUser](~~341675~~).
5887
7034
  * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the user. For more information, see [DeleteAccessAssignment](~~338350~~).
5888
7035
  * * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](~~335116~~).
5889
- * ## Limits
5890
- * 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.
5891
7036
  *
5892
7037
  * @param request DeleteUserRequest
5893
7038
  * @return DeleteUserResponse
@@ -5896,11 +7041,73 @@ class Client extends openapi_client_1.default {
5896
7041
  let runtime = new $Util.RuntimeOptions({});
5897
7042
  return await this.deleteUserWithOptions(request, runtime);
5898
7043
  }
7044
+ async deleteUserProvisioningWithOptions(request, runtime) {
7045
+ tea_util_1.default.validateModel(request);
7046
+ let query = {};
7047
+ if (!tea_util_1.default.isUnset(request.deletionStrategy)) {
7048
+ query["DeletionStrategy"] = request.deletionStrategy;
7049
+ }
7050
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
7051
+ query["DirectoryId"] = request.directoryId;
7052
+ }
7053
+ if (!tea_util_1.default.isUnset(request.userProvisioningId)) {
7054
+ query["UserProvisioningId"] = request.userProvisioningId;
7055
+ }
7056
+ let req = new $OpenApi.OpenApiRequest({
7057
+ query: openapi_util_1.default.query(query),
7058
+ });
7059
+ let params = new $OpenApi.Params({
7060
+ action: "DeleteUserProvisioning",
7061
+ version: "2021-05-15",
7062
+ protocol: "HTTPS",
7063
+ pathname: "/",
7064
+ method: "POST",
7065
+ authType: "AK",
7066
+ style: "RPC",
7067
+ reqBodyType: "formData",
7068
+ bodyType: "json",
7069
+ });
7070
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteUserProvisioningResponse({}));
7071
+ }
7072
+ async deleteUserProvisioning(request) {
7073
+ let runtime = new $Util.RuntimeOptions({});
7074
+ return await this.deleteUserProvisioningWithOptions(request, runtime);
7075
+ }
7076
+ async deleteUserProvisioningEventWithOptions(request, runtime) {
7077
+ tea_util_1.default.validateModel(request);
7078
+ let query = {};
7079
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
7080
+ query["DirectoryId"] = request.directoryId;
7081
+ }
7082
+ if (!tea_util_1.default.isUnset(request.eventId)) {
7083
+ query["EventId"] = request.eventId;
7084
+ }
7085
+ if (!tea_util_1.default.isUnset(request.userProvisioningId)) {
7086
+ query["UserProvisioningId"] = request.userProvisioningId;
7087
+ }
7088
+ let req = new $OpenApi.OpenApiRequest({
7089
+ query: openapi_util_1.default.query(query),
7090
+ });
7091
+ let params = new $OpenApi.Params({
7092
+ action: "DeleteUserProvisioningEvent",
7093
+ version: "2021-05-15",
7094
+ protocol: "HTTPS",
7095
+ pathname: "/",
7096
+ method: "POST",
7097
+ authType: "AK",
7098
+ style: "RPC",
7099
+ reqBodyType: "formData",
7100
+ bodyType: "json",
7101
+ });
7102
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteUserProvisioningEventResponse({}));
7103
+ }
7104
+ async deleteUserProvisioningEvent(request) {
7105
+ let runtime = new $Util.RuntimeOptions({});
7106
+ return await this.deleteUserProvisioningEventWithOptions(request, runtime);
7107
+ }
5899
7108
  /**
5900
7109
  * 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.
5901
7110
  * This topic provides an example on how to de-provision the access configuration `ac-00jhtfl8thteu6uj****` from the account `114240524784****` in your resource directory.
5902
- * ## Limits
5903
- * 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.
5904
7111
  *
5905
7112
  * @param request DeprovisionAccessConfigurationRequest
5906
7113
  * @param runtime runtime options for this request RuntimeOptions
@@ -5940,8 +7147,6 @@ class Client extends openapi_client_1.default {
5940
7147
  /**
5941
7148
  * 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.
5942
7149
  * This topic provides an example on how to de-provision the access configuration `ac-00jhtfl8thteu6uj****` from the account `114240524784****` in your resource directory.
5943
- * ## Limits
5944
- * 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.
5945
7150
  *
5946
7151
  * @param request DeprovisionAccessConfigurationRequest
5947
7152
  * @return DeprovisionAccessConfigurationResponse
@@ -5952,8 +7157,6 @@ class Client extends openapi_client_1.default {
5952
7157
  }
5953
7158
  /**
5954
7159
  * 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.
5955
- * ## Limits
5956
- * 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.
5957
7160
  *
5958
7161
  * @param request DisableServiceRequest
5959
7162
  * @param runtime runtime options for this request RuntimeOptions
@@ -5976,8 +7179,6 @@ class Client extends openapi_client_1.default {
5976
7179
  }
5977
7180
  /**
5978
7181
  * 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.
5979
- * ## Limits
5980
- * 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.
5981
7182
  *
5982
7183
  * @return DisableServiceResponse
5983
7184
  */
@@ -5988,8 +7189,6 @@ class Client extends openapi_client_1.default {
5988
7189
  /**
5989
7190
  * 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~~).
5990
7191
  * 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).
5991
- * ## Limits
5992
- * 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.
5993
7192
  *
5994
7193
  * @param request EnableServiceRequest
5995
7194
  * @param runtime runtime options for this request RuntimeOptions
@@ -6013,8 +7212,6 @@ class Client extends openapi_client_1.default {
6013
7212
  /**
6014
7213
  * 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~~).
6015
7214
  * 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).
6016
- * ## Limits
6017
- * 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.
6018
7215
  *
6019
7216
  * @return EnableServiceResponse
6020
7217
  */
@@ -6023,7 +7220,6 @@ class Client extends openapi_client_1.default {
6023
7220
  return await this.enableServiceWithOptions(runtime);
6024
7221
  }
6025
7222
  /**
6026
- * ## Usage notes
6027
7223
  * This topic provides an example on how to query the information about the access configuration whose ID is `ac-00ccule7tadaijxc****`.
6028
7224
  *
6029
7225
  * @param request GetAccessConfigurationRequest
@@ -6056,7 +7252,6 @@ class Client extends openapi_client_1.default {
6056
7252
  return $tea.cast(await this.callApi(params, req, runtime), new GetAccessConfigurationResponse({}));
6057
7253
  }
6058
7254
  /**
6059
- * ## Usage notes
6060
7255
  * This topic provides an example on how to query the information about the access configuration whose ID is `ac-00ccule7tadaijxc****`.
6061
7256
  *
6062
7257
  * @param request GetAccessConfigurationRequest
@@ -6068,8 +7263,6 @@ class Client extends openapi_client_1.default {
6068
7263
  }
6069
7264
  /**
6070
7265
  * This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
6071
- * ## Limits
6072
- * 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.
6073
7266
  *
6074
7267
  * @param request GetDirectoryRequest
6075
7268
  * @param runtime runtime options for this request RuntimeOptions
@@ -6099,8 +7292,6 @@ class Client extends openapi_client_1.default {
6099
7292
  }
6100
7293
  /**
6101
7294
  * This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
6102
- * ## Limits
6103
- * 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.
6104
7295
  *
6105
7296
  * @param request GetDirectoryRequest
6106
7297
  * @return GetDirectoryResponse
@@ -6112,8 +7303,6 @@ class Client extends openapi_client_1.default {
6112
7303
  /**
6113
7304
  * 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).
6114
7305
  * This topic provides an example on how to query the information about the SP within the directory `d-00fc2p61****`.
6115
- * ## Limits
6116
- * 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.
6117
7306
  *
6118
7307
  * @param request GetDirectorySAMLServiceProviderInfoRequest
6119
7308
  * @param runtime runtime options for this request RuntimeOptions
@@ -6144,8 +7333,6 @@ class Client extends openapi_client_1.default {
6144
7333
  /**
6145
7334
  * 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).
6146
7335
  * This topic provides an example on how to query the information about the SP within the directory `d-00fc2p61****`.
6147
- * ## Limits
6148
- * 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.
6149
7336
  *
6150
7337
  * @param request GetDirectorySAMLServiceProviderInfoRequest
6151
7338
  * @return GetDirectorySAMLServiceProviderInfoResponse
@@ -6155,8 +7342,9 @@ class Client extends openapi_client_1.default {
6155
7342
  return await this.getDirectorySAMLServiceProviderInfoWithOptions(request, runtime);
6156
7343
  }
6157
7344
  /**
6158
- * 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.
6159
- * ## Limits
7345
+ * ### [](#)
7346
+ * 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.
7347
+ * ### [](#qps)Limit
6160
7348
  * 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.
6161
7349
  *
6162
7350
  * @param request GetDirectoryStatisticsRequest
@@ -6186,8 +7374,9 @@ class Client extends openapi_client_1.default {
6186
7374
  return $tea.cast(await this.callApi(params, req, runtime), new GetDirectoryStatisticsResponse({}));
6187
7375
  }
6188
7376
  /**
6189
- * 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.
6190
- * ## Limits
7377
+ * ### [](#)
7378
+ * 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.
7379
+ * ### [](#qps)Limit
6191
7380
  * 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.
6192
7381
  *
6193
7382
  * @param request GetDirectoryStatisticsRequest
@@ -6199,8 +7388,6 @@ class Client extends openapi_client_1.default {
6199
7388
  }
6200
7389
  /**
6201
7390
  * This topic provides an example on how to query the configurations of the SAML IdP within the directory `d-00fc2p61****`.
6202
- * ## Limits
6203
- * 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.
6204
7391
  *
6205
7392
  * @param request GetExternalSAMLIdentityProviderRequest
6206
7393
  * @param runtime runtime options for this request RuntimeOptions
@@ -6230,8 +7417,6 @@ class Client extends openapi_client_1.default {
6230
7417
  }
6231
7418
  /**
6232
7419
  * This topic provides an example on how to query the configurations of the SAML IdP within the directory `d-00fc2p61****`.
6233
- * ## Limits
6234
- * 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.
6235
7420
  *
6236
7421
  * @param request GetExternalSAMLIdentityProviderRequest
6237
7422
  * @return GetExternalSAMLIdentityProviderResponse
@@ -6242,8 +7427,6 @@ class Client extends openapi_client_1.default {
6242
7427
  }
6243
7428
  /**
6244
7429
  * This topic provides an example on how to query the information about the group `g-00jqzghi2n3o5hkh****` in the directory `d-00fc2p61****`.
6245
- * ## Limits
6246
- * 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.
6247
7430
  *
6248
7431
  * @param request GetGroupRequest
6249
7432
  * @param runtime runtime options for this request RuntimeOptions
@@ -6276,8 +7459,6 @@ class Client extends openapi_client_1.default {
6276
7459
  }
6277
7460
  /**
6278
7461
  * This topic provides an example on how to query the information about the group `g-00jqzghi2n3o5hkh****` in the directory `d-00fc2p61****`.
6279
- * ## Limits
6280
- * 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.
6281
7462
  *
6282
7463
  * @param request GetGroupRequest
6283
7464
  * @return GetGroupResponse
@@ -6370,8 +7551,6 @@ class Client extends openapi_client_1.default {
6370
7551
  }
6371
7552
  /**
6372
7553
  * 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.
6373
- * ## Limits
6374
- * 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.
6375
7554
  *
6376
7555
  * @param request GetMFAAuthenticationStatusRequest
6377
7556
  * @param runtime runtime options for this request RuntimeOptions
@@ -6401,8 +7580,6 @@ class Client extends openapi_client_1.default {
6401
7580
  }
6402
7581
  /**
6403
7582
  * 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.
6404
- * ## Limits
6405
- * 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.
6406
7583
  *
6407
7584
  * @param request GetMFAAuthenticationStatusRequest
6408
7585
  * @return GetMFAAuthenticationStatusResponse
@@ -6413,8 +7590,6 @@ class Client extends openapi_client_1.default {
6413
7590
  }
6414
7591
  /**
6415
7592
  * 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.
6416
- * ## Limits
6417
- * 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.
6418
7593
  *
6419
7594
  * @param request GetSCIMSynchronizationStatusRequest
6420
7595
  * @param runtime runtime options for this request RuntimeOptions
@@ -6444,8 +7619,6 @@ class Client extends openapi_client_1.default {
6444
7619
  }
6445
7620
  /**
6446
7621
  * 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.
6447
- * ## Limits
6448
- * 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.
6449
7622
  *
6450
7623
  * @param request GetSCIMSynchronizationStatusRequest
6451
7624
  * @return GetSCIMSynchronizationStatusResponse
@@ -6454,14 +7627,6 @@ class Client extends openapi_client_1.default {
6454
7627
  let runtime = new $Util.RuntimeOptions({});
6455
7628
  return await this.getSCIMSynchronizationStatusWithOptions(request, runtime);
6456
7629
  }
6457
- /**
6458
- * ## Limits
6459
- * 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.
6460
- *
6461
- * @param request GetServiceStatusRequest
6462
- * @param runtime runtime options for this request RuntimeOptions
6463
- * @return GetServiceStatusResponse
6464
- */
6465
7630
  async getServiceStatusWithOptions(runtime) {
6466
7631
  let req = new $OpenApi.OpenApiRequest({});
6467
7632
  let params = new $OpenApi.Params({
@@ -6477,20 +7642,12 @@ class Client extends openapi_client_1.default {
6477
7642
  });
6478
7643
  return $tea.cast(await this.callApi(params, req, runtime), new GetServiceStatusResponse({}));
6479
7644
  }
6480
- /**
6481
- * ## Limits
6482
- * 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.
6483
- *
6484
- * @return GetServiceStatusResponse
6485
- */
6486
7645
  async getServiceStatus() {
6487
7646
  let runtime = new $Util.RuntimeOptions({});
6488
7647
  return await this.getServiceStatusWithOptions(runtime);
6489
7648
  }
6490
7649
  /**
6491
7650
  * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
6492
- * ## Limits
6493
- * 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.
6494
7651
  *
6495
7652
  * @param request GetTaskRequest
6496
7653
  * @param runtime runtime options for this request RuntimeOptions
@@ -6523,8 +7680,6 @@ class Client extends openapi_client_1.default {
6523
7680
  }
6524
7681
  /**
6525
7682
  * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
6526
- * ## Limits
6527
- * 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.
6528
7683
  *
6529
7684
  * @param request GetTaskRequest
6530
7685
  * @return GetTaskResponse
@@ -6536,8 +7691,6 @@ class Client extends openapi_client_1.default {
6536
7691
  /**
6537
7692
  * 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.
6538
7693
  * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
6539
- * ## Limits
6540
- * 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.
6541
7694
  *
6542
7695
  * @param request GetTaskStatusRequest
6543
7696
  * @param runtime runtime options for this request RuntimeOptions
@@ -6571,8 +7724,6 @@ class Client extends openapi_client_1.default {
6571
7724
  /**
6572
7725
  * 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.
6573
7726
  * This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
6574
- * ## Limits
6575
- * 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.
6576
7727
  *
6577
7728
  * @param request GetTaskStatusRequest
6578
7729
  * @return GetTaskStatusResponse
@@ -6583,8 +7734,6 @@ class Client extends openapi_client_1.default {
6583
7734
  }
6584
7735
  /**
6585
7736
  * This topic provides an example on how to query information about the user whose ID is `u-00q8wbq42wiltcrk****` in the `d-00fc2p61****` directory.
6586
- * ## Limits
6587
- * 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.
6588
7737
  *
6589
7738
  * @param request GetUserRequest
6590
7739
  * @param runtime runtime options for this request RuntimeOptions
@@ -6617,8 +7766,6 @@ class Client extends openapi_client_1.default {
6617
7766
  }
6618
7767
  /**
6619
7768
  * This topic provides an example on how to query information about the user whose ID is `u-00q8wbq42wiltcrk****` in the `d-00fc2p61****` directory.
6620
- * ## Limits
6621
- * 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.
6622
7769
  *
6623
7770
  * @param request GetUserRequest
6624
7771
  * @return GetUserResponse
@@ -6627,27 +7774,175 @@ class Client extends openapi_client_1.default {
6627
7774
  let runtime = new $Util.RuntimeOptions({});
6628
7775
  return await this.getUserWithOptions(request, runtime);
6629
7776
  }
6630
- /**
6631
- * This topic provides an example on how to query the MFA setting of the user named `u-00q8wbq42wiltcrk****`. The returned result shows that MFA is enabled for the user.
6632
- *
6633
- * @param request GetUserMFAAuthenticationSettingsRequest
6634
- * @param runtime runtime options for this request RuntimeOptions
6635
- * @return GetUserMFAAuthenticationSettingsResponse
6636
- */
6637
- async getUserMFAAuthenticationSettingsWithOptions(request, runtime) {
7777
+ /**
7778
+ * This topic provides an example on how to query the MFA setting of the user named `u-00q8wbq42wiltcrk****`. The returned result shows that MFA is enabled for the user.
7779
+ *
7780
+ * @param request GetUserMFAAuthenticationSettingsRequest
7781
+ * @param runtime runtime options for this request RuntimeOptions
7782
+ * @return GetUserMFAAuthenticationSettingsResponse
7783
+ */
7784
+ async getUserMFAAuthenticationSettingsWithOptions(request, runtime) {
7785
+ tea_util_1.default.validateModel(request);
7786
+ let query = {};
7787
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
7788
+ query["DirectoryId"] = request.directoryId;
7789
+ }
7790
+ if (!tea_util_1.default.isUnset(request.userId)) {
7791
+ query["UserId"] = request.userId;
7792
+ }
7793
+ let req = new $OpenApi.OpenApiRequest({
7794
+ query: openapi_util_1.default.query(query),
7795
+ });
7796
+ let params = new $OpenApi.Params({
7797
+ action: "GetUserMFAAuthenticationSettings",
7798
+ version: "2021-05-15",
7799
+ protocol: "HTTPS",
7800
+ pathname: "/",
7801
+ method: "POST",
7802
+ authType: "AK",
7803
+ style: "RPC",
7804
+ reqBodyType: "formData",
7805
+ bodyType: "json",
7806
+ });
7807
+ return $tea.cast(await this.callApi(params, req, runtime), new GetUserMFAAuthenticationSettingsResponse({}));
7808
+ }
7809
+ /**
7810
+ * This topic provides an example on how to query the MFA setting of the user named `u-00q8wbq42wiltcrk****`. The returned result shows that MFA is enabled for the user.
7811
+ *
7812
+ * @param request GetUserMFAAuthenticationSettingsRequest
7813
+ * @return GetUserMFAAuthenticationSettingsResponse
7814
+ */
7815
+ async getUserMFAAuthenticationSettings(request) {
7816
+ let runtime = new $Util.RuntimeOptions({});
7817
+ return await this.getUserMFAAuthenticationSettingsWithOptions(request, runtime);
7818
+ }
7819
+ async getUserProvisioningWithOptions(request, runtime) {
7820
+ tea_util_1.default.validateModel(request);
7821
+ let query = {};
7822
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
7823
+ query["DirectoryId"] = request.directoryId;
7824
+ }
7825
+ if (!tea_util_1.default.isUnset(request.userProvisioningId)) {
7826
+ query["UserProvisioningId"] = request.userProvisioningId;
7827
+ }
7828
+ let req = new $OpenApi.OpenApiRequest({
7829
+ query: openapi_util_1.default.query(query),
7830
+ });
7831
+ let params = new $OpenApi.Params({
7832
+ action: "GetUserProvisioning",
7833
+ version: "2021-05-15",
7834
+ protocol: "HTTPS",
7835
+ pathname: "/",
7836
+ method: "POST",
7837
+ authType: "AK",
7838
+ style: "RPC",
7839
+ reqBodyType: "formData",
7840
+ bodyType: "json",
7841
+ });
7842
+ return $tea.cast(await this.callApi(params, req, runtime), new GetUserProvisioningResponse({}));
7843
+ }
7844
+ async getUserProvisioning(request) {
7845
+ let runtime = new $Util.RuntimeOptions({});
7846
+ return await this.getUserProvisioningWithOptions(request, runtime);
7847
+ }
7848
+ async getUserProvisioningConfigurationWithOptions(request, runtime) {
7849
+ tea_util_1.default.validateModel(request);
7850
+ let query = {};
7851
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
7852
+ query["DirectoryId"] = request.directoryId;
7853
+ }
7854
+ let req = new $OpenApi.OpenApiRequest({
7855
+ query: openapi_util_1.default.query(query),
7856
+ });
7857
+ let params = new $OpenApi.Params({
7858
+ action: "GetUserProvisioningConfiguration",
7859
+ version: "2021-05-15",
7860
+ protocol: "HTTPS",
7861
+ pathname: "/",
7862
+ method: "POST",
7863
+ authType: "AK",
7864
+ style: "RPC",
7865
+ reqBodyType: "formData",
7866
+ bodyType: "json",
7867
+ });
7868
+ return $tea.cast(await this.callApi(params, req, runtime), new GetUserProvisioningConfigurationResponse({}));
7869
+ }
7870
+ async getUserProvisioningConfiguration(request) {
7871
+ let runtime = new $Util.RuntimeOptions({});
7872
+ return await this.getUserProvisioningConfigurationWithOptions(request, runtime);
7873
+ }
7874
+ async getUserProvisioningEventWithOptions(request, runtime) {
7875
+ tea_util_1.default.validateModel(request);
7876
+ let query = {};
7877
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
7878
+ query["DirectoryId"] = request.directoryId;
7879
+ }
7880
+ if (!tea_util_1.default.isUnset(request.eventId)) {
7881
+ query["EventId"] = request.eventId;
7882
+ }
7883
+ let req = new $OpenApi.OpenApiRequest({
7884
+ query: openapi_util_1.default.query(query),
7885
+ });
7886
+ let params = new $OpenApi.Params({
7887
+ action: "GetUserProvisioningEvent",
7888
+ version: "2021-05-15",
7889
+ protocol: "HTTPS",
7890
+ pathname: "/",
7891
+ method: "POST",
7892
+ authType: "AK",
7893
+ style: "RPC",
7894
+ reqBodyType: "formData",
7895
+ bodyType: "json",
7896
+ });
7897
+ return $tea.cast(await this.callApi(params, req, runtime), new GetUserProvisioningEventResponse({}));
7898
+ }
7899
+ async getUserProvisioningEvent(request) {
7900
+ let runtime = new $Util.RuntimeOptions({});
7901
+ return await this.getUserProvisioningEventWithOptions(request, runtime);
7902
+ }
7903
+ async getUserProvisioningRdAccountStatisticsWithOptions(request, runtime) {
7904
+ tea_util_1.default.validateModel(request);
7905
+ let query = {};
7906
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
7907
+ query["DirectoryId"] = request.directoryId;
7908
+ }
7909
+ if (!tea_util_1.default.isUnset(request.rdMemberId)) {
7910
+ query["RdMemberId"] = request.rdMemberId;
7911
+ }
7912
+ let req = new $OpenApi.OpenApiRequest({
7913
+ query: openapi_util_1.default.query(query),
7914
+ });
7915
+ let params = new $OpenApi.Params({
7916
+ action: "GetUserProvisioningRdAccountStatistics",
7917
+ version: "2021-05-15",
7918
+ protocol: "HTTPS",
7919
+ pathname: "/",
7920
+ method: "POST",
7921
+ authType: "AK",
7922
+ style: "RPC",
7923
+ reqBodyType: "formData",
7924
+ bodyType: "json",
7925
+ });
7926
+ return $tea.cast(await this.callApi(params, req, runtime), new GetUserProvisioningRdAccountStatisticsResponse({}));
7927
+ }
7928
+ async getUserProvisioningRdAccountStatistics(request) {
7929
+ let runtime = new $Util.RuntimeOptions({});
7930
+ return await this.getUserProvisioningRdAccountStatisticsWithOptions(request, runtime);
7931
+ }
7932
+ async getUserProvisioningStatisticsWithOptions(request, runtime) {
6638
7933
  tea_util_1.default.validateModel(request);
6639
7934
  let query = {};
6640
7935
  if (!tea_util_1.default.isUnset(request.directoryId)) {
6641
7936
  query["DirectoryId"] = request.directoryId;
6642
7937
  }
6643
- if (!tea_util_1.default.isUnset(request.userId)) {
6644
- query["UserId"] = request.userId;
7938
+ if (!tea_util_1.default.isUnset(request.userProvisioningId)) {
7939
+ query["UserProvisioningId"] = request.userProvisioningId;
6645
7940
  }
6646
7941
  let req = new $OpenApi.OpenApiRequest({
6647
7942
  query: openapi_util_1.default.query(query),
6648
7943
  });
6649
7944
  let params = new $OpenApi.Params({
6650
- action: "GetUserMFAAuthenticationSettings",
7945
+ action: "GetUserProvisioningStatistics",
6651
7946
  version: "2021-05-15",
6652
7947
  protocol: "HTTPS",
6653
7948
  pathname: "/",
@@ -6657,22 +7952,14 @@ class Client extends openapi_client_1.default {
6657
7952
  reqBodyType: "formData",
6658
7953
  bodyType: "json",
6659
7954
  });
6660
- return $tea.cast(await this.callApi(params, req, runtime), new GetUserMFAAuthenticationSettingsResponse({}));
7955
+ return $tea.cast(await this.callApi(params, req, runtime), new GetUserProvisioningStatisticsResponse({}));
6661
7956
  }
6662
- /**
6663
- * This topic provides an example on how to query the MFA setting of the user named `u-00q8wbq42wiltcrk****`. The returned result shows that MFA is enabled for the user.
6664
- *
6665
- * @param request GetUserMFAAuthenticationSettingsRequest
6666
- * @return GetUserMFAAuthenticationSettingsResponse
6667
- */
6668
- async getUserMFAAuthenticationSettings(request) {
7957
+ async getUserProvisioningStatistics(request) {
6669
7958
  let runtime = new $Util.RuntimeOptions({});
6670
- return await this.getUserMFAAuthenticationSettingsWithOptions(request, runtime);
7959
+ return await this.getUserProvisioningStatisticsWithOptions(request, runtime);
6671
7960
  }
6672
7961
  /**
6673
- * 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.
6674
- * ## Limits
6675
- * 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.
7962
+ * 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.
6676
7963
  *
6677
7964
  * @param request ListAccessAssignmentsRequest
6678
7965
  * @param runtime runtime options for this request RuntimeOptions
@@ -6722,9 +8009,7 @@ class Client extends openapi_client_1.default {
6722
8009
  return $tea.cast(await this.callApi(params, req, runtime), new ListAccessAssignmentsResponse({}));
6723
8010
  }
6724
8011
  /**
6725
- * 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.
6726
- * ## Limits
6727
- * 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.
8012
+ * 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.
6728
8013
  *
6729
8014
  * @param request ListAccessAssignmentsRequest
6730
8015
  * @return ListAccessAssignmentsResponse
@@ -6734,7 +8019,6 @@ class Client extends openapi_client_1.default {
6734
8019
  return await this.listAccessAssignmentsWithOptions(request, runtime);
6735
8020
  }
6736
8021
  /**
6737
- * ## Usage notes
6738
8022
  * 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.
6739
8023
  *
6740
8024
  * @param request ListAccessConfigurationProvisioningsRequest
@@ -6782,7 +8066,6 @@ class Client extends openapi_client_1.default {
6782
8066
  return $tea.cast(await this.callApi(params, req, runtime), new ListAccessConfigurationProvisioningsResponse({}));
6783
8067
  }
6784
8068
  /**
6785
- * ## Usage notes
6786
8069
  * 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.
6787
8070
  *
6788
8071
  * @param request ListAccessConfigurationProvisioningsRequest
@@ -6793,7 +8076,6 @@ class Client extends openapi_client_1.default {
6793
8076
  return await this.listAccessConfigurationProvisioningsWithOptions(request, runtime);
6794
8077
  }
6795
8078
  /**
6796
- * ## Usage notes
6797
8079
  * 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.
6798
8080
  *
6799
8081
  * @param request ListAccessConfigurationsRequest
@@ -6835,7 +8117,6 @@ class Client extends openapi_client_1.default {
6835
8117
  return $tea.cast(await this.callApi(params, req, runtime), new ListAccessConfigurationsResponse({}));
6836
8118
  }
6837
8119
  /**
6838
- * ## Usage notes
6839
8120
  * 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.
6840
8121
  *
6841
8122
  * @param request ListAccessConfigurationsRequest
@@ -6847,8 +8128,6 @@ class Client extends openapi_client_1.default {
6847
8128
  }
6848
8129
  /**
6849
8130
  * 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.
6850
- * ## Limits
6851
- * 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.
6852
8131
  *
6853
8132
  * @param request ListDirectoriesRequest
6854
8133
  * @param runtime runtime options for this request RuntimeOptions
@@ -6871,8 +8150,6 @@ class Client extends openapi_client_1.default {
6871
8150
  }
6872
8151
  /**
6873
8152
  * 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.
6874
- * ## Limits
6875
- * 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.
6876
8153
  *
6877
8154
  * @return ListDirectoriesResponse
6878
8155
  */
@@ -6882,8 +8159,6 @@ class Client extends openapi_client_1.default {
6882
8159
  }
6883
8160
  /**
6884
8161
  * 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.
6885
- * ## Limits
6886
- * 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.
6887
8162
  *
6888
8163
  * @param request ListExternalSAMLIdPCertificatesRequest
6889
8164
  * @param runtime runtime options for this request RuntimeOptions
@@ -6913,8 +8188,6 @@ class Client extends openapi_client_1.default {
6913
8188
  }
6914
8189
  /**
6915
8190
  * 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.
6916
- * ## Limits
6917
- * 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.
6918
8191
  *
6919
8192
  * @param request ListExternalSAMLIdPCertificatesRequest
6920
8193
  * @return ListExternalSAMLIdPCertificatesResponse
@@ -6925,8 +8198,6 @@ class Client extends openapi_client_1.default {
6925
8198
  }
6926
8199
  /**
6927
8200
  * 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`.
6928
- * ## Limits
6929
- * 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.
6930
8201
  *
6931
8202
  * @param request ListGroupMembersRequest
6932
8203
  * @param runtime runtime options for this request RuntimeOptions
@@ -6965,8 +8236,6 @@ class Client extends openapi_client_1.default {
6965
8236
  }
6966
8237
  /**
6967
8238
  * 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`.
6968
- * ## Limits
6969
- * 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.
6970
8239
  *
6971
8240
  * @param request ListGroupMembersRequest
6972
8241
  * @return ListGroupMembersResponse
@@ -6977,8 +8246,6 @@ class Client extends openapi_client_1.default {
6977
8246
  }
6978
8247
  /**
6979
8248
  * 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.
6980
- * ## Limits
6981
- * 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.
6982
8249
  *
6983
8250
  * @param request ListGroupsRequest
6984
8251
  * @param runtime runtime options for this request RuntimeOptions
@@ -7020,8 +8287,6 @@ class Client extends openapi_client_1.default {
7020
8287
  }
7021
8288
  /**
7022
8289
  * 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.
7023
- * ## Limits
7024
- * 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.
7025
8290
  *
7026
8291
  * @param request ListGroupsRequest
7027
8292
  * @return ListGroupsResponse
@@ -7032,8 +8297,6 @@ class Client extends openapi_client_1.default {
7032
8297
  }
7033
8298
  /**
7034
8299
  * 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.
7035
- * ## Limits
7036
- * 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.
7037
8300
  *
7038
8301
  * @param request ListJoinedGroupsForUserRequest
7039
8302
  * @param runtime runtime options for this request RuntimeOptions
@@ -7072,8 +8335,6 @@ class Client extends openapi_client_1.default {
7072
8335
  }
7073
8336
  /**
7074
8337
  * 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.
7075
- * ## Limits
7076
- * 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.
7077
8338
  *
7078
8339
  * @param request ListJoinedGroupsForUserRequest
7079
8340
  * @return ListJoinedGroupsForUserResponse
@@ -7084,8 +8345,6 @@ class Client extends openapi_client_1.default {
7084
8345
  }
7085
8346
  /**
7086
8347
  * 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.
7087
- * ## Limits
7088
- * 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.
7089
8348
  *
7090
8349
  * @param request ListMFADevicesForUserRequest
7091
8350
  * @param runtime runtime options for this request RuntimeOptions
@@ -7118,8 +8377,6 @@ class Client extends openapi_client_1.default {
7118
8377
  }
7119
8378
  /**
7120
8379
  * 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.
7121
- * ## Limits
7122
- * 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.
7123
8380
  *
7124
8381
  * @param request ListMFADevicesForUserRequest
7125
8382
  * @return ListMFADevicesForUserResponse
@@ -7130,8 +8387,6 @@ class Client extends openapi_client_1.default {
7130
8387
  }
7131
8388
  /**
7132
8389
  * 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.
7133
- * ## Limits
7134
- * 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.
7135
8390
  *
7136
8391
  * @param request ListPermissionPoliciesInAccessConfigurationRequest
7137
8392
  * @param runtime runtime options for this request RuntimeOptions
@@ -7167,8 +8422,6 @@ class Client extends openapi_client_1.default {
7167
8422
  }
7168
8423
  /**
7169
8424
  * 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.
7170
- * ## Limits
7171
- * 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.
7172
8425
  *
7173
8426
  * @param request ListPermissionPoliciesInAccessConfigurationRequest
7174
8427
  * @return ListPermissionPoliciesInAccessConfigurationResponse
@@ -7179,8 +8432,6 @@ class Client extends openapi_client_1.default {
7179
8432
  }
7180
8433
  /**
7181
8434
  * This topic provides an example on how to query the SCIM credentials within the `d-00fc2p61****` directory.
7182
- * ## Limits
7183
- * 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.
7184
8435
  *
7185
8436
  * @param request ListSCIMServerCredentialsRequest
7186
8437
  * @param runtime runtime options for this request RuntimeOptions
@@ -7210,8 +8461,6 @@ class Client extends openapi_client_1.default {
7210
8461
  }
7211
8462
  /**
7212
8463
  * This topic provides an example on how to query the SCIM credentials within the `d-00fc2p61****` directory.
7213
- * ## Limits
7214
- * 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.
7215
8464
  *
7216
8465
  * @param request ListSCIMServerCredentialsRequest
7217
8466
  * @return ListSCIMServerCredentialsResponse
@@ -7223,8 +8472,6 @@ class Client extends openapi_client_1.default {
7223
8472
  /**
7224
8473
  * 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`.
7225
8474
  * This topic provides an example on how to query the tasks within the previous 24 hours.
7226
- * ## Limits
7227
- * 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.
7228
8475
  *
7229
8476
  * @param request ListTasksRequest
7230
8477
  * @param runtime runtime options for this request RuntimeOptions
@@ -7285,8 +8532,6 @@ class Client extends openapi_client_1.default {
7285
8532
  /**
7286
8533
  * 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`.
7287
8534
  * This topic provides an example on how to query the tasks within the previous 24 hours.
7288
- * ## Limits
7289
- * 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.
7290
8535
  *
7291
8536
  * @param request ListTasksRequest
7292
8537
  * @return ListTasksResponse
@@ -7295,10 +8540,87 @@ class Client extends openapi_client_1.default {
7295
8540
  let runtime = new $Util.RuntimeOptions({});
7296
8541
  return await this.listTasksWithOptions(request, runtime);
7297
8542
  }
8543
+ async listUserProvisioningEventsWithOptions(request, runtime) {
8544
+ tea_util_1.default.validateModel(request);
8545
+ let query = {};
8546
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
8547
+ query["DirectoryId"] = request.directoryId;
8548
+ }
8549
+ if (!tea_util_1.default.isUnset(request.maxResults)) {
8550
+ query["MaxResults"] = request.maxResults;
8551
+ }
8552
+ if (!tea_util_1.default.isUnset(request.nextToken)) {
8553
+ query["NextToken"] = request.nextToken;
8554
+ }
8555
+ if (!tea_util_1.default.isUnset(request.userProvisioningId)) {
8556
+ query["UserProvisioningId"] = request.userProvisioningId;
8557
+ }
8558
+ let req = new $OpenApi.OpenApiRequest({
8559
+ query: openapi_util_1.default.query(query),
8560
+ });
8561
+ let params = new $OpenApi.Params({
8562
+ action: "ListUserProvisioningEvents",
8563
+ version: "2021-05-15",
8564
+ protocol: "HTTPS",
8565
+ pathname: "/",
8566
+ method: "POST",
8567
+ authType: "AK",
8568
+ style: "RPC",
8569
+ reqBodyType: "formData",
8570
+ bodyType: "json",
8571
+ });
8572
+ return $tea.cast(await this.callApi(params, req, runtime), new ListUserProvisioningEventsResponse({}));
8573
+ }
8574
+ async listUserProvisioningEvents(request) {
8575
+ let runtime = new $Util.RuntimeOptions({});
8576
+ return await this.listUserProvisioningEventsWithOptions(request, runtime);
8577
+ }
8578
+ async listUserProvisioningsWithOptions(request, runtime) {
8579
+ tea_util_1.default.validateModel(request);
8580
+ let query = {};
8581
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
8582
+ query["DirectoryId"] = request.directoryId;
8583
+ }
8584
+ if (!tea_util_1.default.isUnset(request.maxResults)) {
8585
+ query["MaxResults"] = request.maxResults;
8586
+ }
8587
+ if (!tea_util_1.default.isUnset(request.nextToken)) {
8588
+ query["NextToken"] = request.nextToken;
8589
+ }
8590
+ if (!tea_util_1.default.isUnset(request.principalId)) {
8591
+ query["PrincipalId"] = request.principalId;
8592
+ }
8593
+ if (!tea_util_1.default.isUnset(request.principalType)) {
8594
+ query["PrincipalType"] = request.principalType;
8595
+ }
8596
+ if (!tea_util_1.default.isUnset(request.targetId)) {
8597
+ query["TargetId"] = request.targetId;
8598
+ }
8599
+ if (!tea_util_1.default.isUnset(request.targetType)) {
8600
+ query["TargetType"] = request.targetType;
8601
+ }
8602
+ let req = new $OpenApi.OpenApiRequest({
8603
+ query: openapi_util_1.default.query(query),
8604
+ });
8605
+ let params = new $OpenApi.Params({
8606
+ action: "ListUserProvisionings",
8607
+ version: "2021-05-15",
8608
+ protocol: "HTTPS",
8609
+ pathname: "/",
8610
+ method: "POST",
8611
+ authType: "AK",
8612
+ style: "RPC",
8613
+ reqBodyType: "formData",
8614
+ bodyType: "json",
8615
+ });
8616
+ return $tea.cast(await this.callApi(params, req, runtime), new ListUserProvisioningsResponse({}));
8617
+ }
8618
+ async listUserProvisionings(request) {
8619
+ let runtime = new $Util.RuntimeOptions({});
8620
+ return await this.listUserProvisioningsWithOptions(request, runtime);
8621
+ }
7298
8622
  /**
7299
8623
  * 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.
7300
- * ## Limits
7301
- * 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.
7302
8624
  *
7303
8625
  * @param request ListUsersRequest
7304
8626
  * @param runtime runtime options for this request RuntimeOptions
@@ -7343,8 +8665,6 @@ class Client extends openapi_client_1.default {
7343
8665
  }
7344
8666
  /**
7345
8667
  * 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.
7346
- * ## Limits
7347
- * 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.
7348
8668
  *
7349
8669
  * @param request ListUsersRequest
7350
8670
  * @return ListUsersResponse
@@ -7356,8 +8676,6 @@ class Client extends openapi_client_1.default {
7356
8676
  /**
7357
8677
  * 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.
7358
8678
  * This topic provides an example on how to provision the access configuration `ac-00jhtfl8thteu6uj****` for the account `114240524784****` in your resource directory.
7359
- * ## Limits
7360
- * 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.
7361
8679
  *
7362
8680
  * @param request ProvisionAccessConfigurationRequest
7363
8681
  * @param runtime runtime options for this request RuntimeOptions
@@ -7397,8 +8715,6 @@ class Client extends openapi_client_1.default {
7397
8715
  /**
7398
8716
  * 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.
7399
8717
  * This topic provides an example on how to provision the access configuration `ac-00jhtfl8thteu6uj****` for the account `114240524784****` in your resource directory.
7400
- * ## Limits
7401
- * 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.
7402
8718
  *
7403
8719
  * @param request ProvisionAccessConfigurationRequest
7404
8720
  * @return ProvisionAccessConfigurationResponse
@@ -7409,8 +8725,6 @@ class Client extends openapi_client_1.default {
7409
8725
  }
7410
8726
  /**
7411
8727
  * This topic provides an example on how to remove the SAML signing certificate whose ID is `idp-c-00dt9gnl7fmjaw9c****`.
7412
- * ## Limits
7413
- * 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.
7414
8728
  *
7415
8729
  * @param request RemoveExternalSAMLIdPCertificateRequest
7416
8730
  * @param runtime runtime options for this request RuntimeOptions
@@ -7443,8 +8757,6 @@ class Client extends openapi_client_1.default {
7443
8757
  }
7444
8758
  /**
7445
8759
  * This topic provides an example on how to remove the SAML signing certificate whose ID is `idp-c-00dt9gnl7fmjaw9c****`.
7446
- * ## Limits
7447
- * 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.
7448
8760
  *
7449
8761
  * @param request RemoveExternalSAMLIdPCertificateRequest
7450
8762
  * @return RemoveExternalSAMLIdPCertificateResponse
@@ -7456,8 +8768,6 @@ class Client extends openapi_client_1.default {
7456
8768
  /**
7457
8769
  * After you remove an inline policy from an access configuration, the policy cannot be restored.
7458
8770
  * This topic provides an example on how to remove the system policy `AliyunECSFullAccess` from the access configuration `ac-00jhtfl8thteu6uj****`.
7459
- * ## Limits
7460
- * 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.
7461
8771
  *
7462
8772
  * @param request RemovePermissionPolicyFromAccessConfigurationRequest
7463
8773
  * @param runtime runtime options for this request RuntimeOptions
@@ -7497,8 +8807,6 @@ class Client extends openapi_client_1.default {
7497
8807
  /**
7498
8808
  * After you remove an inline policy from an access configuration, the policy cannot be restored.
7499
8809
  * This topic provides an example on how to remove the system policy `AliyunECSFullAccess` from the access configuration `ac-00jhtfl8thteu6uj****`.
7500
- * ## Limits
7501
- * 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.
7502
8810
  *
7503
8811
  * @param request RemovePermissionPolicyFromAccessConfigurationRequest
7504
8812
  * @return RemovePermissionPolicyFromAccessConfigurationResponse
@@ -7510,8 +8818,6 @@ class Client extends openapi_client_1.default {
7510
8818
  /**
7511
8819
  * 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.
7512
8820
  * This topic provides an example on how to remove the user `u-00q8wbq42wiltcrk****` from the group `g-00jqzghi2n3o5hkh****`.
7513
- * ## Limits
7514
- * 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.
7515
8821
  *
7516
8822
  * @param request RemoveUserFromGroupRequest
7517
8823
  * @param runtime runtime options for this request RuntimeOptions
@@ -7548,8 +8854,6 @@ class Client extends openapi_client_1.default {
7548
8854
  /**
7549
8855
  * 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.
7550
8856
  * This topic provides an example on how to remove the user `u-00q8wbq42wiltcrk****` from the group `g-00jqzghi2n3o5hkh****`.
7551
- * ## Limits
7552
- * 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.
7553
8857
  *
7554
8858
  * @param request RemoveUserFromGroupRequest
7555
8859
  * @return RemoveUserFromGroupResponse
@@ -7562,8 +8866,6 @@ class Client extends openapi_client_1.default {
7562
8866
  * If you forget your password or your password expires or is at risk, you must contact a CloudSSO administrator to reset your password.
7563
8867
  * > After you enable SSO logon, your password cannot be reset.
7564
8868
  * 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.
7565
- * ## Limits
7566
- * 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.
7567
8869
  *
7568
8870
  * @param request ResetUserPasswordRequest
7569
8871
  * @param runtime runtime options for this request RuntimeOptions
@@ -7607,8 +8909,6 @@ class Client extends openapi_client_1.default {
7607
8909
  * If you forget your password or your password expires or is at risk, you must contact a CloudSSO administrator to reset your password.
7608
8910
  * > After you enable SSO logon, your password cannot be reset.
7609
8911
  * 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.
7610
- * ## Limits
7611
- * 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.
7612
8912
  *
7613
8913
  * @param request ResetUserPasswordRequest
7614
8914
  * @return ResetUserPasswordResponse
@@ -7617,12 +8917,43 @@ class Client extends openapi_client_1.default {
7617
8917
  let runtime = new $Util.RuntimeOptions({});
7618
8918
  return await this.resetUserPasswordWithOptions(request, runtime);
7619
8919
  }
8920
+ async retryUserProvisioningEventWithOptions(request, runtime) {
8921
+ tea_util_1.default.validateModel(request);
8922
+ let query = {};
8923
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
8924
+ query["DirectoryId"] = request.directoryId;
8925
+ }
8926
+ if (!tea_util_1.default.isUnset(request.duplicationStrategy)) {
8927
+ query["DuplicationStrategy"] = request.duplicationStrategy;
8928
+ }
8929
+ if (!tea_util_1.default.isUnset(request.eventId)) {
8930
+ query["EventId"] = request.eventId;
8931
+ }
8932
+ let req = new $OpenApi.OpenApiRequest({
8933
+ query: openapi_util_1.default.query(query),
8934
+ });
8935
+ let params = new $OpenApi.Params({
8936
+ action: "RetryUserProvisioningEvent",
8937
+ version: "2021-05-15",
8938
+ protocol: "HTTPS",
8939
+ pathname: "/",
8940
+ method: "POST",
8941
+ authType: "AK",
8942
+ style: "RPC",
8943
+ reqBodyType: "formData",
8944
+ bodyType: "json",
8945
+ });
8946
+ return $tea.cast(await this.callApi(params, req, runtime), new RetryUserProvisioningEventResponse({}));
8947
+ }
8948
+ async retryUserProvisioningEvent(request) {
8949
+ let runtime = new $Util.RuntimeOptions({});
8950
+ return await this.retryUserProvisioningEventWithOptions(request, runtime);
8951
+ }
7620
8952
  /**
7621
- * ## Usage notes
7622
8953
  * 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.
7623
8954
  * 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.
7624
8955
  * * Use the metadata file. You can specify the `EncodedMetadataDocument` parameter to upload the metadata file.
7625
- * * Manually configure the IdP. You can manually specifythe following parameters for your IdP: `EntityId`, `LoginUrl`, `WantRequestSigned`, and `X509Certificate`.
8956
+ * * Manually configure the IdP. You can manually specify the following parameters for your IdP: `EntityId`, `LoginUrl`, `WantRequestSigned`, and `X509Certificate`.
7626
8957
  * If you have configured a SAML IdP, the existing configurations are replaced after you call this operation.
7627
8958
  * * If the IdP is configured by using the metadata file, all existing configurations are replaced with new configurations.
7628
8959
  * * If the IdP is manually configured, the original parameter values that are different from the new parameter values are replaced.
@@ -7674,11 +9005,10 @@ class Client extends openapi_client_1.default {
7674
9005
  return $tea.cast(await this.callApi(params, req, runtime), new SetExternalSAMLIdentityProviderResponse({}));
7675
9006
  }
7676
9007
  /**
7677
- * ## Usage notes
7678
9008
  * 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.
7679
9009
  * 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.
7680
9010
  * * Use the metadata file. You can specify the `EncodedMetadataDocument` parameter to upload the metadata file.
7681
- * * Manually configure the IdP. You can manually specifythe following parameters for your IdP: `EntityId`, `LoginUrl`, `WantRequestSigned`, and `X509Certificate`.
9011
+ * * Manually configure the IdP. You can manually specify the following parameters for your IdP: `EntityId`, `LoginUrl`, `WantRequestSigned`, and `X509Certificate`.
7682
9012
  * If you have configured a SAML IdP, the existing configurations are replaced after you call this operation.
7683
9013
  * * If the IdP is configured by using the metadata file, all existing configurations are replaced with new configurations.
7684
9014
  * * If the IdP is manually configured, the original parameter values that are different from the new parameter values are replaced.
@@ -7695,8 +9025,6 @@ class Client extends openapi_client_1.default {
7695
9025
  /**
7696
9026
  * 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.
7697
9027
  * This topic provides an example on how to enable MFA for users.
7698
- * ## Limits
7699
- * 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.
7700
9028
  *
7701
9029
  * @param request SetMFAAuthenticationStatusRequest
7702
9030
  * @param runtime runtime options for this request RuntimeOptions
@@ -7730,8 +9058,6 @@ class Client extends openapi_client_1.default {
7730
9058
  /**
7731
9059
  * 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.
7732
9060
  * This topic provides an example on how to enable MFA for users.
7733
- * ## Limits
7734
- * 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.
7735
9061
  *
7736
9062
  * @param request SetMFAAuthenticationStatusRequest
7737
9063
  * @return SetMFAAuthenticationStatusResponse
@@ -7745,8 +9071,6 @@ class Client extends openapi_client_1.default {
7745
9071
  * * 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.
7746
9072
  * * 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.
7747
9073
  * This topic provides an example on how to enable SCIM synchronization within the directory `d-00fc2p61****`.
7748
- * ## Limits
7749
- * 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.
7750
9074
  *
7751
9075
  * @param request SetSCIMSynchronizationStatusRequest
7752
9076
  * @param runtime runtime options for this request RuntimeOptions
@@ -7782,8 +9106,6 @@ class Client extends openapi_client_1.default {
7782
9106
  * * 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.
7783
9107
  * * 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.
7784
9108
  * This topic provides an example on how to enable SCIM synchronization within the directory `d-00fc2p61****`.
7785
- * ## Limits
7786
- * 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.
7787
9109
  *
7788
9110
  * @param request SetSCIMSynchronizationStatusRequest
7789
9111
  * @return SetSCIMSynchronizationStatusResponse
@@ -7795,8 +9117,6 @@ class Client extends openapi_client_1.default {
7795
9117
  /**
7796
9118
  * You can modify the `Description`, `SessionDuration`, and `RelayState` parameters for an access configuration.
7797
9119
  * 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`.
7798
- * ## Limits
7799
- * 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.
7800
9120
  *
7801
9121
  * @param request UpdateAccessConfigurationRequest
7802
9122
  * @param runtime runtime options for this request RuntimeOptions
@@ -7839,8 +9159,6 @@ class Client extends openapi_client_1.default {
7839
9159
  /**
7840
9160
  * You can modify the `Description`, `SessionDuration`, and `RelayState` parameters for an access configuration.
7841
9161
  * 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`.
7842
- * ## Limits
7843
- * 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.
7844
9162
  *
7845
9163
  * @param request UpdateAccessConfigurationRequest
7846
9164
  * @return UpdateAccessConfigurationResponse
@@ -7852,8 +9170,6 @@ class Client extends openapi_client_1.default {
7852
9170
  /**
7853
9171
  * 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.
7854
9172
  * This topic provides an example on how to change the name of a directory to `new-example`.
7855
- * ## Limits
7856
- * 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.
7857
9173
  *
7858
9174
  * @param request UpdateDirectoryRequest
7859
9175
  * @param runtime runtime options for this request RuntimeOptions
@@ -7887,8 +9203,6 @@ class Client extends openapi_client_1.default {
7887
9203
  /**
7888
9204
  * 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.
7889
9205
  * This topic provides an example on how to change the name of a directory to `new-example`.
7890
- * ## Limits
7891
- * 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.
7892
9206
  *
7893
9207
  * @param request UpdateDirectoryRequest
7894
9208
  * @return UpdateDirectoryResponse
@@ -7901,8 +9215,6 @@ class Client extends openapi_client_1.default {
7901
9215
  * You can modify `GroupName` and `Description` for a group.
7902
9216
  * > 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.
7903
9217
  * This topic provides an example on how to change the name of the group `g-00jqzghi2n3o5hkh****` to `NewTestGroup`.
7904
- * ## Limits
7905
- * 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.
7906
9218
  *
7907
9219
  * @param request UpdateGroupRequest
7908
9220
  * @param runtime runtime options for this request RuntimeOptions
@@ -7943,8 +9255,6 @@ class Client extends openapi_client_1.default {
7943
9255
  * You can modify `GroupName` and `Description` for a group.
7944
9256
  * > 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.
7945
9257
  * This topic provides an example on how to change the name of the group `g-00jqzghi2n3o5hkh****` to `NewTestGroup`.
7946
- * ## Limits
7947
- * 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.
7948
9258
  *
7949
9259
  * @param request UpdateGroupRequest
7950
9260
  * @return UpdateGroupResponse
@@ -7955,8 +9265,6 @@ class Client extends openapi_client_1.default {
7955
9265
  }
7956
9266
  /**
7957
9267
  * This topic provides an example on how to modify an inline policy that is created for the access configuration `ac-00jhtfl8thteu6uj****`.
7958
- * ## Limits
7959
- * 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.
7960
9268
  *
7961
9269
  * @param request UpdateInlinePolicyForAccessConfigurationRequest
7962
9270
  * @param runtime runtime options for this request RuntimeOptions
@@ -7995,8 +9303,6 @@ class Client extends openapi_client_1.default {
7995
9303
  }
7996
9304
  /**
7997
9305
  * This topic provides an example on how to modify an inline policy that is created for the access configuration `ac-00jhtfl8thteu6uj****`.
7998
- * ## Limits
7999
- * 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.
8000
9306
  *
8001
9307
  * @param request UpdateInlinePolicyForAccessConfigurationRequest
8002
9308
  * @return UpdateInlinePolicyForAccessConfigurationResponse
@@ -8054,8 +9360,6 @@ class Client extends openapi_client_1.default {
8054
9360
  }
8055
9361
  /**
8056
9362
  * 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.
8057
- * ## Limits
8058
- * 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.
8059
9363
  *
8060
9364
  * @param request UpdateSCIMServerCredentialStatusRequest
8061
9365
  * @param runtime runtime options for this request RuntimeOptions
@@ -8091,8 +9395,6 @@ class Client extends openapi_client_1.default {
8091
9395
  }
8092
9396
  /**
8093
9397
  * 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.
8094
- * ## Limits
8095
- * 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.
8096
9398
  *
8097
9399
  * @param request UpdateSCIMServerCredentialStatusRequest
8098
9400
  * @return UpdateSCIMServerCredentialStatusResponse
@@ -8105,8 +9407,6 @@ class Client extends openapi_client_1.default {
8105
9407
  * You can modify `FirstName`, `LastName`, `DisplayName`, `Email`, and `Description` for a user. You cannot modify `UserName` for a user.
8106
9408
  * > 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.
8107
9409
  * This topic provides an example on how to change the email address of the user whose ID is `u-00q8wbq42wiltcrk****` to `AliceLee@example.com`.
8108
- * ## Limits
8109
- * 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.
8110
9410
  *
8111
9411
  * @param request UpdateUserRequest
8112
9412
  * @param runtime runtime options for this request RuntimeOptions
@@ -8156,8 +9456,6 @@ class Client extends openapi_client_1.default {
8156
9456
  * You can modify `FirstName`, `LastName`, `DisplayName`, `Email`, and `Description` for a user. You cannot modify `UserName` for a user.
8157
9457
  * > 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.
8158
9458
  * This topic provides an example on how to change the email address of the user whose ID is `u-00q8wbq42wiltcrk****` to `AliceLee@example.com`.
8159
- * ## Limits
8160
- * You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
8161
9459
  *
8162
9460
  * @param request UpdateUserRequest
8163
9461
  * @return UpdateUserResponse
@@ -8215,10 +9513,78 @@ class Client extends openapi_client_1.default {
8215
9513
  let runtime = new $Util.RuntimeOptions({});
8216
9514
  return await this.updateUserMFAAuthenticationSettingsWithOptions(request, runtime);
8217
9515
  }
9516
+ async updateUserProvisioningWithOptions(request, runtime) {
9517
+ tea_util_1.default.validateModel(request);
9518
+ let query = {};
9519
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
9520
+ query["DirectoryId"] = request.directoryId;
9521
+ }
9522
+ if (!tea_util_1.default.isUnset(request.newDeletionStrategy)) {
9523
+ query["NewDeletionStrategy"] = request.newDeletionStrategy;
9524
+ }
9525
+ if (!tea_util_1.default.isUnset(request.newDescription)) {
9526
+ query["NewDescription"] = request.newDescription;
9527
+ }
9528
+ if (!tea_util_1.default.isUnset(request.newDuplicationStrategy)) {
9529
+ query["NewDuplicationStrategy"] = request.newDuplicationStrategy;
9530
+ }
9531
+ if (!tea_util_1.default.isUnset(request.userProvisioningId)) {
9532
+ query["UserProvisioningId"] = request.userProvisioningId;
9533
+ }
9534
+ let req = new $OpenApi.OpenApiRequest({
9535
+ query: openapi_util_1.default.query(query),
9536
+ });
9537
+ let params = new $OpenApi.Params({
9538
+ action: "UpdateUserProvisioning",
9539
+ version: "2021-05-15",
9540
+ protocol: "HTTPS",
9541
+ pathname: "/",
9542
+ method: "POST",
9543
+ authType: "AK",
9544
+ style: "RPC",
9545
+ reqBodyType: "formData",
9546
+ bodyType: "json",
9547
+ });
9548
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateUserProvisioningResponse({}));
9549
+ }
9550
+ async updateUserProvisioning(request) {
9551
+ let runtime = new $Util.RuntimeOptions({});
9552
+ return await this.updateUserProvisioningWithOptions(request, runtime);
9553
+ }
9554
+ async updateUserProvisioningConfigurationWithOptions(request, runtime) {
9555
+ tea_util_1.default.validateModel(request);
9556
+ let query = {};
9557
+ if (!tea_util_1.default.isUnset(request.directoryId)) {
9558
+ query["DirectoryId"] = request.directoryId;
9559
+ }
9560
+ if (!tea_util_1.default.isUnset(request.newDefaultLandingPage)) {
9561
+ query["NewDefaultLandingPage"] = request.newDefaultLandingPage;
9562
+ }
9563
+ if (!tea_util_1.default.isUnset(request.newSessionDuration)) {
9564
+ query["NewSessionDuration"] = request.newSessionDuration;
9565
+ }
9566
+ let req = new $OpenApi.OpenApiRequest({
9567
+ query: openapi_util_1.default.query(query),
9568
+ });
9569
+ let params = new $OpenApi.Params({
9570
+ action: "UpdateUserProvisioningConfiguration",
9571
+ version: "2021-05-15",
9572
+ protocol: "HTTPS",
9573
+ pathname: "/",
9574
+ method: "POST",
9575
+ authType: "AK",
9576
+ style: "RPC",
9577
+ reqBodyType: "formData",
9578
+ bodyType: "json",
9579
+ });
9580
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateUserProvisioningConfigurationResponse({}));
9581
+ }
9582
+ async updateUserProvisioningConfiguration(request) {
9583
+ let runtime = new $Util.RuntimeOptions({});
9584
+ return await this.updateUserProvisioningConfigurationWithOptions(request, runtime);
9585
+ }
8218
9586
  /**
8219
9587
  * 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.
8220
- * ## Limits
8221
- * 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.
8222
9588
  *
8223
9589
  * @param request UpdateUserStatusRequest
8224
9590
  * @param runtime runtime options for this request RuntimeOptions
@@ -8254,8 +9620,6 @@ class Client extends openapi_client_1.default {
8254
9620
  }
8255
9621
  /**
8256
9622
  * 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.
8257
- * ## Limits
8258
- * 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.
8259
9623
  *
8260
9624
  * @param request UpdateUserStatusRequest
8261
9625
  * @return UpdateUserStatusResponse