@alicloud/oos20190601 3.7.0 → 3.8.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 +210 -40
- package/dist/client.js +513 -41
- package/dist/client.js.map +1 -1
- package/dist/models/CreateChatConfigurationRequest.d.ts +39 -0
- package/dist/models/CreateChatConfigurationRequest.js +68 -0
- package/dist/models/CreateChatConfigurationRequest.js.map +1 -0
- package/dist/models/CreateChatConfigurationResponse.d.ts +19 -0
- package/dist/models/CreateChatConfigurationResponse.js +69 -0
- package/dist/models/CreateChatConfigurationResponse.js.map +1 -0
- package/dist/models/CreateChatConfigurationResponseBody.d.ts +50 -0
- package/dist/models/CreateChatConfigurationResponseBody.js +86 -0
- package/dist/models/CreateChatConfigurationResponseBody.js.map +1 -0
- package/dist/models/CreateDeployRevisionRequest.d.ts +46 -0
- package/dist/models/CreateDeployRevisionRequest.js +68 -0
- package/dist/models/CreateDeployRevisionRequest.js.map +1 -0
- package/dist/models/CreateDeployRevisionResponse.d.ts +19 -0
- package/dist/models/CreateDeployRevisionResponse.js +69 -0
- package/dist/models/CreateDeployRevisionResponse.js.map +1 -0
- package/dist/models/CreateDeployRevisionResponseBody.d.ts +66 -0
- package/dist/models/CreateDeployRevisionResponseBody.js +94 -0
- package/dist/models/CreateDeployRevisionResponseBody.js.map +1 -0
- package/dist/models/DeleteChatConfigurationRequest.d.ts +23 -0
- package/dist/models/DeleteChatConfigurationRequest.js +60 -0
- package/dist/models/DeleteChatConfigurationRequest.js.map +1 -0
- package/dist/models/DeleteChatConfigurationResponse.d.ts +19 -0
- package/dist/models/DeleteChatConfigurationResponse.js +69 -0
- package/dist/models/DeleteChatConfigurationResponse.js.map +1 -0
- package/dist/models/DeleteChatConfigurationResponseBody.d.ts +23 -0
- package/dist/models/DeleteChatConfigurationResponseBody.js +60 -0
- package/dist/models/DeleteChatConfigurationResponseBody.js.map +1 -0
- package/dist/models/GetApplicationGroupResponseBody.d.ts +1 -0
- package/dist/models/GetApplicationGroupResponseBody.js +2 -0
- package/dist/models/GetApplicationGroupResponseBody.js.map +1 -1
- package/dist/models/GetChatConfigurationRequest.d.ts +23 -0
- package/dist/models/GetChatConfigurationRequest.js +60 -0
- package/dist/models/GetChatConfigurationRequest.js.map +1 -0
- package/dist/models/GetChatConfigurationResponse.d.ts +19 -0
- package/dist/models/GetChatConfigurationResponse.js +69 -0
- package/dist/models/GetChatConfigurationResponse.js.map +1 -0
- package/dist/models/GetChatConfigurationResponseBody.d.ts +85 -0
- package/dist/models/GetChatConfigurationResponseBody.js +96 -0
- package/dist/models/GetChatConfigurationResponseBody.js.map +1 -0
- package/dist/models/GetServiceSettingsResponseBody.d.ts +6 -0
- package/dist/models/GetServiceSettingsResponseBody.js +4 -0
- package/dist/models/GetServiceSettingsResponseBody.js.map +1 -1
- package/dist/models/ListChatConfigurationsRequest.d.ts +55 -0
- package/dist/models/ListChatConfigurationsRequest.js +88 -0
- package/dist/models/ListChatConfigurationsRequest.js.map +1 -0
- package/dist/models/ListChatConfigurationsResponse.d.ts +19 -0
- package/dist/models/ListChatConfigurationsResponse.js +69 -0
- package/dist/models/ListChatConfigurationsResponse.js.map +1 -0
- package/dist/models/ListChatConfigurationsResponseBody.d.ts +65 -0
- package/dist/models/ListChatConfigurationsResponseBody.js +92 -0
- package/dist/models/ListChatConfigurationsResponseBody.js.map +1 -0
- package/dist/models/ListExecutionLogsRequest.d.ts +5 -0
- package/dist/models/ListExecutionLogsRequest.js +2 -0
- package/dist/models/ListExecutionLogsRequest.js.map +1 -1
- package/dist/models/ListExecutionsRequest.d.ts +6 -0
- package/dist/models/ListExecutionsRequest.js +7 -0
- package/dist/models/ListExecutionsRequest.js.map +1 -1
- package/dist/models/ListExecutionsResponseBody.d.ts +5 -0
- package/dist/models/ListExecutionsResponseBody.js +2 -0
- package/dist/models/ListExecutionsResponseBody.js.map +1 -1
- package/dist/models/ListExecutionsShrinkRequest.d.ts +6 -0
- package/dist/models/ListExecutionsShrinkRequest.js +4 -0
- package/dist/models/ListExecutionsShrinkRequest.js.map +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +0 -32
- package/dist/models/ListTagResourcesResponseBody.js.map +1 -1
- package/dist/models/ListTaskExecutionInvocationsRequest.d.ts +28 -0
- package/dist/models/ListTaskExecutionInvocationsRequest.js +62 -0
- package/dist/models/ListTaskExecutionInvocationsRequest.js.map +1 -0
- package/dist/models/ListTaskExecutionInvocationsResponse.d.ts +19 -0
- package/dist/models/ListTaskExecutionInvocationsResponse.js +69 -0
- package/dist/models/ListTaskExecutionInvocationsResponse.js.map +1 -0
- package/dist/models/ListTaskExecutionInvocationsResponseBody.d.ts +59 -0
- package/dist/models/ListTaskExecutionInvocationsResponseBody.js +90 -0
- package/dist/models/ListTaskExecutionInvocationsResponseBody.js.map +1 -0
- package/dist/models/ListTaskExecutionsRequest.d.ts +5 -0
- package/dist/models/ListTaskExecutionsRequest.js +2 -0
- package/dist/models/ListTaskExecutionsRequest.js.map +1 -1
- package/dist/models/SetServiceSettingsRequest.d.ts +6 -0
- package/dist/models/SetServiceSettingsRequest.js +7 -0
- package/dist/models/SetServiceSettingsRequest.js.map +1 -1
- package/dist/models/SetServiceSettingsResponseBody.d.ts +1 -0
- package/dist/models/SetServiceSettingsResponseBody.js +2 -0
- package/dist/models/SetServiceSettingsResponseBody.js.map +1 -1
- package/dist/models/SetServiceSettingsShrinkRequest.d.ts +75 -0
- package/dist/models/SetServiceSettingsShrinkRequest.js +74 -0
- package/dist/models/SetServiceSettingsShrinkRequest.js.map +1 -0
- package/dist/models/UpdateApplicationGroupRequest.d.ts +1 -0
- package/dist/models/UpdateApplicationGroupRequest.js +2 -0
- package/dist/models/UpdateApplicationGroupRequest.js.map +1 -1
- package/dist/models/UpdateApplicationGroupResponseBody.d.ts +1 -0
- package/dist/models/UpdateApplicationGroupResponseBody.js +2 -0
- package/dist/models/UpdateApplicationGroupResponseBody.js.map +1 -1
- package/dist/models/UpdateApplicationGroupShrinkRequest.d.ts +1 -0
- package/dist/models/UpdateApplicationGroupShrinkRequest.js +2 -0
- package/dist/models/UpdateApplicationGroupShrinkRequest.js.map +1 -1
- package/dist/models/UpdateChatConfigurationRequest.d.ts +43 -0
- package/dist/models/UpdateChatConfigurationRequest.js +68 -0
- package/dist/models/UpdateChatConfigurationRequest.js.map +1 -0
- package/dist/models/UpdateChatConfigurationResponse.d.ts +19 -0
- package/dist/models/UpdateChatConfigurationResponse.js +69 -0
- package/dist/models/UpdateChatConfigurationResponse.js.map +1 -0
- package/dist/models/UpdateChatConfigurationResponseBody.d.ts +50 -0
- package/dist/models/UpdateChatConfigurationResponseBody.js +86 -0
- package/dist/models/UpdateChatConfigurationResponseBody.js.map +1 -0
- package/dist/models/UpdateTemplateAttributesRequest.d.ts +46 -0
- package/dist/models/UpdateTemplateAttributesRequest.js +68 -0
- package/dist/models/UpdateTemplateAttributesRequest.js.map +1 -0
- package/dist/models/UpdateTemplateAttributesResponse.d.ts +19 -0
- package/dist/models/UpdateTemplateAttributesResponse.js +69 -0
- package/dist/models/UpdateTemplateAttributesResponse.js.map +1 -0
- package/dist/models/UpdateTemplateAttributesResponseBody.d.ts +18 -0
- package/dist/models/UpdateTemplateAttributesResponseBody.js +58 -0
- package/dist/models/UpdateTemplateAttributesResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +32 -0
- package/dist/models/model.js +73 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +573 -41
- package/src/models/CreateChatConfigurationRequest.ts +62 -0
- package/src/models/CreateChatConfigurationResponse.ts +40 -0
- package/src/models/CreateChatConfigurationResponseBody.ts +82 -0
- package/src/models/CreateDeployRevisionRequest.ts +69 -0
- package/src/models/CreateDeployRevisionResponse.ts +40 -0
- package/src/models/CreateDeployRevisionResponseBody.ts +106 -0
- package/src/models/DeleteChatConfigurationRequest.ts +38 -0
- package/src/models/DeleteChatConfigurationResponse.ts +40 -0
- package/src/models/DeleteChatConfigurationResponseBody.ts +38 -0
- package/src/models/GetApplicationGroupResponseBody.ts +3 -0
- package/src/models/GetChatConfigurationRequest.ts +38 -0
- package/src/models/GetChatConfigurationResponse.ts +40 -0
- package/src/models/GetChatConfigurationResponseBody.ts +127 -0
- package/src/models/GetServiceSettingsResponseBody.ts +10 -0
- package/src/models/ListChatConfigurationsRequest.ts +89 -0
- package/src/models/ListChatConfigurationsResponse.ts +40 -0
- package/src/models/ListChatConfigurationsResponseBody.ts +103 -0
- package/src/models/ListExecutionLogsRequest.ts +7 -0
- package/src/models/ListExecutionsRequest.ts +13 -0
- package/src/models/ListExecutionsResponseBody.ts +7 -0
- package/src/models/ListExecutionsShrinkRequest.ts +10 -0
- package/src/models/ListTagResourcesResponseBody.ts +0 -32
- package/src/models/ListTaskExecutionInvocationsRequest.ts +45 -0
- package/src/models/ListTaskExecutionInvocationsResponse.ts +40 -0
- package/src/models/ListTaskExecutionInvocationsResponseBody.ts +95 -0
- package/src/models/ListTaskExecutionsRequest.ts +7 -0
- package/src/models/SetServiceSettingsRequest.ts +13 -0
- package/src/models/SetServiceSettingsResponseBody.ts +3 -0
- package/src/models/SetServiceSettingsShrinkRequest.ts +104 -0
- package/src/models/UpdateApplicationGroupRequest.ts +3 -0
- package/src/models/UpdateApplicationGroupResponseBody.ts +3 -0
- package/src/models/UpdateApplicationGroupShrinkRequest.ts +3 -0
- package/src/models/UpdateChatConfigurationRequest.ts +66 -0
- package/src/models/UpdateChatConfigurationResponse.ts +40 -0
- package/src/models/UpdateChatConfigurationResponseBody.ts +82 -0
- package/src/models/UpdateTemplateAttributesRequest.ts +69 -0
- package/src/models/UpdateTemplateAttributesResponse.ts +40 -0
- package/src/models/UpdateTemplateAttributesResponseBody.ts +31 -0
- package/src/models/model.ts +32 -0
package/dist/client.js
CHANGED
|
@@ -513,6 +513,124 @@ class Client extends openapi_core_1.default {
|
|
|
513
513
|
let runtime = new $dara.RuntimeOptions({});
|
|
514
514
|
return await this.createApplicationGroupWithOptions(request, runtime);
|
|
515
515
|
}
|
|
516
|
+
/**
|
|
517
|
+
* 用于创建、更新、查询和删除聊天配置,支持钉钉等平台。
|
|
518
|
+
*
|
|
519
|
+
* @remarks
|
|
520
|
+
* ## 请求说明
|
|
521
|
+
* 该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。
|
|
522
|
+
* 特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。
|
|
523
|
+
*
|
|
524
|
+
* @param request - CreateChatConfigurationRequest
|
|
525
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
526
|
+
* @returns CreateChatConfigurationResponse
|
|
527
|
+
*/
|
|
528
|
+
async createChatConfigurationWithOptions(request, runtime) {
|
|
529
|
+
request.validate();
|
|
530
|
+
let query = {};
|
|
531
|
+
if (!$dara.isNull(request.configuration)) {
|
|
532
|
+
query["Configuration"] = request.configuration;
|
|
533
|
+
}
|
|
534
|
+
if (!$dara.isNull(request.name)) {
|
|
535
|
+
query["Name"] = request.name;
|
|
536
|
+
}
|
|
537
|
+
if (!$dara.isNull(request.ramRole)) {
|
|
538
|
+
query["RamRole"] = request.ramRole;
|
|
539
|
+
}
|
|
540
|
+
if (!$dara.isNull(request.regionId)) {
|
|
541
|
+
query["RegionId"] = request.regionId;
|
|
542
|
+
}
|
|
543
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
544
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
545
|
+
}
|
|
546
|
+
if (!$dara.isNull(request.type)) {
|
|
547
|
+
query["Type"] = request.type;
|
|
548
|
+
}
|
|
549
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
550
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
551
|
+
});
|
|
552
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
553
|
+
action: "CreateChatConfiguration",
|
|
554
|
+
version: "2019-06-01",
|
|
555
|
+
protocol: "HTTPS",
|
|
556
|
+
pathname: "/",
|
|
557
|
+
method: "POST",
|
|
558
|
+
authType: "AK",
|
|
559
|
+
style: "RPC",
|
|
560
|
+
reqBodyType: "formData",
|
|
561
|
+
bodyType: "json",
|
|
562
|
+
});
|
|
563
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatConfigurationResponse({}));
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* 用于创建、更新、查询和删除聊天配置,支持钉钉等平台。
|
|
567
|
+
*
|
|
568
|
+
* @remarks
|
|
569
|
+
* ## 请求说明
|
|
570
|
+
* 该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。
|
|
571
|
+
* 特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。
|
|
572
|
+
*
|
|
573
|
+
* @param request - CreateChatConfigurationRequest
|
|
574
|
+
* @returns CreateChatConfigurationResponse
|
|
575
|
+
*/
|
|
576
|
+
async createChatConfiguration(request) {
|
|
577
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
578
|
+
return await this.createChatConfigurationWithOptions(request, runtime);
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* 创建部署制品
|
|
582
|
+
*
|
|
583
|
+
* @param request - CreateDeployRevisionRequest
|
|
584
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
585
|
+
* @returns CreateDeployRevisionResponse
|
|
586
|
+
*/
|
|
587
|
+
async createDeployRevisionWithOptions(request, runtime) {
|
|
588
|
+
request.validate();
|
|
589
|
+
let query = {};
|
|
590
|
+
if (!$dara.isNull(request.applicationName)) {
|
|
591
|
+
query["ApplicationName"] = request.applicationName;
|
|
592
|
+
}
|
|
593
|
+
if (!$dara.isNull(request.deployResourceType)) {
|
|
594
|
+
query["DeployResourceType"] = request.deployResourceType;
|
|
595
|
+
}
|
|
596
|
+
if (!$dara.isNull(request.description)) {
|
|
597
|
+
query["Description"] = request.description;
|
|
598
|
+
}
|
|
599
|
+
if (!$dara.isNull(request.hooks)) {
|
|
600
|
+
query["Hooks"] = request.hooks;
|
|
601
|
+
}
|
|
602
|
+
if (!$dara.isNull(request.location)) {
|
|
603
|
+
query["Location"] = request.location;
|
|
604
|
+
}
|
|
605
|
+
if (!$dara.isNull(request.revisionType)) {
|
|
606
|
+
query["RevisionType"] = request.revisionType;
|
|
607
|
+
}
|
|
608
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
609
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
610
|
+
});
|
|
611
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
612
|
+
action: "CreateDeployRevision",
|
|
613
|
+
version: "2019-06-01",
|
|
614
|
+
protocol: "HTTPS",
|
|
615
|
+
pathname: "/",
|
|
616
|
+
method: "POST",
|
|
617
|
+
authType: "AK",
|
|
618
|
+
style: "RPC",
|
|
619
|
+
reqBodyType: "formData",
|
|
620
|
+
bodyType: "json",
|
|
621
|
+
});
|
|
622
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateDeployRevisionResponse({}));
|
|
623
|
+
}
|
|
624
|
+
/**
|
|
625
|
+
* 创建部署制品
|
|
626
|
+
*
|
|
627
|
+
* @param request - CreateDeployRevisionRequest
|
|
628
|
+
* @returns CreateDeployRevisionResponse
|
|
629
|
+
*/
|
|
630
|
+
async createDeployRevision(request) {
|
|
631
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
632
|
+
return await this.createDeployRevisionWithOptions(request, runtime);
|
|
633
|
+
}
|
|
516
634
|
/**
|
|
517
635
|
* 创建仓库
|
|
518
636
|
*
|
|
@@ -583,7 +701,7 @@ class Client extends openapi_core_1.default {
|
|
|
583
701
|
return await this.createGitRepositoryWithOptions(request, runtime);
|
|
584
702
|
}
|
|
585
703
|
/**
|
|
586
|
-
* Creates an O
|
|
704
|
+
* Creates an O\\\\\\\\\\\\\\\\\\\\&M Item.
|
|
587
705
|
*
|
|
588
706
|
* @param tmpReq - CreateOpsItemRequest
|
|
589
707
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -653,7 +771,7 @@ class Client extends openapi_core_1.default {
|
|
|
653
771
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateOpsItemResponse({}));
|
|
654
772
|
}
|
|
655
773
|
/**
|
|
656
|
-
* Creates an O
|
|
774
|
+
* Creates an O\\\\\\\\\\\\\\\\\\\\&M Item.
|
|
657
775
|
*
|
|
658
776
|
* @param request - CreateOpsItemRequest
|
|
659
777
|
* @returns CreateOpsItemResponse
|
|
@@ -820,7 +938,7 @@ class Client extends openapi_core_1.default {
|
|
|
820
938
|
return await this.createPatchBaselineWithOptions(request, runtime);
|
|
821
939
|
}
|
|
822
940
|
/**
|
|
823
|
-
* Creates an encryption parameter. Make sure that you have the permissions to call this operation.
|
|
941
|
+
* Creates an encryption parameter. Make sure that you have the permissions to call the CreateSecret operation of Key Management Service (KMS) before you call this operation.
|
|
824
942
|
*
|
|
825
943
|
* @param tmpReq - CreateSecretParameterRequest
|
|
826
944
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -884,7 +1002,7 @@ class Client extends openapi_core_1.default {
|
|
|
884
1002
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateSecretParameterResponse({}));
|
|
885
1003
|
}
|
|
886
1004
|
/**
|
|
887
|
-
* Creates an encryption parameter. Make sure that you have the permissions to call this operation.
|
|
1005
|
+
* Creates an encryption parameter. Make sure that you have the permissions to call the CreateSecret operation of Key Management Service (KMS) before you call this operation.
|
|
888
1006
|
*
|
|
889
1007
|
* @param request - CreateSecretParameterRequest
|
|
890
1008
|
* @returns CreateSecretParameterResponse
|
|
@@ -1126,7 +1244,59 @@ class Client extends openapi_core_1.default {
|
|
|
1126
1244
|
return await this.deleteApplicationGroupWithOptions(request, runtime);
|
|
1127
1245
|
}
|
|
1128
1246
|
/**
|
|
1129
|
-
*
|
|
1247
|
+
* 用于创建、更新、查询和删除聊天配置,支持钉钉等平台。
|
|
1248
|
+
*
|
|
1249
|
+
* @remarks
|
|
1250
|
+
* ## 请求说明
|
|
1251
|
+
* 该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。
|
|
1252
|
+
* 特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。
|
|
1253
|
+
*
|
|
1254
|
+
* @param request - DeleteChatConfigurationRequest
|
|
1255
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1256
|
+
* @returns DeleteChatConfigurationResponse
|
|
1257
|
+
*/
|
|
1258
|
+
async deleteChatConfigurationWithOptions(request, runtime) {
|
|
1259
|
+
request.validate();
|
|
1260
|
+
let query = {};
|
|
1261
|
+
if (!$dara.isNull(request.name)) {
|
|
1262
|
+
query["Name"] = request.name;
|
|
1263
|
+
}
|
|
1264
|
+
if (!$dara.isNull(request.regionId)) {
|
|
1265
|
+
query["RegionId"] = request.regionId;
|
|
1266
|
+
}
|
|
1267
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1268
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1269
|
+
});
|
|
1270
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1271
|
+
action: "DeleteChatConfiguration",
|
|
1272
|
+
version: "2019-06-01",
|
|
1273
|
+
protocol: "HTTPS",
|
|
1274
|
+
pathname: "/",
|
|
1275
|
+
method: "POST",
|
|
1276
|
+
authType: "AK",
|
|
1277
|
+
style: "RPC",
|
|
1278
|
+
reqBodyType: "formData",
|
|
1279
|
+
bodyType: "json",
|
|
1280
|
+
});
|
|
1281
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteChatConfigurationResponse({}));
|
|
1282
|
+
}
|
|
1283
|
+
/**
|
|
1284
|
+
* 用于创建、更新、查询和删除聊天配置,支持钉钉等平台。
|
|
1285
|
+
*
|
|
1286
|
+
* @remarks
|
|
1287
|
+
* ## 请求说明
|
|
1288
|
+
* 该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。
|
|
1289
|
+
* 特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。
|
|
1290
|
+
*
|
|
1291
|
+
* @param request - DeleteChatConfigurationRequest
|
|
1292
|
+
* @returns DeleteChatConfigurationResponse
|
|
1293
|
+
*/
|
|
1294
|
+
async deleteChatConfiguration(request) {
|
|
1295
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1296
|
+
return await this.deleteChatConfigurationWithOptions(request, runtime);
|
|
1297
|
+
}
|
|
1298
|
+
/**
|
|
1299
|
+
* Deletes executions.
|
|
1130
1300
|
*
|
|
1131
1301
|
* @param request - DeleteExecutionsRequest
|
|
1132
1302
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1161,7 +1331,7 @@ class Client extends openapi_core_1.default {
|
|
|
1161
1331
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteExecutionsResponse({}));
|
|
1162
1332
|
}
|
|
1163
1333
|
/**
|
|
1164
|
-
* Deletes
|
|
1334
|
+
* Deletes executions.
|
|
1165
1335
|
*
|
|
1166
1336
|
* @param request - DeleteExecutionsRequest
|
|
1167
1337
|
* @returns DeleteExecutionsResponse
|
|
@@ -1297,7 +1467,7 @@ class Client extends openapi_core_1.default {
|
|
|
1297
1467
|
return await this.deletePatchBaselineWithOptions(request, runtime);
|
|
1298
1468
|
}
|
|
1299
1469
|
/**
|
|
1300
|
-
* Deletes an encryption parameter. Make sure that you have the permissions to call the DeleteSecret operation before you call this operation.
|
|
1470
|
+
* Deletes an encryption parameter. Make sure that you have the permissions to call the DeleteSecret operation of Key Management Service (KMS) before you call this operation.
|
|
1301
1471
|
*
|
|
1302
1472
|
* @param request - DeleteSecretParameterRequest
|
|
1303
1473
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1329,7 +1499,7 @@ class Client extends openapi_core_1.default {
|
|
|
1329
1499
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteSecretParameterResponse({}));
|
|
1330
1500
|
}
|
|
1331
1501
|
/**
|
|
1332
|
-
* Deletes an encryption parameter. Make sure that you have the permissions to call the DeleteSecret operation before you call this operation.
|
|
1502
|
+
* Deletes an encryption parameter. Make sure that you have the permissions to call the DeleteSecret operation of Key Management Service (KMS) before you call this operation.
|
|
1333
1503
|
*
|
|
1334
1504
|
* @param request - DeleteSecretParameterRequest
|
|
1335
1505
|
* @returns DeleteSecretParameterResponse
|
|
@@ -1525,7 +1695,7 @@ class Client extends openapi_core_1.default {
|
|
|
1525
1695
|
return await this.deployApplicationGroupWithOptions(request, runtime);
|
|
1526
1696
|
}
|
|
1527
1697
|
/**
|
|
1528
|
-
*
|
|
1698
|
+
* Queries the resource costs of an application group.
|
|
1529
1699
|
*
|
|
1530
1700
|
* @param request - DescribeApplicationGroupBillRequest
|
|
1531
1701
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1572,7 +1742,7 @@ class Client extends openapi_core_1.default {
|
|
|
1572
1742
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApplicationGroupBillResponse({}));
|
|
1573
1743
|
}
|
|
1574
1744
|
/**
|
|
1575
|
-
*
|
|
1745
|
+
* Queries the resource costs of an application group.
|
|
1576
1746
|
*
|
|
1577
1747
|
* @param request - DescribeApplicationGroupBillRequest
|
|
1578
1748
|
* @returns DescribeApplicationGroupBillResponse
|
|
@@ -1812,6 +1982,58 @@ class Client extends openapi_core_1.default {
|
|
|
1812
1982
|
let runtime = new $dara.RuntimeOptions({});
|
|
1813
1983
|
return await this.getApplicationGroupWithOptions(request, runtime);
|
|
1814
1984
|
}
|
|
1985
|
+
/**
|
|
1986
|
+
* 用于创建、更新、查询和删除聊天配置,支持钉钉等平台。
|
|
1987
|
+
*
|
|
1988
|
+
* @remarks
|
|
1989
|
+
* ## 请求说明
|
|
1990
|
+
* 该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。
|
|
1991
|
+
* 特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。
|
|
1992
|
+
*
|
|
1993
|
+
* @param request - GetChatConfigurationRequest
|
|
1994
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1995
|
+
* @returns GetChatConfigurationResponse
|
|
1996
|
+
*/
|
|
1997
|
+
async getChatConfigurationWithOptions(request, runtime) {
|
|
1998
|
+
request.validate();
|
|
1999
|
+
let query = {};
|
|
2000
|
+
if (!$dara.isNull(request.name)) {
|
|
2001
|
+
query["Name"] = request.name;
|
|
2002
|
+
}
|
|
2003
|
+
if (!$dara.isNull(request.regionId)) {
|
|
2004
|
+
query["RegionId"] = request.regionId;
|
|
2005
|
+
}
|
|
2006
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2007
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2008
|
+
});
|
|
2009
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2010
|
+
action: "GetChatConfiguration",
|
|
2011
|
+
version: "2019-06-01",
|
|
2012
|
+
protocol: "HTTPS",
|
|
2013
|
+
pathname: "/",
|
|
2014
|
+
method: "POST",
|
|
2015
|
+
authType: "AK",
|
|
2016
|
+
style: "RPC",
|
|
2017
|
+
reqBodyType: "formData",
|
|
2018
|
+
bodyType: "json",
|
|
2019
|
+
});
|
|
2020
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatConfigurationResponse({}));
|
|
2021
|
+
}
|
|
2022
|
+
/**
|
|
2023
|
+
* 用于创建、更新、查询和删除聊天配置,支持钉钉等平台。
|
|
2024
|
+
*
|
|
2025
|
+
* @remarks
|
|
2026
|
+
* ## 请求说明
|
|
2027
|
+
* 该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。
|
|
2028
|
+
* 特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。
|
|
2029
|
+
*
|
|
2030
|
+
* @param request - GetChatConfigurationRequest
|
|
2031
|
+
* @returns GetChatConfigurationResponse
|
|
2032
|
+
*/
|
|
2033
|
+
async getChatConfiguration(request) {
|
|
2034
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2035
|
+
return await this.getChatConfigurationWithOptions(request, runtime);
|
|
2036
|
+
}
|
|
1815
2037
|
/**
|
|
1816
2038
|
* Queries the information about the template of an execution, including the content of the template.
|
|
1817
2039
|
*
|
|
@@ -2017,7 +2239,7 @@ class Client extends openapi_core_1.default {
|
|
|
2017
2239
|
return await this.getInventorySchemaWithOptions(request, runtime);
|
|
2018
2240
|
}
|
|
2019
2241
|
/**
|
|
2020
|
-
* Queries the details of an O
|
|
2242
|
+
* Queries the details of an O\\\\\\\\\\\\\\\\\\\\&M item.
|
|
2021
2243
|
*
|
|
2022
2244
|
* @param request - GetOpsItemRequest
|
|
2023
2245
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2049,7 +2271,7 @@ class Client extends openapi_core_1.default {
|
|
|
2049
2271
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetOpsItemResponse({}));
|
|
2050
2272
|
}
|
|
2051
2273
|
/**
|
|
2052
|
-
* Queries the details of an O
|
|
2274
|
+
* Queries the details of an O\\\\\\\\\\\\\\\\\\\\&M item.
|
|
2053
2275
|
*
|
|
2054
2276
|
* @param request - GetOpsItemRequest
|
|
2055
2277
|
* @returns GetOpsItemResponse
|
|
@@ -2242,7 +2464,7 @@ class Client extends openapi_core_1.default {
|
|
|
2242
2464
|
return await this.getPatchBaselineWithOptions(request, runtime);
|
|
2243
2465
|
}
|
|
2244
2466
|
/**
|
|
2245
|
-
* Queries the information about an encryption parameter, including the parameter value. Make sure that you have the permissions to call the GetSecretValue operation before you call this operation.
|
|
2467
|
+
* Queries the information about an encryption parameter, including the parameter value. Make sure that you have the permissions to call the GetSecretValue operation of Key Management Service (KMS) before you call this operation.
|
|
2246
2468
|
*
|
|
2247
2469
|
* @param request - GetSecretParameterRequest
|
|
2248
2470
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2280,7 +2502,7 @@ class Client extends openapi_core_1.default {
|
|
|
2280
2502
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSecretParameterResponse({}));
|
|
2281
2503
|
}
|
|
2282
2504
|
/**
|
|
2283
|
-
* Queries the information about an encryption parameter, including the parameter value. Make sure that you have the permissions to call the GetSecretValue operation before you call this operation.
|
|
2505
|
+
* Queries the information about an encryption parameter, including the parameter value. Make sure that you have the permissions to call the GetSecretValue operation of Key Management Service (KMS) before you call this operation.
|
|
2284
2506
|
*
|
|
2285
2507
|
* @param request - GetSecretParameterRequest
|
|
2286
2508
|
* @returns GetSecretParameterResponse
|
|
@@ -2290,7 +2512,7 @@ class Client extends openapi_core_1.default {
|
|
|
2290
2512
|
return await this.getSecretParameterWithOptions(request, runtime);
|
|
2291
2513
|
}
|
|
2292
2514
|
/**
|
|
2293
|
-
* Queries the information about one or more encryption parameters. Make sure that you have the permissions to call the GetSecretValue operation before you call this operation.
|
|
2515
|
+
* Queries the information about one or more encryption parameters. Make sure that you have the permissions to call the GetSecretValue operation of Key Management Service (KMS) before you call this operation.
|
|
2294
2516
|
*
|
|
2295
2517
|
* @param request - GetSecretParametersRequest
|
|
2296
2518
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2325,7 +2547,7 @@ class Client extends openapi_core_1.default {
|
|
|
2325
2547
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSecretParametersResponse({}));
|
|
2326
2548
|
}
|
|
2327
2549
|
/**
|
|
2328
|
-
* Queries the information about one or more encryption parameters. Make sure that you have the permissions to call the GetSecretValue operation before you call this operation.
|
|
2550
|
+
* Queries the information about one or more encryption parameters. Make sure that you have the permissions to call the GetSecretValue operation of Key Management Service (KMS) before you call this operation.
|
|
2329
2551
|
*
|
|
2330
2552
|
* @param request - GetSecretParametersRequest
|
|
2331
2553
|
* @returns GetSecretParametersResponse
|
|
@@ -2335,7 +2557,7 @@ class Client extends openapi_core_1.default {
|
|
|
2335
2557
|
return await this.getSecretParametersWithOptions(request, runtime);
|
|
2336
2558
|
}
|
|
2337
2559
|
/**
|
|
2338
|
-
* Queries encryption parameters by path. Make sure that you have the permissions to call the GetSecretValue operation before you call this operation.
|
|
2560
|
+
* Queries encryption parameters by path. Make sure that you have the permissions to call the GetSecretValue operation of Key Management Service (KMS) before you call this operation.
|
|
2339
2561
|
*
|
|
2340
2562
|
* @param request - GetSecretParametersByPathRequest
|
|
2341
2563
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2379,7 +2601,7 @@ class Client extends openapi_core_1.default {
|
|
|
2379
2601
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSecretParametersByPathResponse({}));
|
|
2380
2602
|
}
|
|
2381
2603
|
/**
|
|
2382
|
-
* Queries encryption parameters by path. Make sure that you have the permissions to call the GetSecretValue operation before you call this operation.
|
|
2604
|
+
* Queries encryption parameters by path. Make sure that you have the permissions to call the GetSecretValue operation of Key Management Service (KMS) before you call this operation.
|
|
2383
2605
|
*
|
|
2384
2606
|
* @param request - GetSecretParametersByPathRequest
|
|
2385
2607
|
* @returns GetSecretParametersByPathResponse
|
|
@@ -2389,7 +2611,7 @@ class Client extends openapi_core_1.default {
|
|
|
2389
2611
|
return await this.getSecretParametersByPathWithOptions(request, runtime);
|
|
2390
2612
|
}
|
|
2391
2613
|
/**
|
|
2392
|
-
* Queries the settings of the
|
|
2614
|
+
* Queries the service settings, including the configuration of delivering template execution records and the associated organization ID.
|
|
2393
2615
|
*
|
|
2394
2616
|
* @param request - GetServiceSettingsRequest
|
|
2395
2617
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2415,7 +2637,7 @@ class Client extends openapi_core_1.default {
|
|
|
2415
2637
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetServiceSettingsResponse({}));
|
|
2416
2638
|
}
|
|
2417
2639
|
/**
|
|
2418
|
-
* Queries the settings of the
|
|
2640
|
+
* Queries the service settings, including the configuration of delivering template execution records and the associated organization ID.
|
|
2419
2641
|
*
|
|
2420
2642
|
* @param request - GetServiceSettingsRequest
|
|
2421
2643
|
* @returns GetServiceSettingsResponse
|
|
@@ -2470,7 +2692,7 @@ class Client extends openapi_core_1.default {
|
|
|
2470
2692
|
return await this.getTemplateWithOptions(request, runtime);
|
|
2471
2693
|
}
|
|
2472
2694
|
/**
|
|
2473
|
-
*
|
|
2695
|
+
* Obtains available values of parameters.
|
|
2474
2696
|
*
|
|
2475
2697
|
* @param request - GetTemplateParameterConstraintsRequest
|
|
2476
2698
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2514,7 +2736,7 @@ class Client extends openapi_core_1.default {
|
|
|
2514
2736
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetTemplateParameterConstraintsResponse({}));
|
|
2515
2737
|
}
|
|
2516
2738
|
/**
|
|
2517
|
-
*
|
|
2739
|
+
* Obtains available values of parameters.
|
|
2518
2740
|
*
|
|
2519
2741
|
* @param request - GetTemplateParameterConstraintsRequest
|
|
2520
2742
|
* @returns GetTemplateParameterConstraintsResponse
|
|
@@ -2693,6 +2915,64 @@ class Client extends openapi_core_1.default {
|
|
|
2693
2915
|
let runtime = new $dara.RuntimeOptions({});
|
|
2694
2916
|
return await this.listApplicationsWithOptions(request, runtime);
|
|
2695
2917
|
}
|
|
2918
|
+
/**
|
|
2919
|
+
* 用于创建、更新、查询和删除聊天配置,支持钉钉等平台。
|
|
2920
|
+
*
|
|
2921
|
+
* @remarks
|
|
2922
|
+
* ## 请求说明
|
|
2923
|
+
* 该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。
|
|
2924
|
+
* 特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。
|
|
2925
|
+
*
|
|
2926
|
+
* @param request - ListChatConfigurationsRequest
|
|
2927
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2928
|
+
* @returns ListChatConfigurationsResponse
|
|
2929
|
+
*/
|
|
2930
|
+
async listChatConfigurationsWithOptions(request, runtime) {
|
|
2931
|
+
request.validate();
|
|
2932
|
+
let query = {};
|
|
2933
|
+
if (!$dara.isNull(request.filters)) {
|
|
2934
|
+
query["Filters"] = request.filters;
|
|
2935
|
+
}
|
|
2936
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
2937
|
+
query["MaxResults"] = request.maxResults;
|
|
2938
|
+
}
|
|
2939
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
2940
|
+
query["NextToken"] = request.nextToken;
|
|
2941
|
+
}
|
|
2942
|
+
if (!$dara.isNull(request.regionId)) {
|
|
2943
|
+
query["RegionId"] = request.regionId;
|
|
2944
|
+
}
|
|
2945
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2946
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2947
|
+
});
|
|
2948
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2949
|
+
action: "ListChatConfigurations",
|
|
2950
|
+
version: "2019-06-01",
|
|
2951
|
+
protocol: "HTTPS",
|
|
2952
|
+
pathname: "/",
|
|
2953
|
+
method: "POST",
|
|
2954
|
+
authType: "AK",
|
|
2955
|
+
style: "RPC",
|
|
2956
|
+
reqBodyType: "formData",
|
|
2957
|
+
bodyType: "json",
|
|
2958
|
+
});
|
|
2959
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatConfigurationsResponse({}));
|
|
2960
|
+
}
|
|
2961
|
+
/**
|
|
2962
|
+
* 用于创建、更新、查询和删除聊天配置,支持钉钉等平台。
|
|
2963
|
+
*
|
|
2964
|
+
* @remarks
|
|
2965
|
+
* ## 请求说明
|
|
2966
|
+
* 该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。
|
|
2967
|
+
* 特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。
|
|
2968
|
+
*
|
|
2969
|
+
* @param request - ListChatConfigurationsRequest
|
|
2970
|
+
* @returns ListChatConfigurationsResponse
|
|
2971
|
+
*/
|
|
2972
|
+
async listChatConfigurations(request) {
|
|
2973
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2974
|
+
return await this.listChatConfigurationsWithOptions(request, runtime);
|
|
2975
|
+
}
|
|
2696
2976
|
/**
|
|
2697
2977
|
* Queries the logs of an execution.
|
|
2698
2978
|
*
|
|
@@ -2706,6 +2986,9 @@ class Client extends openapi_core_1.default {
|
|
|
2706
2986
|
async listExecutionLogsWithOptions(request, runtime) {
|
|
2707
2987
|
request.validate();
|
|
2708
2988
|
let query = {};
|
|
2989
|
+
if (!$dara.isNull(request.accountId)) {
|
|
2990
|
+
query["AccountId"] = request.accountId;
|
|
2991
|
+
}
|
|
2709
2992
|
if (!$dara.isNull(request.executionId)) {
|
|
2710
2993
|
query["ExecutionId"] = request.executionId;
|
|
2711
2994
|
}
|
|
@@ -2806,10 +3089,16 @@ class Client extends openapi_core_1.default {
|
|
|
2806
3089
|
tmpReq.validate();
|
|
2807
3090
|
let request = new $_model.ListExecutionsShrinkRequest({});
|
|
2808
3091
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
3092
|
+
if (!$dara.isNull(tmpReq.rdFolderIds)) {
|
|
3093
|
+
request.rdFolderIdsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rdFolderIds, "RdFolderIds", "json");
|
|
3094
|
+
}
|
|
2809
3095
|
if (!$dara.isNull(tmpReq.tags)) {
|
|
2810
3096
|
request.tagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
|
|
2811
3097
|
}
|
|
2812
3098
|
let query = {};
|
|
3099
|
+
if (!$dara.isNull(request.accountId)) {
|
|
3100
|
+
query["AccountId"] = request.accountId;
|
|
3101
|
+
}
|
|
2813
3102
|
if (!$dara.isNull(request.categories)) {
|
|
2814
3103
|
query["Categories"] = request.categories;
|
|
2815
3104
|
}
|
|
@@ -2852,6 +3141,9 @@ class Client extends openapi_core_1.default {
|
|
|
2852
3141
|
if (!$dara.isNull(request.ramRole)) {
|
|
2853
3142
|
query["RamRole"] = request.ramRole;
|
|
2854
3143
|
}
|
|
3144
|
+
if (!$dara.isNull(request.rdFolderIdsShrink)) {
|
|
3145
|
+
query["RdFolderIds"] = request.rdFolderIdsShrink;
|
|
3146
|
+
}
|
|
2855
3147
|
if (!$dara.isNull(request.regionId)) {
|
|
2856
3148
|
query["RegionId"] = request.regionId;
|
|
2857
3149
|
}
|
|
@@ -3296,7 +3588,7 @@ class Client extends openapi_core_1.default {
|
|
|
3296
3588
|
return await this.listInstancePatchStatesWithOptions(request, runtime);
|
|
3297
3589
|
}
|
|
3298
3590
|
/**
|
|
3299
|
-
* Queries the
|
|
3591
|
+
* Queries the patches of an instance.
|
|
3300
3592
|
*
|
|
3301
3593
|
* @param request - ListInstancePatchesRequest
|
|
3302
3594
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3337,7 +3629,7 @@ class Client extends openapi_core_1.default {
|
|
|
3337
3629
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstancePatchesResponse({}));
|
|
3338
3630
|
}
|
|
3339
3631
|
/**
|
|
3340
|
-
* Queries the
|
|
3632
|
+
* Queries the patches of an instance.
|
|
3341
3633
|
*
|
|
3342
3634
|
* @param request - ListInstancePatchesRequest
|
|
3343
3635
|
* @returns ListInstancePatchesResponse
|
|
@@ -3401,7 +3693,7 @@ class Client extends openapi_core_1.default {
|
|
|
3401
3693
|
return await this.listInventoryEntriesWithOptions(request, runtime);
|
|
3402
3694
|
}
|
|
3403
3695
|
/**
|
|
3404
|
-
* Queries O
|
|
3696
|
+
* Queries O\\\\\\&M items.
|
|
3405
3697
|
*
|
|
3406
3698
|
* @param tmpReq - ListOpsItemsRequest
|
|
3407
3699
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3453,7 +3745,7 @@ class Client extends openapi_core_1.default {
|
|
|
3453
3745
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListOpsItemsResponse({}));
|
|
3454
3746
|
}
|
|
3455
3747
|
/**
|
|
3456
|
-
* Queries O
|
|
3748
|
+
* Queries O\\\\\\&M items.
|
|
3457
3749
|
*
|
|
3458
3750
|
* @param request - ListOpsItemsRequest
|
|
3459
3751
|
* @returns ListOpsItemsResponse
|
|
@@ -3671,7 +3963,7 @@ class Client extends openapi_core_1.default {
|
|
|
3671
3963
|
return await this.listPatchBaselinesWithOptions(request, runtime);
|
|
3672
3964
|
}
|
|
3673
3965
|
/**
|
|
3674
|
-
* Queries the information about a scheduled execution that involves O
|
|
3966
|
+
* Queries the information about a scheduled execution that involves O\\&M operations on Elastic Compute Service (ECS) instances.
|
|
3675
3967
|
*
|
|
3676
3968
|
* @param request - ListResourceExecutionStatusRequest
|
|
3677
3969
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3709,7 +4001,7 @@ class Client extends openapi_core_1.default {
|
|
|
3709
4001
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListResourceExecutionStatusResponse({}));
|
|
3710
4002
|
}
|
|
3711
4003
|
/**
|
|
3712
|
-
* Queries the information about a scheduled execution that involves O
|
|
4004
|
+
* Queries the information about a scheduled execution that involves O\\&M operations on Elastic Compute Service (ECS) instances.
|
|
3713
4005
|
*
|
|
3714
4006
|
* @param request - ListResourceExecutionStatusRequest
|
|
3715
4007
|
* @returns ListResourceExecutionStatusResponse
|
|
@@ -4072,6 +4364,51 @@ class Client extends openapi_core_1.default {
|
|
|
4072
4364
|
let runtime = new $dara.RuntimeOptions({});
|
|
4073
4365
|
return await this.listTagValuesWithOptions(request, runtime);
|
|
4074
4366
|
}
|
|
4367
|
+
/**
|
|
4368
|
+
* 用于获取任务执行内部的云助手脚本执行ID
|
|
4369
|
+
*
|
|
4370
|
+
* @param request - ListTaskExecutionInvocationsRequest
|
|
4371
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4372
|
+
* @returns ListTaskExecutionInvocationsResponse
|
|
4373
|
+
*/
|
|
4374
|
+
async listTaskExecutionInvocationsWithOptions(request, runtime) {
|
|
4375
|
+
request.validate();
|
|
4376
|
+
let query = {};
|
|
4377
|
+
if (!$dara.isNull(request.regionId)) {
|
|
4378
|
+
query["RegionId"] = request.regionId;
|
|
4379
|
+
}
|
|
4380
|
+
if (!$dara.isNull(request.status)) {
|
|
4381
|
+
query["Status"] = request.status;
|
|
4382
|
+
}
|
|
4383
|
+
if (!$dara.isNull(request.taskExecutionId)) {
|
|
4384
|
+
query["TaskExecutionId"] = request.taskExecutionId;
|
|
4385
|
+
}
|
|
4386
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4387
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4388
|
+
});
|
|
4389
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4390
|
+
action: "ListTaskExecutionInvocations",
|
|
4391
|
+
version: "2019-06-01",
|
|
4392
|
+
protocol: "HTTPS",
|
|
4393
|
+
pathname: "/",
|
|
4394
|
+
method: "POST",
|
|
4395
|
+
authType: "AK",
|
|
4396
|
+
style: "RPC",
|
|
4397
|
+
reqBodyType: "formData",
|
|
4398
|
+
bodyType: "json",
|
|
4399
|
+
});
|
|
4400
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTaskExecutionInvocationsResponse({}));
|
|
4401
|
+
}
|
|
4402
|
+
/**
|
|
4403
|
+
* 用于获取任务执行内部的云助手脚本执行ID
|
|
4404
|
+
*
|
|
4405
|
+
* @param request - ListTaskExecutionInvocationsRequest
|
|
4406
|
+
* @returns ListTaskExecutionInvocationsResponse
|
|
4407
|
+
*/
|
|
4408
|
+
async listTaskExecutionInvocations(request) {
|
|
4409
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4410
|
+
return await this.listTaskExecutionInvocationsWithOptions(request, runtime);
|
|
4411
|
+
}
|
|
4075
4412
|
/**
|
|
4076
4413
|
* Queries task executions. Multiple methods are supported to filter task executions.
|
|
4077
4414
|
*
|
|
@@ -4082,6 +4419,9 @@ class Client extends openapi_core_1.default {
|
|
|
4082
4419
|
async listTaskExecutionsWithOptions(request, runtime) {
|
|
4083
4420
|
request.validate();
|
|
4084
4421
|
let query = {};
|
|
4422
|
+
if (!$dara.isNull(request.accountId)) {
|
|
4423
|
+
query["AccountId"] = request.accountId;
|
|
4424
|
+
}
|
|
4085
4425
|
if (!$dara.isNull(request.endDateAfter)) {
|
|
4086
4426
|
query["EndDateAfter"] = request.endDateAfter;
|
|
4087
4427
|
}
|
|
@@ -4157,7 +4497,7 @@ class Client extends openapi_core_1.default {
|
|
|
4157
4497
|
return await this.listTaskExecutionsWithOptions(request, runtime);
|
|
4158
4498
|
}
|
|
4159
4499
|
/**
|
|
4160
|
-
* Queries
|
|
4500
|
+
* Queries the versions of a template.
|
|
4161
4501
|
*
|
|
4162
4502
|
* @param request - ListTemplateVersionsRequest
|
|
4163
4503
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4198,7 +4538,7 @@ class Client extends openapi_core_1.default {
|
|
|
4198
4538
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTemplateVersionsResponse({}));
|
|
4199
4539
|
}
|
|
4200
4540
|
/**
|
|
4201
|
-
* Queries
|
|
4541
|
+
* Queries the versions of a template.
|
|
4202
4542
|
*
|
|
4203
4543
|
* @param request - ListTemplateVersionsRequest
|
|
4204
4544
|
* @returns ListTemplateVersionsResponse
|
|
@@ -4474,14 +4814,19 @@ class Client extends openapi_core_1.default {
|
|
|
4474
4814
|
return await this.searchInventoryWithOptions(request, runtime);
|
|
4475
4815
|
}
|
|
4476
4816
|
/**
|
|
4477
|
-
* Enables or disables the feature of delivering template execution records and sets the storage location.
|
|
4817
|
+
* Enables or disables the feature of delivering template execution records and sets the storage location and organization ID.
|
|
4478
4818
|
*
|
|
4479
|
-
* @param
|
|
4819
|
+
* @param tmpReq - SetServiceSettingsRequest
|
|
4480
4820
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4481
4821
|
* @returns SetServiceSettingsResponse
|
|
4482
4822
|
*/
|
|
4483
|
-
async setServiceSettingsWithOptions(
|
|
4484
|
-
|
|
4823
|
+
async setServiceSettingsWithOptions(tmpReq, runtime) {
|
|
4824
|
+
tmpReq.validate();
|
|
4825
|
+
let request = new $_model.SetServiceSettingsShrinkRequest({});
|
|
4826
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
4827
|
+
if (!$dara.isNull(tmpReq.rdFolderIds)) {
|
|
4828
|
+
request.rdFolderIdsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rdFolderIds, "RdFolderIds", "json");
|
|
4829
|
+
}
|
|
4485
4830
|
let query = {};
|
|
4486
4831
|
if (!$dara.isNull(request.deliveryOssBucketName)) {
|
|
4487
4832
|
query["DeliveryOssBucketName"] = request.deliveryOssBucketName;
|
|
@@ -4498,12 +4843,18 @@ class Client extends openapi_core_1.default {
|
|
|
4498
4843
|
if (!$dara.isNull(request.deliverySlsProjectName)) {
|
|
4499
4844
|
query["DeliverySlsProjectName"] = request.deliverySlsProjectName;
|
|
4500
4845
|
}
|
|
4846
|
+
if (!$dara.isNull(request.rdFolderIdsShrink)) {
|
|
4847
|
+
query["RdFolderIds"] = request.rdFolderIdsShrink;
|
|
4848
|
+
}
|
|
4501
4849
|
if (!$dara.isNull(request.rdcEnterpriseId)) {
|
|
4502
4850
|
query["RdcEnterpriseId"] = request.rdcEnterpriseId;
|
|
4503
4851
|
}
|
|
4504
4852
|
if (!$dara.isNull(request.regionId)) {
|
|
4505
4853
|
query["RegionId"] = request.regionId;
|
|
4506
4854
|
}
|
|
4855
|
+
if (!$dara.isNull(request.serviceAccessRdEnabled)) {
|
|
4856
|
+
query["ServiceAccessRdEnabled"] = request.serviceAccessRdEnabled;
|
|
4857
|
+
}
|
|
4507
4858
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4508
4859
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4509
4860
|
});
|
|
@@ -4521,7 +4872,7 @@ class Client extends openapi_core_1.default {
|
|
|
4521
4872
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SetServiceSettingsResponse({}));
|
|
4522
4873
|
}
|
|
4523
4874
|
/**
|
|
4524
|
-
* Enables or disables the feature of delivering template execution records and sets the storage location.
|
|
4875
|
+
* Enables or disables the feature of delivering template execution records and sets the storage location and organization ID.
|
|
4525
4876
|
*
|
|
4526
4877
|
* @param request - SetServiceSettingsRequest
|
|
4527
4878
|
* @returns SetServiceSettingsResponse
|
|
@@ -4910,6 +5261,9 @@ class Client extends openapi_core_1.default {
|
|
|
4910
5261
|
if (!$dara.isNull(request.deployedRevisionId)) {
|
|
4911
5262
|
query["DeployedRevisionId"] = request.deployedRevisionId;
|
|
4912
5263
|
}
|
|
5264
|
+
if (!$dara.isNull(request.monitorMetadata)) {
|
|
5265
|
+
query["MonitorMetadata"] = request.monitorMetadata;
|
|
5266
|
+
}
|
|
4913
5267
|
if (!$dara.isNull(request.name)) {
|
|
4914
5268
|
query["Name"] = request.name;
|
|
4915
5269
|
}
|
|
@@ -4952,7 +5306,71 @@ class Client extends openapi_core_1.default {
|
|
|
4952
5306
|
return await this.updateApplicationGroupWithOptions(request, runtime);
|
|
4953
5307
|
}
|
|
4954
5308
|
/**
|
|
4955
|
-
*
|
|
5309
|
+
* 用于创建、更新、查询和删除聊天配置,支持钉钉等平台。
|
|
5310
|
+
*
|
|
5311
|
+
* @remarks
|
|
5312
|
+
* ## 请求说明
|
|
5313
|
+
* 该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。
|
|
5314
|
+
* 特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。
|
|
5315
|
+
*
|
|
5316
|
+
* @param request - UpdateChatConfigurationRequest
|
|
5317
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5318
|
+
* @returns UpdateChatConfigurationResponse
|
|
5319
|
+
*/
|
|
5320
|
+
async updateChatConfigurationWithOptions(request, runtime) {
|
|
5321
|
+
request.validate();
|
|
5322
|
+
let query = {};
|
|
5323
|
+
if (!$dara.isNull(request.configuration)) {
|
|
5324
|
+
query["Configuration"] = request.configuration;
|
|
5325
|
+
}
|
|
5326
|
+
if (!$dara.isNull(request.name)) {
|
|
5327
|
+
query["Name"] = request.name;
|
|
5328
|
+
}
|
|
5329
|
+
if (!$dara.isNull(request.ramRole)) {
|
|
5330
|
+
query["RamRole"] = request.ramRole;
|
|
5331
|
+
}
|
|
5332
|
+
if (!$dara.isNull(request.regionId)) {
|
|
5333
|
+
query["RegionId"] = request.regionId;
|
|
5334
|
+
}
|
|
5335
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
5336
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
5337
|
+
}
|
|
5338
|
+
if (!$dara.isNull(request.type)) {
|
|
5339
|
+
query["Type"] = request.type;
|
|
5340
|
+
}
|
|
5341
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5342
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5343
|
+
});
|
|
5344
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5345
|
+
action: "UpdateChatConfiguration",
|
|
5346
|
+
version: "2019-06-01",
|
|
5347
|
+
protocol: "HTTPS",
|
|
5348
|
+
pathname: "/",
|
|
5349
|
+
method: "POST",
|
|
5350
|
+
authType: "AK",
|
|
5351
|
+
style: "RPC",
|
|
5352
|
+
reqBodyType: "formData",
|
|
5353
|
+
bodyType: "json",
|
|
5354
|
+
});
|
|
5355
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateChatConfigurationResponse({}));
|
|
5356
|
+
}
|
|
5357
|
+
/**
|
|
5358
|
+
* 用于创建、更新、查询和删除聊天配置,支持钉钉等平台。
|
|
5359
|
+
*
|
|
5360
|
+
* @remarks
|
|
5361
|
+
* ## 请求说明
|
|
5362
|
+
* 该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。
|
|
5363
|
+
* 特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。
|
|
5364
|
+
*
|
|
5365
|
+
* @param request - UpdateChatConfigurationRequest
|
|
5366
|
+
* @returns UpdateChatConfigurationResponse
|
|
5367
|
+
*/
|
|
5368
|
+
async updateChatConfiguration(request) {
|
|
5369
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5370
|
+
return await this.updateChatConfigurationWithOptions(request, runtime);
|
|
5371
|
+
}
|
|
5372
|
+
/**
|
|
5373
|
+
* Updates an execution in the Running or Waiting state.
|
|
4956
5374
|
*
|
|
4957
5375
|
* @param request - UpdateExecutionRequest
|
|
4958
5376
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4999,7 +5417,7 @@ class Client extends openapi_core_1.default {
|
|
|
4999
5417
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateExecutionResponse({}));
|
|
5000
5418
|
}
|
|
5001
5419
|
/**
|
|
5002
|
-
*
|
|
5420
|
+
* Updates an execution in the Running or Waiting state.
|
|
5003
5421
|
*
|
|
5004
5422
|
* @param request - UpdateExecutionRequest
|
|
5005
5423
|
* @returns UpdateExecutionResponse
|
|
@@ -5071,7 +5489,7 @@ class Client extends openapi_core_1.default {
|
|
|
5071
5489
|
return await this.updateInstancePackageStateWithOptions(request, runtime);
|
|
5072
5490
|
}
|
|
5073
5491
|
/**
|
|
5074
|
-
* Modifies an O
|
|
5492
|
+
* Modifies an O\\\\\\\\\\\\\\\\\\\\&M item.
|
|
5075
5493
|
*
|
|
5076
5494
|
* @param tmpReq - UpdateOpsItemRequest
|
|
5077
5495
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5147,7 +5565,7 @@ class Client extends openapi_core_1.default {
|
|
|
5147
5565
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateOpsItemResponse({}));
|
|
5148
5566
|
}
|
|
5149
5567
|
/**
|
|
5150
|
-
* Modifies an O
|
|
5568
|
+
* Modifies an O\\\\\\\\\\\\\\\\\\\\&M item.
|
|
5151
5569
|
*
|
|
5152
5570
|
* @param request - UpdateOpsItemRequest
|
|
5153
5571
|
* @returns UpdateOpsItemResponse
|
|
@@ -5297,7 +5715,7 @@ class Client extends openapi_core_1.default {
|
|
|
5297
5715
|
return await this.updatePatchBaselineWithOptions(request, runtime);
|
|
5298
5716
|
}
|
|
5299
5717
|
/**
|
|
5300
|
-
* Updates an encryption parameter.
|
|
5718
|
+
* Updates an encryption parameter. Make sure that you have the permissions to call the UpdateSecretValue operation of Key Management Service (KMS) before you call this operation.
|
|
5301
5719
|
*
|
|
5302
5720
|
* @param tmpReq - UpdateSecretParameterRequest
|
|
5303
5721
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5346,7 +5764,7 @@ class Client extends openapi_core_1.default {
|
|
|
5346
5764
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateSecretParameterResponse({}));
|
|
5347
5765
|
}
|
|
5348
5766
|
/**
|
|
5349
|
-
* Updates an encryption parameter.
|
|
5767
|
+
* Updates an encryption parameter. Make sure that you have the permissions to call the UpdateSecretValue operation of Key Management Service (KMS) before you call this operation.
|
|
5350
5768
|
*
|
|
5351
5769
|
* @param request - UpdateSecretParameterRequest
|
|
5352
5770
|
* @returns UpdateSecretParameterResponse
|
|
@@ -5491,6 +5909,60 @@ class Client extends openapi_core_1.default {
|
|
|
5491
5909
|
let runtime = new $dara.RuntimeOptions({});
|
|
5492
5910
|
return await this.updateTemplateWithOptions(request, runtime);
|
|
5493
5911
|
}
|
|
5912
|
+
/**
|
|
5913
|
+
* 更新模板属性
|
|
5914
|
+
*
|
|
5915
|
+
* @param request - UpdateTemplateAttributesRequest
|
|
5916
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5917
|
+
* @returns UpdateTemplateAttributesResponse
|
|
5918
|
+
*/
|
|
5919
|
+
async updateTemplateAttributesWithOptions(request, runtime) {
|
|
5920
|
+
request.validate();
|
|
5921
|
+
let query = {};
|
|
5922
|
+
if (!$dara.isNull(request.accountIds)) {
|
|
5923
|
+
query["AccountIds"] = request.accountIds;
|
|
5924
|
+
}
|
|
5925
|
+
if (!$dara.isNull(request.isFavorite)) {
|
|
5926
|
+
query["IsFavorite"] = request.isFavorite;
|
|
5927
|
+
}
|
|
5928
|
+
if (!$dara.isNull(request.regionId)) {
|
|
5929
|
+
query["RegionId"] = request.regionId;
|
|
5930
|
+
}
|
|
5931
|
+
if (!$dara.isNull(request.sharePermissionAction)) {
|
|
5932
|
+
query["SharePermissionAction"] = request.sharePermissionAction;
|
|
5933
|
+
}
|
|
5934
|
+
if (!$dara.isNull(request.shareTemplateVersion)) {
|
|
5935
|
+
query["ShareTemplateVersion"] = request.shareTemplateVersion;
|
|
5936
|
+
}
|
|
5937
|
+
if (!$dara.isNull(request.templateName)) {
|
|
5938
|
+
query["TemplateName"] = request.templateName;
|
|
5939
|
+
}
|
|
5940
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5941
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5942
|
+
});
|
|
5943
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5944
|
+
action: "UpdateTemplateAttributes",
|
|
5945
|
+
version: "2019-06-01",
|
|
5946
|
+
protocol: "HTTPS",
|
|
5947
|
+
pathname: "/",
|
|
5948
|
+
method: "POST",
|
|
5949
|
+
authType: "AK",
|
|
5950
|
+
style: "RPC",
|
|
5951
|
+
reqBodyType: "formData",
|
|
5952
|
+
bodyType: "json",
|
|
5953
|
+
});
|
|
5954
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateTemplateAttributesResponse({}));
|
|
5955
|
+
}
|
|
5956
|
+
/**
|
|
5957
|
+
* 更新模板属性
|
|
5958
|
+
*
|
|
5959
|
+
* @param request - UpdateTemplateAttributesRequest
|
|
5960
|
+
* @returns UpdateTemplateAttributesResponse
|
|
5961
|
+
*/
|
|
5962
|
+
async updateTemplateAttributes(request) {
|
|
5963
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5964
|
+
return await this.updateTemplateAttributesWithOptions(request, runtime);
|
|
5965
|
+
}
|
|
5494
5966
|
/**
|
|
5495
5967
|
* Check whether a template is valid.
|
|
5496
5968
|
*
|