tencentcloud-sdk-nodejs
Version:
263 lines (262 loc) • 18.2 kB
TypeScript
import { AbstractClient } from "../../../common/abstract_client";
import { ClientConfig } from "../../../common/interface";
import { ListAggregateDiscoveredResourcesRequest, AddAggregateCompliancePackResponse, CloseAggregateConfigRuleResponse, AddCompliancePackRequest, ListRemediationsRequest, DescribeAggregatorRequest, PutEvaluationsResponse, OpenAggregateConfigRuleResponse, AddAggregateCompliancePackRequest, DescribeAggregateCompliancePackResponse, StartAggregateConfigRuleEvaluationResponse, CloseConfigRecorderRequest, DescribeSystemRuleRequest, ListConfigRulesResponse, DeleteConfigRuleResponse, UpdateRemediationResponse, ListSystemRulesResponse, CreateAggregatorResponse, DeleteAlarmPolicyRequest, ListAggregateCompliancePacksResponse, ListSystemCompliancePacksResponse, ListAggregateConfigRuleEvaluationResultsResponse, CloseAggregateConfigRuleRequest, DescribeAggregateDiscoveredResourceResponse, ListConfigRulesRequest, DescribeAggregateConfigRuleRequest, ListAggregateConfigRulesRequest, ListConfigRuleEvaluationResultsResponse, UpdateAlarmPolicyResponse, DescribeCompliancePackRequest, ListDiscoveredResourcesResponse, UpdateAggregateCompliancePackStatusResponse, DescribeAggregateConfigDeliverResponse, OpenConfigRecorderResponse, UpdateConfigDeliverResponse, DescribeConfigRuleResponse, UpdateCompliancePackRequest, ListCompliancePacksRequest, UpdateCompliancePackStatusResponse, UpdateAggregateCompliancePackStatusRequest, UpdateConfigRecorderResponse, ListAlarmPolicyRequest, DescribeSystemCompliancePackResponse, OpenAggregateConfigRuleRequest, ListSystemCompliancePacksRequest, ListAlarmPolicyResponse, ListAggregatorsResponse, ListConfigRuleEvaluationResultsRequest, DeleteAggregateConfigRuleResponse, CreateAggregatorRequest, DescribeConfigRecorderResponse, UpdateAggregateCompliancePackRequest, CreateRemediationRequest, AddCompliancePackResponse, DescribeAggregateConfigDeliverRequest, ListAggregatorsRequest, UpdateAggregateConfigDeliverRequest, PutEvaluationsRequest, UpdateConfigRuleRequest, DetachConfigRuleToCompliancePackRequest, UpdateRemediationRequest, DetachAggregateConfigRuleToCompliancePackResponse, DescribeAggregateDiscoveredResourceRequest, AddConfigRuleResponse, AddConfigRuleRequest, ListCompliancePacksResponse, DescribeConfigDeliverResponse, DetachConfigRuleToCompliancePackResponse, UpdateAlarmPolicyRequest, CloseConfigRuleRequest, DescribeSystemCompliancePackRequest, AddAggregateConfigRuleResponse, OpenConfigRuleResponse, DescribeDiscoveredResourceResponse, DescribeConfigDeliverRequest, UpdateConfigRuleResponse, DetachAggregateConfigRuleToCompliancePackRequest, ListAggregateCompliancePacksRequest, ListResourceTypesResponse, DeleteRemediationsResponse, DeleteConfigRuleRequest, ListAggregateConfigRuleEvaluationResultsRequest, UpdateCompliancePackStatusRequest, DeleteAggregateConfigRuleRequest, DeleteCompliancePackResponse, CreateRemediationResponse, UpdateAggregateConfigDeliverResponse, UpdateAggregateCompliancePackResponse, DeleteAggregateCompliancePackRequest, ListSystemRulesRequest, DescribeAggregatorResponse, AddAlarmPolicyResponse, DescribeAggregateConfigRuleResponse, StartAggregateConfigRuleEvaluationRequest, ListRemediationExecutionsRequest, DescribeDiscoveredResourceRequest, ListRemediationExecutionsResponse, CloseConfigRecorderResponse, DescribeConfigRecorderRequest, StartConfigRuleEvaluationRequest, DescribeConfigRuleRequest, UpdateConfigDeliverRequest, ListDiscoveredResourcesRequest, AddAlarmPolicyRequest, ListResourceTypesRequest, UpdateConfigRecorderRequest, UpdateCompliancePackResponse, ListAggregateConfigRulesResponse, StartRemediationResponse, DeleteAggregateCompliancePackResponse, DescribeCompliancePackResponse, DescribeAggregateCompliancePackRequest, OpenConfigRuleRequest, StartRemediationRequest, CloseConfigRuleResponse, DescribeSystemRuleResponse, UpdateAggregateConfigRuleRequest, OpenConfigRecorderRequest, DeleteAlarmPolicyResponse, AddAggregateConfigRuleRequest, DeleteCompliancePackRequest, StartConfigRuleEvaluationResponse, ListAggregateDiscoveredResourcesResponse, UpdateAggregateConfigRuleResponse, ListRemediationsResponse, DeleteRemediationsRequest } from "./config_models";
/**
* config client
* @class
*/
export declare class Client extends AbstractClient {
constructor(clientConfig: ClientConfig);
/**
* 新建 规则
*/
AddConfigRule(req: AddConfigRuleRequest, cb?: (error: string, rep: AddConfigRuleResponse) => void): Promise<AddConfigRuleResponse>;
/**
* 合规包详情
*/
DescribeCompliancePack(req: DescribeCompliancePackRequest, cb?: (error: string, rep: DescribeCompliancePackResponse) => void): Promise<DescribeCompliancePackResponse>;
/**
* 账号组触发评估
*/
StartAggregateConfigRuleEvaluation(req: StartAggregateConfigRuleEvaluationRequest, cb?: (error: string, rep: StartAggregateConfigRuleEvaluationResponse) => void): Promise<StartAggregateConfigRuleEvaluationResponse>;
/**
* 账号组编辑投递设置
*/
UpdateAggregateConfigDeliver(req: UpdateAggregateConfigDeliverRequest, cb?: (error: string, rep: UpdateAggregateConfigDeliverResponse) => void): Promise<UpdateAggregateConfigDeliverResponse>;
/**
* 获取资源列表
*/
ListDiscoveredResources(req: ListDiscoveredResourcesRequest, cb?: (error: string, rep: ListDiscoveredResourcesResponse) => void): Promise<ListDiscoveredResourcesResponse>;
/**
* 账号组列表
*/
ListAggregators(req: ListAggregatorsRequest, cb?: (error: string, rep: ListAggregatorsResponse) => void): Promise<ListAggregatorsResponse>;
/**
* 获取规则列表
*/
ListConfigRules(req: ListConfigRulesRequest, cb?: (error: string, rep: ListConfigRulesResponse) => void): Promise<ListConfigRulesResponse>;
/**
* 开启规则
*/
OpenConfigRule(req: OpenConfigRuleRequest, cb?: (error: string, rep: OpenConfigRuleResponse) => void): Promise<OpenConfigRuleResponse>;
/**
* 新建账号组
*/
CreateAggregator(req: CreateAggregatorRequest, cb?: (error: string, rep: CreateAggregatorResponse) => void): Promise<CreateAggregatorResponse>;
/**
* 资源监控管理-开启监控
*/
OpenConfigRecorder(req?: OpenConfigRecorderRequest, cb?: (error: string, rep: OpenConfigRecorderResponse) => void): Promise<OpenConfigRecorderResponse>;
/**
* 触发评估
*/
StartConfigRuleEvaluation(req: StartConfigRuleEvaluationRequest, cb?: (error: string, rep: StartConfigRuleEvaluationResponse) => void): Promise<StartConfigRuleEvaluationResponse>;
/**
* 删除告警规则
*/
DeleteAlarmPolicy(req: DeleteAlarmPolicyRequest, cb?: (error: string, rep: DeleteAlarmPolicyResponse) => void): Promise<DeleteAlarmPolicyResponse>;
/**
* 账号组新建规则
*/
AddAggregateConfigRule(req: AddAggregateConfigRuleRequest, cb?: (error: string, rep: AddAggregateConfigRuleResponse) => void): Promise<AddAggregateConfigRuleResponse>;
/**
* 账号组获取资源列表
*/
ListAggregateDiscoveredResources(req: ListAggregateDiscoveredResourcesRequest, cb?: (error: string, rep: ListAggregateDiscoveredResourcesResponse) => void): Promise<ListAggregateDiscoveredResourcesResponse>;
/**
* 新增规则修正设置
*/
CreateRemediation(req: CreateRemediationRequest, cb?: (error: string, rep: CreateRemediationResponse) => void): Promise<CreateRemediationResponse>;
/**
* 获取预设规则列表
*/
ListSystemRules(req: ListSystemRulesRequest, cb?: (error: string, rep: ListSystemRulesResponse) => void): Promise<ListSystemRulesResponse>;
/**
* 删除规则
*/
DeleteConfigRule(req: DeleteConfigRuleRequest, cb?: (error: string, rep: DeleteConfigRuleResponse) => void): Promise<DeleteConfigRuleResponse>;
/**
* 获取资源类型列表
*/
ListResourceTypes(req?: ListResourceTypesRequest, cb?: (error: string, rep: ListResourceTypesResponse) => void): Promise<ListResourceTypesResponse>;
/**
* 新增告警监控规则
*/
UpdateRemediation(req: UpdateRemediationRequest, cb?: (error: string, rep: UpdateRemediationResponse) => void): Promise<UpdateRemediationResponse>;
/**
* 编辑合规包
*/
UpdateCompliancePack(req: UpdateCompliancePackRequest, cb?: (error: string, rep: UpdateCompliancePackResponse) => void): Promise<UpdateCompliancePackResponse>;
/**
* 手动执行规则修复
*/
StartRemediation(req: StartRemediationRequest, cb?: (error: string, rep: StartRemediationResponse) => void): Promise<StartRemediationResponse>;
/**
* 获取投递设置详情
*/
DescribeConfigDeliver(req?: DescribeConfigDeliverRequest, cb?: (error: string, rep: DescribeConfigDeliverResponse) => void): Promise<DescribeConfigDeliverResponse>;
/**
* 修正设置列表
*/
ListRemediations(req: ListRemediationsRequest, cb?: (error: string, rep: ListRemediationsResponse) => void): Promise<ListRemediationsResponse>;
/**
* 编辑投递设置
*/
UpdateConfigDeliver(req: UpdateConfigDeliverRequest, cb?: (error: string, rep: UpdateConfigDeliverResponse) => void): Promise<UpdateConfigDeliverResponse>;
/**
* 账号组删除合规包
*/
DeleteAggregateCompliancePack(req: DeleteAggregateCompliancePackRequest, cb?: (error: string, rep: DeleteAggregateCompliancePackResponse) => void): Promise<DeleteAggregateCompliancePackResponse>;
/**
* 账号组获取合规包列表
*/
ListAggregateCompliancePacks(req: ListAggregateCompliancePacksRequest, cb?: (error: string, rep: ListAggregateCompliancePacksResponse) => void): Promise<ListAggregateCompliancePacksResponse>;
/**
* 账号组获取规则详情
*/
DescribeAggregateConfigRule(req: DescribeAggregateConfigRuleRequest, cb?: (error: string, rep: DescribeAggregateConfigRuleResponse) => void): Promise<DescribeAggregateConfigRuleResponse>;
/**
* 获取监控详情
*/
DescribeConfigRecorder(req?: DescribeConfigRecorderRequest, cb?: (error: string, rep: DescribeConfigRecorderResponse) => void): Promise<DescribeConfigRecorderResponse>;
/**
* 告警规则列表
*/
ListAlarmPolicy(req: ListAlarmPolicyRequest, cb?: (error: string, rep: ListAlarmPolicyResponse) => void): Promise<ListAlarmPolicyResponse>;
/**
* 账号组编辑规则
*/
UpdateAggregateConfigRule(req: UpdateAggregateConfigRuleRequest, cb?: (error: string, rep: UpdateAggregateConfigRuleResponse) => void): Promise<UpdateAggregateConfigRuleResponse>;
/**
* 开启、关闭合规包
*/
UpdateCompliancePackStatus(req: UpdateCompliancePackStatusRequest, cb?: (error: string, rep: UpdateCompliancePackStatusResponse) => void): Promise<UpdateCompliancePackStatusResponse>;
/**
* 新增告警监控规则
*/
AddAlarmPolicy(req: AddAlarmPolicyRequest, cb?: (error: string, rep: AddAlarmPolicyResponse) => void): Promise<AddAlarmPolicyResponse>;
/**
* 账号组合规包详情
*/
DescribeAggregateCompliancePack(req: DescribeAggregateCompliancePackRequest, cb?: (error: string, rep: DescribeAggregateCompliancePackResponse) => void): Promise<DescribeAggregateCompliancePackResponse>;
/**
* 账号组开启规则
*/
OpenAggregateConfigRule(req: OpenAggregateConfigRuleRequest, cb?: (error: string, rep: OpenAggregateConfigRuleResponse) => void): Promise<OpenAggregateConfigRuleResponse>;
/**
* 账号组获取投递设置详情
*/
DescribeAggregateConfigDeliver(req: DescribeAggregateConfigDeliverRequest, cb?: (error: string, rep: DescribeAggregateConfigDeliverResponse) => void): Promise<DescribeAggregateConfigDeliverResponse>;
/**
* 合规包移除规则
*/
DetachConfigRuleToCompliancePack(req: DetachConfigRuleToCompliancePackRequest, cb?: (error: string, rep: DetachConfigRuleToCompliancePackResponse) => void): Promise<DetachConfigRuleToCompliancePackResponse>;
/**
* 获取规则详情
*/
DescribeConfigRule(req: DescribeConfigRuleRequest, cb?: (error: string, rep: DescribeConfigRuleResponse) => void): Promise<DescribeConfigRuleResponse>;
/**
* 账号组获取评估结果--规则维度(某个规则下资源的评估结果列表)
*/
ListAggregateConfigRuleEvaluationResults(req: ListAggregateConfigRuleEvaluationResultsRequest, cb?: (error: string, rep: ListAggregateConfigRuleEvaluationResultsResponse) => void): Promise<ListAggregateConfigRuleEvaluationResultsResponse>;
/**
* 新建合规包
*/
AddCompliancePack(req: AddCompliancePackRequest, cb?: (error: string, rep: AddCompliancePackResponse) => void): Promise<AddCompliancePackResponse>;
/**
* 资源监控管理-关闭监控
*/
CloseConfigRecorder(req?: CloseConfigRecorderRequest, cb?: (error: string, rep: CloseConfigRecorderResponse) => void): Promise<CloseConfigRecorderResponse>;
/**
* 资源详情
*/
DescribeDiscoveredResource(req: DescribeDiscoveredResourceRequest, cb?: (error: string, rep: DescribeDiscoveredResourceResponse) => void): Promise<DescribeDiscoveredResourceResponse>;
/**
* 更新告警规则
*/
UpdateAlarmPolicy(req: UpdateAlarmPolicyRequest, cb?: (error: string, rep: UpdateAlarmPolicyResponse) => void): Promise<UpdateAlarmPolicyResponse>;
/**
* 账号组详情
*/
DescribeAggregator(req: DescribeAggregatorRequest, cb?: (error: string, rep: DescribeAggregatorResponse) => void): Promise<DescribeAggregatorResponse>;
/**
* 编辑监控范围
*/
UpdateConfigRecorder(req: UpdateConfigRecorderRequest, cb?: (error: string, rep: UpdateConfigRecorderResponse) => void): Promise<UpdateConfigRecorderResponse>;
/**
* 删除规则修正设置
*/
DeleteRemediations(req: DeleteRemediationsRequest, cb?: (error: string, rep: DeleteRemediationsResponse) => void): Promise<DeleteRemediationsResponse>;
/**
* 上报自定义规则评估结果
*/
PutEvaluations(req: PutEvaluationsRequest, cb?: (error: string, rep: PutEvaluationsResponse) => void): Promise<PutEvaluationsResponse>;
/**
* 账号组编辑合规包
*/
UpdateAggregateCompliancePack(req: UpdateAggregateCompliancePackRequest, cb?: (error: string, rep: UpdateAggregateCompliancePackResponse) => void): Promise<UpdateAggregateCompliancePackResponse>;
/**
* 获取系统合规包详情
*/
DescribeSystemCompliancePack(req: DescribeSystemCompliancePackRequest, cb?: (error: string, rep: DescribeSystemCompliancePackResponse) => void): Promise<DescribeSystemCompliancePackResponse>;
/**
* 编辑规则
*/
UpdateConfigRule(req: UpdateConfigRuleRequest, cb?: (error: string, rep: UpdateConfigRuleResponse) => void): Promise<UpdateConfigRuleResponse>;
/**
* 预设规则详情
*/
DescribeSystemRule(req: DescribeSystemRuleRequest, cb?: (error: string, rep: DescribeSystemRuleResponse) => void): Promise<DescribeSystemRuleResponse>;
/**
* 账号组关闭规则
*/
CloseAggregateConfigRule(req: CloseAggregateConfigRuleRequest, cb?: (error: string, rep: CloseAggregateConfigRuleResponse) => void): Promise<CloseAggregateConfigRuleResponse>;
/**
* 账号组合规包移除规则
*/
DetachAggregateConfigRuleToCompliancePack(req: DetachAggregateConfigRuleToCompliancePackRequest, cb?: (error: string, rep: DetachAggregateConfigRuleToCompliancePackResponse) => void): Promise<DetachAggregateConfigRuleToCompliancePackResponse>;
/**
* 修正记录
*/
ListRemediationExecutions(req: ListRemediationExecutionsRequest, cb?: (error: string, rep: ListRemediationExecutionsResponse) => void): Promise<ListRemediationExecutionsResponse>;
/**
* 账号组获取规则列表
*/
ListAggregateConfigRules(req: ListAggregateConfigRulesRequest, cb?: (error: string, rep: ListAggregateConfigRulesResponse) => void): Promise<ListAggregateConfigRulesResponse>;
/**
* 获取系统合规包列表
*/
ListSystemCompliancePacks(req: ListSystemCompliancePacksRequest, cb?: (error: string, rep: ListSystemCompliancePacksResponse) => void): Promise<ListSystemCompliancePacksResponse>;
/**
* 获取评估结果--规则维度(某个规则下资源的评估结果列表)
*/
ListConfigRuleEvaluationResults(req: ListConfigRuleEvaluationResultsRequest, cb?: (error: string, rep: ListConfigRuleEvaluationResultsResponse) => void): Promise<ListConfigRuleEvaluationResultsResponse>;
/**
* 账号组新建合规包
*/
AddAggregateCompliancePack(req: AddAggregateCompliancePackRequest, cb?: (error: string, rep: AddAggregateCompliancePackResponse) => void): Promise<AddAggregateCompliancePackResponse>;
/**
* 账号组资源详情
*/
DescribeAggregateDiscoveredResource(req: DescribeAggregateDiscoveredResourceRequest, cb?: (error: string, rep: DescribeAggregateDiscoveredResourceResponse) => void): Promise<DescribeAggregateDiscoveredResourceResponse>;
/**
* 账号组开启、关闭合规包
*/
UpdateAggregateCompliancePackStatus(req: UpdateAggregateCompliancePackStatusRequest, cb?: (error: string, rep: UpdateAggregateCompliancePackStatusResponse) => void): Promise<UpdateAggregateCompliancePackStatusResponse>;
/**
* 关闭规则
*/
CloseConfigRule(req: CloseConfigRuleRequest, cb?: (error: string, rep: CloseConfigRuleResponse) => void): Promise<CloseConfigRuleResponse>;
/**
* 获取合规包列表
*/
ListCompliancePacks(req: ListCompliancePacksRequest, cb?: (error: string, rep: ListCompliancePacksResponse) => void): Promise<ListCompliancePacksResponse>;
/**
* 删除合规包
*/
DeleteCompliancePack(req: DeleteCompliancePackRequest, cb?: (error: string, rep: DeleteCompliancePackResponse) => void): Promise<DeleteCompliancePackResponse>;
/**
* 账号组删除规则
*/
DeleteAggregateConfigRule(req: DeleteAggregateConfigRuleRequest, cb?: (error: string, rep: DeleteAggregateConfigRuleResponse) => void): Promise<DeleteAggregateConfigRuleResponse>;
}