@alicloud/config20200907 4.2.0 → 4.2.2
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 +612 -876
- package/dist/client.js +642 -876
- package/dist/client.js.map +1 -1
- package/dist/models/ActiveAggregateConfigRulesRequest.d.ts +0 -25
- package/dist/models/ActiveAggregateConfigRulesRequest.js.map +1 -1
- package/dist/models/ActiveAggregateConfigRulesResponseBody.d.ts +0 -39
- package/dist/models/ActiveAggregateConfigRulesResponseBody.js.map +1 -1
- package/dist/models/ActiveConfigRulesRequest.d.ts +0 -14
- package/dist/models/ActiveConfigRulesRequest.js.map +1 -1
- package/dist/models/ActiveConfigRulesResponseBody.d.ts +0 -42
- package/dist/models/ActiveConfigRulesResponseBody.js.map +1 -1
- package/dist/models/AttachAggregateConfigRuleToCompliancePackRequest.d.ts +0 -21
- package/dist/models/AttachAggregateConfigRuleToCompliancePackRequest.js.map +1 -1
- package/dist/models/AttachAggregateConfigRuleToCompliancePackResponseBody.d.ts +0 -42
- package/dist/models/AttachAggregateConfigRuleToCompliancePackResponseBody.js.map +1 -1
- package/dist/models/AttachConfigRuleToCompliancePackRequest.d.ts +0 -14
- package/dist/models/AttachConfigRuleToCompliancePackRequest.js.map +1 -1
- package/dist/models/AttachConfigRuleToCompliancePackResponseBody.d.ts +0 -42
- package/dist/models/AttachConfigRuleToCompliancePackResponseBody.js.map +1 -1
- package/dist/models/CopyCompliancePacksRequest.d.ts +0 -25
- package/dist/models/CopyCompliancePacksRequest.js.map +1 -1
- package/dist/models/CopyCompliancePacksResponseBody.d.ts +0 -17
- package/dist/models/CopyCompliancePacksResponseBody.js.map +1 -1
- package/dist/models/CopyConfigRulesRequest.d.ts +0 -23
- package/dist/models/CopyConfigRulesRequest.js.map +1 -1
- package/dist/models/CopyConfigRulesResponseBody.d.ts +0 -17
- package/dist/models/CopyConfigRulesResponseBody.js.map +1 -1
- package/dist/models/CreateAdvancedSearchFileRequest.d.ts +0 -5
- package/dist/models/CreateAdvancedSearchFileRequest.js.map +1 -1
- package/dist/models/CreateAdvancedSearchFileResponseBody.d.ts +0 -7
- package/dist/models/CreateAdvancedSearchFileResponseBody.js.map +1 -1
- package/dist/models/CreateAggregateAdvancedSearchFileRequest.d.ts +1 -1
- package/dist/models/CreateAggregateCompliancePackRequest.d.ts +111 -57
- package/dist/models/CreateAggregateCompliancePackRequest.js.map +1 -1
- package/dist/models/CreateAggregateCompliancePackResponseBody.d.ts +1 -1
- package/dist/models/CreateAggregateCompliancePackShrinkRequest.d.ts +88 -36
- package/dist/models/CreateAggregateCompliancePackShrinkRequest.js.map +1 -1
- package/dist/models/CreateAggregateConfigDeliveryChannelRequest.d.ts +60 -42
- package/dist/models/CreateAggregateConfigDeliveryChannelRequest.js.map +1 -1
- package/dist/models/CreateAggregateConfigDeliveryChannelResponseBody.d.ts +1 -1
- package/dist/models/CreateAggregateConfigRuleRequest.d.ts +94 -81
- package/dist/models/CreateAggregateConfigRuleRequest.js +2 -0
- package/dist/models/CreateAggregateConfigRuleRequest.js.map +1 -1
- package/dist/models/CreateAggregateConfigRuleResponseBody.d.ts +2 -2
- package/dist/models/CreateAggregateConfigRuleShrinkRequest.d.ts +90 -73
- package/dist/models/CreateAggregateConfigRuleShrinkRequest.js +2 -0
- package/dist/models/CreateAggregateConfigRuleShrinkRequest.js.map +1 -1
- package/dist/models/CreateAggregateRemediationRequest.d.ts +27 -20
- package/dist/models/CreateAggregateRemediationRequest.js.map +1 -1
- package/dist/models/CreateAggregateRemediationResponseBody.d.ts +1 -1
- package/dist/models/CreateAggregatorRequest.d.ts +23 -29
- package/dist/models/CreateAggregatorRequest.js.map +1 -1
- package/dist/models/CreateAggregatorResponseBody.d.ts +1 -1
- package/dist/models/CreateAggregatorShrinkRequest.d.ts +16 -20
- package/dist/models/CreateAggregatorShrinkRequest.js.map +1 -1
- package/dist/models/CreateCompliancePackRequest.d.ts +0 -246
- package/dist/models/CreateCompliancePackRequest.js.map +1 -1
- package/dist/models/CreateCompliancePackResponseBody.d.ts +0 -14
- package/dist/models/CreateCompliancePackResponseBody.js.map +1 -1
- package/dist/models/CreateCompliancePackShrinkRequest.d.ts +0 -159
- package/dist/models/CreateCompliancePackShrinkRequest.js.map +1 -1
- package/dist/models/CreateConfigDeliveryChannelRequest.d.ts +65 -49
- package/dist/models/CreateConfigDeliveryChannelRequest.js.map +1 -1
- package/dist/models/CreateConfigRuleRequest.d.ts +92 -61
- package/dist/models/CreateConfigRuleRequest.js +2 -0
- package/dist/models/CreateConfigRuleRequest.js.map +1 -1
- package/dist/models/CreateConfigRuleShrinkRequest.d.ts +88 -55
- package/dist/models/CreateConfigRuleShrinkRequest.js +2 -0
- package/dist/models/CreateConfigRuleShrinkRequest.js.map +1 -1
- package/dist/models/CreateRemediationRequest.d.ts +25 -18
- package/dist/models/CreateRemediationRequest.js.map +1 -1
- package/dist/models/CreateRemediationResponseBody.d.ts +1 -1
- package/dist/models/CreateReportTemplateRequest.d.ts +71 -1
- package/dist/models/CreateReportTemplateRequest.js.map +1 -1
- package/dist/models/CreateReportTemplateResponseBody.d.ts +6 -0
- package/dist/models/CreateReportTemplateResponseBody.js.map +1 -1
- package/dist/models/CreateReportTemplateShrinkRequest.d.ts +56 -1
- package/dist/models/CreateReportTemplateShrinkRequest.js.map +1 -1
- package/dist/models/DeactiveAggregateConfigRulesRequest.d.ts +0 -25
- package/dist/models/DeactiveAggregateConfigRulesRequest.js.map +1 -1
- package/dist/models/DeactiveAggregateConfigRulesResponseBody.d.ts +0 -42
- package/dist/models/DeactiveAggregateConfigRulesResponseBody.js.map +1 -1
- package/dist/models/DeactiveConfigRulesRequest.d.ts +0 -18
- package/dist/models/DeactiveConfigRulesRequest.js.map +1 -1
- package/dist/models/DeactiveConfigRulesResponseBody.d.ts +0 -42
- package/dist/models/DeactiveConfigRulesResponseBody.js.map +1 -1
- package/dist/models/DeleteAggregateCompliancePacksRequest.d.ts +0 -31
- package/dist/models/DeleteAggregateCompliancePacksRequest.js.map +1 -1
- package/dist/models/DeleteAggregateCompliancePacksResponseBody.d.ts +0 -42
- package/dist/models/DeleteAggregateCompliancePacksResponseBody.js.map +1 -1
- package/dist/models/DeleteAggregateConfigDeliveryChannelRequest.d.ts +0 -12
- package/dist/models/DeleteAggregateConfigDeliveryChannelRequest.js.map +1 -1
- package/dist/models/DeleteAggregateConfigDeliveryChannelResponseBody.d.ts +0 -14
- package/dist/models/DeleteAggregateConfigDeliveryChannelResponseBody.js.map +1 -1
- package/dist/models/DeleteAggregateConfigRulesRequest.d.ts +0 -14
- package/dist/models/DeleteAggregateConfigRulesRequest.js.map +1 -1
- package/dist/models/DeleteAggregateConfigRulesResponseBody.d.ts +0 -42
- package/dist/models/DeleteAggregateConfigRulesResponseBody.js.map +1 -1
- package/dist/models/DeleteAggregateRemediationsRequest.d.ts +3 -3
- package/dist/models/DeleteAggregateRemediationsResponseBody.d.ts +10 -8
- package/dist/models/DeleteAggregateRemediationsResponseBody.js.map +1 -1
- package/dist/models/DeleteAggregatorsRequest.d.ts +0 -12
- package/dist/models/DeleteAggregatorsRequest.js.map +1 -1
- package/dist/models/DeleteAggregatorsResponseBody.d.ts +0 -41
- package/dist/models/DeleteAggregatorsResponseBody.js.map +1 -1
- package/dist/models/DeleteCompliancePacksRequest.d.ts +0 -24
- package/dist/models/DeleteCompliancePacksRequest.js.map +1 -1
- package/dist/models/DeleteCompliancePacksResponseBody.d.ts +0 -42
- package/dist/models/DeleteCompliancePacksResponseBody.js.map +1 -1
- package/dist/models/DeleteConfigDeliveryChannelRequest.d.ts +0 -7
- package/dist/models/DeleteConfigDeliveryChannelRequest.js.map +1 -1
- package/dist/models/DeleteConfigDeliveryChannelResponseBody.d.ts +0 -14
- package/dist/models/DeleteConfigDeliveryChannelResponseBody.js.map +1 -1
- package/dist/models/DeleteConfigRulesRequest.d.ts +0 -7
- package/dist/models/DeleteConfigRulesRequest.js.map +1 -1
- package/dist/models/DeleteConfigRulesResponseBody.d.ts +0 -42
- package/dist/models/DeleteConfigRulesResponseBody.js.map +1 -1
- package/dist/models/DeleteRemediationsRequest.d.ts +2 -2
- package/dist/models/DeleteRemediationsResponseBody.d.ts +10 -8
- package/dist/models/DeleteRemediationsResponseBody.js.map +1 -1
- package/dist/models/DeleteReportTemplateRequest.d.ts +2 -0
- package/dist/models/DeleteReportTemplateRequest.js.map +1 -1
- package/dist/models/DeleteReportTemplateResponseBody.d.ts +6 -0
- package/dist/models/DeleteReportTemplateResponseBody.js.map +1 -1
- package/dist/models/DescribeDiscoveredResourceBatchRequest.d.ts +11 -2
- package/dist/models/DescribeDiscoveredResourceBatchRequest.js.map +1 -1
- package/dist/models/DescribeDiscoveredResourceBatchResponseBody.d.ts +2 -2
- package/dist/models/DescribeIntegratedServiceStatusRequest.d.ts +2 -0
- package/dist/models/DescribeIntegratedServiceStatusRequest.js.map +1 -1
- package/dist/models/DescribeIntegratedServiceStatusResponseBody.d.ts +11 -0
- package/dist/models/DescribeIntegratedServiceStatusResponseBody.js.map +1 -1
- package/dist/models/DescribeRemediationRequest.d.ts +1 -11
- package/dist/models/DescribeRemediationRequest.js.map +1 -1
- package/dist/models/DescribeRemediationResponseBody.d.ts +0 -103
- package/dist/models/DescribeRemediationResponseBody.js.map +1 -1
- package/dist/models/DetachAggregateConfigRuleToCompliancePackRequest.d.ts +0 -21
- package/dist/models/DetachAggregateConfigRuleToCompliancePackRequest.js.map +1 -1
- package/dist/models/DetachAggregateConfigRuleToCompliancePackResponseBody.d.ts +0 -42
- package/dist/models/DetachAggregateConfigRuleToCompliancePackResponseBody.js.map +1 -1
- package/dist/models/DetachConfigRuleToCompliancePackRequest.d.ts +1 -1
- package/dist/models/DetachConfigRuleToCompliancePackResponseBody.d.ts +20 -9
- package/dist/models/DetachConfigRuleToCompliancePackResponseBody.js.map +1 -1
- package/dist/models/DryRunConfigRuleRequest.d.ts +44 -0
- package/dist/models/DryRunConfigRuleRequest.js.map +1 -1
- package/dist/models/DryRunConfigRuleResponseBody.d.ts +30 -17
- package/dist/models/DryRunConfigRuleResponseBody.js.map +1 -1
- package/dist/models/EvaluatePreConfigRulesRequest.d.ts +21 -17
- package/dist/models/EvaluatePreConfigRulesRequest.js.map +1 -1
- package/dist/models/EvaluatePreConfigRulesResponseBody.d.ts +9 -7
- package/dist/models/EvaluatePreConfigRulesResponseBody.js.map +1 -1
- package/dist/models/EvaluatePreConfigRulesShrinkRequest.d.ts +5 -6
- package/dist/models/EvaluatePreConfigRulesShrinkRequest.js.map +1 -1
- package/dist/models/GenerateAggregateCompliancePackReportRequest.d.ts +14 -3
- package/dist/models/GenerateAggregateCompliancePackReportRequest.js.map +1 -1
- package/dist/models/GenerateAggregateCompliancePackReportResponseBody.d.ts +1 -1
- package/dist/models/GenerateAggregateConfigRulesReportRequest.d.ts +0 -23
- package/dist/models/GenerateAggregateConfigRulesReportRequest.js.map +1 -1
- package/dist/models/GenerateAggregateConfigRulesReportResponseBody.d.ts +0 -21
- package/dist/models/GenerateAggregateConfigRulesReportResponseBody.js.map +1 -1
- package/dist/models/GenerateAggregateResourceInventoryRequest.d.ts +0 -36
- package/dist/models/GenerateAggregateResourceInventoryRequest.js.map +1 -1
- package/dist/models/GenerateAggregateResourceInventoryResponseBody.d.ts +0 -7
- package/dist/models/GenerateAggregateResourceInventoryResponseBody.js.map +1 -1
- package/dist/models/GenerateCompliancePackReportRequest.d.ts +0 -14
- package/dist/models/GenerateCompliancePackReportRequest.js.map +1 -1
- package/dist/models/GenerateCompliancePackReportResponseBody.d.ts +0 -14
- package/dist/models/GenerateCompliancePackReportResponseBody.js.map +1 -1
- package/dist/models/GenerateConfigRulesReportRequest.d.ts +0 -16
- package/dist/models/GenerateConfigRulesReportRequest.js.map +1 -1
- package/dist/models/GenerateConfigRulesReportResponseBody.d.ts +0 -14
- package/dist/models/GenerateConfigRulesReportResponseBody.js.map +1 -1
- package/dist/models/GenerateReportFromTemplateRequest.d.ts +2 -0
- package/dist/models/GenerateReportFromTemplateRequest.js.map +1 -1
- package/dist/models/GenerateReportFromTemplateResponseBody.d.ts +3 -0
- package/dist/models/GenerateReportFromTemplateResponseBody.js.map +1 -1
- package/dist/models/GenerateResourceInventoryRequest.d.ts +5 -4
- package/dist/models/GenerateResourceInventoryRequest.js.map +1 -1
- package/dist/models/GetAdvancedSearchFileResponseBody.d.ts +0 -32
- package/dist/models/GetAdvancedSearchFileResponseBody.js.map +1 -1
- package/dist/models/GetAggregateAccountComplianceByPackRequest.d.ts +0 -14
- package/dist/models/GetAggregateAccountComplianceByPackRequest.js.map +1 -1
- package/dist/models/GetAggregateAccountComplianceByPackResponseBody.d.ts +0 -62
- package/dist/models/GetAggregateAccountComplianceByPackResponseBody.js.map +1 -1
- package/dist/models/GetAggregateAdvancedSearchFileRequest.d.ts +0 -7
- package/dist/models/GetAggregateAdvancedSearchFileRequest.js.map +1 -1
- package/dist/models/GetAggregateAdvancedSearchFileResponseBody.d.ts +0 -34
- package/dist/models/GetAggregateAdvancedSearchFileResponseBody.js.map +1 -1
- package/dist/models/GetAggregateCompliancePackReportRequest.d.ts +0 -14
- package/dist/models/GetAggregateCompliancePackReportRequest.js.map +1 -1
- package/dist/models/GetAggregateCompliancePackReportResponseBody.d.ts +0 -47
- package/dist/models/GetAggregateCompliancePackReportResponseBody.js.map +1 -1
- package/dist/models/GetAggregateCompliancePackRequest.d.ts +9 -11
- package/dist/models/GetAggregateCompliancePackRequest.js.map +1 -1
- package/dist/models/GetAggregateCompliancePackResponseBody.d.ts +102 -72
- package/dist/models/GetAggregateCompliancePackResponseBody.js.map +1 -1
- package/dist/models/GetAggregateCompliancePackShrinkRequest.d.ts +5 -5
- package/dist/models/GetAggregateComplianceSummaryResponseBody.d.ts +26 -5
- package/dist/models/GetAggregateComplianceSummaryResponseBody.js.map +1 -1
- package/dist/models/GetAggregateConfigDeliveryChannelRequest.d.ts +0 -14
- package/dist/models/GetAggregateConfigDeliveryChannelRequest.js.map +1 -1
- package/dist/models/GetAggregateConfigDeliveryChannelResponseBody.d.ts +0 -166
- package/dist/models/GetAggregateConfigDeliveryChannelResponseBody.js.map +1 -1
- package/dist/models/GetAggregateConfigRuleComplianceByPackRequest.d.ts +3 -3
- package/dist/models/GetAggregateConfigRuleComplianceByPackResponseBody.d.ts +47 -16
- package/dist/models/GetAggregateConfigRuleComplianceByPackResponseBody.js.map +1 -1
- package/dist/models/GetAggregateConfigRuleRequest.d.ts +9 -12
- package/dist/models/GetAggregateConfigRuleRequest.js.map +1 -1
- package/dist/models/GetAggregateConfigRuleResponseBody.d.ts +135 -119
- package/dist/models/GetAggregateConfigRuleResponseBody.js.map +1 -1
- package/dist/models/GetAggregateConfigRuleShrinkRequest.d.ts +5 -6
- package/dist/models/GetAggregateConfigRuleShrinkRequest.js.map +1 -1
- package/dist/models/GetAggregateConfigRuleSummaryByRiskLevelRequest.d.ts +0 -7
- package/dist/models/GetAggregateConfigRuleSummaryByRiskLevelRequest.js.map +1 -1
- package/dist/models/GetAggregateConfigRuleSummaryByRiskLevelResponseBody.d.ts +0 -36
- package/dist/models/GetAggregateConfigRuleSummaryByRiskLevelResponseBody.js.map +1 -1
- package/dist/models/GetAggregateConfigRulesReportRequest.d.ts +0 -14
- package/dist/models/GetAggregateConfigRulesReportRequest.js.map +1 -1
- package/dist/models/GetAggregateConfigRulesReportResponseBody.d.ts +0 -54
- package/dist/models/GetAggregateConfigRulesReportResponseBody.js.map +1 -1
- package/dist/models/GetAggregateDiscoveredResourceRequest.d.ts +13 -12
- package/dist/models/GetAggregateDiscoveredResourceRequest.js.map +1 -1
- package/dist/models/GetAggregateDiscoveredResourceResponseBody.d.ts +29 -20
- package/dist/models/GetAggregateDiscoveredResourceResponseBody.js.map +1 -1
- package/dist/models/GetAggregateResourceComplianceByConfigRuleRequest.d.ts +0 -35
- package/dist/models/GetAggregateResourceComplianceByConfigRuleRequest.js.map +1 -1
- package/dist/models/GetAggregateResourceComplianceByConfigRuleResponseBody.d.ts +0 -41
- package/dist/models/GetAggregateResourceComplianceByConfigRuleResponseBody.js.map +1 -1
- package/dist/models/GetAggregateResourceComplianceByPackRequest.d.ts +2 -2
- package/dist/models/GetAggregateResourceComplianceByPackResponseBody.d.ts +31 -3
- package/dist/models/GetAggregateResourceComplianceByPackResponseBody.js.map +1 -1
- package/dist/models/GetAggregateResourceComplianceGroupByRegionRequest.d.ts +0 -12
- package/dist/models/GetAggregateResourceComplianceGroupByRegionRequest.js.map +1 -1
- package/dist/models/GetAggregateResourceComplianceGroupByRegionResponseBody.d.ts +0 -45
- package/dist/models/GetAggregateResourceComplianceGroupByRegionResponseBody.js.map +1 -1
- package/dist/models/GetAggregateResourceComplianceGroupByResourceTypeRequest.d.ts +0 -12
- package/dist/models/GetAggregateResourceComplianceGroupByResourceTypeRequest.js.map +1 -1
- package/dist/models/GetAggregateResourceComplianceGroupByResourceTypeResponseBody.d.ts +0 -45
- package/dist/models/GetAggregateResourceComplianceGroupByResourceTypeResponseBody.js.map +1 -1
- package/dist/models/GetAggregateResourceComplianceTimelineRequest.d.ts +10 -10
- package/dist/models/GetAggregateResourceComplianceTimelineResponseBody.d.ts +20 -51
- package/dist/models/GetAggregateResourceComplianceTimelineResponseBody.js.map +1 -1
- package/dist/models/GetAggregateResourceConfigurationTimelineRequest.d.ts +11 -11
- package/dist/models/GetAggregateResourceConfigurationTimelineResponseBody.d.ts +24 -20
- package/dist/models/GetAggregateResourceConfigurationTimelineResponseBody.js.map +1 -1
- package/dist/models/GetAggregateResourceCountsGroupByRegionRequest.d.ts +0 -32
- package/dist/models/GetAggregateResourceCountsGroupByRegionRequest.js.map +1 -1
- package/dist/models/GetAggregateResourceCountsGroupByRegionResponseBody.d.ts +0 -34
- package/dist/models/GetAggregateResourceCountsGroupByRegionResponseBody.js.map +1 -1
- package/dist/models/GetAggregateResourceCountsGroupByResourceTypeRequest.d.ts +0 -32
- package/dist/models/GetAggregateResourceCountsGroupByResourceTypeRequest.js.map +1 -1
- package/dist/models/GetAggregateResourceCountsGroupByResourceTypeResponseBody.d.ts +0 -32
- package/dist/models/GetAggregateResourceCountsGroupByResourceTypeResponseBody.js.map +1 -1
- package/dist/models/GetAggregateResourceInventoryRequest.d.ts +0 -7
- package/dist/models/GetAggregateResourceInventoryRequest.js.map +1 -1
- package/dist/models/GetAggregateResourceInventoryResponseBody.d.ts +0 -34
- package/dist/models/GetAggregateResourceInventoryResponseBody.js.map +1 -1
- package/dist/models/GetAggregatorRequest.d.ts +6 -10
- package/dist/models/GetAggregatorRequest.js.map +1 -1
- package/dist/models/GetAggregatorResponseBody.d.ts +32 -19
- package/dist/models/GetAggregatorResponseBody.js.map +1 -1
- package/dist/models/GetAggregatorShrinkRequest.d.ts +2 -2
- package/dist/models/GetCompliancePackReportRequest.d.ts +0 -7
- package/dist/models/GetCompliancePackReportRequest.js.map +1 -1
- package/dist/models/GetCompliancePackReportResponseBody.d.ts +0 -47
- package/dist/models/GetCompliancePackReportResponseBody.js.map +1 -1
- package/dist/models/GetCompliancePackRequest.d.ts +12 -8
- package/dist/models/GetCompliancePackRequest.js.map +1 -1
- package/dist/models/GetCompliancePackResponseBody.d.ts +54 -48
- package/dist/models/GetCompliancePackResponseBody.js.map +1 -1
- package/dist/models/GetCompliancePackShrinkRequest.d.ts +4 -4
- package/dist/models/GetComplianceSummaryResponseBody.d.ts +36 -9
- package/dist/models/GetComplianceSummaryResponseBody.js.map +1 -1
- package/dist/models/GetConfigDeliveryChannelRequest.d.ts +1 -1
- package/dist/models/GetConfigDeliveryChannelResponseBody.d.ts +46 -37
- package/dist/models/GetConfigDeliveryChannelResponseBody.js.map +1 -1
- package/dist/models/GetConfigRuleComplianceByPackRequest.d.ts +1 -1
- package/dist/models/GetConfigRuleComplianceByPackResponseBody.d.ts +44 -13
- package/dist/models/GetConfigRuleComplianceByPackResponseBody.js.map +1 -1
- package/dist/models/GetConfigRuleRequest.d.ts +8 -8
- package/dist/models/GetConfigRuleResponseBody.d.ts +137 -114
- package/dist/models/GetConfigRuleResponseBody.js.map +1 -1
- package/dist/models/GetConfigRuleShrinkRequest.d.ts +3 -3
- package/dist/models/GetConfigRuleSummaryByRiskLevelResponseBody.d.ts +5 -3
- package/dist/models/GetConfigRuleSummaryByRiskLevelResponseBody.js.map +1 -1
- package/dist/models/GetConfigRulesReportRequest.d.ts +0 -7
- package/dist/models/GetConfigRulesReportRequest.js.map +1 -1
- package/dist/models/GetConfigRulesReportResponseBody.d.ts +0 -47
- package/dist/models/GetConfigRulesReportResponseBody.js.map +1 -1
- package/dist/models/GetConfigurationRecorderResponseBody.d.ts +10 -7
- package/dist/models/GetConfigurationRecorderResponseBody.js.map +1 -1
- package/dist/models/GetDiscoveredResourceCountsGroupByRegionRequest.d.ts +0 -9
- package/dist/models/GetDiscoveredResourceCountsGroupByRegionRequest.js.map +1 -1
- package/dist/models/GetDiscoveredResourceCountsGroupByRegionResponseBody.d.ts +0 -34
- package/dist/models/GetDiscoveredResourceCountsGroupByRegionResponseBody.js.map +1 -1
- package/dist/models/GetDiscoveredResourceCountsGroupByResourceTypeRequest.d.ts +0 -7
- package/dist/models/GetDiscoveredResourceCountsGroupByResourceTypeRequest.js.map +1 -1
- package/dist/models/GetDiscoveredResourceCountsGroupByResourceTypeResponseBody.d.ts +0 -34
- package/dist/models/GetDiscoveredResourceCountsGroupByResourceTypeResponseBody.js.map +1 -1
- package/dist/models/GetDiscoveredResourceRequest.d.ts +10 -9
- package/dist/models/GetDiscoveredResourceRequest.js.map +1 -1
- package/dist/models/GetDiscoveredResourceResponseBody.d.ts +26 -25
- package/dist/models/GetDiscoveredResourceResponseBody.js.map +1 -1
- package/dist/models/GetIntegratedServiceStatusRequest.d.ts +0 -6
- package/dist/models/GetIntegratedServiceStatusRequest.js.map +1 -1
- package/dist/models/GetIntegratedServiceStatusResponseBody.d.ts +0 -36
- package/dist/models/GetIntegratedServiceStatusResponseBody.js.map +1 -1
- package/dist/models/GetManagedRuleRequest.d.ts +2 -2
- package/dist/models/GetManagedRuleResponseBody.d.ts +33 -26
- package/dist/models/GetManagedRuleResponseBody.js.map +1 -1
- package/dist/models/GetRemediationTemplateRequest.d.ts +2 -2
- package/dist/models/GetRemediationTemplateResponseBody.d.ts +8 -8
- package/dist/models/GetReportFromTemplateRequest.d.ts +2 -0
- package/dist/models/GetReportFromTemplateRequest.js.map +1 -1
- package/dist/models/GetReportFromTemplateResponseBody.d.ts +36 -0
- package/dist/models/GetReportFromTemplateResponseBody.js.map +1 -1
- package/dist/models/GetReportTemplateRequest.d.ts +2 -0
- package/dist/models/GetReportTemplateRequest.js.map +1 -1
- package/dist/models/GetReportTemplateResponseBody.d.ts +75 -0
- package/dist/models/GetReportTemplateResponseBody.js.map +1 -1
- package/dist/models/GetResourceComplianceByConfigRuleRequest.d.ts +0 -17
- package/dist/models/GetResourceComplianceByConfigRuleRequest.js.map +1 -1
- package/dist/models/GetResourceComplianceByConfigRuleResponseBody.d.ts +0 -41
- package/dist/models/GetResourceComplianceByConfigRuleResponseBody.js.map +1 -1
- package/dist/models/GetResourceComplianceByPackRequest.d.ts +1 -1
- package/dist/models/GetResourceComplianceByPackResponseBody.d.ts +33 -1
- package/dist/models/GetResourceComplianceByPackResponseBody.js.map +1 -1
- package/dist/models/GetResourceComplianceGroupByRegionRequest.d.ts +0 -7
- package/dist/models/GetResourceComplianceGroupByRegionRequest.js.map +1 -1
- package/dist/models/GetResourceComplianceGroupByRegionResponseBody.d.ts +0 -45
- package/dist/models/GetResourceComplianceGroupByRegionResponseBody.js.map +1 -1
- package/dist/models/GetResourceComplianceGroupByResourceTypeRequest.d.ts +0 -7
- package/dist/models/GetResourceComplianceGroupByResourceTypeRequest.js.map +1 -1
- package/dist/models/GetResourceComplianceGroupByResourceTypeResponseBody.d.ts +0 -45
- package/dist/models/GetResourceComplianceGroupByResourceTypeResponseBody.js.map +1 -1
- package/dist/models/GetResourceComplianceTimelineRequest.d.ts +9 -9
- package/dist/models/GetResourceComplianceTimelineResponseBody.d.ts +19 -18
- package/dist/models/GetResourceComplianceTimelineResponseBody.js.map +1 -1
- package/dist/models/GetResourceConfigurationSampleRequest.d.ts +13 -1
- package/dist/models/GetResourceConfigurationSampleRequest.js.map +1 -1
- package/dist/models/GetResourceConfigurationSampleResponseBody.d.ts +54 -6
- package/dist/models/GetResourceConfigurationSampleResponseBody.js.map +1 -1
- package/dist/models/GetResourceConfigurationTimelineRequest.d.ts +6 -6
- package/dist/models/GetResourceConfigurationTimelineResponseBody.d.ts +19 -17
- package/dist/models/GetResourceConfigurationTimelineResponseBody.js.map +1 -1
- package/dist/models/GetResourceInventoryResponseBody.d.ts +7 -6
- package/dist/models/GetResourceInventoryResponseBody.js.map +1 -1
- package/dist/models/GetResourceTypePropertiesRequest.d.ts +4 -0
- package/dist/models/GetResourceTypePropertiesRequest.js.map +1 -1
- package/dist/models/GetResourceTypePropertiesResponseBody.d.ts +19 -16
- package/dist/models/GetResourceTypePropertiesResponseBody.js.map +1 -1
- package/dist/models/GetSupportedResourceRelationConfigResponseBody.d.ts +10 -7
- package/dist/models/GetSupportedResourceRelationConfigResponseBody.js.map +1 -1
- package/dist/models/IgnoreAggregateEvaluationResultsRequest.d.ts +0 -60
- package/dist/models/IgnoreAggregateEvaluationResultsRequest.js.map +1 -1
- package/dist/models/IgnoreAggregateEvaluationResultsResponseBody.d.ts +0 -7
- package/dist/models/IgnoreAggregateEvaluationResultsResponseBody.js.map +1 -1
- package/dist/models/IgnoreAggregateEvaluationResultsShrinkRequest.d.ts +0 -32
- package/dist/models/IgnoreAggregateEvaluationResultsShrinkRequest.js.map +1 -1
- package/dist/models/IgnoreEvaluationResultsRequest.d.ts +14 -14
- package/dist/models/IgnoreEvaluationResultsResponseBody.d.ts +1 -1
- package/dist/models/IgnoreEvaluationResultsShrinkRequest.d.ts +7 -7
- package/dist/models/ListAggregateCompliancePacksRequest.d.ts +25 -15
- package/dist/models/ListAggregateCompliancePacksRequest.js.map +1 -1
- package/dist/models/ListAggregateCompliancePacksResponseBody.d.ts +25 -22
- package/dist/models/ListAggregateCompliancePacksResponseBody.js.map +1 -1
- package/dist/models/ListAggregateCompliancePacksShrinkRequest.d.ts +23 -7
- package/dist/models/ListAggregateCompliancePacksShrinkRequest.js.map +1 -1
- package/dist/models/ListAggregateConfigDeliveryChannelsRequest.d.ts +0 -14
- package/dist/models/ListAggregateConfigDeliveryChannelsRequest.js.map +1 -1
- package/dist/models/ListAggregateConfigDeliveryChannelsResponseBody.d.ts +0 -166
- package/dist/models/ListAggregateConfigDeliveryChannelsResponseBody.js.map +1 -1
- package/dist/models/ListAggregateConfigRuleEvaluationResultsRequest.d.ts +19 -13
- package/dist/models/ListAggregateConfigRuleEvaluationResultsRequest.js.map +1 -1
- package/dist/models/ListAggregateConfigRuleEvaluationResultsResponseBody.d.ts +65 -39
- package/dist/models/ListAggregateConfigRuleEvaluationResultsResponseBody.js.map +1 -1
- package/dist/models/ListAggregateConfigRuleEvaluationStatisticsRequest.d.ts +0 -7
- package/dist/models/ListAggregateConfigRuleEvaluationStatisticsRequest.js.map +1 -1
- package/dist/models/ListAggregateConfigRuleEvaluationStatisticsResponseBody.d.ts +0 -53
- package/dist/models/ListAggregateConfigRuleEvaluationStatisticsResponseBody.js.map +1 -1
- package/dist/models/ListAggregateConfigRulesRequest.d.ts +41 -28
- package/dist/models/ListAggregateConfigRulesRequest.js.map +1 -1
- package/dist/models/ListAggregateConfigRulesResponseBody.d.ts +56 -39
- package/dist/models/ListAggregateConfigRulesResponseBody.js.map +1 -1
- package/dist/models/ListAggregateConfigRulesShrinkRequest.d.ts +37 -22
- package/dist/models/ListAggregateConfigRulesShrinkRequest.js.map +1 -1
- package/dist/models/ListAggregateDiscoveredResourcesRequest.d.ts +28 -16
- package/dist/models/ListAggregateDiscoveredResourcesRequest.js.map +1 -1
- package/dist/models/ListAggregateDiscoveredResourcesResponseBody.d.ts +21 -15
- package/dist/models/ListAggregateDiscoveredResourcesResponseBody.js.map +1 -1
- package/dist/models/ListAggregateRecommendManagedRulesRequest.d.ts +37 -1
- package/dist/models/ListAggregateRecommendManagedRulesRequest.js.map +1 -1
- package/dist/models/ListAggregateRecommendManagedRulesResponseBody.d.ts +41 -8
- package/dist/models/ListAggregateRecommendManagedRulesResponseBody.js.map +1 -1
- package/dist/models/ListAggregateRemediationExecutionsRequest.d.ts +0 -45
- package/dist/models/ListAggregateRemediationExecutionsRequest.js.map +1 -1
- package/dist/models/ListAggregateRemediationExecutionsResponseBody.d.ts +0 -74
- package/dist/models/ListAggregateRemediationExecutionsResponseBody.js.map +1 -1
- package/dist/models/ListAggregateRemediationsRequest.d.ts +1 -1
- package/dist/models/ListAggregateRemediationsResponseBody.d.ts +32 -23
- package/dist/models/ListAggregateRemediationsResponseBody.js.map +1 -1
- package/dist/models/ListAggregateResourceEvaluationResultsRequest.d.ts +38 -14
- package/dist/models/ListAggregateResourceEvaluationResultsRequest.js.map +1 -1
- package/dist/models/ListAggregateResourceEvaluationResultsResponseBody.d.ts +57 -36
- package/dist/models/ListAggregateResourceEvaluationResultsResponseBody.js.map +1 -1
- package/dist/models/ListAggregateResourceRelationsRequest.d.ts +0 -67
- package/dist/models/ListAggregateResourceRelationsRequest.js.map +1 -1
- package/dist/models/ListAggregateResourceRelationsResponseBody.d.ts +0 -85
- package/dist/models/ListAggregateResourceRelationsResponseBody.js.map +1 -1
- package/dist/models/ListAggregateResourcesByAdvancedSearchRequest.d.ts +1 -1
- package/dist/models/ListAggregateResourcesByAdvancedSearchResponseBody.d.ts +4 -4
- package/dist/models/ListAggregatorsRequest.d.ts +0 -38
- package/dist/models/ListAggregatorsRequest.js.map +1 -1
- package/dist/models/ListAggregatorsResponseBody.d.ts +0 -110
- package/dist/models/ListAggregatorsResponseBody.js.map +1 -1
- package/dist/models/ListAggregatorsShrinkRequest.d.ts +0 -18
- package/dist/models/ListAggregatorsShrinkRequest.js.map +1 -1
- package/dist/models/ListCompliancePackTemplatesRequest.d.ts +20 -6
- package/dist/models/ListCompliancePackTemplatesRequest.js.map +1 -1
- package/dist/models/ListCompliancePackTemplatesResponseBody.d.ts +45 -45
- package/dist/models/ListCompliancePacksRequest.d.ts +24 -12
- package/dist/models/ListCompliancePacksRequest.js.map +1 -1
- package/dist/models/ListCompliancePacksResponseBody.d.ts +28 -25
- package/dist/models/ListCompliancePacksResponseBody.js.map +1 -1
- package/dist/models/ListCompliancePacksShrinkRequest.d.ts +20 -6
- package/dist/models/ListCompliancePacksShrinkRequest.js.map +1 -1
- package/dist/models/ListConfigDeliveryChannelsRequest.d.ts +1 -1
- package/dist/models/ListConfigDeliveryChannelsResponseBody.d.ts +47 -38
- package/dist/models/ListConfigDeliveryChannelsResponseBody.js.map +1 -1
- package/dist/models/ListConfigRuleEvaluationResultsRequest.d.ts +19 -15
- package/dist/models/ListConfigRuleEvaluationResultsRequest.js.map +1 -1
- package/dist/models/ListConfigRuleEvaluationResultsResponseBody.d.ts +64 -37
- package/dist/models/ListConfigRuleEvaluationResultsResponseBody.js.map +1 -1
- package/dist/models/ListConfigRuleEvaluationStatisticsResponseBody.d.ts +0 -46
- package/dist/models/ListConfigRuleEvaluationStatisticsResponseBody.js.map +1 -1
- package/dist/models/ListConfigRuleOperatorsResponseBody.d.ts +76 -2
- package/dist/models/ListConfigRuleOperatorsResponseBody.js.map +1 -1
- package/dist/models/ListConfigRulesRequest.d.ts +38 -33
- package/dist/models/ListConfigRulesRequest.js.map +1 -1
- package/dist/models/ListConfigRulesResponseBody.d.ts +48 -31
- package/dist/models/ListConfigRulesResponseBody.js.map +1 -1
- package/dist/models/ListConfigRulesShrinkRequest.d.ts +37 -26
- package/dist/models/ListConfigRulesShrinkRequest.js.map +1 -1
- package/dist/models/ListDiscoveredResourcesRequest.d.ts +26 -14
- package/dist/models/ListDiscoveredResourcesRequest.js.map +1 -1
- package/dist/models/ListDiscoveredResourcesResponseBody.d.ts +20 -12
- package/dist/models/ListDiscoveredResourcesResponseBody.js.map +1 -1
- package/dist/models/ListIntegratedServiceResponseBody.d.ts +19 -15
- package/dist/models/ListIntegratedServiceResponseBody.js.map +1 -1
- package/dist/models/ListManagedRulesRequest.d.ts +16 -16
- package/dist/models/ListManagedRulesResponseBody.d.ts +29 -26
- package/dist/models/ListManagedRulesResponseBody.js.map +1 -1
- package/dist/models/ListPreManagedRulesRequest.d.ts +4 -4
- package/dist/models/ListPreManagedRulesResponseBody.d.ts +10 -10
- package/dist/models/ListPreManagedRulesShrinkRequest.d.ts +4 -4
- package/dist/models/ListRecommendManagedRulesRequest.d.ts +29 -1
- package/dist/models/ListRecommendManagedRulesRequest.js.map +1 -1
- package/dist/models/ListRecommendManagedRulesResponseBody.d.ts +45 -6
- package/dist/models/ListRecommendManagedRulesResponseBody.js.map +1 -1
- package/dist/models/ListRemediationExecutionsRequest.d.ts +0 -29
- package/dist/models/ListRemediationExecutionsRequest.js.map +1 -1
- package/dist/models/ListRemediationExecutionsResponseBody.d.ts +0 -74
- package/dist/models/ListRemediationExecutionsResponseBody.js.map +1 -1
- package/dist/models/ListRemediationTemplatesRequest.d.ts +0 -29
- package/dist/models/ListRemediationTemplatesRequest.js.map +1 -1
- package/dist/models/ListRemediationTemplatesResponseBody.d.ts +0 -96
- package/dist/models/ListRemediationTemplatesResponseBody.js.map +1 -1
- package/dist/models/ListRemediationsRequest.d.ts +0 -23
- package/dist/models/ListRemediationsRequest.js.map +1 -1
- package/dist/models/ListRemediationsResponseBody.d.ts +0 -120
- package/dist/models/ListRemediationsResponseBody.js.map +1 -1
- package/dist/models/ListReportTemplatesRequest.d.ts +11 -0
- package/dist/models/ListReportTemplatesRequest.js.map +1 -1
- package/dist/models/ListReportTemplatesResponseBody.d.ts +94 -0
- package/dist/models/ListReportTemplatesResponseBody.js.map +1 -1
- package/dist/models/ListResourceEvaluationResultsRequest.d.ts +38 -14
- package/dist/models/ListResourceEvaluationResultsRequest.js.map +1 -1
- package/dist/models/ListResourceEvaluationResultsResponseBody.d.ts +62 -43
- package/dist/models/ListResourceEvaluationResultsResponseBody.js.map +1 -1
- package/dist/models/ListResourceRelationsRequest.d.ts +0 -57
- package/dist/models/ListResourceRelationsRequest.js.map +1 -1
- package/dist/models/ListResourceRelationsResponseBody.d.ts +0 -85
- package/dist/models/ListResourceRelationsResponseBody.js.map +1 -1
- package/dist/models/ListResourcesByAdvancedSearchRequest.d.ts +0 -5
- package/dist/models/ListResourcesByAdvancedSearchRequest.js.map +1 -1
- package/dist/models/ListResourcesByAdvancedSearchResponseBody.d.ts +0 -23
- package/dist/models/ListResourcesByAdvancedSearchResponseBody.js.map +1 -1
- package/dist/models/ListSupportedProductsRequest.d.ts +1 -1
- package/dist/models/ListSupportedProductsResponseBody.d.ts +3 -3
- package/dist/models/ListTagResourcesRequest.d.ts +19 -15
- package/dist/models/ListTagResourcesRequest.js.map +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +2 -34
- package/dist/models/ListTagResourcesResponseBody.js.map +1 -1
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +15 -11
- package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -1
- package/dist/models/PutEvaluationsRequest.d.ts +0 -24
- package/dist/models/PutEvaluationsRequest.js.map +1 -1
- package/dist/models/PutEvaluationsResponseBody.d.ts +0 -17
- package/dist/models/PutEvaluationsResponseBody.js.map +1 -1
- package/dist/models/RevertAggregateEvaluationResultsRequest.d.ts +0 -42
- package/dist/models/RevertAggregateEvaluationResultsRequest.js.map +1 -1
- package/dist/models/RevertAggregateEvaluationResultsResponseBody.d.ts +0 -7
- package/dist/models/RevertAggregateEvaluationResultsResponseBody.js.map +1 -1
- package/dist/models/RevertAggregateEvaluationResultsShrinkRequest.d.ts +0 -14
- package/dist/models/RevertAggregateEvaluationResultsShrinkRequest.js.map +1 -1
- package/dist/models/RevertEvaluationResultsRequest.d.ts +0 -35
- package/dist/models/RevertEvaluationResultsRequest.js.map +1 -1
- package/dist/models/RevertEvaluationResultsResponseBody.d.ts +0 -7
- package/dist/models/RevertEvaluationResultsResponseBody.js.map +1 -1
- package/dist/models/RevertEvaluationResultsShrinkRequest.d.ts +0 -9
- package/dist/models/RevertEvaluationResultsShrinkRequest.js.map +1 -1
- package/dist/models/StartAggregateConfigRuleEvaluationRequest.d.ts +0 -39
- package/dist/models/StartAggregateConfigRuleEvaluationRequest.js.map +1 -1
- package/dist/models/StartAggregateConfigRuleEvaluationResponseBody.d.ts +0 -17
- package/dist/models/StartAggregateConfigRuleEvaluationResponseBody.js.map +1 -1
- package/dist/models/StartAggregateRemediationRequest.d.ts +18 -3
- package/dist/models/StartAggregateRemediationRequest.js +6 -0
- package/dist/models/StartAggregateRemediationRequest.js.map +1 -1
- package/dist/models/StartAggregateRemediationResponseBody.d.ts +5 -4
- package/dist/models/StartAggregateRemediationResponseBody.js.map +1 -1
- package/dist/models/StartConfigRuleEvaluationByResourceRequest.d.ts +4 -0
- package/dist/models/StartConfigRuleEvaluationByResourceRequest.js.map +1 -1
- package/dist/models/StartConfigRuleEvaluationByResourceResponseBody.d.ts +8 -0
- package/dist/models/StartConfigRuleEvaluationByResourceResponseBody.js.map +1 -1
- package/dist/models/StartConfigRuleEvaluationRequest.d.ts +10 -9
- package/dist/models/StartConfigRuleEvaluationRequest.js.map +1 -1
- package/dist/models/StartConfigRuleEvaluationResponseBody.d.ts +5 -4
- package/dist/models/StartConfigRuleEvaluationResponseBody.js.map +1 -1
- package/dist/models/StartConfigurationRecorderResponseBody.d.ts +0 -27
- package/dist/models/StartConfigurationRecorderResponseBody.js.map +1 -1
- package/dist/models/StartRemediationRequest.d.ts +16 -1
- package/dist/models/StartRemediationRequest.js +6 -0
- package/dist/models/StartRemediationRequest.js.map +1 -1
- package/dist/models/StartRemediationResponseBody.d.ts +4 -3
- package/dist/models/StartRemediationResponseBody.js.map +1 -1
- package/dist/models/StopConfigurationRecorderResponseBody.d.ts +0 -17
- package/dist/models/StopConfigurationRecorderResponseBody.js.map +1 -1
- package/dist/models/TagResourcesRequest.d.ts +18 -14
- package/dist/models/TagResourcesRequest.js.map +1 -1
- package/dist/models/TagResourcesShrinkRequest.d.ts +14 -10
- package/dist/models/TagResourcesShrinkRequest.js.map +1 -1
- package/dist/models/TriggerReportSendRequest.d.ts +2 -0
- package/dist/models/TriggerReportSendRequest.js.map +1 -1
- package/dist/models/TriggerReportSendResponseBody.d.ts +3 -0
- package/dist/models/TriggerReportSendResponseBody.js.map +1 -1
- package/dist/models/UntagResourcesRequest.d.ts +18 -13
- package/dist/models/UntagResourcesRequest.js.map +1 -1
- package/dist/models/UntagResourcesResponseBody.d.ts +1 -1
- package/dist/models/UpdateAggregateCompliancePackRequest.d.ts +53 -51
- package/dist/models/UpdateAggregateCompliancePackRequest.js.map +1 -1
- package/dist/models/UpdateAggregateCompliancePackResponseBody.d.ts +1 -1
- package/dist/models/UpdateAggregateCompliancePackShrinkRequest.d.ts +30 -28
- package/dist/models/UpdateAggregateCompliancePackShrinkRequest.js.map +1 -1
- package/dist/models/UpdateAggregateConfigDeliveryChannelRequest.d.ts +0 -145
- package/dist/models/UpdateAggregateConfigDeliveryChannelRequest.js.map +1 -1
- package/dist/models/UpdateAggregateConfigDeliveryChannelResponseBody.d.ts +0 -14
- package/dist/models/UpdateAggregateConfigDeliveryChannelResponseBody.js.map +1 -1
- package/dist/models/UpdateAggregateConfigRuleRequest.d.ts +80 -73
- package/dist/models/UpdateAggregateConfigRuleRequest.js +2 -0
- package/dist/models/UpdateAggregateConfigRuleRequest.js.map +1 -1
- package/dist/models/UpdateAggregateConfigRuleResponseBody.d.ts +2 -2
- package/dist/models/UpdateAggregateConfigRuleShrinkRequest.d.ts +76 -65
- package/dist/models/UpdateAggregateConfigRuleShrinkRequest.js +2 -0
- package/dist/models/UpdateAggregateConfigRuleShrinkRequest.js.map +1 -1
- package/dist/models/UpdateAggregateRemediationRequest.d.ts +22 -16
- package/dist/models/UpdateAggregateRemediationRequest.js.map +1 -1
- package/dist/models/UpdateAggregatorRequest.d.ts +14 -18
- package/dist/models/UpdateAggregatorRequest.js.map +1 -1
- package/dist/models/UpdateAggregatorShrinkRequest.d.ts +6 -6
- package/dist/models/UpdateCompliancePackRequest.d.ts +53 -51
- package/dist/models/UpdateCompliancePackRequest.js.map +1 -1
- package/dist/models/UpdateCompliancePackResponseBody.d.ts +1 -1
- package/dist/models/UpdateCompliancePackShrinkRequest.d.ts +29 -27
- package/dist/models/UpdateCompliancePackShrinkRequest.js.map +1 -1
- package/dist/models/UpdateConfigDeliveryChannelRequest.d.ts +47 -40
- package/dist/models/UpdateConfigDeliveryChannelRequest.js.map +1 -1
- package/dist/models/UpdateConfigRuleRequest.d.ts +75 -55
- package/dist/models/UpdateConfigRuleRequest.js +2 -0
- package/dist/models/UpdateConfigRuleRequest.js.map +1 -1
- package/dist/models/UpdateConfigRuleResponseBody.d.ts +2 -2
- package/dist/models/UpdateConfigRuleShrinkRequest.d.ts +73 -53
- package/dist/models/UpdateConfigRuleShrinkRequest.js +2 -0
- package/dist/models/UpdateConfigRuleShrinkRequest.js.map +1 -1
- package/dist/models/UpdateConfigurationRecorderRequest.d.ts +0 -5
- package/dist/models/UpdateConfigurationRecorderRequest.js.map +1 -1
- package/dist/models/UpdateConfigurationRecorderResponseBody.d.ts +0 -27
- package/dist/models/UpdateConfigurationRecorderResponseBody.js.map +1 -1
- package/dist/models/UpdateIntegratedServiceStatusRequest.d.ts +0 -30
- package/dist/models/UpdateIntegratedServiceStatusRequest.js.map +1 -1
- package/dist/models/UpdateIntegratedServiceStatusResponseBody.d.ts +0 -7
- package/dist/models/UpdateIntegratedServiceStatusResponseBody.js.map +1 -1
- package/dist/models/UpdateRemediationRequest.d.ts +22 -16
- package/dist/models/UpdateRemediationRequest.js.map +1 -1
- package/dist/models/UpdateReportTemplateRequest.d.ts +77 -0
- package/dist/models/UpdateReportTemplateRequest.js.map +1 -1
- package/dist/models/UpdateReportTemplateResponseBody.d.ts +6 -0
- package/dist/models/UpdateReportTemplateResponseBody.js.map +1 -1
- package/dist/models/UpdateReportTemplateShrinkRequest.d.ts +62 -0
- package/dist/models/UpdateReportTemplateShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +654 -878
- package/src/models/ActiveAggregateConfigRulesRequest.ts +0 -25
- package/src/models/ActiveAggregateConfigRulesResponseBody.ts +0 -39
- package/src/models/ActiveConfigRulesRequest.ts +0 -14
- package/src/models/ActiveConfigRulesResponseBody.ts +0 -42
- package/src/models/AttachAggregateConfigRuleToCompliancePackRequest.ts +0 -21
- package/src/models/AttachAggregateConfigRuleToCompliancePackResponseBody.ts +0 -42
- package/src/models/AttachConfigRuleToCompliancePackRequest.ts +0 -14
- package/src/models/AttachConfigRuleToCompliancePackResponseBody.ts +0 -42
- package/src/models/CopyCompliancePacksRequest.ts +0 -25
- package/src/models/CopyCompliancePacksResponseBody.ts +0 -17
- package/src/models/CopyConfigRulesRequest.ts +0 -23
- package/src/models/CopyConfigRulesResponseBody.ts +0 -17
- package/src/models/CreateAdvancedSearchFileRequest.ts +0 -5
- package/src/models/CreateAdvancedSearchFileResponseBody.ts +0 -7
- package/src/models/CreateAggregateAdvancedSearchFileRequest.ts +1 -1
- package/src/models/CreateAggregateCompliancePackRequest.ts +111 -57
- package/src/models/CreateAggregateCompliancePackResponseBody.ts +1 -1
- package/src/models/CreateAggregateCompliancePackShrinkRequest.ts +88 -36
- package/src/models/CreateAggregateConfigDeliveryChannelRequest.ts +60 -42
- package/src/models/CreateAggregateConfigDeliveryChannelResponseBody.ts +1 -1
- package/src/models/CreateAggregateConfigRuleRequest.ts +98 -83
- package/src/models/CreateAggregateConfigRuleResponseBody.ts +2 -2
- package/src/models/CreateAggregateConfigRuleShrinkRequest.ts +94 -75
- package/src/models/CreateAggregateRemediationRequest.ts +27 -20
- package/src/models/CreateAggregateRemediationResponseBody.ts +1 -1
- package/src/models/CreateAggregatorRequest.ts +23 -29
- package/src/models/CreateAggregatorResponseBody.ts +1 -1
- package/src/models/CreateAggregatorShrinkRequest.ts +16 -20
- package/src/models/CreateCompliancePackRequest.ts +0 -246
- package/src/models/CreateCompliancePackResponseBody.ts +0 -14
- package/src/models/CreateCompliancePackShrinkRequest.ts +0 -159
- package/src/models/CreateConfigDeliveryChannelRequest.ts +65 -49
- package/src/models/CreateConfigRuleRequest.ts +94 -61
- package/src/models/CreateConfigRuleShrinkRequest.ts +90 -55
- package/src/models/CreateRemediationRequest.ts +25 -18
- package/src/models/CreateRemediationResponseBody.ts +1 -1
- package/src/models/CreateReportTemplateRequest.ts +71 -1
- package/src/models/CreateReportTemplateResponseBody.ts +6 -0
- package/src/models/CreateReportTemplateShrinkRequest.ts +56 -1
- package/src/models/DeactiveAggregateConfigRulesRequest.ts +0 -25
- package/src/models/DeactiveAggregateConfigRulesResponseBody.ts +0 -42
- package/src/models/DeactiveConfigRulesRequest.ts +0 -18
- package/src/models/DeactiveConfigRulesResponseBody.ts +0 -42
- package/src/models/DeleteAggregateCompliancePacksRequest.ts +0 -31
- package/src/models/DeleteAggregateCompliancePacksResponseBody.ts +0 -42
- package/src/models/DeleteAggregateConfigDeliveryChannelRequest.ts +0 -12
- package/src/models/DeleteAggregateConfigDeliveryChannelResponseBody.ts +0 -14
- package/src/models/DeleteAggregateConfigRulesRequest.ts +0 -14
- package/src/models/DeleteAggregateConfigRulesResponseBody.ts +0 -42
- package/src/models/DeleteAggregateRemediationsRequest.ts +3 -3
- package/src/models/DeleteAggregateRemediationsResponseBody.ts +10 -8
- package/src/models/DeleteAggregatorsRequest.ts +0 -12
- package/src/models/DeleteAggregatorsResponseBody.ts +0 -41
- package/src/models/DeleteCompliancePacksRequest.ts +0 -24
- package/src/models/DeleteCompliancePacksResponseBody.ts +0 -42
- package/src/models/DeleteConfigDeliveryChannelRequest.ts +0 -7
- package/src/models/DeleteConfigDeliveryChannelResponseBody.ts +0 -14
- package/src/models/DeleteConfigRulesRequest.ts +0 -7
- package/src/models/DeleteConfigRulesResponseBody.ts +0 -42
- package/src/models/DeleteRemediationsRequest.ts +2 -2
- package/src/models/DeleteRemediationsResponseBody.ts +10 -8
- package/src/models/DeleteReportTemplateRequest.ts +2 -0
- package/src/models/DeleteReportTemplateResponseBody.ts +6 -0
- package/src/models/DescribeDiscoveredResourceBatchRequest.ts +11 -2
- package/src/models/DescribeDiscoveredResourceBatchResponseBody.ts +2 -2
- package/src/models/DescribeIntegratedServiceStatusRequest.ts +2 -0
- package/src/models/DescribeIntegratedServiceStatusResponseBody.ts +11 -0
- package/src/models/DescribeRemediationRequest.ts +1 -11
- package/src/models/DescribeRemediationResponseBody.ts +0 -103
- package/src/models/DetachAggregateConfigRuleToCompliancePackRequest.ts +0 -21
- package/src/models/DetachAggregateConfigRuleToCompliancePackResponseBody.ts +0 -42
- package/src/models/DetachConfigRuleToCompliancePackRequest.ts +1 -1
- package/src/models/DetachConfigRuleToCompliancePackResponseBody.ts +20 -9
- package/src/models/DryRunConfigRuleRequest.ts +44 -0
- package/src/models/DryRunConfigRuleResponseBody.ts +30 -17
- package/src/models/EvaluatePreConfigRulesRequest.ts +21 -17
- package/src/models/EvaluatePreConfigRulesResponseBody.ts +9 -7
- package/src/models/EvaluatePreConfigRulesShrinkRequest.ts +5 -6
- package/src/models/GenerateAggregateCompliancePackReportRequest.ts +14 -3
- package/src/models/GenerateAggregateCompliancePackReportResponseBody.ts +1 -1
- package/src/models/GenerateAggregateConfigRulesReportRequest.ts +0 -23
- package/src/models/GenerateAggregateConfigRulesReportResponseBody.ts +0 -21
- package/src/models/GenerateAggregateResourceInventoryRequest.ts +0 -36
- package/src/models/GenerateAggregateResourceInventoryResponseBody.ts +0 -7
- package/src/models/GenerateCompliancePackReportRequest.ts +0 -14
- package/src/models/GenerateCompliancePackReportResponseBody.ts +0 -14
- package/src/models/GenerateConfigRulesReportRequest.ts +0 -16
- package/src/models/GenerateConfigRulesReportResponseBody.ts +0 -14
- package/src/models/GenerateReportFromTemplateRequest.ts +2 -0
- package/src/models/GenerateReportFromTemplateResponseBody.ts +3 -0
- package/src/models/GenerateResourceInventoryRequest.ts +5 -4
- package/src/models/GetAdvancedSearchFileResponseBody.ts +0 -32
- package/src/models/GetAggregateAccountComplianceByPackRequest.ts +0 -14
- package/src/models/GetAggregateAccountComplianceByPackResponseBody.ts +0 -62
- package/src/models/GetAggregateAdvancedSearchFileRequest.ts +0 -7
- package/src/models/GetAggregateAdvancedSearchFileResponseBody.ts +0 -34
- package/src/models/GetAggregateCompliancePackReportRequest.ts +0 -14
- package/src/models/GetAggregateCompliancePackReportResponseBody.ts +0 -47
- package/src/models/GetAggregateCompliancePackRequest.ts +9 -11
- package/src/models/GetAggregateCompliancePackResponseBody.ts +102 -72
- package/src/models/GetAggregateCompliancePackShrinkRequest.ts +5 -5
- package/src/models/GetAggregateComplianceSummaryResponseBody.ts +26 -5
- package/src/models/GetAggregateConfigDeliveryChannelRequest.ts +0 -14
- package/src/models/GetAggregateConfigDeliveryChannelResponseBody.ts +0 -166
- package/src/models/GetAggregateConfigRuleComplianceByPackRequest.ts +3 -3
- package/src/models/GetAggregateConfigRuleComplianceByPackResponseBody.ts +47 -16
- package/src/models/GetAggregateConfigRuleRequest.ts +9 -12
- package/src/models/GetAggregateConfigRuleResponseBody.ts +135 -119
- package/src/models/GetAggregateConfigRuleShrinkRequest.ts +5 -6
- package/src/models/GetAggregateConfigRuleSummaryByRiskLevelRequest.ts +0 -7
- package/src/models/GetAggregateConfigRuleSummaryByRiskLevelResponseBody.ts +0 -36
- package/src/models/GetAggregateConfigRulesReportRequest.ts +0 -14
- package/src/models/GetAggregateConfigRulesReportResponseBody.ts +0 -54
- package/src/models/GetAggregateDiscoveredResourceRequest.ts +13 -12
- package/src/models/GetAggregateDiscoveredResourceResponseBody.ts +29 -20
- package/src/models/GetAggregateResourceComplianceByConfigRuleRequest.ts +0 -35
- package/src/models/GetAggregateResourceComplianceByConfigRuleResponseBody.ts +0 -41
- package/src/models/GetAggregateResourceComplianceByPackRequest.ts +2 -2
- package/src/models/GetAggregateResourceComplianceByPackResponseBody.ts +31 -3
- package/src/models/GetAggregateResourceComplianceGroupByRegionRequest.ts +0 -12
- package/src/models/GetAggregateResourceComplianceGroupByRegionResponseBody.ts +0 -45
- package/src/models/GetAggregateResourceComplianceGroupByResourceTypeRequest.ts +0 -12
- package/src/models/GetAggregateResourceComplianceGroupByResourceTypeResponseBody.ts +0 -45
- package/src/models/GetAggregateResourceComplianceTimelineRequest.ts +10 -10
- package/src/models/GetAggregateResourceComplianceTimelineResponseBody.ts +20 -51
- package/src/models/GetAggregateResourceConfigurationTimelineRequest.ts +11 -11
- package/src/models/GetAggregateResourceConfigurationTimelineResponseBody.ts +25 -21
- package/src/models/GetAggregateResourceCountsGroupByRegionRequest.ts +0 -32
- package/src/models/GetAggregateResourceCountsGroupByRegionResponseBody.ts +0 -34
- package/src/models/GetAggregateResourceCountsGroupByResourceTypeRequest.ts +0 -32
- package/src/models/GetAggregateResourceCountsGroupByResourceTypeResponseBody.ts +0 -32
- package/src/models/GetAggregateResourceInventoryRequest.ts +0 -7
- package/src/models/GetAggregateResourceInventoryResponseBody.ts +0 -34
- package/src/models/GetAggregatorRequest.ts +6 -10
- package/src/models/GetAggregatorResponseBody.ts +32 -19
- package/src/models/GetAggregatorShrinkRequest.ts +2 -2
- package/src/models/GetCompliancePackReportRequest.ts +0 -7
- package/src/models/GetCompliancePackReportResponseBody.ts +0 -47
- package/src/models/GetCompliancePackRequest.ts +12 -8
- package/src/models/GetCompliancePackResponseBody.ts +54 -48
- package/src/models/GetCompliancePackShrinkRequest.ts +4 -4
- package/src/models/GetComplianceSummaryResponseBody.ts +36 -9
- package/src/models/GetConfigDeliveryChannelRequest.ts +1 -1
- package/src/models/GetConfigDeliveryChannelResponseBody.ts +46 -37
- package/src/models/GetConfigRuleComplianceByPackRequest.ts +1 -1
- package/src/models/GetConfigRuleComplianceByPackResponseBody.ts +44 -13
- package/src/models/GetConfigRuleRequest.ts +8 -8
- package/src/models/GetConfigRuleResponseBody.ts +137 -114
- package/src/models/GetConfigRuleShrinkRequest.ts +3 -3
- package/src/models/GetConfigRuleSummaryByRiskLevelResponseBody.ts +5 -3
- package/src/models/GetConfigRulesReportRequest.ts +0 -7
- package/src/models/GetConfigRulesReportResponseBody.ts +0 -47
- package/src/models/GetConfigurationRecorderResponseBody.ts +10 -7
- package/src/models/GetDiscoveredResourceCountsGroupByRegionRequest.ts +0 -9
- package/src/models/GetDiscoveredResourceCountsGroupByRegionResponseBody.ts +0 -34
- package/src/models/GetDiscoveredResourceCountsGroupByResourceTypeRequest.ts +0 -7
- package/src/models/GetDiscoveredResourceCountsGroupByResourceTypeResponseBody.ts +0 -34
- package/src/models/GetDiscoveredResourceRequest.ts +10 -9
- package/src/models/GetDiscoveredResourceResponseBody.ts +26 -25
- package/src/models/GetIntegratedServiceStatusRequest.ts +0 -6
- package/src/models/GetIntegratedServiceStatusResponseBody.ts +0 -36
- package/src/models/GetManagedRuleRequest.ts +2 -2
- package/src/models/GetManagedRuleResponseBody.ts +33 -26
- package/src/models/GetRemediationTemplateRequest.ts +2 -2
- package/src/models/GetRemediationTemplateResponseBody.ts +8 -8
- package/src/models/GetReportFromTemplateRequest.ts +2 -0
- package/src/models/GetReportFromTemplateResponseBody.ts +36 -0
- package/src/models/GetReportTemplateRequest.ts +2 -0
- package/src/models/GetReportTemplateResponseBody.ts +75 -0
- package/src/models/GetResourceComplianceByConfigRuleRequest.ts +0 -17
- package/src/models/GetResourceComplianceByConfigRuleResponseBody.ts +0 -41
- package/src/models/GetResourceComplianceByPackRequest.ts +1 -1
- package/src/models/GetResourceComplianceByPackResponseBody.ts +33 -1
- package/src/models/GetResourceComplianceGroupByRegionRequest.ts +0 -7
- package/src/models/GetResourceComplianceGroupByRegionResponseBody.ts +0 -45
- package/src/models/GetResourceComplianceGroupByResourceTypeRequest.ts +0 -7
- package/src/models/GetResourceComplianceGroupByResourceTypeResponseBody.ts +0 -45
- package/src/models/GetResourceComplianceTimelineRequest.ts +9 -9
- package/src/models/GetResourceComplianceTimelineResponseBody.ts +19 -18
- package/src/models/GetResourceConfigurationSampleRequest.ts +13 -1
- package/src/models/GetResourceConfigurationSampleResponseBody.ts +54 -6
- package/src/models/GetResourceConfigurationTimelineRequest.ts +6 -6
- package/src/models/GetResourceConfigurationTimelineResponseBody.ts +19 -17
- package/src/models/GetResourceInventoryResponseBody.ts +7 -6
- package/src/models/GetResourceTypePropertiesRequest.ts +4 -0
- package/src/models/GetResourceTypePropertiesResponseBody.ts +19 -16
- package/src/models/GetSupportedResourceRelationConfigResponseBody.ts +10 -7
- package/src/models/IgnoreAggregateEvaluationResultsRequest.ts +0 -60
- package/src/models/IgnoreAggregateEvaluationResultsResponseBody.ts +0 -7
- package/src/models/IgnoreAggregateEvaluationResultsShrinkRequest.ts +0 -32
- package/src/models/IgnoreEvaluationResultsRequest.ts +14 -14
- package/src/models/IgnoreEvaluationResultsResponseBody.ts +1 -1
- package/src/models/IgnoreEvaluationResultsShrinkRequest.ts +7 -7
- package/src/models/ListAggregateCompliancePacksRequest.ts +25 -15
- package/src/models/ListAggregateCompliancePacksResponseBody.ts +25 -22
- package/src/models/ListAggregateCompliancePacksShrinkRequest.ts +23 -7
- package/src/models/ListAggregateConfigDeliveryChannelsRequest.ts +0 -14
- package/src/models/ListAggregateConfigDeliveryChannelsResponseBody.ts +0 -166
- package/src/models/ListAggregateConfigRuleEvaluationResultsRequest.ts +19 -13
- package/src/models/ListAggregateConfigRuleEvaluationResultsResponseBody.ts +65 -39
- package/src/models/ListAggregateConfigRuleEvaluationStatisticsRequest.ts +0 -7
- package/src/models/ListAggregateConfigRuleEvaluationStatisticsResponseBody.ts +0 -53
- package/src/models/ListAggregateConfigRulesRequest.ts +41 -28
- package/src/models/ListAggregateConfigRulesResponseBody.ts +56 -39
- package/src/models/ListAggregateConfigRulesShrinkRequest.ts +37 -22
- package/src/models/ListAggregateDiscoveredResourcesRequest.ts +28 -16
- package/src/models/ListAggregateDiscoveredResourcesResponseBody.ts +21 -15
- package/src/models/ListAggregateRecommendManagedRulesRequest.ts +37 -1
- package/src/models/ListAggregateRecommendManagedRulesResponseBody.ts +41 -8
- package/src/models/ListAggregateRemediationExecutionsRequest.ts +0 -45
- package/src/models/ListAggregateRemediationExecutionsResponseBody.ts +0 -74
- package/src/models/ListAggregateRemediationsRequest.ts +1 -1
- package/src/models/ListAggregateRemediationsResponseBody.ts +32 -23
- package/src/models/ListAggregateResourceEvaluationResultsRequest.ts +38 -14
- package/src/models/ListAggregateResourceEvaluationResultsResponseBody.ts +57 -36
- package/src/models/ListAggregateResourceRelationsRequest.ts +0 -67
- package/src/models/ListAggregateResourceRelationsResponseBody.ts +0 -85
- package/src/models/ListAggregateResourcesByAdvancedSearchRequest.ts +1 -1
- package/src/models/ListAggregateResourcesByAdvancedSearchResponseBody.ts +4 -4
- package/src/models/ListAggregatorsRequest.ts +0 -38
- package/src/models/ListAggregatorsResponseBody.ts +0 -110
- package/src/models/ListAggregatorsShrinkRequest.ts +0 -18
- package/src/models/ListCompliancePackTemplatesRequest.ts +20 -6
- package/src/models/ListCompliancePackTemplatesResponseBody.ts +45 -45
- package/src/models/ListCompliancePacksRequest.ts +24 -12
- package/src/models/ListCompliancePacksResponseBody.ts +28 -25
- package/src/models/ListCompliancePacksShrinkRequest.ts +20 -6
- package/src/models/ListConfigDeliveryChannelsRequest.ts +1 -1
- package/src/models/ListConfigDeliveryChannelsResponseBody.ts +47 -38
- package/src/models/ListConfigRuleEvaluationResultsRequest.ts +19 -15
- package/src/models/ListConfigRuleEvaluationResultsResponseBody.ts +64 -37
- package/src/models/ListConfigRuleEvaluationStatisticsResponseBody.ts +0 -46
- package/src/models/ListConfigRuleOperatorsResponseBody.ts +76 -2
- package/src/models/ListConfigRulesRequest.ts +38 -33
- package/src/models/ListConfigRulesResponseBody.ts +48 -31
- package/src/models/ListConfigRulesShrinkRequest.ts +37 -26
- package/src/models/ListDiscoveredResourcesRequest.ts +26 -14
- package/src/models/ListDiscoveredResourcesResponseBody.ts +20 -12
- package/src/models/ListIntegratedServiceResponseBody.ts +19 -15
- package/src/models/ListManagedRulesRequest.ts +16 -16
- package/src/models/ListManagedRulesResponseBody.ts +29 -26
- package/src/models/ListPreManagedRulesRequest.ts +4 -4
- package/src/models/ListPreManagedRulesResponseBody.ts +10 -10
- package/src/models/ListPreManagedRulesShrinkRequest.ts +4 -4
- package/src/models/ListRecommendManagedRulesRequest.ts +29 -1
- package/src/models/ListRecommendManagedRulesResponseBody.ts +45 -6
- package/src/models/ListRemediationExecutionsRequest.ts +0 -29
- package/src/models/ListRemediationExecutionsResponseBody.ts +0 -74
- package/src/models/ListRemediationTemplatesRequest.ts +0 -29
- package/src/models/ListRemediationTemplatesResponseBody.ts +0 -96
- package/src/models/ListRemediationsRequest.ts +0 -23
- package/src/models/ListRemediationsResponseBody.ts +0 -120
- package/src/models/ListReportTemplatesRequest.ts +11 -0
- package/src/models/ListReportTemplatesResponseBody.ts +94 -0
- package/src/models/ListResourceEvaluationResultsRequest.ts +38 -14
- package/src/models/ListResourceEvaluationResultsResponseBody.ts +62 -43
- package/src/models/ListResourceRelationsRequest.ts +0 -57
- package/src/models/ListResourceRelationsResponseBody.ts +0 -85
- package/src/models/ListResourcesByAdvancedSearchRequest.ts +0 -5
- package/src/models/ListResourcesByAdvancedSearchResponseBody.ts +0 -23
- package/src/models/ListSupportedProductsRequest.ts +1 -1
- package/src/models/ListSupportedProductsResponseBody.ts +3 -3
- package/src/models/ListTagResourcesRequest.ts +19 -15
- package/src/models/ListTagResourcesResponseBody.ts +2 -34
- package/src/models/ListTagResourcesShrinkRequest.ts +15 -11
- package/src/models/PutEvaluationsRequest.ts +0 -24
- package/src/models/PutEvaluationsResponseBody.ts +0 -17
- package/src/models/RevertAggregateEvaluationResultsRequest.ts +0 -42
- package/src/models/RevertAggregateEvaluationResultsResponseBody.ts +0 -7
- package/src/models/RevertAggregateEvaluationResultsShrinkRequest.ts +0 -14
- package/src/models/RevertEvaluationResultsRequest.ts +0 -35
- package/src/models/RevertEvaluationResultsResponseBody.ts +0 -7
- package/src/models/RevertEvaluationResultsShrinkRequest.ts +0 -9
- package/src/models/StartAggregateConfigRuleEvaluationRequest.ts +0 -39
- package/src/models/StartAggregateConfigRuleEvaluationResponseBody.ts +0 -17
- package/src/models/StartAggregateRemediationRequest.ts +24 -3
- package/src/models/StartAggregateRemediationResponseBody.ts +5 -4
- package/src/models/StartConfigRuleEvaluationByResourceRequest.ts +4 -0
- package/src/models/StartConfigRuleEvaluationByResourceResponseBody.ts +8 -0
- package/src/models/StartConfigRuleEvaluationRequest.ts +10 -9
- package/src/models/StartConfigRuleEvaluationResponseBody.ts +5 -4
- package/src/models/StartConfigurationRecorderResponseBody.ts +0 -27
- package/src/models/StartRemediationRequest.ts +22 -1
- package/src/models/StartRemediationResponseBody.ts +4 -3
- package/src/models/StopConfigurationRecorderResponseBody.ts +0 -17
- package/src/models/TagResourcesRequest.ts +18 -14
- package/src/models/TagResourcesShrinkRequest.ts +14 -10
- package/src/models/TriggerReportSendRequest.ts +2 -0
- package/src/models/TriggerReportSendResponseBody.ts +3 -0
- package/src/models/UntagResourcesRequest.ts +18 -13
- package/src/models/UntagResourcesResponseBody.ts +1 -1
- package/src/models/UpdateAggregateCompliancePackRequest.ts +53 -51
- package/src/models/UpdateAggregateCompliancePackResponseBody.ts +1 -1
- package/src/models/UpdateAggregateCompliancePackShrinkRequest.ts +30 -28
- package/src/models/UpdateAggregateConfigDeliveryChannelRequest.ts +0 -145
- package/src/models/UpdateAggregateConfigDeliveryChannelResponseBody.ts +0 -14
- package/src/models/UpdateAggregateConfigRuleRequest.ts +84 -75
- package/src/models/UpdateAggregateConfigRuleResponseBody.ts +2 -2
- package/src/models/UpdateAggregateConfigRuleShrinkRequest.ts +80 -67
- package/src/models/UpdateAggregateRemediationRequest.ts +22 -16
- package/src/models/UpdateAggregatorRequest.ts +14 -18
- package/src/models/UpdateAggregatorShrinkRequest.ts +6 -6
- package/src/models/UpdateCompliancePackRequest.ts +53 -51
- package/src/models/UpdateCompliancePackResponseBody.ts +1 -1
- package/src/models/UpdateCompliancePackShrinkRequest.ts +29 -27
- package/src/models/UpdateConfigDeliveryChannelRequest.ts +47 -40
- package/src/models/UpdateConfigRuleRequest.ts +77 -55
- package/src/models/UpdateConfigRuleResponseBody.ts +2 -2
- package/src/models/UpdateConfigRuleShrinkRequest.ts +75 -53
- package/src/models/UpdateConfigurationRecorderRequest.ts +0 -5
- package/src/models/UpdateConfigurationRecorderResponseBody.ts +0 -27
- package/src/models/UpdateIntegratedServiceStatusRequest.ts +0 -30
- package/src/models/UpdateIntegratedServiceStatusResponseBody.ts +0 -7
- package/src/models/UpdateRemediationRequest.ts +22 -16
- package/src/models/UpdateReportTemplateRequest.ts +77 -0
- package/src/models/UpdateReportTemplateResponseBody.ts +6 -0
- package/src/models/UpdateReportTemplateShrinkRequest.ts +62 -0
package/dist/client.js
CHANGED
|
@@ -66,10 +66,7 @@ class Client extends openapi_core_1.default {
|
|
|
66
66
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
* @remarks
|
|
72
|
-
* Enables one or more rules in an account group. After a rule is enabled, the rule continues to automatically evaluate resources based on the trigger mechanism.
|
|
69
|
+
* 启用账号组规则
|
|
73
70
|
*
|
|
74
71
|
* @param request - ActiveAggregateConfigRulesRequest
|
|
75
72
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -104,10 +101,7 @@ class Client extends openapi_core_1.default {
|
|
|
104
101
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ActiveAggregateConfigRulesResponse({}));
|
|
105
102
|
}
|
|
106
103
|
/**
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
* @remarks
|
|
110
|
-
* Enables one or more rules in an account group. After a rule is enabled, the rule continues to automatically evaluate resources based on the trigger mechanism.
|
|
104
|
+
* 启用账号组规则
|
|
111
105
|
*
|
|
112
106
|
* @param request - ActiveAggregateConfigRulesRequest
|
|
113
107
|
* @returns ActiveAggregateConfigRulesResponse
|
|
@@ -117,11 +111,7 @@ class Client extends openapi_core_1.default {
|
|
|
117
111
|
return await this.activeAggregateConfigRulesWithOptions(request, runtime);
|
|
118
112
|
}
|
|
119
113
|
/**
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
* @remarks
|
|
123
|
-
* ### [](#)Prerequisites
|
|
124
|
-
* The rule is in the `INACTIVE` state.
|
|
114
|
+
* 启用指定规则
|
|
125
115
|
*
|
|
126
116
|
* @param request - ActiveConfigRulesRequest
|
|
127
117
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -153,11 +143,7 @@ class Client extends openapi_core_1.default {
|
|
|
153
143
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ActiveConfigRulesResponse({}));
|
|
154
144
|
}
|
|
155
145
|
/**
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
* @remarks
|
|
159
|
-
* ### [](#)Prerequisites
|
|
160
|
-
* The rule is in the `INACTIVE` state.
|
|
146
|
+
* 启用指定规则
|
|
161
147
|
*
|
|
162
148
|
* @param request - ActiveConfigRulesRequest
|
|
163
149
|
* @returns ActiveConfigRulesResponse
|
|
@@ -167,10 +153,7 @@ class Client extends openapi_core_1.default {
|
|
|
167
153
|
return await this.activeConfigRulesWithOptions(request, runtime);
|
|
168
154
|
}
|
|
169
155
|
/**
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
* @remarks
|
|
173
|
-
* The sample request in this topic shows you how to add the `cr-6cc4626622af00e7****` rule in the `ca-75b4626622af00c3****` account group to the `cp-5bb1626622af00bd****` compliance package.
|
|
156
|
+
* 将指定账号组规则加入指定账号组合规包
|
|
174
157
|
*
|
|
175
158
|
* @param request - AttachAggregateConfigRuleToCompliancePackRequest
|
|
176
159
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -205,10 +188,7 @@ class Client extends openapi_core_1.default {
|
|
|
205
188
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AttachAggregateConfigRuleToCompliancePackResponse({}));
|
|
206
189
|
}
|
|
207
190
|
/**
|
|
208
|
-
*
|
|
209
|
-
*
|
|
210
|
-
* @remarks
|
|
211
|
-
* The sample request in this topic shows you how to add the `cr-6cc4626622af00e7****` rule in the `ca-75b4626622af00c3****` account group to the `cp-5bb1626622af00bd****` compliance package.
|
|
191
|
+
* 将指定账号组规则加入指定账号组合规包
|
|
212
192
|
*
|
|
213
193
|
* @param request - AttachAggregateConfigRuleToCompliancePackRequest
|
|
214
194
|
* @returns AttachAggregateConfigRuleToCompliancePackResponse
|
|
@@ -218,10 +198,7 @@ class Client extends openapi_core_1.default {
|
|
|
218
198
|
return await this.attachAggregateConfigRuleToCompliancePackWithOptions(request, runtime);
|
|
219
199
|
}
|
|
220
200
|
/**
|
|
221
|
-
*
|
|
222
|
-
*
|
|
223
|
-
* @remarks
|
|
224
|
-
* This topic provides an example on how to add the `cr-6cc4626622af00e7****` rule to the `cp-5bb1626622af00bd****` compliance package.
|
|
201
|
+
* 将指定规则加入指定合规包
|
|
225
202
|
*
|
|
226
203
|
* @param request - AttachConfigRuleToCompliancePackRequest
|
|
227
204
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -253,10 +230,7 @@ class Client extends openapi_core_1.default {
|
|
|
253
230
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AttachConfigRuleToCompliancePackResponse({}));
|
|
254
231
|
}
|
|
255
232
|
/**
|
|
256
|
-
*
|
|
257
|
-
*
|
|
258
|
-
* @remarks
|
|
259
|
-
* This topic provides an example on how to add the `cr-6cc4626622af00e7****` rule to the `cp-5bb1626622af00bd****` compliance package.
|
|
233
|
+
* 将指定规则加入指定合规包
|
|
260
234
|
*
|
|
261
235
|
* @param request - AttachConfigRuleToCompliancePackRequest
|
|
262
236
|
* @returns AttachConfigRuleToCompliancePackResponse
|
|
@@ -266,7 +240,7 @@ class Client extends openapi_core_1.default {
|
|
|
266
240
|
return await this.attachConfigRuleToCompliancePackWithOptions(request, runtime);
|
|
267
241
|
}
|
|
268
242
|
/**
|
|
269
|
-
*
|
|
243
|
+
* 合规包复制
|
|
270
244
|
*
|
|
271
245
|
* @param request - CopyCompliancePacksRequest
|
|
272
246
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -301,7 +275,7 @@ class Client extends openapi_core_1.default {
|
|
|
301
275
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CopyCompliancePacksResponse({}));
|
|
302
276
|
}
|
|
303
277
|
/**
|
|
304
|
-
*
|
|
278
|
+
* 合规包复制
|
|
305
279
|
*
|
|
306
280
|
* @param request - CopyCompliancePacksRequest
|
|
307
281
|
* @returns CopyCompliancePacksResponse
|
|
@@ -311,7 +285,7 @@ class Client extends openapi_core_1.default {
|
|
|
311
285
|
return await this.copyCompliancePacksWithOptions(request, runtime);
|
|
312
286
|
}
|
|
313
287
|
/**
|
|
314
|
-
*
|
|
288
|
+
* 规则复制
|
|
315
289
|
*
|
|
316
290
|
* @param request - CopyConfigRulesRequest
|
|
317
291
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -346,7 +320,7 @@ class Client extends openapi_core_1.default {
|
|
|
346
320
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CopyConfigRulesResponse({}));
|
|
347
321
|
}
|
|
348
322
|
/**
|
|
349
|
-
*
|
|
323
|
+
* 规则复制
|
|
350
324
|
*
|
|
351
325
|
* @param request - CopyConfigRulesRequest
|
|
352
326
|
* @returns CopyConfigRulesResponse
|
|
@@ -356,7 +330,7 @@ class Client extends openapi_core_1.default {
|
|
|
356
330
|
return await this.copyConfigRulesWithOptions(request, runtime);
|
|
357
331
|
}
|
|
358
332
|
/**
|
|
359
|
-
*
|
|
333
|
+
* 生成当前账号搜索结果下载文件
|
|
360
334
|
*
|
|
361
335
|
* @param request - CreateAdvancedSearchFileRequest
|
|
362
336
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -385,7 +359,7 @@ class Client extends openapi_core_1.default {
|
|
|
385
359
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAdvancedSearchFileResponse({}));
|
|
386
360
|
}
|
|
387
361
|
/**
|
|
388
|
-
*
|
|
362
|
+
* 生成当前账号搜索结果下载文件
|
|
389
363
|
*
|
|
390
364
|
* @param request - CreateAdvancedSearchFileRequest
|
|
391
365
|
* @returns CreateAdvancedSearchFileResponse
|
|
@@ -395,10 +369,10 @@ class Client extends openapi_core_1.default {
|
|
|
395
369
|
return await this.createAdvancedSearchFileWithOptions(request, runtime);
|
|
396
370
|
}
|
|
397
371
|
/**
|
|
398
|
-
* Creates a downloadable
|
|
372
|
+
* Creates a downloadable file of advanced search results for resources in an account group.
|
|
399
373
|
*
|
|
400
374
|
* @remarks
|
|
401
|
-
* This topic provides an example
|
|
375
|
+
* This topic provides an example of how to query for ECS instances in the account group `ca-edd3626622af00b3****` and create a downloadable file of the search results.
|
|
402
376
|
*
|
|
403
377
|
* @param request - CreateAggregateAdvancedSearchFileRequest
|
|
404
378
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -430,10 +404,10 @@ class Client extends openapi_core_1.default {
|
|
|
430
404
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAggregateAdvancedSearchFileResponse({}));
|
|
431
405
|
}
|
|
432
406
|
/**
|
|
433
|
-
* Creates a downloadable
|
|
407
|
+
* Creates a downloadable file of advanced search results for resources in an account group.
|
|
434
408
|
*
|
|
435
409
|
* @remarks
|
|
436
|
-
* This topic provides an example
|
|
410
|
+
* This topic provides an example of how to query for ECS instances in the account group `ca-edd3626622af00b3****` and create a downloadable file of the search results.
|
|
437
411
|
*
|
|
438
412
|
* @param request - CreateAggregateAdvancedSearchFileRequest
|
|
439
413
|
* @returns CreateAggregateAdvancedSearchFileResponse
|
|
@@ -443,10 +417,13 @@ class Client extends openapi_core_1.default {
|
|
|
443
417
|
return await this.createAggregateAdvancedSearchFileWithOptions(request, runtime);
|
|
444
418
|
}
|
|
445
419
|
/**
|
|
446
|
-
* Creates a compliance
|
|
420
|
+
* Creates a compliance pack for a specified account group.
|
|
447
421
|
*
|
|
448
422
|
* @remarks
|
|
449
|
-
*
|
|
423
|
+
* A compliance pack is a collection of rules. When you create a compliance pack, you can select default rules from a compliance pack template. You can also select rules from rule templates and the list of existing rules.
|
|
424
|
+
* After a compliance pack is created, its rules are evaluated once by default. Subsequent evaluations are automatically triggered based on the trigger mechanism of the rules. You can also manually trigger an evaluation.
|
|
425
|
+
* A compliance pack template is a collection of rules created by CloudConfig for a specific compliance scenario.
|
|
426
|
+
* This topic provides an example of how to create a compliance pack for the account group `ca-f632626622af0079****` using the compliance pack template `ClassifiedProtectionPreCheck` (Classified Protection Level 3 Pre-check).
|
|
450
427
|
*
|
|
451
428
|
* @param tmpReq - CreateAggregateCompliancePackRequest
|
|
452
429
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -544,10 +521,13 @@ class Client extends openapi_core_1.default {
|
|
|
544
521
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAggregateCompliancePackResponse({}));
|
|
545
522
|
}
|
|
546
523
|
/**
|
|
547
|
-
* Creates a compliance
|
|
524
|
+
* Creates a compliance pack for a specified account group.
|
|
548
525
|
*
|
|
549
526
|
* @remarks
|
|
550
|
-
*
|
|
527
|
+
* A compliance pack is a collection of rules. When you create a compliance pack, you can select default rules from a compliance pack template. You can also select rules from rule templates and the list of existing rules.
|
|
528
|
+
* After a compliance pack is created, its rules are evaluated once by default. Subsequent evaluations are automatically triggered based on the trigger mechanism of the rules. You can also manually trigger an evaluation.
|
|
529
|
+
* A compliance pack template is a collection of rules created by CloudConfig for a specific compliance scenario.
|
|
530
|
+
* This topic provides an example of how to create a compliance pack for the account group `ca-f632626622af0079****` using the compliance pack template `ClassifiedProtectionPreCheck` (Classified Protection Level 3 Pre-check).
|
|
551
531
|
*
|
|
552
532
|
* @param request - CreateAggregateCompliancePackRequest
|
|
553
533
|
* @returns CreateAggregateCompliancePackResponse
|
|
@@ -557,10 +537,20 @@ class Client extends openapi_core_1.default {
|
|
|
557
537
|
return await this.createAggregateCompliancePackWithOptions(request, runtime);
|
|
558
538
|
}
|
|
559
539
|
/**
|
|
560
|
-
* Creates a delivery channel for
|
|
540
|
+
* Creates a delivery channel for a specified account group to deliver resource data to Simple Log Service (SLS), Object Storage Service (OSS), or Simple Message Queue (formerly MNS).
|
|
561
541
|
*
|
|
562
542
|
* @remarks
|
|
563
|
-
*
|
|
543
|
+
* ### Background information
|
|
544
|
+
* - Deliver to Simple Log Service (SLS)
|
|
545
|
+
* To deliver configuration history, non-compliance events, and scheduled resource snapshots to a Logstore in Simple Log Service (SLS), you must first create a log project and a Logstore. This lets you query and analyze logs. For examples of the content in JSON format, see [Example of resource configuration change history](https://help.aliyun.com/document_detail/308347.html), [Example of resource non-compliance event](https://help.aliyun.com/document_detail/307122.html), and [Example of scheduled resource snapshot](https://help.aliyun.com/document_detail/611894.html).
|
|
546
|
+
* - Deliver to Object Storage Service (OSS)
|
|
547
|
+
* To deliver scheduled resource snapshots or configuration history to a specified location in Object Storage Service (OSS), you must first create a bucket. This lets you view or download files in JSON format. For examples of the content in JSON format, see [Example of scheduled resource snapshot](https://help.aliyun.com/document_detail/305669.html) and [Example of resource configuration change history](https://help.aliyun.com/document_detail/189738.html).
|
|
548
|
+
* - Deliver to Simple Message Queue (MNS)
|
|
549
|
+
* To deliver resource configuration change history and resource non-compliance events to a specified topic in Simple Message Queue (formerly MNS), you must first create a topic. This lets you configure the push method and content for the topic. For examples of the content in JSON format, see [Example of resource configuration change history](https://help.aliyun.com/document_detail/309462.html) and [Example of resource non-compliance event](https://help.aliyun.com/document_detail/309463.html).
|
|
550
|
+
* ### Limits
|
|
551
|
+
* You can create a maximum of five delivery channels for each account group.
|
|
552
|
+
* ### Usage notes
|
|
553
|
+
* This example shows how to create a delivery channel of the `OSS` type for the account group `ca-a4e5626622af0079****`. The Amazon Resource Name (ARN) of the delivery destination is `acs:oss:cn-shanghai:100931896542****:new-bucket`. The response shows that the delivery channel is created and its ID is `cdc-8e45ff4e06a3a8****`.
|
|
564
554
|
*
|
|
565
555
|
* @param request - CreateAggregateConfigDeliveryChannelRequest
|
|
566
556
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -625,10 +615,20 @@ class Client extends openapi_core_1.default {
|
|
|
625
615
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAggregateConfigDeliveryChannelResponse({}));
|
|
626
616
|
}
|
|
627
617
|
/**
|
|
628
|
-
* Creates a delivery channel for
|
|
618
|
+
* Creates a delivery channel for a specified account group to deliver resource data to Simple Log Service (SLS), Object Storage Service (OSS), or Simple Message Queue (formerly MNS).
|
|
629
619
|
*
|
|
630
620
|
* @remarks
|
|
631
|
-
*
|
|
621
|
+
* ### Background information
|
|
622
|
+
* - Deliver to Simple Log Service (SLS)
|
|
623
|
+
* To deliver configuration history, non-compliance events, and scheduled resource snapshots to a Logstore in Simple Log Service (SLS), you must first create a log project and a Logstore. This lets you query and analyze logs. For examples of the content in JSON format, see [Example of resource configuration change history](https://help.aliyun.com/document_detail/308347.html), [Example of resource non-compliance event](https://help.aliyun.com/document_detail/307122.html), and [Example of scheduled resource snapshot](https://help.aliyun.com/document_detail/611894.html).
|
|
624
|
+
* - Deliver to Object Storage Service (OSS)
|
|
625
|
+
* To deliver scheduled resource snapshots or configuration history to a specified location in Object Storage Service (OSS), you must first create a bucket. This lets you view or download files in JSON format. For examples of the content in JSON format, see [Example of scheduled resource snapshot](https://help.aliyun.com/document_detail/305669.html) and [Example of resource configuration change history](https://help.aliyun.com/document_detail/189738.html).
|
|
626
|
+
* - Deliver to Simple Message Queue (MNS)
|
|
627
|
+
* To deliver resource configuration change history and resource non-compliance events to a specified topic in Simple Message Queue (formerly MNS), you must first create a topic. This lets you configure the push method and content for the topic. For examples of the content in JSON format, see [Example of resource configuration change history](https://help.aliyun.com/document_detail/309462.html) and [Example of resource non-compliance event](https://help.aliyun.com/document_detail/309463.html).
|
|
628
|
+
* ### Limits
|
|
629
|
+
* You can create a maximum of five delivery channels for each account group.
|
|
630
|
+
* ### Usage notes
|
|
631
|
+
* This example shows how to create a delivery channel of the `OSS` type for the account group `ca-a4e5626622af0079****`. The Amazon Resource Name (ARN) of the delivery destination is `acs:oss:cn-shanghai:100931896542****:new-bucket`. The response shows that the delivery channel is created and its ID is `cdc-8e45ff4e06a3a8****`.
|
|
632
632
|
*
|
|
633
633
|
* @param request - CreateAggregateConfigDeliveryChannelRequest
|
|
634
634
|
* @returns CreateAggregateConfigDeliveryChannelResponse
|
|
@@ -638,13 +638,19 @@ class Client extends openapi_core_1.default {
|
|
|
638
638
|
return await this.createAggregateConfigDeliveryChannelWithOptions(request, runtime);
|
|
639
639
|
}
|
|
640
640
|
/**
|
|
641
|
-
* Creates a rule for
|
|
641
|
+
* Creates a rule for a specified account group. You can create a rule from a template or create a custom rule using Function Compute. The rule checks your resources for compliance. After a rule is created, it automatically runs once. Cloud Config then runs evaluations based on the rule\\"s trigger. You can also run evaluations manually.
|
|
642
642
|
*
|
|
643
643
|
* @remarks
|
|
644
644
|
* ### Limits
|
|
645
|
-
*
|
|
645
|
+
* Each management account and delegated administrator account can have up to 200 rules.
|
|
646
|
+
* ### Background information
|
|
647
|
+
* Cloud Config supports the following methods for creating rules:
|
|
648
|
+
* - Create rules from templates
|
|
649
|
+
* Rule templates are predefined rule functions that Cloud Config provides in Function Compute (FC). Use rule templates to create rules quickly. For more information about rules, see [the referenced document](https://help.aliyun.com/document_detail/128273.html).
|
|
650
|
+
* - Create rules based on functions in Function Compute
|
|
651
|
+
* Custom function rules are rules whose code is hosted in FC functions. If the predefined rule templates in Cloud Config do not meet your compliance requirements, write function code to check compliance in complex scenarios. For more information about custom function rules, see [the referenced document](https://help.aliyun.com/document_detail/127405.html).
|
|
646
652
|
* ### Usage notes
|
|
647
|
-
* This
|
|
653
|
+
* This example shows how to create a rule for the account group `ca-a4e5626622af0079****` using the \\`required-tags\\` template. The response shows that the rule is created with the ID `cr-4e3d626622af0080****`.
|
|
648
654
|
*
|
|
649
655
|
* @param tmpReq - CreateAggregateConfigRuleRequest
|
|
650
656
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -680,6 +686,9 @@ class Client extends openapi_core_1.default {
|
|
|
680
686
|
if (!$dara.isNull(request.clientToken)) {
|
|
681
687
|
body["ClientToken"] = request.clientToken;
|
|
682
688
|
}
|
|
689
|
+
if (!$dara.isNull(request.conditions)) {
|
|
690
|
+
body["Conditions"] = request.conditions;
|
|
691
|
+
}
|
|
683
692
|
if (!$dara.isNull(request.configRuleName)) {
|
|
684
693
|
body["ConfigRuleName"] = request.configRuleName;
|
|
685
694
|
}
|
|
@@ -772,13 +781,19 @@ class Client extends openapi_core_1.default {
|
|
|
772
781
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAggregateConfigRuleResponse({}));
|
|
773
782
|
}
|
|
774
783
|
/**
|
|
775
|
-
* Creates a rule for
|
|
784
|
+
* Creates a rule for a specified account group. You can create a rule from a template or create a custom rule using Function Compute. The rule checks your resources for compliance. After a rule is created, it automatically runs once. Cloud Config then runs evaluations based on the rule\\"s trigger. You can also run evaluations manually.
|
|
776
785
|
*
|
|
777
786
|
* @remarks
|
|
778
787
|
* ### Limits
|
|
779
|
-
*
|
|
788
|
+
* Each management account and delegated administrator account can have up to 200 rules.
|
|
789
|
+
* ### Background information
|
|
790
|
+
* Cloud Config supports the following methods for creating rules:
|
|
791
|
+
* - Create rules from templates
|
|
792
|
+
* Rule templates are predefined rule functions that Cloud Config provides in Function Compute (FC). Use rule templates to create rules quickly. For more information about rules, see [the referenced document](https://help.aliyun.com/document_detail/128273.html).
|
|
793
|
+
* - Create rules based on functions in Function Compute
|
|
794
|
+
* Custom function rules are rules whose code is hosted in FC functions. If the predefined rule templates in Cloud Config do not meet your compliance requirements, write function code to check compliance in complex scenarios. For more information about custom function rules, see [the referenced document](https://help.aliyun.com/document_detail/127405.html).
|
|
780
795
|
* ### Usage notes
|
|
781
|
-
* This
|
|
796
|
+
* This example shows how to create a rule for the account group `ca-a4e5626622af0079****` using the \\`required-tags\\` template. The response shows that the rule is created with the ID `cr-4e3d626622af0080****`.
|
|
782
797
|
*
|
|
783
798
|
* @param request - CreateAggregateConfigRuleRequest
|
|
784
799
|
* @returns CreateAggregateConfigRuleResponse
|
|
@@ -788,10 +803,16 @@ class Client extends openapi_core_1.default {
|
|
|
788
803
|
return await this.createAggregateConfigRuleWithOptions(request, runtime);
|
|
789
804
|
}
|
|
790
805
|
/**
|
|
791
|
-
* Creates a remediation
|
|
806
|
+
* Creates a remediation for a rule in a specified account group.
|
|
792
807
|
*
|
|
793
808
|
* @remarks
|
|
794
|
-
*
|
|
809
|
+
* ### Background information
|
|
810
|
+
* - Template-based remediation: Uses public templates provided by Operation Orchestration Service (OOS) to quickly remediate non-compliant resources.
|
|
811
|
+
* Only one remediation can be created for a rule. This type of remediation is supported only for rules that are created from specific templates.
|
|
812
|
+
* - Custom remediation: Runs custom code in Function Compute (FC) to quickly remediate non-compliant resources.
|
|
813
|
+
* Only one remediation can be created for a rule. This type of remediation is supported for rules created from templates and for custom rules.
|
|
814
|
+
* ### Usage notes
|
|
815
|
+
* This topic provides an example of how to create a remediation for the rule `cr-6b7c626622af00b4****` in the account group `ca-6b4a626622af0012****`. The response shows that the remediation is created and its ID is `crr-909ba2d4716700eb****`.
|
|
795
816
|
*
|
|
796
817
|
* @param request - CreateAggregateRemediationRequest
|
|
797
818
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -841,10 +862,16 @@ class Client extends openapi_core_1.default {
|
|
|
841
862
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAggregateRemediationResponse({}));
|
|
842
863
|
}
|
|
843
864
|
/**
|
|
844
|
-
* Creates a remediation
|
|
865
|
+
* Creates a remediation for a rule in a specified account group.
|
|
845
866
|
*
|
|
846
867
|
* @remarks
|
|
847
|
-
*
|
|
868
|
+
* ### Background information
|
|
869
|
+
* - Template-based remediation: Uses public templates provided by Operation Orchestration Service (OOS) to quickly remediate non-compliant resources.
|
|
870
|
+
* Only one remediation can be created for a rule. This type of remediation is supported only for rules that are created from specific templates.
|
|
871
|
+
* - Custom remediation: Runs custom code in Function Compute (FC) to quickly remediate non-compliant resources.
|
|
872
|
+
* Only one remediation can be created for a rule. This type of remediation is supported for rules created from templates and for custom rules.
|
|
873
|
+
* ### Usage notes
|
|
874
|
+
* This topic provides an example of how to create a remediation for the rule `cr-6b7c626622af00b4****` in the account group `ca-6b4a626622af0012****`. The response shows that the remediation is created and its ID is `crr-909ba2d4716700eb****`.
|
|
848
875
|
*
|
|
849
876
|
* @param request - CreateAggregateRemediationRequest
|
|
850
877
|
* @returns CreateAggregateRemediationResponse
|
|
@@ -854,16 +881,24 @@ class Client extends openapi_core_1.default {
|
|
|
854
881
|
return await this.createAggregateRemediationWithOptions(request, runtime);
|
|
855
882
|
}
|
|
856
883
|
/**
|
|
857
|
-
*
|
|
884
|
+
* A management account or a delegated administrator account in a resource directory can create an account group to centrally manage resources, compliance packages, and rules across multiple member accounts.
|
|
858
885
|
*
|
|
859
886
|
* @remarks
|
|
860
|
-
*
|
|
887
|
+
* ### Limits
|
|
888
|
+
* A management account or a delegated administrator account can create a maximum of 5 account groups. Each account group can contain a maximum of 200 member accounts.
|
|
889
|
+
* ### Background information
|
|
890
|
+
* For more information about account groups, including their concepts, use cases, and the impact of member account changes on Cloud Config, see [Overview](https://help.aliyun.com/document_detail/211534.html).
|
|
861
891
|
* Cloud Config supports the following types of account groups:
|
|
862
|
-
*
|
|
863
|
-
*
|
|
864
|
-
*
|
|
865
|
-
*
|
|
866
|
-
*
|
|
892
|
+
* - Global account group: A global account group contains all members in a resource directory and automatically synchronizes member changes. A management account or a delegated administrator account can create only one global account group.
|
|
893
|
+
* - Custom account group: To create a custom account group, a management account or a delegated administrator account selects some or all member accounts from the resource directory.
|
|
894
|
+
* - If a new member is added to the resource directory, the change is not automatically synchronized. The management account or delegated administrator account must manually add the new member to the account group.
|
|
895
|
+
* - If a member is removed from the resource directory, the management account or delegated administrator account loses the permissions to manage that member\\"s compliance. The custom account group automatically detects this change and removes the member from the group.
|
|
896
|
+
* - Folder account group: When an account group is created from a folder, it automatically detects and synchronizes changes to the members within that folder. The members in a folder account group are always consistent with the members in the selected folder.
|
|
897
|
+
* A management account or a delegated administrator account can select only one non-empty folder to create a folder account group.
|
|
898
|
+
* ### Usage notes
|
|
899
|
+
* This topic provides an example of how to use a management account to create a custom account group of the `CUSTOM` type. The account group is named `Test_Group` and has the description `Test Group`. The member accounts are as follows:
|
|
900
|
+
* - The member account ID is `171322098523****` and the member account name is `Alice`.
|
|
901
|
+
* - The member account ID is `100532098349****` and the member account name is `Tom`.
|
|
867
902
|
*
|
|
868
903
|
* @param tmpReq - CreateAggregatorRequest
|
|
869
904
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -920,16 +955,24 @@ class Client extends openapi_core_1.default {
|
|
|
920
955
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAggregatorResponse({}));
|
|
921
956
|
}
|
|
922
957
|
/**
|
|
923
|
-
*
|
|
958
|
+
* A management account or a delegated administrator account in a resource directory can create an account group to centrally manage resources, compliance packages, and rules across multiple member accounts.
|
|
924
959
|
*
|
|
925
960
|
* @remarks
|
|
926
|
-
*
|
|
961
|
+
* ### Limits
|
|
962
|
+
* A management account or a delegated administrator account can create a maximum of 5 account groups. Each account group can contain a maximum of 200 member accounts.
|
|
963
|
+
* ### Background information
|
|
964
|
+
* For more information about account groups, including their concepts, use cases, and the impact of member account changes on Cloud Config, see [Overview](https://help.aliyun.com/document_detail/211534.html).
|
|
927
965
|
* Cloud Config supports the following types of account groups:
|
|
928
|
-
*
|
|
929
|
-
*
|
|
930
|
-
*
|
|
931
|
-
*
|
|
932
|
-
*
|
|
966
|
+
* - Global account group: A global account group contains all members in a resource directory and automatically synchronizes member changes. A management account or a delegated administrator account can create only one global account group.
|
|
967
|
+
* - Custom account group: To create a custom account group, a management account or a delegated administrator account selects some or all member accounts from the resource directory.
|
|
968
|
+
* - If a new member is added to the resource directory, the change is not automatically synchronized. The management account or delegated administrator account must manually add the new member to the account group.
|
|
969
|
+
* - If a member is removed from the resource directory, the management account or delegated administrator account loses the permissions to manage that member\\"s compliance. The custom account group automatically detects this change and removes the member from the group.
|
|
970
|
+
* - Folder account group: When an account group is created from a folder, it automatically detects and synchronizes changes to the members within that folder. The members in a folder account group are always consistent with the members in the selected folder.
|
|
971
|
+
* A management account or a delegated administrator account can select only one non-empty folder to create a folder account group.
|
|
972
|
+
* ### Usage notes
|
|
973
|
+
* This topic provides an example of how to use a management account to create a custom account group of the `CUSTOM` type. The account group is named `Test_Group` and has the description `Test Group`. The member accounts are as follows:
|
|
974
|
+
* - The member account ID is `171322098523****` and the member account name is `Alice`.
|
|
975
|
+
* - The member account ID is `100532098349****` and the member account name is `Tom`.
|
|
933
976
|
*
|
|
934
977
|
* @param request - CreateAggregatorRequest
|
|
935
978
|
* @returns CreateAggregatorResponse
|
|
@@ -939,11 +982,7 @@ class Client extends openapi_core_1.default {
|
|
|
939
982
|
return await this.createAggregatorWithOptions(request, runtime);
|
|
940
983
|
}
|
|
941
984
|
/**
|
|
942
|
-
*
|
|
943
|
-
*
|
|
944
|
-
* @remarks
|
|
945
|
-
* Each ordinary account can create up to five compliance packages.
|
|
946
|
-
* This topic provides an example on how to create a compliance package named ClassifiedProtectionPreCheck. The compliance package contains a managed rule named `eip-bandwidth-limit`.
|
|
985
|
+
* 为当前账号创建合规包
|
|
947
986
|
*
|
|
948
987
|
* @param tmpReq - CreateCompliancePackRequest
|
|
949
988
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1038,11 +1077,7 @@ class Client extends openapi_core_1.default {
|
|
|
1038
1077
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateCompliancePackResponse({}));
|
|
1039
1078
|
}
|
|
1040
1079
|
/**
|
|
1041
|
-
*
|
|
1042
|
-
*
|
|
1043
|
-
* @remarks
|
|
1044
|
-
* Each ordinary account can create up to five compliance packages.
|
|
1045
|
-
* This topic provides an example on how to create a compliance package named ClassifiedProtectionPreCheck. The compliance package contains a managed rule named `eip-bandwidth-limit`.
|
|
1080
|
+
* 为当前账号创建合规包
|
|
1046
1081
|
*
|
|
1047
1082
|
* @param request - CreateCompliancePackRequest
|
|
1048
1083
|
* @returns CreateCompliancePackResponse
|
|
@@ -1052,10 +1087,20 @@ class Client extends openapi_core_1.default {
|
|
|
1052
1087
|
return await this.createCompliancePackWithOptions(request, runtime);
|
|
1053
1088
|
}
|
|
1054
1089
|
/**
|
|
1055
|
-
* Creates a delivery channel.
|
|
1090
|
+
* Creates a delivery channel to deliver resource data to Simple Log Service (SLS), Object Storage Service (OSS), or Simple Message Queue (formerly MNS).
|
|
1056
1091
|
*
|
|
1057
1092
|
* @remarks
|
|
1058
|
-
*
|
|
1093
|
+
* ### Background information
|
|
1094
|
+
* - Deliver to Simple Log Service (SLS)
|
|
1095
|
+
* When you deliver resource configuration histories, non-compliant events, and scheduled snapshots to a Logstore in SLS, you must first create a project and a Logstore. This lets you query and analyze logs. For examples of the content of the JSON files, see [Resource configuration history examples](https://help.aliyun.com/document_detail/308347.html), [Non-compliant event examples](https://help.aliyun.com/document_detail/307122.html), and [Scheduled resource snapshot examples](https://help.aliyun.com/document_detail/611894.html).
|
|
1096
|
+
* - Deliver to Object Storage Service (OSS)
|
|
1097
|
+
* When you deliver scheduled resource snapshots or configuration histories to a specified location in OSS, you must first create a bucket. This lets you view or download the JSON files. For examples of the content of the JSON files, see [Scheduled resource snapshot examples](https://help.aliyun.com/document_detail/305669.html) and [Resource configuration history examples](https://help.aliyun.com/document_detail/189738.html).
|
|
1098
|
+
* - Deliver to Simple Message Queue (formerly MNS)
|
|
1099
|
+
* When you deliver resource configuration histories and non-compliant events to a specified topic in MNS, you must first create a topic. This lets you set the push method and content for the topic. For examples of the content of the JSON files, see [Resource configuration history examples](https://help.aliyun.com/document_detail/309462.html) and [Non-compliant event examples](https://help.aliyun.com/document_detail/309463.html).
|
|
1100
|
+
* ### Limits
|
|
1101
|
+
* You can create a maximum of 5 delivery channels.
|
|
1102
|
+
* ### Usage notes
|
|
1103
|
+
* This topic provides an example of how to create a delivery channel. In this example, the channel type is `OSS` and the destination ARN is `acs:oss:cn-shanghai:100931896542****:new-bucket`. The response shows that a delivery channel with the ID `cdc-8e45ff4e06a3a8****` is created.
|
|
1059
1104
|
*
|
|
1060
1105
|
* @param request - CreateConfigDeliveryChannelRequest
|
|
1061
1106
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1117,10 +1162,20 @@ class Client extends openapi_core_1.default {
|
|
|
1117
1162
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateConfigDeliveryChannelResponse({}));
|
|
1118
1163
|
}
|
|
1119
1164
|
/**
|
|
1120
|
-
* Creates a delivery channel.
|
|
1165
|
+
* Creates a delivery channel to deliver resource data to Simple Log Service (SLS), Object Storage Service (OSS), or Simple Message Queue (formerly MNS).
|
|
1121
1166
|
*
|
|
1122
1167
|
* @remarks
|
|
1123
|
-
*
|
|
1168
|
+
* ### Background information
|
|
1169
|
+
* - Deliver to Simple Log Service (SLS)
|
|
1170
|
+
* When you deliver resource configuration histories, non-compliant events, and scheduled snapshots to a Logstore in SLS, you must first create a project and a Logstore. This lets you query and analyze logs. For examples of the content of the JSON files, see [Resource configuration history examples](https://help.aliyun.com/document_detail/308347.html), [Non-compliant event examples](https://help.aliyun.com/document_detail/307122.html), and [Scheduled resource snapshot examples](https://help.aliyun.com/document_detail/611894.html).
|
|
1171
|
+
* - Deliver to Object Storage Service (OSS)
|
|
1172
|
+
* When you deliver scheduled resource snapshots or configuration histories to a specified location in OSS, you must first create a bucket. This lets you view or download the JSON files. For examples of the content of the JSON files, see [Scheduled resource snapshot examples](https://help.aliyun.com/document_detail/305669.html) and [Resource configuration history examples](https://help.aliyun.com/document_detail/189738.html).
|
|
1173
|
+
* - Deliver to Simple Message Queue (formerly MNS)
|
|
1174
|
+
* When you deliver resource configuration histories and non-compliant events to a specified topic in MNS, you must first create a topic. This lets you set the push method and content for the topic. For examples of the content of the JSON files, see [Resource configuration history examples](https://help.aliyun.com/document_detail/309462.html) and [Non-compliant event examples](https://help.aliyun.com/document_detail/309463.html).
|
|
1175
|
+
* ### Limits
|
|
1176
|
+
* You can create a maximum of 5 delivery channels.
|
|
1177
|
+
* ### Usage notes
|
|
1178
|
+
* This topic provides an example of how to create a delivery channel. In this example, the channel type is `OSS` and the destination ARN is `acs:oss:cn-shanghai:100931896542****:new-bucket`. The response shows that a delivery channel with the ID `cdc-8e45ff4e06a3a8****` is created.
|
|
1124
1179
|
*
|
|
1125
1180
|
* @param request - CreateConfigDeliveryChannelRequest
|
|
1126
1181
|
* @returns CreateConfigDeliveryChannelResponse
|
|
@@ -1130,11 +1185,19 @@ class Client extends openapi_core_1.default {
|
|
|
1130
1185
|
return await this.createConfigDeliveryChannelWithOptions(request, runtime);
|
|
1131
1186
|
}
|
|
1132
1187
|
/**
|
|
1133
|
-
* Creates a rule
|
|
1188
|
+
* Creates a rule from a template or a custom rule using Function Compute to check resource compliance. After you create a rule, Cloud Config runs an initial evaluation and then automatically triggers subsequent evaluations based on the rule\\"s trigger. You can also run evaluations manually.
|
|
1134
1189
|
*
|
|
1135
1190
|
* @remarks
|
|
1136
|
-
*
|
|
1137
|
-
* You can
|
|
1191
|
+
* ### Limits
|
|
1192
|
+
* You can create up to 200 rules per account.
|
|
1193
|
+
* ### Background information
|
|
1194
|
+
* You can create rules in Cloud Config in two ways:
|
|
1195
|
+
* - Create rules from templates
|
|
1196
|
+
* Rule templates are predefined rule functions provided by Cloud Config in Function Compute. You can use rule templates to quickly create rules. For more information, see [Definition and working principles of rules](https://help.aliyun.com/document_detail/128273.html).
|
|
1197
|
+
* - Create custom rules using Function Compute
|
|
1198
|
+
* Custom rules use Function Compute functions to host your rule code. If Cloud Config\\"s predefined rule templates do not meet your compliance requirements, you can write your own function code to check compliance in complex scenarios. For more information, see [Definition and working principles of custom rules](https://help.aliyun.com/document_detail/127405.html).
|
|
1199
|
+
* ### Usage notes
|
|
1200
|
+
* This topic demonstrates how to create a rule from the \\`required-tags\\` template. The response confirms that the rule was created successfully. Its ID is `cr-5772ba41209e007b****`.
|
|
1138
1201
|
*
|
|
1139
1202
|
* @param tmpReq - CreateConfigRuleRequest
|
|
1140
1203
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1161,6 +1224,9 @@ class Client extends openapi_core_1.default {
|
|
|
1161
1224
|
if (!$dara.isNull(request.clientToken)) {
|
|
1162
1225
|
body["ClientToken"] = request.clientToken;
|
|
1163
1226
|
}
|
|
1227
|
+
if (!$dara.isNull(request.conditions)) {
|
|
1228
|
+
body["Conditions"] = request.conditions;
|
|
1229
|
+
}
|
|
1164
1230
|
if (!$dara.isNull(request.configRuleName)) {
|
|
1165
1231
|
body["ConfigRuleName"] = request.configRuleName;
|
|
1166
1232
|
}
|
|
@@ -1247,11 +1313,19 @@ class Client extends openapi_core_1.default {
|
|
|
1247
1313
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateConfigRuleResponse({}));
|
|
1248
1314
|
}
|
|
1249
1315
|
/**
|
|
1250
|
-
* Creates a rule
|
|
1316
|
+
* Creates a rule from a template or a custom rule using Function Compute to check resource compliance. After you create a rule, Cloud Config runs an initial evaluation and then automatically triggers subsequent evaluations based on the rule\\"s trigger. You can also run evaluations manually.
|
|
1251
1317
|
*
|
|
1252
1318
|
* @remarks
|
|
1253
|
-
*
|
|
1254
|
-
* You can
|
|
1319
|
+
* ### Limits
|
|
1320
|
+
* You can create up to 200 rules per account.
|
|
1321
|
+
* ### Background information
|
|
1322
|
+
* You can create rules in Cloud Config in two ways:
|
|
1323
|
+
* - Create rules from templates
|
|
1324
|
+
* Rule templates are predefined rule functions provided by Cloud Config in Function Compute. You can use rule templates to quickly create rules. For more information, see [Definition and working principles of rules](https://help.aliyun.com/document_detail/128273.html).
|
|
1325
|
+
* - Create custom rules using Function Compute
|
|
1326
|
+
* Custom rules use Function Compute functions to host your rule code. If Cloud Config\\"s predefined rule templates do not meet your compliance requirements, you can write your own function code to check compliance in complex scenarios. For more information, see [Definition and working principles of custom rules](https://help.aliyun.com/document_detail/127405.html).
|
|
1327
|
+
* ### Usage notes
|
|
1328
|
+
* This topic demonstrates how to create a rule from the \\`required-tags\\` template. The response confirms that the rule was created successfully. Its ID is `cr-5772ba41209e007b****`.
|
|
1255
1329
|
*
|
|
1256
1330
|
* @param request - CreateConfigRuleRequest
|
|
1257
1331
|
* @returns CreateConfigRuleResponse
|
|
@@ -1261,10 +1335,16 @@ class Client extends openapi_core_1.default {
|
|
|
1261
1335
|
return await this.createConfigRuleWithOptions(request, runtime);
|
|
1262
1336
|
}
|
|
1263
1337
|
/**
|
|
1264
|
-
* Creates a remediation
|
|
1338
|
+
* Creates a remediation for an existing rule.
|
|
1265
1339
|
*
|
|
1266
1340
|
* @remarks
|
|
1267
|
-
*
|
|
1341
|
+
* ### Background information
|
|
1342
|
+
* - Template-based remediation: Uses public templates from Operation Orchestration Service (OOS) to remediate non-compliant resources.
|
|
1343
|
+
* Each rule supports only one remediation. This remediation type is available only for rules created from specific templates.
|
|
1344
|
+
* - Custom remediation: Uses custom code in Function Compute (FC) to remediate non-compliant resources.
|
|
1345
|
+
* Each rule supports only one remediation. This remediation type is available for rules created from templates and custom rules.
|
|
1346
|
+
* ### Usage notes
|
|
1347
|
+
* In this example, a remediation is created for the rule `cr-8a973ac2e2be00a2****`. The sample response shows that the remediation is created and has the ID `crr-909ba2d4716700eb****`.
|
|
1268
1348
|
*
|
|
1269
1349
|
* @param request - CreateRemediationRequest
|
|
1270
1350
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1311,10 +1391,16 @@ class Client extends openapi_core_1.default {
|
|
|
1311
1391
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateRemediationResponse({}));
|
|
1312
1392
|
}
|
|
1313
1393
|
/**
|
|
1314
|
-
* Creates a remediation
|
|
1394
|
+
* Creates a remediation for an existing rule.
|
|
1315
1395
|
*
|
|
1316
1396
|
* @remarks
|
|
1317
|
-
*
|
|
1397
|
+
* ### Background information
|
|
1398
|
+
* - Template-based remediation: Uses public templates from Operation Orchestration Service (OOS) to remediate non-compliant resources.
|
|
1399
|
+
* Each rule supports only one remediation. This remediation type is available only for rules created from specific templates.
|
|
1400
|
+
* - Custom remediation: Uses custom code in Function Compute (FC) to remediate non-compliant resources.
|
|
1401
|
+
* Each rule supports only one remediation. This remediation type is available for rules created from templates and custom rules.
|
|
1402
|
+
* ### Usage notes
|
|
1403
|
+
* In this example, a remediation is created for the rule `cr-8a973ac2e2be00a2****`. The sample response shows that the remediation is created and has the ID `crr-909ba2d4716700eb****`.
|
|
1318
1404
|
*
|
|
1319
1405
|
* @param request - CreateRemediationRequest
|
|
1320
1406
|
* @returns CreateRemediationResponse
|
|
@@ -1324,7 +1410,7 @@ class Client extends openapi_core_1.default {
|
|
|
1324
1410
|
return await this.createRemediationWithOptions(request, runtime);
|
|
1325
1411
|
}
|
|
1326
1412
|
/**
|
|
1327
|
-
*
|
|
1413
|
+
* Create a compliance report template for the current UID.
|
|
1328
1414
|
*
|
|
1329
1415
|
* @param tmpReq - CreateReportTemplateRequest
|
|
1330
1416
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1376,7 +1462,7 @@ class Client extends openapi_core_1.default {
|
|
|
1376
1462
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateReportTemplateResponse({}));
|
|
1377
1463
|
}
|
|
1378
1464
|
/**
|
|
1379
|
-
*
|
|
1465
|
+
* Create a compliance report template for the current UID.
|
|
1380
1466
|
*
|
|
1381
1467
|
* @param request - CreateReportTemplateRequest
|
|
1382
1468
|
* @returns CreateReportTemplateResponse
|
|
@@ -1386,13 +1472,7 @@ class Client extends openapi_core_1.default {
|
|
|
1386
1472
|
return await this.createReportTemplateWithOptions(request, runtime);
|
|
1387
1473
|
}
|
|
1388
1474
|
/**
|
|
1389
|
-
*
|
|
1390
|
-
*
|
|
1391
|
-
* @remarks
|
|
1392
|
-
* ### [](#)Prerequisites
|
|
1393
|
-
* The status of the rule is `ACTIVE`.
|
|
1394
|
-
* ### [](#)Description
|
|
1395
|
-
* This topic provides an example on how to disable the `cr-5772ba41209e007b****` rule in the `ca-04b3fd170e340007****` account group.
|
|
1475
|
+
* 停用账号组规则
|
|
1396
1476
|
*
|
|
1397
1477
|
* @param request - DeactiveAggregateConfigRulesRequest
|
|
1398
1478
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1427,13 +1507,7 @@ class Client extends openapi_core_1.default {
|
|
|
1427
1507
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeactiveAggregateConfigRulesResponse({}));
|
|
1428
1508
|
}
|
|
1429
1509
|
/**
|
|
1430
|
-
*
|
|
1431
|
-
*
|
|
1432
|
-
* @remarks
|
|
1433
|
-
* ### [](#)Prerequisites
|
|
1434
|
-
* The status of the rule is `ACTIVE`.
|
|
1435
|
-
* ### [](#)Description
|
|
1436
|
-
* This topic provides an example on how to disable the `cr-5772ba41209e007b****` rule in the `ca-04b3fd170e340007****` account group.
|
|
1510
|
+
* 停用账号组规则
|
|
1437
1511
|
*
|
|
1438
1512
|
* @param request - DeactiveAggregateConfigRulesRequest
|
|
1439
1513
|
* @returns DeactiveAggregateConfigRulesResponse
|
|
@@ -1443,13 +1517,7 @@ class Client extends openapi_core_1.default {
|
|
|
1443
1517
|
return await this.deactiveAggregateConfigRulesWithOptions(request, runtime);
|
|
1444
1518
|
}
|
|
1445
1519
|
/**
|
|
1446
|
-
*
|
|
1447
|
-
*
|
|
1448
|
-
* @remarks
|
|
1449
|
-
* ### [](#)Prerequisites
|
|
1450
|
-
* The status of the rule is `ACTIVE`.
|
|
1451
|
-
* ### [](#)Description
|
|
1452
|
-
* This topic provides an example on how to disable the `cr-19a56457e0d90058****` rule.
|
|
1520
|
+
* 停用指定规则
|
|
1453
1521
|
*
|
|
1454
1522
|
* @param request - DeactiveConfigRulesRequest
|
|
1455
1523
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1481,13 +1549,7 @@ class Client extends openapi_core_1.default {
|
|
|
1481
1549
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeactiveConfigRulesResponse({}));
|
|
1482
1550
|
}
|
|
1483
1551
|
/**
|
|
1484
|
-
*
|
|
1485
|
-
*
|
|
1486
|
-
* @remarks
|
|
1487
|
-
* ### [](#)Prerequisites
|
|
1488
|
-
* The status of the rule is `ACTIVE`.
|
|
1489
|
-
* ### [](#)Description
|
|
1490
|
-
* This topic provides an example on how to disable the `cr-19a56457e0d90058****` rule.
|
|
1552
|
+
* 停用指定规则
|
|
1491
1553
|
*
|
|
1492
1554
|
* @param request - DeactiveConfigRulesRequest
|
|
1493
1555
|
* @returns DeactiveConfigRulesResponse
|
|
@@ -1497,10 +1559,7 @@ class Client extends openapi_core_1.default {
|
|
|
1497
1559
|
return await this.deactiveConfigRulesWithOptions(request, runtime);
|
|
1498
1560
|
}
|
|
1499
1561
|
/**
|
|
1500
|
-
*
|
|
1501
|
-
*
|
|
1502
|
-
* @remarks
|
|
1503
|
-
* This topic provides an example on how to delete the `cp-541e626622af0087****` compliance package from the `ca-04b3fd170e340007****` account group.
|
|
1562
|
+
* 删除指定账号组内的合规包。删除合规包后,该合规包的检查结果和检查报告也自动被删除
|
|
1504
1563
|
*
|
|
1505
1564
|
* @param request - DeleteAggregateCompliancePacksRequest
|
|
1506
1565
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1538,10 +1597,7 @@ class Client extends openapi_core_1.default {
|
|
|
1538
1597
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAggregateCompliancePacksResponse({}));
|
|
1539
1598
|
}
|
|
1540
1599
|
/**
|
|
1541
|
-
*
|
|
1542
|
-
*
|
|
1543
|
-
* @remarks
|
|
1544
|
-
* This topic provides an example on how to delete the `cp-541e626622af0087****` compliance package from the `ca-04b3fd170e340007****` account group.
|
|
1600
|
+
* 删除指定账号组内的合规包。删除合规包后,该合规包的检查结果和检查报告也自动被删除
|
|
1545
1601
|
*
|
|
1546
1602
|
* @param request - DeleteAggregateCompliancePacksRequest
|
|
1547
1603
|
* @returns DeleteAggregateCompliancePacksResponse
|
|
@@ -1551,10 +1607,7 @@ class Client extends openapi_core_1.default {
|
|
|
1551
1607
|
return await this.deleteAggregateCompliancePacksWithOptions(request, runtime);
|
|
1552
1608
|
}
|
|
1553
1609
|
/**
|
|
1554
|
-
*
|
|
1555
|
-
*
|
|
1556
|
-
* @remarks
|
|
1557
|
-
* This topic provides an example on how to delete the `cdc-38c3013b46c9002c****` delivery channel from the `ca-23c6626622af0041****` account group. The returned result shows that the `cdc-38c3013b46c9002c****` delivery channel is deleted.
|
|
1610
|
+
* 账号组删除投递渠道
|
|
1558
1611
|
*
|
|
1559
1612
|
* @param request - DeleteAggregateConfigDeliveryChannelRequest
|
|
1560
1613
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1586,10 +1639,7 @@ class Client extends openapi_core_1.default {
|
|
|
1586
1639
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAggregateConfigDeliveryChannelResponse({}));
|
|
1587
1640
|
}
|
|
1588
1641
|
/**
|
|
1589
|
-
*
|
|
1590
|
-
*
|
|
1591
|
-
* @remarks
|
|
1592
|
-
* This topic provides an example on how to delete the `cdc-38c3013b46c9002c****` delivery channel from the `ca-23c6626622af0041****` account group. The returned result shows that the `cdc-38c3013b46c9002c****` delivery channel is deleted.
|
|
1642
|
+
* 账号组删除投递渠道
|
|
1593
1643
|
*
|
|
1594
1644
|
* @param request - DeleteAggregateConfigDeliveryChannelRequest
|
|
1595
1645
|
* @returns DeleteAggregateConfigDeliveryChannelResponse
|
|
@@ -1599,10 +1649,7 @@ class Client extends openapi_core_1.default {
|
|
|
1599
1649
|
return await this.deleteAggregateConfigDeliveryChannelWithOptions(request, runtime);
|
|
1600
1650
|
}
|
|
1601
1651
|
/**
|
|
1602
|
-
*
|
|
1603
|
-
*
|
|
1604
|
-
* @remarks
|
|
1605
|
-
* This topic provides an example on how to delete the `cr-4e3d626622af0080****` rule from the `ca-a4e5626622af0079****` account group.
|
|
1652
|
+
* 删除指定账号组内的规则。删除规则后,其配置信息不再保留
|
|
1606
1653
|
*
|
|
1607
1654
|
* @param request - DeleteAggregateConfigRulesRequest
|
|
1608
1655
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1634,10 +1681,7 @@ class Client extends openapi_core_1.default {
|
|
|
1634
1681
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAggregateConfigRulesResponse({}));
|
|
1635
1682
|
}
|
|
1636
1683
|
/**
|
|
1637
|
-
*
|
|
1638
|
-
*
|
|
1639
|
-
* @remarks
|
|
1640
|
-
* This topic provides an example on how to delete the `cr-4e3d626622af0080****` rule from the `ca-a4e5626622af0079****` account group.
|
|
1684
|
+
* 删除指定账号组内的规则。删除规则后,其配置信息不再保留
|
|
1641
1685
|
*
|
|
1642
1686
|
* @param request - DeleteAggregateConfigRulesRequest
|
|
1643
1687
|
* @returns DeleteAggregateConfigRulesResponse
|
|
@@ -1647,10 +1691,10 @@ class Client extends openapi_core_1.default {
|
|
|
1647
1691
|
return await this.deleteAggregateConfigRulesWithOptions(request, runtime);
|
|
1648
1692
|
}
|
|
1649
1693
|
/**
|
|
1650
|
-
* Deletes
|
|
1694
|
+
* Deletes the remediation settings for a rule in a specified account group.
|
|
1651
1695
|
*
|
|
1652
1696
|
* @remarks
|
|
1653
|
-
* This topic provides an example
|
|
1697
|
+
* This topic provides an example of how to delete the remediation setting `crr-909ba2d4716700eb****` for a rule in the account group `ca-6b4a626622af0012****`. The response shows that the remediation setting is deleted.
|
|
1654
1698
|
*
|
|
1655
1699
|
* @param request - DeleteAggregateRemediationsRequest
|
|
1656
1700
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1682,10 +1726,10 @@ class Client extends openapi_core_1.default {
|
|
|
1682
1726
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAggregateRemediationsResponse({}));
|
|
1683
1727
|
}
|
|
1684
1728
|
/**
|
|
1685
|
-
* Deletes
|
|
1729
|
+
* Deletes the remediation settings for a rule in a specified account group.
|
|
1686
1730
|
*
|
|
1687
1731
|
* @remarks
|
|
1688
|
-
* This topic provides an example
|
|
1732
|
+
* This topic provides an example of how to delete the remediation setting `crr-909ba2d4716700eb****` for a rule in the account group `ca-6b4a626622af0012****`. The response shows that the remediation setting is deleted.
|
|
1689
1733
|
*
|
|
1690
1734
|
* @param request - DeleteAggregateRemediationsRequest
|
|
1691
1735
|
* @returns DeleteAggregateRemediationsResponse
|
|
@@ -1695,17 +1739,7 @@ class Client extends openapi_core_1.default {
|
|
|
1695
1739
|
return await this.deleteAggregateRemediationsWithOptions(request, runtime);
|
|
1696
1740
|
}
|
|
1697
1741
|
/**
|
|
1698
|
-
*
|
|
1699
|
-
*
|
|
1700
|
-
* @remarks
|
|
1701
|
-
* ### [](#)Background information
|
|
1702
|
-
* After you delete an account group, the following changes occur to Cloud Config:
|
|
1703
|
-
* * The rules and compliance packages of the account group are deleted and cannot be recovered.
|
|
1704
|
-
* * All compliance results generated in the account group are automatically deleted and cannot be recovered.
|
|
1705
|
-
* * Service-linked roles for Cloud Config of member accounts in the account group are retained.
|
|
1706
|
-
* * If the account groups to which a member belongs are all deleted, the member account uses Cloud Config as an independent Alibaba Cloud account.
|
|
1707
|
-
* ### [](#)Description
|
|
1708
|
-
* This topic provides an example on how to delete the account group whose ID is `ca-9190626622af00a9****`.
|
|
1742
|
+
* 删除账号组
|
|
1709
1743
|
*
|
|
1710
1744
|
* @param request - DeleteAggregatorsRequest
|
|
1711
1745
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1737,17 +1771,7 @@ class Client extends openapi_core_1.default {
|
|
|
1737
1771
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAggregatorsResponse({}));
|
|
1738
1772
|
}
|
|
1739
1773
|
/**
|
|
1740
|
-
*
|
|
1741
|
-
*
|
|
1742
|
-
* @remarks
|
|
1743
|
-
* ### [](#)Background information
|
|
1744
|
-
* After you delete an account group, the following changes occur to Cloud Config:
|
|
1745
|
-
* * The rules and compliance packages of the account group are deleted and cannot be recovered.
|
|
1746
|
-
* * All compliance results generated in the account group are automatically deleted and cannot be recovered.
|
|
1747
|
-
* * Service-linked roles for Cloud Config of member accounts in the account group are retained.
|
|
1748
|
-
* * If the account groups to which a member belongs are all deleted, the member account uses Cloud Config as an independent Alibaba Cloud account.
|
|
1749
|
-
* ### [](#)Description
|
|
1750
|
-
* This topic provides an example on how to delete the account group whose ID is `ca-9190626622af00a9****`.
|
|
1774
|
+
* 删除账号组
|
|
1751
1775
|
*
|
|
1752
1776
|
* @param request - DeleteAggregatorsRequest
|
|
1753
1777
|
* @returns DeleteAggregatorsResponse
|
|
@@ -1757,10 +1781,7 @@ class Client extends openapi_core_1.default {
|
|
|
1757
1781
|
return await this.deleteAggregatorsWithOptions(request, runtime);
|
|
1758
1782
|
}
|
|
1759
1783
|
/**
|
|
1760
|
-
*
|
|
1761
|
-
*
|
|
1762
|
-
* @remarks
|
|
1763
|
-
* This topic provides an example on how to delete the `cp-541e626622af0087****` compliance package.
|
|
1784
|
+
* 批量删除合规包
|
|
1764
1785
|
*
|
|
1765
1786
|
* @param request - DeleteCompliancePacksRequest
|
|
1766
1787
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1795,10 +1816,7 @@ class Client extends openapi_core_1.default {
|
|
|
1795
1816
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteCompliancePacksResponse({}));
|
|
1796
1817
|
}
|
|
1797
1818
|
/**
|
|
1798
|
-
*
|
|
1799
|
-
*
|
|
1800
|
-
* @remarks
|
|
1801
|
-
* This topic provides an example on how to delete the `cp-541e626622af0087****` compliance package.
|
|
1819
|
+
* 批量删除合规包
|
|
1802
1820
|
*
|
|
1803
1821
|
* @param request - DeleteCompliancePacksRequest
|
|
1804
1822
|
* @returns DeleteCompliancePacksResponse
|
|
@@ -1808,10 +1826,7 @@ class Client extends openapi_core_1.default {
|
|
|
1808
1826
|
return await this.deleteCompliancePacksWithOptions(request, runtime);
|
|
1809
1827
|
}
|
|
1810
1828
|
/**
|
|
1811
|
-
*
|
|
1812
|
-
*
|
|
1813
|
-
* @remarks
|
|
1814
|
-
* This topic provides an example on how to delete the `cdc-38c3013b46c9002c****` delivery channel. The returned result shows that the `cdc-38c3013b46c9002c****` delivery channel is deleted.
|
|
1829
|
+
* 当前账号删除投递渠道
|
|
1815
1830
|
*
|
|
1816
1831
|
* @param request - DeleteConfigDeliveryChannelRequest
|
|
1817
1832
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1840,10 +1855,7 @@ class Client extends openapi_core_1.default {
|
|
|
1840
1855
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteConfigDeliveryChannelResponse({}));
|
|
1841
1856
|
}
|
|
1842
1857
|
/**
|
|
1843
|
-
*
|
|
1844
|
-
*
|
|
1845
|
-
* @remarks
|
|
1846
|
-
* This topic provides an example on how to delete the `cdc-38c3013b46c9002c****` delivery channel. The returned result shows that the `cdc-38c3013b46c9002c****` delivery channel is deleted.
|
|
1858
|
+
* 当前账号删除投递渠道
|
|
1847
1859
|
*
|
|
1848
1860
|
* @param request - DeleteConfigDeliveryChannelRequest
|
|
1849
1861
|
* @returns DeleteConfigDeliveryChannelResponse
|
|
@@ -1853,10 +1865,7 @@ class Client extends openapi_core_1.default {
|
|
|
1853
1865
|
return await this.deleteConfigDeliveryChannelWithOptions(request, runtime);
|
|
1854
1866
|
}
|
|
1855
1867
|
/**
|
|
1856
|
-
*
|
|
1857
|
-
*
|
|
1858
|
-
* @remarks
|
|
1859
|
-
* In this example, the rule whose ID is cr-9908626622af0035\\*\\*\\*\\* is deleted.
|
|
1868
|
+
* 批量删除规则
|
|
1860
1869
|
*
|
|
1861
1870
|
* @param request - DeleteConfigRulesRequest
|
|
1862
1871
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1885,10 +1894,7 @@ class Client extends openapi_core_1.default {
|
|
|
1885
1894
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteConfigRulesResponse({}));
|
|
1886
1895
|
}
|
|
1887
1896
|
/**
|
|
1888
|
-
*
|
|
1889
|
-
*
|
|
1890
|
-
* @remarks
|
|
1891
|
-
* In this example, the rule whose ID is cr-9908626622af0035\\*\\*\\*\\* is deleted.
|
|
1897
|
+
* 批量删除规则
|
|
1892
1898
|
*
|
|
1893
1899
|
* @param request - DeleteConfigRulesRequest
|
|
1894
1900
|
* @returns DeleteConfigRulesResponse
|
|
@@ -1898,10 +1904,10 @@ class Client extends openapi_core_1.default {
|
|
|
1898
1904
|
return await this.deleteConfigRulesWithOptions(request, runtime);
|
|
1899
1905
|
}
|
|
1900
1906
|
/**
|
|
1901
|
-
* Deletes
|
|
1907
|
+
* Deletes specified remediation settings.
|
|
1902
1908
|
*
|
|
1903
1909
|
* @remarks
|
|
1904
|
-
* This topic provides an example
|
|
1910
|
+
* This topic provides an example of how to delete a remediation setting for a rule. In this example, the remediation setting with the ID `crr-909ba2d4716700eb****` is deleted. The response indicates that the operation is successful.
|
|
1905
1911
|
*
|
|
1906
1912
|
* @param request - DeleteRemediationsRequest
|
|
1907
1913
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1930,10 +1936,10 @@ class Client extends openapi_core_1.default {
|
|
|
1930
1936
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteRemediationsResponse({}));
|
|
1931
1937
|
}
|
|
1932
1938
|
/**
|
|
1933
|
-
* Deletes
|
|
1939
|
+
* Deletes specified remediation settings.
|
|
1934
1940
|
*
|
|
1935
1941
|
* @remarks
|
|
1936
|
-
* This topic provides an example
|
|
1942
|
+
* This topic provides an example of how to delete a remediation setting for a rule. In this example, the remediation setting with the ID `crr-909ba2d4716700eb****` is deleted. The response indicates that the operation is successful.
|
|
1937
1943
|
*
|
|
1938
1944
|
* @param request - DeleteRemediationsRequest
|
|
1939
1945
|
* @returns DeleteRemediationsResponse
|
|
@@ -1943,7 +1949,7 @@ class Client extends openapi_core_1.default {
|
|
|
1943
1949
|
return await this.deleteRemediationsWithOptions(request, runtime);
|
|
1944
1950
|
}
|
|
1945
1951
|
/**
|
|
1946
|
-
*
|
|
1952
|
+
* Deletes a compliance report template.
|
|
1947
1953
|
*
|
|
1948
1954
|
* @param request - DeleteReportTemplateRequest
|
|
1949
1955
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1972,7 +1978,7 @@ class Client extends openapi_core_1.default {
|
|
|
1972
1978
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteReportTemplateResponse({}));
|
|
1973
1979
|
}
|
|
1974
1980
|
/**
|
|
1975
|
-
*
|
|
1981
|
+
* Deletes a compliance report template.
|
|
1976
1982
|
*
|
|
1977
1983
|
* @param request - DeleteReportTemplateRequest
|
|
1978
1984
|
* @returns DeleteReportTemplateResponse
|
|
@@ -1982,7 +1988,7 @@ class Client extends openapi_core_1.default {
|
|
|
1982
1988
|
return await this.deleteReportTemplateWithOptions(request, runtime);
|
|
1983
1989
|
}
|
|
1984
1990
|
/**
|
|
1985
|
-
*
|
|
1991
|
+
* This operation retrieves the details of multiple resources in a batch.
|
|
1986
1992
|
*
|
|
1987
1993
|
* @param request - DescribeDiscoveredResourceBatchRequest
|
|
1988
1994
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2017,7 +2023,7 @@ class Client extends openapi_core_1.default {
|
|
|
2017
2023
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDiscoveredResourceBatchResponse({}));
|
|
2018
2024
|
}
|
|
2019
2025
|
/**
|
|
2020
|
-
*
|
|
2026
|
+
* This operation retrieves the details of multiple resources in a batch.
|
|
2021
2027
|
*
|
|
2022
2028
|
* @param request - DescribeDiscoveredResourceBatchRequest
|
|
2023
2029
|
* @returns DescribeDiscoveredResourceBatchResponse
|
|
@@ -2027,7 +2033,7 @@ class Client extends openapi_core_1.default {
|
|
|
2027
2033
|
return await this.describeDiscoveredResourceBatchWithOptions(request, runtime);
|
|
2028
2034
|
}
|
|
2029
2035
|
/**
|
|
2030
|
-
*
|
|
2036
|
+
* Queries the authorization status of an integrated cloud service.
|
|
2031
2037
|
*
|
|
2032
2038
|
* @param request - DescribeIntegratedServiceStatusRequest
|
|
2033
2039
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2056,7 +2062,7 @@ class Client extends openapi_core_1.default {
|
|
|
2056
2062
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeIntegratedServiceStatusResponse({}));
|
|
2057
2063
|
}
|
|
2058
2064
|
/**
|
|
2059
|
-
*
|
|
2065
|
+
* Queries the authorization status of an integrated cloud service.
|
|
2060
2066
|
*
|
|
2061
2067
|
* @param request - DescribeIntegratedServiceStatusRequest
|
|
2062
2068
|
* @returns DescribeIntegratedServiceStatusResponse
|
|
@@ -2066,7 +2072,7 @@ class Client extends openapi_core_1.default {
|
|
|
2066
2072
|
return await this.describeIntegratedServiceStatusWithOptions(request, runtime);
|
|
2067
2073
|
}
|
|
2068
2074
|
/**
|
|
2069
|
-
*
|
|
2075
|
+
* 获取修正详情
|
|
2070
2076
|
*
|
|
2071
2077
|
* @param request - DescribeRemediationRequest
|
|
2072
2078
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2092,7 +2098,7 @@ class Client extends openapi_core_1.default {
|
|
|
2092
2098
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeRemediationResponse({}));
|
|
2093
2099
|
}
|
|
2094
2100
|
/**
|
|
2095
|
-
*
|
|
2101
|
+
* 获取修正详情
|
|
2096
2102
|
*
|
|
2097
2103
|
* @param request - DescribeRemediationRequest
|
|
2098
2104
|
* @returns DescribeRemediationResponse
|
|
@@ -2102,13 +2108,7 @@ class Client extends openapi_core_1.default {
|
|
|
2102
2108
|
return await this.describeRemediationWithOptions(request, runtime);
|
|
2103
2109
|
}
|
|
2104
2110
|
/**
|
|
2105
|
-
*
|
|
2106
|
-
*
|
|
2107
|
-
* @remarks
|
|
2108
|
-
* ### Prerequisites
|
|
2109
|
-
* One or more rules are added to a compliance package.
|
|
2110
|
-
* ### Usage notes
|
|
2111
|
-
* The sample request in this topic shows you how to remove the `cr-6cc4626622af00e7****` rule in the `ca-75b4626622af00c3****` account group from the `cp-5bb1626622af00bd****` compliance package.
|
|
2111
|
+
* 将指定账号组规则从指定账号组合规包中移出
|
|
2112
2112
|
*
|
|
2113
2113
|
* @param request - DetachAggregateConfigRuleToCompliancePackRequest
|
|
2114
2114
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2143,13 +2143,7 @@ class Client extends openapi_core_1.default {
|
|
|
2143
2143
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DetachAggregateConfigRuleToCompliancePackResponse({}));
|
|
2144
2144
|
}
|
|
2145
2145
|
/**
|
|
2146
|
-
*
|
|
2147
|
-
*
|
|
2148
|
-
* @remarks
|
|
2149
|
-
* ### Prerequisites
|
|
2150
|
-
* One or more rules are added to a compliance package.
|
|
2151
|
-
* ### Usage notes
|
|
2152
|
-
* The sample request in this topic shows you how to remove the `cr-6cc4626622af00e7****` rule in the `ca-75b4626622af00c3****` account group from the `cp-5bb1626622af00bd****` compliance package.
|
|
2146
|
+
* 将指定账号组规则从指定账号组合规包中移出
|
|
2153
2147
|
*
|
|
2154
2148
|
* @param request - DetachAggregateConfigRuleToCompliancePackRequest
|
|
2155
2149
|
* @returns DetachAggregateConfigRuleToCompliancePackResponse
|
|
@@ -2159,13 +2153,13 @@ class Client extends openapi_core_1.default {
|
|
|
2159
2153
|
return await this.detachAggregateConfigRuleToCompliancePackWithOptions(request, runtime);
|
|
2160
2154
|
}
|
|
2161
2155
|
/**
|
|
2162
|
-
*
|
|
2156
|
+
* This operation detaches one or more rules from a compliance package.
|
|
2163
2157
|
*
|
|
2164
2158
|
* @remarks
|
|
2165
2159
|
* ### Prerequisites
|
|
2166
|
-
*
|
|
2160
|
+
* Make sure that the destination compliance package contains rules.
|
|
2167
2161
|
* ### Usage notes
|
|
2168
|
-
* This topic provides an example
|
|
2162
|
+
* This topic provides an example of detaching the rule `cr-6cc4626622af00e7****` from the compliance package `cp-5bb1626622af00bd****`.
|
|
2169
2163
|
*
|
|
2170
2164
|
* @param request - DetachConfigRuleToCompliancePackRequest
|
|
2171
2165
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2197,13 +2191,13 @@ class Client extends openapi_core_1.default {
|
|
|
2197
2191
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DetachConfigRuleToCompliancePackResponse({}));
|
|
2198
2192
|
}
|
|
2199
2193
|
/**
|
|
2200
|
-
*
|
|
2194
|
+
* This operation detaches one or more rules from a compliance package.
|
|
2201
2195
|
*
|
|
2202
2196
|
* @remarks
|
|
2203
2197
|
* ### Prerequisites
|
|
2204
|
-
*
|
|
2198
|
+
* Make sure that the destination compliance package contains rules.
|
|
2205
2199
|
* ### Usage notes
|
|
2206
|
-
* This topic provides an example
|
|
2200
|
+
* This topic provides an example of detaching the rule `cr-6cc4626622af00e7****` from the compliance package `cp-5bb1626622af00bd****`.
|
|
2207
2201
|
*
|
|
2208
2202
|
* @param request - DetachConfigRuleToCompliancePackRequest
|
|
2209
2203
|
* @returns DetachConfigRuleToCompliancePackResponse
|
|
@@ -2213,7 +2207,7 @@ class Client extends openapi_core_1.default {
|
|
|
2213
2207
|
return await this.detachConfigRuleToCompliancePackWithOptions(request, runtime);
|
|
2214
2208
|
}
|
|
2215
2209
|
/**
|
|
2216
|
-
*
|
|
2210
|
+
* This API performs a dry run on rules for proactive compliance pre-checks.
|
|
2217
2211
|
*
|
|
2218
2212
|
* @param request - DryRunConfigRuleRequest
|
|
2219
2213
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2245,7 +2239,7 @@ class Client extends openapi_core_1.default {
|
|
|
2245
2239
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DryRunConfigRuleResponse({}));
|
|
2246
2240
|
}
|
|
2247
2241
|
/**
|
|
2248
|
-
*
|
|
2242
|
+
* This API performs a dry run on rules for proactive compliance pre-checks.
|
|
2249
2243
|
*
|
|
2250
2244
|
* @param request - DryRunConfigRuleRequest
|
|
2251
2245
|
* @returns DryRunConfigRuleResponse
|
|
@@ -2255,7 +2249,11 @@ class Client extends openapi_core_1.default {
|
|
|
2255
2249
|
return await this.dryRunConfigRuleWithOptions(request, runtime);
|
|
2256
2250
|
}
|
|
2257
2251
|
/**
|
|
2258
|
-
* Executes evaluation rules to
|
|
2252
|
+
* Executes evaluation rules to perform compliance pre-checks on resources.
|
|
2253
|
+
*
|
|
2254
|
+
* @remarks
|
|
2255
|
+
* For more information about the concepts, operating principles, and integration process of evaluation rules, see [Definition and operating principles of evaluation rules](https://help.aliyun.com/document_detail/470802.html).
|
|
2256
|
+
* After you create an evaluation rule, a managed rule with the same settings is created. This managed rule can continuously check the compliance of resources after they are created.
|
|
2259
2257
|
*
|
|
2260
2258
|
* @param tmpReq - EvaluatePreConfigRulesRequest
|
|
2261
2259
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2295,7 +2293,11 @@ class Client extends openapi_core_1.default {
|
|
|
2295
2293
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.EvaluatePreConfigRulesResponse({}));
|
|
2296
2294
|
}
|
|
2297
2295
|
/**
|
|
2298
|
-
* Executes evaluation rules to
|
|
2296
|
+
* Executes evaluation rules to perform compliance pre-checks on resources.
|
|
2297
|
+
*
|
|
2298
|
+
* @remarks
|
|
2299
|
+
* For more information about the concepts, operating principles, and integration process of evaluation rules, see [Definition and operating principles of evaluation rules](https://help.aliyun.com/document_detail/470802.html).
|
|
2300
|
+
* After you create an evaluation rule, a managed rule with the same settings is created. This managed rule can continuously check the compliance of resources after they are created.
|
|
2299
2301
|
*
|
|
2300
2302
|
* @param request - EvaluatePreConfigRulesRequest
|
|
2301
2303
|
* @returns EvaluatePreConfigRulesResponse
|
|
@@ -2305,11 +2307,11 @@ class Client extends openapi_core_1.default {
|
|
|
2305
2307
|
return await this.evaluatePreConfigRulesWithOptions(request, runtime);
|
|
2306
2308
|
}
|
|
2307
2309
|
/**
|
|
2308
|
-
* Generates
|
|
2310
|
+
* Generates an assessment report for a specified compliance package in a specified account group.
|
|
2309
2311
|
*
|
|
2310
2312
|
* @remarks
|
|
2311
|
-
* >
|
|
2312
|
-
* This topic provides an example
|
|
2313
|
+
* > This operation only generates the latest assessment report. You need to call the GetAggregateCompliancePackReport operation to download the assessment report. For more information, see [GetAggregateCompliancePackReport](https://help.aliyun.com/document_detail/262699.html).
|
|
2314
|
+
* This topic provides an example that shows how to generate an assessment report for the compliance package `cp-fdc8626622af00f9****` in the account group `ca-f632626622af0079****`.
|
|
2313
2315
|
*
|
|
2314
2316
|
* @param request - GenerateAggregateCompliancePackReportRequest
|
|
2315
2317
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2347,11 +2349,11 @@ class Client extends openapi_core_1.default {
|
|
|
2347
2349
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GenerateAggregateCompliancePackReportResponse({}));
|
|
2348
2350
|
}
|
|
2349
2351
|
/**
|
|
2350
|
-
* Generates
|
|
2352
|
+
* Generates an assessment report for a specified compliance package in a specified account group.
|
|
2351
2353
|
*
|
|
2352
2354
|
* @remarks
|
|
2353
|
-
* >
|
|
2354
|
-
* This topic provides an example
|
|
2355
|
+
* > This operation only generates the latest assessment report. You need to call the GetAggregateCompliancePackReport operation to download the assessment report. For more information, see [GetAggregateCompliancePackReport](https://help.aliyun.com/document_detail/262699.html).
|
|
2356
|
+
* This topic provides an example that shows how to generate an assessment report for the compliance package `cp-fdc8626622af00f9****` in the account group `ca-f632626622af0079****`.
|
|
2355
2357
|
*
|
|
2356
2358
|
* @param request - GenerateAggregateCompliancePackReportRequest
|
|
2357
2359
|
* @returns GenerateAggregateCompliancePackReportResponse
|
|
@@ -2361,11 +2363,7 @@ class Client extends openapi_core_1.default {
|
|
|
2361
2363
|
return await this.generateAggregateCompliancePackReportWithOptions(request, runtime);
|
|
2362
2364
|
}
|
|
2363
2365
|
/**
|
|
2364
|
-
*
|
|
2365
|
-
*
|
|
2366
|
-
* @remarks
|
|
2367
|
-
* > You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetAggregateConfigRulesReport operation. For more information, see [GetAggregateConfigRulesReport](https://help.aliyun.com/document_detail/262706.html).
|
|
2368
|
-
* The topic provides an example on how to generate a compliance evaluation report based on all rules in the `ca-f632626622af0079****` account group.
|
|
2366
|
+
* 生成指定账号组的合规报告
|
|
2369
2367
|
*
|
|
2370
2368
|
* @param request - GenerateAggregateConfigRulesReportRequest
|
|
2371
2369
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2400,11 +2398,7 @@ class Client extends openapi_core_1.default {
|
|
|
2400
2398
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GenerateAggregateConfigRulesReportResponse({}));
|
|
2401
2399
|
}
|
|
2402
2400
|
/**
|
|
2403
|
-
*
|
|
2404
|
-
*
|
|
2405
|
-
* @remarks
|
|
2406
|
-
* > You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetAggregateConfigRulesReport operation. For more information, see [GetAggregateConfigRulesReport](https://help.aliyun.com/document_detail/262706.html).
|
|
2407
|
-
* The topic provides an example on how to generate a compliance evaluation report based on all rules in the `ca-f632626622af0079****` account group.
|
|
2401
|
+
* 生成指定账号组的合规报告
|
|
2408
2402
|
*
|
|
2409
2403
|
* @param request - GenerateAggregateConfigRulesReportRequest
|
|
2410
2404
|
* @returns GenerateAggregateConfigRulesReportResponse
|
|
@@ -2414,10 +2408,7 @@ class Client extends openapi_core_1.default {
|
|
|
2414
2408
|
return await this.generateAggregateConfigRulesReportWithOptions(request, runtime);
|
|
2415
2409
|
}
|
|
2416
2410
|
/**
|
|
2417
|
-
*
|
|
2418
|
-
*
|
|
2419
|
-
* @remarks
|
|
2420
|
-
* This topic provides an example to show how to generate a downloadable inventory for global resources in the account group ca-a91d626622af0035\\*\\*\\*\\*.
|
|
2411
|
+
* 账号组资源清单生成
|
|
2421
2412
|
*
|
|
2422
2413
|
* @param request - GenerateAggregateResourceInventoryRequest
|
|
2423
2414
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2458,10 +2449,7 @@ class Client extends openapi_core_1.default {
|
|
|
2458
2449
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GenerateAggregateResourceInventoryResponse({}));
|
|
2459
2450
|
}
|
|
2460
2451
|
/**
|
|
2461
|
-
*
|
|
2462
|
-
*
|
|
2463
|
-
* @remarks
|
|
2464
|
-
* This topic provides an example to show how to generate a downloadable inventory for global resources in the account group ca-a91d626622af0035\\*\\*\\*\\*.
|
|
2452
|
+
* 账号组资源清单生成
|
|
2465
2453
|
*
|
|
2466
2454
|
* @param request - GenerateAggregateResourceInventoryRequest
|
|
2467
2455
|
* @returns GenerateAggregateResourceInventoryResponse
|
|
@@ -2471,11 +2459,7 @@ class Client extends openapi_core_1.default {
|
|
|
2471
2459
|
return await this.generateAggregateResourceInventoryWithOptions(request, runtime);
|
|
2472
2460
|
}
|
|
2473
2461
|
/**
|
|
2474
|
-
*
|
|
2475
|
-
*
|
|
2476
|
-
* @remarks
|
|
2477
|
-
* > You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetCompliancePackReport operation. For more information, see [GetCompliancePackReport](https://help.aliyun.com/document_detail/263347.html).
|
|
2478
|
-
* This topic provides an example on how to generate a compliance evaluation report based on the `cp-a8a8626622af0082****` compliance package.
|
|
2462
|
+
* 生成合规包的合规包报告
|
|
2479
2463
|
*
|
|
2480
2464
|
* @param request - GenerateCompliancePackReportRequest
|
|
2481
2465
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2507,11 +2491,7 @@ class Client extends openapi_core_1.default {
|
|
|
2507
2491
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GenerateCompliancePackReportResponse({}));
|
|
2508
2492
|
}
|
|
2509
2493
|
/**
|
|
2510
|
-
*
|
|
2511
|
-
*
|
|
2512
|
-
* @remarks
|
|
2513
|
-
* > You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetCompliancePackReport operation. For more information, see [GetCompliancePackReport](https://help.aliyun.com/document_detail/263347.html).
|
|
2514
|
-
* This topic provides an example on how to generate a compliance evaluation report based on the `cp-a8a8626622af0082****` compliance package.
|
|
2494
|
+
* 生成合规包的合规包报告
|
|
2515
2495
|
*
|
|
2516
2496
|
* @param request - GenerateCompliancePackReportRequest
|
|
2517
2497
|
* @returns GenerateCompliancePackReportResponse
|
|
@@ -2521,11 +2501,7 @@ class Client extends openapi_core_1.default {
|
|
|
2521
2501
|
return await this.generateCompliancePackReportWithOptions(request, runtime);
|
|
2522
2502
|
}
|
|
2523
2503
|
/**
|
|
2524
|
-
*
|
|
2525
|
-
*
|
|
2526
|
-
* @remarks
|
|
2527
|
-
* > You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetConfigRulesReport operation. For more information, see [GetConfigRulesReport](https://help.aliyun.com/document_detail/263608.html).
|
|
2528
|
-
* This topic provides an example of how to generate a compliance evaluation report based on all existing rules.
|
|
2504
|
+
* 生成规则的合规评估报告
|
|
2529
2505
|
*
|
|
2530
2506
|
* @param request - GenerateConfigRulesReportRequest
|
|
2531
2507
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2557,11 +2533,7 @@ class Client extends openapi_core_1.default {
|
|
|
2557
2533
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GenerateConfigRulesReportResponse({}));
|
|
2558
2534
|
}
|
|
2559
2535
|
/**
|
|
2560
|
-
*
|
|
2561
|
-
*
|
|
2562
|
-
* @remarks
|
|
2563
|
-
* > You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetConfigRulesReport operation. For more information, see [GetConfigRulesReport](https://help.aliyun.com/document_detail/263608.html).
|
|
2564
|
-
* This topic provides an example of how to generate a compliance evaluation report based on all existing rules.
|
|
2536
|
+
* 生成规则的合规评估报告
|
|
2565
2537
|
*
|
|
2566
2538
|
* @param request - GenerateConfigRulesReportRequest
|
|
2567
2539
|
* @returns GenerateConfigRulesReportResponse
|
|
@@ -2571,7 +2543,7 @@ class Client extends openapi_core_1.default {
|
|
|
2571
2543
|
return await this.generateConfigRulesReportWithOptions(request, runtime);
|
|
2572
2544
|
}
|
|
2573
2545
|
/**
|
|
2574
|
-
*
|
|
2546
|
+
* Generate a report ID from a report template.
|
|
2575
2547
|
*
|
|
2576
2548
|
* @param request - GenerateReportFromTemplateRequest
|
|
2577
2549
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2600,7 +2572,7 @@ class Client extends openapi_core_1.default {
|
|
|
2600
2572
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GenerateReportFromTemplateResponse({}));
|
|
2601
2573
|
}
|
|
2602
2574
|
/**
|
|
2603
|
-
*
|
|
2575
|
+
* Generate a report ID from a report template.
|
|
2604
2576
|
*
|
|
2605
2577
|
* @param request - GenerateReportFromTemplateRequest
|
|
2606
2578
|
* @returns GenerateReportFromTemplateResponse
|
|
@@ -2610,10 +2582,10 @@ class Client extends openapi_core_1.default {
|
|
|
2610
2582
|
return await this.generateReportFromTemplateWithOptions(request, runtime);
|
|
2611
2583
|
}
|
|
2612
2584
|
/**
|
|
2613
|
-
* Generates a
|
|
2585
|
+
* Generates a downloadable inventory of global resources.
|
|
2614
2586
|
*
|
|
2615
2587
|
* @remarks
|
|
2616
|
-
* This topic provides an example
|
|
2588
|
+
* This topic provides an example of how to generate a downloadable inventory of global resources for the current account.
|
|
2617
2589
|
*
|
|
2618
2590
|
* @param request - GenerateResourceInventoryRequest
|
|
2619
2591
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2648,10 +2620,10 @@ class Client extends openapi_core_1.default {
|
|
|
2648
2620
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GenerateResourceInventoryResponse({}));
|
|
2649
2621
|
}
|
|
2650
2622
|
/**
|
|
2651
|
-
* Generates a
|
|
2623
|
+
* Generates a downloadable inventory of global resources.
|
|
2652
2624
|
*
|
|
2653
2625
|
* @remarks
|
|
2654
|
-
* This topic provides an example
|
|
2626
|
+
* This topic provides an example of how to generate a downloadable inventory of global resources for the current account.
|
|
2655
2627
|
*
|
|
2656
2628
|
* @param request - GenerateResourceInventoryRequest
|
|
2657
2629
|
* @returns GenerateResourceInventoryResponse
|
|
@@ -2661,11 +2633,7 @@ class Client extends openapi_core_1.default {
|
|
|
2661
2633
|
return await this.generateResourceInventoryWithOptions(request, runtime);
|
|
2662
2634
|
}
|
|
2663
2635
|
/**
|
|
2664
|
-
*
|
|
2665
|
-
*
|
|
2666
|
-
* @remarks
|
|
2667
|
-
* ### [](#)Prerequisites
|
|
2668
|
-
* You must call the [CreateAdvancedSearchFile](https://help.aliyun.com/document_detail/2511967.html) operation to create a resource advanced search file. Then, you can call this operation to obtain the URL of the resource advanced search file.
|
|
2636
|
+
* 高级搜索 获取搜索结果下载文件地址
|
|
2669
2637
|
*
|
|
2670
2638
|
* @param request - GetAdvancedSearchFileRequest
|
|
2671
2639
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2687,11 +2655,7 @@ class Client extends openapi_core_1.default {
|
|
|
2687
2655
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAdvancedSearchFileResponse({}));
|
|
2688
2656
|
}
|
|
2689
2657
|
/**
|
|
2690
|
-
*
|
|
2691
|
-
*
|
|
2692
|
-
* @remarks
|
|
2693
|
-
* ### [](#)Prerequisites
|
|
2694
|
-
* You must call the [CreateAdvancedSearchFile](https://help.aliyun.com/document_detail/2511967.html) operation to create a resource advanced search file. Then, you can call this operation to obtain the URL of the resource advanced search file.
|
|
2658
|
+
* 高级搜索 获取搜索结果下载文件地址
|
|
2695
2659
|
* @returns GetAdvancedSearchFileResponse
|
|
2696
2660
|
*/
|
|
2697
2661
|
async getAdvancedSearchFile() {
|
|
@@ -2699,10 +2663,7 @@ class Client extends openapi_core_1.default {
|
|
|
2699
2663
|
return await this.getAdvancedSearchFileWithOptions(runtime);
|
|
2700
2664
|
}
|
|
2701
2665
|
/**
|
|
2702
|
-
*
|
|
2703
|
-
*
|
|
2704
|
-
* @remarks
|
|
2705
|
-
* This topic provides an example on how to query the compliance evaluation results of member accounts for which the `cp-541e626622af0087****` compliance package takes effect in the `ca-04b3fd170e340007****` account group. The returned result shows that two member accounts are monitored by the compliance package and they are both evaluated as compliant.
|
|
2666
|
+
* 查询指定账号组内指定合规包中成员账号的合规结果
|
|
2706
2667
|
*
|
|
2707
2668
|
* @param request - GetAggregateAccountComplianceByPackRequest
|
|
2708
2669
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2728,10 +2689,7 @@ class Client extends openapi_core_1.default {
|
|
|
2728
2689
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregateAccountComplianceByPackResponse({}));
|
|
2729
2690
|
}
|
|
2730
2691
|
/**
|
|
2731
|
-
*
|
|
2732
|
-
*
|
|
2733
|
-
* @remarks
|
|
2734
|
-
* This topic provides an example on how to query the compliance evaluation results of member accounts for which the `cp-541e626622af0087****` compliance package takes effect in the `ca-04b3fd170e340007****` account group. The returned result shows that two member accounts are monitored by the compliance package and they are both evaluated as compliant.
|
|
2692
|
+
* 查询指定账号组内指定合规包中成员账号的合规结果
|
|
2735
2693
|
*
|
|
2736
2694
|
* @param request - GetAggregateAccountComplianceByPackRequest
|
|
2737
2695
|
* @returns GetAggregateAccountComplianceByPackResponse
|
|
@@ -2741,7 +2699,7 @@ class Client extends openapi_core_1.default {
|
|
|
2741
2699
|
return await this.getAggregateAccountComplianceByPackWithOptions(request, runtime);
|
|
2742
2700
|
}
|
|
2743
2701
|
/**
|
|
2744
|
-
*
|
|
2702
|
+
* 高级搜获取搜索结果下载文件地址
|
|
2745
2703
|
*
|
|
2746
2704
|
* @param request - GetAggregateAdvancedSearchFileRequest
|
|
2747
2705
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2770,7 +2728,7 @@ class Client extends openapi_core_1.default {
|
|
|
2770
2728
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregateAdvancedSearchFileResponse({}));
|
|
2771
2729
|
}
|
|
2772
2730
|
/**
|
|
2773
|
-
*
|
|
2731
|
+
* 高级搜获取搜索结果下载文件地址
|
|
2774
2732
|
*
|
|
2775
2733
|
* @param request - GetAggregateAdvancedSearchFileRequest
|
|
2776
2734
|
* @returns GetAggregateAdvancedSearchFileResponse
|
|
@@ -2780,10 +2738,10 @@ class Client extends openapi_core_1.default {
|
|
|
2780
2738
|
return await this.getAggregateAdvancedSearchFileWithOptions(request, runtime);
|
|
2781
2739
|
}
|
|
2782
2740
|
/**
|
|
2783
|
-
* Queries the details of a compliance
|
|
2741
|
+
* Queries the details of a compliance pack in a specified account group.
|
|
2784
2742
|
*
|
|
2785
2743
|
* @remarks
|
|
2786
|
-
*
|
|
2744
|
+
* This topic provides an example of how to retrieve the details of the compliance pack `cp-fdc8626622af00f9****` in the account group `ca-f632626622af0079****`.
|
|
2787
2745
|
*
|
|
2788
2746
|
* @param tmpReq - GetAggregateCompliancePackRequest
|
|
2789
2747
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2814,10 +2772,10 @@ class Client extends openapi_core_1.default {
|
|
|
2814
2772
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregateCompliancePackResponse({}));
|
|
2815
2773
|
}
|
|
2816
2774
|
/**
|
|
2817
|
-
* Queries the details of a compliance
|
|
2775
|
+
* Queries the details of a compliance pack in a specified account group.
|
|
2818
2776
|
*
|
|
2819
2777
|
* @remarks
|
|
2820
|
-
*
|
|
2778
|
+
* This topic provides an example of how to retrieve the details of the compliance pack `cp-fdc8626622af00f9****` in the account group `ca-f632626622af0079****`.
|
|
2821
2779
|
*
|
|
2822
2780
|
* @param request - GetAggregateCompliancePackRequest
|
|
2823
2781
|
* @returns GetAggregateCompliancePackResponse
|
|
@@ -2827,11 +2785,7 @@ class Client extends openapi_core_1.default {
|
|
|
2827
2785
|
return await this.getAggregateCompliancePackWithOptions(request, runtime);
|
|
2828
2786
|
}
|
|
2829
2787
|
/**
|
|
2830
|
-
*
|
|
2831
|
-
*
|
|
2832
|
-
* @remarks
|
|
2833
|
-
* > Before you call this operation, you must call the GenerateAggregateCompliancePackReport operation to generate the latest compliance evaluation report based on a compliance package. For more information, see [GenerateAggregateCompliancePackReport](https://help.aliyun.com/document_detail/262687.html).
|
|
2834
|
-
* This topic provides an example on how to query the compliance evaluation report that is generated based on the `cp-fdc8626622af00f9****` compliance package in the `ca-f632626622af0079****` account group.
|
|
2788
|
+
* 获取指定账号组内指定合规包的评估报告
|
|
2835
2789
|
*
|
|
2836
2790
|
* @param request - GetAggregateCompliancePackReportRequest
|
|
2837
2791
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2857,11 +2811,7 @@ class Client extends openapi_core_1.default {
|
|
|
2857
2811
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregateCompliancePackReportResponse({}));
|
|
2858
2812
|
}
|
|
2859
2813
|
/**
|
|
2860
|
-
*
|
|
2861
|
-
*
|
|
2862
|
-
* @remarks
|
|
2863
|
-
* > Before you call this operation, you must call the GenerateAggregateCompliancePackReport operation to generate the latest compliance evaluation report based on a compliance package. For more information, see [GenerateAggregateCompliancePackReport](https://help.aliyun.com/document_detail/262687.html).
|
|
2864
|
-
* This topic provides an example on how to query the compliance evaluation report that is generated based on the `cp-fdc8626622af00f9****` compliance package in the `ca-f632626622af0079****` account group.
|
|
2814
|
+
* 获取指定账号组内指定合规包的评估报告
|
|
2865
2815
|
*
|
|
2866
2816
|
* @param request - GetAggregateCompliancePackReportRequest
|
|
2867
2817
|
* @returns GetAggregateCompliancePackReportResponse
|
|
@@ -2871,10 +2821,10 @@ class Client extends openapi_core_1.default {
|
|
|
2871
2821
|
return await this.getAggregateCompliancePackReportWithOptions(request, runtime);
|
|
2872
2822
|
}
|
|
2873
2823
|
/**
|
|
2874
|
-
* Queries the compliance
|
|
2824
|
+
* Queries the compliance summary for a specified account group.
|
|
2875
2825
|
*
|
|
2876
2826
|
* @remarks
|
|
2877
|
-
* This topic provides an example
|
|
2827
|
+
* This topic provides an example of how to query the compliance summary by resource and by rule for the account group ca-a91d626622af0035\\*\\*\\*\\*.
|
|
2878
2828
|
*
|
|
2879
2829
|
* @param request - GetAggregateComplianceSummaryRequest
|
|
2880
2830
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2903,10 +2853,10 @@ class Client extends openapi_core_1.default {
|
|
|
2903
2853
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregateComplianceSummaryResponse({}));
|
|
2904
2854
|
}
|
|
2905
2855
|
/**
|
|
2906
|
-
* Queries the compliance
|
|
2856
|
+
* Queries the compliance summary for a specified account group.
|
|
2907
2857
|
*
|
|
2908
2858
|
* @remarks
|
|
2909
|
-
* This topic provides an example
|
|
2859
|
+
* This topic provides an example of how to query the compliance summary by resource and by rule for the account group ca-a91d626622af0035\\*\\*\\*\\*.
|
|
2910
2860
|
*
|
|
2911
2861
|
* @param request - GetAggregateComplianceSummaryRequest
|
|
2912
2862
|
* @returns GetAggregateComplianceSummaryResponse
|
|
@@ -2916,7 +2866,7 @@ class Client extends openapi_core_1.default {
|
|
|
2916
2866
|
return await this.getAggregateComplianceSummaryWithOptions(request, runtime);
|
|
2917
2867
|
}
|
|
2918
2868
|
/**
|
|
2919
|
-
*
|
|
2869
|
+
* 账号组查询单个投递渠道
|
|
2920
2870
|
*
|
|
2921
2871
|
* @param request - GetAggregateConfigDeliveryChannelRequest
|
|
2922
2872
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2948,7 +2898,7 @@ class Client extends openapi_core_1.default {
|
|
|
2948
2898
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregateConfigDeliveryChannelResponse({}));
|
|
2949
2899
|
}
|
|
2950
2900
|
/**
|
|
2951
|
-
*
|
|
2901
|
+
* 账号组查询单个投递渠道
|
|
2952
2902
|
*
|
|
2953
2903
|
* @param request - GetAggregateConfigDeliveryChannelRequest
|
|
2954
2904
|
* @returns GetAggregateConfigDeliveryChannelResponse
|
|
@@ -2958,10 +2908,10 @@ class Client extends openapi_core_1.default {
|
|
|
2958
2908
|
return await this.getAggregateConfigDeliveryChannelWithOptions(request, runtime);
|
|
2959
2909
|
}
|
|
2960
2910
|
/**
|
|
2961
|
-
* Queries the details of a rule in
|
|
2911
|
+
* Queries the details of a specific rule in a specified account group.
|
|
2962
2912
|
*
|
|
2963
2913
|
* @remarks
|
|
2964
|
-
* This example
|
|
2914
|
+
* This topic provides an example of how to query the details of the rule `cr-7f7d626622af0041****` in the account group `ca-7f00626622af0041****`.
|
|
2965
2915
|
*
|
|
2966
2916
|
* @param tmpReq - GetAggregateConfigRuleRequest
|
|
2967
2917
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3001,10 +2951,10 @@ class Client extends openapi_core_1.default {
|
|
|
3001
2951
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregateConfigRuleResponse({}));
|
|
3002
2952
|
}
|
|
3003
2953
|
/**
|
|
3004
|
-
* Queries the details of a rule in
|
|
2954
|
+
* Queries the details of a specific rule in a specified account group.
|
|
3005
2955
|
*
|
|
3006
2956
|
* @remarks
|
|
3007
|
-
* This example
|
|
2957
|
+
* This topic provides an example of how to query the details of the rule `cr-7f7d626622af0041****` in the account group `ca-7f00626622af0041****`.
|
|
3008
2958
|
*
|
|
3009
2959
|
* @param request - GetAggregateConfigRuleRequest
|
|
3010
2960
|
* @returns GetAggregateConfigRuleResponse
|
|
@@ -3014,10 +2964,10 @@ class Client extends openapi_core_1.default {
|
|
|
3014
2964
|
return await this.getAggregateConfigRuleWithOptions(request, runtime);
|
|
3015
2965
|
}
|
|
3016
2966
|
/**
|
|
3017
|
-
* Queries compliance
|
|
2967
|
+
* Queries the compliance results of rules in a specified compliance pack within a specified account group.
|
|
3018
2968
|
*
|
|
3019
2969
|
* @remarks
|
|
3020
|
-
*
|
|
2970
|
+
* This topic provides an example of how to query the compliance results of rules in the compliance pack `cp-541e626622af0087****` for the account group `ca-04b3fd170e340007****`. The response returns a total of `1` rule and `0` non-compliant rules.
|
|
3021
2971
|
*
|
|
3022
2972
|
* @param request - GetAggregateConfigRuleComplianceByPackRequest
|
|
3023
2973
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3043,10 +2993,10 @@ class Client extends openapi_core_1.default {
|
|
|
3043
2993
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregateConfigRuleComplianceByPackResponse({}));
|
|
3044
2994
|
}
|
|
3045
2995
|
/**
|
|
3046
|
-
* Queries compliance
|
|
2996
|
+
* Queries the compliance results of rules in a specified compliance pack within a specified account group.
|
|
3047
2997
|
*
|
|
3048
2998
|
* @remarks
|
|
3049
|
-
*
|
|
2999
|
+
* This topic provides an example of how to query the compliance results of rules in the compliance pack `cp-541e626622af0087****` for the account group `ca-04b3fd170e340007****`. The response returns a total of `1` rule and `0` non-compliant rules.
|
|
3050
3000
|
*
|
|
3051
3001
|
* @param request - GetAggregateConfigRuleComplianceByPackRequest
|
|
3052
3002
|
* @returns GetAggregateConfigRuleComplianceByPackResponse
|
|
@@ -3056,10 +3006,7 @@ class Client extends openapi_core_1.default {
|
|
|
3056
3006
|
return await this.getAggregateConfigRuleComplianceByPackWithOptions(request, runtime);
|
|
3057
3007
|
}
|
|
3058
3008
|
/**
|
|
3059
|
-
*
|
|
3060
|
-
*
|
|
3061
|
-
* @remarks
|
|
3062
|
-
* This topic provides an example on how to query the summary of compliance evaluation results by rule risk level in the `ca-3a58626622af0005****` account group. The returned result shows four rules that are specified with the high risk level. One of the rules detects non-compliant resources, and the resources evaluated by the remaining three are compliant.
|
|
3009
|
+
* 查询指定风险等级的账号组规则合规统计
|
|
3063
3010
|
*
|
|
3064
3011
|
* @param request - GetAggregateConfigRuleSummaryByRiskLevelRequest
|
|
3065
3012
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3088,10 +3035,7 @@ class Client extends openapi_core_1.default {
|
|
|
3088
3035
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregateConfigRuleSummaryByRiskLevelResponse({}));
|
|
3089
3036
|
}
|
|
3090
3037
|
/**
|
|
3091
|
-
*
|
|
3092
|
-
*
|
|
3093
|
-
* @remarks
|
|
3094
|
-
* This topic provides an example on how to query the summary of compliance evaluation results by rule risk level in the `ca-3a58626622af0005****` account group. The returned result shows four rules that are specified with the high risk level. One of the rules detects non-compliant resources, and the resources evaluated by the remaining three are compliant.
|
|
3038
|
+
* 查询指定风险等级的账号组规则合规统计
|
|
3095
3039
|
*
|
|
3096
3040
|
* @param request - GetAggregateConfigRuleSummaryByRiskLevelRequest
|
|
3097
3041
|
* @returns GetAggregateConfigRuleSummaryByRiskLevelResponse
|
|
@@ -3101,11 +3045,7 @@ class Client extends openapi_core_1.default {
|
|
|
3101
3045
|
return await this.getAggregateConfigRuleSummaryByRiskLevelWithOptions(request, runtime);
|
|
3102
3046
|
}
|
|
3103
3047
|
/**
|
|
3104
|
-
*
|
|
3105
|
-
*
|
|
3106
|
-
* @remarks
|
|
3107
|
-
* > Before you call this operation, you must call the GenerateAggregateConfigRulesReport operation to generate the latest compliance evaluation report based on all rules in an account group. For more information, see [GenerateAggregateConfigRulesReport](https://help.aliyun.com/document_detail/262701.html).
|
|
3108
|
-
* This topic provides an example on how to query the compliance evaluation report that is generated based on all rules in the `ca-f632626622af0079****` account group.
|
|
3048
|
+
* 下载Excel格式的规则合规评估报告到本地,便于您云下分配任务并跟进不合规资源配置的修改
|
|
3109
3049
|
*
|
|
3110
3050
|
* @param request - GetAggregateConfigRulesReportRequest
|
|
3111
3051
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3137,11 +3077,7 @@ class Client extends openapi_core_1.default {
|
|
|
3137
3077
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregateConfigRulesReportResponse({}));
|
|
3138
3078
|
}
|
|
3139
3079
|
/**
|
|
3140
|
-
*
|
|
3141
|
-
*
|
|
3142
|
-
* @remarks
|
|
3143
|
-
* > Before you call this operation, you must call the GenerateAggregateConfigRulesReport operation to generate the latest compliance evaluation report based on all rules in an account group. For more information, see [GenerateAggregateConfigRulesReport](https://help.aliyun.com/document_detail/262701.html).
|
|
3144
|
-
* This topic provides an example on how to query the compliance evaluation report that is generated based on all rules in the `ca-f632626622af0079****` account group.
|
|
3080
|
+
* 下载Excel格式的规则合规评估报告到本地,便于您云下分配任务并跟进不合规资源配置的修改
|
|
3145
3081
|
*
|
|
3146
3082
|
* @param request - GetAggregateConfigRulesReportRequest
|
|
3147
3083
|
* @returns GetAggregateConfigRulesReportResponse
|
|
@@ -3154,7 +3090,7 @@ class Client extends openapi_core_1.default {
|
|
|
3154
3090
|
* Queries the details of a specific resource in an account group.
|
|
3155
3091
|
*
|
|
3156
3092
|
* @remarks
|
|
3157
|
-
* This topic provides an example on how to query the details of an
|
|
3093
|
+
* This topic provides an example on how to query the details of an ECS instance `i-bp12g4xbl4i0brkn****` in the Hangzhou region within the account group `ca-5885626622af0008****`.
|
|
3158
3094
|
*
|
|
3159
3095
|
* @param request - GetAggregateDiscoveredResourceRequest
|
|
3160
3096
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3204,7 +3140,7 @@ class Client extends openapi_core_1.default {
|
|
|
3204
3140
|
* Queries the details of a specific resource in an account group.
|
|
3205
3141
|
*
|
|
3206
3142
|
* @remarks
|
|
3207
|
-
* This topic provides an example on how to query the details of an
|
|
3143
|
+
* This topic provides an example on how to query the details of an ECS instance `i-bp12g4xbl4i0brkn****` in the Hangzhou region within the account group `ca-5885626622af0008****`.
|
|
3208
3144
|
*
|
|
3209
3145
|
* @param request - GetAggregateDiscoveredResourceRequest
|
|
3210
3146
|
* @returns GetAggregateDiscoveredResourceResponse
|
|
@@ -3214,10 +3150,7 @@ class Client extends openapi_core_1.default {
|
|
|
3214
3150
|
return await this.getAggregateDiscoveredResourceWithOptions(request, runtime);
|
|
3215
3151
|
}
|
|
3216
3152
|
/**
|
|
3217
|
-
*
|
|
3218
|
-
*
|
|
3219
|
-
* @remarks
|
|
3220
|
-
* This topic provides an example on how to query the compliance evaluation results based on the `cr-d369626622af008e****` rule in the `ca-a4e5626622af0079****` account group. The returned result shows that a total of 10 resources are evaluated by the rule and five of them are evaluated as compliant.
|
|
3153
|
+
* 查询多账号规则合规情况
|
|
3221
3154
|
*
|
|
3222
3155
|
* @param request - GetAggregateResourceComplianceByConfigRuleRequest
|
|
3223
3156
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3258,10 +3191,7 @@ class Client extends openapi_core_1.default {
|
|
|
3258
3191
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregateResourceComplianceByConfigRuleResponse({}));
|
|
3259
3192
|
}
|
|
3260
3193
|
/**
|
|
3261
|
-
*
|
|
3262
|
-
*
|
|
3263
|
-
* @remarks
|
|
3264
|
-
* This topic provides an example on how to query the compliance evaluation results based on the `cr-d369626622af008e****` rule in the `ca-a4e5626622af0079****` account group. The returned result shows that a total of 10 resources are evaluated by the rule and five of them are evaluated as compliant.
|
|
3194
|
+
* 查询多账号规则合规情况
|
|
3265
3195
|
*
|
|
3266
3196
|
* @param request - GetAggregateResourceComplianceByConfigRuleRequest
|
|
3267
3197
|
* @returns GetAggregateResourceComplianceByConfigRuleResponse
|
|
@@ -3271,10 +3201,10 @@ class Client extends openapi_core_1.default {
|
|
|
3271
3201
|
return await this.getAggregateResourceComplianceByConfigRuleWithOptions(request, runtime);
|
|
3272
3202
|
}
|
|
3273
3203
|
/**
|
|
3274
|
-
* Queries the compliance
|
|
3204
|
+
* Queries the compliance statistics for resources in a specified compliance package within a specified account group.
|
|
3275
3205
|
*
|
|
3276
3206
|
* @remarks
|
|
3277
|
-
* This topic provides an example
|
|
3207
|
+
* This topic provides an example of how to query the compliance results for resources in the compliance package `cp-fdc8626622af00f9****` within the account group `ca-f632626622af0079****`. The response shows that of a total of `10` resources, `7` are non-compliant.
|
|
3278
3208
|
*
|
|
3279
3209
|
* @param request - GetAggregateResourceComplianceByPackRequest
|
|
3280
3210
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3300,10 +3230,10 @@ class Client extends openapi_core_1.default {
|
|
|
3300
3230
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregateResourceComplianceByPackResponse({}));
|
|
3301
3231
|
}
|
|
3302
3232
|
/**
|
|
3303
|
-
* Queries the compliance
|
|
3233
|
+
* Queries the compliance statistics for resources in a specified compliance package within a specified account group.
|
|
3304
3234
|
*
|
|
3305
3235
|
* @remarks
|
|
3306
|
-
* This topic provides an example
|
|
3236
|
+
* This topic provides an example of how to query the compliance results for resources in the compliance package `cp-fdc8626622af00f9****` within the account group `ca-f632626622af0079****`. The response shows that of a total of `10` resources, `7` are non-compliant.
|
|
3307
3237
|
*
|
|
3308
3238
|
* @param request - GetAggregateResourceComplianceByPackRequest
|
|
3309
3239
|
* @returns GetAggregateResourceComplianceByPackResponse
|
|
@@ -3313,7 +3243,7 @@ class Client extends openapi_core_1.default {
|
|
|
3313
3243
|
return await this.getAggregateResourceComplianceByPackWithOptions(request, runtime);
|
|
3314
3244
|
}
|
|
3315
3245
|
/**
|
|
3316
|
-
*
|
|
3246
|
+
* 查询指定账号组内规则对资源的评估结果,评估结果按资源所属地域进行分组展示
|
|
3317
3247
|
*
|
|
3318
3248
|
* @param request - GetAggregateResourceComplianceGroupByRegionRequest
|
|
3319
3249
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3345,7 +3275,7 @@ class Client extends openapi_core_1.default {
|
|
|
3345
3275
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregateResourceComplianceGroupByRegionResponse({}));
|
|
3346
3276
|
}
|
|
3347
3277
|
/**
|
|
3348
|
-
*
|
|
3278
|
+
* 查询指定账号组内规则对资源的评估结果,评估结果按资源所属地域进行分组展示
|
|
3349
3279
|
*
|
|
3350
3280
|
* @param request - GetAggregateResourceComplianceGroupByRegionRequest
|
|
3351
3281
|
* @returns GetAggregateResourceComplianceGroupByRegionResponse
|
|
@@ -3355,7 +3285,7 @@ class Client extends openapi_core_1.default {
|
|
|
3355
3285
|
return await this.getAggregateResourceComplianceGroupByRegionWithOptions(request, runtime);
|
|
3356
3286
|
}
|
|
3357
3287
|
/**
|
|
3358
|
-
*
|
|
3288
|
+
* 查询指定账号组内规则对资源的评估结果,评估结果按资源类型进行分组展示
|
|
3359
3289
|
*
|
|
3360
3290
|
* @param request - GetAggregateResourceComplianceGroupByResourceTypeRequest
|
|
3361
3291
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3387,7 +3317,7 @@ class Client extends openapi_core_1.default {
|
|
|
3387
3317
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregateResourceComplianceGroupByResourceTypeResponse({}));
|
|
3388
3318
|
}
|
|
3389
3319
|
/**
|
|
3390
|
-
*
|
|
3320
|
+
* 查询指定账号组内规则对资源的评估结果,评估结果按资源类型进行分组展示
|
|
3391
3321
|
*
|
|
3392
3322
|
* @param request - GetAggregateResourceComplianceGroupByResourceTypeRequest
|
|
3393
3323
|
* @returns GetAggregateResourceComplianceGroupByResourceTypeResponse
|
|
@@ -3397,10 +3327,11 @@ class Client extends openapi_core_1.default {
|
|
|
3397
3327
|
return await this.getAggregateResourceComplianceGroupByResourceTypeWithOptions(request, runtime);
|
|
3398
3328
|
}
|
|
3399
3329
|
/**
|
|
3400
|
-
* Queries the compliance timeline of a resource in an account group.
|
|
3330
|
+
* Queries the compliance timeline of a specific resource in an account group. A compliance timeline is a set of compliance evaluation records for a resource. Each record includes the time and content of an evaluation.
|
|
3401
3331
|
*
|
|
3402
3332
|
* @remarks
|
|
3403
|
-
*
|
|
3333
|
+
* In Cloud Config, each resource has its own compliance timeline, which is composed of compliance evaluation records. A record is generated each time a rule is triggered to evaluate the resource. Rules can be triggered by configuration changes, periodic executions, or manual executions.
|
|
3334
|
+
* This topic provides an example of how to query the compliance timeline for the resource `new-bucket` (an OSS bucket). The resource is in the `cn-hangzhou` region and belongs to the member account `100931896542****` within the account group `ca-5885626622af0008****`. The response shows that the resource\\"s compliance timeline includes records with the timestamps `1625200295276` (UTC+8: 2021-07-02 12:31:35) and `1625200228510` (UTC+8: 2021-07-02 12:30:28).
|
|
3404
3335
|
*
|
|
3405
3336
|
* @param request - GetAggregateResourceComplianceTimelineRequest
|
|
3406
3337
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3426,10 +3357,11 @@ class Client extends openapi_core_1.default {
|
|
|
3426
3357
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregateResourceComplianceTimelineResponse({}));
|
|
3427
3358
|
}
|
|
3428
3359
|
/**
|
|
3429
|
-
* Queries the compliance timeline of a resource in an account group.
|
|
3360
|
+
* Queries the compliance timeline of a specific resource in an account group. A compliance timeline is a set of compliance evaluation records for a resource. Each record includes the time and content of an evaluation.
|
|
3430
3361
|
*
|
|
3431
3362
|
* @remarks
|
|
3432
|
-
*
|
|
3363
|
+
* In Cloud Config, each resource has its own compliance timeline, which is composed of compliance evaluation records. A record is generated each time a rule is triggered to evaluate the resource. Rules can be triggered by configuration changes, periodic executions, or manual executions.
|
|
3364
|
+
* This topic provides an example of how to query the compliance timeline for the resource `new-bucket` (an OSS bucket). The resource is in the `cn-hangzhou` region and belongs to the member account `100931896542****` within the account group `ca-5885626622af0008****`. The response shows that the resource\\"s compliance timeline includes records with the timestamps `1625200295276` (UTC+8: 2021-07-02 12:31:35) and `1625200228510` (UTC+8: 2021-07-02 12:30:28).
|
|
3433
3365
|
*
|
|
3434
3366
|
* @param request - GetAggregateResourceComplianceTimelineRequest
|
|
3435
3367
|
* @returns GetAggregateResourceComplianceTimelineResponse
|
|
@@ -3439,10 +3371,13 @@ class Client extends openapi_core_1.default {
|
|
|
3439
3371
|
return await this.getAggregateResourceComplianceTimelineWithOptions(request, runtime);
|
|
3440
3372
|
}
|
|
3441
3373
|
/**
|
|
3442
|
-
* Queries the configuration
|
|
3374
|
+
* Queries the configuration history of a specific resource in a specified account group. After you enable Cloud Config, the service records all configuration and relationship changes for your resources and organizes them into a configuration history. This history is saved for 10 years by default.
|
|
3443
3375
|
*
|
|
3444
3376
|
* @remarks
|
|
3445
|
-
*
|
|
3377
|
+
* Cloud Config provides a configuration history for each resource within the monitoring scope:
|
|
3378
|
+
* - For resources that already exist when you enable Cloud Config, the configuration history begins when the service is enabled.
|
|
3379
|
+
* - For resources that are created after you enable Cloud Config, the configuration history begins when the resources are created. Cloud Config records resource configuration changes every 10 minutes. When the configuration of a resource changes, a node appears in the configuration history. This node contains the resource configuration details, change details, and the related management event.
|
|
3380
|
+
* This topic provides an example of how to query the configuration history of an OSS bucket named `new-bucket`. The bucket is in the `cn-hangzhou` region, belongs to the member account `100931896542****`, and is part of the account group `ca-5885626622af0008****`. The returned result indicates that a configuration change for the resource was recorded at the UNIX timestamp `1624961112000` (UTC+8: 2021-06-29 18:05:12).
|
|
3446
3381
|
*
|
|
3447
3382
|
* @param request - GetAggregateResourceConfigurationTimelineRequest
|
|
3448
3383
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3468,10 +3403,13 @@ class Client extends openapi_core_1.default {
|
|
|
3468
3403
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregateResourceConfigurationTimelineResponse({}));
|
|
3469
3404
|
}
|
|
3470
3405
|
/**
|
|
3471
|
-
* Queries the configuration
|
|
3406
|
+
* Queries the configuration history of a specific resource in a specified account group. After you enable Cloud Config, the service records all configuration and relationship changes for your resources and organizes them into a configuration history. This history is saved for 10 years by default.
|
|
3472
3407
|
*
|
|
3473
3408
|
* @remarks
|
|
3474
|
-
*
|
|
3409
|
+
* Cloud Config provides a configuration history for each resource within the monitoring scope:
|
|
3410
|
+
* - For resources that already exist when you enable Cloud Config, the configuration history begins when the service is enabled.
|
|
3411
|
+
* - For resources that are created after you enable Cloud Config, the configuration history begins when the resources are created. Cloud Config records resource configuration changes every 10 minutes. When the configuration of a resource changes, a node appears in the configuration history. This node contains the resource configuration details, change details, and the related management event.
|
|
3412
|
+
* This topic provides an example of how to query the configuration history of an OSS bucket named `new-bucket`. The bucket is in the `cn-hangzhou` region, belongs to the member account `100931896542****`, and is part of the account group `ca-5885626622af0008****`. The returned result indicates that a configuration change for the resource was recorded at the UNIX timestamp `1624961112000` (UTC+8: 2021-06-29 18:05:12).
|
|
3475
3413
|
*
|
|
3476
3414
|
* @param request - GetAggregateResourceConfigurationTimelineRequest
|
|
3477
3415
|
* @returns GetAggregateResourceConfigurationTimelineResponse
|
|
@@ -3481,10 +3419,7 @@ class Client extends openapi_core_1.default {
|
|
|
3481
3419
|
return await this.getAggregateResourceConfigurationTimelineWithOptions(request, runtime);
|
|
3482
3420
|
}
|
|
3483
3421
|
/**
|
|
3484
|
-
*
|
|
3485
|
-
*
|
|
3486
|
-
* @remarks
|
|
3487
|
-
* This topic provides an example on how to query the statistics on the resources in an account group named `ca-a260626622af0005****` by region. The returned result shows that a total of `10` resources exist in the `cn-hangzhou` region.
|
|
3422
|
+
* 从地域维度查询指定账号组内资源的统计结果
|
|
3488
3423
|
*
|
|
3489
3424
|
* @param request - GetAggregateResourceCountsGroupByRegionRequest
|
|
3490
3425
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3525,10 +3460,7 @@ class Client extends openapi_core_1.default {
|
|
|
3525
3460
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregateResourceCountsGroupByRegionResponse({}));
|
|
3526
3461
|
}
|
|
3527
3462
|
/**
|
|
3528
|
-
*
|
|
3529
|
-
*
|
|
3530
|
-
* @remarks
|
|
3531
|
-
* This topic provides an example on how to query the statistics on the resources in an account group named `ca-a260626622af0005****` by region. The returned result shows that a total of `10` resources exist in the `cn-hangzhou` region.
|
|
3463
|
+
* 从地域维度查询指定账号组内资源的统计结果
|
|
3532
3464
|
*
|
|
3533
3465
|
* @param request - GetAggregateResourceCountsGroupByRegionRequest
|
|
3534
3466
|
* @returns GetAggregateResourceCountsGroupByRegionResponse
|
|
@@ -3538,10 +3470,7 @@ class Client extends openapi_core_1.default {
|
|
|
3538
3470
|
return await this.getAggregateResourceCountsGroupByRegionWithOptions(request, runtime);
|
|
3539
3471
|
}
|
|
3540
3472
|
/**
|
|
3541
|
-
*
|
|
3542
|
-
*
|
|
3543
|
-
* @remarks
|
|
3544
|
-
* This topic provides an example on how to query the statistics on the resources in an account group whose ID is `ca-a260626622af0005****` by resource type. The returned result shows that the account group has a total of `seven` resources of the `ACS::RAM::Role` resource type.
|
|
3473
|
+
* 从资源类型维度查询指定账号组内资源的统计结果
|
|
3545
3474
|
*
|
|
3546
3475
|
* @param request - GetAggregateResourceCountsGroupByResourceTypeRequest
|
|
3547
3476
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3582,10 +3511,7 @@ class Client extends openapi_core_1.default {
|
|
|
3582
3511
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregateResourceCountsGroupByResourceTypeResponse({}));
|
|
3583
3512
|
}
|
|
3584
3513
|
/**
|
|
3585
|
-
*
|
|
3586
|
-
*
|
|
3587
|
-
* @remarks
|
|
3588
|
-
* This topic provides an example on how to query the statistics on the resources in an account group whose ID is `ca-a260626622af0005****` by resource type. The returned result shows that the account group has a total of `seven` resources of the `ACS::RAM::Role` resource type.
|
|
3514
|
+
* 从资源类型维度查询指定账号组内资源的统计结果
|
|
3589
3515
|
*
|
|
3590
3516
|
* @param request - GetAggregateResourceCountsGroupByResourceTypeRequest
|
|
3591
3517
|
* @returns GetAggregateResourceCountsGroupByResourceTypeResponse
|
|
@@ -3595,13 +3521,7 @@ class Client extends openapi_core_1.default {
|
|
|
3595
3521
|
return await this.getAggregateResourceCountsGroupByResourceTypeWithOptions(request, runtime);
|
|
3596
3522
|
}
|
|
3597
3523
|
/**
|
|
3598
|
-
*
|
|
3599
|
-
*
|
|
3600
|
-
* @remarks
|
|
3601
|
-
* ### [](#)Prerequisites
|
|
3602
|
-
* The [GenerateAggregateResourceInventory](https://help.aliyun.com/document_detail/2398353.html) operation is called to generate a resource inventory. Then, this operation is called to obtain the URL of the resource inventory.
|
|
3603
|
-
* ### [](#)Description
|
|
3604
|
-
* This topic provides an example on how to obtain the last resource inventory that is generated within the account group ca-a91d626622af0035\\*\\*\\*\\*.
|
|
3524
|
+
* 查询账号组内全局资源下载清单信息。
|
|
3605
3525
|
*
|
|
3606
3526
|
* @param request - GetAggregateResourceInventoryRequest
|
|
3607
3527
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3630,13 +3550,7 @@ class Client extends openapi_core_1.default {
|
|
|
3630
3550
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregateResourceInventoryResponse({}));
|
|
3631
3551
|
}
|
|
3632
3552
|
/**
|
|
3633
|
-
*
|
|
3634
|
-
*
|
|
3635
|
-
* @remarks
|
|
3636
|
-
* ### [](#)Prerequisites
|
|
3637
|
-
* The [GenerateAggregateResourceInventory](https://help.aliyun.com/document_detail/2398353.html) operation is called to generate a resource inventory. Then, this operation is called to obtain the URL of the resource inventory.
|
|
3638
|
-
* ### [](#)Description
|
|
3639
|
-
* This topic provides an example on how to obtain the last resource inventory that is generated within the account group ca-a91d626622af0035\\*\\*\\*\\*.
|
|
3553
|
+
* 查询账号组内全局资源下载清单信息。
|
|
3640
3554
|
*
|
|
3641
3555
|
* @param request - GetAggregateResourceInventoryRequest
|
|
3642
3556
|
* @returns GetAggregateResourceInventoryResponse
|
|
@@ -3646,10 +3560,10 @@ class Client extends openapi_core_1.default {
|
|
|
3646
3560
|
return await this.getAggregateResourceInventoryWithOptions(request, runtime);
|
|
3647
3561
|
}
|
|
3648
3562
|
/**
|
|
3649
|
-
* Queries the
|
|
3563
|
+
* Queries the name, creation time, members, and type of an account group.
|
|
3650
3564
|
*
|
|
3651
3565
|
* @remarks
|
|
3652
|
-
*
|
|
3566
|
+
* This topic provides an example of how to query the details of the account group `ca-88ea626622af0055****`. The response shows that the account group name is `Test_Group`, the description is `Test Group`, the type is `CUSTOM` (custom account group), and the status is `1` (created).
|
|
3653
3567
|
*
|
|
3654
3568
|
* @param tmpReq - GetAggregatorRequest
|
|
3655
3569
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3686,10 +3600,10 @@ class Client extends openapi_core_1.default {
|
|
|
3686
3600
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAggregatorResponse({}));
|
|
3687
3601
|
}
|
|
3688
3602
|
/**
|
|
3689
|
-
* Queries the
|
|
3603
|
+
* Queries the name, creation time, members, and type of an account group.
|
|
3690
3604
|
*
|
|
3691
3605
|
* @remarks
|
|
3692
|
-
*
|
|
3606
|
+
* This topic provides an example of how to query the details of the account group `ca-88ea626622af0055****`. The response shows that the account group name is `Test_Group`, the description is `Test Group`, the type is `CUSTOM` (custom account group), and the status is `1` (created).
|
|
3693
3607
|
*
|
|
3694
3608
|
* @param request - GetAggregatorRequest
|
|
3695
3609
|
* @returns GetAggregatorResponse
|
|
@@ -3699,10 +3613,10 @@ class Client extends openapi_core_1.default {
|
|
|
3699
3613
|
return await this.getAggregatorWithOptions(request, runtime);
|
|
3700
3614
|
}
|
|
3701
3615
|
/**
|
|
3702
|
-
* Queries the details of a compliance package.
|
|
3616
|
+
* Queries the details of a specific compliance package.
|
|
3703
3617
|
*
|
|
3704
3618
|
* @remarks
|
|
3705
|
-
* This topic provides an example
|
|
3619
|
+
* This topic provides an example of how to query the details of the compliance package `cp-fdc8626622af00f9****`. The response indicates that the compliance package is named `MLPS 2.0 Level 3 Pre-check Compliance Package`, its status is `ACTIVE`, and the risk level of its rules is `1` (high risk).
|
|
3706
3620
|
*
|
|
3707
3621
|
* @param tmpReq - GetCompliancePackRequest
|
|
3708
3622
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3733,10 +3647,10 @@ class Client extends openapi_core_1.default {
|
|
|
3733
3647
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCompliancePackResponse({}));
|
|
3734
3648
|
}
|
|
3735
3649
|
/**
|
|
3736
|
-
* Queries the details of a compliance package.
|
|
3650
|
+
* Queries the details of a specific compliance package.
|
|
3737
3651
|
*
|
|
3738
3652
|
* @remarks
|
|
3739
|
-
* This topic provides an example
|
|
3653
|
+
* This topic provides an example of how to query the details of the compliance package `cp-fdc8626622af00f9****`. The response indicates that the compliance package is named `MLPS 2.0 Level 3 Pre-check Compliance Package`, its status is `ACTIVE`, and the risk level of its rules is `1` (high risk).
|
|
3740
3654
|
*
|
|
3741
3655
|
* @param request - GetCompliancePackRequest
|
|
3742
3656
|
* @returns GetCompliancePackResponse
|
|
@@ -3746,11 +3660,7 @@ class Client extends openapi_core_1.default {
|
|
|
3746
3660
|
return await this.getCompliancePackWithOptions(request, runtime);
|
|
3747
3661
|
}
|
|
3748
3662
|
/**
|
|
3749
|
-
*
|
|
3750
|
-
*
|
|
3751
|
-
* @remarks
|
|
3752
|
-
* > Before you call this operation, you must call the GenerateCompliancePackReport operation to generate the latest compliance evaluation report based on a compliance package. For more information, see [GenerateCompliancePackReport](https://help.aliyun.com/document_detail/263525.html).
|
|
3753
|
-
* This topic provides an example on how to query the compliance evaluation report that is generated based on the `cp-fdc8626622af00f9****` compliance package.
|
|
3663
|
+
* 获取合规包的评估报告
|
|
3754
3664
|
*
|
|
3755
3665
|
* @param request - GetCompliancePackReportRequest
|
|
3756
3666
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3776,11 +3686,7 @@ class Client extends openapi_core_1.default {
|
|
|
3776
3686
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCompliancePackReportResponse({}));
|
|
3777
3687
|
}
|
|
3778
3688
|
/**
|
|
3779
|
-
*
|
|
3780
|
-
*
|
|
3781
|
-
* @remarks
|
|
3782
|
-
* > Before you call this operation, you must call the GenerateCompliancePackReport operation to generate the latest compliance evaluation report based on a compliance package. For more information, see [GenerateCompliancePackReport](https://help.aliyun.com/document_detail/263525.html).
|
|
3783
|
-
* This topic provides an example on how to query the compliance evaluation report that is generated based on the `cp-fdc8626622af00f9****` compliance package.
|
|
3689
|
+
* 获取合规包的评估报告
|
|
3784
3690
|
*
|
|
3785
3691
|
* @param request - GetCompliancePackReportRequest
|
|
3786
3692
|
* @returns GetCompliancePackReportResponse
|
|
@@ -3790,10 +3696,10 @@ class Client extends openapi_core_1.default {
|
|
|
3790
3696
|
return await this.getCompliancePackReportWithOptions(request, runtime);
|
|
3791
3697
|
}
|
|
3792
3698
|
/**
|
|
3793
|
-
* Queries the
|
|
3699
|
+
* Queries the compliance summary for the current account.
|
|
3794
3700
|
*
|
|
3795
3701
|
* @remarks
|
|
3796
|
-
* This topic provides an example
|
|
3702
|
+
* This topic provides an example of how to query the compliance summary by resource and rule for an account group.
|
|
3797
3703
|
*
|
|
3798
3704
|
* @param request - GetComplianceSummaryRequest
|
|
3799
3705
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3815,10 +3721,10 @@ class Client extends openapi_core_1.default {
|
|
|
3815
3721
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetComplianceSummaryResponse({}));
|
|
3816
3722
|
}
|
|
3817
3723
|
/**
|
|
3818
|
-
* Queries the
|
|
3724
|
+
* Queries the compliance summary for the current account.
|
|
3819
3725
|
*
|
|
3820
3726
|
* @remarks
|
|
3821
|
-
* This topic provides an example
|
|
3727
|
+
* This topic provides an example of how to query the compliance summary by resource and rule for an account group.
|
|
3822
3728
|
* @returns GetComplianceSummaryResponse
|
|
3823
3729
|
*/
|
|
3824
3730
|
async getComplianceSummary() {
|
|
@@ -3826,7 +3732,7 @@ class Client extends openapi_core_1.default {
|
|
|
3826
3732
|
return await this.getComplianceSummaryWithOptions(runtime);
|
|
3827
3733
|
}
|
|
3828
3734
|
/**
|
|
3829
|
-
* Queries the
|
|
3735
|
+
* Queries the details of a specified delivery channel.
|
|
3830
3736
|
*
|
|
3831
3737
|
* @param request - GetConfigDeliveryChannelRequest
|
|
3832
3738
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3855,7 +3761,7 @@ class Client extends openapi_core_1.default {
|
|
|
3855
3761
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetConfigDeliveryChannelResponse({}));
|
|
3856
3762
|
}
|
|
3857
3763
|
/**
|
|
3858
|
-
* Queries the
|
|
3764
|
+
* Queries the details of a specified delivery channel.
|
|
3859
3765
|
*
|
|
3860
3766
|
* @param request - GetConfigDeliveryChannelRequest
|
|
3861
3767
|
* @returns GetConfigDeliveryChannelResponse
|
|
@@ -3865,10 +3771,10 @@ class Client extends openapi_core_1.default {
|
|
|
3865
3771
|
return await this.getConfigDeliveryChannelWithOptions(request, runtime);
|
|
3866
3772
|
}
|
|
3867
3773
|
/**
|
|
3868
|
-
* Queries the details of a rule.
|
|
3774
|
+
* Queries the details of a specified rule.
|
|
3869
3775
|
*
|
|
3870
3776
|
* @remarks
|
|
3871
|
-
* This topic provides an example
|
|
3777
|
+
* This topic provides an example of how to query the details of the rule `cr-7f7d626622af0041****`.
|
|
3872
3778
|
*
|
|
3873
3779
|
* @param tmpReq - GetConfigRuleRequest
|
|
3874
3780
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3905,10 +3811,10 @@ class Client extends openapi_core_1.default {
|
|
|
3905
3811
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetConfigRuleResponse({}));
|
|
3906
3812
|
}
|
|
3907
3813
|
/**
|
|
3908
|
-
* Queries the details of a rule.
|
|
3814
|
+
* Queries the details of a specified rule.
|
|
3909
3815
|
*
|
|
3910
3816
|
* @remarks
|
|
3911
|
-
* This topic provides an example
|
|
3817
|
+
* This topic provides an example of how to query the details of the rule `cr-7f7d626622af0041****`.
|
|
3912
3818
|
*
|
|
3913
3819
|
* @param request - GetConfigRuleRequest
|
|
3914
3820
|
* @returns GetConfigRuleResponse
|
|
@@ -3918,10 +3824,10 @@ class Client extends openapi_core_1.default {
|
|
|
3918
3824
|
return await this.getConfigRuleWithOptions(request, runtime);
|
|
3919
3825
|
}
|
|
3920
3826
|
/**
|
|
3921
|
-
* Queries compliance
|
|
3827
|
+
* Queries the compliance statistics for rules in a specified compliance package.
|
|
3922
3828
|
*
|
|
3923
3829
|
* @remarks
|
|
3924
|
-
*
|
|
3830
|
+
* This example shows how to query the compliance results for rules in the compliance package `cp-541e626622af0087****`. The response shows that the total number of rules is 1 and the number of non-compliant rules is 0.
|
|
3925
3831
|
*
|
|
3926
3832
|
* @param request - GetConfigRuleComplianceByPackRequest
|
|
3927
3833
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3947,10 +3853,10 @@ class Client extends openapi_core_1.default {
|
|
|
3947
3853
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetConfigRuleComplianceByPackResponse({}));
|
|
3948
3854
|
}
|
|
3949
3855
|
/**
|
|
3950
|
-
* Queries compliance
|
|
3856
|
+
* Queries the compliance statistics for rules in a specified compliance package.
|
|
3951
3857
|
*
|
|
3952
3858
|
* @remarks
|
|
3953
|
-
*
|
|
3859
|
+
* This example shows how to query the compliance results for rules in the compliance package `cp-541e626622af0087****`. The response shows that the total number of rules is 1 and the number of non-compliant rules is 0.
|
|
3954
3860
|
*
|
|
3955
3861
|
* @param request - GetConfigRuleComplianceByPackRequest
|
|
3956
3862
|
* @returns GetConfigRuleComplianceByPackResponse
|
|
@@ -3996,11 +3902,7 @@ class Client extends openapi_core_1.default {
|
|
|
3996
3902
|
return await this.getConfigRuleSummaryByRiskLevelWithOptions(runtime);
|
|
3997
3903
|
}
|
|
3998
3904
|
/**
|
|
3999
|
-
*
|
|
4000
|
-
*
|
|
4001
|
-
* @remarks
|
|
4002
|
-
* > Before you call this operation, you must call the GenerateConfigRulesReport operation to generate the latest compliance evaluation report based on all existing rules. For more information, see [GenerateConfigRulesReport](https://help.aliyun.com/document_detail/263601.html).
|
|
4003
|
-
* This topic provides an example of how to query the compliance evaluation report that is generated based on all existing rules.
|
|
3905
|
+
* 下载Excel格式的规则合规评估报告到本地,便于您云下分配任务并跟进不合规资源配置的修改
|
|
4004
3906
|
*
|
|
4005
3907
|
* @param request - GetConfigRulesReportRequest
|
|
4006
3908
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4029,11 +3931,7 @@ class Client extends openapi_core_1.default {
|
|
|
4029
3931
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetConfigRulesReportResponse({}));
|
|
4030
3932
|
}
|
|
4031
3933
|
/**
|
|
4032
|
-
*
|
|
4033
|
-
*
|
|
4034
|
-
* @remarks
|
|
4035
|
-
* > Before you call this operation, you must call the GenerateConfigRulesReport operation to generate the latest compliance evaluation report based on all existing rules. For more information, see [GenerateConfigRulesReport](https://help.aliyun.com/document_detail/263601.html).
|
|
4036
|
-
* This topic provides an example of how to query the compliance evaluation report that is generated based on all existing rules.
|
|
3934
|
+
* 下载Excel格式的规则合规评估报告到本地,便于您云下分配任务并跟进不合规资源配置的修改
|
|
4037
3935
|
*
|
|
4038
3936
|
* @param request - GetConfigRulesReportRequest
|
|
4039
3937
|
* @returns GetConfigRulesReportResponse
|
|
@@ -4043,10 +3941,10 @@ class Client extends openapi_core_1.default {
|
|
|
4043
3941
|
return await this.getConfigRulesReportWithOptions(request, runtime);
|
|
4044
3942
|
}
|
|
4045
3943
|
/**
|
|
4046
|
-
* Queries the
|
|
3944
|
+
* Queries the status of the Cloud Config service and the resource monitoring scope for the current account.
|
|
4047
3945
|
*
|
|
4048
3946
|
* @remarks
|
|
4049
|
-
* This topic provides an example
|
|
3947
|
+
* This topic provides an example of how to query the status of the Cloud Config service and the resource monitoring scope for the current account.
|
|
4050
3948
|
*
|
|
4051
3949
|
* @param request - GetConfigurationRecorderRequest
|
|
4052
3950
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4068,10 +3966,10 @@ class Client extends openapi_core_1.default {
|
|
|
4068
3966
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetConfigurationRecorderResponse({}));
|
|
4069
3967
|
}
|
|
4070
3968
|
/**
|
|
4071
|
-
* Queries the
|
|
3969
|
+
* Queries the status of the Cloud Config service and the resource monitoring scope for the current account.
|
|
4072
3970
|
*
|
|
4073
3971
|
* @remarks
|
|
4074
|
-
* This topic provides an example
|
|
3972
|
+
* This topic provides an example of how to query the status of the Cloud Config service and the resource monitoring scope for the current account.
|
|
4075
3973
|
* @returns GetConfigurationRecorderResponse
|
|
4076
3974
|
*/
|
|
4077
3975
|
async getConfigurationRecorder() {
|
|
@@ -4082,7 +3980,7 @@ class Client extends openapi_core_1.default {
|
|
|
4082
3980
|
* Queries the details of a specific resource.
|
|
4083
3981
|
*
|
|
4084
3982
|
* @remarks
|
|
4085
|
-
* This topic provides an example
|
|
3983
|
+
* This topic provides an example of how to query the details of the ECS instance `i-bp12g4xbl4i0brkn****` in the China (Hangzhou) region.
|
|
4086
3984
|
*
|
|
4087
3985
|
* @param request - GetDiscoveredResourceRequest
|
|
4088
3986
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4123,7 +4021,7 @@ class Client extends openapi_core_1.default {
|
|
|
4123
4021
|
* Queries the details of a specific resource.
|
|
4124
4022
|
*
|
|
4125
4023
|
* @remarks
|
|
4126
|
-
* This topic provides an example
|
|
4024
|
+
* This topic provides an example of how to query the details of the ECS instance `i-bp12g4xbl4i0brkn****` in the China (Hangzhou) region.
|
|
4127
4025
|
*
|
|
4128
4026
|
* @param request - GetDiscoveredResourceRequest
|
|
4129
4027
|
* @returns GetDiscoveredResourceResponse
|
|
@@ -4133,10 +4031,7 @@ class Client extends openapi_core_1.default {
|
|
|
4133
4031
|
return await this.getDiscoveredResourceWithOptions(request, runtime);
|
|
4134
4032
|
}
|
|
4135
4033
|
/**
|
|
4136
|
-
*
|
|
4137
|
-
*
|
|
4138
|
-
* @remarks
|
|
4139
|
-
* This topic provides an example to demonstrate how to query the statistics on resources by region. The returned result shows that a total of 10 resources exist in the `cn-hangzhou` region.
|
|
4034
|
+
* 从地域维度查询资源的统计结果
|
|
4140
4035
|
*
|
|
4141
4036
|
* @param request - GetDiscoveredResourceCountsGroupByRegionRequest
|
|
4142
4037
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4165,10 +4060,7 @@ class Client extends openapi_core_1.default {
|
|
|
4165
4060
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDiscoveredResourceCountsGroupByRegionResponse({}));
|
|
4166
4061
|
}
|
|
4167
4062
|
/**
|
|
4168
|
-
*
|
|
4169
|
-
*
|
|
4170
|
-
* @remarks
|
|
4171
|
-
* This topic provides an example to demonstrate how to query the statistics on resources by region. The returned result shows that a total of 10 resources exist in the `cn-hangzhou` region.
|
|
4063
|
+
* 从地域维度查询资源的统计结果
|
|
4172
4064
|
*
|
|
4173
4065
|
* @param request - GetDiscoveredResourceCountsGroupByRegionRequest
|
|
4174
4066
|
* @returns GetDiscoveredResourceCountsGroupByRegionResponse
|
|
@@ -4178,10 +4070,7 @@ class Client extends openapi_core_1.default {
|
|
|
4178
4070
|
return await this.getDiscoveredResourceCountsGroupByRegionWithOptions(request, runtime);
|
|
4179
4071
|
}
|
|
4180
4072
|
/**
|
|
4181
|
-
*
|
|
4182
|
-
*
|
|
4183
|
-
* @remarks
|
|
4184
|
-
* This topic describes how to query the statistics on resources by resource type. The returned result shows that a total of 10 resources of the `ACS::ECS::Instance` resource type exist.
|
|
4073
|
+
* 从资源类型维度查询资源的统计结果
|
|
4185
4074
|
*
|
|
4186
4075
|
* @param request - GetDiscoveredResourceCountsGroupByResourceTypeRequest
|
|
4187
4076
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4210,10 +4099,7 @@ class Client extends openapi_core_1.default {
|
|
|
4210
4099
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDiscoveredResourceCountsGroupByResourceTypeResponse({}));
|
|
4211
4100
|
}
|
|
4212
4101
|
/**
|
|
4213
|
-
*
|
|
4214
|
-
*
|
|
4215
|
-
* @remarks
|
|
4216
|
-
* This topic describes how to query the statistics on resources by resource type. The returned result shows that a total of 10 resources of the `ACS::ECS::Instance` resource type exist.
|
|
4102
|
+
* 从资源类型维度查询资源的统计结果
|
|
4217
4103
|
*
|
|
4218
4104
|
* @param request - GetDiscoveredResourceCountsGroupByResourceTypeRequest
|
|
4219
4105
|
* @returns GetDiscoveredResourceCountsGroupByResourceTypeResponse
|
|
@@ -4223,7 +4109,7 @@ class Client extends openapi_core_1.default {
|
|
|
4223
4109
|
return await this.getDiscoveredResourceCountsGroupByResourceTypeWithOptions(request, runtime);
|
|
4224
4110
|
}
|
|
4225
4111
|
/**
|
|
4226
|
-
*
|
|
4112
|
+
* 查询用户集成云产品的授权状态
|
|
4227
4113
|
*
|
|
4228
4114
|
* @param request - GetIntegratedServiceStatusRequest
|
|
4229
4115
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4252,7 +4138,7 @@ class Client extends openapi_core_1.default {
|
|
|
4252
4138
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetIntegratedServiceStatusResponse({}));
|
|
4253
4139
|
}
|
|
4254
4140
|
/**
|
|
4255
|
-
*
|
|
4141
|
+
* 查询用户集成云产品的授权状态
|
|
4256
4142
|
*
|
|
4257
4143
|
* @param request - GetIntegratedServiceStatusRequest
|
|
4258
4144
|
* @returns GetIntegratedServiceStatusResponse
|
|
@@ -4262,10 +4148,10 @@ class Client extends openapi_core_1.default {
|
|
|
4262
4148
|
return await this.getIntegratedServiceStatusWithOptions(request, runtime);
|
|
4263
4149
|
}
|
|
4264
4150
|
/**
|
|
4265
|
-
* Queries the details of a
|
|
4151
|
+
* Queries the details of a specified rule template.
|
|
4266
4152
|
*
|
|
4267
4153
|
* @remarks
|
|
4268
|
-
* This topic provides an example
|
|
4154
|
+
* This topic provides an example of how to query the details of the rule template `cdn-domain-https-enabled`.
|
|
4269
4155
|
*
|
|
4270
4156
|
* @param request - GetManagedRuleRequest
|
|
4271
4157
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4294,10 +4180,10 @@ class Client extends openapi_core_1.default {
|
|
|
4294
4180
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetManagedRuleResponse({}));
|
|
4295
4181
|
}
|
|
4296
4182
|
/**
|
|
4297
|
-
* Queries the details of a
|
|
4183
|
+
* Queries the details of a specified rule template.
|
|
4298
4184
|
*
|
|
4299
4185
|
* @remarks
|
|
4300
|
-
* This topic provides an example
|
|
4186
|
+
* This topic provides an example of how to query the details of the rule template `cdn-domain-https-enabled`.
|
|
4301
4187
|
*
|
|
4302
4188
|
* @param request - GetManagedRuleRequest
|
|
4303
4189
|
* @returns GetManagedRuleResponse
|
|
@@ -4310,7 +4196,7 @@ class Client extends openapi_core_1.default {
|
|
|
4310
4196
|
* Queries the details of an automatic remediation template.
|
|
4311
4197
|
*
|
|
4312
4198
|
* @remarks
|
|
4313
|
-
* This topic
|
|
4199
|
+
* This topic describes how to query the details of the `ACS-ALB-BulkyEnableDeletionProtection` automatic remediation template.
|
|
4314
4200
|
*
|
|
4315
4201
|
* @param request - GetRemediationTemplateRequest
|
|
4316
4202
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4342,7 +4228,7 @@ class Client extends openapi_core_1.default {
|
|
|
4342
4228
|
* Queries the details of an automatic remediation template.
|
|
4343
4229
|
*
|
|
4344
4230
|
* @remarks
|
|
4345
|
-
* This topic
|
|
4231
|
+
* This topic describes how to query the details of the `ACS-ALB-BulkyEnableDeletionProtection` automatic remediation template.
|
|
4346
4232
|
*
|
|
4347
4233
|
* @param request - GetRemediationTemplateRequest
|
|
4348
4234
|
* @returns GetRemediationTemplateResponse
|
|
@@ -4352,7 +4238,7 @@ class Client extends openapi_core_1.default {
|
|
|
4352
4238
|
return await this.getRemediationTemplateWithOptions(request, runtime);
|
|
4353
4239
|
}
|
|
4354
4240
|
/**
|
|
4355
|
-
*
|
|
4241
|
+
* Retrieves a report generated from a report template.
|
|
4356
4242
|
*
|
|
4357
4243
|
* @param request - GetReportFromTemplateRequest
|
|
4358
4244
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4381,7 +4267,7 @@ class Client extends openapi_core_1.default {
|
|
|
4381
4267
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetReportFromTemplateResponse({}));
|
|
4382
4268
|
}
|
|
4383
4269
|
/**
|
|
4384
|
-
*
|
|
4270
|
+
* Retrieves a report generated from a report template.
|
|
4385
4271
|
*
|
|
4386
4272
|
* @param request - GetReportFromTemplateRequest
|
|
4387
4273
|
* @returns GetReportFromTemplateResponse
|
|
@@ -4391,7 +4277,7 @@ class Client extends openapi_core_1.default {
|
|
|
4391
4277
|
return await this.getReportFromTemplateWithOptions(request, runtime);
|
|
4392
4278
|
}
|
|
4393
4279
|
/**
|
|
4394
|
-
*
|
|
4280
|
+
* Retrieve details of a compliance report template.
|
|
4395
4281
|
*
|
|
4396
4282
|
* @param request - GetReportTemplateRequest
|
|
4397
4283
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4420,7 +4306,7 @@ class Client extends openapi_core_1.default {
|
|
|
4420
4306
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetReportTemplateResponse({}));
|
|
4421
4307
|
}
|
|
4422
4308
|
/**
|
|
4423
|
-
*
|
|
4309
|
+
* Retrieve details of a compliance report template.
|
|
4424
4310
|
*
|
|
4425
4311
|
* @param request - GetReportTemplateRequest
|
|
4426
4312
|
* @returns GetReportTemplateResponse
|
|
@@ -4430,10 +4316,7 @@ class Client extends openapi_core_1.default {
|
|
|
4430
4316
|
return await this.getReportTemplateWithOptions(request, runtime);
|
|
4431
4317
|
}
|
|
4432
4318
|
/**
|
|
4433
|
-
*
|
|
4434
|
-
*
|
|
4435
|
-
* @remarks
|
|
4436
|
-
* In this topic, the `cr-d369626622af008e****` rule is used as an example. The return result shows that a total of 10 resources are evaluated by the rule and `five` of them are evaluated as compliant.
|
|
4319
|
+
* 从规则的合规评估结果维度查询合规概要
|
|
4437
4320
|
*
|
|
4438
4321
|
* @param request - GetResourceComplianceByConfigRuleRequest
|
|
4439
4322
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4459,10 +4342,7 @@ class Client extends openapi_core_1.default {
|
|
|
4459
4342
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetResourceComplianceByConfigRuleResponse({}));
|
|
4460
4343
|
}
|
|
4461
4344
|
/**
|
|
4462
|
-
*
|
|
4463
|
-
*
|
|
4464
|
-
* @remarks
|
|
4465
|
-
* In this topic, the `cr-d369626622af008e****` rule is used as an example. The return result shows that a total of 10 resources are evaluated by the rule and `five` of them are evaluated as compliant.
|
|
4345
|
+
* 从规则的合规评估结果维度查询合规概要
|
|
4466
4346
|
*
|
|
4467
4347
|
* @param request - GetResourceComplianceByConfigRuleRequest
|
|
4468
4348
|
* @returns GetResourceComplianceByConfigRuleResponse
|
|
@@ -4472,10 +4352,10 @@ class Client extends openapi_core_1.default {
|
|
|
4472
4352
|
return await this.getResourceComplianceByConfigRuleWithOptions(request, runtime);
|
|
4473
4353
|
}
|
|
4474
4354
|
/**
|
|
4475
|
-
* Queries the compliance
|
|
4355
|
+
* Queries the compliance results for resources in a compliance package.
|
|
4476
4356
|
*
|
|
4477
4357
|
* @remarks
|
|
4478
|
-
* This topic provides an example
|
|
4358
|
+
* This topic provides an example of how to query the compliance results for resources in the compliance package `cp-541e626622af0087****`. The response shows that 7 of the 10 resources are non-compliant.
|
|
4479
4359
|
*
|
|
4480
4360
|
* @param request - GetResourceComplianceByPackRequest
|
|
4481
4361
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4501,10 +4381,10 @@ class Client extends openapi_core_1.default {
|
|
|
4501
4381
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetResourceComplianceByPackResponse({}));
|
|
4502
4382
|
}
|
|
4503
4383
|
/**
|
|
4504
|
-
* Queries the compliance
|
|
4384
|
+
* Queries the compliance results for resources in a compliance package.
|
|
4505
4385
|
*
|
|
4506
4386
|
* @remarks
|
|
4507
|
-
* This topic provides an example
|
|
4387
|
+
* This topic provides an example of how to query the compliance results for resources in the compliance package `cp-541e626622af0087****`. The response shows that 7 of the 10 resources are non-compliant.
|
|
4508
4388
|
*
|
|
4509
4389
|
* @param request - GetResourceComplianceByPackRequest
|
|
4510
4390
|
* @returns GetResourceComplianceByPackResponse
|
|
@@ -4514,7 +4394,7 @@ class Client extends openapi_core_1.default {
|
|
|
4514
4394
|
return await this.getResourceComplianceByPackWithOptions(request, runtime);
|
|
4515
4395
|
}
|
|
4516
4396
|
/**
|
|
4517
|
-
*
|
|
4397
|
+
* 查询合规情况按照地域分组统计
|
|
4518
4398
|
*
|
|
4519
4399
|
* @param request - GetResourceComplianceGroupByRegionRequest
|
|
4520
4400
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4543,7 +4423,7 @@ class Client extends openapi_core_1.default {
|
|
|
4543
4423
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetResourceComplianceGroupByRegionResponse({}));
|
|
4544
4424
|
}
|
|
4545
4425
|
/**
|
|
4546
|
-
*
|
|
4426
|
+
* 查询合规情况按照地域分组统计
|
|
4547
4427
|
*
|
|
4548
4428
|
* @param request - GetResourceComplianceGroupByRegionRequest
|
|
4549
4429
|
* @returns GetResourceComplianceGroupByRegionResponse
|
|
@@ -4553,7 +4433,7 @@ class Client extends openapi_core_1.default {
|
|
|
4553
4433
|
return await this.getResourceComplianceGroupByRegionWithOptions(request, runtime);
|
|
4554
4434
|
}
|
|
4555
4435
|
/**
|
|
4556
|
-
*
|
|
4436
|
+
* 查询规则对资源的评估结果,评估结果按资源类型进行分组展示
|
|
4557
4437
|
*
|
|
4558
4438
|
* @param request - GetResourceComplianceGroupByResourceTypeRequest
|
|
4559
4439
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4582,7 +4462,7 @@ class Client extends openapi_core_1.default {
|
|
|
4582
4462
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetResourceComplianceGroupByResourceTypeResponse({}));
|
|
4583
4463
|
}
|
|
4584
4464
|
/**
|
|
4585
|
-
*
|
|
4465
|
+
* 查询规则对资源的评估结果,评估结果按资源类型进行分组展示
|
|
4586
4466
|
*
|
|
4587
4467
|
* @param request - GetResourceComplianceGroupByResourceTypeRequest
|
|
4588
4468
|
* @returns GetResourceComplianceGroupByResourceTypeResponse
|
|
@@ -4592,11 +4472,11 @@ class Client extends openapi_core_1.default {
|
|
|
4592
4472
|
return await this.getResourceComplianceGroupByResourceTypeWithOptions(request, runtime);
|
|
4593
4473
|
}
|
|
4594
4474
|
/**
|
|
4595
|
-
* Queries the compliance
|
|
4475
|
+
* Queries the compliance evaluation history of a specified resource. The history is a set of compliance evaluation records that contain the timestamp and details of each evaluation.
|
|
4596
4476
|
*
|
|
4597
4477
|
* @remarks
|
|
4598
|
-
* In Cloud Config, each resource has
|
|
4599
|
-
* This topic provides an example
|
|
4478
|
+
* In Cloud Config, each resource has its own compliance evaluation history. A compliance evaluation record is generated when a rule is triggered to evaluate a resource. The collection of these records forms the compliance evaluation history of the resource. Rules can be triggered by configuration changes, periodic execution, or manual execution.
|
|
4479
|
+
* This topic provides an example of how to query the compliance evaluation history of the resource `new-bucket`, which is an Object Storage Service (OSS) bucket in the `cn-hangzhou` region. The returned result shows that the compliance evaluation history of the resource includes records with the timestamps `1625200295276` (UTC+8: 2021-07-02 12:31:35) and `1625200228510` (UTC+8: 2021-07-02 12:30:28).
|
|
4600
4480
|
*
|
|
4601
4481
|
* @param request - GetResourceComplianceTimelineRequest
|
|
4602
4482
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4622,11 +4502,11 @@ class Client extends openapi_core_1.default {
|
|
|
4622
4502
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetResourceComplianceTimelineResponse({}));
|
|
4623
4503
|
}
|
|
4624
4504
|
/**
|
|
4625
|
-
* Queries the compliance
|
|
4505
|
+
* Queries the compliance evaluation history of a specified resource. The history is a set of compliance evaluation records that contain the timestamp and details of each evaluation.
|
|
4626
4506
|
*
|
|
4627
4507
|
* @remarks
|
|
4628
|
-
* In Cloud Config, each resource has
|
|
4629
|
-
* This topic provides an example
|
|
4508
|
+
* In Cloud Config, each resource has its own compliance evaluation history. A compliance evaluation record is generated when a rule is triggered to evaluate a resource. The collection of these records forms the compliance evaluation history of the resource. Rules can be triggered by configuration changes, periodic execution, or manual execution.
|
|
4509
|
+
* This topic provides an example of how to query the compliance evaluation history of the resource `new-bucket`, which is an Object Storage Service (OSS) bucket in the `cn-hangzhou` region. The returned result shows that the compliance evaluation history of the resource includes records with the timestamps `1625200295276` (UTC+8: 2021-07-02 12:31:35) and `1625200228510` (UTC+8: 2021-07-02 12:30:28).
|
|
4630
4510
|
*
|
|
4631
4511
|
* @param request - GetResourceComplianceTimelineRequest
|
|
4632
4512
|
* @returns GetResourceComplianceTimelineResponse
|
|
@@ -4636,7 +4516,7 @@ class Client extends openapi_core_1.default {
|
|
|
4636
4516
|
return await this.getResourceComplianceTimelineWithOptions(request, runtime);
|
|
4637
4517
|
}
|
|
4638
4518
|
/**
|
|
4639
|
-
*
|
|
4519
|
+
* This operation obtains configuration samples for a specified resource type.
|
|
4640
4520
|
*
|
|
4641
4521
|
* @param request - GetResourceConfigurationSampleRequest
|
|
4642
4522
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4668,7 +4548,7 @@ class Client extends openapi_core_1.default {
|
|
|
4668
4548
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetResourceConfigurationSampleResponse({}));
|
|
4669
4549
|
}
|
|
4670
4550
|
/**
|
|
4671
|
-
*
|
|
4551
|
+
* This operation obtains configuration samples for a specified resource type.
|
|
4672
4552
|
*
|
|
4673
4553
|
* @param request - GetResourceConfigurationSampleRequest
|
|
4674
4554
|
* @returns GetResourceConfigurationSampleResponse
|
|
@@ -4678,10 +4558,13 @@ class Client extends openapi_core_1.default {
|
|
|
4678
4558
|
return await this.getResourceConfigurationSampleWithOptions(request, runtime);
|
|
4679
4559
|
}
|
|
4680
4560
|
/**
|
|
4681
|
-
* Queries the configuration
|
|
4561
|
+
* Queries the configuration history of a specified resource. Cloud Config records every configuration and relationship change for a resource in a configuration history. Recording starts after you enable the Cloud Config service. By default, the history is retained for 10 years.
|
|
4682
4562
|
*
|
|
4683
4563
|
* @remarks
|
|
4684
|
-
*
|
|
4564
|
+
* Cloud Config provides a configuration history for each resource that it monitors. The details are as follows:
|
|
4565
|
+
* - For existing resources, the configuration history starts when you enable the Cloud Config service.
|
|
4566
|
+
* - For new resources created after you enable the service, the configuration history starts when the resource is created. Cloud Config records configuration changes every 10 minutes. When a configuration changes, a new node appears in the history. This node contains the resource configuration details, change details, and the associated management event.
|
|
4567
|
+
* This topic provides an example of how to query the configuration history for a resource named `new-bucket`. The resource is a bucket in the `cn-hangzhou` region. The response shows that the creation time of the resource is `1624961112000` (18:05:12 on June 29, 2021, UTC+8).
|
|
4685
4568
|
*
|
|
4686
4569
|
* @param request - GetResourceConfigurationTimelineRequest
|
|
4687
4570
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4707,10 +4590,13 @@ class Client extends openapi_core_1.default {
|
|
|
4707
4590
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetResourceConfigurationTimelineResponse({}));
|
|
4708
4591
|
}
|
|
4709
4592
|
/**
|
|
4710
|
-
* Queries the configuration
|
|
4593
|
+
* Queries the configuration history of a specified resource. Cloud Config records every configuration and relationship change for a resource in a configuration history. Recording starts after you enable the Cloud Config service. By default, the history is retained for 10 years.
|
|
4711
4594
|
*
|
|
4712
4595
|
* @remarks
|
|
4713
|
-
*
|
|
4596
|
+
* Cloud Config provides a configuration history for each resource that it monitors. The details are as follows:
|
|
4597
|
+
* - For existing resources, the configuration history starts when you enable the Cloud Config service.
|
|
4598
|
+
* - For new resources created after you enable the service, the configuration history starts when the resource is created. Cloud Config records configuration changes every 10 minutes. When a configuration changes, a new node appears in the history. This node contains the resource configuration details, change details, and the associated management event.
|
|
4599
|
+
* This topic provides an example of how to query the configuration history for a resource named `new-bucket`. The resource is a bucket in the `cn-hangzhou` region. The response shows that the creation time of the resource is `1624961112000` (18:05:12 on June 29, 2021, UTC+8).
|
|
4714
4600
|
*
|
|
4715
4601
|
* @param request - GetResourceConfigurationTimelineRequest
|
|
4716
4602
|
* @returns GetResourceConfigurationTimelineResponse
|
|
@@ -4720,13 +4606,13 @@ class Client extends openapi_core_1.default {
|
|
|
4720
4606
|
return await this.getResourceConfigurationTimelineWithOptions(request, runtime);
|
|
4721
4607
|
}
|
|
4722
4608
|
/**
|
|
4723
|
-
*
|
|
4609
|
+
* Queries information about the most recently generated global resource inventory for the current account.
|
|
4724
4610
|
*
|
|
4725
4611
|
* @remarks
|
|
4726
|
-
* ###
|
|
4727
|
-
* You can call the [GenerateResourceInventory](https://help.aliyun.com/document_detail/2398354.html) operation to generate a resource inventory.
|
|
4728
|
-
* ###
|
|
4729
|
-
* This topic provides an example
|
|
4612
|
+
* ### Prerequisites
|
|
4613
|
+
* You can call the [GenerateResourceInventory](https://help.aliyun.com/document_detail/2398354.html) operation to generate a global resource inventory. You can then call this operation to obtain the URL of the global resource inventory.
|
|
4614
|
+
* ### Usage notes
|
|
4615
|
+
* This topic provides an example of how to query the most recently generated global resource inventory for the current account.
|
|
4730
4616
|
*
|
|
4731
4617
|
* @param request - GetResourceInventoryRequest
|
|
4732
4618
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4748,13 +4634,13 @@ class Client extends openapi_core_1.default {
|
|
|
4748
4634
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetResourceInventoryResponse({}));
|
|
4749
4635
|
}
|
|
4750
4636
|
/**
|
|
4751
|
-
*
|
|
4637
|
+
* Queries information about the most recently generated global resource inventory for the current account.
|
|
4752
4638
|
*
|
|
4753
4639
|
* @remarks
|
|
4754
|
-
* ###
|
|
4755
|
-
* You can call the [GenerateResourceInventory](https://help.aliyun.com/document_detail/2398354.html) operation to generate a resource inventory.
|
|
4756
|
-
* ###
|
|
4757
|
-
* This topic provides an example
|
|
4640
|
+
* ### Prerequisites
|
|
4641
|
+
* You can call the [GenerateResourceInventory](https://help.aliyun.com/document_detail/2398354.html) operation to generate a global resource inventory. You can then call this operation to obtain the URL of the global resource inventory.
|
|
4642
|
+
* ### Usage notes
|
|
4643
|
+
* This topic provides an example of how to query the most recently generated global resource inventory for the current account.
|
|
4758
4644
|
* @returns GetResourceInventoryResponse
|
|
4759
4645
|
*/
|
|
4760
4646
|
async getResourceInventory() {
|
|
@@ -4762,7 +4648,7 @@ class Client extends openapi_core_1.default {
|
|
|
4762
4648
|
return await this.getResourceInventoryWithOptions(runtime);
|
|
4763
4649
|
}
|
|
4764
4650
|
/**
|
|
4765
|
-
*
|
|
4651
|
+
* This operation retrieves the property descriptions for a specified resource type.
|
|
4766
4652
|
*
|
|
4767
4653
|
* @param request - GetResourceTypePropertiesRequest
|
|
4768
4654
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4788,7 +4674,7 @@ class Client extends openapi_core_1.default {
|
|
|
4788
4674
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetResourceTypePropertiesResponse({}));
|
|
4789
4675
|
}
|
|
4790
4676
|
/**
|
|
4791
|
-
*
|
|
4677
|
+
* This operation retrieves the property descriptions for a specified resource type.
|
|
4792
4678
|
*
|
|
4793
4679
|
* @param request - GetResourceTypePropertiesRequest
|
|
4794
4680
|
* @returns GetResourceTypePropertiesResponse
|
|
@@ -4798,10 +4684,10 @@ class Client extends openapi_core_1.default {
|
|
|
4798
4684
|
return await this.getResourceTypePropertiesWithOptions(request, runtime);
|
|
4799
4685
|
}
|
|
4800
4686
|
/**
|
|
4801
|
-
* Queries the resource
|
|
4687
|
+
* Queries the supported resource relations for a specified resource type.
|
|
4802
4688
|
*
|
|
4803
4689
|
* @remarks
|
|
4804
|
-
* This topic provides an example
|
|
4690
|
+
* This topic provides an example of how to query the resource relations supported by the ACS::ECS::Instance resource type.
|
|
4805
4691
|
*
|
|
4806
4692
|
* @param request - GetSupportedResourceRelationConfigRequest
|
|
4807
4693
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4830,10 +4716,10 @@ class Client extends openapi_core_1.default {
|
|
|
4830
4716
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSupportedResourceRelationConfigResponse({}));
|
|
4831
4717
|
}
|
|
4832
4718
|
/**
|
|
4833
|
-
* Queries the resource
|
|
4719
|
+
* Queries the supported resource relations for a specified resource type.
|
|
4834
4720
|
*
|
|
4835
4721
|
* @remarks
|
|
4836
|
-
* This topic provides an example
|
|
4722
|
+
* This topic provides an example of how to query the resource relations supported by the ACS::ECS::Instance resource type.
|
|
4837
4723
|
*
|
|
4838
4724
|
* @param request - GetSupportedResourceRelationConfigRequest
|
|
4839
4725
|
* @returns GetSupportedResourceRelationConfigResponse
|
|
@@ -4843,11 +4729,7 @@ class Client extends openapi_core_1.default {
|
|
|
4843
4729
|
return await this.getSupportedResourceRelationConfigWithOptions(request, runtime);
|
|
4844
4730
|
}
|
|
4845
4731
|
/**
|
|
4846
|
-
*
|
|
4847
|
-
*
|
|
4848
|
-
* @remarks
|
|
4849
|
-
* After you ignore a resource that is evaluated as incompliant by using a rule, the resource is still evaluated by using the rule, but the compliance result is Ignored.
|
|
4850
|
-
* This example shows how to ignore the `lb-hp3a3b4ztyfm2plgm****` incompliant resource that is evaluated by using the `cr-7e72626622af0051***` rule in the `120886317861****` member account of the `ca-5b6c626622af008f****` account group. The ID of the region where the resource resides is `cn-beijing`, and the type of the resource is `ACS::SLB::LoadBalancer`.
|
|
4732
|
+
* 忽略评估结果增加截止时间
|
|
4851
4733
|
*
|
|
4852
4734
|
* @param tmpReq - IgnoreAggregateEvaluationResultsRequest
|
|
4853
4735
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4893,11 +4775,7 @@ class Client extends openapi_core_1.default {
|
|
|
4893
4775
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.IgnoreAggregateEvaluationResultsResponse({}));
|
|
4894
4776
|
}
|
|
4895
4777
|
/**
|
|
4896
|
-
*
|
|
4897
|
-
*
|
|
4898
|
-
* @remarks
|
|
4899
|
-
* After you ignore a resource that is evaluated as incompliant by using a rule, the resource is still evaluated by using the rule, but the compliance result is Ignored.
|
|
4900
|
-
* This example shows how to ignore the `lb-hp3a3b4ztyfm2plgm****` incompliant resource that is evaluated by using the `cr-7e72626622af0051***` rule in the `120886317861****` member account of the `ca-5b6c626622af008f****` account group. The ID of the region where the resource resides is `cn-beijing`, and the type of the resource is `ACS::SLB::LoadBalancer`.
|
|
4778
|
+
* 忽略评估结果增加截止时间
|
|
4901
4779
|
*
|
|
4902
4780
|
* @param request - IgnoreAggregateEvaluationResultsRequest
|
|
4903
4781
|
* @returns IgnoreAggregateEvaluationResultsResponse
|
|
@@ -4907,11 +4785,11 @@ class Client extends openapi_core_1.default {
|
|
|
4907
4785
|
return await this.ignoreAggregateEvaluationResultsWithOptions(request, runtime);
|
|
4908
4786
|
}
|
|
4909
4787
|
/**
|
|
4910
|
-
* Ignores the evaluation results of
|
|
4788
|
+
* Ignores the evaluation results of a rule for specific resources. You can also set a time period to ignore the rule. When the ignore period expires, the system automatically resumes displaying the evaluation results of the rule for the resources.
|
|
4911
4789
|
*
|
|
4912
4790
|
* @remarks
|
|
4913
|
-
* After
|
|
4914
|
-
* This example
|
|
4791
|
+
* After a non-compliant resource is ignored, the rule still evaluates the resource. The evaluation result is Ignored.
|
|
4792
|
+
* This topic provides an example of how to ignore the evaluation results of the rule `cr-7e72626622af0051****` for a specified non-compliant resource in the Alibaba Cloud account `100931896542****`. The region ID of the resource is `cn-beijing`, the resource type is `ACS::SLB::LoadBalancer`, and the resource ID is `lb-hp3a3b4ztyfm2plgm****`.
|
|
4915
4793
|
*
|
|
4916
4794
|
* @param tmpReq - IgnoreEvaluationResultsRequest
|
|
4917
4795
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4954,11 +4832,11 @@ class Client extends openapi_core_1.default {
|
|
|
4954
4832
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.IgnoreEvaluationResultsResponse({}));
|
|
4955
4833
|
}
|
|
4956
4834
|
/**
|
|
4957
|
-
* Ignores the evaluation results of
|
|
4835
|
+
* Ignores the evaluation results of a rule for specific resources. You can also set a time period to ignore the rule. When the ignore period expires, the system automatically resumes displaying the evaluation results of the rule for the resources.
|
|
4958
4836
|
*
|
|
4959
4837
|
* @remarks
|
|
4960
|
-
* After
|
|
4961
|
-
* This example
|
|
4838
|
+
* After a non-compliant resource is ignored, the rule still evaluates the resource. The evaluation result is Ignored.
|
|
4839
|
+
* This topic provides an example of how to ignore the evaluation results of the rule `cr-7e72626622af0051****` for a specified non-compliant resource in the Alibaba Cloud account `100931896542****`. The region ID of the resource is `cn-beijing`, the resource type is `ACS::SLB::LoadBalancer`, and the resource ID is `lb-hp3a3b4ztyfm2plgm****`.
|
|
4962
4840
|
*
|
|
4963
4841
|
* @param request - IgnoreEvaluationResultsRequest
|
|
4964
4842
|
* @returns IgnoreEvaluationResultsResponse
|
|
@@ -4968,10 +4846,10 @@ class Client extends openapi_core_1.default {
|
|
|
4968
4846
|
return await this.ignoreEvaluationResultsWithOptions(request, runtime);
|
|
4969
4847
|
}
|
|
4970
4848
|
/**
|
|
4971
|
-
* Queries
|
|
4849
|
+
* Queries the compliance packs in a specified account group.
|
|
4972
4850
|
*
|
|
4973
4851
|
* @remarks
|
|
4974
|
-
*
|
|
4852
|
+
* This topic provides an example of how to query the compliance packs in the account group `ca-f632626622af0079****`. The response shows that the account group contains the compliance pack `cp-fdc8626622af00f9****`.
|
|
4975
4853
|
*
|
|
4976
4854
|
* @param tmpReq - ListAggregateCompliancePacksRequest
|
|
4977
4855
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5020,10 +4898,10 @@ class Client extends openapi_core_1.default {
|
|
|
5020
4898
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAggregateCompliancePacksResponse({}));
|
|
5021
4899
|
}
|
|
5022
4900
|
/**
|
|
5023
|
-
* Queries
|
|
4901
|
+
* Queries the compliance packs in a specified account group.
|
|
5024
4902
|
*
|
|
5025
4903
|
* @remarks
|
|
5026
|
-
*
|
|
4904
|
+
* This topic provides an example of how to query the compliance packs in the account group `ca-f632626622af0079****`. The response shows that the account group contains the compliance pack `cp-fdc8626622af00f9****`.
|
|
5027
4905
|
*
|
|
5028
4906
|
* @param request - ListAggregateCompliancePacksRequest
|
|
5029
4907
|
* @returns ListAggregateCompliancePacksResponse
|
|
@@ -5033,7 +4911,7 @@ class Client extends openapi_core_1.default {
|
|
|
5033
4911
|
return await this.listAggregateCompliancePacksWithOptions(request, runtime);
|
|
5034
4912
|
}
|
|
5035
4913
|
/**
|
|
5036
|
-
*
|
|
4914
|
+
* 账号组查询投递渠道列表
|
|
5037
4915
|
*
|
|
5038
4916
|
* @param request - ListAggregateConfigDeliveryChannelsRequest
|
|
5039
4917
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5065,7 +4943,7 @@ class Client extends openapi_core_1.default {
|
|
|
5065
4943
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAggregateConfigDeliveryChannelsResponse({}));
|
|
5066
4944
|
}
|
|
5067
4945
|
/**
|
|
5068
|
-
*
|
|
4946
|
+
* 账号组查询投递渠道列表
|
|
5069
4947
|
*
|
|
5070
4948
|
* @param request - ListAggregateConfigDeliveryChannelsRequest
|
|
5071
4949
|
* @returns ListAggregateConfigDeliveryChannelsResponse
|
|
@@ -5075,10 +4953,7 @@ class Client extends openapi_core_1.default {
|
|
|
5075
4953
|
return await this.listAggregateConfigDeliveryChannelsWithOptions(request, runtime);
|
|
5076
4954
|
}
|
|
5077
4955
|
/**
|
|
5078
|
-
* Queries the
|
|
5079
|
-
*
|
|
5080
|
-
* @remarks
|
|
5081
|
-
* This topic provides an example on how to query the compliance evaluation results of resources based on the `cr-888f626622af00ae****` rule in the `ca-d1e3326622af00cb****` account group. The returned result indicates that the `Bucket-test` resource is evaluated as `NON_COMPLIANT` by using the rule. The resource is an Object Storage Service (OSS) bucket.
|
|
4956
|
+
* Queries the evaluation results of a rule for resources in a specified account group.
|
|
5082
4957
|
*
|
|
5083
4958
|
* @param request - ListAggregateConfigRuleEvaluationResultsRequest
|
|
5084
4959
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5137,10 +5012,7 @@ class Client extends openapi_core_1.default {
|
|
|
5137
5012
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAggregateConfigRuleEvaluationResultsResponse({}));
|
|
5138
5013
|
}
|
|
5139
5014
|
/**
|
|
5140
|
-
* Queries the
|
|
5141
|
-
*
|
|
5142
|
-
* @remarks
|
|
5143
|
-
* This topic provides an example on how to query the compliance evaluation results of resources based on the `cr-888f626622af00ae****` rule in the `ca-d1e3326622af00cb****` account group. The returned result indicates that the `Bucket-test` resource is evaluated as `NON_COMPLIANT` by using the rule. The resource is an Object Storage Service (OSS) bucket.
|
|
5015
|
+
* Queries the evaluation results of a rule for resources in a specified account group.
|
|
5144
5016
|
*
|
|
5145
5017
|
* @param request - ListAggregateConfigRuleEvaluationResultsRequest
|
|
5146
5018
|
* @returns ListAggregateConfigRuleEvaluationResultsResponse
|
|
@@ -5150,10 +5022,7 @@ class Client extends openapi_core_1.default {
|
|
|
5150
5022
|
return await this.listAggregateConfigRuleEvaluationResultsWithOptions(request, runtime);
|
|
5151
5023
|
}
|
|
5152
5024
|
/**
|
|
5153
|
-
*
|
|
5154
|
-
*
|
|
5155
|
-
* @remarks
|
|
5156
|
-
* This topic provides an example on how to query the statistics of compliance evaluation results of an account group whose ID is ca-edd3626622af00b3\\*\\*\\*\\*.
|
|
5025
|
+
* 透出用户账号组维度的评估结果统计
|
|
5157
5026
|
*
|
|
5158
5027
|
* @param request - ListAggregateConfigRuleEvaluationStatisticsRequest
|
|
5159
5028
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5182,10 +5051,7 @@ class Client extends openapi_core_1.default {
|
|
|
5182
5051
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAggregateConfigRuleEvaluationStatisticsResponse({}));
|
|
5183
5052
|
}
|
|
5184
5053
|
/**
|
|
5185
|
-
*
|
|
5186
|
-
*
|
|
5187
|
-
* @remarks
|
|
5188
|
-
* This topic provides an example on how to query the statistics of compliance evaluation results of an account group whose ID is ca-edd3626622af00b3\\*\\*\\*\\*.
|
|
5054
|
+
* 透出用户账号组维度的评估结果统计
|
|
5189
5055
|
*
|
|
5190
5056
|
* @param request - ListAggregateConfigRuleEvaluationStatisticsRequest
|
|
5191
5057
|
* @returns ListAggregateConfigRuleEvaluationStatisticsResponse
|
|
@@ -5195,10 +5061,10 @@ class Client extends openapi_core_1.default {
|
|
|
5195
5061
|
return await this.listAggregateConfigRuleEvaluationStatisticsWithOptions(request, runtime);
|
|
5196
5062
|
}
|
|
5197
5063
|
/**
|
|
5198
|
-
* Queries
|
|
5064
|
+
* Queries the rules in a specified account group.
|
|
5199
5065
|
*
|
|
5200
5066
|
* @remarks
|
|
5201
|
-
* This topic provides an example
|
|
5067
|
+
* This topic provides an example of how to query the rules in the account group `ca-f632626622af0079****`. The response shows that the account group contains one rule. This rule evaluates two resources, and the compliance result is `COMPLIANT`.
|
|
5202
5068
|
*
|
|
5203
5069
|
* @param tmpReq - ListAggregateConfigRulesRequest
|
|
5204
5070
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5265,10 +5131,10 @@ class Client extends openapi_core_1.default {
|
|
|
5265
5131
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAggregateConfigRulesResponse({}));
|
|
5266
5132
|
}
|
|
5267
5133
|
/**
|
|
5268
|
-
* Queries
|
|
5134
|
+
* Queries the rules in a specified account group.
|
|
5269
5135
|
*
|
|
5270
5136
|
* @remarks
|
|
5271
|
-
* This topic provides an example
|
|
5137
|
+
* This topic provides an example of how to query the rules in the account group `ca-f632626622af0079****`. The response shows that the account group contains one rule. This rule evaluates two resources, and the compliance result is `COMPLIANT`.
|
|
5272
5138
|
*
|
|
5273
5139
|
* @param request - ListAggregateConfigRulesRequest
|
|
5274
5140
|
* @returns ListAggregateConfigRulesResponse
|
|
@@ -5278,10 +5144,13 @@ class Client extends openapi_core_1.default {
|
|
|
5278
5144
|
return await this.listAggregateConfigRulesWithOptions(request, runtime);
|
|
5279
5145
|
}
|
|
5280
5146
|
/**
|
|
5281
|
-
*
|
|
5147
|
+
* Queries the resources in a specified account group.
|
|
5282
5148
|
*
|
|
5283
5149
|
* @remarks
|
|
5284
|
-
*
|
|
5150
|
+
* ### Limits
|
|
5151
|
+
* The resource checklist displays only some of your resources because Cloud Config supports only specific Alibaba Cloud services and resource types. For more information about the supported services and resource types, see [Supported resource types and resource relationships](https://help.aliyun.com/document_detail/127411.html).
|
|
5152
|
+
* ### Usage notes
|
|
5153
|
+
* This topic provides an example of how to query the resources of a member with the ID `100931896542****` in the account group `ca-c560626622af0005****`. The response indicates that there are eight resources in total.
|
|
5285
5154
|
*
|
|
5286
5155
|
* @param request - ListAggregateDiscoveredResourcesRequest
|
|
5287
5156
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5346,10 +5215,13 @@ class Client extends openapi_core_1.default {
|
|
|
5346
5215
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAggregateDiscoveredResourcesResponse({}));
|
|
5347
5216
|
}
|
|
5348
5217
|
/**
|
|
5349
|
-
*
|
|
5218
|
+
* Queries the resources in a specified account group.
|
|
5350
5219
|
*
|
|
5351
5220
|
* @remarks
|
|
5352
|
-
*
|
|
5221
|
+
* ### Limits
|
|
5222
|
+
* The resource checklist displays only some of your resources because Cloud Config supports only specific Alibaba Cloud services and resource types. For more information about the supported services and resource types, see [Supported resource types and resource relationships](https://help.aliyun.com/document_detail/127411.html).
|
|
5223
|
+
* ### Usage notes
|
|
5224
|
+
* This topic provides an example of how to query the resources of a member with the ID `100931896542****` in the account group `ca-c560626622af0005****`. The response indicates that there are eight resources in total.
|
|
5353
5225
|
*
|
|
5354
5226
|
* @param request - ListAggregateDiscoveredResourcesRequest
|
|
5355
5227
|
* @returns ListAggregateDiscoveredResourcesResponse
|
|
@@ -5359,7 +5231,11 @@ class Client extends openapi_core_1.default {
|
|
|
5359
5231
|
return await this.listAggregateDiscoveredResourcesWithOptions(request, runtime);
|
|
5360
5232
|
}
|
|
5361
5233
|
/**
|
|
5362
|
-
*
|
|
5234
|
+
* This operation retrieves the list of recommended managed rules for an account group.
|
|
5235
|
+
*
|
|
5236
|
+
* @remarks
|
|
5237
|
+
* For more information about the concepts, working principles, and integration process of dry run rules, see [Definition and working principles of dry run rules](https://help.aliyun.com/document_detail/470802.html).
|
|
5238
|
+
* Dry run rules and rule templates are based on the same underlying rule definitions. After you create a resource, a dry run rule continuously checks the resource for compliance.
|
|
5363
5239
|
*
|
|
5364
5240
|
* @param request - ListAggregateRecommendManagedRulesRequest
|
|
5365
5241
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5415,7 +5291,11 @@ class Client extends openapi_core_1.default {
|
|
|
5415
5291
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAggregateRecommendManagedRulesResponse({}));
|
|
5416
5292
|
}
|
|
5417
5293
|
/**
|
|
5418
|
-
*
|
|
5294
|
+
* This operation retrieves the list of recommended managed rules for an account group.
|
|
5295
|
+
*
|
|
5296
|
+
* @remarks
|
|
5297
|
+
* For more information about the concepts, working principles, and integration process of dry run rules, see [Definition and working principles of dry run rules](https://help.aliyun.com/document_detail/470802.html).
|
|
5298
|
+
* Dry run rules and rule templates are based on the same underlying rule definitions. After you create a resource, a dry run rule continuously checks the resource for compliance.
|
|
5419
5299
|
*
|
|
5420
5300
|
* @param request - ListAggregateRecommendManagedRulesRequest
|
|
5421
5301
|
* @returns ListAggregateRecommendManagedRulesResponse
|
|
@@ -5425,10 +5305,7 @@ class Client extends openapi_core_1.default {
|
|
|
5425
5305
|
return await this.listAggregateRecommendManagedRulesWithOptions(request, runtime);
|
|
5426
5306
|
}
|
|
5427
5307
|
/**
|
|
5428
|
-
*
|
|
5429
|
-
*
|
|
5430
|
-
* @remarks
|
|
5431
|
-
* This topic provides an example on how to query the remediation records of the `cr-d04a626622af00af****` rule in the `ca-edd3626622af00b3****` account group.
|
|
5308
|
+
* 账号组规则修正执行历史
|
|
5432
5309
|
*
|
|
5433
5310
|
* @param request - ListAggregateRemediationExecutionsRequest
|
|
5434
5311
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5472,10 +5349,7 @@ class Client extends openapi_core_1.default {
|
|
|
5472
5349
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAggregateRemediationExecutionsResponse({}));
|
|
5473
5350
|
}
|
|
5474
5351
|
/**
|
|
5475
|
-
*
|
|
5476
|
-
*
|
|
5477
|
-
* @remarks
|
|
5478
|
-
* This topic provides an example on how to query the remediation records of the `cr-d04a626622af00af****` rule in the `ca-edd3626622af00b3****` account group.
|
|
5352
|
+
* 账号组规则修正执行历史
|
|
5479
5353
|
*
|
|
5480
5354
|
* @param request - ListAggregateRemediationExecutionsRequest
|
|
5481
5355
|
* @returns ListAggregateRemediationExecutionsResponse
|
|
@@ -5485,10 +5359,10 @@ class Client extends openapi_core_1.default {
|
|
|
5485
5359
|
return await this.listAggregateRemediationExecutionsWithOptions(request, runtime);
|
|
5486
5360
|
}
|
|
5487
5361
|
/**
|
|
5488
|
-
* Queries
|
|
5362
|
+
* Queries the remediations in a specified account group.
|
|
5489
5363
|
*
|
|
5490
5364
|
* @remarks
|
|
5491
|
-
* This topic provides an example
|
|
5365
|
+
* This topic provides an example of how to query the remediation settings for the rule `cr-6b7c626622af00b4****` in the account group `ca-6b4a626622af0012****`.
|
|
5492
5366
|
*
|
|
5493
5367
|
* @param request - ListAggregateRemediationsRequest
|
|
5494
5368
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5520,10 +5394,10 @@ class Client extends openapi_core_1.default {
|
|
|
5520
5394
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAggregateRemediationsResponse({}));
|
|
5521
5395
|
}
|
|
5522
5396
|
/**
|
|
5523
|
-
* Queries
|
|
5397
|
+
* Queries the remediations in a specified account group.
|
|
5524
5398
|
*
|
|
5525
5399
|
* @remarks
|
|
5526
|
-
* This topic provides an example
|
|
5400
|
+
* This topic provides an example of how to query the remediation settings for the rule `cr-6b7c626622af00b4****` in the account group `ca-6b4a626622af0012****`.
|
|
5527
5401
|
*
|
|
5528
5402
|
* @param request - ListAggregateRemediationsRequest
|
|
5529
5403
|
* @returns ListAggregateRemediationsResponse
|
|
@@ -5533,10 +5407,7 @@ class Client extends openapi_core_1.default {
|
|
|
5533
5407
|
return await this.listAggregateRemediationsWithOptions(request, runtime);
|
|
5534
5408
|
}
|
|
5535
5409
|
/**
|
|
5536
|
-
* Queries the
|
|
5537
|
-
*
|
|
5538
|
-
* @remarks
|
|
5539
|
-
* This example shows how to query the compliance evaluation result of the `23642660635396****` resource in the `ca-7f00626622af0041****` account group. The resource is a RAM user. The returned result indicates that the resource is evaluated as `NON_COMPLIANT` by using the `cr-7f7d626622af0041****` rule.
|
|
5410
|
+
* Queries the rule evaluation results for resources in a specified account group.
|
|
5540
5411
|
*
|
|
5541
5412
|
* @param request - ListAggregateResourceEvaluationResultsRequest
|
|
5542
5413
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5589,10 +5460,7 @@ class Client extends openapi_core_1.default {
|
|
|
5589
5460
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAggregateResourceEvaluationResultsResponse({}));
|
|
5590
5461
|
}
|
|
5591
5462
|
/**
|
|
5592
|
-
* Queries the
|
|
5593
|
-
*
|
|
5594
|
-
* @remarks
|
|
5595
|
-
* This example shows how to query the compliance evaluation result of the `23642660635396****` resource in the `ca-7f00626622af0041****` account group. The resource is a RAM user. The returned result indicates that the resource is evaluated as `NON_COMPLIANT` by using the `cr-7f7d626622af0041****` rule.
|
|
5463
|
+
* Queries the rule evaluation results for resources in a specified account group.
|
|
5596
5464
|
*
|
|
5597
5465
|
* @param request - ListAggregateResourceEvaluationResultsRequest
|
|
5598
5466
|
* @returns ListAggregateResourceEvaluationResultsResponse
|
|
@@ -5602,10 +5470,7 @@ class Client extends openapi_core_1.default {
|
|
|
5602
5470
|
return await this.listAggregateResourceEvaluationResultsWithOptions(request, runtime);
|
|
5603
5471
|
}
|
|
5604
5472
|
/**
|
|
5605
|
-
*
|
|
5606
|
-
*
|
|
5607
|
-
* @remarks
|
|
5608
|
-
* This topic provides an example on how to query the disks that are associated with an Elastic Compute Service (ECS) instance in an account group.
|
|
5473
|
+
* 获取资源关系列表
|
|
5609
5474
|
*
|
|
5610
5475
|
* @param request - ListAggregateResourceRelationsRequest
|
|
5611
5476
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5661,10 +5526,7 @@ class Client extends openapi_core_1.default {
|
|
|
5661
5526
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAggregateResourceRelationsResponse({}));
|
|
5662
5527
|
}
|
|
5663
5528
|
/**
|
|
5664
|
-
*
|
|
5665
|
-
*
|
|
5666
|
-
* @remarks
|
|
5667
|
-
* This topic provides an example on how to query the disks that are associated with an Elastic Compute Service (ECS) instance in an account group.
|
|
5529
|
+
* 获取资源关系列表
|
|
5668
5530
|
*
|
|
5669
5531
|
* @param request - ListAggregateResourceRelationsRequest
|
|
5670
5532
|
* @returns ListAggregateResourceRelationsResponse
|
|
@@ -5674,14 +5536,14 @@ class Client extends openapi_core_1.default {
|
|
|
5674
5536
|
return await this.listAggregateResourceRelationsWithOptions(request, runtime);
|
|
5675
5537
|
}
|
|
5676
5538
|
/**
|
|
5677
|
-
*
|
|
5539
|
+
* You can use SQL Select statements to search for resources in a specific account group based on fields in the resource properties.
|
|
5678
5540
|
*
|
|
5679
5541
|
* @remarks
|
|
5680
|
-
* When you write
|
|
5542
|
+
* When you write an SQL `Select` statement, you can retrieve the search fields and their types from the property file of the target resource type. For more information about resource property files, see [alibabacloud-config-resource-schema](https://github.com/aliyun/alibabacloud-config-resource-schema).
|
|
5543
|
+
* > - The resource property files contain all resource types that are supported by Cloud Config. These files are named after their corresponding resource types. For example, the property file for the `ACS::ECS::Instance` resource type is `ACS_ECS_Instance.properties.json`. The path to the property files is `config/properties/resource-types`.
|
|
5681
5544
|
* >
|
|
5682
|
-
*
|
|
5683
|
-
*
|
|
5684
|
-
* This topic provides an example on how to obtain all resources whose tag key is `business` and whose tag value is `online` in the account group `ca-4b05626622af000c****` by using the advanced search feature.
|
|
5545
|
+
* > - For more information about SQL search examples and limits, see [SQL search examples](https://help.aliyun.com/document_detail/398718.html) and [Limits of SQL search](https://help.aliyun.com/document_detail/398750.html).
|
|
5546
|
+
* This topic provides an example of an advanced search query. The query finds all resources in the account group `ca-4b05626622af000c****` that have a tag key of `business` and a tag value of `online`.
|
|
5685
5547
|
*
|
|
5686
5548
|
* @param request - ListAggregateResourcesByAdvancedSearchRequest
|
|
5687
5549
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5713,14 +5575,14 @@ class Client extends openapi_core_1.default {
|
|
|
5713
5575
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAggregateResourcesByAdvancedSearchResponse({}));
|
|
5714
5576
|
}
|
|
5715
5577
|
/**
|
|
5716
|
-
*
|
|
5578
|
+
* You can use SQL Select statements to search for resources in a specific account group based on fields in the resource properties.
|
|
5717
5579
|
*
|
|
5718
5580
|
* @remarks
|
|
5719
|
-
* When you write
|
|
5581
|
+
* When you write an SQL `Select` statement, you can retrieve the search fields and their types from the property file of the target resource type. For more information about resource property files, see [alibabacloud-config-resource-schema](https://github.com/aliyun/alibabacloud-config-resource-schema).
|
|
5582
|
+
* > - The resource property files contain all resource types that are supported by Cloud Config. These files are named after their corresponding resource types. For example, the property file for the `ACS::ECS::Instance` resource type is `ACS_ECS_Instance.properties.json`. The path to the property files is `config/properties/resource-types`.
|
|
5720
5583
|
* >
|
|
5721
|
-
*
|
|
5722
|
-
*
|
|
5723
|
-
* This topic provides an example on how to obtain all resources whose tag key is `business` and whose tag value is `online` in the account group `ca-4b05626622af000c****` by using the advanced search feature.
|
|
5584
|
+
* > - For more information about SQL search examples and limits, see [SQL search examples](https://help.aliyun.com/document_detail/398718.html) and [Limits of SQL search](https://help.aliyun.com/document_detail/398750.html).
|
|
5585
|
+
* This topic provides an example of an advanced search query. The query finds all resources in the account group `ca-4b05626622af000c****` that have a tag key of `business` and a tag value of `online`.
|
|
5724
5586
|
*
|
|
5725
5587
|
* @param request - ListAggregateResourcesByAdvancedSearchRequest
|
|
5726
5588
|
* @returns ListAggregateResourcesByAdvancedSearchResponse
|
|
@@ -5730,10 +5592,7 @@ class Client extends openapi_core_1.default {
|
|
|
5730
5592
|
return await this.listAggregateResourcesByAdvancedSearchWithOptions(request, runtime);
|
|
5731
5593
|
}
|
|
5732
5594
|
/**
|
|
5733
|
-
*
|
|
5734
|
-
*
|
|
5735
|
-
* @remarks
|
|
5736
|
-
* The sample request in this topic shows you how to query account groups. A maximum of 10 entries can be returned for the request. As shown in the responses, the account group returned is named as `Test_Group`, its description is `Test account group`, and it is of the `CUSTOM` type, which indicates a custom account group. The account group contains two member accounts.
|
|
5595
|
+
* 获取账号组列表
|
|
5737
5596
|
*
|
|
5738
5597
|
* @param tmpReq - ListAggregatorsRequest
|
|
5739
5598
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5773,10 +5632,7 @@ class Client extends openapi_core_1.default {
|
|
|
5773
5632
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAggregatorsResponse({}));
|
|
5774
5633
|
}
|
|
5775
5634
|
/**
|
|
5776
|
-
*
|
|
5777
|
-
*
|
|
5778
|
-
* @remarks
|
|
5779
|
-
* The sample request in this topic shows you how to query account groups. A maximum of 10 entries can be returned for the request. As shown in the responses, the account group returned is named as `Test_Group`, its description is `Test account group`, and it is of the `CUSTOM` type, which indicates a custom account group. The account group contains two member accounts.
|
|
5635
|
+
* 获取账号组列表
|
|
5780
5636
|
*
|
|
5781
5637
|
* @param request - ListAggregatorsRequest
|
|
5782
5638
|
* @returns ListAggregatorsResponse
|
|
@@ -5786,10 +5642,10 @@ class Client extends openapi_core_1.default {
|
|
|
5786
5642
|
return await this.listAggregatorsWithOptions(request, runtime);
|
|
5787
5643
|
}
|
|
5788
5644
|
/**
|
|
5789
|
-
* Queries all compliance
|
|
5645
|
+
* Queries the details of all compliance pack templates provided by CloudConfig.
|
|
5790
5646
|
*
|
|
5791
5647
|
* @remarks
|
|
5792
|
-
* A compliance
|
|
5648
|
+
* A compliance pack template is a collection of rules customized by CloudConfig for compliance scenarios.
|
|
5793
5649
|
*
|
|
5794
5650
|
* @param request - ListCompliancePackTemplatesRequest
|
|
5795
5651
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5833,10 +5689,10 @@ class Client extends openapi_core_1.default {
|
|
|
5833
5689
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCompliancePackTemplatesResponse({}));
|
|
5834
5690
|
}
|
|
5835
5691
|
/**
|
|
5836
|
-
* Queries all compliance
|
|
5692
|
+
* Queries the details of all compliance pack templates provided by CloudConfig.
|
|
5837
5693
|
*
|
|
5838
5694
|
* @remarks
|
|
5839
|
-
* A compliance
|
|
5695
|
+
* A compliance pack template is a collection of rules customized by CloudConfig for compliance scenarios.
|
|
5840
5696
|
*
|
|
5841
5697
|
* @param request - ListCompliancePackTemplatesRequest
|
|
5842
5698
|
* @returns ListCompliancePackTemplatesResponse
|
|
@@ -5846,10 +5702,10 @@ class Client extends openapi_core_1.default {
|
|
|
5846
5702
|
return await this.listCompliancePackTemplatesWithOptions(request, runtime);
|
|
5847
5703
|
}
|
|
5848
5704
|
/**
|
|
5849
|
-
*
|
|
5705
|
+
* Lists the compliance packs for the current account.
|
|
5850
5706
|
*
|
|
5851
5707
|
* @remarks
|
|
5852
|
-
* This topic provides an example of how to
|
|
5708
|
+
* This topic provides an example of how to list compliance packs. The response returns one compliance pack record: `cp-fdc8626622af00f9****`.
|
|
5853
5709
|
*
|
|
5854
5710
|
* @param tmpReq - ListCompliancePacksRequest
|
|
5855
5711
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5895,10 +5751,10 @@ class Client extends openapi_core_1.default {
|
|
|
5895
5751
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCompliancePacksResponse({}));
|
|
5896
5752
|
}
|
|
5897
5753
|
/**
|
|
5898
|
-
*
|
|
5754
|
+
* Lists the compliance packs for the current account.
|
|
5899
5755
|
*
|
|
5900
5756
|
* @remarks
|
|
5901
|
-
* This topic provides an example of how to
|
|
5757
|
+
* This topic provides an example of how to list compliance packs. The response returns one compliance pack record: `cp-fdc8626622af00f9****`.
|
|
5902
5758
|
*
|
|
5903
5759
|
* @param request - ListCompliancePacksRequest
|
|
5904
5760
|
* @returns ListCompliancePacksResponse
|
|
@@ -5908,7 +5764,7 @@ class Client extends openapi_core_1.default {
|
|
|
5908
5764
|
return await this.listCompliancePacksWithOptions(request, runtime);
|
|
5909
5765
|
}
|
|
5910
5766
|
/**
|
|
5911
|
-
*
|
|
5767
|
+
* Returns a list of delivery channels.
|
|
5912
5768
|
*
|
|
5913
5769
|
* @param request - ListConfigDeliveryChannelsRequest
|
|
5914
5770
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5937,7 +5793,7 @@ class Client extends openapi_core_1.default {
|
|
|
5937
5793
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConfigDeliveryChannelsResponse({}));
|
|
5938
5794
|
}
|
|
5939
5795
|
/**
|
|
5940
|
-
*
|
|
5796
|
+
* Returns a list of delivery channels.
|
|
5941
5797
|
*
|
|
5942
5798
|
* @param request - ListConfigDeliveryChannelsRequest
|
|
5943
5799
|
* @returns ListConfigDeliveryChannelsResponse
|
|
@@ -5947,10 +5803,7 @@ class Client extends openapi_core_1.default {
|
|
|
5947
5803
|
return await this.listConfigDeliveryChannelsWithOptions(request, runtime);
|
|
5948
5804
|
}
|
|
5949
5805
|
/**
|
|
5950
|
-
* Queries the compliance evaluation results of
|
|
5951
|
-
*
|
|
5952
|
-
* @remarks
|
|
5953
|
-
* This topic provides an example on how to query the compliance evaluation result of resources based on a rule whose ID is `cr-cac56457e0d900d3****`. The returned result indicates that the `i-hp3e4kvhzqn2s11t****` resource is evaluated as `NON_COMPLIANT` by using the rule. The resource is an Elastic Compute Service (ECS) instance.
|
|
5806
|
+
* Queries the compliance evaluation results of a rule.
|
|
5954
5807
|
*
|
|
5955
5808
|
* @param request - ListConfigRuleEvaluationResultsRequest
|
|
5956
5809
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6000,10 +5853,7 @@ class Client extends openapi_core_1.default {
|
|
|
6000
5853
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConfigRuleEvaluationResultsResponse({}));
|
|
6001
5854
|
}
|
|
6002
5855
|
/**
|
|
6003
|
-
* Queries the compliance evaluation results of
|
|
6004
|
-
*
|
|
6005
|
-
* @remarks
|
|
6006
|
-
* This topic provides an example on how to query the compliance evaluation result of resources based on a rule whose ID is `cr-cac56457e0d900d3****`. The returned result indicates that the `i-hp3e4kvhzqn2s11t****` resource is evaluated as `NON_COMPLIANT` by using the rule. The resource is an Elastic Compute Service (ECS) instance.
|
|
5856
|
+
* Queries the compliance evaluation results of a rule.
|
|
6007
5857
|
*
|
|
6008
5858
|
* @param request - ListConfigRuleEvaluationResultsRequest
|
|
6009
5859
|
* @returns ListConfigRuleEvaluationResultsResponse
|
|
@@ -6013,7 +5863,7 @@ class Client extends openapi_core_1.default {
|
|
|
6013
5863
|
return await this.listConfigRuleEvaluationResultsWithOptions(request, runtime);
|
|
6014
5864
|
}
|
|
6015
5865
|
/**
|
|
6016
|
-
*
|
|
5866
|
+
* 透出用户维度的历史评估结果统计
|
|
6017
5867
|
*
|
|
6018
5868
|
* @param request - ListConfigRuleEvaluationStatisticsRequest
|
|
6019
5869
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6035,7 +5885,7 @@ class Client extends openapi_core_1.default {
|
|
|
6035
5885
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConfigRuleEvaluationStatisticsResponse({}));
|
|
6036
5886
|
}
|
|
6037
5887
|
/**
|
|
6038
|
-
*
|
|
5888
|
+
* 透出用户维度的历史评估结果统计
|
|
6039
5889
|
* @returns ListConfigRuleEvaluationStatisticsResponse
|
|
6040
5890
|
*/
|
|
6041
5891
|
async listConfigRuleEvaluationStatistics() {
|
|
@@ -6043,7 +5893,7 @@ class Client extends openapi_core_1.default {
|
|
|
6043
5893
|
return await this.listConfigRuleEvaluationStatisticsWithOptions(runtime);
|
|
6044
5894
|
}
|
|
6045
5895
|
/**
|
|
6046
|
-
*
|
|
5896
|
+
* Lists the operators available for Cloud Config rules.
|
|
6047
5897
|
*
|
|
6048
5898
|
* @param request - ListConfigRuleOperatorsRequest
|
|
6049
5899
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6065,7 +5915,7 @@ class Client extends openapi_core_1.default {
|
|
|
6065
5915
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConfigRuleOperatorsResponse({}));
|
|
6066
5916
|
}
|
|
6067
5917
|
/**
|
|
6068
|
-
*
|
|
5918
|
+
* Lists the operators available for Cloud Config rules.
|
|
6069
5919
|
* @returns ListConfigRuleOperatorsResponse
|
|
6070
5920
|
*/
|
|
6071
5921
|
async listConfigRuleOperators() {
|
|
@@ -6073,10 +5923,10 @@ class Client extends openapi_core_1.default {
|
|
|
6073
5923
|
return await this.listConfigRuleOperatorsWithOptions(runtime);
|
|
6074
5924
|
}
|
|
6075
5925
|
/**
|
|
6076
|
-
* Queries
|
|
5926
|
+
* Queries a list of rules.
|
|
6077
5927
|
*
|
|
6078
5928
|
* @remarks
|
|
6079
|
-
* This topic provides an example
|
|
5929
|
+
* This topic provides an example of how to query the list of rules for the current account. The sample response indicates that the rule list contains one rule, three resources are evaluated, and the compliance result is COMPLIANT.
|
|
6080
5930
|
*
|
|
6081
5931
|
* @param tmpReq - ListConfigRulesRequest
|
|
6082
5932
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6140,10 +5990,10 @@ class Client extends openapi_core_1.default {
|
|
|
6140
5990
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConfigRulesResponse({}));
|
|
6141
5991
|
}
|
|
6142
5992
|
/**
|
|
6143
|
-
* Queries
|
|
5993
|
+
* Queries a list of rules.
|
|
6144
5994
|
*
|
|
6145
5995
|
* @remarks
|
|
6146
|
-
* This topic provides an example
|
|
5996
|
+
* This topic provides an example of how to query the list of rules for the current account. The sample response indicates that the rule list contains one rule, three resources are evaluated, and the compliance result is COMPLIANT.
|
|
6147
5997
|
*
|
|
6148
5998
|
* @param request - ListConfigRulesRequest
|
|
6149
5999
|
* @returns ListConfigRulesResponse
|
|
@@ -6153,10 +6003,13 @@ class Client extends openapi_core_1.default {
|
|
|
6153
6003
|
return await this.listConfigRulesWithOptions(request, runtime);
|
|
6154
6004
|
}
|
|
6155
6005
|
/**
|
|
6156
|
-
*
|
|
6006
|
+
* Queries a list of resources that are aggregated across regions in the current Alibaba Cloud account.
|
|
6157
6007
|
*
|
|
6158
6008
|
* @remarks
|
|
6159
|
-
*
|
|
6009
|
+
* ### Limits
|
|
6010
|
+
* Cloud Config supports only specific Alibaba Cloud services and resource types. The returned resource list includes only these supported resources. For more information about supported services and resource types, see [Supported resource types and resource relationships](https://help.aliyun.com/document_detail/127411.html).
|
|
6011
|
+
* ### Usage notes
|
|
6012
|
+
* This topic provides an example of how to query the resources in your account. The sample response shows that eight resources are returned.
|
|
6160
6013
|
*
|
|
6161
6014
|
* @param request - ListDiscoveredResourcesRequest
|
|
6162
6015
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6212,10 +6065,13 @@ class Client extends openapi_core_1.default {
|
|
|
6212
6065
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDiscoveredResourcesResponse({}));
|
|
6213
6066
|
}
|
|
6214
6067
|
/**
|
|
6215
|
-
*
|
|
6068
|
+
* Queries a list of resources that are aggregated across regions in the current Alibaba Cloud account.
|
|
6216
6069
|
*
|
|
6217
6070
|
* @remarks
|
|
6218
|
-
*
|
|
6071
|
+
* ### Limits
|
|
6072
|
+
* Cloud Config supports only specific Alibaba Cloud services and resource types. The returned resource list includes only these supported resources. For more information about supported services and resource types, see [Supported resource types and resource relationships](https://help.aliyun.com/document_detail/127411.html).
|
|
6073
|
+
* ### Usage notes
|
|
6074
|
+
* This topic provides an example of how to query the resources in your account. The sample response shows that eight resources are returned.
|
|
6219
6075
|
*
|
|
6220
6076
|
* @param request - ListDiscoveredResourcesRequest
|
|
6221
6077
|
* @returns ListDiscoveredResourcesResponse
|
|
@@ -6225,10 +6081,7 @@ class Client extends openapi_core_1.default {
|
|
|
6225
6081
|
return await this.listDiscoveredResourcesWithOptions(request, runtime);
|
|
6226
6082
|
}
|
|
6227
6083
|
/**
|
|
6228
|
-
* Queries
|
|
6229
|
-
*
|
|
6230
|
-
* @remarks
|
|
6231
|
-
* This topic provides an example on how to query the cloud services that can be integrated by the current Alibaba Cloud account.
|
|
6084
|
+
* Queries the services integrated with CloudConfig and their statuses.
|
|
6232
6085
|
*
|
|
6233
6086
|
* @param request - ListIntegratedServiceRequest
|
|
6234
6087
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6250,10 +6103,7 @@ class Client extends openapi_core_1.default {
|
|
|
6250
6103
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListIntegratedServiceResponse({}));
|
|
6251
6104
|
}
|
|
6252
6105
|
/**
|
|
6253
|
-
* Queries
|
|
6254
|
-
*
|
|
6255
|
-
* @remarks
|
|
6256
|
-
* This topic provides an example on how to query the cloud services that can be integrated by the current Alibaba Cloud account.
|
|
6106
|
+
* Queries the services integrated with CloudConfig and their statuses.
|
|
6257
6107
|
* @returns ListIntegratedServiceResponse
|
|
6258
6108
|
*/
|
|
6259
6109
|
async listIntegratedService() {
|
|
@@ -6261,13 +6111,13 @@ class Client extends openapi_core_1.default {
|
|
|
6261
6111
|
return await this.listIntegratedServiceWithOptions(runtime);
|
|
6262
6112
|
}
|
|
6263
6113
|
/**
|
|
6264
|
-
* Queries
|
|
6114
|
+
* Queries the rule templates that are supported by Cloud Config.
|
|
6265
6115
|
*
|
|
6266
6116
|
* @remarks
|
|
6267
|
-
* ###
|
|
6268
|
-
* For more information about
|
|
6269
|
-
* ###
|
|
6270
|
-
* This topic provides an example
|
|
6117
|
+
* ### Background information
|
|
6118
|
+
* For more information about rule definitions, working principles, and templates, see [Definition and working principles of rules](https://help.aliyun.com/document_detail/128273.html).
|
|
6119
|
+
* ### Usage notes
|
|
6120
|
+
* This topic provides an example of how to query all rule templates that contain the keyword `CDN`. The sample response shows that a total of 21 rule templates are returned.
|
|
6271
6121
|
*
|
|
6272
6122
|
* @param request - ListManagedRulesRequest
|
|
6273
6123
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6311,13 +6161,13 @@ class Client extends openapi_core_1.default {
|
|
|
6311
6161
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListManagedRulesResponse({}));
|
|
6312
6162
|
}
|
|
6313
6163
|
/**
|
|
6314
|
-
* Queries
|
|
6164
|
+
* Queries the rule templates that are supported by Cloud Config.
|
|
6315
6165
|
*
|
|
6316
6166
|
* @remarks
|
|
6317
|
-
* ###
|
|
6318
|
-
* For more information about
|
|
6319
|
-
* ###
|
|
6320
|
-
* This topic provides an example
|
|
6167
|
+
* ### Background information
|
|
6168
|
+
* For more information about rule definitions, working principles, and templates, see [Definition and working principles of rules](https://help.aliyun.com/document_detail/128273.html).
|
|
6169
|
+
* ### Usage notes
|
|
6170
|
+
* This topic provides an example of how to query all rule templates that contain the keyword `CDN`. The sample response shows that a total of 21 rule templates are returned.
|
|
6321
6171
|
*
|
|
6322
6172
|
* @param request - ListManagedRulesRequest
|
|
6323
6173
|
* @returns ListManagedRulesResponse
|
|
@@ -6327,11 +6177,11 @@ class Client extends openapi_core_1.default {
|
|
|
6327
6177
|
return await this.listManagedRulesWithOptions(request, runtime);
|
|
6328
6178
|
}
|
|
6329
6179
|
/**
|
|
6330
|
-
* Queries
|
|
6180
|
+
* Queries the proactive rules supported by Cloud Config.
|
|
6331
6181
|
*
|
|
6332
6182
|
* @remarks
|
|
6333
|
-
* For more information about
|
|
6334
|
-
*
|
|
6183
|
+
* For more information about the concepts, working principles, and integration procedure of proactive rules, see [Definitions and working principles of proactive rules](https://help.aliyun.com/document_detail/470802.html).
|
|
6184
|
+
* Proactive rules and rule templates originate from the same source rules. After you create resources, proactive rules continuously check your resources for compliance.
|
|
6335
6185
|
*
|
|
6336
6186
|
* @param tmpReq - ListPreManagedRulesRequest
|
|
6337
6187
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6371,11 +6221,11 @@ class Client extends openapi_core_1.default {
|
|
|
6371
6221
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPreManagedRulesResponse({}));
|
|
6372
6222
|
}
|
|
6373
6223
|
/**
|
|
6374
|
-
* Queries
|
|
6224
|
+
* Queries the proactive rules supported by Cloud Config.
|
|
6375
6225
|
*
|
|
6376
6226
|
* @remarks
|
|
6377
|
-
* For more information about
|
|
6378
|
-
*
|
|
6227
|
+
* For more information about the concepts, working principles, and integration procedure of proactive rules, see [Definitions and working principles of proactive rules](https://help.aliyun.com/document_detail/470802.html).
|
|
6228
|
+
* Proactive rules and rule templates originate from the same source rules. After you create resources, proactive rules continuously check your resources for compliance.
|
|
6379
6229
|
*
|
|
6380
6230
|
* @param request - ListPreManagedRulesRequest
|
|
6381
6231
|
* @returns ListPreManagedRulesResponse
|
|
@@ -6385,7 +6235,7 @@ class Client extends openapi_core_1.default {
|
|
|
6385
6235
|
return await this.listPreManagedRulesWithOptions(request, runtime);
|
|
6386
6236
|
}
|
|
6387
6237
|
/**
|
|
6388
|
-
*
|
|
6238
|
+
* This operation obtains a list of recommended managed rules.
|
|
6389
6239
|
*
|
|
6390
6240
|
* @param request - ListRecommendManagedRulesRequest
|
|
6391
6241
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6438,7 +6288,7 @@ class Client extends openapi_core_1.default {
|
|
|
6438
6288
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListRecommendManagedRulesResponse({}));
|
|
6439
6289
|
}
|
|
6440
6290
|
/**
|
|
6441
|
-
*
|
|
6291
|
+
* This operation obtains a list of recommended managed rules.
|
|
6442
6292
|
*
|
|
6443
6293
|
* @param request - ListRecommendManagedRulesRequest
|
|
6444
6294
|
* @returns ListRecommendManagedRulesResponse
|
|
@@ -6448,10 +6298,7 @@ class Client extends openapi_core_1.default {
|
|
|
6448
6298
|
return await this.listRecommendManagedRulesWithOptions(request, runtime);
|
|
6449
6299
|
}
|
|
6450
6300
|
/**
|
|
6451
|
-
*
|
|
6452
|
-
*
|
|
6453
|
-
* @remarks
|
|
6454
|
-
* This topic provides an example on how to query the remediation records of the rule cr-5392626622af0000\\*\\*\\*\\*.
|
|
6301
|
+
* 修正执行历史
|
|
6455
6302
|
*
|
|
6456
6303
|
* @param request - ListRemediationExecutionsRequest
|
|
6457
6304
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6489,10 +6336,7 @@ class Client extends openapi_core_1.default {
|
|
|
6489
6336
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListRemediationExecutionsResponse({}));
|
|
6490
6337
|
}
|
|
6491
6338
|
/**
|
|
6492
|
-
*
|
|
6493
|
-
*
|
|
6494
|
-
* @remarks
|
|
6495
|
-
* This topic provides an example on how to query the remediation records of the rule cr-5392626622af0000\\*\\*\\*\\*.
|
|
6339
|
+
* 修正执行历史
|
|
6496
6340
|
*
|
|
6497
6341
|
* @param request - ListRemediationExecutionsRequest
|
|
6498
6342
|
* @returns ListRemediationExecutionsResponse
|
|
@@ -6502,10 +6346,7 @@ class Client extends openapi_core_1.default {
|
|
|
6502
6346
|
return await this.listRemediationExecutionsWithOptions(request, runtime);
|
|
6503
6347
|
}
|
|
6504
6348
|
/**
|
|
6505
|
-
*
|
|
6506
|
-
*
|
|
6507
|
-
* @remarks
|
|
6508
|
-
* In this topic, the `oss-bucket-public-write-prohibited` managed rule is used as an example. The return result shows the details of the remediation template of the `OOS` type for the managed rule. OOS represents Operation Orchestration Service.
|
|
6349
|
+
* 修正模版列表
|
|
6509
6350
|
*
|
|
6510
6351
|
* @param request - ListRemediationTemplatesRequest
|
|
6511
6352
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6543,10 +6384,7 @@ class Client extends openapi_core_1.default {
|
|
|
6543
6384
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListRemediationTemplatesResponse({}));
|
|
6544
6385
|
}
|
|
6545
6386
|
/**
|
|
6546
|
-
*
|
|
6547
|
-
*
|
|
6548
|
-
* @remarks
|
|
6549
|
-
* In this topic, the `oss-bucket-public-write-prohibited` managed rule is used as an example. The return result shows the details of the remediation template of the `OOS` type for the managed rule. OOS represents Operation Orchestration Service.
|
|
6387
|
+
* 修正模版列表
|
|
6550
6388
|
*
|
|
6551
6389
|
* @param request - ListRemediationTemplatesRequest
|
|
6552
6390
|
* @returns ListRemediationTemplatesResponse
|
|
@@ -6556,10 +6394,7 @@ class Client extends openapi_core_1.default {
|
|
|
6556
6394
|
return await this.listRemediationTemplatesWithOptions(request, runtime);
|
|
6557
6395
|
}
|
|
6558
6396
|
/**
|
|
6559
|
-
*
|
|
6560
|
-
*
|
|
6561
|
-
* @remarks
|
|
6562
|
-
* This topic provides an example on how to query the remediation templates for the rule whose ID is `cr-6b7c626622af00b4****`.
|
|
6397
|
+
* 查询规则的修正
|
|
6563
6398
|
*
|
|
6564
6399
|
* @param request - ListRemediationsRequest
|
|
6565
6400
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6594,10 +6429,7 @@ class Client extends openapi_core_1.default {
|
|
|
6594
6429
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListRemediationsResponse({}));
|
|
6595
6430
|
}
|
|
6596
6431
|
/**
|
|
6597
|
-
*
|
|
6598
|
-
*
|
|
6599
|
-
* @remarks
|
|
6600
|
-
* This topic provides an example on how to query the remediation templates for the rule whose ID is `cr-6b7c626622af00b4****`.
|
|
6432
|
+
* 查询规则的修正
|
|
6601
6433
|
*
|
|
6602
6434
|
* @param request - ListRemediationsRequest
|
|
6603
6435
|
* @returns ListRemediationsResponse
|
|
@@ -6607,7 +6439,7 @@ class Client extends openapi_core_1.default {
|
|
|
6607
6439
|
return await this.listRemediationsWithOptions(request, runtime);
|
|
6608
6440
|
}
|
|
6609
6441
|
/**
|
|
6610
|
-
*
|
|
6442
|
+
* Queries the details of compliance report templates in batches.
|
|
6611
6443
|
*
|
|
6612
6444
|
* @param request - ListReportTemplatesRequest
|
|
6613
6445
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6642,7 +6474,7 @@ class Client extends openapi_core_1.default {
|
|
|
6642
6474
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListReportTemplatesResponse({}));
|
|
6643
6475
|
}
|
|
6644
6476
|
/**
|
|
6645
|
-
*
|
|
6477
|
+
* Queries the details of compliance report templates in batches.
|
|
6646
6478
|
*
|
|
6647
6479
|
* @param request - ListReportTemplatesRequest
|
|
6648
6480
|
* @returns ListReportTemplatesResponse
|
|
@@ -6652,10 +6484,7 @@ class Client extends openapi_core_1.default {
|
|
|
6652
6484
|
return await this.listReportTemplatesWithOptions(request, runtime);
|
|
6653
6485
|
}
|
|
6654
6486
|
/**
|
|
6655
|
-
* Queries the
|
|
6656
|
-
*
|
|
6657
|
-
* @remarks
|
|
6658
|
-
* In this example, the compliance evaluation result of the `23642660635396****` resource is queried and the resource is a RAM user. The returned result indicates that the resource is evaluated as `NON_COMPLIANT` by using the `cr-7f7d626622af0041****` rule.
|
|
6487
|
+
* Queries the evaluation results for a resource based on a rule.
|
|
6659
6488
|
*
|
|
6660
6489
|
* @param request - ListResourceEvaluationResultsRequest
|
|
6661
6490
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6705,10 +6534,7 @@ class Client extends openapi_core_1.default {
|
|
|
6705
6534
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListResourceEvaluationResultsResponse({}));
|
|
6706
6535
|
}
|
|
6707
6536
|
/**
|
|
6708
|
-
* Queries the
|
|
6709
|
-
*
|
|
6710
|
-
* @remarks
|
|
6711
|
-
* In this example, the compliance evaluation result of the `23642660635396****` resource is queried and the resource is a RAM user. The returned result indicates that the resource is evaluated as `NON_COMPLIANT` by using the `cr-7f7d626622af0041****` rule.
|
|
6537
|
+
* Queries the evaluation results for a resource based on a rule.
|
|
6712
6538
|
*
|
|
6713
6539
|
* @param request - ListResourceEvaluationResultsRequest
|
|
6714
6540
|
* @returns ListResourceEvaluationResultsResponse
|
|
@@ -6718,11 +6544,7 @@ class Client extends openapi_core_1.default {
|
|
|
6718
6544
|
return await this.listResourceEvaluationResultsWithOptions(request, runtime);
|
|
6719
6545
|
}
|
|
6720
6546
|
/**
|
|
6721
|
-
*
|
|
6722
|
-
*
|
|
6723
|
-
* @remarks
|
|
6724
|
-
* For information about the Alibaba Cloud services and resource types supported by Cloud Config, see [Alibaba Cloud services and resource types supported by Cloud Config](https://help.aliyun.com/document_detail/127411.html).
|
|
6725
|
-
* This topic provides an example on how to query the information about the disks that are attached to an Elastic Compute Service (ECS) instance named `i-j6cajg9yrfoh4sas****` that is created by the current Alibaba Cloud account in the China (Shanghai) region.
|
|
6547
|
+
* 获取资源关系列表
|
|
6726
6548
|
*
|
|
6727
6549
|
* @param request - ListResourceRelationsRequest
|
|
6728
6550
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6772,11 +6594,7 @@ class Client extends openapi_core_1.default {
|
|
|
6772
6594
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListResourceRelationsResponse({}));
|
|
6773
6595
|
}
|
|
6774
6596
|
/**
|
|
6775
|
-
*
|
|
6776
|
-
*
|
|
6777
|
-
* @remarks
|
|
6778
|
-
* For information about the Alibaba Cloud services and resource types supported by Cloud Config, see [Alibaba Cloud services and resource types supported by Cloud Config](https://help.aliyun.com/document_detail/127411.html).
|
|
6779
|
-
* This topic provides an example on how to query the information about the disks that are attached to an Elastic Compute Service (ECS) instance named `i-j6cajg9yrfoh4sas****` that is created by the current Alibaba Cloud account in the China (Shanghai) region.
|
|
6597
|
+
* 获取资源关系列表
|
|
6780
6598
|
*
|
|
6781
6599
|
* @param request - ListResourceRelationsRequest
|
|
6782
6600
|
* @returns ListResourceRelationsResponse
|
|
@@ -6786,14 +6604,7 @@ class Client extends openapi_core_1.default {
|
|
|
6786
6604
|
return await this.listResourceRelationsWithOptions(request, runtime);
|
|
6787
6605
|
}
|
|
6788
6606
|
/**
|
|
6789
|
-
*
|
|
6790
|
-
*
|
|
6791
|
-
* @remarks
|
|
6792
|
-
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema](https://github.com/aliyun/alibabacloud-config-resource-schema).
|
|
6793
|
-
* >
|
|
6794
|
-
* * Each resource type supported by Cloud Config has a property file. Property files are named based on the related resource types. For example, the property file of the `ACS::ECS::Instance` resource type is named `ACS_ECS_Instance.properties.json`. Property files of different resource types are placed under the `config/properties/resource-types` path.
|
|
6795
|
-
* * For more information about the examples and limits on SQL query statements, see [Examples of SQL query statements](https://help.aliyun.com/document_detail/398718.html) and [Limits on SQL query statements](https://help.aliyun.com/document_detail/398750.html).
|
|
6796
|
-
* This topic provides an example on how to obtain all resources whose tag key is `business` and whose tag value is `online` within the current account by using the advanced search feature.
|
|
6607
|
+
* 资源列表高级搜索接口
|
|
6797
6608
|
*
|
|
6798
6609
|
* @param request - ListResourcesByAdvancedSearchRequest
|
|
6799
6610
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6822,14 +6633,7 @@ class Client extends openapi_core_1.default {
|
|
|
6822
6633
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListResourcesByAdvancedSearchResponse({}));
|
|
6823
6634
|
}
|
|
6824
6635
|
/**
|
|
6825
|
-
*
|
|
6826
|
-
*
|
|
6827
|
-
* @remarks
|
|
6828
|
-
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema](https://github.com/aliyun/alibabacloud-config-resource-schema).
|
|
6829
|
-
* >
|
|
6830
|
-
* * Each resource type supported by Cloud Config has a property file. Property files are named based on the related resource types. For example, the property file of the `ACS::ECS::Instance` resource type is named `ACS_ECS_Instance.properties.json`. Property files of different resource types are placed under the `config/properties/resource-types` path.
|
|
6831
|
-
* * For more information about the examples and limits on SQL query statements, see [Examples of SQL query statements](https://help.aliyun.com/document_detail/398718.html) and [Limits on SQL query statements](https://help.aliyun.com/document_detail/398750.html).
|
|
6832
|
-
* This topic provides an example on how to obtain all resources whose tag key is `business` and whose tag value is `online` within the current account by using the advanced search feature.
|
|
6636
|
+
* 资源列表高级搜索接口
|
|
6833
6637
|
*
|
|
6834
6638
|
* @param request - ListResourcesByAdvancedSearchRequest
|
|
6835
6639
|
* @returns ListResourcesByAdvancedSearchResponse
|
|
@@ -6887,7 +6691,7 @@ class Client extends openapi_core_1.default {
|
|
|
6887
6691
|
return await this.listSupportedProductsWithOptions(request, runtime);
|
|
6888
6692
|
}
|
|
6889
6693
|
/**
|
|
6890
|
-
* Queries tags
|
|
6694
|
+
* Queries the tags attached to resources in Cloud Config.
|
|
6891
6695
|
*
|
|
6892
6696
|
* @param tmpReq - ListTagResourcesRequest
|
|
6893
6697
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6933,7 +6737,7 @@ class Client extends openapi_core_1.default {
|
|
|
6933
6737
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTagResourcesResponse({}));
|
|
6934
6738
|
}
|
|
6935
6739
|
/**
|
|
6936
|
-
* Queries tags
|
|
6740
|
+
* Queries the tags attached to resources in Cloud Config.
|
|
6937
6741
|
*
|
|
6938
6742
|
* @param request - ListTagResourcesRequest
|
|
6939
6743
|
* @returns ListTagResourcesResponse
|
|
@@ -6943,10 +6747,7 @@ class Client extends openapi_core_1.default {
|
|
|
6943
6747
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
6944
6748
|
}
|
|
6945
6749
|
/**
|
|
6946
|
-
*
|
|
6947
|
-
*
|
|
6948
|
-
* @remarks
|
|
6949
|
-
* For more information about the definition, use scenarios, and execution of custom function rules, see [Definition and execution of custom function rules](https://help.aliyun.com/document_detail/127405.html).
|
|
6750
|
+
* 自定义规则评估结果回调
|
|
6950
6751
|
*
|
|
6951
6752
|
* @param request - PutEvaluationsRequest
|
|
6952
6753
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6981,10 +6782,7 @@ class Client extends openapi_core_1.default {
|
|
|
6981
6782
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PutEvaluationsResponse({}));
|
|
6982
6783
|
}
|
|
6983
6784
|
/**
|
|
6984
|
-
*
|
|
6985
|
-
*
|
|
6986
|
-
* @remarks
|
|
6987
|
-
* For more information about the definition, use scenarios, and execution of custom function rules, see [Definition and execution of custom function rules](https://help.aliyun.com/document_detail/127405.html).
|
|
6785
|
+
* 自定义规则评估结果回调
|
|
6988
6786
|
*
|
|
6989
6787
|
* @param request - PutEvaluationsRequest
|
|
6990
6788
|
* @returns PutEvaluationsResponse
|
|
@@ -6994,13 +6792,7 @@ class Client extends openapi_core_1.default {
|
|
|
6994
6792
|
return await this.putEvaluationsWithOptions(request, runtime);
|
|
6995
6793
|
}
|
|
6996
6794
|
/**
|
|
6997
|
-
*
|
|
6998
|
-
*
|
|
6999
|
-
* @remarks
|
|
7000
|
-
* ### [](#)Prerequisites
|
|
7001
|
-
* One or more non-compliant resources that are evaluated by a rule are ignored. For more information, see [IgnoreAggregateEvaluationResults](https://help.aliyun.com/document_detail/607054.html).
|
|
7002
|
-
* ### [](#)Description
|
|
7003
|
-
* This topic provides an example on how to re-evaluate the non-compliant resource that is evaluated by the `cr-7e72626622af0051****` rule of the `120886317861****` member in the `ca-5b6c626622af008f****` group account. The ID of the region in which the resource resides is `cn-beijing`, the type of the resource is `ACS::SLB::LoadBalancer`, and the ID of the resource is `lb-hp3a3b4ztyfm2plgm****`.
|
|
6795
|
+
* 取消评估结果的忽略状态
|
|
7004
6796
|
*
|
|
7005
6797
|
* @param tmpReq - RevertAggregateEvaluationResultsRequest
|
|
7006
6798
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7040,13 +6832,7 @@ class Client extends openapi_core_1.default {
|
|
|
7040
6832
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RevertAggregateEvaluationResultsResponse({}));
|
|
7041
6833
|
}
|
|
7042
6834
|
/**
|
|
7043
|
-
*
|
|
7044
|
-
*
|
|
7045
|
-
* @remarks
|
|
7046
|
-
* ### [](#)Prerequisites
|
|
7047
|
-
* One or more non-compliant resources that are evaluated by a rule are ignored. For more information, see [IgnoreAggregateEvaluationResults](https://help.aliyun.com/document_detail/607054.html).
|
|
7048
|
-
* ### [](#)Description
|
|
7049
|
-
* This topic provides an example on how to re-evaluate the non-compliant resource that is evaluated by the `cr-7e72626622af0051****` rule of the `120886317861****` member in the `ca-5b6c626622af008f****` group account. The ID of the region in which the resource resides is `cn-beijing`, the type of the resource is `ACS::SLB::LoadBalancer`, and the ID of the resource is `lb-hp3a3b4ztyfm2plgm****`.
|
|
6835
|
+
* 取消评估结果的忽略状态
|
|
7050
6836
|
*
|
|
7051
6837
|
* @param request - RevertAggregateEvaluationResultsRequest
|
|
7052
6838
|
* @returns RevertAggregateEvaluationResultsResponse
|
|
@@ -7056,13 +6842,7 @@ class Client extends openapi_core_1.default {
|
|
|
7056
6842
|
return await this.revertAggregateEvaluationResultsWithOptions(request, runtime);
|
|
7057
6843
|
}
|
|
7058
6844
|
/**
|
|
7059
|
-
*
|
|
7060
|
-
*
|
|
7061
|
-
* @remarks
|
|
7062
|
-
* ### [](#)Prerequisites
|
|
7063
|
-
* One or more non-compliant resources that are evaluated by a rule are ignored. For more information, see [IgnoreEvaluationResults](https://help.aliyun.com/document_detail/606990.html).
|
|
7064
|
-
* ### [](#)Description
|
|
7065
|
-
* This topic provides an example on how to re-evaluate the `lb-hp3a3b4ztyfm2plgm****` non-compliant resource that is evaluated by the `cr-7e72626622af0051****` rule. The ID of the region in which the resource resides is`cn-beijing`, the type of the resource is `ACS::SLB::LoadBalancer`, and the ID of the resource is `lb-hp3a3b4ztyfm2plgm****`.
|
|
6845
|
+
* 恢复已忽略的某条规则对某些资源的评估结果后,继续显示该规则对资源的评估结果
|
|
7066
6846
|
*
|
|
7067
6847
|
* @param tmpReq - RevertEvaluationResultsRequest
|
|
7068
6848
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7099,13 +6879,7 @@ class Client extends openapi_core_1.default {
|
|
|
7099
6879
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RevertEvaluationResultsResponse({}));
|
|
7100
6880
|
}
|
|
7101
6881
|
/**
|
|
7102
|
-
*
|
|
7103
|
-
*
|
|
7104
|
-
* @remarks
|
|
7105
|
-
* ### [](#)Prerequisites
|
|
7106
|
-
* One or more non-compliant resources that are evaluated by a rule are ignored. For more information, see [IgnoreEvaluationResults](https://help.aliyun.com/document_detail/606990.html).
|
|
7107
|
-
* ### [](#)Description
|
|
7108
|
-
* This topic provides an example on how to re-evaluate the `lb-hp3a3b4ztyfm2plgm****` non-compliant resource that is evaluated by the `cr-7e72626622af0051****` rule. The ID of the region in which the resource resides is`cn-beijing`, the type of the resource is `ACS::SLB::LoadBalancer`, and the ID of the resource is `lb-hp3a3b4ztyfm2plgm****`.
|
|
6882
|
+
* 恢复已忽略的某条规则对某些资源的评估结果后,继续显示该规则对资源的评估结果
|
|
7109
6883
|
*
|
|
7110
6884
|
* @param request - RevertEvaluationResultsRequest
|
|
7111
6885
|
* @returns RevertEvaluationResultsResponse
|
|
@@ -7115,11 +6889,7 @@ class Client extends openapi_core_1.default {
|
|
|
7115
6889
|
return await this.revertEvaluationResultsWithOptions(request, runtime);
|
|
7116
6890
|
}
|
|
7117
6891
|
/**
|
|
7118
|
-
*
|
|
7119
|
-
*
|
|
7120
|
-
* @remarks
|
|
7121
|
-
* > After you call this operation, the compliance evaluation is performed only once. To query the compliance evaluation results returned by the rule, call the ListAggregateConfigRuleEvaluationResults operation. For more information, see [ListAggregateConfigRuleEvaluationResults](https://help.aliyun.com/document_detail/265979.html).
|
|
7122
|
-
* The sample request in this topic shows how to use the `cr-c169626622af009f****` rule in the `ca-3a58626622af0005****` account group to evaluate resources.
|
|
6892
|
+
* 重新审计指定账号组内的某条规则或某个合规包中的所有规则
|
|
7123
6893
|
*
|
|
7124
6894
|
* @param request - StartAggregateConfigRuleEvaluationRequest
|
|
7125
6895
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7157,11 +6927,7 @@ class Client extends openapi_core_1.default {
|
|
|
7157
6927
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.StartAggregateConfigRuleEvaluationResponse({}));
|
|
7158
6928
|
}
|
|
7159
6929
|
/**
|
|
7160
|
-
*
|
|
7161
|
-
*
|
|
7162
|
-
* @remarks
|
|
7163
|
-
* > After you call this operation, the compliance evaluation is performed only once. To query the compliance evaluation results returned by the rule, call the ListAggregateConfigRuleEvaluationResults operation. For more information, see [ListAggregateConfigRuleEvaluationResults](https://help.aliyun.com/document_detail/265979.html).
|
|
7164
|
-
* The sample request in this topic shows how to use the `cr-c169626622af009f****` rule in the `ca-3a58626622af0005****` account group to evaluate resources.
|
|
6930
|
+
* 重新审计指定账号组内的某条规则或某个合规包中的所有规则
|
|
7165
6931
|
*
|
|
7166
6932
|
* @param request - StartAggregateConfigRuleEvaluationRequest
|
|
7167
6933
|
* @returns StartAggregateConfigRuleEvaluationResponse
|
|
@@ -7171,10 +6937,10 @@ class Client extends openapi_core_1.default {
|
|
|
7171
6937
|
return await this.startAggregateConfigRuleEvaluationWithOptions(request, runtime);
|
|
7172
6938
|
}
|
|
7173
6939
|
/**
|
|
7174
|
-
*
|
|
6940
|
+
* Manually run remediation for a specified account group rule.
|
|
7175
6941
|
*
|
|
7176
6942
|
* @remarks
|
|
7177
|
-
* This topic
|
|
6943
|
+
* This topic describes how to manually run remediation once for the rule `cr-6b7c626622af00b4****` in the account group `ca-6b4a626622af0012****`. The response indicates that remediation completed successfully.
|
|
7178
6944
|
*
|
|
7179
6945
|
* @param request - StartAggregateRemediationRequest
|
|
7180
6946
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7192,6 +6958,15 @@ class Client extends openapi_core_1.default {
|
|
|
7192
6958
|
if (!$dara.isNull(request.resourceAccountId)) {
|
|
7193
6959
|
query["ResourceAccountId"] = request.resourceAccountId;
|
|
7194
6960
|
}
|
|
6961
|
+
if (!$dara.isNull(request.resourceId)) {
|
|
6962
|
+
query["ResourceId"] = request.resourceId;
|
|
6963
|
+
}
|
|
6964
|
+
if (!$dara.isNull(request.resourceRegionId)) {
|
|
6965
|
+
query["ResourceRegionId"] = request.resourceRegionId;
|
|
6966
|
+
}
|
|
6967
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
6968
|
+
query["ResourceType"] = request.resourceType;
|
|
6969
|
+
}
|
|
7195
6970
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7196
6971
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
7197
6972
|
});
|
|
@@ -7209,10 +6984,10 @@ class Client extends openapi_core_1.default {
|
|
|
7209
6984
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.StartAggregateRemediationResponse({}));
|
|
7210
6985
|
}
|
|
7211
6986
|
/**
|
|
7212
|
-
*
|
|
6987
|
+
* Manually run remediation for a specified account group rule.
|
|
7213
6988
|
*
|
|
7214
6989
|
* @remarks
|
|
7215
|
-
* This topic
|
|
6990
|
+
* This topic describes how to manually run remediation once for the rule `cr-6b7c626622af00b4****` in the account group `ca-6b4a626622af0012****`. The response indicates that remediation completed successfully.
|
|
7216
6991
|
*
|
|
7217
6992
|
* @param request - StartAggregateRemediationRequest
|
|
7218
6993
|
* @returns StartAggregateRemediationResponse
|
|
@@ -7222,10 +6997,10 @@ class Client extends openapi_core_1.default {
|
|
|
7222
6997
|
return await this.startAggregateRemediationWithOptions(request, runtime);
|
|
7223
6998
|
}
|
|
7224
6999
|
/**
|
|
7225
|
-
* Re-evaluates
|
|
7000
|
+
* Re-evaluates a specific rule or all rules in a compliance package.
|
|
7226
7001
|
*
|
|
7227
7002
|
* @remarks
|
|
7228
|
-
*
|
|
7003
|
+
* This topic provides an example of how to re-evaluate the rule cr-9920626622af0035\\*\\*\\*\\*.
|
|
7229
7004
|
*
|
|
7230
7005
|
* @param request - StartConfigRuleEvaluationRequest
|
|
7231
7006
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7260,10 +7035,10 @@ class Client extends openapi_core_1.default {
|
|
|
7260
7035
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.StartConfigRuleEvaluationResponse({}));
|
|
7261
7036
|
}
|
|
7262
7037
|
/**
|
|
7263
|
-
* Re-evaluates
|
|
7038
|
+
* Re-evaluates a specific rule or all rules in a compliance package.
|
|
7264
7039
|
*
|
|
7265
7040
|
* @remarks
|
|
7266
|
-
*
|
|
7041
|
+
* This topic provides an example of how to re-evaluate the rule cr-9920626622af0035\\*\\*\\*\\*.
|
|
7267
7042
|
*
|
|
7268
7043
|
* @param request - StartConfigRuleEvaluationRequest
|
|
7269
7044
|
* @returns StartConfigRuleEvaluationResponse
|
|
@@ -7273,7 +7048,7 @@ class Client extends openapi_core_1.default {
|
|
|
7273
7048
|
return await this.startConfigRuleEvaluationWithOptions(request, runtime);
|
|
7274
7049
|
}
|
|
7275
7050
|
/**
|
|
7276
|
-
*
|
|
7051
|
+
* Starts a re-evaluation of a single resource.
|
|
7277
7052
|
*
|
|
7278
7053
|
* @param request - StartConfigRuleEvaluationByResourceRequest
|
|
7279
7054
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7302,7 +7077,7 @@ class Client extends openapi_core_1.default {
|
|
|
7302
7077
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.StartConfigRuleEvaluationByResourceResponse({}));
|
|
7303
7078
|
}
|
|
7304
7079
|
/**
|
|
7305
|
-
*
|
|
7080
|
+
* Starts a re-evaluation of a single resource.
|
|
7306
7081
|
*
|
|
7307
7082
|
* @param request - StartConfigRuleEvaluationByResourceRequest
|
|
7308
7083
|
* @returns StartConfigRuleEvaluationByResourceResponse
|
|
@@ -7312,10 +7087,7 @@ class Client extends openapi_core_1.default {
|
|
|
7312
7087
|
return await this.startConfigRuleEvaluationByResourceWithOptions(request, runtime);
|
|
7313
7088
|
}
|
|
7314
7089
|
/**
|
|
7315
|
-
*
|
|
7316
|
-
*
|
|
7317
|
-
* @remarks
|
|
7318
|
-
* This topic provides an example on how to enable Cloud Config to monitor the resources of your Alibaba Cloud account.
|
|
7090
|
+
* 启用配置审计服务
|
|
7319
7091
|
*
|
|
7320
7092
|
* @param request - StartConfigurationRecorderRequest
|
|
7321
7093
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7337,10 +7109,7 @@ class Client extends openapi_core_1.default {
|
|
|
7337
7109
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.StartConfigurationRecorderResponse({}));
|
|
7338
7110
|
}
|
|
7339
7111
|
/**
|
|
7340
|
-
*
|
|
7341
|
-
*
|
|
7342
|
-
* @remarks
|
|
7343
|
-
* This topic provides an example on how to enable Cloud Config to monitor the resources of your Alibaba Cloud account.
|
|
7112
|
+
* 启用配置审计服务
|
|
7344
7113
|
* @returns StartConfigurationRecorderResponse
|
|
7345
7114
|
*/
|
|
7346
7115
|
async startConfigurationRecorder() {
|
|
@@ -7348,10 +7117,10 @@ class Client extends openapi_core_1.default {
|
|
|
7348
7117
|
return await this.startConfigurationRecorderWithOptions(runtime);
|
|
7349
7118
|
}
|
|
7350
7119
|
/**
|
|
7351
|
-
*
|
|
7120
|
+
* Manually execute the specified rule remediation.
|
|
7352
7121
|
*
|
|
7353
7122
|
* @remarks
|
|
7354
|
-
* This topic provides an example
|
|
7123
|
+
* This topic provides an example of a manual remediation for rule `cr-8a973ac2e2be00a2****`. The returned result indicates a successful manual remediation.
|
|
7355
7124
|
*
|
|
7356
7125
|
* @param request - StartRemediationRequest
|
|
7357
7126
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7363,6 +7132,15 @@ class Client extends openapi_core_1.default {
|
|
|
7363
7132
|
if (!$dara.isNull(request.configRuleId)) {
|
|
7364
7133
|
query["ConfigRuleId"] = request.configRuleId;
|
|
7365
7134
|
}
|
|
7135
|
+
if (!$dara.isNull(request.resourceId)) {
|
|
7136
|
+
query["ResourceId"] = request.resourceId;
|
|
7137
|
+
}
|
|
7138
|
+
if (!$dara.isNull(request.resourceRegionId)) {
|
|
7139
|
+
query["ResourceRegionId"] = request.resourceRegionId;
|
|
7140
|
+
}
|
|
7141
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
7142
|
+
query["ResourceType"] = request.resourceType;
|
|
7143
|
+
}
|
|
7366
7144
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7367
7145
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
7368
7146
|
});
|
|
@@ -7380,10 +7158,10 @@ class Client extends openapi_core_1.default {
|
|
|
7380
7158
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.StartRemediationResponse({}));
|
|
7381
7159
|
}
|
|
7382
7160
|
/**
|
|
7383
|
-
*
|
|
7161
|
+
* Manually execute the specified rule remediation.
|
|
7384
7162
|
*
|
|
7385
7163
|
* @remarks
|
|
7386
|
-
* This topic provides an example
|
|
7164
|
+
* This topic provides an example of a manual remediation for rule `cr-8a973ac2e2be00a2****`. The returned result indicates a successful manual remediation.
|
|
7387
7165
|
*
|
|
7388
7166
|
* @param request - StartRemediationRequest
|
|
7389
7167
|
* @returns StartRemediationResponse
|
|
@@ -7393,10 +7171,7 @@ class Client extends openapi_core_1.default {
|
|
|
7393
7171
|
return await this.startRemediationWithOptions(request, runtime);
|
|
7394
7172
|
}
|
|
7395
7173
|
/**
|
|
7396
|
-
*
|
|
7397
|
-
*
|
|
7398
|
-
* @remarks
|
|
7399
|
-
* > After you deactivate Cloud Config, the resource configurations, created rules, and compliance evaluation results that are stored in Cloud Config are automatically cleared and cannot be restored. Proceed with caution.
|
|
7174
|
+
* 停用配置审计服务
|
|
7400
7175
|
*
|
|
7401
7176
|
* @param request - StopConfigurationRecorderRequest
|
|
7402
7177
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7418,10 +7193,7 @@ class Client extends openapi_core_1.default {
|
|
|
7418
7193
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.StopConfigurationRecorderResponse({}));
|
|
7419
7194
|
}
|
|
7420
7195
|
/**
|
|
7421
|
-
*
|
|
7422
|
-
*
|
|
7423
|
-
* @remarks
|
|
7424
|
-
* > After you deactivate Cloud Config, the resource configurations, created rules, and compliance evaluation results that are stored in Cloud Config are automatically cleared and cannot be restored. Proceed with caution.
|
|
7196
|
+
* 停用配置审计服务
|
|
7425
7197
|
* @returns StopConfigurationRecorderResponse
|
|
7426
7198
|
*/
|
|
7427
7199
|
async stopConfigurationRecorder() {
|
|
@@ -7429,7 +7201,7 @@ class Client extends openapi_core_1.default {
|
|
|
7429
7201
|
return await this.stopConfigurationRecorderWithOptions(runtime);
|
|
7430
7202
|
}
|
|
7431
7203
|
/**
|
|
7432
|
-
*
|
|
7204
|
+
* Attaches tags to CloudConfig rules, account groups, and compliance packages.
|
|
7433
7205
|
*
|
|
7434
7206
|
* @param tmpReq - TagResourcesRequest
|
|
7435
7207
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7472,7 +7244,7 @@ class Client extends openapi_core_1.default {
|
|
|
7472
7244
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TagResourcesResponse({}));
|
|
7473
7245
|
}
|
|
7474
7246
|
/**
|
|
7475
|
-
*
|
|
7247
|
+
* Attaches tags to CloudConfig rules, account groups, and compliance packages.
|
|
7476
7248
|
*
|
|
7477
7249
|
* @param request - TagResourcesRequest
|
|
7478
7250
|
* @returns TagResourcesResponse
|
|
@@ -7482,7 +7254,7 @@ class Client extends openapi_core_1.default {
|
|
|
7482
7254
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
7483
7255
|
}
|
|
7484
7256
|
/**
|
|
7485
|
-
*
|
|
7257
|
+
* Sends a real-time test notification.
|
|
7486
7258
|
*
|
|
7487
7259
|
* @param request - TriggerReportSendRequest
|
|
7488
7260
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7511,7 +7283,7 @@ class Client extends openapi_core_1.default {
|
|
|
7511
7283
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TriggerReportSendResponse({}));
|
|
7512
7284
|
}
|
|
7513
7285
|
/**
|
|
7514
|
-
*
|
|
7286
|
+
* Sends a real-time test notification.
|
|
7515
7287
|
*
|
|
7516
7288
|
* @param request - TriggerReportSendRequest
|
|
7517
7289
|
* @returns TriggerReportSendResponse
|
|
@@ -7521,7 +7293,7 @@ class Client extends openapi_core_1.default {
|
|
|
7521
7293
|
return await this.triggerReportSendWithOptions(request, runtime);
|
|
7522
7294
|
}
|
|
7523
7295
|
/**
|
|
7524
|
-
*
|
|
7296
|
+
* Detaches tags from resources in Cloud Config.
|
|
7525
7297
|
*
|
|
7526
7298
|
* @param request - UntagResourcesRequest
|
|
7527
7299
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7562,7 +7334,7 @@ class Client extends openapi_core_1.default {
|
|
|
7562
7334
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UntagResourcesResponse({}));
|
|
7563
7335
|
}
|
|
7564
7336
|
/**
|
|
7565
|
-
*
|
|
7337
|
+
* Detaches tags from resources in Cloud Config.
|
|
7566
7338
|
*
|
|
7567
7339
|
* @param request - UntagResourcesRequest
|
|
7568
7340
|
* @returns UntagResourcesResponse
|
|
@@ -7572,10 +7344,10 @@ class Client extends openapi_core_1.default {
|
|
|
7572
7344
|
return await this.untagResourcesWithOptions(request, runtime);
|
|
7573
7345
|
}
|
|
7574
7346
|
/**
|
|
7575
|
-
*
|
|
7347
|
+
* Updates a compliance pack in a specified account group.
|
|
7576
7348
|
*
|
|
7577
7349
|
* @remarks
|
|
7578
|
-
* This topic provides an example
|
|
7350
|
+
* This topic provides an example of how to change the value of a parameter for the `eip-bandwidth-limit` rule template to `20` in the `cp-fdc8626622af00f9****` compliance pack that belongs to the `ca-f632626622af0079****` account group.
|
|
7579
7351
|
*
|
|
7580
7352
|
* @param tmpReq - UpdateAggregateCompliancePackRequest
|
|
7581
7353
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7667,10 +7439,10 @@ class Client extends openapi_core_1.default {
|
|
|
7667
7439
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAggregateCompliancePackResponse({}));
|
|
7668
7440
|
}
|
|
7669
7441
|
/**
|
|
7670
|
-
*
|
|
7442
|
+
* Updates a compliance pack in a specified account group.
|
|
7671
7443
|
*
|
|
7672
7444
|
* @remarks
|
|
7673
|
-
* This topic provides an example
|
|
7445
|
+
* This topic provides an example of how to change the value of a parameter for the `eip-bandwidth-limit` rule template to `20` in the `cp-fdc8626622af00f9****` compliance pack that belongs to the `ca-f632626622af0079****` account group.
|
|
7674
7446
|
*
|
|
7675
7447
|
* @param request - UpdateAggregateCompliancePackRequest
|
|
7676
7448
|
* @returns UpdateAggregateCompliancePackResponse
|
|
@@ -7680,10 +7452,7 @@ class Client extends openapi_core_1.default {
|
|
|
7680
7452
|
return await this.updateAggregateCompliancePackWithOptions(request, runtime);
|
|
7681
7453
|
}
|
|
7682
7454
|
/**
|
|
7683
|
-
*
|
|
7684
|
-
*
|
|
7685
|
-
* @remarks
|
|
7686
|
-
* This topic provides an example on how to disable a delivery channel in an account group. The ID of the account group is `ca-a4e5626622af0079****`, and the ID of the delivery channel is `cdc-8e45ff4e06a3a8****`. The Status parameter is set to `0`. After the delivery channel is disabled, Cloud Config retains the most recent delivery configuration and stops resource data delivery.
|
|
7455
|
+
* 账号组修改投递渠道
|
|
7687
7456
|
*
|
|
7688
7457
|
* @param request - UpdateAggregateConfigDeliveryChannelRequest
|
|
7689
7458
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7751,10 +7520,7 @@ class Client extends openapi_core_1.default {
|
|
|
7751
7520
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAggregateConfigDeliveryChannelResponse({}));
|
|
7752
7521
|
}
|
|
7753
7522
|
/**
|
|
7754
|
-
*
|
|
7755
|
-
*
|
|
7756
|
-
* @remarks
|
|
7757
|
-
* This topic provides an example on how to disable a delivery channel in an account group. The ID of the account group is `ca-a4e5626622af0079****`, and the ID of the delivery channel is `cdc-8e45ff4e06a3a8****`. The Status parameter is set to `0`. After the delivery channel is disabled, Cloud Config retains the most recent delivery configuration and stops resource data delivery.
|
|
7523
|
+
* 账号组修改投递渠道
|
|
7758
7524
|
*
|
|
7759
7525
|
* @param request - UpdateAggregateConfigDeliveryChannelRequest
|
|
7760
7526
|
* @returns UpdateAggregateConfigDeliveryChannelResponse
|
|
@@ -7764,10 +7530,10 @@ class Client extends openapi_core_1.default {
|
|
|
7764
7530
|
return await this.updateAggregateConfigDeliveryChannelWithOptions(request, runtime);
|
|
7765
7531
|
}
|
|
7766
7532
|
/**
|
|
7767
|
-
* Modifies the description, input parameters, and risk level of a rule in a
|
|
7533
|
+
* Modifies the description, input parameters, and risk level of a rule in a specified account group.
|
|
7768
7534
|
*
|
|
7769
7535
|
* @remarks
|
|
7770
|
-
* This topic provides an example
|
|
7536
|
+
* This topic provides an example of how to change the risk level of the rule `cr-4e3d626622af0080****` in the account group `ca-a4e5626622af0079****` to `3` (low risk).
|
|
7771
7537
|
*
|
|
7772
7538
|
* @param tmpReq - UpdateAggregateConfigRuleRequest
|
|
7773
7539
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7800,6 +7566,9 @@ class Client extends openapi_core_1.default {
|
|
|
7800
7566
|
if (!$dara.isNull(request.clientToken)) {
|
|
7801
7567
|
body["ClientToken"] = request.clientToken;
|
|
7802
7568
|
}
|
|
7569
|
+
if (!$dara.isNull(request.conditions)) {
|
|
7570
|
+
body["Conditions"] = request.conditions;
|
|
7571
|
+
}
|
|
7803
7572
|
if (!$dara.isNull(request.configRuleId)) {
|
|
7804
7573
|
body["ConfigRuleId"] = request.configRuleId;
|
|
7805
7574
|
}
|
|
@@ -7889,10 +7658,10 @@ class Client extends openapi_core_1.default {
|
|
|
7889
7658
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAggregateConfigRuleResponse({}));
|
|
7890
7659
|
}
|
|
7891
7660
|
/**
|
|
7892
|
-
* Modifies the description, input parameters, and risk level of a rule in a
|
|
7661
|
+
* Modifies the description, input parameters, and risk level of a rule in a specified account group.
|
|
7893
7662
|
*
|
|
7894
7663
|
* @remarks
|
|
7895
|
-
* This topic provides an example
|
|
7664
|
+
* This topic provides an example of how to change the risk level of the rule `cr-4e3d626622af0080****` in the account group `ca-a4e5626622af0079****` to `3` (low risk).
|
|
7896
7665
|
*
|
|
7897
7666
|
* @param request - UpdateAggregateConfigRuleRequest
|
|
7898
7667
|
* @returns UpdateAggregateConfigRuleResponse
|
|
@@ -7902,10 +7671,10 @@ class Client extends openapi_core_1.default {
|
|
|
7902
7671
|
return await this.updateAggregateConfigRuleWithOptions(request, runtime);
|
|
7903
7672
|
}
|
|
7904
7673
|
/**
|
|
7905
|
-
*
|
|
7674
|
+
* Updates a specified rule remediation.
|
|
7906
7675
|
*
|
|
7907
7676
|
* @remarks
|
|
7908
|
-
* This topic
|
|
7677
|
+
* This topic provides an example of how to change the execution mode of the remediation `crr-909ba2d4716700eb****` to `AUTO_EXECUTION` (automatic execution) for a rule in the account group `ca-6b4a626622af0012****`.
|
|
7909
7678
|
*
|
|
7910
7679
|
* @param request - UpdateAggregateRemediationRequest
|
|
7911
7680
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7952,10 +7721,10 @@ class Client extends openapi_core_1.default {
|
|
|
7952
7721
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAggregateRemediationResponse({}));
|
|
7953
7722
|
}
|
|
7954
7723
|
/**
|
|
7955
|
-
*
|
|
7724
|
+
* Updates a specified rule remediation.
|
|
7956
7725
|
*
|
|
7957
7726
|
* @remarks
|
|
7958
|
-
* This topic
|
|
7727
|
+
* This topic provides an example of how to change the execution mode of the remediation `crr-909ba2d4716700eb****` to `AUTO_EXECUTION` (automatic execution) for a rule in the account group `ca-6b4a626622af0012****`.
|
|
7959
7728
|
*
|
|
7960
7729
|
* @param request - UpdateAggregateRemediationRequest
|
|
7961
7730
|
* @returns UpdateAggregateRemediationResponse
|
|
@@ -7965,10 +7734,10 @@ class Client extends openapi_core_1.default {
|
|
|
7965
7734
|
return await this.updateAggregateRemediationWithOptions(request, runtime);
|
|
7966
7735
|
}
|
|
7967
7736
|
/**
|
|
7968
|
-
* The management account or delegated administrator account of a resource directory can
|
|
7737
|
+
* The management account or a delegated administrator account of a resource directory can modify the name and description of an account group, and add or remove members.
|
|
7969
7738
|
*
|
|
7970
7739
|
* @remarks
|
|
7971
|
-
* This topic provides an example
|
|
7740
|
+
* This topic provides an example of how to add a member to the account group `ca-dacf86d8314e00eb****`. The member has an ID of `173808452267****`, a name of `Tony`, and an account type of `ResourceDirectory`.
|
|
7972
7741
|
*
|
|
7973
7742
|
* @param tmpReq - UpdateAggregatorRequest
|
|
7974
7743
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8025,10 +7794,10 @@ class Client extends openapi_core_1.default {
|
|
|
8025
7794
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAggregatorResponse({}));
|
|
8026
7795
|
}
|
|
8027
7796
|
/**
|
|
8028
|
-
* The management account or delegated administrator account of a resource directory can
|
|
7797
|
+
* The management account or a delegated administrator account of a resource directory can modify the name and description of an account group, and add or remove members.
|
|
8029
7798
|
*
|
|
8030
7799
|
* @remarks
|
|
8031
|
-
* This topic provides an example
|
|
7800
|
+
* This topic provides an example of how to add a member to the account group `ca-dacf86d8314e00eb****`. The member has an ID of `173808452267****`, a name of `Tony`, and an account type of `ResourceDirectory`.
|
|
8032
7801
|
*
|
|
8033
7802
|
* @param request - UpdateAggregatorRequest
|
|
8034
7803
|
* @returns UpdateAggregatorResponse
|
|
@@ -8038,10 +7807,10 @@ class Client extends openapi_core_1.default {
|
|
|
8038
7807
|
return await this.updateAggregatorWithOptions(request, runtime);
|
|
8039
7808
|
}
|
|
8040
7809
|
/**
|
|
8041
|
-
*
|
|
7810
|
+
* Updates the configuration of a specified compliance pack in the current account.
|
|
8042
7811
|
*
|
|
8043
7812
|
* @remarks
|
|
8044
|
-
* This topic provides an example
|
|
7813
|
+
* This topic provides an example of how to change the parameter value for the `eip-bandwidth-limit` rule to `20` in the compliance pack `cp-a8a8626622af0082****`.
|
|
8045
7814
|
*
|
|
8046
7815
|
* @param tmpReq - UpdateCompliancePackRequest
|
|
8047
7816
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8130,10 +7899,10 @@ class Client extends openapi_core_1.default {
|
|
|
8130
7899
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateCompliancePackResponse({}));
|
|
8131
7900
|
}
|
|
8132
7901
|
/**
|
|
8133
|
-
*
|
|
7902
|
+
* Updates the configuration of a specified compliance pack in the current account.
|
|
8134
7903
|
*
|
|
8135
7904
|
* @remarks
|
|
8136
|
-
* This topic provides an example
|
|
7905
|
+
* This topic provides an example of how to change the parameter value for the `eip-bandwidth-limit` rule to `20` in the compliance pack `cp-a8a8626622af0082****`.
|
|
8137
7906
|
*
|
|
8138
7907
|
* @param request - UpdateCompliancePackRequest
|
|
8139
7908
|
* @returns UpdateCompliancePackResponse
|
|
@@ -8143,10 +7912,10 @@ class Client extends openapi_core_1.default {
|
|
|
8143
7912
|
return await this.updateCompliancePackWithOptions(request, runtime);
|
|
8144
7913
|
}
|
|
8145
7914
|
/**
|
|
8146
|
-
*
|
|
7915
|
+
* This operation modifies a delivery channel for the current account.
|
|
8147
7916
|
*
|
|
8148
7917
|
* @remarks
|
|
8149
|
-
*
|
|
7918
|
+
* This topic provides an example of how to change the status of the delivery channel `cdc-8e45ff4e06a3a8****` to `0` (disabled). After you disable the delivery channel, Cloud Config retains the most recent delivery configuration and stops delivering resource data.
|
|
8150
7919
|
*
|
|
8151
7920
|
* @param request - UpdateConfigDeliveryChannelRequest
|
|
8152
7921
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8211,10 +7980,10 @@ class Client extends openapi_core_1.default {
|
|
|
8211
7980
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateConfigDeliveryChannelResponse({}));
|
|
8212
7981
|
}
|
|
8213
7982
|
/**
|
|
8214
|
-
*
|
|
7983
|
+
* This operation modifies a delivery channel for the current account.
|
|
8215
7984
|
*
|
|
8216
7985
|
* @remarks
|
|
8217
|
-
*
|
|
7986
|
+
* This topic provides an example of how to change the status of the delivery channel `cdc-8e45ff4e06a3a8****` to `0` (disabled). After you disable the delivery channel, Cloud Config retains the most recent delivery configuration and stops delivering resource data.
|
|
8218
7987
|
*
|
|
8219
7988
|
* @param request - UpdateConfigDeliveryChannelRequest
|
|
8220
7989
|
* @returns UpdateConfigDeliveryChannelResponse
|
|
@@ -8227,7 +7996,7 @@ class Client extends openapi_core_1.default {
|
|
|
8227
7996
|
* Modifies the description, input parameters, and risk level of a rule.
|
|
8228
7997
|
*
|
|
8229
7998
|
* @remarks
|
|
8230
|
-
* This topic
|
|
7999
|
+
* This topic shows how to change the risk level of rule `cr-a260626622af0005****` to `3`, which indicates low risk.
|
|
8231
8000
|
*
|
|
8232
8001
|
* @param tmpReq - UpdateConfigRuleRequest
|
|
8233
8002
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8254,6 +8023,9 @@ class Client extends openapi_core_1.default {
|
|
|
8254
8023
|
if (!$dara.isNull(request.clientToken)) {
|
|
8255
8024
|
body["ClientToken"] = request.clientToken;
|
|
8256
8025
|
}
|
|
8026
|
+
if (!$dara.isNull(request.conditions)) {
|
|
8027
|
+
body["Conditions"] = request.conditions;
|
|
8028
|
+
}
|
|
8257
8029
|
if (!$dara.isNull(request.configRuleId)) {
|
|
8258
8030
|
body["ConfigRuleId"] = request.configRuleId;
|
|
8259
8031
|
}
|
|
@@ -8340,7 +8112,7 @@ class Client extends openapi_core_1.default {
|
|
|
8340
8112
|
* Modifies the description, input parameters, and risk level of a rule.
|
|
8341
8113
|
*
|
|
8342
8114
|
* @remarks
|
|
8343
|
-
* This topic
|
|
8115
|
+
* This topic shows how to change the risk level of rule `cr-a260626622af0005****` to `3`, which indicates low risk.
|
|
8344
8116
|
*
|
|
8345
8117
|
* @param request - UpdateConfigRuleRequest
|
|
8346
8118
|
* @returns UpdateConfigRuleResponse
|
|
@@ -8350,10 +8122,7 @@ class Client extends openapi_core_1.default {
|
|
|
8350
8122
|
return await this.updateConfigRuleWithOptions(request, runtime);
|
|
8351
8123
|
}
|
|
8352
8124
|
/**
|
|
8353
|
-
*
|
|
8354
|
-
*
|
|
8355
|
-
* @remarks
|
|
8356
|
-
* This topic provides an example on how to change the resource monitoring scope of the current account to ACS::ECS::Instance.
|
|
8125
|
+
* 修改配置审计监控资源范围
|
|
8357
8126
|
*
|
|
8358
8127
|
* @param request - UpdateConfigurationRecorderRequest
|
|
8359
8128
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8382,10 +8151,7 @@ class Client extends openapi_core_1.default {
|
|
|
8382
8151
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateConfigurationRecorderResponse({}));
|
|
8383
8152
|
}
|
|
8384
8153
|
/**
|
|
8385
|
-
*
|
|
8386
|
-
*
|
|
8387
|
-
* @remarks
|
|
8388
|
-
* This topic provides an example on how to change the resource monitoring scope of the current account to ACS::ECS::Instance.
|
|
8154
|
+
* 修改配置审计监控资源范围
|
|
8389
8155
|
*
|
|
8390
8156
|
* @param request - UpdateConfigurationRecorderRequest
|
|
8391
8157
|
* @returns UpdateConfigurationRecorderResponse
|
|
@@ -8395,7 +8161,7 @@ class Client extends openapi_core_1.default {
|
|
|
8395
8161
|
return await this.updateConfigurationRecorderWithOptions(request, runtime);
|
|
8396
8162
|
}
|
|
8397
8163
|
/**
|
|
8398
|
-
*
|
|
8164
|
+
* 修改云产品集成用户状态
|
|
8399
8165
|
*
|
|
8400
8166
|
* @param request - UpdateIntegratedServiceStatusRequest
|
|
8401
8167
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8433,7 +8199,7 @@ class Client extends openapi_core_1.default {
|
|
|
8433
8199
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateIntegratedServiceStatusResponse({}));
|
|
8434
8200
|
}
|
|
8435
8201
|
/**
|
|
8436
|
-
*
|
|
8202
|
+
* 修改云产品集成用户状态
|
|
8437
8203
|
*
|
|
8438
8204
|
* @param request - UpdateIntegratedServiceStatusRequest
|
|
8439
8205
|
* @returns UpdateIntegratedServiceStatusResponse
|
|
@@ -8443,10 +8209,10 @@ class Client extends openapi_core_1.default {
|
|
|
8443
8209
|
return await this.updateIntegratedServiceStatusWithOptions(request, runtime);
|
|
8444
8210
|
}
|
|
8445
8211
|
/**
|
|
8446
|
-
* Updates
|
|
8212
|
+
* Updates the specified remediation setting.
|
|
8447
8213
|
*
|
|
8448
8214
|
* @remarks
|
|
8449
|
-
* This topic
|
|
8215
|
+
* This topic provides an example of how to change the execution mode for the remediation setting `crr-909ba2d4716700eb****` to `AUTO_EXECUTION` (automatic execution).
|
|
8450
8216
|
*
|
|
8451
8217
|
* @param request - UpdateRemediationRequest
|
|
8452
8218
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8493,10 +8259,10 @@ class Client extends openapi_core_1.default {
|
|
|
8493
8259
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateRemediationResponse({}));
|
|
8494
8260
|
}
|
|
8495
8261
|
/**
|
|
8496
|
-
* Updates
|
|
8262
|
+
* Updates the specified remediation setting.
|
|
8497
8263
|
*
|
|
8498
8264
|
* @remarks
|
|
8499
|
-
* This topic
|
|
8265
|
+
* This topic provides an example of how to change the execution mode for the remediation setting `crr-909ba2d4716700eb****` to `AUTO_EXECUTION` (automatic execution).
|
|
8500
8266
|
*
|
|
8501
8267
|
* @param request - UpdateRemediationRequest
|
|
8502
8268
|
* @returns UpdateRemediationResponse
|
|
@@ -8506,7 +8272,7 @@ class Client extends openapi_core_1.default {
|
|
|
8506
8272
|
return await this.updateRemediationWithOptions(request, runtime);
|
|
8507
8273
|
}
|
|
8508
8274
|
/**
|
|
8509
|
-
*
|
|
8275
|
+
* Updates a compliance report template.
|
|
8510
8276
|
*
|
|
8511
8277
|
* @param tmpReq - UpdateReportTemplateRequest
|
|
8512
8278
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8561,7 +8327,7 @@ class Client extends openapi_core_1.default {
|
|
|
8561
8327
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateReportTemplateResponse({}));
|
|
8562
8328
|
}
|
|
8563
8329
|
/**
|
|
8564
|
-
*
|
|
8330
|
+
* Updates a compliance report template.
|
|
8565
8331
|
*
|
|
8566
8332
|
* @param request - UpdateReportTemplateRequest
|
|
8567
8333
|
* @returns UpdateReportTemplateResponse
|