@alicloud/oos20190601 3.6.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 +225 -40
- package/dist/client.js +567 -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/ListGitAccountsRequest.d.ts +1 -0
- package/dist/models/ListGitAccountsRequest.js +2 -0
- package/dist/models/ListGitAccountsRequest.js.map +1 -1
- package/dist/models/ListGitOrganizationsRequest.d.ts +1 -0
- package/dist/models/ListGitOrganizationsRequest.js +2 -0
- package/dist/models/ListGitOrganizationsRequest.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/StartDebugExecutionRequest.d.ts +33 -0
- package/dist/models/StartDebugExecutionRequest.js +64 -0
- package/dist/models/StartDebugExecutionRequest.js.map +1 -0
- package/dist/models/StartDebugExecutionResponse.d.ts +19 -0
- package/dist/models/StartDebugExecutionResponse.js +69 -0
- package/dist/models/StartDebugExecutionResponse.js.map +1 -0
- package/dist/models/StartDebugExecutionResponseBody.d.ts +23 -0
- package/dist/models/StartDebugExecutionResponseBody.js +60 -0
- package/dist/models/StartDebugExecutionResponseBody.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 +35 -0
- package/dist/models/model.js +79 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +635 -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/ListGitAccountsRequest.ts +3 -0
- package/src/models/ListGitOrganizationsRequest.ts +3 -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/StartDebugExecutionRequest.ts +52 -0
- package/src/models/StartDebugExecutionResponse.ts +40 -0
- package/src/models/StartDebugExecutionResponseBody.ts +38 -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 +35 -0
package/src/client.ts
CHANGED
|
@@ -551,6 +551,140 @@ export default class Client extends OpenApi {
|
|
|
551
551
|
return await this.createApplicationGroupWithOptions(request, runtime);
|
|
552
552
|
}
|
|
553
553
|
|
|
554
|
+
/**
|
|
555
|
+
* 用于创建、更新、查询和删除聊天配置,支持钉钉等平台。
|
|
556
|
+
*
|
|
557
|
+
* @remarks
|
|
558
|
+
* ## 请求说明
|
|
559
|
+
* 该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。
|
|
560
|
+
* 特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。
|
|
561
|
+
*
|
|
562
|
+
* @param request - CreateChatConfigurationRequest
|
|
563
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
564
|
+
* @returns CreateChatConfigurationResponse
|
|
565
|
+
*/
|
|
566
|
+
async createChatConfigurationWithOptions(request: $_model.CreateChatConfigurationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateChatConfigurationResponse> {
|
|
567
|
+
request.validate();
|
|
568
|
+
let query = { };
|
|
569
|
+
if (!$dara.isNull(request.configuration)) {
|
|
570
|
+
query["Configuration"] = request.configuration;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
if (!$dara.isNull(request.name)) {
|
|
574
|
+
query["Name"] = request.name;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
if (!$dara.isNull(request.ramRole)) {
|
|
578
|
+
query["RamRole"] = request.ramRole;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
if (!$dara.isNull(request.regionId)) {
|
|
582
|
+
query["RegionId"] = request.regionId;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
586
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
if (!$dara.isNull(request.type)) {
|
|
590
|
+
query["Type"] = request.type;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
594
|
+
query: OpenApiUtil.query(query),
|
|
595
|
+
});
|
|
596
|
+
let params = new $OpenApiUtil.Params({
|
|
597
|
+
action: "CreateChatConfiguration",
|
|
598
|
+
version: "2019-06-01",
|
|
599
|
+
protocol: "HTTPS",
|
|
600
|
+
pathname: "/",
|
|
601
|
+
method: "POST",
|
|
602
|
+
authType: "AK",
|
|
603
|
+
style: "RPC",
|
|
604
|
+
reqBodyType: "formData",
|
|
605
|
+
bodyType: "json",
|
|
606
|
+
});
|
|
607
|
+
return $dara.cast<$_model.CreateChatConfigurationResponse>(await this.callApi(params, req, runtime), new $_model.CreateChatConfigurationResponse({}));
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* 用于创建、更新、查询和删除聊天配置,支持钉钉等平台。
|
|
612
|
+
*
|
|
613
|
+
* @remarks
|
|
614
|
+
* ## 请求说明
|
|
615
|
+
* 该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。
|
|
616
|
+
* 特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。
|
|
617
|
+
*
|
|
618
|
+
* @param request - CreateChatConfigurationRequest
|
|
619
|
+
* @returns CreateChatConfigurationResponse
|
|
620
|
+
*/
|
|
621
|
+
async createChatConfiguration(request: $_model.CreateChatConfigurationRequest): Promise<$_model.CreateChatConfigurationResponse> {
|
|
622
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
623
|
+
return await this.createChatConfigurationWithOptions(request, runtime);
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* 创建部署制品
|
|
628
|
+
*
|
|
629
|
+
* @param request - CreateDeployRevisionRequest
|
|
630
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
631
|
+
* @returns CreateDeployRevisionResponse
|
|
632
|
+
*/
|
|
633
|
+
async createDeployRevisionWithOptions(request: $_model.CreateDeployRevisionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateDeployRevisionResponse> {
|
|
634
|
+
request.validate();
|
|
635
|
+
let query = { };
|
|
636
|
+
if (!$dara.isNull(request.applicationName)) {
|
|
637
|
+
query["ApplicationName"] = request.applicationName;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
if (!$dara.isNull(request.deployResourceType)) {
|
|
641
|
+
query["DeployResourceType"] = request.deployResourceType;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
if (!$dara.isNull(request.description)) {
|
|
645
|
+
query["Description"] = request.description;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
if (!$dara.isNull(request.hooks)) {
|
|
649
|
+
query["Hooks"] = request.hooks;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
if (!$dara.isNull(request.location)) {
|
|
653
|
+
query["Location"] = request.location;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
if (!$dara.isNull(request.revisionType)) {
|
|
657
|
+
query["RevisionType"] = request.revisionType;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
661
|
+
query: OpenApiUtil.query(query),
|
|
662
|
+
});
|
|
663
|
+
let params = new $OpenApiUtil.Params({
|
|
664
|
+
action: "CreateDeployRevision",
|
|
665
|
+
version: "2019-06-01",
|
|
666
|
+
protocol: "HTTPS",
|
|
667
|
+
pathname: "/",
|
|
668
|
+
method: "POST",
|
|
669
|
+
authType: "AK",
|
|
670
|
+
style: "RPC",
|
|
671
|
+
reqBodyType: "formData",
|
|
672
|
+
bodyType: "json",
|
|
673
|
+
});
|
|
674
|
+
return $dara.cast<$_model.CreateDeployRevisionResponse>(await this.callApi(params, req, runtime), new $_model.CreateDeployRevisionResponse({}));
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* 创建部署制品
|
|
679
|
+
*
|
|
680
|
+
* @param request - CreateDeployRevisionRequest
|
|
681
|
+
* @returns CreateDeployRevisionResponse
|
|
682
|
+
*/
|
|
683
|
+
async createDeployRevision(request: $_model.CreateDeployRevisionRequest): Promise<$_model.CreateDeployRevisionResponse> {
|
|
684
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
685
|
+
return await this.createDeployRevisionWithOptions(request, runtime);
|
|
686
|
+
}
|
|
687
|
+
|
|
554
688
|
/**
|
|
555
689
|
* 创建仓库
|
|
556
690
|
*
|
|
@@ -634,7 +768,7 @@ export default class Client extends OpenApi {
|
|
|
634
768
|
}
|
|
635
769
|
|
|
636
770
|
/**
|
|
637
|
-
* Creates an O
|
|
771
|
+
* Creates an O\\\\\\\\\\\\\\\\\\\\&M Item.
|
|
638
772
|
*
|
|
639
773
|
* @param tmpReq - CreateOpsItemRequest
|
|
640
774
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -719,7 +853,7 @@ export default class Client extends OpenApi {
|
|
|
719
853
|
}
|
|
720
854
|
|
|
721
855
|
/**
|
|
722
|
-
* Creates an O
|
|
856
|
+
* Creates an O\\\\\\\\\\\\\\\\\\\\&M Item.
|
|
723
857
|
*
|
|
724
858
|
* @param request - CreateOpsItemRequest
|
|
725
859
|
* @returns CreateOpsItemResponse
|
|
@@ -918,7 +1052,7 @@ export default class Client extends OpenApi {
|
|
|
918
1052
|
}
|
|
919
1053
|
|
|
920
1054
|
/**
|
|
921
|
-
* Creates an encryption parameter. Make sure that you have the permissions to call this operation.
|
|
1055
|
+
* 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.
|
|
922
1056
|
*
|
|
923
1057
|
* @param tmpReq - CreateSecretParameterRequest
|
|
924
1058
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -995,7 +1129,7 @@ export default class Client extends OpenApi {
|
|
|
995
1129
|
}
|
|
996
1130
|
|
|
997
1131
|
/**
|
|
998
|
-
* Creates an encryption parameter. Make sure that you have the permissions to call this operation.
|
|
1132
|
+
* 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.
|
|
999
1133
|
*
|
|
1000
1134
|
* @param request - CreateSecretParameterRequest
|
|
1001
1135
|
* @returns CreateSecretParameterResponse
|
|
@@ -1274,7 +1408,63 @@ export default class Client extends OpenApi {
|
|
|
1274
1408
|
}
|
|
1275
1409
|
|
|
1276
1410
|
/**
|
|
1277
|
-
*
|
|
1411
|
+
* 用于创建、更新、查询和删除聊天配置,支持钉钉等平台。
|
|
1412
|
+
*
|
|
1413
|
+
* @remarks
|
|
1414
|
+
* ## 请求说明
|
|
1415
|
+
* 该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。
|
|
1416
|
+
* 特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。
|
|
1417
|
+
*
|
|
1418
|
+
* @param request - DeleteChatConfigurationRequest
|
|
1419
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1420
|
+
* @returns DeleteChatConfigurationResponse
|
|
1421
|
+
*/
|
|
1422
|
+
async deleteChatConfigurationWithOptions(request: $_model.DeleteChatConfigurationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteChatConfigurationResponse> {
|
|
1423
|
+
request.validate();
|
|
1424
|
+
let query = { };
|
|
1425
|
+
if (!$dara.isNull(request.name)) {
|
|
1426
|
+
query["Name"] = request.name;
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
if (!$dara.isNull(request.regionId)) {
|
|
1430
|
+
query["RegionId"] = request.regionId;
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1434
|
+
query: OpenApiUtil.query(query),
|
|
1435
|
+
});
|
|
1436
|
+
let params = new $OpenApiUtil.Params({
|
|
1437
|
+
action: "DeleteChatConfiguration",
|
|
1438
|
+
version: "2019-06-01",
|
|
1439
|
+
protocol: "HTTPS",
|
|
1440
|
+
pathname: "/",
|
|
1441
|
+
method: "POST",
|
|
1442
|
+
authType: "AK",
|
|
1443
|
+
style: "RPC",
|
|
1444
|
+
reqBodyType: "formData",
|
|
1445
|
+
bodyType: "json",
|
|
1446
|
+
});
|
|
1447
|
+
return $dara.cast<$_model.DeleteChatConfigurationResponse>(await this.callApi(params, req, runtime), new $_model.DeleteChatConfigurationResponse({}));
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1450
|
+
/**
|
|
1451
|
+
* 用于创建、更新、查询和删除聊天配置,支持钉钉等平台。
|
|
1452
|
+
*
|
|
1453
|
+
* @remarks
|
|
1454
|
+
* ## 请求说明
|
|
1455
|
+
* 该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。
|
|
1456
|
+
* 特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。
|
|
1457
|
+
*
|
|
1458
|
+
* @param request - DeleteChatConfigurationRequest
|
|
1459
|
+
* @returns DeleteChatConfigurationResponse
|
|
1460
|
+
*/
|
|
1461
|
+
async deleteChatConfiguration(request: $_model.DeleteChatConfigurationRequest): Promise<$_model.DeleteChatConfigurationResponse> {
|
|
1462
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1463
|
+
return await this.deleteChatConfigurationWithOptions(request, runtime);
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
* Deletes executions.
|
|
1278
1468
|
*
|
|
1279
1469
|
* @param request - DeleteExecutionsRequest
|
|
1280
1470
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1313,7 +1503,7 @@ export default class Client extends OpenApi {
|
|
|
1313
1503
|
}
|
|
1314
1504
|
|
|
1315
1505
|
/**
|
|
1316
|
-
* Deletes
|
|
1506
|
+
* Deletes executions.
|
|
1317
1507
|
*
|
|
1318
1508
|
* @param request - DeleteExecutionsRequest
|
|
1319
1509
|
* @returns DeleteExecutionsResponse
|
|
@@ -1462,7 +1652,7 @@ export default class Client extends OpenApi {
|
|
|
1462
1652
|
}
|
|
1463
1653
|
|
|
1464
1654
|
/**
|
|
1465
|
-
* Deletes an encryption parameter. Make sure that you have the permissions to call the DeleteSecret operation before you call this operation.
|
|
1655
|
+
* 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.
|
|
1466
1656
|
*
|
|
1467
1657
|
* @param request - DeleteSecretParameterRequest
|
|
1468
1658
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1497,7 +1687,7 @@ export default class Client extends OpenApi {
|
|
|
1497
1687
|
}
|
|
1498
1688
|
|
|
1499
1689
|
/**
|
|
1500
|
-
* Deletes an encryption parameter. Make sure that you have the permissions to call the DeleteSecret operation before you call this operation.
|
|
1690
|
+
* 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.
|
|
1501
1691
|
*
|
|
1502
1692
|
* @param request - DeleteSecretParameterRequest
|
|
1503
1693
|
* @returns DeleteSecretParameterResponse
|
|
@@ -1716,7 +1906,7 @@ export default class Client extends OpenApi {
|
|
|
1716
1906
|
}
|
|
1717
1907
|
|
|
1718
1908
|
/**
|
|
1719
|
-
*
|
|
1909
|
+
* Queries the resource costs of an application group.
|
|
1720
1910
|
*
|
|
1721
1911
|
* @param request - DescribeApplicationGroupBillRequest
|
|
1722
1912
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1771,7 +1961,7 @@ export default class Client extends OpenApi {
|
|
|
1771
1961
|
}
|
|
1772
1962
|
|
|
1773
1963
|
/**
|
|
1774
|
-
*
|
|
1964
|
+
* Queries the resource costs of an application group.
|
|
1775
1965
|
*
|
|
1776
1966
|
* @param request - DescribeApplicationGroupBillRequest
|
|
1777
1967
|
* @returns DescribeApplicationGroupBillResponse
|
|
@@ -2039,6 +2229,62 @@ export default class Client extends OpenApi {
|
|
|
2039
2229
|
return await this.getApplicationGroupWithOptions(request, runtime);
|
|
2040
2230
|
}
|
|
2041
2231
|
|
|
2232
|
+
/**
|
|
2233
|
+
* 用于创建、更新、查询和删除聊天配置,支持钉钉等平台。
|
|
2234
|
+
*
|
|
2235
|
+
* @remarks
|
|
2236
|
+
* ## 请求说明
|
|
2237
|
+
* 该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。
|
|
2238
|
+
* 特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。
|
|
2239
|
+
*
|
|
2240
|
+
* @param request - GetChatConfigurationRequest
|
|
2241
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2242
|
+
* @returns GetChatConfigurationResponse
|
|
2243
|
+
*/
|
|
2244
|
+
async getChatConfigurationWithOptions(request: $_model.GetChatConfigurationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetChatConfigurationResponse> {
|
|
2245
|
+
request.validate();
|
|
2246
|
+
let query = { };
|
|
2247
|
+
if (!$dara.isNull(request.name)) {
|
|
2248
|
+
query["Name"] = request.name;
|
|
2249
|
+
}
|
|
2250
|
+
|
|
2251
|
+
if (!$dara.isNull(request.regionId)) {
|
|
2252
|
+
query["RegionId"] = request.regionId;
|
|
2253
|
+
}
|
|
2254
|
+
|
|
2255
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2256
|
+
query: OpenApiUtil.query(query),
|
|
2257
|
+
});
|
|
2258
|
+
let params = new $OpenApiUtil.Params({
|
|
2259
|
+
action: "GetChatConfiguration",
|
|
2260
|
+
version: "2019-06-01",
|
|
2261
|
+
protocol: "HTTPS",
|
|
2262
|
+
pathname: "/",
|
|
2263
|
+
method: "POST",
|
|
2264
|
+
authType: "AK",
|
|
2265
|
+
style: "RPC",
|
|
2266
|
+
reqBodyType: "formData",
|
|
2267
|
+
bodyType: "json",
|
|
2268
|
+
});
|
|
2269
|
+
return $dara.cast<$_model.GetChatConfigurationResponse>(await this.callApi(params, req, runtime), new $_model.GetChatConfigurationResponse({}));
|
|
2270
|
+
}
|
|
2271
|
+
|
|
2272
|
+
/**
|
|
2273
|
+
* 用于创建、更新、查询和删除聊天配置,支持钉钉等平台。
|
|
2274
|
+
*
|
|
2275
|
+
* @remarks
|
|
2276
|
+
* ## 请求说明
|
|
2277
|
+
* 该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。
|
|
2278
|
+
* 特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。
|
|
2279
|
+
*
|
|
2280
|
+
* @param request - GetChatConfigurationRequest
|
|
2281
|
+
* @returns GetChatConfigurationResponse
|
|
2282
|
+
*/
|
|
2283
|
+
async getChatConfiguration(request: $_model.GetChatConfigurationRequest): Promise<$_model.GetChatConfigurationResponse> {
|
|
2284
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2285
|
+
return await this.getChatConfigurationWithOptions(request, runtime);
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2042
2288
|
/**
|
|
2043
2289
|
* Queries the information about the template of an execution, including the content of the template.
|
|
2044
2290
|
*
|
|
@@ -2272,7 +2518,7 @@ export default class Client extends OpenApi {
|
|
|
2272
2518
|
}
|
|
2273
2519
|
|
|
2274
2520
|
/**
|
|
2275
|
-
* Queries the details of an O
|
|
2521
|
+
* Queries the details of an O\\\\\\\\\\\\\\\\\\\\&M item.
|
|
2276
2522
|
*
|
|
2277
2523
|
* @param request - GetOpsItemRequest
|
|
2278
2524
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2307,7 +2553,7 @@ export default class Client extends OpenApi {
|
|
|
2307
2553
|
}
|
|
2308
2554
|
|
|
2309
2555
|
/**
|
|
2310
|
-
* Queries the details of an O
|
|
2556
|
+
* Queries the details of an O\\\\\\\\\\\\\\\\\\\\&M item.
|
|
2311
2557
|
*
|
|
2312
2558
|
* @param request - GetOpsItemRequest
|
|
2313
2559
|
* @returns GetOpsItemResponse
|
|
@@ -2522,7 +2768,7 @@ export default class Client extends OpenApi {
|
|
|
2522
2768
|
}
|
|
2523
2769
|
|
|
2524
2770
|
/**
|
|
2525
|
-
* 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.
|
|
2771
|
+
* 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.
|
|
2526
2772
|
*
|
|
2527
2773
|
* @param request - GetSecretParameterRequest
|
|
2528
2774
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2565,7 +2811,7 @@ export default class Client extends OpenApi {
|
|
|
2565
2811
|
}
|
|
2566
2812
|
|
|
2567
2813
|
/**
|
|
2568
|
-
* 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.
|
|
2814
|
+
* 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.
|
|
2569
2815
|
*
|
|
2570
2816
|
* @param request - GetSecretParameterRequest
|
|
2571
2817
|
* @returns GetSecretParameterResponse
|
|
@@ -2576,7 +2822,7 @@ export default class Client extends OpenApi {
|
|
|
2576
2822
|
}
|
|
2577
2823
|
|
|
2578
2824
|
/**
|
|
2579
|
-
* 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.
|
|
2825
|
+
* 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.
|
|
2580
2826
|
*
|
|
2581
2827
|
* @param request - GetSecretParametersRequest
|
|
2582
2828
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2615,7 +2861,7 @@ export default class Client extends OpenApi {
|
|
|
2615
2861
|
}
|
|
2616
2862
|
|
|
2617
2863
|
/**
|
|
2618
|
-
* 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.
|
|
2864
|
+
* 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.
|
|
2619
2865
|
*
|
|
2620
2866
|
* @param request - GetSecretParametersRequest
|
|
2621
2867
|
* @returns GetSecretParametersResponse
|
|
@@ -2626,7 +2872,7 @@ export default class Client extends OpenApi {
|
|
|
2626
2872
|
}
|
|
2627
2873
|
|
|
2628
2874
|
/**
|
|
2629
|
-
* Queries encryption parameters by path. Make sure that you have the permissions to call the GetSecretValue operation before you call this operation.
|
|
2875
|
+
* 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.
|
|
2630
2876
|
*
|
|
2631
2877
|
* @param request - GetSecretParametersByPathRequest
|
|
2632
2878
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2677,7 +2923,7 @@ export default class Client extends OpenApi {
|
|
|
2677
2923
|
}
|
|
2678
2924
|
|
|
2679
2925
|
/**
|
|
2680
|
-
* Queries encryption parameters by path. Make sure that you have the permissions to call the GetSecretValue operation before you call this operation.
|
|
2926
|
+
* 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.
|
|
2681
2927
|
*
|
|
2682
2928
|
* @param request - GetSecretParametersByPathRequest
|
|
2683
2929
|
* @returns GetSecretParametersByPathResponse
|
|
@@ -2688,7 +2934,7 @@ export default class Client extends OpenApi {
|
|
|
2688
2934
|
}
|
|
2689
2935
|
|
|
2690
2936
|
/**
|
|
2691
|
-
* Queries the settings of the
|
|
2937
|
+
* Queries the service settings, including the configuration of delivering template execution records and the associated organization ID.
|
|
2692
2938
|
*
|
|
2693
2939
|
* @param request - GetServiceSettingsRequest
|
|
2694
2940
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2715,7 +2961,7 @@ export default class Client extends OpenApi {
|
|
|
2715
2961
|
}
|
|
2716
2962
|
|
|
2717
2963
|
/**
|
|
2718
|
-
* Queries the settings of the
|
|
2964
|
+
* Queries the service settings, including the configuration of delivering template execution records and the associated organization ID.
|
|
2719
2965
|
*
|
|
2720
2966
|
* @param request - GetServiceSettingsRequest
|
|
2721
2967
|
* @returns GetServiceSettingsResponse
|
|
@@ -2776,7 +3022,7 @@ export default class Client extends OpenApi {
|
|
|
2776
3022
|
}
|
|
2777
3023
|
|
|
2778
3024
|
/**
|
|
2779
|
-
*
|
|
3025
|
+
* Obtains available values of parameters.
|
|
2780
3026
|
*
|
|
2781
3027
|
* @param request - GetTemplateParameterConstraintsRequest
|
|
2782
3028
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2827,7 +3073,7 @@ export default class Client extends OpenApi {
|
|
|
2827
3073
|
}
|
|
2828
3074
|
|
|
2829
3075
|
/**
|
|
2830
|
-
*
|
|
3076
|
+
* Obtains available values of parameters.
|
|
2831
3077
|
*
|
|
2832
3078
|
* @param request - GetTemplateParameterConstraintsRequest
|
|
2833
3079
|
* @returns GetTemplateParameterConstraintsResponse
|
|
@@ -3033,6 +3279,70 @@ export default class Client extends OpenApi {
|
|
|
3033
3279
|
return await this.listApplicationsWithOptions(request, runtime);
|
|
3034
3280
|
}
|
|
3035
3281
|
|
|
3282
|
+
/**
|
|
3283
|
+
* 用于创建、更新、查询和删除聊天配置,支持钉钉等平台。
|
|
3284
|
+
*
|
|
3285
|
+
* @remarks
|
|
3286
|
+
* ## 请求说明
|
|
3287
|
+
* 该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。
|
|
3288
|
+
* 特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。
|
|
3289
|
+
*
|
|
3290
|
+
* @param request - ListChatConfigurationsRequest
|
|
3291
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3292
|
+
* @returns ListChatConfigurationsResponse
|
|
3293
|
+
*/
|
|
3294
|
+
async listChatConfigurationsWithOptions(request: $_model.ListChatConfigurationsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListChatConfigurationsResponse> {
|
|
3295
|
+
request.validate();
|
|
3296
|
+
let query = { };
|
|
3297
|
+
if (!$dara.isNull(request.filters)) {
|
|
3298
|
+
query["Filters"] = request.filters;
|
|
3299
|
+
}
|
|
3300
|
+
|
|
3301
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
3302
|
+
query["MaxResults"] = request.maxResults;
|
|
3303
|
+
}
|
|
3304
|
+
|
|
3305
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
3306
|
+
query["NextToken"] = request.nextToken;
|
|
3307
|
+
}
|
|
3308
|
+
|
|
3309
|
+
if (!$dara.isNull(request.regionId)) {
|
|
3310
|
+
query["RegionId"] = request.regionId;
|
|
3311
|
+
}
|
|
3312
|
+
|
|
3313
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3314
|
+
query: OpenApiUtil.query(query),
|
|
3315
|
+
});
|
|
3316
|
+
let params = new $OpenApiUtil.Params({
|
|
3317
|
+
action: "ListChatConfigurations",
|
|
3318
|
+
version: "2019-06-01",
|
|
3319
|
+
protocol: "HTTPS",
|
|
3320
|
+
pathname: "/",
|
|
3321
|
+
method: "POST",
|
|
3322
|
+
authType: "AK",
|
|
3323
|
+
style: "RPC",
|
|
3324
|
+
reqBodyType: "formData",
|
|
3325
|
+
bodyType: "json",
|
|
3326
|
+
});
|
|
3327
|
+
return $dara.cast<$_model.ListChatConfigurationsResponse>(await this.callApi(params, req, runtime), new $_model.ListChatConfigurationsResponse({}));
|
|
3328
|
+
}
|
|
3329
|
+
|
|
3330
|
+
/**
|
|
3331
|
+
* 用于创建、更新、查询和删除聊天配置,支持钉钉等平台。
|
|
3332
|
+
*
|
|
3333
|
+
* @remarks
|
|
3334
|
+
* ## 请求说明
|
|
3335
|
+
* 该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。
|
|
3336
|
+
* 特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。
|
|
3337
|
+
*
|
|
3338
|
+
* @param request - ListChatConfigurationsRequest
|
|
3339
|
+
* @returns ListChatConfigurationsResponse
|
|
3340
|
+
*/
|
|
3341
|
+
async listChatConfigurations(request: $_model.ListChatConfigurationsRequest): Promise<$_model.ListChatConfigurationsResponse> {
|
|
3342
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3343
|
+
return await this.listChatConfigurationsWithOptions(request, runtime);
|
|
3344
|
+
}
|
|
3345
|
+
|
|
3036
3346
|
/**
|
|
3037
3347
|
* Queries the logs of an execution.
|
|
3038
3348
|
*
|
|
@@ -3046,6 +3356,10 @@ export default class Client extends OpenApi {
|
|
|
3046
3356
|
async listExecutionLogsWithOptions(request: $_model.ListExecutionLogsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListExecutionLogsResponse> {
|
|
3047
3357
|
request.validate();
|
|
3048
3358
|
let query = { };
|
|
3359
|
+
if (!$dara.isNull(request.accountId)) {
|
|
3360
|
+
query["AccountId"] = request.accountId;
|
|
3361
|
+
}
|
|
3362
|
+
|
|
3049
3363
|
if (!$dara.isNull(request.executionId)) {
|
|
3050
3364
|
query["ExecutionId"] = request.executionId;
|
|
3051
3365
|
}
|
|
@@ -3158,11 +3472,19 @@ export default class Client extends OpenApi {
|
|
|
3158
3472
|
tmpReq.validate();
|
|
3159
3473
|
let request = new $_model.ListExecutionsShrinkRequest({ });
|
|
3160
3474
|
OpenApiUtil.convert(tmpReq, request);
|
|
3475
|
+
if (!$dara.isNull(tmpReq.rdFolderIds)) {
|
|
3476
|
+
request.rdFolderIdsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rdFolderIds, "RdFolderIds", "json");
|
|
3477
|
+
}
|
|
3478
|
+
|
|
3161
3479
|
if (!$dara.isNull(tmpReq.tags)) {
|
|
3162
3480
|
request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
|
|
3163
3481
|
}
|
|
3164
3482
|
|
|
3165
3483
|
let query = { };
|
|
3484
|
+
if (!$dara.isNull(request.accountId)) {
|
|
3485
|
+
query["AccountId"] = request.accountId;
|
|
3486
|
+
}
|
|
3487
|
+
|
|
3166
3488
|
if (!$dara.isNull(request.categories)) {
|
|
3167
3489
|
query["Categories"] = request.categories;
|
|
3168
3490
|
}
|
|
@@ -3219,6 +3541,10 @@ export default class Client extends OpenApi {
|
|
|
3219
3541
|
query["RamRole"] = request.ramRole;
|
|
3220
3542
|
}
|
|
3221
3543
|
|
|
3544
|
+
if (!$dara.isNull(request.rdFolderIdsShrink)) {
|
|
3545
|
+
query["RdFolderIds"] = request.rdFolderIdsShrink;
|
|
3546
|
+
}
|
|
3547
|
+
|
|
3222
3548
|
if (!$dara.isNull(request.regionId)) {
|
|
3223
3549
|
query["RegionId"] = request.regionId;
|
|
3224
3550
|
}
|
|
@@ -3301,6 +3627,10 @@ export default class Client extends OpenApi {
|
|
|
3301
3627
|
async listGitAccountsWithOptions(request: $_model.ListGitAccountsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListGitAccountsResponse> {
|
|
3302
3628
|
request.validate();
|
|
3303
3629
|
let query = { };
|
|
3630
|
+
if (!$dara.isNull(request.bindType)) {
|
|
3631
|
+
query["BindType"] = request.bindType;
|
|
3632
|
+
}
|
|
3633
|
+
|
|
3304
3634
|
if (!$dara.isNull(request.clientToken)) {
|
|
3305
3635
|
query["ClientToken"] = request.clientToken;
|
|
3306
3636
|
}
|
|
@@ -3421,6 +3751,10 @@ export default class Client extends OpenApi {
|
|
|
3421
3751
|
async listGitOrganizationsWithOptions(request: $_model.ListGitOrganizationsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListGitOrganizationsResponse> {
|
|
3422
3752
|
request.validate();
|
|
3423
3753
|
let query = { };
|
|
3754
|
+
if (!$dara.isNull(request.bindType)) {
|
|
3755
|
+
query["BindType"] = request.bindType;
|
|
3756
|
+
}
|
|
3757
|
+
|
|
3424
3758
|
if (!$dara.isNull(request.clientToken)) {
|
|
3425
3759
|
query["ClientToken"] = request.clientToken;
|
|
3426
3760
|
}
|
|
@@ -3726,7 +4060,7 @@ export default class Client extends OpenApi {
|
|
|
3726
4060
|
}
|
|
3727
4061
|
|
|
3728
4062
|
/**
|
|
3729
|
-
* Queries the
|
|
4063
|
+
* Queries the patches of an instance.
|
|
3730
4064
|
*
|
|
3731
4065
|
* @param request - ListInstancePatchesRequest
|
|
3732
4066
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3773,7 +4107,7 @@ export default class Client extends OpenApi {
|
|
|
3773
4107
|
}
|
|
3774
4108
|
|
|
3775
4109
|
/**
|
|
3776
|
-
* Queries the
|
|
4110
|
+
* Queries the patches of an instance.
|
|
3777
4111
|
*
|
|
3778
4112
|
* @param request - ListInstancePatchesRequest
|
|
3779
4113
|
* @returns ListInstancePatchesResponse
|
|
@@ -3846,7 +4180,7 @@ export default class Client extends OpenApi {
|
|
|
3846
4180
|
}
|
|
3847
4181
|
|
|
3848
4182
|
/**
|
|
3849
|
-
* Queries O
|
|
4183
|
+
* Queries O\\\\\\&M items.
|
|
3850
4184
|
*
|
|
3851
4185
|
* @param tmpReq - ListOpsItemsRequest
|
|
3852
4186
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3907,7 +4241,7 @@ export default class Client extends OpenApi {
|
|
|
3907
4241
|
}
|
|
3908
4242
|
|
|
3909
4243
|
/**
|
|
3910
|
-
* Queries O
|
|
4244
|
+
* Queries O\\\\\\&M items.
|
|
3911
4245
|
*
|
|
3912
4246
|
* @param request - ListOpsItemsRequest
|
|
3913
4247
|
* @returns ListOpsItemsResponse
|
|
@@ -4164,7 +4498,7 @@ export default class Client extends OpenApi {
|
|
|
4164
4498
|
}
|
|
4165
4499
|
|
|
4166
4500
|
/**
|
|
4167
|
-
* Queries the information about a scheduled execution that involves O
|
|
4501
|
+
* Queries the information about a scheduled execution that involves O\\&M operations on Elastic Compute Service (ECS) instances.
|
|
4168
4502
|
*
|
|
4169
4503
|
* @param request - ListResourceExecutionStatusRequest
|
|
4170
4504
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4207,7 +4541,7 @@ export default class Client extends OpenApi {
|
|
|
4207
4541
|
}
|
|
4208
4542
|
|
|
4209
4543
|
/**
|
|
4210
|
-
* Queries the information about a scheduled execution that involves O
|
|
4544
|
+
* Queries the information about a scheduled execution that involves O\\&M operations on Elastic Compute Service (ECS) instances.
|
|
4211
4545
|
*
|
|
4212
4546
|
* @param request - ListResourceExecutionStatusRequest
|
|
4213
4547
|
* @returns ListResourceExecutionStatusResponse
|
|
@@ -4625,6 +4959,56 @@ export default class Client extends OpenApi {
|
|
|
4625
4959
|
return await this.listTagValuesWithOptions(request, runtime);
|
|
4626
4960
|
}
|
|
4627
4961
|
|
|
4962
|
+
/**
|
|
4963
|
+
* 用于获取任务执行内部的云助手脚本执行ID
|
|
4964
|
+
*
|
|
4965
|
+
* @param request - ListTaskExecutionInvocationsRequest
|
|
4966
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4967
|
+
* @returns ListTaskExecutionInvocationsResponse
|
|
4968
|
+
*/
|
|
4969
|
+
async listTaskExecutionInvocationsWithOptions(request: $_model.ListTaskExecutionInvocationsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListTaskExecutionInvocationsResponse> {
|
|
4970
|
+
request.validate();
|
|
4971
|
+
let query = { };
|
|
4972
|
+
if (!$dara.isNull(request.regionId)) {
|
|
4973
|
+
query["RegionId"] = request.regionId;
|
|
4974
|
+
}
|
|
4975
|
+
|
|
4976
|
+
if (!$dara.isNull(request.status)) {
|
|
4977
|
+
query["Status"] = request.status;
|
|
4978
|
+
}
|
|
4979
|
+
|
|
4980
|
+
if (!$dara.isNull(request.taskExecutionId)) {
|
|
4981
|
+
query["TaskExecutionId"] = request.taskExecutionId;
|
|
4982
|
+
}
|
|
4983
|
+
|
|
4984
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4985
|
+
query: OpenApiUtil.query(query),
|
|
4986
|
+
});
|
|
4987
|
+
let params = new $OpenApiUtil.Params({
|
|
4988
|
+
action: "ListTaskExecutionInvocations",
|
|
4989
|
+
version: "2019-06-01",
|
|
4990
|
+
protocol: "HTTPS",
|
|
4991
|
+
pathname: "/",
|
|
4992
|
+
method: "POST",
|
|
4993
|
+
authType: "AK",
|
|
4994
|
+
style: "RPC",
|
|
4995
|
+
reqBodyType: "formData",
|
|
4996
|
+
bodyType: "json",
|
|
4997
|
+
});
|
|
4998
|
+
return $dara.cast<$_model.ListTaskExecutionInvocationsResponse>(await this.callApi(params, req, runtime), new $_model.ListTaskExecutionInvocationsResponse({}));
|
|
4999
|
+
}
|
|
5000
|
+
|
|
5001
|
+
/**
|
|
5002
|
+
* 用于获取任务执行内部的云助手脚本执行ID
|
|
5003
|
+
*
|
|
5004
|
+
* @param request - ListTaskExecutionInvocationsRequest
|
|
5005
|
+
* @returns ListTaskExecutionInvocationsResponse
|
|
5006
|
+
*/
|
|
5007
|
+
async listTaskExecutionInvocations(request: $_model.ListTaskExecutionInvocationsRequest): Promise<$_model.ListTaskExecutionInvocationsResponse> {
|
|
5008
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5009
|
+
return await this.listTaskExecutionInvocationsWithOptions(request, runtime);
|
|
5010
|
+
}
|
|
5011
|
+
|
|
4628
5012
|
/**
|
|
4629
5013
|
* Queries task executions. Multiple methods are supported to filter task executions.
|
|
4630
5014
|
*
|
|
@@ -4635,6 +5019,10 @@ export default class Client extends OpenApi {
|
|
|
4635
5019
|
async listTaskExecutionsWithOptions(request: $_model.ListTaskExecutionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListTaskExecutionsResponse> {
|
|
4636
5020
|
request.validate();
|
|
4637
5021
|
let query = { };
|
|
5022
|
+
if (!$dara.isNull(request.accountId)) {
|
|
5023
|
+
query["AccountId"] = request.accountId;
|
|
5024
|
+
}
|
|
5025
|
+
|
|
4638
5026
|
if (!$dara.isNull(request.endDateAfter)) {
|
|
4639
5027
|
query["EndDateAfter"] = request.endDateAfter;
|
|
4640
5028
|
}
|
|
@@ -4728,7 +5116,7 @@ export default class Client extends OpenApi {
|
|
|
4728
5116
|
}
|
|
4729
5117
|
|
|
4730
5118
|
/**
|
|
4731
|
-
* Queries
|
|
5119
|
+
* Queries the versions of a template.
|
|
4732
5120
|
*
|
|
4733
5121
|
* @param request - ListTemplateVersionsRequest
|
|
4734
5122
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4775,7 +5163,7 @@ export default class Client extends OpenApi {
|
|
|
4775
5163
|
}
|
|
4776
5164
|
|
|
4777
5165
|
/**
|
|
4778
|
-
* Queries
|
|
5166
|
+
* Queries the versions of a template.
|
|
4779
5167
|
*
|
|
4780
5168
|
* @param request - ListTemplateVersionsRequest
|
|
4781
5169
|
* @returns ListTemplateVersionsResponse
|
|
@@ -5096,14 +5484,20 @@ export default class Client extends OpenApi {
|
|
|
5096
5484
|
}
|
|
5097
5485
|
|
|
5098
5486
|
/**
|
|
5099
|
-
* Enables or disables the feature of delivering template execution records and sets the storage location.
|
|
5487
|
+
* Enables or disables the feature of delivering template execution records and sets the storage location and organization ID.
|
|
5100
5488
|
*
|
|
5101
|
-
* @param
|
|
5489
|
+
* @param tmpReq - SetServiceSettingsRequest
|
|
5102
5490
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
5103
5491
|
* @returns SetServiceSettingsResponse
|
|
5104
5492
|
*/
|
|
5105
|
-
async setServiceSettingsWithOptions(
|
|
5106
|
-
|
|
5493
|
+
async setServiceSettingsWithOptions(tmpReq: $_model.SetServiceSettingsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetServiceSettingsResponse> {
|
|
5494
|
+
tmpReq.validate();
|
|
5495
|
+
let request = new $_model.SetServiceSettingsShrinkRequest({ });
|
|
5496
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
5497
|
+
if (!$dara.isNull(tmpReq.rdFolderIds)) {
|
|
5498
|
+
request.rdFolderIdsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rdFolderIds, "RdFolderIds", "json");
|
|
5499
|
+
}
|
|
5500
|
+
|
|
5107
5501
|
let query = { };
|
|
5108
5502
|
if (!$dara.isNull(request.deliveryOssBucketName)) {
|
|
5109
5503
|
query["DeliveryOssBucketName"] = request.deliveryOssBucketName;
|
|
@@ -5125,6 +5519,10 @@ export default class Client extends OpenApi {
|
|
|
5125
5519
|
query["DeliverySlsProjectName"] = request.deliverySlsProjectName;
|
|
5126
5520
|
}
|
|
5127
5521
|
|
|
5522
|
+
if (!$dara.isNull(request.rdFolderIdsShrink)) {
|
|
5523
|
+
query["RdFolderIds"] = request.rdFolderIdsShrink;
|
|
5524
|
+
}
|
|
5525
|
+
|
|
5128
5526
|
if (!$dara.isNull(request.rdcEnterpriseId)) {
|
|
5129
5527
|
query["RdcEnterpriseId"] = request.rdcEnterpriseId;
|
|
5130
5528
|
}
|
|
@@ -5133,6 +5531,10 @@ export default class Client extends OpenApi {
|
|
|
5133
5531
|
query["RegionId"] = request.regionId;
|
|
5134
5532
|
}
|
|
5135
5533
|
|
|
5534
|
+
if (!$dara.isNull(request.serviceAccessRdEnabled)) {
|
|
5535
|
+
query["ServiceAccessRdEnabled"] = request.serviceAccessRdEnabled;
|
|
5536
|
+
}
|
|
5537
|
+
|
|
5136
5538
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5137
5539
|
query: OpenApiUtil.query(query),
|
|
5138
5540
|
});
|
|
@@ -5151,7 +5553,7 @@ export default class Client extends OpenApi {
|
|
|
5151
5553
|
}
|
|
5152
5554
|
|
|
5153
5555
|
/**
|
|
5154
|
-
* Enables or disables the feature of delivering template execution records and sets the storage location.
|
|
5556
|
+
* Enables or disables the feature of delivering template execution records and sets the storage location and organization ID.
|
|
5155
5557
|
*
|
|
5156
5558
|
* @param request - SetServiceSettingsRequest
|
|
5157
5559
|
* @returns SetServiceSettingsResponse
|
|
@@ -5161,6 +5563,60 @@ export default class Client extends OpenApi {
|
|
|
5161
5563
|
return await this.setServiceSettingsWithOptions(request, runtime);
|
|
5162
5564
|
}
|
|
5163
5565
|
|
|
5566
|
+
/**
|
|
5567
|
+
* 启动一个调试执行
|
|
5568
|
+
*
|
|
5569
|
+
* @param request - StartDebugExecutionRequest
|
|
5570
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5571
|
+
* @returns StartDebugExecutionResponse
|
|
5572
|
+
*/
|
|
5573
|
+
async startDebugExecutionWithOptions(request: $_model.StartDebugExecutionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StartDebugExecutionResponse> {
|
|
5574
|
+
request.validate();
|
|
5575
|
+
let query = { };
|
|
5576
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
5577
|
+
query["ClientToken"] = request.clientToken;
|
|
5578
|
+
}
|
|
5579
|
+
|
|
5580
|
+
if (!$dara.isNull(request.properties)) {
|
|
5581
|
+
query["Properties"] = request.properties;
|
|
5582
|
+
}
|
|
5583
|
+
|
|
5584
|
+
if (!$dara.isNull(request.regionId)) {
|
|
5585
|
+
query["RegionId"] = request.regionId;
|
|
5586
|
+
}
|
|
5587
|
+
|
|
5588
|
+
if (!$dara.isNull(request.taskType)) {
|
|
5589
|
+
query["TaskType"] = request.taskType;
|
|
5590
|
+
}
|
|
5591
|
+
|
|
5592
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5593
|
+
query: OpenApiUtil.query(query),
|
|
5594
|
+
});
|
|
5595
|
+
let params = new $OpenApiUtil.Params({
|
|
5596
|
+
action: "StartDebugExecution",
|
|
5597
|
+
version: "2019-06-01",
|
|
5598
|
+
protocol: "HTTPS",
|
|
5599
|
+
pathname: "/",
|
|
5600
|
+
method: "POST",
|
|
5601
|
+
authType: "AK",
|
|
5602
|
+
style: "RPC",
|
|
5603
|
+
reqBodyType: "formData",
|
|
5604
|
+
bodyType: "json",
|
|
5605
|
+
});
|
|
5606
|
+
return $dara.cast<$_model.StartDebugExecutionResponse>(await this.callApi(params, req, runtime), new $_model.StartDebugExecutionResponse({}));
|
|
5607
|
+
}
|
|
5608
|
+
|
|
5609
|
+
/**
|
|
5610
|
+
* 启动一个调试执行
|
|
5611
|
+
*
|
|
5612
|
+
* @param request - StartDebugExecutionRequest
|
|
5613
|
+
* @returns StartDebugExecutionResponse
|
|
5614
|
+
*/
|
|
5615
|
+
async startDebugExecution(request: $_model.StartDebugExecutionRequest): Promise<$_model.StartDebugExecutionResponse> {
|
|
5616
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5617
|
+
return await this.startDebugExecutionWithOptions(request, runtime);
|
|
5618
|
+
}
|
|
5619
|
+
|
|
5164
5620
|
/**
|
|
5165
5621
|
* Starts an execution.
|
|
5166
5622
|
*
|
|
@@ -5547,6 +6003,10 @@ export default class Client extends OpenApi {
|
|
|
5547
6003
|
query["DeployedRevisionId"] = request.deployedRevisionId;
|
|
5548
6004
|
}
|
|
5549
6005
|
|
|
6006
|
+
if (!$dara.isNull(request.monitorMetadata)) {
|
|
6007
|
+
query["MonitorMetadata"] = request.monitorMetadata;
|
|
6008
|
+
}
|
|
6009
|
+
|
|
5550
6010
|
if (!$dara.isNull(request.name)) {
|
|
5551
6011
|
query["Name"] = request.name;
|
|
5552
6012
|
}
|
|
@@ -5596,7 +6056,79 @@ export default class Client extends OpenApi {
|
|
|
5596
6056
|
}
|
|
5597
6057
|
|
|
5598
6058
|
/**
|
|
5599
|
-
*
|
|
6059
|
+
* 用于创建、更新、查询和删除聊天配置,支持钉钉等平台。
|
|
6060
|
+
*
|
|
6061
|
+
* @remarks
|
|
6062
|
+
* ## 请求说明
|
|
6063
|
+
* 该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。
|
|
6064
|
+
* 特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。
|
|
6065
|
+
*
|
|
6066
|
+
* @param request - UpdateChatConfigurationRequest
|
|
6067
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6068
|
+
* @returns UpdateChatConfigurationResponse
|
|
6069
|
+
*/
|
|
6070
|
+
async updateChatConfigurationWithOptions(request: $_model.UpdateChatConfigurationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateChatConfigurationResponse> {
|
|
6071
|
+
request.validate();
|
|
6072
|
+
let query = { };
|
|
6073
|
+
if (!$dara.isNull(request.configuration)) {
|
|
6074
|
+
query["Configuration"] = request.configuration;
|
|
6075
|
+
}
|
|
6076
|
+
|
|
6077
|
+
if (!$dara.isNull(request.name)) {
|
|
6078
|
+
query["Name"] = request.name;
|
|
6079
|
+
}
|
|
6080
|
+
|
|
6081
|
+
if (!$dara.isNull(request.ramRole)) {
|
|
6082
|
+
query["RamRole"] = request.ramRole;
|
|
6083
|
+
}
|
|
6084
|
+
|
|
6085
|
+
if (!$dara.isNull(request.regionId)) {
|
|
6086
|
+
query["RegionId"] = request.regionId;
|
|
6087
|
+
}
|
|
6088
|
+
|
|
6089
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
6090
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
6091
|
+
}
|
|
6092
|
+
|
|
6093
|
+
if (!$dara.isNull(request.type)) {
|
|
6094
|
+
query["Type"] = request.type;
|
|
6095
|
+
}
|
|
6096
|
+
|
|
6097
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6098
|
+
query: OpenApiUtil.query(query),
|
|
6099
|
+
});
|
|
6100
|
+
let params = new $OpenApiUtil.Params({
|
|
6101
|
+
action: "UpdateChatConfiguration",
|
|
6102
|
+
version: "2019-06-01",
|
|
6103
|
+
protocol: "HTTPS",
|
|
6104
|
+
pathname: "/",
|
|
6105
|
+
method: "POST",
|
|
6106
|
+
authType: "AK",
|
|
6107
|
+
style: "RPC",
|
|
6108
|
+
reqBodyType: "formData",
|
|
6109
|
+
bodyType: "json",
|
|
6110
|
+
});
|
|
6111
|
+
return $dara.cast<$_model.UpdateChatConfigurationResponse>(await this.callApi(params, req, runtime), new $_model.UpdateChatConfigurationResponse({}));
|
|
6112
|
+
}
|
|
6113
|
+
|
|
6114
|
+
/**
|
|
6115
|
+
* 用于创建、更新、查询和删除聊天配置,支持钉钉等平台。
|
|
6116
|
+
*
|
|
6117
|
+
* @remarks
|
|
6118
|
+
* ## 请求说明
|
|
6119
|
+
* 该API主要用于管理和配置与钉钉等即时通讯工具集成的聊天机器人设置,包括但不限于创建新的聊天配置、更新现有配置、获取特定配置详情以及删除不再需要的配置。通过此API,可以实现对不同用户或用户组权限的精细化控制,并能够指定具体的RAM角色来执行相关操作。此外,还支持为每个配置添加标签以便于管理和分类。
|
|
6120
|
+
* 特别注意的是,在调用此API时,需确保提供的`RegionId`、`ConversationId`以及请求体中的各项参数准确无误,尤其是涉及到安全敏感信息如`ClientId`、`ClientSecret`等字段时更应谨慎处理,避免泄露给非授权方。
|
|
6121
|
+
*
|
|
6122
|
+
* @param request - UpdateChatConfigurationRequest
|
|
6123
|
+
* @returns UpdateChatConfigurationResponse
|
|
6124
|
+
*/
|
|
6125
|
+
async updateChatConfiguration(request: $_model.UpdateChatConfigurationRequest): Promise<$_model.UpdateChatConfigurationResponse> {
|
|
6126
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6127
|
+
return await this.updateChatConfigurationWithOptions(request, runtime);
|
|
6128
|
+
}
|
|
6129
|
+
|
|
6130
|
+
/**
|
|
6131
|
+
* Updates an execution in the Running or Waiting state.
|
|
5600
6132
|
*
|
|
5601
6133
|
* @param request - UpdateExecutionRequest
|
|
5602
6134
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5651,7 +6183,7 @@ export default class Client extends OpenApi {
|
|
|
5651
6183
|
}
|
|
5652
6184
|
|
|
5653
6185
|
/**
|
|
5654
|
-
*
|
|
6186
|
+
* Updates an execution in the Running or Waiting state.
|
|
5655
6187
|
*
|
|
5656
6188
|
* @param request - UpdateExecutionRequest
|
|
5657
6189
|
* @returns UpdateExecutionResponse
|
|
@@ -5734,7 +6266,7 @@ export default class Client extends OpenApi {
|
|
|
5734
6266
|
}
|
|
5735
6267
|
|
|
5736
6268
|
/**
|
|
5737
|
-
* Modifies an O
|
|
6269
|
+
* Modifies an O\\\\\\\\\\\\\\\\\\\\&M item.
|
|
5738
6270
|
*
|
|
5739
6271
|
* @param tmpReq - UpdateOpsItemRequest
|
|
5740
6272
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5827,7 +6359,7 @@ export default class Client extends OpenApi {
|
|
|
5827
6359
|
}
|
|
5828
6360
|
|
|
5829
6361
|
/**
|
|
5830
|
-
* Modifies an O
|
|
6362
|
+
* Modifies an O\\\\\\\\\\\\\\\\\\\\&M item.
|
|
5831
6363
|
*
|
|
5832
6364
|
* @param request - UpdateOpsItemRequest
|
|
5833
6365
|
* @returns UpdateOpsItemResponse
|
|
@@ -6004,7 +6536,7 @@ export default class Client extends OpenApi {
|
|
|
6004
6536
|
}
|
|
6005
6537
|
|
|
6006
6538
|
/**
|
|
6007
|
-
* Updates an encryption parameter.
|
|
6539
|
+
* 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.
|
|
6008
6540
|
*
|
|
6009
6541
|
* @param tmpReq - UpdateSecretParameterRequest
|
|
6010
6542
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6061,7 +6593,7 @@ export default class Client extends OpenApi {
|
|
|
6061
6593
|
}
|
|
6062
6594
|
|
|
6063
6595
|
/**
|
|
6064
|
-
* Updates an encryption parameter.
|
|
6596
|
+
* 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.
|
|
6065
6597
|
*
|
|
6066
6598
|
* @param request - UpdateSecretParameterRequest
|
|
6067
6599
|
* @returns UpdateSecretParameterResponse
|
|
@@ -6231,6 +6763,68 @@ export default class Client extends OpenApi {
|
|
|
6231
6763
|
return await this.updateTemplateWithOptions(request, runtime);
|
|
6232
6764
|
}
|
|
6233
6765
|
|
|
6766
|
+
/**
|
|
6767
|
+
* 更新模板属性
|
|
6768
|
+
*
|
|
6769
|
+
* @param request - UpdateTemplateAttributesRequest
|
|
6770
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6771
|
+
* @returns UpdateTemplateAttributesResponse
|
|
6772
|
+
*/
|
|
6773
|
+
async updateTemplateAttributesWithOptions(request: $_model.UpdateTemplateAttributesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateTemplateAttributesResponse> {
|
|
6774
|
+
request.validate();
|
|
6775
|
+
let query = { };
|
|
6776
|
+
if (!$dara.isNull(request.accountIds)) {
|
|
6777
|
+
query["AccountIds"] = request.accountIds;
|
|
6778
|
+
}
|
|
6779
|
+
|
|
6780
|
+
if (!$dara.isNull(request.isFavorite)) {
|
|
6781
|
+
query["IsFavorite"] = request.isFavorite;
|
|
6782
|
+
}
|
|
6783
|
+
|
|
6784
|
+
if (!$dara.isNull(request.regionId)) {
|
|
6785
|
+
query["RegionId"] = request.regionId;
|
|
6786
|
+
}
|
|
6787
|
+
|
|
6788
|
+
if (!$dara.isNull(request.sharePermissionAction)) {
|
|
6789
|
+
query["SharePermissionAction"] = request.sharePermissionAction;
|
|
6790
|
+
}
|
|
6791
|
+
|
|
6792
|
+
if (!$dara.isNull(request.shareTemplateVersion)) {
|
|
6793
|
+
query["ShareTemplateVersion"] = request.shareTemplateVersion;
|
|
6794
|
+
}
|
|
6795
|
+
|
|
6796
|
+
if (!$dara.isNull(request.templateName)) {
|
|
6797
|
+
query["TemplateName"] = request.templateName;
|
|
6798
|
+
}
|
|
6799
|
+
|
|
6800
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6801
|
+
query: OpenApiUtil.query(query),
|
|
6802
|
+
});
|
|
6803
|
+
let params = new $OpenApiUtil.Params({
|
|
6804
|
+
action: "UpdateTemplateAttributes",
|
|
6805
|
+
version: "2019-06-01",
|
|
6806
|
+
protocol: "HTTPS",
|
|
6807
|
+
pathname: "/",
|
|
6808
|
+
method: "POST",
|
|
6809
|
+
authType: "AK",
|
|
6810
|
+
style: "RPC",
|
|
6811
|
+
reqBodyType: "formData",
|
|
6812
|
+
bodyType: "json",
|
|
6813
|
+
});
|
|
6814
|
+
return $dara.cast<$_model.UpdateTemplateAttributesResponse>(await this.callApi(params, req, runtime), new $_model.UpdateTemplateAttributesResponse({}));
|
|
6815
|
+
}
|
|
6816
|
+
|
|
6817
|
+
/**
|
|
6818
|
+
* 更新模板属性
|
|
6819
|
+
*
|
|
6820
|
+
* @param request - UpdateTemplateAttributesRequest
|
|
6821
|
+
* @returns UpdateTemplateAttributesResponse
|
|
6822
|
+
*/
|
|
6823
|
+
async updateTemplateAttributes(request: $_model.UpdateTemplateAttributesRequest): Promise<$_model.UpdateTemplateAttributesResponse> {
|
|
6824
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6825
|
+
return await this.updateTemplateAttributesWithOptions(request, runtime);
|
|
6826
|
+
}
|
|
6827
|
+
|
|
6234
6828
|
/**
|
|
6235
6829
|
* Check whether a template is valid.
|
|
6236
6830
|
*
|