@alicloud/cloudsso20210515 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +487 -2
- package/dist/client.js +913 -3
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1214 -85
package/dist/client.js
CHANGED
|
@@ -1119,6 +1119,62 @@ class DeleteUserProvisioningResponse extends $tea.Model {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
}
|
|
1121
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;
|
|
1122
1178
|
class DeprovisionAccessConfigurationRequest extends $tea.Model {
|
|
1123
1179
|
constructor(map) {
|
|
1124
1180
|
super(map);
|
|
@@ -2113,6 +2169,228 @@ class GetUserProvisioningResponse extends $tea.Model {
|
|
|
2113
2169
|
}
|
|
2114
2170
|
}
|
|
2115
2171
|
exports.GetUserProvisioningResponse = GetUserProvisioningResponse;
|
|
2172
|
+
class GetUserProvisioningConfigurationRequest extends $tea.Model {
|
|
2173
|
+
constructor(map) {
|
|
2174
|
+
super(map);
|
|
2175
|
+
}
|
|
2176
|
+
static names() {
|
|
2177
|
+
return {
|
|
2178
|
+
directoryId: 'DirectoryId',
|
|
2179
|
+
};
|
|
2180
|
+
}
|
|
2181
|
+
static types() {
|
|
2182
|
+
return {
|
|
2183
|
+
directoryId: 'string',
|
|
2184
|
+
};
|
|
2185
|
+
}
|
|
2186
|
+
}
|
|
2187
|
+
exports.GetUserProvisioningConfigurationRequest = GetUserProvisioningConfigurationRequest;
|
|
2188
|
+
class GetUserProvisioningConfigurationResponseBody extends $tea.Model {
|
|
2189
|
+
constructor(map) {
|
|
2190
|
+
super(map);
|
|
2191
|
+
}
|
|
2192
|
+
static names() {
|
|
2193
|
+
return {
|
|
2194
|
+
requestId: 'RequestId',
|
|
2195
|
+
userProvisioningConfiguration: 'UserProvisioningConfiguration',
|
|
2196
|
+
};
|
|
2197
|
+
}
|
|
2198
|
+
static types() {
|
|
2199
|
+
return {
|
|
2200
|
+
requestId: 'string',
|
|
2201
|
+
userProvisioningConfiguration: GetUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration,
|
|
2202
|
+
};
|
|
2203
|
+
}
|
|
2204
|
+
}
|
|
2205
|
+
exports.GetUserProvisioningConfigurationResponseBody = GetUserProvisioningConfigurationResponseBody;
|
|
2206
|
+
class GetUserProvisioningConfigurationResponse extends $tea.Model {
|
|
2207
|
+
constructor(map) {
|
|
2208
|
+
super(map);
|
|
2209
|
+
}
|
|
2210
|
+
static names() {
|
|
2211
|
+
return {
|
|
2212
|
+
headers: 'headers',
|
|
2213
|
+
statusCode: 'statusCode',
|
|
2214
|
+
body: 'body',
|
|
2215
|
+
};
|
|
2216
|
+
}
|
|
2217
|
+
static types() {
|
|
2218
|
+
return {
|
|
2219
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2220
|
+
statusCode: 'number',
|
|
2221
|
+
body: GetUserProvisioningConfigurationResponseBody,
|
|
2222
|
+
};
|
|
2223
|
+
}
|
|
2224
|
+
}
|
|
2225
|
+
exports.GetUserProvisioningConfigurationResponse = GetUserProvisioningConfigurationResponse;
|
|
2226
|
+
class GetUserProvisioningEventRequest extends $tea.Model {
|
|
2227
|
+
constructor(map) {
|
|
2228
|
+
super(map);
|
|
2229
|
+
}
|
|
2230
|
+
static names() {
|
|
2231
|
+
return {
|
|
2232
|
+
directoryId: 'DirectoryId',
|
|
2233
|
+
eventId: 'EventId',
|
|
2234
|
+
};
|
|
2235
|
+
}
|
|
2236
|
+
static types() {
|
|
2237
|
+
return {
|
|
2238
|
+
directoryId: 'string',
|
|
2239
|
+
eventId: 'string',
|
|
2240
|
+
};
|
|
2241
|
+
}
|
|
2242
|
+
}
|
|
2243
|
+
exports.GetUserProvisioningEventRequest = GetUserProvisioningEventRequest;
|
|
2244
|
+
class GetUserProvisioningEventResponseBody extends $tea.Model {
|
|
2245
|
+
constructor(map) {
|
|
2246
|
+
super(map);
|
|
2247
|
+
}
|
|
2248
|
+
static names() {
|
|
2249
|
+
return {
|
|
2250
|
+
requestId: 'RequestId',
|
|
2251
|
+
userProvisioningEvent: 'UserProvisioningEvent',
|
|
2252
|
+
};
|
|
2253
|
+
}
|
|
2254
|
+
static types() {
|
|
2255
|
+
return {
|
|
2256
|
+
requestId: 'string',
|
|
2257
|
+
userProvisioningEvent: GetUserProvisioningEventResponseBodyUserProvisioningEvent,
|
|
2258
|
+
};
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
exports.GetUserProvisioningEventResponseBody = GetUserProvisioningEventResponseBody;
|
|
2262
|
+
class GetUserProvisioningEventResponse extends $tea.Model {
|
|
2263
|
+
constructor(map) {
|
|
2264
|
+
super(map);
|
|
2265
|
+
}
|
|
2266
|
+
static names() {
|
|
2267
|
+
return {
|
|
2268
|
+
headers: 'headers',
|
|
2269
|
+
statusCode: 'statusCode',
|
|
2270
|
+
body: 'body',
|
|
2271
|
+
};
|
|
2272
|
+
}
|
|
2273
|
+
static types() {
|
|
2274
|
+
return {
|
|
2275
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2276
|
+
statusCode: 'number',
|
|
2277
|
+
body: GetUserProvisioningEventResponseBody,
|
|
2278
|
+
};
|
|
2279
|
+
}
|
|
2280
|
+
}
|
|
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 {
|
|
2301
|
+
constructor(map) {
|
|
2302
|
+
super(map);
|
|
2303
|
+
}
|
|
2304
|
+
static names() {
|
|
2305
|
+
return {
|
|
2306
|
+
requestId: 'RequestId',
|
|
2307
|
+
userProvisioningStatistics: 'UserProvisioningStatistics',
|
|
2308
|
+
};
|
|
2309
|
+
}
|
|
2310
|
+
static types() {
|
|
2311
|
+
return {
|
|
2312
|
+
requestId: 'string',
|
|
2313
|
+
userProvisioningStatistics: GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics,
|
|
2314
|
+
};
|
|
2315
|
+
}
|
|
2316
|
+
}
|
|
2317
|
+
exports.GetUserProvisioningRdAccountStatisticsResponseBody = GetUserProvisioningRdAccountStatisticsResponseBody;
|
|
2318
|
+
class GetUserProvisioningRdAccountStatisticsResponse extends $tea.Model {
|
|
2319
|
+
constructor(map) {
|
|
2320
|
+
super(map);
|
|
2321
|
+
}
|
|
2322
|
+
static names() {
|
|
2323
|
+
return {
|
|
2324
|
+
headers: 'headers',
|
|
2325
|
+
statusCode: 'statusCode',
|
|
2326
|
+
body: 'body',
|
|
2327
|
+
};
|
|
2328
|
+
}
|
|
2329
|
+
static types() {
|
|
2330
|
+
return {
|
|
2331
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2332
|
+
statusCode: 'number',
|
|
2333
|
+
body: GetUserProvisioningRdAccountStatisticsResponseBody,
|
|
2334
|
+
};
|
|
2335
|
+
}
|
|
2336
|
+
}
|
|
2337
|
+
exports.GetUserProvisioningRdAccountStatisticsResponse = GetUserProvisioningRdAccountStatisticsResponse;
|
|
2338
|
+
class GetUserProvisioningStatisticsRequest extends $tea.Model {
|
|
2339
|
+
constructor(map) {
|
|
2340
|
+
super(map);
|
|
2341
|
+
}
|
|
2342
|
+
static names() {
|
|
2343
|
+
return {
|
|
2344
|
+
directoryId: 'DirectoryId',
|
|
2345
|
+
userProvisioningId: 'UserProvisioningId',
|
|
2346
|
+
};
|
|
2347
|
+
}
|
|
2348
|
+
static types() {
|
|
2349
|
+
return {
|
|
2350
|
+
directoryId: 'string',
|
|
2351
|
+
userProvisioningId: 'string',
|
|
2352
|
+
};
|
|
2353
|
+
}
|
|
2354
|
+
}
|
|
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;
|
|
2116
2394
|
class ListAccessAssignmentsRequest extends $tea.Model {
|
|
2117
2395
|
constructor(map) {
|
|
2118
2396
|
super(map);
|
|
@@ -2891,6 +3169,74 @@ class ListTasksResponse extends $tea.Model {
|
|
|
2891
3169
|
}
|
|
2892
3170
|
}
|
|
2893
3171
|
exports.ListTasksResponse = ListTasksResponse;
|
|
3172
|
+
class ListUserProvisioningEventsRequest extends $tea.Model {
|
|
3173
|
+
constructor(map) {
|
|
3174
|
+
super(map);
|
|
3175
|
+
}
|
|
3176
|
+
static names() {
|
|
3177
|
+
return {
|
|
3178
|
+
directoryId: 'DirectoryId',
|
|
3179
|
+
maxResults: 'MaxResults',
|
|
3180
|
+
nextToken: 'NextToken',
|
|
3181
|
+
userProvisioningId: 'UserProvisioningId',
|
|
3182
|
+
};
|
|
3183
|
+
}
|
|
3184
|
+
static types() {
|
|
3185
|
+
return {
|
|
3186
|
+
directoryId: 'string',
|
|
3187
|
+
maxResults: 'number',
|
|
3188
|
+
nextToken: 'string',
|
|
3189
|
+
userProvisioningId: 'string',
|
|
3190
|
+
};
|
|
3191
|
+
}
|
|
3192
|
+
}
|
|
3193
|
+
exports.ListUserProvisioningEventsRequest = ListUserProvisioningEventsRequest;
|
|
3194
|
+
class ListUserProvisioningEventsResponseBody extends $tea.Model {
|
|
3195
|
+
constructor(map) {
|
|
3196
|
+
super(map);
|
|
3197
|
+
}
|
|
3198
|
+
static names() {
|
|
3199
|
+
return {
|
|
3200
|
+
isTruncated: 'IsTruncated',
|
|
3201
|
+
maxResults: 'MaxResults',
|
|
3202
|
+
nextToken: 'NextToken',
|
|
3203
|
+
requestId: 'RequestId',
|
|
3204
|
+
totalCounts: 'TotalCounts',
|
|
3205
|
+
userProvisioningEvents: 'UserProvisioningEvents',
|
|
3206
|
+
};
|
|
3207
|
+
}
|
|
3208
|
+
static types() {
|
|
3209
|
+
return {
|
|
3210
|
+
isTruncated: 'boolean',
|
|
3211
|
+
maxResults: 'number',
|
|
3212
|
+
nextToken: 'string',
|
|
3213
|
+
requestId: 'string',
|
|
3214
|
+
totalCounts: 'number',
|
|
3215
|
+
userProvisioningEvents: { 'type': 'array', 'itemType': ListUserProvisioningEventsResponseBodyUserProvisioningEvents },
|
|
3216
|
+
};
|
|
3217
|
+
}
|
|
3218
|
+
}
|
|
3219
|
+
exports.ListUserProvisioningEventsResponseBody = ListUserProvisioningEventsResponseBody;
|
|
3220
|
+
class ListUserProvisioningEventsResponse extends $tea.Model {
|
|
3221
|
+
constructor(map) {
|
|
3222
|
+
super(map);
|
|
3223
|
+
}
|
|
3224
|
+
static names() {
|
|
3225
|
+
return {
|
|
3226
|
+
headers: 'headers',
|
|
3227
|
+
statusCode: 'statusCode',
|
|
3228
|
+
body: 'body',
|
|
3229
|
+
};
|
|
3230
|
+
}
|
|
3231
|
+
static types() {
|
|
3232
|
+
return {
|
|
3233
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3234
|
+
statusCode: 'number',
|
|
3235
|
+
body: ListUserProvisioningEventsResponseBody,
|
|
3236
|
+
};
|
|
3237
|
+
}
|
|
3238
|
+
}
|
|
3239
|
+
exports.ListUserProvisioningEventsResponse = ListUserProvisioningEventsResponse;
|
|
2894
3240
|
class ListUserProvisioningsRequest extends $tea.Model {
|
|
2895
3241
|
constructor(map) {
|
|
2896
3242
|
super(map);
|
|
@@ -3327,6 +3673,62 @@ class ResetUserPasswordResponse extends $tea.Model {
|
|
|
3327
3673
|
}
|
|
3328
3674
|
}
|
|
3329
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;
|
|
3330
3732
|
class SetExternalSAMLIdentityProviderRequest extends $tea.Model {
|
|
3331
3733
|
constructor(map) {
|
|
3332
3734
|
super(map);
|
|
@@ -4035,6 +4437,64 @@ class UpdateUserProvisioningResponse extends $tea.Model {
|
|
|
4035
4437
|
}
|
|
4036
4438
|
}
|
|
4037
4439
|
exports.UpdateUserProvisioningResponse = UpdateUserProvisioningResponse;
|
|
4440
|
+
class UpdateUserProvisioningConfigurationRequest extends $tea.Model {
|
|
4441
|
+
constructor(map) {
|
|
4442
|
+
super(map);
|
|
4443
|
+
}
|
|
4444
|
+
static names() {
|
|
4445
|
+
return {
|
|
4446
|
+
directoryId: 'DirectoryId',
|
|
4447
|
+
newDefaultLandingPage: 'NewDefaultLandingPage',
|
|
4448
|
+
newSessionDuration: 'NewSessionDuration',
|
|
4449
|
+
};
|
|
4450
|
+
}
|
|
4451
|
+
static types() {
|
|
4452
|
+
return {
|
|
4453
|
+
directoryId: 'string',
|
|
4454
|
+
newDefaultLandingPage: 'string',
|
|
4455
|
+
newSessionDuration: 'number',
|
|
4456
|
+
};
|
|
4457
|
+
}
|
|
4458
|
+
}
|
|
4459
|
+
exports.UpdateUserProvisioningConfigurationRequest = UpdateUserProvisioningConfigurationRequest;
|
|
4460
|
+
class UpdateUserProvisioningConfigurationResponseBody extends $tea.Model {
|
|
4461
|
+
constructor(map) {
|
|
4462
|
+
super(map);
|
|
4463
|
+
}
|
|
4464
|
+
static names() {
|
|
4465
|
+
return {
|
|
4466
|
+
requestId: 'RequestId',
|
|
4467
|
+
userProvisioningConfiguration: 'UserProvisioningConfiguration',
|
|
4468
|
+
};
|
|
4469
|
+
}
|
|
4470
|
+
static types() {
|
|
4471
|
+
return {
|
|
4472
|
+
requestId: 'string',
|
|
4473
|
+
userProvisioningConfiguration: UpdateUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration,
|
|
4474
|
+
};
|
|
4475
|
+
}
|
|
4476
|
+
}
|
|
4477
|
+
exports.UpdateUserProvisioningConfigurationResponseBody = UpdateUserProvisioningConfigurationResponseBody;
|
|
4478
|
+
class UpdateUserProvisioningConfigurationResponse extends $tea.Model {
|
|
4479
|
+
constructor(map) {
|
|
4480
|
+
super(map);
|
|
4481
|
+
}
|
|
4482
|
+
static names() {
|
|
4483
|
+
return {
|
|
4484
|
+
headers: 'headers',
|
|
4485
|
+
statusCode: 'statusCode',
|
|
4486
|
+
body: 'body',
|
|
4487
|
+
};
|
|
4488
|
+
}
|
|
4489
|
+
static types() {
|
|
4490
|
+
return {
|
|
4491
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4492
|
+
statusCode: 'number',
|
|
4493
|
+
body: UpdateUserProvisioningConfigurationResponseBody,
|
|
4494
|
+
};
|
|
4495
|
+
}
|
|
4496
|
+
}
|
|
4497
|
+
exports.UpdateUserProvisioningConfigurationResponse = UpdateUserProvisioningConfigurationResponse;
|
|
4038
4498
|
class UpdateUserStatusRequest extends $tea.Model {
|
|
4039
4499
|
constructor(map) {
|
|
4040
4500
|
super(map);
|
|
@@ -4456,17 +4916,23 @@ class GetDirectorySAMLServiceProviderInfoResponseBodySAMLServiceProvider extends
|
|
|
4456
4916
|
static names() {
|
|
4457
4917
|
return {
|
|
4458
4918
|
acsUrl: 'AcsUrl',
|
|
4919
|
+
authnSignAlgo: 'AuthnSignAlgo',
|
|
4920
|
+
certificateType: 'CertificateType',
|
|
4459
4921
|
directoryId: 'DirectoryId',
|
|
4460
4922
|
encodedMetadataDocument: 'EncodedMetadataDocument',
|
|
4461
4923
|
entityId: 'EntityId',
|
|
4924
|
+
supportEncryptedAssertion: 'SupportEncryptedAssertion',
|
|
4462
4925
|
};
|
|
4463
4926
|
}
|
|
4464
4927
|
static types() {
|
|
4465
4928
|
return {
|
|
4466
4929
|
acsUrl: 'string',
|
|
4930
|
+
authnSignAlgo: 'string',
|
|
4931
|
+
certificateType: 'string',
|
|
4467
4932
|
directoryId: 'string',
|
|
4468
4933
|
encodedMetadataDocument: 'string',
|
|
4469
4934
|
entityId: 'string',
|
|
4935
|
+
supportEncryptedAssertion: 'boolean',
|
|
4470
4936
|
};
|
|
4471
4937
|
}
|
|
4472
4938
|
}
|
|
@@ -4766,7 +5232,133 @@ class GetUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
|
|
|
4766
5232
|
};
|
|
4767
5233
|
}
|
|
4768
5234
|
}
|
|
4769
|
-
exports.GetUserProvisioningResponseBodyUserProvisioning = GetUserProvisioningResponseBodyUserProvisioning;
|
|
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',
|
|
5300
|
+
targetId: 'string',
|
|
5301
|
+
targetName: 'string',
|
|
5302
|
+
targetPath: 'string',
|
|
5303
|
+
targetType: 'string',
|
|
5304
|
+
updateTime: 'string',
|
|
5305
|
+
userProvisioningId: 'string',
|
|
5306
|
+
};
|
|
5307
|
+
}
|
|
5308
|
+
}
|
|
5309
|
+
exports.GetUserProvisioningEventResponseBodyUserProvisioningEvent = GetUserProvisioningEventResponseBodyUserProvisioningEvent;
|
|
5310
|
+
class GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics extends $tea.Model {
|
|
5311
|
+
constructor(map) {
|
|
5312
|
+
super(map);
|
|
5313
|
+
}
|
|
5314
|
+
static names() {
|
|
5315
|
+
return {
|
|
5316
|
+
directoryId: 'DirectoryId',
|
|
5317
|
+
entityId: 'EntityId',
|
|
5318
|
+
failedEventCount: 'FailedEventCount',
|
|
5319
|
+
latestAsyncTime: 'LatestAsyncTime',
|
|
5320
|
+
ownerPk: 'OwnerPk',
|
|
5321
|
+
type: 'Type',
|
|
5322
|
+
};
|
|
5323
|
+
}
|
|
5324
|
+
static types() {
|
|
5325
|
+
return {
|
|
5326
|
+
directoryId: 'string',
|
|
5327
|
+
entityId: 'string',
|
|
5328
|
+
failedEventCount: 'number',
|
|
5329
|
+
latestAsyncTime: 'string',
|
|
5330
|
+
ownerPk: 'string',
|
|
5331
|
+
type: 'string',
|
|
5332
|
+
};
|
|
5333
|
+
}
|
|
5334
|
+
}
|
|
5335
|
+
exports.GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics = GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics;
|
|
5336
|
+
class GetUserProvisioningStatisticsResponseBodyUserProvisioningStatistics extends $tea.Model {
|
|
5337
|
+
constructor(map) {
|
|
5338
|
+
super(map);
|
|
5339
|
+
}
|
|
5340
|
+
static names() {
|
|
5341
|
+
return {
|
|
5342
|
+
directoryId: 'DirectoryId',
|
|
5343
|
+
entityId: 'EntityId',
|
|
5344
|
+
failedEventCount: 'FailedEventCount',
|
|
5345
|
+
latestAsyncTime: 'LatestAsyncTime',
|
|
5346
|
+
ownerPk: 'OwnerPk',
|
|
5347
|
+
type: 'Type',
|
|
5348
|
+
};
|
|
5349
|
+
}
|
|
5350
|
+
static types() {
|
|
5351
|
+
return {
|
|
5352
|
+
directoryId: 'string',
|
|
5353
|
+
entityId: 'string',
|
|
5354
|
+
failedEventCount: 'number',
|
|
5355
|
+
latestAsyncTime: 'string',
|
|
5356
|
+
ownerPk: 'string',
|
|
5357
|
+
type: 'string',
|
|
5358
|
+
};
|
|
5359
|
+
}
|
|
5360
|
+
}
|
|
5361
|
+
exports.GetUserProvisioningStatisticsResponseBodyUserProvisioningStatistics = GetUserProvisioningStatisticsResponseBodyUserProvisioningStatistics;
|
|
4770
5362
|
class ListAccessAssignmentsResponseBodyAccessAssignments extends $tea.Model {
|
|
4771
5363
|
constructor(map) {
|
|
4772
5364
|
super(map);
|
|
@@ -5133,6 +5725,56 @@ class ListTasksResponseBodyTasks extends $tea.Model {
|
|
|
5133
5725
|
}
|
|
5134
5726
|
}
|
|
5135
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;
|
|
5136
5778
|
class ListUserProvisioningsResponseBodyUserProvisionings extends $tea.Model {
|
|
5137
5779
|
constructor(map) {
|
|
5138
5780
|
super(map);
|
|
@@ -5469,6 +6111,30 @@ class UpdateUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
|
|
|
5469
6111
|
}
|
|
5470
6112
|
}
|
|
5471
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;
|
|
5472
6138
|
class Client extends openapi_client_1.default {
|
|
5473
6139
|
constructor(config) {
|
|
5474
6140
|
super(config);
|
|
@@ -6407,6 +7073,38 @@ class Client extends openapi_client_1.default {
|
|
|
6407
7073
|
let runtime = new $Util.RuntimeOptions({});
|
|
6408
7074
|
return await this.deleteUserProvisioningWithOptions(request, runtime);
|
|
6409
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
|
+
}
|
|
6410
7108
|
/**
|
|
6411
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.
|
|
6412
7110
|
* This topic provides an example on how to de-provision the access configuration `ac-00jhtfl8thteu6uj****` from the account `114240524784****` in your resource directory.
|
|
@@ -7147,8 +7845,121 @@ class Client extends openapi_client_1.default {
|
|
|
7147
7845
|
let runtime = new $Util.RuntimeOptions({});
|
|
7148
7846
|
return await this.getUserProvisioningWithOptions(request, runtime);
|
|
7149
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) {
|
|
7933
|
+
tea_util_1.default.validateModel(request);
|
|
7934
|
+
let query = {};
|
|
7935
|
+
if (!tea_util_1.default.isUnset(request.directoryId)) {
|
|
7936
|
+
query["DirectoryId"] = request.directoryId;
|
|
7937
|
+
}
|
|
7938
|
+
if (!tea_util_1.default.isUnset(request.userProvisioningId)) {
|
|
7939
|
+
query["UserProvisioningId"] = request.userProvisioningId;
|
|
7940
|
+
}
|
|
7941
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7942
|
+
query: openapi_util_1.default.query(query),
|
|
7943
|
+
});
|
|
7944
|
+
let params = new $OpenApi.Params({
|
|
7945
|
+
action: "GetUserProvisioningStatistics",
|
|
7946
|
+
version: "2021-05-15",
|
|
7947
|
+
protocol: "HTTPS",
|
|
7948
|
+
pathname: "/",
|
|
7949
|
+
method: "POST",
|
|
7950
|
+
authType: "AK",
|
|
7951
|
+
style: "RPC",
|
|
7952
|
+
reqBodyType: "formData",
|
|
7953
|
+
bodyType: "json",
|
|
7954
|
+
});
|
|
7955
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetUserProvisioningStatisticsResponse({}));
|
|
7956
|
+
}
|
|
7957
|
+
async getUserProvisioningStatistics(request) {
|
|
7958
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7959
|
+
return await this.getUserProvisioningStatisticsWithOptions(request, runtime);
|
|
7960
|
+
}
|
|
7150
7961
|
/**
|
|
7151
|
-
* 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
|
|
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.
|
|
7152
7963
|
*
|
|
7153
7964
|
* @param request ListAccessAssignmentsRequest
|
|
7154
7965
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7198,7 +8009,7 @@ class Client extends openapi_client_1.default {
|
|
|
7198
8009
|
return $tea.cast(await this.callApi(params, req, runtime), new ListAccessAssignmentsResponse({}));
|
|
7199
8010
|
}
|
|
7200
8011
|
/**
|
|
7201
|
-
* 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
|
|
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.
|
|
7202
8013
|
*
|
|
7203
8014
|
* @param request ListAccessAssignmentsRequest
|
|
7204
8015
|
* @return ListAccessAssignmentsResponse
|
|
@@ -7729,6 +8540,41 @@ class Client extends openapi_client_1.default {
|
|
|
7729
8540
|
let runtime = new $Util.RuntimeOptions({});
|
|
7730
8541
|
return await this.listTasksWithOptions(request, runtime);
|
|
7731
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
|
+
}
|
|
7732
8578
|
async listUserProvisioningsWithOptions(request, runtime) {
|
|
7733
8579
|
tea_util_1.default.validateModel(request);
|
|
7734
8580
|
let query = {};
|
|
@@ -8071,6 +8917,38 @@ class Client extends openapi_client_1.default {
|
|
|
8071
8917
|
let runtime = new $Util.RuntimeOptions({});
|
|
8072
8918
|
return await this.resetUserPasswordWithOptions(request, runtime);
|
|
8073
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
|
+
}
|
|
8074
8952
|
/**
|
|
8075
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.
|
|
8076
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.
|
|
@@ -8673,6 +9551,38 @@ class Client extends openapi_client_1.default {
|
|
|
8673
9551
|
let runtime = new $Util.RuntimeOptions({});
|
|
8674
9552
|
return await this.updateUserProvisioningWithOptions(request, runtime);
|
|
8675
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
|
+
}
|
|
8676
9586
|
/**
|
|
8677
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.
|
|
8678
9588
|
*
|