@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/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
|
}
|
|
@@ -2921,6 +3213,9 @@ class Client extends openapi_core_1.default {
|
|
|
2921
3213
|
async listGitAccountsWithOptions(request, runtime) {
|
|
2922
3214
|
request.validate();
|
|
2923
3215
|
let query = {};
|
|
3216
|
+
if (!$dara.isNull(request.bindType)) {
|
|
3217
|
+
query["BindType"] = request.bindType;
|
|
3218
|
+
}
|
|
2924
3219
|
if (!$dara.isNull(request.clientToken)) {
|
|
2925
3220
|
query["ClientToken"] = request.clientToken;
|
|
2926
3221
|
}
|
|
@@ -3026,6 +3321,9 @@ class Client extends openapi_core_1.default {
|
|
|
3026
3321
|
async listGitOrganizationsWithOptions(request, runtime) {
|
|
3027
3322
|
request.validate();
|
|
3028
3323
|
let query = {};
|
|
3324
|
+
if (!$dara.isNull(request.bindType)) {
|
|
3325
|
+
query["BindType"] = request.bindType;
|
|
3326
|
+
}
|
|
3029
3327
|
if (!$dara.isNull(request.clientToken)) {
|
|
3030
3328
|
query["ClientToken"] = request.clientToken;
|
|
3031
3329
|
}
|
|
@@ -3290,7 +3588,7 @@ class Client extends openapi_core_1.default {
|
|
|
3290
3588
|
return await this.listInstancePatchStatesWithOptions(request, runtime);
|
|
3291
3589
|
}
|
|
3292
3590
|
/**
|
|
3293
|
-
* Queries the
|
|
3591
|
+
* Queries the patches of an instance.
|
|
3294
3592
|
*
|
|
3295
3593
|
* @param request - ListInstancePatchesRequest
|
|
3296
3594
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3331,7 +3629,7 @@ class Client extends openapi_core_1.default {
|
|
|
3331
3629
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstancePatchesResponse({}));
|
|
3332
3630
|
}
|
|
3333
3631
|
/**
|
|
3334
|
-
* Queries the
|
|
3632
|
+
* Queries the patches of an instance.
|
|
3335
3633
|
*
|
|
3336
3634
|
* @param request - ListInstancePatchesRequest
|
|
3337
3635
|
* @returns ListInstancePatchesResponse
|
|
@@ -3395,7 +3693,7 @@ class Client extends openapi_core_1.default {
|
|
|
3395
3693
|
return await this.listInventoryEntriesWithOptions(request, runtime);
|
|
3396
3694
|
}
|
|
3397
3695
|
/**
|
|
3398
|
-
* Queries O
|
|
3696
|
+
* Queries O\\\\\\&M items.
|
|
3399
3697
|
*
|
|
3400
3698
|
* @param tmpReq - ListOpsItemsRequest
|
|
3401
3699
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3447,7 +3745,7 @@ class Client extends openapi_core_1.default {
|
|
|
3447
3745
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListOpsItemsResponse({}));
|
|
3448
3746
|
}
|
|
3449
3747
|
/**
|
|
3450
|
-
* Queries O
|
|
3748
|
+
* Queries O\\\\\\&M items.
|
|
3451
3749
|
*
|
|
3452
3750
|
* @param request - ListOpsItemsRequest
|
|
3453
3751
|
* @returns ListOpsItemsResponse
|
|
@@ -3665,7 +3963,7 @@ class Client extends openapi_core_1.default {
|
|
|
3665
3963
|
return await this.listPatchBaselinesWithOptions(request, runtime);
|
|
3666
3964
|
}
|
|
3667
3965
|
/**
|
|
3668
|
-
* 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.
|
|
3669
3967
|
*
|
|
3670
3968
|
* @param request - ListResourceExecutionStatusRequest
|
|
3671
3969
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3703,7 +4001,7 @@ class Client extends openapi_core_1.default {
|
|
|
3703
4001
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListResourceExecutionStatusResponse({}));
|
|
3704
4002
|
}
|
|
3705
4003
|
/**
|
|
3706
|
-
* 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.
|
|
3707
4005
|
*
|
|
3708
4006
|
* @param request - ListResourceExecutionStatusRequest
|
|
3709
4007
|
* @returns ListResourceExecutionStatusResponse
|
|
@@ -4066,6 +4364,51 @@ class Client extends openapi_core_1.default {
|
|
|
4066
4364
|
let runtime = new $dara.RuntimeOptions({});
|
|
4067
4365
|
return await this.listTagValuesWithOptions(request, runtime);
|
|
4068
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
|
+
}
|
|
4069
4412
|
/**
|
|
4070
4413
|
* Queries task executions. Multiple methods are supported to filter task executions.
|
|
4071
4414
|
*
|
|
@@ -4076,6 +4419,9 @@ class Client extends openapi_core_1.default {
|
|
|
4076
4419
|
async listTaskExecutionsWithOptions(request, runtime) {
|
|
4077
4420
|
request.validate();
|
|
4078
4421
|
let query = {};
|
|
4422
|
+
if (!$dara.isNull(request.accountId)) {
|
|
4423
|
+
query["AccountId"] = request.accountId;
|
|
4424
|
+
}
|
|
4079
4425
|
if (!$dara.isNull(request.endDateAfter)) {
|
|
4080
4426
|
query["EndDateAfter"] = request.endDateAfter;
|
|
4081
4427
|
}
|
|
@@ -4151,7 +4497,7 @@ class Client extends openapi_core_1.default {
|
|
|
4151
4497
|
return await this.listTaskExecutionsWithOptions(request, runtime);
|
|
4152
4498
|
}
|
|
4153
4499
|
/**
|
|
4154
|
-
* Queries
|
|
4500
|
+
* Queries the versions of a template.
|
|
4155
4501
|
*
|
|
4156
4502
|
* @param request - ListTemplateVersionsRequest
|
|
4157
4503
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4192,7 +4538,7 @@ class Client extends openapi_core_1.default {
|
|
|
4192
4538
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTemplateVersionsResponse({}));
|
|
4193
4539
|
}
|
|
4194
4540
|
/**
|
|
4195
|
-
* Queries
|
|
4541
|
+
* Queries the versions of a template.
|
|
4196
4542
|
*
|
|
4197
4543
|
* @param request - ListTemplateVersionsRequest
|
|
4198
4544
|
* @returns ListTemplateVersionsResponse
|
|
@@ -4468,14 +4814,19 @@ class Client extends openapi_core_1.default {
|
|
|
4468
4814
|
return await this.searchInventoryWithOptions(request, runtime);
|
|
4469
4815
|
}
|
|
4470
4816
|
/**
|
|
4471
|
-
* 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.
|
|
4472
4818
|
*
|
|
4473
|
-
* @param
|
|
4819
|
+
* @param tmpReq - SetServiceSettingsRequest
|
|
4474
4820
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4475
4821
|
* @returns SetServiceSettingsResponse
|
|
4476
4822
|
*/
|
|
4477
|
-
async setServiceSettingsWithOptions(
|
|
4478
|
-
|
|
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
|
+
}
|
|
4479
4830
|
let query = {};
|
|
4480
4831
|
if (!$dara.isNull(request.deliveryOssBucketName)) {
|
|
4481
4832
|
query["DeliveryOssBucketName"] = request.deliveryOssBucketName;
|
|
@@ -4492,12 +4843,18 @@ class Client extends openapi_core_1.default {
|
|
|
4492
4843
|
if (!$dara.isNull(request.deliverySlsProjectName)) {
|
|
4493
4844
|
query["DeliverySlsProjectName"] = request.deliverySlsProjectName;
|
|
4494
4845
|
}
|
|
4846
|
+
if (!$dara.isNull(request.rdFolderIdsShrink)) {
|
|
4847
|
+
query["RdFolderIds"] = request.rdFolderIdsShrink;
|
|
4848
|
+
}
|
|
4495
4849
|
if (!$dara.isNull(request.rdcEnterpriseId)) {
|
|
4496
4850
|
query["RdcEnterpriseId"] = request.rdcEnterpriseId;
|
|
4497
4851
|
}
|
|
4498
4852
|
if (!$dara.isNull(request.regionId)) {
|
|
4499
4853
|
query["RegionId"] = request.regionId;
|
|
4500
4854
|
}
|
|
4855
|
+
if (!$dara.isNull(request.serviceAccessRdEnabled)) {
|
|
4856
|
+
query["ServiceAccessRdEnabled"] = request.serviceAccessRdEnabled;
|
|
4857
|
+
}
|
|
4501
4858
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4502
4859
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4503
4860
|
});
|
|
@@ -4515,7 +4872,7 @@ class Client extends openapi_core_1.default {
|
|
|
4515
4872
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SetServiceSettingsResponse({}));
|
|
4516
4873
|
}
|
|
4517
4874
|
/**
|
|
4518
|
-
* 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.
|
|
4519
4876
|
*
|
|
4520
4877
|
* @param request - SetServiceSettingsRequest
|
|
4521
4878
|
* @returns SetServiceSettingsResponse
|
|
@@ -4524,6 +4881,54 @@ class Client extends openapi_core_1.default {
|
|
|
4524
4881
|
let runtime = new $dara.RuntimeOptions({});
|
|
4525
4882
|
return await this.setServiceSettingsWithOptions(request, runtime);
|
|
4526
4883
|
}
|
|
4884
|
+
/**
|
|
4885
|
+
* 启动一个调试执行
|
|
4886
|
+
*
|
|
4887
|
+
* @param request - StartDebugExecutionRequest
|
|
4888
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4889
|
+
* @returns StartDebugExecutionResponse
|
|
4890
|
+
*/
|
|
4891
|
+
async startDebugExecutionWithOptions(request, runtime) {
|
|
4892
|
+
request.validate();
|
|
4893
|
+
let query = {};
|
|
4894
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
4895
|
+
query["ClientToken"] = request.clientToken;
|
|
4896
|
+
}
|
|
4897
|
+
if (!$dara.isNull(request.properties)) {
|
|
4898
|
+
query["Properties"] = request.properties;
|
|
4899
|
+
}
|
|
4900
|
+
if (!$dara.isNull(request.regionId)) {
|
|
4901
|
+
query["RegionId"] = request.regionId;
|
|
4902
|
+
}
|
|
4903
|
+
if (!$dara.isNull(request.taskType)) {
|
|
4904
|
+
query["TaskType"] = request.taskType;
|
|
4905
|
+
}
|
|
4906
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4907
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4908
|
+
});
|
|
4909
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4910
|
+
action: "StartDebugExecution",
|
|
4911
|
+
version: "2019-06-01",
|
|
4912
|
+
protocol: "HTTPS",
|
|
4913
|
+
pathname: "/",
|
|
4914
|
+
method: "POST",
|
|
4915
|
+
authType: "AK",
|
|
4916
|
+
style: "RPC",
|
|
4917
|
+
reqBodyType: "formData",
|
|
4918
|
+
bodyType: "json",
|
|
4919
|
+
});
|
|
4920
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.StartDebugExecutionResponse({}));
|
|
4921
|
+
}
|
|
4922
|
+
/**
|
|
4923
|
+
* 启动一个调试执行
|
|
4924
|
+
*
|
|
4925
|
+
* @param request - StartDebugExecutionRequest
|
|
4926
|
+
* @returns StartDebugExecutionResponse
|
|
4927
|
+
*/
|
|
4928
|
+
async startDebugExecution(request) {
|
|
4929
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4930
|
+
return await this.startDebugExecutionWithOptions(request, runtime);
|
|
4931
|
+
}
|
|
4527
4932
|
/**
|
|
4528
4933
|
* Starts an execution.
|
|
4529
4934
|
*
|
|
@@ -4856,6 +5261,9 @@ class Client extends openapi_core_1.default {
|
|
|
4856
5261
|
if (!$dara.isNull(request.deployedRevisionId)) {
|
|
4857
5262
|
query["DeployedRevisionId"] = request.deployedRevisionId;
|
|
4858
5263
|
}
|
|
5264
|
+
if (!$dara.isNull(request.monitorMetadata)) {
|
|
5265
|
+
query["MonitorMetadata"] = request.monitorMetadata;
|
|
5266
|
+
}
|
|
4859
5267
|
if (!$dara.isNull(request.name)) {
|
|
4860
5268
|
query["Name"] = request.name;
|
|
4861
5269
|
}
|
|
@@ -4898,7 +5306,71 @@ class Client extends openapi_core_1.default {
|
|
|
4898
5306
|
return await this.updateApplicationGroupWithOptions(request, runtime);
|
|
4899
5307
|
}
|
|
4900
5308
|
/**
|
|
4901
|
-
*
|
|
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.
|
|
4902
5374
|
*
|
|
4903
5375
|
* @param request - UpdateExecutionRequest
|
|
4904
5376
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4945,7 +5417,7 @@ class Client extends openapi_core_1.default {
|
|
|
4945
5417
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateExecutionResponse({}));
|
|
4946
5418
|
}
|
|
4947
5419
|
/**
|
|
4948
|
-
*
|
|
5420
|
+
* Updates an execution in the Running or Waiting state.
|
|
4949
5421
|
*
|
|
4950
5422
|
* @param request - UpdateExecutionRequest
|
|
4951
5423
|
* @returns UpdateExecutionResponse
|
|
@@ -5017,7 +5489,7 @@ class Client extends openapi_core_1.default {
|
|
|
5017
5489
|
return await this.updateInstancePackageStateWithOptions(request, runtime);
|
|
5018
5490
|
}
|
|
5019
5491
|
/**
|
|
5020
|
-
* Modifies an O
|
|
5492
|
+
* Modifies an O\\\\\\\\\\\\\\\\\\\\&M item.
|
|
5021
5493
|
*
|
|
5022
5494
|
* @param tmpReq - UpdateOpsItemRequest
|
|
5023
5495
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5093,7 +5565,7 @@ class Client extends openapi_core_1.default {
|
|
|
5093
5565
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateOpsItemResponse({}));
|
|
5094
5566
|
}
|
|
5095
5567
|
/**
|
|
5096
|
-
* Modifies an O
|
|
5568
|
+
* Modifies an O\\\\\\\\\\\\\\\\\\\\&M item.
|
|
5097
5569
|
*
|
|
5098
5570
|
* @param request - UpdateOpsItemRequest
|
|
5099
5571
|
* @returns UpdateOpsItemResponse
|
|
@@ -5243,7 +5715,7 @@ class Client extends openapi_core_1.default {
|
|
|
5243
5715
|
return await this.updatePatchBaselineWithOptions(request, runtime);
|
|
5244
5716
|
}
|
|
5245
5717
|
/**
|
|
5246
|
-
* 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.
|
|
5247
5719
|
*
|
|
5248
5720
|
* @param tmpReq - UpdateSecretParameterRequest
|
|
5249
5721
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5292,7 +5764,7 @@ class Client extends openapi_core_1.default {
|
|
|
5292
5764
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateSecretParameterResponse({}));
|
|
5293
5765
|
}
|
|
5294
5766
|
/**
|
|
5295
|
-
* 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.
|
|
5296
5768
|
*
|
|
5297
5769
|
* @param request - UpdateSecretParameterRequest
|
|
5298
5770
|
* @returns UpdateSecretParameterResponse
|
|
@@ -5437,6 +5909,60 @@ class Client extends openapi_core_1.default {
|
|
|
5437
5909
|
let runtime = new $dara.RuntimeOptions({});
|
|
5438
5910
|
return await this.updateTemplateWithOptions(request, runtime);
|
|
5439
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
|
+
}
|
|
5440
5966
|
/**
|
|
5441
5967
|
* Check whether a template is valid.
|
|
5442
5968
|
*
|