@alicloud/eiam20211201 2.18.0 → 2.18.2

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.
Files changed (45) hide show
  1. package/dist/client.d.ts +10 -10
  2. package/dist/client.js +19 -10
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAuthorizationResourceRequest.d.ts +42 -2
  5. package/dist/models/CreateAuthorizationResourceRequest.js +47 -1
  6. package/dist/models/CreateAuthorizationResourceRequest.js.map +1 -1
  7. package/dist/models/CreateInstanceRequest.d.ts +8 -0
  8. package/dist/models/CreateInstanceRequest.js +2 -0
  9. package/dist/models/CreateInstanceRequest.js.map +1 -1
  10. package/dist/models/CreateInstanceResponseBody.d.ts +1 -1
  11. package/dist/models/ExecuteInstanceFailoverRequest.d.ts +4 -2
  12. package/dist/models/ExecuteInstanceFailoverRequest.js.map +1 -1
  13. package/dist/models/ExecuteInstanceFailoverResponseBody.d.ts +3 -0
  14. package/dist/models/ExecuteInstanceFailoverResponseBody.js.map +1 -1
  15. package/dist/models/GetAuthorizationResourceResponseBody.d.ts +59 -5
  16. package/dist/models/GetAuthorizationResourceResponseBody.js +51 -1
  17. package/dist/models/GetAuthorizationResourceResponseBody.js.map +1 -1
  18. package/dist/models/GetInstanceLicenseResponseBody.d.ts +26 -21
  19. package/dist/models/GetInstanceLicenseResponseBody.js +2 -0
  20. package/dist/models/GetInstanceLicenseResponseBody.js.map +1 -1
  21. package/dist/models/ListAuthorizationResourcesRequest.d.ts +7 -7
  22. package/dist/models/ListAuthorizationResourcesResponseBody.d.ts +60 -5
  23. package/dist/models/ListAuthorizationResourcesResponseBody.js +51 -1
  24. package/dist/models/ListAuthorizationResourcesResponseBody.js.map +1 -1
  25. package/dist/models/ListInstancesRequest.d.ts +15 -0
  26. package/dist/models/ListInstancesRequest.js +2 -0
  27. package/dist/models/ListInstancesRequest.js.map +1 -1
  28. package/dist/models/ListInstancesResponseBody.d.ts +4 -4
  29. package/dist/models/model.d.ts +6 -0
  30. package/dist/models/model.js +51 -39
  31. package/dist/models/model.js.map +1 -1
  32. package/package.json +1 -1
  33. package/src/client.ts +22 -10
  34. package/src/models/CreateAuthorizationResourceRequest.ts +70 -2
  35. package/src/models/CreateInstanceRequest.ts +10 -0
  36. package/src/models/CreateInstanceResponseBody.ts +1 -1
  37. package/src/models/ExecuteInstanceFailoverRequest.ts +4 -2
  38. package/src/models/ExecuteInstanceFailoverResponseBody.ts +3 -0
  39. package/src/models/GetAuthorizationResourceResponseBody.ts +91 -5
  40. package/src/models/GetInstanceLicenseResponseBody.ts +28 -21
  41. package/src/models/ListAuthorizationResourcesRequest.ts +7 -7
  42. package/src/models/ListAuthorizationResourcesResponseBody.ts +92 -5
  43. package/src/models/ListInstancesRequest.ts +17 -0
  44. package/src/models/ListInstancesResponseBody.ts +4 -4
  45. package/src/models/model.ts +6 -0
