@alicloud/eiam20211201 2.5.2 → 2.6.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 CHANGED
@@ -2816,6 +2816,21 @@ export default class Client extends OpenApi {
2816
2816
  * @returns UpdateApplicationInfoResponse
2817
2817
  */
2818
2818
  updateApplicationInfo(request: $_model.UpdateApplicationInfoRequest): Promise<$_model.UpdateApplicationInfoResponse>;
2819
+ /**
2820
+ * 更新模板应用的SSO参数
2821
+ *
2822
+ * @param request - UpdateApplicationSsoFormParamsRequest
2823
+ * @param runtime - runtime options for this request RuntimeOptions
2824
+ * @returns UpdateApplicationSsoFormParamsResponse
2825
+ */
2826
+ updateApplicationSsoFormParamsWithOptions(request: $_model.UpdateApplicationSsoFormParamsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateApplicationSsoFormParamsResponse>;
2827
+ /**
2828
+ * 更新模板应用的SSO参数
2829
+ *
2830
+ * @param request - UpdateApplicationSsoFormParamsRequest
2831
+ * @returns UpdateApplicationSsoFormParamsResponse
2832
+ */
2833
+ updateApplicationSsoFormParams(request: $_model.UpdateApplicationSsoFormParamsRequest): Promise<$_model.UpdateApplicationSsoFormParamsResponse>;
2819
2834
  /**
2820
2835
  * 更新ApplicationToken过期时间
2821
2836
  *
package/dist/client.js CHANGED
@@ -8551,6 +8551,51 @@ class Client extends openapi_core_1.default {
8551
8551
  let runtime = new $dara.RuntimeOptions({});
8552
8552
  return await this.updateApplicationInfoWithOptions(request, runtime);
8553
8553
  }
8554
+ /**
8555
+ * 更新模板应用的SSO参数
8556
+ *
8557
+ * @param request - UpdateApplicationSsoFormParamsRequest
8558
+ * @param runtime - runtime options for this request RuntimeOptions
8559
+ * @returns UpdateApplicationSsoFormParamsResponse
8560
+ */
8561
+ async updateApplicationSsoFormParamsWithOptions(request, runtime) {
8562
+ request.validate();
8563
+ let query = {};
8564
+ if (!$dara.isNull(request.applicationId)) {
8565
+ query["ApplicationId"] = request.applicationId;
8566
+ }
8567
+ if (!$dara.isNull(request.applicationTemplateParams)) {
8568
+ query["ApplicationTemplateParams"] = request.applicationTemplateParams;
8569
+ }
8570
+ if (!$dara.isNull(request.instanceId)) {
8571
+ query["InstanceId"] = request.instanceId;
8572
+ }
8573
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8574
+ query: openapi_core_2.OpenApiUtil.query(query),
8575
+ });
8576
+ let params = new openapi_core_2.$OpenApiUtil.Params({
8577
+ action: "UpdateApplicationSsoFormParams",
8578
+ version: "2021-12-01",
8579
+ protocol: "HTTPS",
8580
+ pathname: "/",
8581
+ method: "POST",
8582
+ authType: "AK",
8583
+ style: "RPC",
8584
+ reqBodyType: "formData",
8585
+ bodyType: "json",
8586
+ });
8587
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateApplicationSsoFormParamsResponse({}));
8588
+ }
8589
+ /**
8590
+ * 更新模板应用的SSO参数
8591
+ *
8592
+ * @param request - UpdateApplicationSsoFormParamsRequest
8593
+ * @returns UpdateApplicationSsoFormParamsResponse
8594
+ */
8595
+ async updateApplicationSsoFormParams(request) {
8596
+ let runtime = new $dara.RuntimeOptions({});
8597
+ return await this.updateApplicationSsoFormParamsWithOptions(request, runtime);
8598
+ }
8554
8599
  /**
8555
8600
  * 更新ApplicationToken过期时间
8556
8601
  *