package/dist/client.d.ts CHANGED
@@ -642,7 +642,7 @@ export default class Client extends OpenApi {
642
642
  */
643
643
  createIdentityProviderStatusCheckJob(request: $_model.CreateIdentityProviderStatusCheckJobRequest): Promise<$_model.CreateIdentityProviderStatusCheckJobResponse>;
644
644
  /**
645
- * Creates an instance based on which all capabilities of Identity as a Service (IDaaS) Enterprise Identity and Access Management (EIAM) are provided.
645
+ * Creates an instance. All EIAM product capabilities are provided based on instances.
646
646
  *
647
647
  * @param request - CreateInstanceRequest
648
648
  * @param runtime - runtime options for this request RuntimeOptions
@@ -650,7 +650,7 @@ export default class Client extends OpenApi {
650
650
  */
651
651
  createInstanceWithOptions(request: $_model.CreateInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateInstanceResponse>;
652
652
  /**
653
- * Creates an instance based on which all capabilities of Identity as a Service (IDaaS) Enterprise Identity and Access Management (EIAM) are provided.
653
+ * Creates an instance. All EIAM product capabilities are provided based on instances.
654
654
  *
655
655
  * @param request - CreateInstanceRequest
656
656
  * @returns CreateInstanceResponse
@@ -2088,7 +2088,7 @@ export default class Client extends OpenApi {
2088
2088
  */
2089
2089
  execIdentityProviderMetadataUrlResolution(request: $_model.ExecIdentityProviderMetadataUrlResolutionRequest): Promise<$_model.ExecIdentityProviderMetadataUrlResolutionResponse>;
2090
2090
  /**
2091
- * 执行容灾切换
2091
+ * Performs a disaster recovery switchover.
2092
2092
  *
2093
2093
  * @param request - ExecuteInstanceFailoverRequest
2094
2094
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2096,7 +2096,7 @@ export default class Client extends OpenApi {
2096
2096
  */
2097
2097
  executeInstanceFailoverWithOptions(request: $_model.ExecuteInstanceFailoverRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ExecuteInstanceFailoverResponse>;
2098
2098
  /**
2099
- * 执行容灾切换
2099
+ * Performs a disaster recovery switchover.
2100
2100
  *
2101
2101
  * @param request - ExecuteInstanceFailoverRequest
2102
2102
  * @returns ExecuteInstanceFailoverResponse
@@ -2328,7 +2328,7 @@ export default class Client extends OpenApi {
2328
2328
  */
2329
2329
  getApplicationTemplate(request: $_model.GetApplicationTemplateRequest): Promise<$_model.GetApplicationTemplateResponse>;
2330
2330
  /**
2331
- * Queries information about an authorized resource.
2331
+ * Queries the information of an authorization resource.
2332
2332
  *
2333
2333
  * @param request - GetAuthorizationResourceRequest
2334
2334
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2336,7 +2336,7 @@ export default class Client extends OpenApi {
2336
2336
  */
2337
2337
  getAuthorizationResourceWithOptions(request: $_model.GetAuthorizationResourceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAuthorizationResourceResponse>;
2338
2338
  /**
2339
- * Queries information about an authorized resource.
2339
+ * Queries the information of an authorization resource.
2340
2340
  *
2341
2341
  * @param request - GetAuthorizationResourceRequest
2342
2342
  * @returns GetAuthorizationResourceResponse
@@ -2709,10 +2709,10 @@ export default class Client extends OpenApi {
2709
2709
  */
2710
2710
  getInstanceGlobalizationConfig(request: $_model.GetInstanceGlobalizationConfigRequest): Promise<$_model.GetInstanceGlobalizationConfigResponse>;
2711
2711
  /**
2712
- * Queries the active license information for an instance.
2712
+ * Queries the license information that is currently effective for an instance.
2713
2713
  *
2714
2714
  * @remarks
2715
- * Ensure the instance is not in use before deletion. Deleting an EIAM instance permanently removes all of its associated data.
2715
+ * Make sure that your instance is no longer in use. After an EIAM instance is deleted, all related data is deleted.
2716
2716
  *
2717
2717
  * @param request - GetInstanceLicenseRequest
2718
2718
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2720,10 +2720,10 @@ export default class Client extends OpenApi {
2720
2720
  */
2721
2721
  getInstanceLicenseWithOptions(request: $_model.GetInstanceLicenseRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetInstanceLicenseResponse>;
2722
2722
  /**
2723
- * Queries the active license information for an instance.
2723
+ * Queries the license information that is currently effective for an instance.
2724
2724
  *
2725
2725
  * @remarks
2726
- * Ensure the instance is not in use before deletion. Deleting an EIAM instance permanently removes all of its associated data.
2726
+ * Make sure that your instance is no longer in use. After an EIAM instance is deleted, all related data is deleted.
2727
2727
  *
2728
2728
  * @param request - GetInstanceLicenseRequest
2729
2729
  * @returns GetInstanceLicenseResponse
package/dist/client.js CHANGED
@@ -1301,6 +1301,9 @@ class Client extends openapi_core_1.default {
1301
1301
  if (!$dara.isNull(request.authorizationRuleId)) {
1302
1302
  query["AuthorizationRuleId"] = request.authorizationRuleId;
1303
1303
  }
1304
+ if (!$dara.isNull(request.condition)) {
1305
+ query["Condition"] = request.condition;
1306
+ }
1304
1307
  if (!$dara.isNull(request.instanceId)) {
1305
1308
  query["InstanceId"] = request.instanceId;
1306
1309
  }
@@ -2274,7 +2277,7 @@ class Client extends openapi_core_1.default {
2274
2277
  return await this.createIdentityProviderStatusCheckJobWithOptions(request, runtime);
2275
2278
  }
2276
2279
  /**
2277
- * Creates an instance based on which all capabilities of Identity as a Service (IDaaS) Enterprise Identity and Access Management (EIAM) are provided.
2280
+ * Creates an instance. All EIAM product capabilities are provided based on instances.
2278
2281
  *
2279
2282
  * @param request - CreateInstanceRequest
2280
2283
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2283,6 +2286,9 @@ class Client extends openapi_core_1.default {
2283
2286
  async createInstanceWithOptions(request, runtime) {
2284
2287
  request.validate();
2285
2288
  let query = {};
2289
+ if (!$dara.isNull(request.clientToken)) {
2290
+ query["ClientToken"] = request.clientToken;
2291
+ }
2286
2292
  if (!$dara.isNull(request.description)) {
2287
2293
  query["Description"] = request.description;
2288
2294
  }
@@ -2303,7 +2309,7 @@ class Client extends openapi_core_1.default {
2303
2309
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateInstanceResponse({}));
2304
2310
  }
2305
2311
  /**
2306
- * Creates an instance based on which all capabilities of Identity as a Service (IDaaS) Enterprise Identity and Access Management (EIAM) are provided.
2312
+ * Creates an instance. All EIAM product capabilities are provided based on instances.
2307
2313
  *
2308
2314
  * @param request - CreateInstanceRequest
2309
2315
  * @returns CreateInstanceResponse
@@ -6385,7 +6391,7 @@ class Client extends openapi_core_1.default {
6385
6391
  return await this.execIdentityProviderMetadataUrlResolutionWithOptions(request, runtime);
6386
6392
  }
6387
6393
  /**
6388
- * 执行容灾切换
6394
+ * Performs a disaster recovery switchover.
6389
6395
  *
6390
6396
  * @param request - ExecuteInstanceFailoverRequest
6391
6397
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6417,7 +6423,7 @@ class Client extends openapi_core_1.default {
6417
6423
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ExecuteInstanceFailoverResponse({}));
6418
6424
  }
6419
6425
  /**
6420
- * 执行容灾切换
6426
+ * Performs a disaster recovery switchover.
6421
6427
  *
6422
6428
  * @param request - ExecuteInstanceFailoverRequest
6423
6429
  * @returns ExecuteInstanceFailoverResponse
@@ -7084,7 +7090,7 @@ class Client extends openapi_core_1.default {
7084
7090
  return await this.getApplicationTemplateWithOptions(request, runtime);
7085
7091
  }
7086
7092
  /**
7087
- * Queries information about an authorized resource.
7093
+ * Queries the information of an authorization resource.
7088
7094
  *
7089
7095
  * @param request - GetAuthorizationResourceRequest
7090
7096
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7119,7 +7125,7 @@ class Client extends openapi_core_1.default {
7119
7125
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAuthorizationResourceResponse({}));
7120
7126
  }
7121
7127
  /**
7122
- * Queries information about an authorized resource.
7128
+ * Queries the information of an authorization resource.
7123
7129
  *
7124
7130
  * @param request - GetAuthorizationResourceRequest
7125
7131
  * @returns GetAuthorizationResourceResponse
@@ -8143,10 +8149,10 @@ class Client extends openapi_core_1.default {
8143
8149
  return await this.getInstanceGlobalizationConfigWithOptions(request, runtime);
8144
8150
  }
8145
8151
  /**
8146
- * Queries the active license information for an instance.
8152
+ * Queries the license information that is currently effective for an instance.
8147
8153
  *
8148
8154
  * @remarks
8149
- * Ensure the instance is not in use before deletion. Deleting an EIAM instance permanently removes all of its associated data.
8155
+ * Make sure that your instance is no longer in use. After an EIAM instance is deleted, all related data is deleted.
8150
8156
  *
8151
8157
  * @param request - GetInstanceLicenseRequest
8152
8158
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8175,10 +8181,10 @@ class Client extends openapi_core_1.default {
8175
8181
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetInstanceLicenseResponse({}));
8176
8182
  }
8177
8183
  /**
8178
- * Queries the active license information for an instance.
8184
+ * Queries the license information that is currently effective for an instance.
8179
8185
  *
8180
8186
  * @remarks
8181
- * Ensure the instance is not in use before deletion. Deleting an EIAM instance permanently removes all of its associated data.
8187
+ * Make sure that your instance is no longer in use. After an EIAM instance is deleted, all related data is deleted.
8182
8188
  *
8183
8189
  * @param request - GetInstanceLicenseRequest
8184
8190
  * @returns GetInstanceLicenseResponse
@@ -11190,6 +11196,9 @@ class Client extends openapi_core_1.default {
11190
11196
  if (!$dara.isNull(request.instanceIds)) {
11191
11197
  query["InstanceIds"] = request.instanceIds;
11192
11198
  }
11199
+ if (!$dara.isNull(request.managedServiceCode)) {
11200
+ query["ManagedServiceCode"] = request.managedServiceCode;
11201
+ }
11193
11202
  if (!$dara.isNull(request.pageNumber)) {
11194
11203
  query["PageNumber"] = request.pageNumber;
11195
11204
  }