diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/config/2020-09-07 | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/en_us/config/2020-09-07')
| -rw-r--r-- | data/en_us/config/2020-09-07/api-docs.php | 31027 |
1 files changed, 6801 insertions, 24226 deletions
diff --git a/data/en_us/config/2020-09-07/api-docs.php b/data/en_us/config/2020-09-07/api-docs.php index a100be4..8101de5 100644 --- a/data/en_us/config/2020-09-07/api-docs.php +++ b/data/en_us/config/2020-09-07/api-docs.php @@ -1,82 +1,41 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Config', - 'version' => '2020-09-07', - ], + 'info' => ['style' => 'RPC', 'product' => 'Config', 'version' => '2020-09-07'], 'directories' => [ [ - 'children' => [ - 'CreateAggregator', - 'UpdateAggregator', - 'GetAggregator', - ], + 'children' => ['CreateAggregator', 'UpdateAggregator', 'GetAggregator'], 'type' => 'directory', - 'title' => 'Account Groups', + 'title' => 'Account group', ], [ 'children' => [ [ - 'children' => [ - 'ListDiscoveredResources', - 'GetDiscoveredResource', - 'GetResourceConfigurationTimeline', - 'GetResourceComplianceTimeline', - 'GenerateResourceInventory', - 'GetResourceInventory', - ], + 'children' => ['ListDiscoveredResources', 'GetDiscoveredResource', 'GetResourceConfigurationTimeline', 'GetResourceComplianceTimeline', 'GenerateResourceInventory', 'GetResourceInventory'], 'type' => 'directory', - 'title' => 'Single-account', + 'title' => 'Single account', ], [ - 'children' => [ - 'ListAggregateDiscoveredResources', - 'GetAggregateDiscoveredResource', - 'GetAggregateResourceConfigurationTimeline', - 'GetAggregateResourceComplianceTimeline', - 'ListAggregateResourcesByAdvancedSearch', - 'CreateAggregateAdvancedSearchFile', - ], + 'children' => ['ListAggregateDiscoveredResources', 'GetAggregateDiscoveredResource', 'GetAggregateResourceConfigurationTimeline', 'GetAggregateResourceComplianceTimeline', 'ListAggregateResourcesByAdvancedSearch', 'CreateAggregateAdvancedSearchFile'], 'type' => 'directory', - 'title' => 'Multi-account', + 'title' => 'Multiple accounts', ], 'GetSupportedResourceRelationConfig', 'ListSupportedProducts', ], 'type' => 'directory', - 'title' => 'Resources', + 'title' => 'Resource', ], [ 'children' => [ [ - 'children' => [ - 'CreateConfigRule', - 'UpdateConfigRule', - 'ListConfigRules', - 'GetConfigRule', - 'ListConfigRuleEvaluationResults', - 'ListResourceEvaluationResults', - 'StartConfigRuleEvaluation', - 'IgnoreEvaluationResults', - 'GetConfigRuleSummaryByRiskLevel', - 'GetComplianceSummary', - ], + 'children' => ['CreateConfigRule', 'UpdateConfigRule', 'ListConfigRules', 'GetConfigRule', 'ListConfigRuleEvaluationResults', 'ListResourceEvaluationResults', 'StartConfigRuleEvaluation', 'IgnoreEvaluationResults', 'GetConfigRuleSummaryByRiskLevel', 'GetComplianceSummary'], 'type' => 'directory', - 'title' => 'Single-account', + 'title' => 'Single account', ], [ - 'children' => [ - 'CreateAggregateConfigRule', - 'UpdateAggregateConfigRule', - 'ListAggregateConfigRules', - 'GetAggregateConfigRule', - 'ListAggregateConfigRuleEvaluationResults', - 'ListAggregateResourceEvaluationResults', - 'GetAggregateComplianceSummary', - ], + 'children' => ['CreateAggregateConfigRule', 'UpdateAggregateConfigRule', 'ListAggregateConfigRules', 'GetAggregateConfigRule', 'ListAggregateConfigRuleEvaluationResults', 'ListAggregateResourceEvaluationResults', 'GetAggregateComplianceSummary'], 'type' => 'directory', - 'title' => 'Multi-account', + 'title' => 'Multiple accounts', ], 'ListManagedRules', 'GetManagedRule', @@ -84,204 +43,79 @@ 'EvaluatePreConfigRules', ], 'type' => 'directory', - 'title' => 'Rules', + 'title' => 'Rule', ], [ 'children' => [ [ - 'children' => [ - 'UpdateCompliancePack', - 'ListCompliancePacks', - 'GetCompliancePack', - 'GetConfigRuleComplianceByPack', - 'GetResourceComplianceByPack', - 'DetachConfigRuleToCompliancePack', - ], + 'children' => ['CreateCompliancePack', 'UpdateCompliancePack', 'ListCompliancePacks', 'GetCompliancePack', 'DeleteCompliancePacks', 'GetConfigRuleComplianceByPack', 'GetResourceComplianceByPack', 'DetachConfigRuleToCompliancePack'], 'type' => 'directory', - 'title' => 'Single-account', + 'title' => 'Single account', ], [ - 'children' => [ - 'CreateAggregateCompliancePack', - 'UpdateAggregateCompliancePack', - 'ListAggregateCompliancePacks', - 'GetAggregateCompliancePack', - 'GenerateAggregateCompliancePackReport', - 'GetAggregateResourceComplianceByPack', - 'GetAggregateConfigRuleComplianceByPack', - ], + 'children' => ['CreateAggregateCompliancePack', 'UpdateAggregateCompliancePack', 'ListAggregateCompliancePacks', 'GetAggregateCompliancePack', 'DeleteAggregateCompliancePacks', 'GenerateAggregateCompliancePackReport', 'GetAggregateResourceComplianceByPack', 'GetAggregateConfigRuleComplianceByPack'], 'type' => 'directory', - 'title' => 'Multi-account', + 'title' => 'Multiple accounts', ], 'ListCompliancePackTemplates', ], 'type' => 'directory', - 'title' => 'Compliance Package', + 'title' => 'Compliance package', ], [ 'children' => [ [ - 'children' => [ - 'CreateRemediation', - 'UpdateRemediation', - 'DeleteRemediations', - ], + 'children' => ['CreateRemediation', 'UpdateRemediation', 'DeleteRemediations', 'StartRemediation'], 'type' => 'directory', - 'title' => 'Single-account', + 'title' => 'Single account', ], [ - 'children' => [ - 'CreateAggregateRemediation', - 'UpdateAggregateRemediation', - 'ListAggregateRemediations', - 'DeleteAggregateRemediations', - ], + 'children' => ['CreateAggregateRemediation', 'UpdateAggregateRemediation', 'ListAggregateRemediations', 'DeleteAggregateRemediations', 'StartAggregateRemediation'], 'type' => 'directory', - 'title' => 'Multi-account', + 'title' => 'Multiple accounts', ], 'GetRemediationTemplate', ], 'type' => 'directory', - 'title' => 'Remediation templates', + 'title' => 'Remediation settings', ], [ 'children' => [ [ - 'children' => [ - 'CreateConfigDeliveryChannel', - 'UpdateConfigDeliveryChannel', - 'ListConfigDeliveryChannels', - 'GetConfigDeliveryChannel', - ], + 'children' => ['CreateConfigDeliveryChannel', 'UpdateConfigDeliveryChannel', 'ListConfigDeliveryChannels', 'GetConfigDeliveryChannel'], 'type' => 'directory', - 'title' => 'Single-account', + 'title' => 'Single account', ], [ - 'children' => [ - 'CreateAggregateConfigDeliveryChannel', - ], + 'children' => ['CreateAggregateConfigDeliveryChannel'], 'type' => 'directory', - 'title' => 'Multi-account', + 'title' => 'Multiple accounts', ], ], 'type' => 'directory', - 'title' => 'Deliveries', + 'title' => 'Delivery channel', ], [ - 'children' => [ - 'ListTagResources', - 'TagResources', - 'UntagResources', - ], + 'children' => ['ListIntegratedService'], 'type' => 'directory', - 'title' => 'Tags', + 'title' => 'Integrated service', ], [ - 'children' => [ - 'ListIntegratedService', - ], - 'type' => 'directory', - 'title' => 'Service integration', - ], - [ - 'children' => [ - 'GetConfigurationRecorder', - ], + 'children' => ['GetConfigurationRecorder', 'StartConfigurationRecorder'], 'type' => 'directory', 'title' => 'Service settings', ], [ - 'children' => [ - 'CreateReportTemplate', - 'GetReportTemplate', - 'UpdateReportTemplate', - 'ListReportTemplates', - 'DeleteReportTemplate', - 'GenerateReportFromTemplate', - 'GetReportFromTemplate', - 'TriggerReportSend', - ], + 'children' => ['CreateReportTemplate', 'GetReportTemplate', 'UpdateReportTemplate', 'ListReportTemplates', 'DeleteReportTemplate', 'GenerateReportFromTemplate', 'GetReportFromTemplate', 'TriggerReportSend'], 'type' => 'directory', - 'title' => 'Report Template', + 'title' => 'Report template', ], [ 'children' => [ - 'DryRunConfigRule', - 'DescribeDiscoveredResourceBatch', - 'DescribeIntegratedServiceStatus', - 'GetResourceConfigurationSample', - 'GetResourceTypeProperties', - 'ListAggregateRecommendManagedRules', - 'ListConfigRuleOperators', - 'ListRecommendManagedRules', - 'StartConfigRuleEvaluationByResource', - 'ActiveAggregateConfigRules', - 'ActiveConfigRules', - 'AttachAggregateConfigRuleToCompliancePack', - 'AttachConfigRuleToCompliancePack', - 'CopyCompliancePacks', - 'CopyConfigRules', - 'CreateAdvancedSearchFile', - 'CreateCompliancePack', - 'DeactiveAggregateConfigRules', - 'DeactiveConfigRules', - 'DeleteAggregateCompliancePacks', - 'DeleteAggregateConfigDeliveryChannel', - 'DeleteAggregateConfigRules', - 'DeleteAggregators', - 'DeleteCompliancePacks', - 'DeleteConfigDeliveryChannel', - 'DeleteConfigRules', - 'DescribeRemediation', - 'DetachAggregateConfigRuleToCompliancePack', - 'GenerateAggregateConfigRulesReport', - 'GenerateAggregateResourceInventory', - 'GenerateCompliancePackReport', - 'GenerateConfigRulesReport', - 'GetAdvancedSearchFile', - 'GetAggregateAccountComplianceByPack', - 'GetAggregateAdvancedSearchFile', - 'GetAggregateCompliancePackReport', - 'GetAggregateConfigDeliveryChannel', - 'GetAggregateConfigRuleSummaryByRiskLevel', - 'GetAggregateConfigRulesReport', - 'GetAggregateResourceComplianceByConfigRule', - 'GetAggregateResourceComplianceGroupByRegion', - 'GetAggregateResourceComplianceGroupByResourceType', - 'GetAggregateResourceCountsGroupByRegion', - 'GetAggregateResourceCountsGroupByResourceType', - 'GetAggregateResourceInventory', - 'GetCompliancePackReport', - 'GetConfigRulesReport', - 'GetDiscoveredResourceCountsGroupByRegion', - 'GetDiscoveredResourceCountsGroupByResourceType', - 'GetIntegratedServiceStatus', - 'GetResourceComplianceByConfigRule', - 'GetResourceComplianceGroupByRegion', - 'GetResourceComplianceGroupByResourceType', - 'IgnoreAggregateEvaluationResults', - 'ListAggregateConfigDeliveryChannels', - 'ListAggregateConfigRuleEvaluationStatistics', - 'ListAggregateRemediationExecutions', - 'ListAggregateResourceRelations', - 'ListAggregators', - 'ListConfigRuleEvaluationStatistics', - 'ListRemediationExecutions', - 'ListRemediationTemplates', - 'ListRemediations', - 'ListResourceRelations', - 'ListResourcesByAdvancedSearch', - 'PutEvaluations', - 'RevertAggregateEvaluationResults', - 'RevertEvaluationResults', - 'StartAggregateConfigRuleEvaluation', - 'StartAggregateRemediation', - 'StartConfigurationRecorder', - 'StartRemediation', - 'StopConfigurationRecorder', - 'UpdateAggregateConfigDeliveryChannel', - 'UpdateConfigurationRecorder', - 'UpdateIntegratedServiceStatus', + 'DryRunConfigRule', 'DescribeDiscoveredResourceBatch', 'DescribeIntegratedServiceStatus', 'GetResourceConfigurationSample', 'GetResourceTypeProperties', 'ListAggregateRecommendManagedRules', 'ListConfigRuleOperators', 'ListRecommendManagedRules', 'StartConfigRuleEvaluationByResource', 'ActiveAggregateConfigRules', 'ActiveConfigRules', 'AttachAggregateConfigRuleToCompliancePack', 'AttachConfigRuleToCompliancePack', 'CopyCompliancePacks', 'CopyConfigRules', 'CreateAdvancedSearchFile', 'DeactiveAggregateConfigRules', 'DeactiveConfigRules', 'DeleteAggregateConfigDeliveryChannel', 'DeleteAggregateConfigRules', + 'DeleteAggregators', 'DeleteConfigDeliveryChannel', 'DeleteConfigRules', 'DescribeRemediation', 'DetachAggregateConfigRuleToCompliancePack', 'GenerateAggregateConfigRulesReport', 'GenerateAggregateResourceInventory', 'GenerateCompliancePackReport', 'GenerateConfigRulesReport', 'GetAdvancedSearchFile', 'GetAggregateAccountComplianceByPack', 'GetAggregateAdvancedSearchFile', 'GetAggregateCompliancePackReport', 'GetAggregateConfigDeliveryChannel', 'GetAggregateConfigRuleSummaryByRiskLevel', 'GetAggregateConfigRulesReport', 'GetAggregateResourceComplianceByConfigRule', 'GetAggregateResourceComplianceGroupByRegion', 'GetAggregateResourceComplianceGroupByResourceType', 'GetAggregateResourceCountsGroupByRegion', + 'GetAggregateResourceCountsGroupByResourceType', 'GetAggregateResourceInventory', 'GetCompliancePackReport', 'GetConfigRulesReport', 'GetDiscoveredResourceCountsGroupByRegion', 'GetDiscoveredResourceCountsGroupByResourceType', 'GetIntegratedServiceStatus', 'GetResourceComplianceByConfigRule', 'GetResourceComplianceGroupByRegion', 'GetResourceComplianceGroupByResourceType', 'IgnoreAggregateEvaluationResults', 'ListAggregateConfigDeliveryChannels', 'ListAggregateConfigRuleEvaluationStatistics', 'ListAggregateRemediationExecutions', 'ListAggregateResourceRelations', 'ListAggregators', 'ListConfigRuleEvaluationStatistics', 'ListRemediationExecutions', 'ListRemediationTemplates', 'ListRemediations', + 'ListResourceRelations', 'ListResourcesByAdvancedSearch', 'ListTagResources', 'PutEvaluations', 'RevertAggregateEvaluationResults', 'RevertEvaluationResults', 'StartAggregateConfigRuleEvaluation', 'StopConfigurationRecorder', 'TagResources', 'UntagResources', 'UpdateAggregateConfigDeliveryChannel', 'UpdateConfigurationRecorder', 'UpdateIntegratedServiceStatus', ], 'type' => 'directory', 'title' => 'Others', @@ -292,14 +126,8 @@ ], 'apis' => [ 'ActiveAggregateConfigRules' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -311,9 +139,7 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -321,40 +147,23 @@ [ 'name' => 'ConfigRuleIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The error code returned.'."\n" - ."\n" - .'* If the rule is enabled, no error code is returned.'."\n" - .'* If the rule fails to be enabled, an error code is returned. For more information about error codes, see [Error codes](https://error-center.alibabacloud.com/status/product/Config).'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'cr-5772ba41209e007b****', - ], + 'schema' => ['description' => 'The error code returned.'."\n" + ."\n" + .'* If the rule is enabled, no error code is returned.'."\n" + .'* If the rule fails to be enabled, an error code is returned. For more information about error codes, see [Error codes](https://error-center.alibabacloud.com/status/product/Config).'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cr-5772ba41209e007b****'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true: The request was successful.'."\n" - .'* false: The request failed.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-a4e5626622af0079****', - ], + 'schema' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-a4e5626622af0079****'], ], [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cp-fe416457e0d90022****', - ], + 'schema' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cp-fe416457e0d90022****'], ], ], 'responses' => [ @@ -363,11 +172,7 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'], 'OperateRuleResult' => [ 'description' => 'The results of the operations.', 'type' => 'object', @@ -379,24 +184,12 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'ConfigRuleNotExists', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.'."\n", - 'type' => 'string', - 'example' => 'cr-5772ba41209e007b****', - ], + 'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'ConfigRuleNotExists'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", 'type' => 'boolean', 'example' => 'false'], + 'ConfigRuleId' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'example' => 'cr-5772ba41209e007b****'], ], ], ], @@ -408,52 +201,22 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', - 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', - 'description' => '', - ], - [ - 'errorCode' => 'ConfigRuleStatusNotInActive', - 'errorMessage' => 'The status of the config rule is not inactive.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], + ['errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'description' => ''], + ['errorCode' => 'ConfigRuleStatusNotInActive', 'errorMessage' => 'The status of the config rule is not inactive.', 'description' => ''], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'AggregatorMemberNoPermission', - 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', - 'description' => '', - ], + ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => ''], ], [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ErrorCode\\": \\"ConfigRuleNotExists\\",\\n \\"Success\\": false,\\n \\"ConfigRuleId\\": \\"cr-5772ba41209e007b****\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ActiveAggregateConfigRulesResponse>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n <OperateRuleResult>\\n <OperateRuleItemList>\\n <ErrorCode>ConfigRuleNotExists</ErrorCode>\\n <Success>false</Success>\\n <ConfigRuleId>cr-5772ba41209e007b****</ConfigRuleId>\\n </OperateRuleItemList>\\n </OperateRuleResult>\\n</ActiveAggregateConfigRulesResponse>","errorExample":""}]', 'title' => 'ActiveAggregateConfigRules', 'summary' => '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.', @@ -474,25 +237,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ActiveConfigRules' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -504,9 +257,7 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -514,23 +265,12 @@ [ 'name' => 'ConfigRuleIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule ID. Separate multiple rule IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'cr-2da35180a8d1008e****,cr-2da35180a8d1008e**** ', - ], + 'schema' => ['description' => 'The rule ID. Separate multiple rule IDs with commas (,).'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cr-2da35180a8d1008e****,cr-2da35180a8d1008e**** '], ], [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance package.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cp-fe416457e0d90022****', - ], + 'schema' => ['description' => 'The ID of the compliance package.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cp-fe416457e0d90022****'], ], ], 'responses' => [ @@ -538,11 +278,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '61C1A88F-D163-40DF-84A6-F200229F37B2', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '61C1A88F-D163-40DF-84A6-F200229F37B2'], 'OperateRuleResult' => [ 'description' => 'The returned results.'."\n", 'type' => 'object', @@ -553,27 +289,15 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'description' => 'The error code.'."\n" - ."\n" - .'* If the rule is enabled, no error code is returned.'."\n" - .'* If the rule fails to be enabled, an error code is returned. For more information about error codes, see [Error codes](https://next.api.aliyun.com/document/Config/2020-09-07/errorCode).'."\n", - 'type' => 'string', - 'example' => 'ConfigRuleStatusNotInActive', - ], - 'Success' => [ - 'description' => 'Indicates whether the rule is enabled. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.'."\n", - 'type' => 'string', - 'example' => 'cr-2da35180a8d1008e****', - ], + 'ErrorCode' => ['description' => 'The error code.'."\n" + ."\n" + .'* If the rule is enabled, no error code is returned.'."\n" + .'* If the rule fails to be enabled, an error code is returned. For more information about error codes, see [Error codes](https://next.api.aliyun.com/document/Config/2020-09-07/errorCode).'."\n", 'type' => 'string', 'example' => 'ConfigRuleStatusNotInActive'], + 'Success' => ['description' => 'Indicates whether the rule is enabled. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", 'type' => 'boolean', 'example' => 'true'], + 'ConfigRuleId' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'example' => 'cr-2da35180a8d1008e****'], ], ], ], @@ -586,33 +310,15 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', - 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', - 'description' => '', - ], - [ - 'errorCode' => 'ConfigRuleStatusNotInActive', - 'errorMessage' => 'The status of the config rule is not inactive.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], + ['errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'description' => ''], + ['errorCode' => 'ConfigRuleStatusNotInActive', 'errorMessage' => 'The status of the config rule is not inactive.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"61C1A88F-D163-40DF-84A6-F200229F37B2\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ErrorCode\\": \\"ConfigRuleStatusNotInActive\\",\\n \\"Success\\": true,\\n \\"ConfigRuleId\\": \\"cr-2da35180a8d1008e****\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'ActiveConfigRules', 'summary' => 'Enables a rule in Cloud Config. After a rule is enabled, Cloud Config automatically evaluates the compliance of a resource based on the trigger mechanism of the rule.', @@ -628,26 +334,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'AttachAggregateConfigRuleToCompliancePack' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -659,47 +354,29 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigX57QP8', - ], + 'abilityTreeNodes' => ['FEATUREconfigX57QP8'], ], 'parameters' => [ [ 'name' => 'ConfigRuleIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule IDs. Separate multiple rule IDs with commas (,).'."\n" - ."\n" - .'For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cr-a124626622af00e7****', - ], + 'schema' => ['description' => 'The rule IDs. Separate multiple rule IDs with commas (,).'."\n" + ."\n" + .'For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-a124626622af00e7****'], ], [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance package.'."\n" - ."\n" - .'For more information about how to obtain the ID of a compliance package, see [ListAggregateCompliancePacks](~~262059~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cp-0453626622af0020****', - ], + 'schema' => ['description' => 'The ID of the compliance package.'."\n" + ."\n" + .'For more information about how to obtain the ID of a compliance package, see [ListAggregateCompliancePacks](~~262059~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'cp-0453626622af0020****'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ca-75b4626622af00c3****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'ca-75b4626622af00c3****'], ], ], 'responses' => [ @@ -707,11 +384,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DE72B7B5-D0EA-15E6-A359-EDECBB9BDFA3', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DE72B7B5-D0EA-15E6-A359-EDECBB9BDFA3'], 'OperateRuleResult' => [ 'description' => 'The results of the operations to add one or more rules.'."\n", 'type' => 'object', @@ -722,27 +395,15 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'description' => 'The error code.'."\n" - ."\n" - .'* This parameter is empty if the rule is added to the compliance package.'."\n" - .'* An error code is returned if the rule fails to be added to the compliance package. For more information about error codes, see [Error codes](https://error-center.alibabacloud.com/status/product/Config).'."\n", - 'type' => 'string', - 'example' => 'ConfigRuleNotExists', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.'."\n", - 'type' => 'string', - 'example' => 'cr-a124626622af00e7****', - ], + 'ErrorCode' => ['description' => 'The error code.'."\n" + ."\n" + .'* This parameter is empty if the rule is added to the compliance package.'."\n" + .'* An error code is returned if the rule fails to be added to the compliance package. For more information about error codes, see [Error codes](https://error-center.alibabacloud.com/status/product/Config).'."\n", 'type' => 'string', 'example' => 'ConfigRuleNotExists'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", 'type' => 'boolean', 'example' => 'true'], + 'ConfigRuleId' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'example' => 'cr-a124626622af00e7****'], ], ], ], @@ -755,30 +416,14 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', - 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], + ['errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DE72B7B5-D0EA-15E6-A359-EDECBB9BDFA3\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ErrorCode\\": \\"ConfigRuleNotExists\\",\\n \\"Success\\": true,\\n \\"ConfigRuleId\\": \\"cr-a124626622af00e7****\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<AttachAggregateConfigRuleToCompliancePackResponse>\\n <RequestId>DE72B7B5-D0EA-15E6-A359-EDECBB9BDFA3</RequestId>\\n <OperateRuleResult>\\n <OperateRuleItemList>\\n <ErrorCode/>\\n <Success>true</Success>\\n <ConfigRuleId>cr-a124626622af00e7****</ConfigRuleId>\\n </OperateRuleItemList>\\n </OperateRuleResult>\\n</AttachAggregateConfigRuleToCompliancePackResponse>","errorExample":""}]', @@ -795,26 +440,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'AttachConfigRuleToCompliancePack' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -826,35 +460,22 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigQMX28I', - ], + 'abilityTreeNodes' => ['FEATUREconfigQMX28I'], ], 'parameters' => [ [ 'name' => 'ConfigRuleIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule ID. Separate multiple rule IDs with commas (,).'."\n" - ."\n" - .'For more information about how to obtain the ID of a rule, see [ListConfigRules](~~169607~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cr-6cc4626622af00e7****', - ], + 'schema' => ['description' => 'The rule ID. Separate multiple rule IDs with commas (,).'."\n" + ."\n" + .'For more information about how to obtain the ID of a rule, see [ListConfigRules](~~169607~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-6cc4626622af00e7****'], ], [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance package.'."\n" - ."\n" - .'For more information about how to obtain the ID of a compliance package, see [ListCompliancePacks](~~263332~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cp-5bb1626622af00bd****', - ], + 'schema' => ['description' => 'The ID of the compliance package.'."\n" + ."\n" + .'For more information about how to obtain the ID of a compliance package, see [ListCompliancePacks](~~263332~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'cp-5bb1626622af00bd****'], ], ], 'responses' => [ @@ -862,11 +483,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB12A', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB12A'], 'OperateRuleResult' => [ 'description' => 'The results of the operations to add one or more rules.'."\n", 'type' => 'object', @@ -877,27 +494,15 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n" - ."\n" - .'* This parameter is empty if the rule is added to the compliance package.'."\n" - .'* An error code is returned if the rule fails to be added to the compliance package. For more information about error codes, see [Error codes](https://error-center.alibabacloud.com/status/product/Config).'."\n", - 'type' => 'string', - 'example' => 'ConfigRuleNotExists', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true: The request was successful.'."\n" - .'* false: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.'."\n", - 'type' => 'string', - 'example' => 'cr-6cc4626622af00e7****', - ], + 'ErrorCode' => ['description' => 'The error code returned.'."\n" + ."\n" + .'* This parameter is empty if the rule is added to the compliance package.'."\n" + .'* An error code is returned if the rule fails to be added to the compliance package. For more information about error codes, see [Error codes](https://error-center.alibabacloud.com/status/product/Config).'."\n", 'type' => 'string', 'example' => 'ConfigRuleNotExists'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true'], + 'ConfigRuleId' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'example' => 'cr-6cc4626622af00e7****'], ], ], ], @@ -909,30 +514,14 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', - 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], + ['errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB12A\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ErrorCode\\": \\"ConfigRuleNotExists\\",\\n \\"Success\\": true,\\n \\"ConfigRuleId\\": \\"cr-6cc4626622af00e7****\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<AttachConfigRuleToCompliancePackResponse>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB12A</RequestId>\\n <OperateRuleResult>\\n <OperateRuleItemList>\\n <ErrorCode/>\\n <Success>true</Success>\\n <ConfigRuleId>cr-6cc4626622af00e7****</ConfigRuleId>\\n </OperateRuleItemList>\\n </OperateRuleResult>\\n</AttachConfigRuleToCompliancePackResponse>","errorExample":""}]', @@ -949,25 +538,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'CopyCompliancePacks' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -979,48 +558,29 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigX57QP8', - ], + 'abilityTreeNodes' => ['FEATUREconfigX57QP8'], ], 'parameters' => [ [ 'name' => 'SrcCompliancePackIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of the compliance packages. Separate multiple compliance package IDs with commas (,).'."\n" - ."\n" - .'For more information about how to obtain the ID of a compliance package, see [ListCompliancePacks](~~263332~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cp-4c02626622af0050****,cp-47c1626622af0050****', - ], + 'schema' => ['description' => 'The IDs of the compliance packages. Separate multiple compliance package IDs with commas (,).'."\n" + ."\n" + .'For more information about how to obtain the ID of a compliance package, see [ListCompliancePacks](~~263332~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-4c02626622af0050****,cp-47c1626622af0050****'], ], [ 'name' => 'SrcAggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group to which the compliance packages belong.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'ca-05e6626622af0050****', - ], + 'schema' => ['description' => 'The ID of the account group to which the compliance packages belong.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'ca-05e6626622af0050****'], ], [ 'name' => 'DesAggregatorIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of the destination account groups into which the compliance packages are replicated. Separate multiple account group IDs with commas (,).'."\n" - ."\n" - .'> If this parameter is left empty, the compliance packages are replicated to the current account group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ca-c73c626622af00f8****', - ], + 'schema' => ['description' => 'The IDs of the destination account groups into which the compliance packages are replicated. Separate multiple account group IDs with commas (,).'."\n" + ."\n" + .'> If this parameter is left empty, the compliance packages are replicated to the current account group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ca-c73c626622af00f8****'], ], ], 'responses' => [ @@ -1028,30 +588,18 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '9E1E69DE-BDED-581E-B559-0C15690901D0', - ], - 'CopyRulesResult' => [ - 'description' => 'Indicates whether the compliance packages are replicated. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '9E1E69DE-BDED-581E-B559-0C15690901D0'], + 'CopyRulesResult' => ['description' => 'Indicates whether the compliance packages are replicated. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'CompliancePackCopyLimit', - 'errorMessage' => 'The number of replication compliance packages must be less than 10.', - 'description' => '', - ], + ['errorCode' => 'CompliancePackCopyLimit', 'errorMessage' => 'The number of replication compliance packages must be less than 10.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9E1E69DE-BDED-581E-B559-0C15690901D0\\",\\n \\"CopyRulesResult\\": true\\n}","errorExample":""},{"type":"xml","example":"<CopyCompliancePacksResponse>\\n <RequestId>9E1E69DE-BDED-581E-B559-0C15690901D0</RequestId>\\n <CopyRulesResult>true</CopyRulesResult>\\n</CopyCompliancePacksResponse>","errorExample":""}]', @@ -1067,25 +615,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'CopyConfigRules' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1097,46 +635,27 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigQMX28I', - ], + 'abilityTreeNodes' => ['FEATUREconfigQMX28I'], ], 'parameters' => [ [ 'name' => 'SrcConfigRuleIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule IDs. Separate multiple rule IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cr-4b57626622af0065****,cr-47c1626622af0050****', - ], + 'schema' => ['description' => 'The rule IDs. Separate multiple rule IDs with commas (,).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-4b57626622af0065****,cr-47c1626622af0050****'], ], [ 'name' => 'SrcAggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group to which the rules belong.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'ca-24db626622af0060****', - ], + 'schema' => ['description' => 'The ID of the account group to which the rules belong.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'ca-24db626622af0060****'], ], [ 'name' => 'DesAggregatorIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of the destination account groups into which the rules are replicated. Separate multiple account group IDs with commas (,).'."\n" - ."\n" - .'> If you leave this parameter empty, the compliance packages are replicated into the same account group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ca-4b4e626622af005d****', - ], + 'schema' => ['description' => 'The IDs of the destination account groups into which the rules are replicated. Separate multiple account group IDs with commas (,).'."\n" + ."\n" + .'> If you leave this parameter empty, the compliance packages are replicated into the same account group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ca-4b4e626622af005d****'], ], ], 'responses' => [ @@ -1144,30 +663,18 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '7BD81ECF-3194-5A6B-8719-9FC283167AD4', - ], - 'CopyRulesResult' => [ - 'description' => 'Indicates whether the rules are replicated. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '7BD81ECF-3194-5A6B-8719-9FC283167AD4'], + 'CopyRulesResult' => ['description' => 'Indicates whether the rules are replicated. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConfigRuleCopyLimit', - 'errorMessage' => 'The number of replication config rule must be less than 100.', - 'description' => '', - ], + ['errorCode' => 'ConfigRuleCopyLimit', 'errorMessage' => 'The number of replication config rule must be less than 100.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7BD81ECF-3194-5A6B-8719-9FC283167AD4\\",\\n \\"CopyRulesResult\\": true\\n}","errorExample":""},{"type":"xml","example":"<CopyConfigRulesResponse>\\n <RequestId>7BD81ECF-3194-5A6B-8719-9FC283167AD4</RequestId>\\n <CopyRulesResult>true</CopyRulesResult>\\n</CopyConfigRulesResponse>","errorExample":""}]', @@ -1183,26 +690,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'CreateAdvancedSearchFile' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1214,21 +710,14 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigQ01U20', - ], + 'abilityTreeNodes' => ['FEATUREconfigQ01U20'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Sql', 'in' => 'query', - 'schema' => [ - 'description' => 'The SQL statement used to query resources.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'SELECT * WHERE ResourceType = \'ACS::ECS::Instance\'', - ], + 'schema' => ['description' => 'The SQL statement used to query resources.'."\n", 'type' => 'string', 'required' => true, 'example' => 'SELECT * WHERE ResourceType = \'ACS::ECS::Instance\''], ], ], 'responses' => [ @@ -1236,11 +725,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'D231366D-E2AD-559E-9C29-58FF7F4B1F5D', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'D231366D-E2AD-559E-9C29-58FF7F4B1F5D'], ], 'description' => '', ], @@ -1248,11 +733,7 @@ ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D231366D-E2AD-559E-9C29-58FF7F4B1F5D\\"\\n}","type":"json"}]', @@ -1267,26 +748,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'CreateAggregateAdvancedSearchFile' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1298,35 +768,21 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6XGW41', - ], + 'abilityTreeNodes' => ['FEATUREconfig6XGW41'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Sql', 'in' => 'query', - 'schema' => [ - 'description' => 'The SQL statement for the advanced search.', - 'type' => 'string', - 'required' => true, - 'example' => 'SELECT * WHERE ResourceType = \'ACS::ECS::Instance\'', - 'title' => '', - ], + 'schema' => ['description' => 'The SQL statement for the advanced search.', 'type' => 'string', 'required' => true, 'example' => 'SELECT * WHERE ResourceType = \'ACS::ECS::Instance\'', 'title' => ''], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'example' => 'ca-edd3626622af00b3****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'example' => 'ca-edd3626622af00b3****', 'title' => ''], ], ], 'responses' => [ @@ -1334,12 +790,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '5F290373-2BE6-534B-8724-A33F1116958B', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '5F290373-2BE6-534B-8724-A33F1116958B', 'title' => ''], ], 'description' => '', 'title' => '', @@ -1349,11 +800,7 @@ ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], ], 'title' => 'CreateAggregateAdvancedSearchFile', @@ -1362,12 +809,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'CreateAggregateAdvancedSearchFile', - ], + ['threshold' => '50', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregateAdvancedSearchFile'], ], ], 'ramActions' => [ @@ -1378,12 +820,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -1391,14 +828,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5F290373-2BE6-534B-8724-A33F1116958B\\"\\n}","type":"json"}]', ], 'CreateAggregateCompliancePack' => [ - 'summary' => 'Creates a compliance pack for a specified account group.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1410,49 +841,26 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigX57QP8', - ], + 'abilityTreeNodes' => ['FEATUREconfigX57QP8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'CompliancePackTemplateId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the compliance pack template.'."\n" - ."\n" - .'For more information about how to obtain the ID of a compliance pack template, see [ListCompliancePackTemplates](~~261176~~).', - 'type' => 'string', - 'required' => false, - 'example' => 'ct-5f26ff4e06a300c4****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the compliance pack template.'."\n" + ."\n" + .'For more information about how to obtain the ID of a compliance pack template, see [ListCompliancePackTemplates](~~261176~~).', 'type' => 'string', 'required' => false, 'example' => 'ct-5f26ff4e06a300c4****', 'title' => ''], ], [ 'name' => 'CompliancePackName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the compliance pack.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'maxLength' => 100, - 'example' => '等保三级预检合规包', - 'title' => '', - ], + 'schema' => ['description' => 'The name of the compliance pack.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'maxLength' => 100, 'example' => '等保三级预检合规包', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'formData', - 'schema' => [ - 'description' => 'The description of the compliance pack.', - 'type' => 'string', - 'maxLength' => 500, - 'required' => false, - 'example' => '基于等保三级的部分要求,对阿里云上资源的合规性做检测。', - 'title' => '', - ], + 'schema' => ['description' => 'The description of the compliance pack.', 'type' => 'string', 'maxLength' => 500, 'required' => false, 'example' => '基于等保三级的部分要求,对阿里云上资源的合规性做检测。', 'title' => ''], ], [ 'name' => 'RiskLevel', @@ -1471,11 +879,7 @@ 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, - 'enum' => [ - '1', - '2', - '3', - ], + 'enum' => ['1', '2', '3'], 'required' => false, 'example' => '2', 'title' => '', @@ -1484,16 +888,9 @@ [ 'name' => 'AggregatorId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-f632626622af0079****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-f632626622af0079****', 'title' => ''], ], [ 'name' => 'ConfigRules', @@ -1508,23 +905,10 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'ManagedRuleIdentifier' => [ - 'description' => 'The identifier of the rule template. CloudConfig automatically creates a rule based on the rule template identifier and adds the rule to the compliance pack.'."\n" - ."\n" - .'Specify either `ManagedRuleIdentifier` or `ConfigRuleId`. If both parameters are specified, `ConfigRuleId` is used.', - 'type' => 'string', - 'required' => false, - 'example' => 'eip-bandwidth-limit', - 'title' => '', - ], - 'ConfigRuleName' => [ - 'description' => 'The name of the rule.', - 'type' => 'string', - 'maxLength' => 100, - 'required' => false, - 'example' => '弹性IP实例带宽满足最低要求', - 'title' => '', - ], + 'ManagedRuleIdentifier' => ['description' => 'The identifier of the rule template. CloudConfig automatically creates a rule based on the rule template identifier and adds the rule to the compliance pack.'."\n" + ."\n" + .'Specify either `ManagedRuleIdentifier` or `ConfigRuleId`. If both parameters are specified, `ConfigRuleId` is used.', 'type' => 'string', 'required' => false, 'example' => 'eip-bandwidth-limit', 'title' => ''], + 'ConfigRuleName' => ['description' => 'The name of the rule.', 'type' => 'string', 'maxLength' => 100, 'required' => false, 'example' => '弹性IP实例带宽满足最低要求', 'title' => ''], 'ConfigRuleParameters' => [ 'description' => 'The parameters of the rule.', 'type' => 'array', @@ -1532,24 +916,12 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'ParameterName' => [ - 'description' => 'The name of the rule parameter.'."\n" - ."\n" - .'Specify both `ParameterName` and `ParameterValue`, or leave both empty. If a rule template has a parameter that does not have a default value, the parameter is required.', - 'type' => 'string', - 'required' => false, - 'example' => 'bandwidth', - 'title' => '', - ], - 'ParameterValue' => [ - 'description' => 'The value of the rule parameter.'."\n" - ."\n" - .'Specify both `ParameterName` and `ParameterValue`, or leave both empty. If a rule template has a parameter that does not have a default value, the parameter is required.', - 'type' => 'string', - 'required' => false, - 'example' => '10', - 'title' => '', - ], + 'ParameterName' => ['description' => 'The name of the rule parameter.'."\n" + ."\n" + .'Specify both `ParameterName` and `ParameterValue`, or leave both empty. If a rule template has a parameter that does not have a default value, the parameter is required.', 'type' => 'string', 'required' => false, 'example' => 'bandwidth', 'title' => ''], + 'ParameterValue' => ['description' => 'The value of the rule parameter.'."\n" + ."\n" + .'Specify both `ParameterName` and `ParameterValue`, or leave both empty. If a rule template has a parameter that does not have a default value, the parameter is required.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], 'required' => false, 'title' => '', @@ -1559,36 +931,17 @@ 'title' => '', 'example' => '', ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID. CloudConfig adds an existing rule to the compliance pack.'."\n" - ."\n" - .'Specify either `ManagedRuleIdentifier` or `ConfigRuleId`. If both parameters are specified, `ConfigRuleId` is used.', - 'type' => 'string', - 'required' => false, - 'example' => 'cr-e918626622af000f****', - 'title' => '', - ], - 'Description' => [ - 'description' => 'The description of the rule.', - 'type' => 'string', - 'required' => false, - 'example' => '弹性公网已绑定到ECS或者NAT实例,非闲置状态,视为“合规”。', - 'title' => '', - ], - 'RiskLevel' => [ - 'description' => 'The risk level of the rule. Valid values:'."\n" - ."\n" - .'- 1: High'."\n" - ."\n" - .'- 2: Medium'."\n" - ."\n" - .'- 3: Low', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'title' => '', - ], + 'ConfigRuleId' => ['description' => 'The rule ID. CloudConfig adds an existing rule to the compliance pack.'."\n" + ."\n" + .'Specify either `ManagedRuleIdentifier` or `ConfigRuleId`. If both parameters are specified, `ConfigRuleId` is used.', 'type' => 'string', 'required' => false, 'example' => 'cr-e918626622af000f****', 'title' => ''], + 'Description' => ['description' => 'The description of the rule.', 'type' => 'string', 'required' => false, 'example' => '弹性公网已绑定到ECS或者NAT实例,非闲置状态,视为“合规”。', 'title' => ''], + 'RiskLevel' => ['description' => 'The risk level of the rule. Valid values:'."\n" + ."\n" + .'- 1: High'."\n" + ."\n" + .'- 2: Medium'."\n" + ."\n" + .'- 3: Low', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], 'required' => false, 'title' => '', @@ -1602,181 +955,114 @@ [ 'name' => 'TemplateContent', 'in' => 'formData', - 'schema' => [ - 'description' => 'The template information that is used to generate the compliance pack. You can view the template content in the details of an existing compliance pack or create a template. For more information, see [Create a configurable compliance pack template](~~2659733~~).'."\n" - ."\n" - .'> Specify either this parameter or `ConfigRules`.', - 'type' => 'string', - 'maxLength' => 1024000, - 'required' => false, - 'example' => '{'."\n" - .' "configRuleTemplates": ['."\n" - .' {'."\n" - .' "configRuleName": "自定义条件规则示例",'."\n" - .' "scope": {'."\n" - .' "complianceResourceTypes": ['."\n" - .' "ACS::ECS::Instance"'."\n" - .' ]'."\n" - .' },'."\n" - .' "description": "",'."\n" - .' "source": {'."\n" - .' "owner": "CUSTOM_CONFIGURATION",'."\n" - .' "identifier": "acs-config-configuration",'."\n" - .' "sourceDetails": ['."\n" - .' {'."\n" - .' "messageType": "ScheduledNotification",'."\n" - .' "maximumExecutionFrequency": "Twelve_Hours"'."\n" - .' },'."\n" - .' {'."\n" - .' "messageType": "ConfigurationItemChangeNotification"'."\n" - .' }'."\n" - .' ],'."\n" - .' "conditions": "{\\"ComplianceConditions\\":\\"{\\\\\\"operator\\\\\\":\\\\\\"and\\\\\\",\\\\\\"children\\\\\\":[{\\\\\\"operator\\\\\\":\\\\\\"GreaterOrEquals\\\\\\",\\\\\\"featurePath\\\\\\":\\\\\\"$.Cpu\\\\\\",\\\\\\"featureSource\\\\\\":\\\\\\"CONFIGURATION\\\\\\",\\\\\\"desired\\\\\\":\\\\\\"2\\\\\\"}]}\\"}"'."\n" - .' },'."\n" - .' "inputParameters": {}'."\n" - .' },'."\n" - .' {'."\n" - .' "configRuleName": "OSS存储空间Referer在指定的防盗链白名单中",'."\n" - .' "scope": {'."\n" - .' "complianceResourceTypes": ['."\n" - .' "ACS::OSS::Bucket"'."\n" - .' ]'."\n" - .' },'."\n" - .' "description": "OSS存储空间开启防盗链并且Referer在指定白名单中,视为“合规”。",'."\n" - .' "source": {'."\n" - .' "owner": "ALIYUN",'."\n" - .' "identifier": "oss-bucket-referer-limit",'."\n" - .' "sourceDetails": ['."\n" - .' {'."\n" - .' "messageType": "ConfigurationItemChangeNotification"'."\n" - .' }'."\n" - .' ]'."\n" - .' },'."\n" - .' "inputParameters": {'."\n" - .' "allowEmptyReferer": "true",'."\n" - .' "allowReferers": "http://www.aliyun.com"'."\n" - .' }'."\n" - .' }'."\n" - .' ]'."\n" - .'}', - 'title' => '', - ], + 'schema' => ['description' => 'The template information that is used to generate the compliance pack. You can view the template content in the details of an existing compliance pack or create a template. For more information, see [Create a configurable compliance pack template](~~2659733~~).'."\n" + ."\n" + .'> Specify either this parameter or `ConfigRules`.', 'type' => 'string', 'maxLength' => 1024000, 'required' => false, 'example' => '{'."\n" + .' "configRuleTemplates": ['."\n" + .' {'."\n" + .' "configRuleName": "自定义条件规则示例",'."\n" + .' "scope": {'."\n" + .' "complianceResourceTypes": ['."\n" + .' "ACS::ECS::Instance"'."\n" + .' ]'."\n" + .' },'."\n" + .' "description": "",'."\n" + .' "source": {'."\n" + .' "owner": "CUSTOM_CONFIGURATION",'."\n" + .' "identifier": "acs-config-configuration",'."\n" + .' "sourceDetails": ['."\n" + .' {'."\n" + .' "messageType": "ScheduledNotification",'."\n" + .' "maximumExecutionFrequency": "Twelve_Hours"'."\n" + .' },'."\n" + .' {'."\n" + .' "messageType": "ConfigurationItemChangeNotification"'."\n" + .' }'."\n" + .' ],'."\n" + .' "conditions": "{\\"ComplianceConditions\\":\\"{\\\\\\"operator\\\\\\":\\\\\\"and\\\\\\",\\\\\\"children\\\\\\":[{\\\\\\"operator\\\\\\":\\\\\\"GreaterOrEquals\\\\\\",\\\\\\"featurePath\\\\\\":\\\\\\"$.Cpu\\\\\\",\\\\\\"featureSource\\\\\\":\\\\\\"CONFIGURATION\\\\\\",\\\\\\"desired\\\\\\":\\\\\\"2\\\\\\"}]}\\"}"'."\n" + .' },'."\n" + .' "inputParameters": {}'."\n" + .' },'."\n" + .' {'."\n" + .' "configRuleName": "OSS存储空间Referer在指定的防盗链白名单中",'."\n" + .' "scope": {'."\n" + .' "complianceResourceTypes": ['."\n" + .' "ACS::OSS::Bucket"'."\n" + .' ]'."\n" + .' },'."\n" + .' "description": "OSS存储空间开启防盗链并且Referer在指定白名单中,视为“合规”。",'."\n" + .' "source": {'."\n" + .' "owner": "ALIYUN",'."\n" + .' "identifier": "oss-bucket-referer-limit",'."\n" + .' "sourceDetails": ['."\n" + .' {'."\n" + .' "messageType": "ConfigurationItemChangeNotification"'."\n" + .' }'."\n" + .' ]'."\n" + .' },'."\n" + .' "inputParameters": {'."\n" + .' "allowEmptyReferer": "true",'."\n" + .' "allowReferers": "http://www.aliyun.com"'."\n" + .' }'."\n" + .' }'."\n" + .' ]'."\n" + .'}', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'A client token. It is used to ensure the idempotence of the request. Generate a value from your client to make sure that the value is unique among different requests. `ClientToken` supports only ASCII characters and cannot exceed 64 characters in length.', - 'type' => 'string', - 'required' => false, - 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', - 'title' => '', - ], + 'schema' => ['description' => 'A client token. It is used to ensure the idempotence of the request. Generate a value from your client to make sure that the value is unique among different requests. `ClientToken` supports only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', 'title' => ''], ], [ 'name' => 'DefaultEnable', 'in' => 'formData', - 'schema' => [ - 'description' => 'Indicates whether the rule is enabled for quick activation. Valid values:'."\n" - ."\n" - .'- true: The rule is enabled when you quickly activate the compliance pack.'."\n" - ."\n" - .'- false (default): The rule is not enabled.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'title' => '', - ], + 'schema' => ['description' => 'Indicates whether the rule is enabled for quick activation. Valid values:'."\n" + ."\n" + .'- true: The rule is enabled when you quickly activate the compliance pack.'."\n" + ."\n" + .'- false (default): The rule is not enabled.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack takes effect only for resources in the specified regions. Separate multiple region IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'The compliance pack takes effect only for resources in the specified regions. Separate multiple region IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ExcludeRegionIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack does not take effect for resources in the specified regions. The resources in these regions are not evaluated. Separate multiple region IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - 'title' => '', - ], + 'schema' => ['description' => 'The compliance pack does not take effect for resources in the specified regions. The resources in these regions are not evaluated. Separate multiple region IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ExcludeResourceIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack does not take effect for the specified resources. The resources are not evaluated. Separate multiple resource IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'eip-8vbf3x310fn56ijfd****', - 'title' => '', - ], + 'schema' => ['description' => 'The compliance pack does not take effect for the specified resources. The resources are not evaluated. Separate multiple resource IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'eip-8vbf3x310fn56ijfd****', 'title' => ''], ], [ 'name' => 'ResourceIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack takes effect only for the specified resources. Separate multiple resource IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'lb-5cmbowstbkss9ta03****', - 'title' => '', - ], + 'schema' => ['description' => 'The compliance pack takes effect only for the specified resources. Separate multiple resource IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'lb-5cmbowstbkss9ta03****', 'title' => ''], ], [ 'name' => 'ResourceGroupIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack takes effect only for resources in the specified resource groups. Separate multiple resource group IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aekzc7r7rhx****', - 'title' => '', - ], + 'schema' => ['description' => 'The compliance pack takes effect only for resources in the specified resource groups. Separate multiple resource group IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzc7r7rhx****', 'title' => ''], ], [ 'name' => 'ExcludeResourceGroupIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack does not take effect for resources in the specified resource groups. The resources in these resource groups are not evaluated. Separate multiple resource group IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-bnczc6r7rml****', - 'title' => '', - ], + 'schema' => ['description' => 'The compliance pack does not take effect for resources in the specified resource groups. The resources in these resource groups are not evaluated. Separate multiple resource group IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'rg-bnczc6r7rml****', 'title' => ''], ], [ 'name' => 'TagKeyScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack takes effect only for resources that have the specified tag key.', - 'type' => 'string', - 'required' => false, - 'example' => 'ECS', - 'title' => '', - ], + 'schema' => ['description' => 'The compliance pack takes effect only for resources that have the specified tag key.', 'type' => 'string', 'required' => false, 'example' => 'ECS', 'title' => ''], ], [ 'name' => 'TagValueScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack takes effect only for resources that have the specified tag key-value pair.'."\n" - ."\n" - .'> TagValueScope must be used with TagKeyScope.', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - 'title' => '', - ], + 'schema' => ['description' => 'The compliance pack takes effect only for resources that have the specified tag key-value pair.'."\n" + ."\n" + .'> TagValueScope must be used with TagKeyScope.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'TagsScope', @@ -1788,20 +1074,8 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key of the resource.', - 'type' => 'string', - 'required' => false, - 'example' => 'tagKey1', - 'title' => '', - ], - 'TagValue' => [ - 'description' => 'The tag value of the resource.', - 'type' => 'string', - 'required' => false, - 'example' => 'tagValue1', - 'title' => '', - ], + 'TagKey' => ['description' => 'The tag key of the resource.', 'type' => 'string', 'required' => false, 'example' => 'tagKey1', 'title' => ''], + 'TagValue' => ['description' => 'The tag value of the resource.', 'type' => 'string', 'required' => false, 'example' => 'tagValue1', 'title' => ''], ], 'required' => false, 'description' => '', @@ -1824,20 +1098,8 @@ 'description' => 'The scope of excluded tags.', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key of the resource.', - 'type' => 'string', - 'required' => false, - 'example' => '4', - 'title' => '', - ], - 'TagValue' => [ - 'description' => 'The tag value of the resource.', - 'type' => 'string', - 'required' => false, - 'example' => 'user', - 'title' => '', - ], + 'TagKey' => ['description' => 'The tag key of the resource.', 'type' => 'string', 'required' => false, 'example' => '4', 'title' => ''], + 'TagValue' => ['description' => 'The tag value of the resource.', 'type' => 'string', 'required' => false, 'example' => 'user', 'title' => ''], ], 'required' => false, 'title' => '', @@ -1863,24 +1125,12 @@ .'You can add up to 20 tags.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key of the resource.'."\n" - ."\n" - .'You can add up to 20 tag keys.', - 'type' => 'string', - 'required' => false, - 'example' => 'key-1', - 'title' => '', - ], - 'Value' => [ - 'description' => 'The tag value of the resource.'."\n" - ."\n" - .'You can add up to 20 tag values.', - 'type' => 'string', - 'required' => false, - 'example' => 'value-1', - 'title' => '', - ], + 'Key' => ['description' => 'The tag key of the resource.'."\n" + ."\n" + .'You can add up to 20 tag keys.', 'type' => 'string', 'required' => false, 'example' => 'key-1', 'title' => ''], + 'Value' => ['description' => 'The tag value of the resource.'."\n" + ."\n" + .'You can add up to 20 tag values.', 'type' => 'string', 'required' => false, 'example' => 'value-1', 'title' => ''], ], 'required' => false, 'title' => '', @@ -1899,18 +1149,8 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance pack.', - 'type' => 'string', - 'example' => 'cp-fc56626622af00f9****', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'CC0CE5EB-E51E-48EB-B4AB-9A9E131ECC0F', - 'title' => '', - ], + 'CompliancePackId' => ['description' => 'The ID of the compliance pack.', 'type' => 'string', 'example' => 'cp-fc56626622af00f9****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CC0CE5EB-E51E-48EB-B4AB-9A9E131ECC0F', 'title' => ''], ], 'title' => '', 'example' => '', @@ -1919,73 +1159,28 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'CompliancePackExists', - 'errorMessage' => 'The compliance pack already exists.', - 'description' => 'The compliance pack name already exists.', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], - [ - 'errorCode' => 'CompliancePackExceedMaxCount', - 'errorMessage' => 'The maximum number of compliance pack is exceeded.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.CompliancePackName.Value', - 'errorMessage' => 'The specified CompliancePackName is invalid.', - 'description' => 'The specified compliance pack name is invalid.', - ], - [ - 'errorCode' => 'Invalid.CompliancePackTemplateId.Value', - 'errorMessage' => 'The specified CompliancePackTemplateId does not exist.', - 'description' => 'The specified compliance pack template ID does not exist.', - ], - [ - 'errorCode' => 'Invalid.ConfigRules.Empty', - 'errorMessage' => 'You must specify ConfigRules.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.ConfigRules.Value', - 'errorMessage' => 'The specified ConfigRules is invalid.', - 'description' => 'The specified ConfigRules is invalid.', - ], - [ - 'errorCode' => 'ConfigRuleExceedMaxRuleCount', - 'errorMessage' => 'The maximum number of config rules is exceeded.', - 'description' => '', - ], + ['errorCode' => 'CompliancePackExists', 'errorMessage' => 'The compliance pack already exists.', 'description' => 'The compliance pack name already exists.'], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], + ['errorCode' => 'CompliancePackExceedMaxCount', 'errorMessage' => 'The maximum number of compliance pack is exceeded.', 'description' => ''], + ['errorCode' => 'Invalid.CompliancePackName.Value', 'errorMessage' => 'The specified CompliancePackName is invalid.', 'description' => 'The specified compliance pack name is invalid.'], + ['errorCode' => 'Invalid.CompliancePackTemplateId.Value', 'errorMessage' => 'The specified CompliancePackTemplateId does not exist.', 'description' => 'The specified compliance pack template ID does not exist.'], + ['errorCode' => 'Invalid.ConfigRules.Empty', 'errorMessage' => 'You must specify ConfigRules.', 'description' => ''], + ['errorCode' => 'Invalid.ConfigRules.Value', 'errorMessage' => 'The specified ConfigRules is invalid.', 'description' => 'The specified ConfigRules is invalid.'], + ['errorCode' => 'ConfigRuleExceedMaxRuleCount', 'errorMessage' => 'The maximum number of config rules is exceeded.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'AggregatorMemberNoPermission', - 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', - 'description' => 'The aggregator member is not authorized to perform the operation.', - ], + ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => 'The aggregator member is not authorized to perform the operation.'], ], [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'CreateAggregateCompliancePack', + 'summary' => 'Creates a compliance pack for a specified account group.', 'description' => '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.'."\n" ."\n" .'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.'."\n" @@ -1997,12 +1192,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'CreateAggregateCompliancePack', - ], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregateCompliancePack'], ], ], 'ramActions' => [ @@ -2013,12 +1203,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*'], ], ], ], @@ -2026,14 +1211,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CompliancePackId\\": \\"cp-fc56626622af00f9****\\",\\n \\"RequestId\\": \\"CC0CE5EB-E51E-48EB-B4AB-9A9E131ECC0F\\"\\n}","type":"json"}]', ], 'CreateAggregateConfigDeliveryChannel' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2045,38 +1224,23 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigL91U0A', - ], + 'abilityTreeNodes' => ['FEATUREconfigL91U0A'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'example' => 'ca-a4e5626622af0079****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'example' => 'ca-a4e5626622af0079****', 'title' => ''], ], [ 'name' => 'DeliveryChannelName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the delivery channel.'."\n" - ."\n" - .'> If you do not set this parameter, this parameter is empty.', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'testoss', - 'title' => '', - ], + 'schema' => ['description' => 'The name of the delivery channel.'."\n" + ."\n" + .'> If you do not set this parameter, this parameter is empty.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'testoss', 'title' => ''], ], [ 'name' => 'DeliveryChannelType', @@ -2092,11 +1256,7 @@ 'type' => 'string', 'required' => true, 'docRequired' => true, - 'enum' => [ - 'OSS', - 'MNS', - 'SLS', - ], + 'enum' => ['OSS', 'MNS', 'SLS'], 'example' => 'OSS', 'title' => '', ], @@ -2104,182 +1264,116 @@ [ 'name' => 'DeliveryChannelTargetArn', 'in' => 'query', - 'schema' => [ - 'description' => 'The ARN of the delivery destination. Valid values:'."\n" - ."\n" - .'- If the delivery channel type is OSS, the value of this parameter is in the `acs:oss:{RegionId}:{accountId}:{bucketName}` format. Example: `acs:oss:cn-shanghai:100931896542****:new-bucket`.'."\n" - ."\n" - .'- If the delivery channel type is MNS, the value of this parameter is in the `acs:mns:{RegionId}:{accountId}:/topics/{topicName}` format. Example: `acs:mns:cn-shanghai:100931896542****:/topics/topic1`.'."\n" - ."\n" - .'- If the delivery channel type is SLS, the value of this parameter is in the `acs:log:{RegionId}:{accountId}:project/{projectName}/logstore/{logstoreName}` format. Example: `acs:log:cn-shanghai:100931896542****:project/project1/logstore/logstore1`.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket', - 'title' => '', - ], + 'schema' => ['description' => 'The ARN of the delivery destination. Valid values:'."\n" + ."\n" + .'- If the delivery channel type is OSS, the value of this parameter is in the `acs:oss:{RegionId}:{accountId}:{bucketName}` format. Example: `acs:oss:cn-shanghai:100931896542****:new-bucket`.'."\n" + ."\n" + .'- If the delivery channel type is MNS, the value of this parameter is in the `acs:mns:{RegionId}:{accountId}:/topics/{topicName}` format. Example: `acs:mns:cn-shanghai:100931896542****:/topics/topic1`.'."\n" + ."\n" + .'- If the delivery channel type is SLS, the value of this parameter is in the `acs:log:{RegionId}:{accountId}:project/{projectName}/logstore/{logstoreName}` format. Example: `acs:log:cn-shanghai:100931896542****:project/project1/logstore/logstore1`.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket', 'title' => ''], ], [ 'name' => 'DeliveryChannelCondition', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule that is used to filter events or resources for the delivery channel. This parameter is supported for all deliveries to MNS channels and for snapshot deliveries to SLS channels.'."\n" - ."\n" - .'- For an MNS channel, you can specify the following rules to filter events:'."\n" - ."\n" - .' - The minimum risk level of the events to which you want to subscribe is `{"filterType":"RuleRiskLevel","value":"1","multiple":false}`.'."\n" - ."\n" - .' The \\`value\\` parameter specifies the risk level. Valid values: 1, 2, and 3. The value 1 indicates high risk. The value 2 indicates medium risk. The value 3 indicates low risk.'."\n" - ."\n" - .' - The resource types of the events to which you want to subscribe are `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" - ."\n" - .' The \\`values\\` parameter specifies the resource types of the events to which you want to subscribe. The value of this parameter is a JSON array of strings.'."\n" - .' Example:'."\n" - .' `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n" - ."\n" - .'- For an SLS channel, you can specify the following rule to filter snapshots:'."\n" - ."\n" - .' The resource types of the snapshots to be delivered are `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" - ."\n" - .' `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]', - 'title' => '', - ], + 'schema' => ['description' => 'The rule that is used to filter events or resources for the delivery channel. This parameter is supported for all deliveries to MNS channels and for snapshot deliveries to SLS channels.'."\n" + ."\n" + .'- For an MNS channel, you can specify the following rules to filter events:'."\n" + ."\n" + .' - The minimum risk level of the events to which you want to subscribe is `{"filterType":"RuleRiskLevel","value":"1","multiple":false}`.'."\n" + ."\n" + .' The \\`value\\` parameter specifies the risk level. Valid values: 1, 2, and 3. The value 1 indicates high risk. The value 2 indicates medium risk. The value 3 indicates low risk.'."\n" + ."\n" + .' - The resource types of the events to which you want to subscribe are `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" + ."\n" + .' The \\`values\\` parameter specifies the resource types of the events to which you want to subscribe. The value of this parameter is a JSON array of strings.'."\n" + .' Example:'."\n" + .' `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n" + ."\n" + .'- For an SLS channel, you can specify the following rule to filter snapshots:'."\n" + ."\n" + .' The resource types of the snapshots to be delivered are `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" + ."\n" + .' `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]', 'title' => ''], ], [ 'name' => 'OversizedDataOSSTargetArn', 'in' => 'query', - 'schema' => [ - 'description' => 'The ARN of the OSS bucket that is used to store oversized data to be delivered when the size of the data exceeds the specified limit of the delivery channel. The value is in the `acs:oss:{RegionId}:{accountId}:{bucketName}` format.'."\n" - ."\n" - .'If you do not set this parameter, Cloud Config delivers only summary information.'."\n" - ."\n" - .'> This parameter is applicable only to delivery channels of the SLS or MNS type. The maximum size of data that can be delivered to an SLS Logstore is 1 MB. The maximum size of data that can be delivered to an MNS topic is 64 KB.', - 'type' => 'string', - 'required' => false, - 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket', - 'title' => '', - ], + 'schema' => ['description' => 'The ARN of the OSS bucket that is used to store oversized data to be delivered when the size of the data exceeds the specified limit of the delivery channel. The value is in the `acs:oss:{RegionId}:{accountId}:{bucketName}` format.'."\n" + ."\n" + .'If you do not set this parameter, Cloud Config delivers only summary information.'."\n" + ."\n" + .'> This parameter is applicable only to delivery channels of the SLS or MNS type. The maximum size of data that can be delivered to an SLS Logstore is 1 MB. The maximum size of data that can be delivered to an MNS topic is 64 KB.', 'type' => 'string', 'required' => false, 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the delivery channel.', - 'type' => 'string', - 'required' => false, - 'example' => 'My OSS delivery.', - 'title' => '', - ], + 'schema' => ['description' => 'The description of the delivery channel.', 'type' => 'string', 'required' => false, 'example' => 'My OSS delivery.', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client-generated token that you can use to ensure the idempotence of the request. You must make sure that the token is unique for each request.'."\n" - ."\n" - .'The `ClientToken` parameter can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).', - 'type' => 'string', - 'required' => false, - 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', - 'title' => '', - ], + 'schema' => ['description' => 'A client-generated token that you can use to ensure the idempotence of the request. You must make sure that the token is unique for each request.'."\n" + ."\n" + .'The `ClientToken` parameter can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', 'title' => ''], ], [ 'name' => 'ConfigurationSnapshot', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to deliver scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots to OSS, SLS, or MNS at `04:00Z` and `16:00Z` (UTC) every day. Valid values:'."\n" - ."\n" - .'- true: Deliver scheduled resource snapshots.'."\n" - ."\n" - .'- false (default): Do not deliver scheduled resource snapshots.'."\n" - ."\n" - .'> * If the delivery channel type is OSS, you must set at least one of the \\`ConfigurationSnapshot\\` and \\`ConfigurationItemChangeNotification\\` parameters to true.'."\n" - ."\n" - .'> - If the delivery channel type is SLS, you must set at least one of the \\`ConfigurationSnapshot\\`, \\`ConfigurationItemChangeNotification\\`, and \\`NonCompliantNotification\\` parameters to true.', - 'type' => 'boolean', - 'default' => 'false', - 'required' => false, - 'example' => 'true', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to deliver scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots to OSS, SLS, or MNS at `04:00Z` and `16:00Z` (UTC) every day. Valid values:'."\n" + ."\n" + .'- true: Deliver scheduled resource snapshots.'."\n" + ."\n" + .'- false (default): Do not deliver scheduled resource snapshots.'."\n" + ."\n" + .'> * If the delivery channel type is OSS, you must set at least one of the \\`ConfigurationSnapshot\\` and \\`ConfigurationItemChangeNotification\\` parameters to true.'."\n" + ."\n" + .'> - If the delivery channel type is SLS, you must set at least one of the \\`ConfigurationSnapshot\\`, \\`ConfigurationItemChangeNotification\\`, and \\`NonCompliantNotification\\` parameters to true.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'CompliantSnapshot', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to deliver compliance snapshots. Cloud Config delivers information about the compliance and non-compliance of resources to SLS. Valid values:'."\n" - ."\n" - .'- true: Deliver compliance snapshots.'."\n" - ."\n" - .'- false: Do not deliver compliance snapshots.', - 'type' => 'boolean', - 'default' => 'false', - 'required' => false, - 'example' => 'false', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to deliver compliance snapshots. Cloud Config delivers information about the compliance and non-compliance of resources to SLS. Valid values:'."\n" + ."\n" + .'- true: Deliver compliance snapshots.'."\n" + ."\n" + .'- false: Do not deliver compliance snapshots.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'ConfigurationItemChangeNotification', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to deliver the resource configuration change history. If the configurations of a resource change, Cloud Config delivers the configuration change history to OSS, SLS, or MNS. Valid values:'."\n" - ."\n" - .'- true: Deliver the resource configuration change history.'."\n" - ."\n" - .'- false (default): Do not deliver the resource configuration change history.'."\n" - ."\n" - .'> * If the delivery channel type is OSS, you must set at least one of the \\`ConfigurationSnapshot\\` and \\`ConfigurationItemChangeNotification\\` parameters to true.'."\n" - ."\n" - .'> - If the delivery channel type is SLS, you must set at least one of the \\`ConfigurationSnapshot\\`, \\`ConfigurationItemChangeNotification\\`, and \\`NonCompliantNotification\\` parameters to true.'."\n" - ."\n" - .'> - If the delivery channel type is MNS, you must set at least one of the \\`ConfigurationItemChangeNotification\\` and \\`NonCompliantNotification\\` parameters to true.', - 'type' => 'boolean', - 'default' => 'false', - 'required' => false, - 'example' => 'false', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to deliver the resource configuration change history. If the configurations of a resource change, Cloud Config delivers the configuration change history to OSS, SLS, or MNS. Valid values:'."\n" + ."\n" + .'- true: Deliver the resource configuration change history.'."\n" + ."\n" + .'- false (default): Do not deliver the resource configuration change history.'."\n" + ."\n" + .'> * If the delivery channel type is OSS, you must set at least one of the \\`ConfigurationSnapshot\\` and \\`ConfigurationItemChangeNotification\\` parameters to true.'."\n" + ."\n" + .'> - If the delivery channel type is SLS, you must set at least one of the \\`ConfigurationSnapshot\\`, \\`ConfigurationItemChangeNotification\\`, and \\`NonCompliantNotification\\` parameters to true.'."\n" + ."\n" + .'> - If the delivery channel type is MNS, you must set at least one of the \\`ConfigurationItemChangeNotification\\` and \\`NonCompliantNotification\\` parameters to true.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'NonCompliantNotification', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to deliver resource non-compliance events. If a resource is evaluated as non-compliant, Cloud Config delivers the non-compliance event to SLS or MNS. Valid values:'."\n" - ."\n" - .'- true: Deliver resource non-compliance events.'."\n" - ."\n" - .'- false (default): Do not deliver resource non-compliance events.'."\n" - ."\n" - .'> * If the delivery channel type is SLS, you must set at least one of the \\`ConfigurationSnapshot\\`, \\`ConfigurationItemChangeNotification\\`, and \\`NonCompliantNotification\\` parameters to true.'."\n" - ."\n" - .'> - If the delivery channel type is MNS, you must set at least one of the \\`ConfigurationItemChangeNotification\\` and \\`NonCompliantNotification\\` parameters to true.', - 'type' => 'boolean', - 'default' => 'false', - 'required' => false, - 'example' => 'false', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to deliver resource non-compliance events. If a resource is evaluated as non-compliant, Cloud Config delivers the non-compliance event to SLS or MNS. Valid values:'."\n" + ."\n" + .'- true: Deliver resource non-compliance events.'."\n" + ."\n" + .'- false (default): Do not deliver resource non-compliance events.'."\n" + ."\n" + .'> * If the delivery channel type is SLS, you must set at least one of the \\`ConfigurationSnapshot\\`, \\`ConfigurationItemChangeNotification\\`, and \\`NonCompliantNotification\\` parameters to true.'."\n" + ."\n" + .'> - If the delivery channel type is MNS, you must set at least one of the \\`ConfigurationItemChangeNotification\\` and \\`NonCompliantNotification\\` parameters to true.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'DeliverySnapshotTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The time of day from which scheduled resource snapshots are delivered. The time is displayed in UTC.'."\n" - ."\n" - .'The value is in the `HH:mmZ` format.'."\n" - ."\n" - .'> If you enable the scheduled delivery of resource snapshots, you can use this parameter to customize the delivery time. If you do not set this parameter, the snapshots are delivered at `04:00Z` and `16:00Z` every day by default.', - 'type' => 'string', - 'required' => false, - 'example' => '09:10Z', - 'title' => '', - ], + 'schema' => ['description' => 'The time of day from which scheduled resource snapshots are delivered. The time is displayed in UTC.'."\n" + ."\n" + .'The value is in the `HH:mmZ` format.'."\n" + ."\n" + .'> If you enable the scheduled delivery of resource snapshots, you can use this parameter to customize the delivery time. If you do not set this parameter, the snapshots are delivered at `04:00Z` and `16:00Z` every day by default.', 'type' => 'string', 'required' => false, 'example' => '09:10Z', 'title' => ''], ], ], 'responses' => [ @@ -2288,18 +1382,8 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG', - 'title' => '', - ], - 'DeliveryChannelId' => [ - 'description' => 'The ID of the delivery channel.', - 'type' => 'string', - 'example' => 'cdc-8e45ff4e06a3a8****', - 'title' => '', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG', 'title' => ''], + 'DeliveryChannelId' => ['description' => 'The ID of the delivery channel.', 'type' => 'string', 'example' => 'cdc-8e45ff4e06a3a8****', 'title' => ''], ], 'title' => '', 'example' => '', @@ -2308,58 +1392,18 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'DeliveryChannelNotExists', - 'errorMessage' => 'The delivery channel does not exist.', - 'description' => 'The delivery channel does not exist.', - ], - [ - 'errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', - 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', - 'description' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', - ], - [ - 'errorCode' => 'Invalid.DeliveryChannelTargetArn.Format', - 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.', - 'description' => 'The specified format of DeliveryChannelTargetArn is invalid.', - ], - [ - 'errorCode' => 'Invalid.DeliveryChannelCondition.Format', - 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.', - 'description' => 'The specified format of DeliveryChannelCondition is invalid.', - ], - [ - 'errorCode' => 'MemberNotBelongToMaster', - 'errorMessage' => 'The specified member does not belong to your organization.', - 'description' => '', - ], - [ - 'errorCode' => 'DeliveryChannelAccountNotSupport', - 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.', - 'description' => 'Cross-account delivery that is not in the RD is not supported.', - ], - [ - 'errorCode' => 'DeliveryChannelMnsUnreachable', - 'errorMessage' => 'The MNS topic is unreachable.', - 'description' => 'The MNS topic is unreachable.', - ], - [ - 'errorCode' => 'DeliveryChannelOssUnreachable', - 'errorMessage' => 'The OSS bucket is unreachable.', - 'description' => 'The OSS bucket is unreachable.', - ], - [ - 'errorCode' => 'DeliveryChannelSlsUnreachable', - 'errorMessage' => 'SLS logstore is unreachable.', - 'description' => '', - ], + ['errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => 'The delivery channel does not exist.'], + ['errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', 'description' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.'], + ['errorCode' => 'Invalid.DeliveryChannelTargetArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.', 'description' => 'The specified format of DeliveryChannelTargetArn is invalid.'], + ['errorCode' => 'Invalid.DeliveryChannelCondition.Format', 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.', 'description' => 'The specified format of DeliveryChannelCondition is invalid.'], + ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''], + ['errorCode' => 'DeliveryChannelAccountNotSupport', 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.', 'description' => 'Cross-account delivery that is not in the RD is not supported.'], + ['errorCode' => 'DeliveryChannelMnsUnreachable', 'errorMessage' => 'The MNS topic is unreachable.', 'description' => 'The MNS topic is unreachable.'], + ['errorCode' => 'DeliveryChannelOssUnreachable', 'errorMessage' => 'The OSS bucket is unreachable.', 'description' => 'The OSS bucket is unreachable.'], + ['errorCode' => 'DeliveryChannelSlsUnreachable', 'errorMessage' => 'SLS logstore is unreachable.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], ], 'title' => 'CreateAggregateConfigDeliveryChannel', @@ -2389,12 +1433,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateAggregateConfigDeliveryChannel', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAggregateConfigDeliveryChannel'], ], ], 'ramActions' => [ @@ -2405,12 +1444,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateDelivery', - 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/*'], ], ], ], @@ -2419,13 +1453,8 @@ ], 'CreateAggregateConfigRule' => [ 'summary' => '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.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2437,9 +1466,7 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigQMX28I', - ], + 'abilityTreeNodes' => ['FEATUREconfigQMX28I'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -2447,59 +1474,33 @@ [ 'name' => 'ConfigRuleName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the rule.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '存在所有指定标签', - 'title' => '', - ], + 'schema' => ['description' => 'The name of the rule.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '存在所有指定标签', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'formData', - 'schema' => [ - 'description' => 'The description of the rule.', - 'type' => 'string', - 'required' => false, - 'example' => '最多可以定义6组标签。如果资源同时具有指定的所有标签,则视为“合规”。', - 'title' => '', - ], + 'schema' => ['description' => 'A description of the rule.', 'type' => 'string', 'required' => false, 'example' => '最多可以定义6组标签。如果资源同时具有指定的所有标签,则视为“合规”。', 'title' => ''], ], [ 'name' => 'InputParameters', 'in' => 'formData', 'style' => 'json', - 'schema' => [ - 'description' => 'The input parameters of the rule.', - 'type' => 'object', - 'required' => false, - 'example' => '{"tag1Key":"ECS","tag1Value":"test"}', - 'title' => '', - ], + 'schema' => ['description' => 'The input parameters for the rule.', 'type' => 'object', 'required' => false, 'example' => '{"tag1Key":"ECS","tag1Value":"test"}', 'title' => ''], ], [ 'name' => 'ConfigRuleTriggerTypes', 'in' => 'formData', - 'schema' => [ - 'description' => 'The trigger type of the rule. Valid values:'."\n" - ."\n" - .'- ConfigurationItemChangeNotification: The rule is triggered by configuration changes.'."\n" - ."\n" - .'- ScheduledNotification: The rule is triggered on a regular basis.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ConfigurationItemChangeNotification', - 'title' => '', - ], + 'schema' => ['description' => 'The trigger type for the rule. Valid values:'."\n" + ."\n" + .'- ConfigurationItemChangeNotification: The rule triggers when a resource configuration changes.'."\n" + ."\n" + .'- ScheduledNotification: The rule triggers on a schedule.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ConfigurationItemChangeNotification', 'title' => ''], ], [ 'name' => 'MaximumExecutionFrequency', 'in' => 'formData', 'schema' => [ - 'description' => 'The frequency at which the rule is run. Valid values:'."\n" + 'description' => 'The frequency at which the rule runs. Valid values:'."\n" ."\n" .'- One\\_Hour: 1 hour.'."\n" ."\n" @@ -2511,15 +1512,9 @@ ."\n" .'- TwentyFour\\_Hours (default): 24 hours.'."\n" ."\n" - .'> This parameter is required if you set `ConfigRuleTriggerTypes` to `ScheduledNotification`.', + .'> Set this parameter if you set `ConfigRuleTriggerTypes` to `ScheduledNotification`.', 'type' => 'string', - 'enum' => [ - 'One_Hour', - 'Three_Hours', - 'Six_Hours', - 'Twelve_Hours', - 'TwentyFour_Hours', - ], + 'enum' => ['One_Hour', 'Three_Hours', 'Six_Hours', 'Twelve_Hours', 'TwentyFour_Hours'], 'required' => false, 'example' => 'One_Hour', 'title' => '', @@ -2530,15 +1525,9 @@ 'in' => 'formData', 'style' => 'simple', 'schema' => [ - 'description' => 'The resource types to be evaluated by the rule. Separate multiple resource types with commas (,).', + 'description' => 'The resource types to evaluate. Separate multiple types with commas (,).', 'type' => 'array', - 'items' => [ - 'description' => 'The resource types to be evaluated by the rule. Separate multiple resource types with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'ACS::ECS::Instance', - 'title' => '', - ], + 'items' => ['description' => 'The resource types to evaluate. Separate multiple types with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', 'title' => ''], 'required' => true, 'docRequired' => true, 'example' => 'ACS::ECS::Instance', @@ -2560,11 +1549,7 @@ 'format' => 'int32', 'required' => true, 'docRequired' => true, - 'enum' => [ - '1', - '2', - '3', - ], + 'enum' => ['1', '2', '3'], 'example' => '1', 'title' => '', ], @@ -2572,149 +1557,80 @@ [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'A client token to ensure that the request is idempotent. Generate a unique value from your client for each request. The `ClientToken` parameter must contain only ASCII characters and be no more than 64 characters long.', - 'type' => 'string', - 'required' => false, - 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', - 'title' => '', - ], + 'schema' => ['description' => 'A client token that ensures the request is idempotent. Generate a unique value from your client for each request. The `ClientToken` parameter must contain only ASCII characters and be no more than 64 characters long.', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', 'title' => ''], ], [ 'name' => 'AggregatorId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-a4e5626622af0079****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [the referenced document](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-a4e5626622af0079****', 'title' => ''], ], [ 'name' => 'RegionIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule is effective only for resources in the specified regions. Separate multiple region IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'The rule applies only to resources in the specified regions. Separate multiple region IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ExcludeRegionIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule is not effective for resources in the specified regions. The resources in the specified regions are not evaluated. Separate multiple region IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - 'title' => '', - ], + 'schema' => ['description' => 'The rule does not apply to resources in the specified regions. Resources in these regions are not evaluated. Separate multiple region IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ResourceIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule is effective only for the specified resources. Separate multiple resource IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'lb-5cmbowstbkss9ta03****', - 'title' => '', - ], + 'schema' => ['description' => 'The rule applies only to the specified resources. Separate multiple resource IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'lb-5cmbowstbkss9ta03****', 'title' => ''], ], [ 'name' => 'ExcludeResourceIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule is not effective for the specified resources. The specified resources are not evaluated. Separate multiple resource IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'lb-t4nbowvtbkss7t326****', - 'title' => '', - ], + 'schema' => ['description' => 'The rule does not apply to the specified resources. These resources are not evaluated. Separate multiple resource IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'lb-t4nbowvtbkss7t326****', 'title' => ''], ], [ 'name' => 'ResourceGroupIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule is effective only for resources in the specified resource groups. Separate multiple resource group IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aekzc7r7rhx****', - 'title' => '', - ], + 'schema' => ['description' => 'The rule applies only to resources in the specified resource groups. Separate multiple resource group IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzc7r7rhx****', 'title' => ''], ], [ 'name' => 'ExcludeResourceGroupIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule is not effective for resources in the specified resource groups. The resources in the specified resource groups are not evaluated. Separate multiple resource group IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-bnczc6r7rml****', - 'title' => '', - ], + 'schema' => ['description' => 'The rule does not apply to resources in the specified resource groups. Resources in these groups are not evaluated. Separate multiple resource group IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'rg-bnczc6r7rml****', 'title' => ''], ], [ 'name' => 'TagKeyScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'This parameter is deprecated. Use the `TagsScope` parameter.'."\n" - ."\n" - .'The rule is effective only for resources that have the specified tag keys. Separate multiple tag keys with commas (,).'."\n" - ."\n" - .'> This parameter applies only to rule templates. The `TagKeyScope` and `TagValueScope` parameters must be used together.', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => 'ECS', - 'title' => '', - ], + 'schema' => ['description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" + ."\n" + .'The rule applies only to resources that have the specified tag keys. Separate multiple tag keys with commas (,).'."\n" + ."\n" + .'> This parameter applies only to rule templates. Set both `TagKeyScope` and `TagValueScope` together.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'ECS', 'title' => ''], ], [ 'name' => 'TagValueScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'This parameter is deprecated. Use the `TagsScope` parameter.'."\n" - ."\n" - .'The rule is effective only for resources that have the specified tag values.'."\n" - ."\n" - .'> This parameter applies only to rule templates. The `TagKeyScope` and `TagValueScope` parameters must be used together.', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => 'test', - 'title' => '', - ], + 'schema' => ['description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" + ."\n" + .'The rule applies only to resources that have the specified tag values.'."\n" + ."\n" + .'> This parameter applies only to rule templates. Set both `TagKeyScope` and `TagValueScope` together.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'TagKeyLogicScope', 'in' => 'formData', 'schema' => [ - 'description' => 'The logical relationship for multiple tags in the `TagsScope` parameter. For example, if you set the `TagsScope` parameter to `"TagsScope.1.TagKey":"a","TagsScope.1.TagValue":"a","TagsScope.2.TagKey":"b","TagsScope.2.TagValue":"b"` and set this parameter to `AND`, the rule applies only to resources that have both the `a:a` and `b:b` tags. The default value is `OR`.'."\n" + 'description' => 'The logical relationship between multiple tags in the `TagsScope` parameter. For example, if you set `TagsScope` to `"TagsScope.1.TagKey":"a","TagsScope.1.TagValue":"a","TagsScope.2.TagKey":"b","TagsScope.2.TagValue":"b"` and set this parameter to `AND`, the rule applies only to resources that have both the `a:a` and `b:b` tags. The default value is `OR`.'."\n" ."\n" - .'This parameter can also be used for the deprecated `TagKeyScope` parameter, but this is not recommended. For example, if you set `TagKeyScope` to `ECS,OSS` and set this parameter to `AND`, the rule applies only to resources that have both the `ECS` and `OSS` tags.'."\n" + .'You can also use this parameter with the deprecated `TagKeyScope` parameter, but this is not recommended. For example, if you set `TagKeyScope` to `ECS,OSS` and set this parameter to `AND`, the rule applies only to resources that have both the `ECS` and `OSS` tags.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'- AND'."\n" ."\n" .'- OR', - 'enumValueTitles' => [ - 'OR' => 'OR', - 'AND' => 'AND', - ], + 'enumValueTitles' => ['OR' => 'OR', 'AND' => 'AND'], 'type' => 'string', 'deprecated' => false, - 'enum' => [ - 'AND', - 'OR', - ], + 'enum' => ['AND', 'OR'], 'required' => false, 'example' => 'AND', 'title' => '', @@ -2725,25 +1641,13 @@ 'in' => 'formData', 'style' => 'flat', 'schema' => [ - 'description' => 'The scope of the tags.', + 'description' => 'The scope of tags to include.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key of the resource.', - 'type' => 'string', - 'required' => false, - 'example' => 'key-1', - 'title' => '', - ], - 'TagValue' => [ - 'description' => 'The tag value of the resource.', - 'type' => 'string', - 'required' => false, - 'example' => 'value-1', - 'title' => '', - ], + 'TagKey' => ['description' => 'The tag key of the resource.', 'type' => 'string', 'required' => false, 'example' => 'key-1', 'title' => ''], + 'TagValue' => ['description' => 'The tag value of the resource.', 'type' => 'string', 'required' => false, 'example' => 'value-1', 'title' => ''], ], 'required' => false, 'description' => '', @@ -2761,25 +1665,13 @@ 'in' => 'formData', 'style' => 'flat', 'schema' => [ - 'description' => 'The scope of the tags to be excluded.', + 'description' => 'The scope of tags to exclude.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key of the resource to be excluded.', - 'type' => 'string', - 'required' => false, - 'example' => 'key-2', - 'title' => '', - ], - 'TagValue' => [ - 'description' => 'The tag value of the resource to be excluded.', - 'type' => 'string', - 'required' => false, - 'example' => 'value-2', - 'title' => '', - ], + 'TagKey' => ['description' => 'The tag key of the resource to exclude.', 'type' => 'string', 'required' => false, 'example' => 'key-2', 'title' => ''], + 'TagValue' => ['description' => 'The tag value of the resource to exclude.', 'type' => 'string', 'required' => false, 'example' => 'value-2', 'title' => ''], ], 'required' => false, 'description' => '', @@ -2796,19 +1688,17 @@ 'name' => 'SourceOwner', 'in' => 'formData', 'schema' => [ - 'description' => 'The type of the rule. Valid values:'."\n" + 'description' => 'The type of rule. Valid values:'."\n" ."\n" .'- ALIYUN: rule template'."\n" ."\n" - .'- CUSTOM\\_FC: custom rule', + .'- CUSTOM\\_FC: custom Function Compute rule'."\n" + ."\n" + .'- CUSTOM\\_CONFIGURATION: custom condition rule', 'type' => 'string', 'required' => true, 'docRequired' => true, - 'enum' => [ - 'ALIYUN', - 'CUSTOM_FC', - 'CUSTOM_CONFIGURATION', - ], + 'enum' => ['ALIYUN', 'CUSTOM_FC', 'CUSTOM_CONFIGURATION'], 'example' => 'ALIYUN', 'title' => '', ], @@ -2816,121 +1706,79 @@ [ 'name' => 'SourceIdentifier', 'in' => 'formData', - 'schema' => [ - 'description' => 'The identifier of the rule.'."\n" - ."\n" - .'- If you set `SourceOwner` to `ALIYUN`, enter the identifier of the rule template, such as `required-tags`.'."\n" - ."\n" - .' > For more information about how to query the identifier of a rule template, see [List of rule templates](~~127404~~).'."\n" - ."\n" - .'- If you set `SourceOwner` to `CUSTOM_FC`, enter the Alibaba Cloud Resource Name (ARN) of the function in Function Compute.'."\n" - ."\n" - .' The ARN is in the format of `acs:fc:{region}:{accountId}:services/{serviceName}.LATEST/functions/{functionName}`. For example, `acs:fc:cn-hangzhou:120886317861****:services/service-test.LATEST/functions/config-test`.'."\n" - ."\n" - .' > For more information about how to obtain the ARN of a function, see [ListFunctions](~~415752~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'required-tags', - 'title' => '', - ], + 'schema' => ['description' => 'The identifier of the rule.'."\n" + ."\n" + .'- If `SourceOwner` is `ALIYUN`, enter the identifier of the rule template, such as `required-tags`.'."\n" + ."\n" + .' > For more information about how to query rule template identifiers, see [the referenced document](~~127404~~).'."\n" + ."\n" + .'- If `SourceOwner` is `CUSTOM_CONFIGURATION`, enter `acs-config-configuration`.'."\n" + ."\n" + .'- If `SourceOwner` is `CUSTOM_FC`, enter the Alibaba Cloud Resource Name (ARN) of the Function Compute function.'."\n" + ."\n" + .' The ARN format is `acs:fc:{region}:{accountId}:services/{serviceName}.LATEST/functions/{functionName}`. For example, `acs:fc:cn-hangzhou:120886317861****:services/service-test.LATEST/functions/config-test`.'."\n" + ."\n" + .' > For more information about how to obtain a function ARN, see [the referenced document](~~415752~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'required-tags', 'title' => ''], ], [ 'name' => 'FolderIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule is effective only for resources of the member accounts in the specified folders. Separate multiple folder IDs with commas (,).'."\n" - ."\n" - .'> - This parameter applies only to rules of a global account group.'."\n" - .'>'."\n" - .'> - This parameter applies only to rule templates.', - 'type' => 'string', - 'required' => false, - 'example' => 'fd-ZtHsRH****', - 'title' => '', - ], + 'schema' => ['description' => 'The rule applies only to resources of member accounts in the specified folders. Separate multiple folder IDs with commas (,).'."\n" + ."\n" + .'> - This parameter applies only to global account group rules.'."\n" + .'>'."\n" + .'> - This parameter applies only to rule templates.', 'type' => 'string', 'required' => false, 'example' => 'fd-ZtHsRH****', 'title' => ''], ], [ 'name' => 'ExcludeFolderIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule is not effective for resources of the member accounts in the specified folders. The resources of the member accounts in the specified folders are not evaluated. Separate multiple folder IDs with commas (,).'."\n" - ."\n" - .'> - This parameter applies only to rules of a global account group.'."\n" - .'>'."\n" - .'> - This parameter applies only to rule templates.', - 'type' => 'string', - 'required' => false, - 'example' => 'fd-pWmkqZ****', - 'title' => '', - ], + 'schema' => ['description' => 'The rule does not apply to resources of member accounts in the specified folders. Resources in these folders are not evaluated. Separate multiple folder IDs with commas (,).'."\n" + ."\n" + .'> - This parameter applies only to global account group rules.'."\n" + .'>'."\n" + .'> - This parameter applies only to rule templates.', 'type' => 'string', 'required' => false, 'example' => 'fd-pWmkqZ****', 'title' => ''], ], [ 'name' => 'ExcludeAccountIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule is not effective for resources of the specified member accounts. The resources of the specified member accounts are not evaluated. Separate multiple member account IDs with commas (,).'."\n" - ."\n" - .'> This parameter applies only to rule templates.', - 'type' => 'string', - 'required' => false, - 'example' => '120886317861****', - 'title' => '', - ], + 'schema' => ['description' => 'The rule does not apply to resources of the specified member accounts. Resources in these accounts are not evaluated. Separate multiple member account IDs with commas (,).'."\n" + ."\n" + .'> This parameter applies only to rule templates.', 'type' => 'string', 'required' => false, 'example' => '120886317861****', 'title' => ''], ], [ 'name' => 'AccountIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule is effective only for resources of the specified member accounts. Separate multiple member account IDs with commas (,).'."\n" - ."\n" - .'> This parameter applies only to rule templates.', - 'type' => 'string', - 'required' => false, - 'example' => '115748125982****', - 'title' => '', - ], + 'schema' => ['description' => 'The rule applies only to resources of the specified member accounts. Separate multiple member account IDs with commas (,).'."\n" + ."\n" + .'> This parameter applies only to rule templates.', 'type' => 'string', 'required' => false, 'example' => '115748125982****', 'title' => ''], + ], + [ + 'name' => 'Conditions', + 'in' => 'formData', + 'schema' => ['description' => 'The conditions for a custom condition rule, in JSON format.', 'type' => 'string', 'example' => '{"ComplianceConditions":"{\\"operator\\":\\"and\\",\\"children\\":[{\\"operator\\":\\"StringEquals\\",\\"featurePath\\":\\"$.Status\\",\\"desired\\":\\"1\\",\\"featureSource\\":\\"CONFIGURATION\\"}]}"}', 'title' => '', 'required' => false], ], [ 'name' => 'ExtendContent', 'in' => 'formData', - 'schema' => [ - 'description' => 'The extended content. This parameter specifies the trigger time for a rule that runs on a 24-hour cycle.', - 'type' => 'string', - 'required' => false, - 'example' => '{"fixedHour":"12"}', - 'title' => '', - ], + 'schema' => ['description' => 'Extended content. This parameter currently supports only setting the trigger time for rules that run on a 24-hour cycle.', 'type' => 'string', 'required' => false, 'example' => '{"fixedHour":"12"}', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => 'The tags to add to the rule. You can add up to 20 tags.', + 'description' => 'The tag of the rule.', 'type' => 'array', 'items' => [ 'description' => 'The tag.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The key of the tag.'."\n" - ."\n" - .'You can add up to 20 tag keys.', - 'type' => 'string', - 'required' => false, - 'example' => 'key-1', - 'title' => '', - ], - 'Value' => [ - 'description' => 'The value of the tag.'."\n" - ."\n" - .'You can add up to 20 tag values.', - 'type' => 'string', - 'required' => false, - 'example' => 'value-1', - 'title' => '', - ], + 'Key' => ['description' => 'The key of the tag.'."\n" + ."\n" + .'You can add up to 20 tag keys.', 'type' => 'string', 'required' => false, 'example' => 'key-1', 'title' => ''], + 'Value' => ['description' => 'The value of the tag.'."\n" + ."\n" + .'You can add up to 20 tag values.', 'type' => 'string', 'required' => false, 'example' => 'value-1', 'title' => ''], ], 'required' => false, 'title' => '', @@ -2945,13 +1793,7 @@ [ 'name' => 'ResourceNameScope', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule is effective only for resources that have the specified names.', - 'type' => 'string', - 'required' => false, - 'example' => 'i-xxx', - 'title' => '', - ], + 'schema' => ['description' => 'The rule applies only to resources with the specified names.', 'type' => 'string', 'required' => false, 'example' => 'i-xxx', 'title' => ''], ], ], 'responses' => [ @@ -2960,18 +1802,8 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'ConfigRuleId' => [ - 'description' => 'The ID of the rule.', - 'type' => 'string', - 'example' => 'cr-4e3d626622af0080****', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '5895065A-196C-4254-8AD8-14EFC31EEF50', - 'title' => '', - ], + 'ConfigRuleId' => ['description' => 'The ID of the rule.', 'type' => 'string', 'example' => 'cr-4e3d626622af0080****', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '5895065A-196C-4254-8AD8-14EFC31EEF50', 'title' => ''], ], 'title' => '', 'example' => '', @@ -2980,56 +1812,27 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ExceedMaxRuleCount', - 'errorMessage' => 'The maximum number of rules is exceeded.', - 'description' => '', - ], - [ - 'errorCode' => 'ConfigRuleNotExists', - 'errorMessage' => 'The ConfigRule does not exist.', - 'description' => 'The rule does not exist.', - ], - [ - 'errorCode' => 'ConfigRuleExists', - 'errorMessage' => 'The ConfigRule already exists.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], + ['errorCode' => 'ExceedMaxRuleCount', 'errorMessage' => 'The maximum number of rules is exceeded.', 'description' => ''], + ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => 'The rule does not exist.'], + ['errorCode' => 'ConfigRuleExists', 'errorMessage' => 'The ConfigRule already exists.', 'description' => ''], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], ], 403 => [ - [ - 'errorCode' => 'AggregatorMemberNoPermission', - 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', - 'description' => 'The aggregator member is not authorized to perform the operation.', - ], + ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => 'The aggregator member is not authorized to perform the operation.'], ], [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ConfigRuleId\\": \\"cr-4e3d626622af0080****\\",\\n \\"RequestId\\": \\"5895065A-196C-4254-8AD8-14EFC31EEF50\\"\\n}","type":"json"}]', 'title' => 'CreateAggregateConfigRule', 'description' => '### Limits'."\n" ."\n" - .'Each management account and delegated administrator account can have a maximum of 200 rules.'."\n" + .'Each management account and delegated administrator account can have up to 200 rules.'."\n" ."\n" .'### Background information'."\n" ."\n" @@ -3037,11 +1840,11 @@ ."\n" .'- Create rules from templates'."\n" ."\n" - .' Rule templates are predefined rule functions that Cloud Config provides in Function Compute (FC). You can use rule templates to create rules quickly. For more information about rules, see [Definition and working principle of rules](~~128273~~).'."\n" + .' 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](~~128273~~).'."\n" ."\n" .'- Create rules based on functions in Function Compute'."\n" ."\n" - .' 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, you can write function code to check compliance in complex scenarios. For more information about custom function rules, see [Definition and working principle of custom function rules](~~127405~~).'."\n" + .' 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](~~127405~~).'."\n" ."\n" .'### Usage notes'."\n" ."\n" @@ -3049,12 +1852,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'CreateAggregateConfigRule', - ], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregateConfigRule'], ], ], 'ramActions' => [ @@ -3065,27 +1863,16 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateConfigRule', - 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ConfigRuleId\\": \\"cr-4e3d626622af0080****\\",\\n \\"RequestId\\": \\"5895065A-196C-4254-8AD8-14EFC31EEF50\\"\\n}","type":"json"}]', ], 'CreateAggregateRemediation' => [ 'summary' => 'Creates a remediation for a rule in a specified account group.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3097,133 +1884,77 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule ID.'."\n" - ."\n" - .'For more information about how to obtain the rule ID, see [ListAggregateConfigRules](~~264148~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cr-6b7c626622af00b4****', - 'title' => '', - ], + 'schema' => ['description' => 'The rule ID.'."\n" + ."\n" + .'For more information about how to obtain the rule ID, see [ListAggregateConfigRules](~~264148~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-6b7c626622af00b4****', 'title' => ''], ], [ 'name' => 'RemediationType', 'in' => 'formData', - 'schema' => [ - 'description' => 'The remediation type. Valid values:'."\n" - ."\n" - .'- OOS: OOS (template-based remediation).'."\n" - ."\n" - .'- FC: FC (custom remediation).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'OOS', - 'title' => '', - ], + 'schema' => ['description' => 'The remediation type. Valid values:'."\n" + ."\n" + .'- OOS: OOS (template-based remediation).'."\n" + ."\n" + .'- FC: FC (custom remediation).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'OOS', 'title' => ''], ], [ 'name' => 'RemediationTemplateId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The remediation template ID.'."\n" - ."\n" - .'- If you set `RemediationType` to `OOS`, set this parameter to `ACS-OSS-PutBucketAcl`. For more information about how to obtain the remediation template ID, see [ListRemediationTemplates](~~416781~~).'."\n" - ."\n" - .'- If you set `RemediationType` to `FC`, set this parameter to the Alibaba Cloud Resource Name (ARN) of the function in Function Compute. Example: `acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/test-php`.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ACS-OSS-PutBucketAcl', - 'title' => '', - ], + 'schema' => ['description' => 'The remediation template ID.'."\n" + ."\n" + .'- If you set `RemediationType` to `OOS`, set this parameter to `ACS-OSS-PutBucketAcl`. For more information about how to obtain the remediation template ID, see [ListRemediationTemplates](~~416781~~).'."\n" + ."\n" + .'- If you set `RemediationType` to `FC`, set this parameter to the Alibaba Cloud Resource Name (ARN) of the function in Function Compute. Example: `acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/test-php`.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ACS-OSS-PutBucketAcl', 'title' => ''], ], [ 'name' => 'InvokeType', 'in' => 'formData', - 'schema' => [ - 'description' => 'The execution mode of the remediation. Valid values:'."\n" - ."\n" - .'- NON\\_EXECUTION: The remediation is not executed.'."\n" - ."\n" - .'- AUTO\\_EXECUTION: The remediation is automatically executed.'."\n" - ."\n" - .'- MANUAL\\_EXECUTION: The remediation is manually executed.'."\n" - ."\n" - .'- NOT\\_CONFIG: The execution mode is not set.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'MANUAL_EXECUTION', - 'title' => '', - ], + 'schema' => ['description' => 'The execution mode of the remediation. Valid values:'."\n" + ."\n" + .'- NON\\_EXECUTION: The remediation is not executed.'."\n" + ."\n" + .'- AUTO\\_EXECUTION: The remediation is automatically executed.'."\n" + ."\n" + .'- MANUAL\\_EXECUTION: The remediation is manually executed.'."\n" + ."\n" + .'- NOT\\_CONFIG: The execution mode is not set.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MANUAL_EXECUTION', 'title' => ''], ], [ 'name' => 'SourceType', 'in' => 'formData', - 'schema' => [ - 'description' => 'The source of the remediation template. Valid values:'."\n" - ."\n" - .'- ALIYUN (default): official template.'."\n" - ."\n" - .'- CUSTOM: custom template. This value must be specified for custom FC remediations.'."\n" - ."\n" - .'- NONE: none.', - 'type' => 'string', - 'required' => false, - 'example' => 'ALIYUN', - 'title' => '', - ], + 'schema' => ['description' => 'The source of the remediation template. Valid values:'."\n" + ."\n" + .'- ALIYUN (default): official template.'."\n" + ."\n" + .'- CUSTOM: custom template. This value must be specified for custom FC remediations.'."\n" + ."\n" + .'- NONE: none.', 'type' => 'string', 'required' => false, 'example' => 'ALIYUN', 'title' => ''], ], [ 'name' => 'Params', 'in' => 'formData', - 'schema' => [ - 'description' => 'The parameters of the remediation.'."\n" - ."\n" - .'For more information about how to obtain the parameters of the remediation, see the `TemplateDefinition` parameter in [ListRemediationTemplates](~~416781~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '{"bucketName": "{resourceId}", "regionId": "{regionId}", "permissionName": "private"}', - 'title' => '', - ], + 'schema' => ['description' => 'The parameters of the remediation.'."\n" + ."\n" + .'For more information about how to obtain the parameters of the remediation, see the `TemplateDefinition` parameter in [ListRemediationTemplates](~~416781~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{"bucketName": "{resourceId}", "regionId": "{regionId}", "permissionName": "private"}', 'title' => ''], ], [ 'name' => 'AggregatorId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-6b4a626622af0012****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-6b4a626622af0012****', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'A client token. It is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the value is unique among different requests. The `ClientToken` parameter can contain only ASCII characters and cannot exceed 64 characters in length.', - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAdDWBF2****', - 'title' => '', - ], + 'schema' => ['description' => 'A client token. It is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the value is unique among different requests. The `ClientToken` parameter can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => 'AAAAAdDWBF2****', 'title' => ''], ], ], 'responses' => [ @@ -3232,18 +1963,8 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2', - 'title' => '', - ], - 'RemediationId' => [ - 'description' => 'The remediation ID.', - 'type' => 'string', - 'example' => 'crr-909ba2d4716700eb****', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2', 'title' => ''], + 'RemediationId' => ['description' => 'The remediation ID.', 'type' => 'string', 'example' => 'crr-909ba2d4716700eb****', 'title' => ''], ], 'title' => '', 'example' => '', @@ -3252,33 +1973,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConfigRuleNotExists', - 'errorMessage' => 'The ConfigRule does not exist.', - 'description' => 'The rule does not exist.', - ], - [ - 'errorCode' => 'RemediationInputParamInConsistentWithRule', - 'errorMessage' => 'The remediation parameter does not match the rule parameter.', - 'description' => 'The remediation parameter does not match the rule parameter.', - ], - [ - 'errorCode' => 'RemediationTemplateNotExist', - 'errorMessage' => 'The remediation template does not exist or is invalid.', - 'description' => 'The remediation template does not exist or is invalid.', - ], - [ - 'errorCode' => 'Invalid.Params.Value', - 'errorMessage' => 'The specified parameter value is invalid.', - 'description' => 'The specified parameter value is invalid.', - ], + ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => 'The rule does not exist.'], + ['errorCode' => 'RemediationInputParamInConsistentWithRule', 'errorMessage' => 'The remediation parameter does not match the rule parameter.', 'description' => 'The remediation parameter does not match the rule parameter.'], + ['errorCode' => 'RemediationTemplateNotExist', 'errorMessage' => 'The remediation template does not exist or is invalid.', 'description' => 'The remediation template does not exist or is invalid.'], + ['errorCode' => 'Invalid.Params.Value', 'errorMessage' => 'The specified parameter value is invalid.', 'description' => 'The specified parameter value is invalid.'], ], 403 => [ - [ - 'errorCode' => 'NoPermissionCreateRemediationSLR', - 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.', - 'description' => 'You have no permission to create the service-linked role: AliyunServiceRoleForConfigRemediation.', - ], + ['errorCode' => 'NoPermissionCreateRemediationSLR', 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.', 'description' => 'You have no permission to create the service-linked role: AliyunServiceRoleForConfigRemediation.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\",\\n \\"RemediationId\\": \\"crr-909ba2d4716700eb****\\"\\n}","type":"json"}]', @@ -3300,12 +2001,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'CreateAggregateRemediation', - ], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregateRemediation'], ], ], 'ramActions' => [ @@ -3316,12 +2012,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -3329,13 +2020,8 @@ ], 'CreateAggregator' => [ 'summary' => '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.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3347,34 +2033,19 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigXKWS51', - 'FEATUREconfigJVB3GZ', - ], + 'abilityTreeNodes' => ['FEATUREconfigXKWS51', 'FEATUREconfigJVB3GZ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'AggregatorName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the account group.', - 'type' => 'string', - 'required' => true, - 'example' => 'Example_Aggregator', - 'title' => '', - ], + 'schema' => ['description' => 'The name of the account group.', 'type' => 'string', 'required' => true, 'example' => 'Example_Aggregator', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'formData', - 'schema' => [ - 'description' => 'The description of the account group.', - 'type' => 'string', - 'required' => false, - 'example' => 'Example aggregator used to demonstrate how to create an aggregator.', - 'title' => '', - ], + 'schema' => ['description' => 'The description of the account group.', 'type' => 'string', 'required' => false, 'example' => 'Example aggregator used to demonstrate how to create an aggregator.', 'title' => ''], ], [ 'name' => 'AggregatorAccounts', @@ -3391,28 +2062,9 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'AccountId' => [ - 'description' => 'The member ID. For more information about how to obtain the member ID, see [ListAccounts](~~160016~~).', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '171322098523****', - 'title' => '', - ], - 'AccountName' => [ - 'description' => 'The member name. For more information about how to obtain the member name, see [ListAccounts](~~160016~~).', - 'type' => 'string', - 'required' => false, - 'example' => 'Alice', - 'title' => '', - ], - 'AccountType' => [ - 'description' => 'The affiliation of the member. Only `ResourceDirectory` is supported.', - 'type' => 'string', - 'required' => false, - 'example' => 'ResourceDirectory', - 'title' => '', - ], + 'AccountId' => ['description' => 'The member ID. For more information about how to obtain the member ID, see [ListAccounts](~~160016~~).', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '171322098523****', 'title' => ''], + 'AccountName' => ['description' => 'The member name. For more information about how to obtain the member name, see [ListAccounts](~~160016~~).', 'type' => 'string', 'required' => false, 'example' => 'Alice', 'title' => ''], + 'AccountType' => ['description' => 'The affiliation of the member. Only `ResourceDirectory` is supported.', 'type' => 'string', 'required' => false, 'example' => 'ResourceDirectory', 'title' => ''], ], 'required' => false, 'title' => '', @@ -3426,43 +2078,25 @@ [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'A client token that is used to ensure the idempotence of the request. You must make sure that the token is unique for different requests. The `ClientToken` parameter can contain only ASCII characters and cannot exceed 64 characters in length.', - 'type' => 'string', - 'required' => false, - 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', - 'title' => '', - ], + 'schema' => ['description' => 'A client token that is used to ensure the idempotence of the request. You must make sure that the token is unique for different requests. The `ClientToken` parameter can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', 'title' => ''], ], [ 'name' => 'AggregatorType', 'in' => 'formData', - 'schema' => [ - 'description' => 'The type of the account group. Valid values:'."\n" - ."\n" - .'- RD: global account group.'."\n" - ."\n" - .'- FOLDER: folder account group. You must also set the `FolderId` parameter. For more information about how to obtain a folder ID, see [ListAccounts](~~160016~~).'."\n" - ."\n" - .'- CUSTOM (default): custom account group. You must also set the `AccountId` and `AccountType` parameters for `AggregatorAccounts`.', - 'type' => 'string', - 'required' => false, - 'example' => 'CUSTOM', - 'title' => '', - ], + 'schema' => ['description' => 'The type of the account group. Valid values:'."\n" + ."\n" + .'- RD: global account group.'."\n" + ."\n" + .'- FOLDER: folder account group. You must also set the `FolderId` parameter. For more information about how to obtain a folder ID, see [ListAccounts](~~160016~~).'."\n" + ."\n" + .'- CUSTOM (default): custom account group. You must also set the `AccountId` and `AccountType` parameters for `AggregatorAccounts`.', 'type' => 'string', 'required' => false, 'example' => 'CUSTOM', 'title' => ''], ], [ 'name' => 'FolderId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the attached folder. You can specify multiple folder IDs. Separate the IDs with commas (,).'."\n" - ."\n" - .'This parameter is required if you set `AggregatorType` to `FOLDER`.', - 'type' => 'string', - 'required' => false, - 'example' => 'fd-brHdgv****,fd-brHdgk****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the attached folder. You can specify multiple folder IDs. Separate the IDs with commas (,).'."\n" + ."\n" + .'This parameter is required if you set `AggregatorType` to `FOLDER`.', 'type' => 'string', 'required' => false, 'example' => 'fd-brHdgv****,fd-brHdgk****', 'title' => ''], ], [ 'name' => 'Tag', @@ -3479,24 +2113,12 @@ .'You can attach a maximum of 20 tags.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key of the resource. You can specify a maximum of 20 tag keys. The tag key cannot be an empty string.'."\n" - ."\n" - .'A tag key can be up to 128 characters in length. It cannot start with aliyun or acs: and cannot contain http\\:// or https\\://.', - 'type' => 'string', - 'required' => false, - 'example' => 'key-1', - 'title' => '', - ], - 'Value' => [ - 'description' => 'The tag value of the resource. You can specify a maximum of 20 tag values. The tag value can be an empty string.'."\n" - ."\n" - .'A tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.', - 'type' => 'string', - 'required' => false, - 'example' => 'value-1', - 'title' => '', - ], + 'Key' => ['description' => 'The tag key of the resource. You can specify a maximum of 20 tag keys. The tag key cannot be an empty string.'."\n" + ."\n" + .'A tag key can be up to 128 characters in length. It cannot start with aliyun or acs: and cannot contain http\\:// or https\\://.', 'type' => 'string', 'required' => false, 'example' => 'key-1', 'title' => ''], + 'Value' => ['description' => 'The tag value of the resource. You can specify a maximum of 20 tag values. The tag value can be an empty string.'."\n" + ."\n" + .'A tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'value-1', 'title' => ''], ], 'required' => false, 'title' => '', @@ -3515,18 +2137,8 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '8195B664-9565-4685-89AC-8B5F04B44B92', - 'title' => '', - ], - 'AggregatorId' => [ - 'description' => 'The ID of the account group.', - 'type' => 'string', - 'example' => 'ca-dacf86d8314e00eb****', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '8195B664-9565-4685-89AC-8B5F04B44B92', 'title' => ''], + 'AggregatorId' => ['description' => 'The ID of the account group.', 'type' => 'string', 'example' => 'ca-dacf86d8314e00eb****', 'title' => ''], ], 'title' => '', 'example' => '', @@ -3535,67 +2147,25 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.AggregatorAccounts.Empty', - 'errorMessage' => 'You must specify AggregatorAccounts.', - 'description' => 'You must specify AggregatorAccounts.', - ], - [ - 'errorCode' => 'Invalid.AggregatorAccounts.Value', - 'errorMessage' => 'The specified AggregatorAccounts is invalid.', - 'description' => 'The specified AggregatorAccounts is invalid.', - ], - [ - 'errorCode' => 'Invalid.AccountType.Value', - 'errorMessage' => 'The specified AccountType is invalid.', - 'description' => 'The specified account type is invalid.', - ], - [ - 'errorCode' => 'AggregatorExceedMaxCount', - 'errorMessage' => 'The maximum number of aggregator is exceeded.', - 'description' => 'The maximum number of aggregator is exceeded.', - ], - [ - 'errorCode' => 'AggregatorAccountListDuplicated', - 'errorMessage' => 'The aggregator account list is duplicated.', - 'description' => 'The aggregator account list is duplicated.', - ], - [ - 'errorCode' => 'AggregatorAccountListItemDuplicated', - 'errorMessage' => 'The aggregator account list item is duplicated.', - 'description' => 'The aggregator account list item is duplicated.', - ], - [ - 'errorCode' => 'AggregatorNameDuplicated', - 'errorMessage' => 'The aggregator name is duplicated.', - 'description' => 'The aggregator name is duplicated.', - ], + ['errorCode' => 'Invalid.AggregatorAccounts.Empty', 'errorMessage' => 'You must specify AggregatorAccounts.', 'description' => 'You must specify AggregatorAccounts.'], + ['errorCode' => 'Invalid.AggregatorAccounts.Value', 'errorMessage' => 'The specified AggregatorAccounts is invalid.', 'description' => 'The specified AggregatorAccounts is invalid.'], + ['errorCode' => 'Invalid.AccountType.Value', 'errorMessage' => 'The specified AccountType is invalid.', 'description' => 'The specified account type is invalid.'], + ['errorCode' => 'AggregatorExceedMaxCount', 'errorMessage' => 'The maximum number of aggregator is exceeded.', 'description' => 'The maximum number of aggregator is exceeded.'], + ['errorCode' => 'AggregatorAccountListDuplicated', 'errorMessage' => 'The aggregator account list is duplicated.', 'description' => 'The aggregator account list is duplicated.'], + ['errorCode' => 'AggregatorAccountListItemDuplicated', 'errorMessage' => 'The aggregator account list item is duplicated.', 'description' => 'The aggregator account list item is duplicated.'], + ['errorCode' => 'AggregatorNameDuplicated', 'errorMessage' => 'The aggregator name is duplicated.', 'description' => 'The aggregator name is duplicated.'], ], 403 => [ - [ - 'errorCode' => 'NoPermissionCreateAggregator', - 'errorMessage' => 'You are not authorized to create the aggregator.', - 'description' => 'You are not authorized to create the aggregator.', - ], + ['errorCode' => 'NoPermissionCreateAggregator', 'errorMessage' => 'You are not authorized to create the aggregator.', 'description' => 'You are not authorized to create the aggregator.'], ], [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'CreateAggregator', 'description' => '### Limits'."\n" ."\n" @@ -3630,12 +2200,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'CreateAggregator', - ], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregator'], ], ], 'ramActions' => [ @@ -3646,12 +2211,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Aggregator', - 'arn' => 'acs:config:*:{#accountId}:aggregator/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/*'], ], ], ], @@ -3659,14 +2219,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8195B664-9565-4685-89AC-8B5F04B44B92\\",\\n \\"AggregatorId\\": \\"ca-dacf86d8314e00eb****\\"\\n}","type":"json"}]', ], 'CreateCompliancePack' => [ - 'summary' => 'Creates a compliance package for the current account.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3678,49 +2232,26 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigZWSOST', - ], + 'abilityTreeNodes' => ['FEATUREconfigZWSOST'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'CompliancePackTemplateId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the compliance package template.'."\n" - ."\n" - .'You can call the [ListCompliancePackTemplates](~~261176~~) operation to obtain the ID of the compliance package.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ct-5f26ff4e06a300c4****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the compliance package template.'."\n" + ."\n" + .'You can call the [ListCompliancePackTemplates](~~261176~~) operation to obtain the ID of the compliance package.', 'type' => 'string', 'required' => false, 'example' => 'ct-5f26ff4e06a300c4****', 'title' => ''], ], [ 'name' => 'CompliancePackName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the compliance package.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '等保三级预检合规包', - 'maxLength' => 100, - 'title' => '', - ], + 'schema' => ['description' => 'The name of the compliance package.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'maxLength' => 100, 'example' => '等保三级预检合规包', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'formData', - 'schema' => [ - 'description' => 'The description of the compliance package.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '等保三级预检合规包', - 'maxLength' => 500, - 'title' => '', - ], + 'schema' => ['description' => 'The description of the compliance package.', 'type' => 'string', 'maxLength' => 500, 'required' => false, 'example' => '等保三级预检合规包', 'title' => ''], ], [ 'name' => 'RiskLevel', @@ -3728,22 +2259,20 @@ 'schema' => [ 'description' => 'The risk level of the resources that are not compliant with the rules in the compliance package. Default value: 2. Valid values:'."\n" ."\n" - .'* 1: high.'."\n" - .'* 2: medium.'."\n" - .'* 3: low.'."\n", + .'- 1: high.'."\n" + ."\n" + .'- 2: medium.'."\n" + ."\n" + .'- 3: low.', 'type' => 'integer', 'format' => 'int32', - 'required' => false, 'maximum' => '3', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, + 'enum' => ['1', '2', '3'], + 'required' => false, 'example' => '2', - 'enum' => [ - '1', - '2', - '3', - ], 'title' => '', ], ], @@ -3752,53 +2281,29 @@ 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'description' => 'The rules in the compliance package. You must specify either this parameter or TemplateContent.'."\n", + 'description' => 'The rules in the compliance package. You must specify either this parameter or TemplateContent.', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ - 'ManagedRuleIdentifier' => [ - 'description' => 'The identifier of the managed rule. Cloud Config automatically creates a managed rule based on the specified identifier and adds the rule to the compliance package.'."\n" - ."\n" - .'You need to only specify `ManagedRuleIdentifier` or `ConfigRuleId`. If you specify both parameters, Cloud Config adds a rule based on the value of `ConfigRuleId`. You can call the [ListCompliancePackTemplates](~~261176~~) operation to obtain the identifier of the managed rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'eip-bandwidth-limit', - 'title' => '', - ], - 'ConfigRuleName' => [ - 'description' => 'The name of the rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '弹性IP实例带宽满足最低要求', - 'title' => '', - ], + 'ManagedRuleIdentifier' => ['description' => 'The identifier of the managed rule. Cloud Config automatically creates a managed rule based on the specified identifier and adds the rule to the compliance package.'."\n" + ."\n" + .'You need to only specify `ManagedRuleIdentifier` or `ConfigRuleId`. If you specify both parameters, Cloud Config adds a rule based on the value of `ConfigRuleId`. You can call the [ListCompliancePackTemplates](~~261176~~) operation to obtain the identifier of the managed rule.', 'type' => 'string', 'required' => false, 'example' => 'eip-bandwidth-limit', 'title' => ''], + 'ConfigRuleName' => ['description' => 'The name of the rule.', 'type' => 'string', 'required' => false, 'example' => '弹性IP实例带宽满足最低要求', 'title' => ''], 'ConfigRuleParameters' => [ - 'description' => 'The input parameters of the rule.'."\n", + 'description' => 'The input parameters of the rule.', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ - 'ParameterName' => [ - 'description' => 'The name of the input parameter.'."\n" - ."\n" - .'You must specify both `ParameterName` and `ParameterValue` or neither of them. If the managed rule has an input parameter but no default value is specified, you must specify this parameter. You can call the [ListCompliancePackTemplates](~~261176~~) operation to obtain the names of input parameters of the managed rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'bandwidth', - 'title' => '', - ], - 'ParameterValue' => [ - 'description' => 'The value of the input parameter.'."\n" - ."\n" - .'You must specify both `ParameterName` and `ParameterValue` or neither of them. If the managed rule has an input parameter but no default value is specified, you must specify this parameter. You can call the [ListCompliancePackTemplates](~~261176~~) operation to obtain the values of input parameters of the managed rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10', - 'title' => '', - ], + 'ParameterName' => ['description' => 'The name of the input parameter.'."\n" + ."\n" + .'You must specify both `ParameterName` and `ParameterValue` or neither of them. If the managed rule has an input parameter but no default value is specified, you must specify this parameter. You can call the [ListCompliancePackTemplates](~~261176~~) operation to obtain the names of input parameters of the managed rule.', 'type' => 'string', 'required' => false, 'example' => 'bandwidth', 'title' => ''], + 'ParameterValue' => ['description' => 'The value of the input parameter.'."\n" + ."\n" + .'You must specify both `ParameterName` and `ParameterValue` or neither of them. If the managed rule has an input parameter but no default value is specified, you must specify this parameter. You can call the [ListCompliancePackTemplates](~~261176~~) operation to obtain the values of input parameters of the managed rule.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], 'required' => false, 'title' => '', @@ -3808,34 +2313,17 @@ 'title' => '', 'example' => '', ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID. If you specify this parameter, Cloud Config adds the rule that has the specified ID to the compliance package.'."\n" - ."\n" - .'You need to only specify `ManagedRuleIdentifier` or `ConfigRuleId`. If you specify both parameters, Cloud Config adds a rule based on the value of `ConfigRuleId`. You can call the [ListConfigRules](~~169607~~) operation to obtain the rule ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cr-e918626622af000f****', - 'title' => '', - ], - 'Description' => [ - 'description' => 'The description of the rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '弹性公网已绑定到ECS或者NAT实例,非闲置状态,视为“合规”。', - 'title' => '', - ], - 'RiskLevel' => [ - 'description' => 'The risk level of the resources that do not comply with the rule. Valid values:'."\n" - ."\n" - .'* 1: high.'."\n" - .'* 2: medium.'."\n" - .'* 3: low.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'title' => '', - ], + 'ConfigRuleId' => ['description' => 'The rule ID. If you specify this parameter, Cloud Config adds the rule that has the specified ID to the compliance package.'."\n" + ."\n" + .'You need to only specify `ManagedRuleIdentifier` or `ConfigRuleId`. If you specify both parameters, Cloud Config adds a rule based on the value of `ConfigRuleId`. You can call the [ListConfigRules](~~169607~~) operation to obtain the rule ID.', 'type' => 'string', 'required' => false, 'example' => 'cr-e918626622af000f****', 'title' => ''], + 'Description' => ['description' => 'The description of the rule.', 'type' => 'string', 'required' => false, 'example' => '弹性公网已绑定到ECS或者NAT实例,非闲置状态,视为“合规”。', 'title' => ''], + 'RiskLevel' => ['description' => 'The risk level of the resources that do not comply with the rule. Valid values:'."\n" + ."\n" + .'- 1: high.'."\n" + ."\n" + .'- 2: medium.'."\n" + ."\n" + .'- 3: low.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], 'required' => false, 'title' => '', @@ -3849,178 +2337,112 @@ [ 'name' => 'TemplateContent', 'in' => 'formData', - 'schema' => [ - 'description' => 'The information about the template that is used to generate the compliance package. You can call an API operation to view the details of an existing compliance package or write a compliance package template. For more information, see [Write a compliance package template in a configuration file](~~2659733~~). You must specify one of ConfigRules and TemplateContent.', - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "configRuleTemplates": ['."\n" - .' {'."\n" - .' "configRuleName": "自定义条件规则示例",'."\n" - .' "scope": {'."\n" - .' "complianceResourceTypes": ['."\n" - .' "ACS::ECS::Instance"'."\n" - .' ]'."\n" - .' },'."\n" - .' "description": "",'."\n" - .' "source": {'."\n" - .' "owner": "CUSTOM_CONFIGURATION",'."\n" - .' "identifier": "acs-config-configuration",'."\n" - .' "sourceDetails": ['."\n" - .' {'."\n" - .' "messageType": "ScheduledNotification",'."\n" - .' "maximumExecutionFrequency": "Twelve_Hours"'."\n" - .' },'."\n" - .' {'."\n" - .' "messageType": "ConfigurationItemChangeNotification"'."\n" - .' }'."\n" - .' ],'."\n" - .' "conditions": "{\\"ComplianceConditions\\":\\"{\\\\\\"operator\\\\\\":\\\\\\"and\\\\\\",\\\\\\"children\\\\\\":[{\\\\\\"operator\\\\\\":\\\\\\"GreaterOrEquals\\\\\\",\\\\\\"featurePath\\\\\\":\\\\\\"$.Cpu\\\\\\",\\\\\\"featureSource\\\\\\":\\\\\\"CONFIGURATION\\\\\\",\\\\\\"desired\\\\\\":\\\\\\"2\\\\\\"}]}\\"}"'."\n" - .' },'."\n" - .' "inputParameters": {}'."\n" - .' },'."\n" - .' {'."\n" - .' "configRuleName": "OSS存储空间Referer在指定的防盗链白名单中",'."\n" - .' "scope": {'."\n" - .' "complianceResourceTypes": ['."\n" - .' "ACS::OSS::Bucket"'."\n" - .' ]'."\n" - .' },'."\n" - .' "description": "OSS存储空间开启防盗链并且Referer在指定白名单中,视为“合规”。",'."\n" - .' "source": {'."\n" - .' "owner": "ALIYUN",'."\n" - .' "identifier": "oss-bucket-referer-limit",'."\n" - .' "sourceDetails": ['."\n" - .' {'."\n" - .' "messageType": "ConfigurationItemChangeNotification"'."\n" - .' }'."\n" - .' ]'."\n" - .' },'."\n" - .' "inputParameters": {'."\n" - .' "allowEmptyReferer": "true",'."\n" - .' "allowReferers": "http://www.aliyun.com"'."\n" - .' }'."\n" - .' }'."\n" - .' ]'."\n" - .'}', - 'maxLength' => 1024000, - 'title' => '', - ], + 'schema' => ['description' => 'The information about the template that is used to generate the compliance package. You can call an API operation to view the details of an existing compliance package or write a compliance package template. For more information, see [Write a compliance package template in a configuration file](~~2659733~~). You must specify one of ConfigRules and TemplateContent.', 'type' => 'string', 'maxLength' => 1024000, 'required' => false, 'example' => '{'."\n" + .' "configRuleTemplates": ['."\n" + .' {'."\n" + .' "configRuleName": "自定义条件规则示例",'."\n" + .' "scope": {'."\n" + .' "complianceResourceTypes": ['."\n" + .' "ACS::ECS::Instance"'."\n" + .' ]'."\n" + .' },'."\n" + .' "description": "",'."\n" + .' "source": {'."\n" + .' "owner": "CUSTOM_CONFIGURATION",'."\n" + .' "identifier": "acs-config-configuration",'."\n" + .' "sourceDetails": ['."\n" + .' {'."\n" + .' "messageType": "ScheduledNotification",'."\n" + .' "maximumExecutionFrequency": "Twelve_Hours"'."\n" + .' },'."\n" + .' {'."\n" + .' "messageType": "ConfigurationItemChangeNotification"'."\n" + .' }'."\n" + .' ],'."\n" + .' "conditions": "{\\"ComplianceConditions\\":\\"{\\\\\\"operator\\\\\\":\\\\\\"and\\\\\\",\\\\\\"children\\\\\\":[{\\\\\\"operator\\\\\\":\\\\\\"GreaterOrEquals\\\\\\",\\\\\\"featurePath\\\\\\":\\\\\\"$.Cpu\\\\\\",\\\\\\"featureSource\\\\\\":\\\\\\"CONFIGURATION\\\\\\",\\\\\\"desired\\\\\\":\\\\\\"2\\\\\\"}]}\\"}"'."\n" + .' },'."\n" + .' "inputParameters": {}'."\n" + .' },'."\n" + .' {'."\n" + .' "configRuleName": "OSS存储空间Referer在指定的防盗链白名单中",'."\n" + .' "scope": {'."\n" + .' "complianceResourceTypes": ['."\n" + .' "ACS::OSS::Bucket"'."\n" + .' ]'."\n" + .' },'."\n" + .' "description": "OSS存储空间开启防盗链并且Referer在指定白名单中,视为“合规”。",'."\n" + .' "source": {'."\n" + .' "owner": "ALIYUN",'."\n" + .' "identifier": "oss-bucket-referer-limit",'."\n" + .' "sourceDetails": ['."\n" + .' {'."\n" + .' "messageType": "ConfigurationItemChangeNotification"'."\n" + .' }'."\n" + .' ]'."\n" + .' },'."\n" + .' "inputParameters": {'."\n" + .' "allowEmptyReferer": "true",'."\n" + .' "allowReferers": "http://www.aliyun.com"'."\n" + .' }'."\n" + .' }'."\n" + .' ]'."\n" + .'}', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'The client token that you want to use to ensure the idempotency of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.``'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', - 'title' => '', - ], + 'schema' => ['description' => 'The client token that you want to use to ensure the idempotency of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.\\`\\`', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', 'title' => ''], ], [ 'name' => 'DefaultEnable', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the rule together with the compliance package. Valid values:'."\n" - ."\n" - .'* true: The system enables the rule together with the compliance package.'."\n" - .'* false: The system does not enable the rule together with the compliance package.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to enable the rule together with the compliance package. Valid values:'."\n" + ."\n" + .'- true: The system enables the rule together with the compliance package.'."\n" + ."\n" + .'- false: The system does not enable the rule together with the compliance package.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the region whose resources you want to evaluate by using the compliance package. Separate multiple region IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the region whose resources you want to evaluate by using the compliance package. Separate multiple region IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ExcludeRegionIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'ExcludeRegionIdsScope', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'ExcludeRegionIdsScope', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ExcludeResourceIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the resource that you do not want to evaluate by using the compliance package. Separate multiple resource IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'eip-8vbf3x310fn56ijfd****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the resource that you do not want to evaluate by using the compliance package. Separate multiple resource IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'eip-8vbf3x310fn56ijfd****', 'title' => ''], ], [ 'name' => 'ResourceIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'ResourceIdsScope', - 'type' => 'string', - 'required' => false, - 'example' => 'eip-8vbf3x310fn56ijfd****'."\n", - 'title' => '', - ], + 'schema' => ['description' => 'ResourceIdsScope', 'type' => 'string', 'required' => false, 'example' => 'eip-8vbf3x310fn56ijfd****'."\n", 'title' => ''], ], [ 'name' => 'ResourceGroupIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the resource group whose resources you want to evaluate by using the compliance package. Separate multiple resource group IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aekzdibsjjc****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the resource group whose resources you want to evaluate by using the compliance package. Separate multiple resource group IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzdibsjjc****', 'title' => ''], ], [ 'name' => 'ExcludeResourceGroupIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'ExcludeResourceGroupIdsScope. Separate multiple resource group IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-bnczc6r7rml****', - 'title' => '', - ], + 'schema' => ['description' => 'ExcludeResourceGroupIdsScope. Separate multiple resource group IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'rg-bnczc6r7rml****', 'title' => ''], ], [ 'name' => 'TagKeyScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The tag key of the resource that you want to evaluate by using the compliance package.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ECS', - 'title' => '', - ], + 'schema' => ['description' => 'The tag key of the resource that you want to evaluate by using the compliance package.', 'type' => 'string', 'required' => false, 'example' => 'ECS', 'title' => ''], ], [ 'name' => 'TagValueScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The tag value of the resource that you want to evaluate by using the compliance package.'."\n" - ."\n" - .'> You must configure the TagValueScope parameter together with the TagKeyScope parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - 'title' => '', - ], + 'schema' => ['description' => 'The tag value of the resource that you want to evaluate by using the compliance package.'."\n" + ."\n" + .'> You must configure the TagValueScope parameter together with the TagKeyScope parameter.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'TagsScope', @@ -4032,20 +2454,8 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'Tagkey', - 'type' => 'string', - 'required' => false, - 'example' => 'key-1', - 'title' => '', - ], - 'TagValue' => [ - 'description' => 'TagValue', - 'type' => 'string', - 'required' => false, - 'example' => 'value-1', - 'title' => '', - ], + 'TagKey' => ['description' => 'Tagkey', 'type' => 'string', 'required' => false, 'example' => 'key-1', 'title' => ''], + 'TagValue' => ['description' => 'TagValue', 'type' => 'string', 'required' => false, 'example' => 'value-1', 'title' => ''], ], 'required' => false, 'description' => '', @@ -4065,23 +2475,11 @@ 'description' => 'ExcludeTagsScope', 'type' => 'array', 'items' => [ - 'description' => 'The tags that are excluded.'."\n", + 'description' => 'The tags that are excluded.', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'TagKey', - 'type' => 'string', - 'required' => false, - 'example' => 'key-2', - 'title' => '', - ], - 'TagValue' => [ - 'description' => 'TagValue', - 'type' => 'string', - 'required' => false, - 'example' => 'value-2', - 'title' => '', - ], + 'TagKey' => ['description' => 'TagKey', 'type' => 'string', 'required' => false, 'example' => 'key-2', 'title' => ''], + 'TagValue' => ['description' => 'TagValue', 'type' => 'string', 'required' => false, 'example' => 'value-2', 'title' => ''], ], 'required' => false, 'title' => '', @@ -4099,36 +2497,24 @@ 'schema' => [ 'description' => 'The tags of the resource.'."\n" ."\n" - .'You can add up to 20 tags to a resource.'."\n", + .'You can add up to 20 tags to a resource.', 'type' => 'array', 'items' => [ 'description' => 'The tags of the resource.'."\n" ."\n" - .'You can add up to 20 tags to a resource.'."\n", + .'You can add up to 20 tags to a resource.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag keys.'."\n" - ."\n" - .'The tag keys cannot be an empty string. The tag keys can be up to 64 characters in length. The tag keys cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.'."\n" - ."\n" - .'You can specify at most 20 tag keys in each call.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'key-1', - 'title' => '', - ], - 'Value' => [ - 'description' => 'The tag values.'."\n" - ."\n" - .'The tag values can be an empty string or up to 128 characters in length. The tag values cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.'."\n" - ."\n" - .'Each key-value must be unique. You can specify at most 20 tag values in each call.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'value-1', - 'title' => '', - ], + 'Key' => ['description' => 'The tag keys.'."\n" + ."\n" + .'The tag keys cannot be an empty string. The tag keys can be up to 64 characters in length. The tag keys cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.'."\n" + ."\n" + .'You can specify at most 20 tag keys in each call.', 'type' => 'string', 'required' => false, 'example' => 'key-1', 'title' => ''], + 'Value' => ['description' => 'The tag values.'."\n" + ."\n" + .'The tag values can be an empty string or up to 128 characters in length. The tag values cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.'."\n" + ."\n" + .'Each key-value must be unique. You can specify at most 20 tag values in each call.', 'type' => 'string', 'required' => false, 'example' => 'value-1', 'title' => ''], ], 'required' => false, 'title' => '', @@ -4144,21 +2530,11 @@ 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The response parameters.'."\n", + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'CompliancePackId' => [ - 'description' => 'The compliance package ID.'."\n", - 'type' => 'string', - 'example' => 'cp-a8a8626622af0082****', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - 'title' => '', - ], + 'CompliancePackId' => ['description' => 'The compliance package ID.', 'type' => 'string', 'example' => 'cp-a8a8626622af0082****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', 'title' => ''], ], 'title' => '', 'example' => '', @@ -4167,72 +2543,35 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'CompliancePackExceedMaxCount', - 'errorMessage' => 'The maximum number of compliance pack is exceeded.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.ConfigRules.Empty', - 'errorMessage' => 'You must specify ConfigRules.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.ConfigRules.Value', - 'errorMessage' => 'The specified ConfigRules is invalid.', - 'description' => 'The specified ConfigRules is invalid.', - ], - [ - 'errorCode' => 'ConfigRuleExceedMaxRuleCount', - 'errorMessage' => 'The maximum number of config rules is exceeded.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.CompliancePackName.Empty', - 'errorMessage' => 'You must specify CompliancePackName.', - 'description' => 'You must specify compliance pack name.', - ], - [ - 'errorCode' => 'Invalid.CompliancePackName.Value', - 'errorMessage' => 'The specified CompliancePackName is invalid.', - 'description' => 'The specified compliance pack name is invalid.', - ], - [ - 'errorCode' => 'Invalid.CompliancePackTemplateId.Value', - 'errorMessage' => 'The specified CompliancePackTemplateId does not exist.', - 'description' => 'The specified compliance pack template ID does not exist.', - ], - [ - 'errorCode' => 'CompliancePackExists', - 'errorMessage' => 'The compliance pack already exists.', - 'description' => 'The compliance pack name already exists.', - ], + ['errorCode' => 'CompliancePackExceedMaxCount', 'errorMessage' => 'The maximum number of compliance pack is exceeded.', 'description' => ''], + ['errorCode' => 'Invalid.ConfigRules.Empty', 'errorMessage' => 'You must specify ConfigRules.', 'description' => ''], + ['errorCode' => 'Invalid.ConfigRules.Value', 'errorMessage' => 'The specified ConfigRules is invalid.', 'description' => 'The specified ConfigRules is invalid.'], + ['errorCode' => 'ConfigRuleExceedMaxRuleCount', 'errorMessage' => 'The maximum number of config rules is exceeded.', 'description' => ''], + ['errorCode' => 'Invalid.CompliancePackName.Empty', 'errorMessage' => 'You must specify CompliancePackName.', 'description' => 'You must specify compliance pack name.'], + ['errorCode' => 'Invalid.CompliancePackName.Value', 'errorMessage' => 'The specified CompliancePackName is invalid.', 'description' => 'The specified compliance pack name is invalid.'], + ['errorCode' => 'Invalid.CompliancePackTemplateId.Value', 'errorMessage' => 'The specified CompliancePackTemplateId does not exist.', 'description' => 'The specified compliance pack template ID does not exist.'], + ['errorCode' => 'CompliancePackExists', 'errorMessage' => 'The compliance pack already exists.', 'description' => 'The compliance pack name already exists.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CompliancePackId\\": \\"cp-a8a8626622af0082****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateCompliancePackResponse>\\n <CompliancePackId>cp-a8a8626622af0082****</CompliancePackId>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n</CreateCompliancePackResponse>","errorExample":""}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'CreateCompliancePack', + 'summary' => 'Creates a compliance package for the current account.', 'description' => 'Each ordinary account can create up to five compliance packages.'."\n" ."\n" - .'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`.'."\n", - 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n", + .'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`.', + 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).', 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateCompliancePack'], + ], + ], 'ramActions' => [ [ 'operationType' => 'create', @@ -4241,37 +2580,17 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'CompliancePack', - 'arn' => 'acs:config:*:{#accountId}:compliancepack/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/*'], ], ], ], ], - 'flowControl' => [ - 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'CreateCompliancePack', - ], - ], - ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CompliancePackId\\": \\"cp-a8a8626622af0082****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","type":"json"}]', ], 'CreateConfigDeliveryChannel' => [ 'summary' => 'Creates a delivery channel to deliver resource data to Simple Log Service (SLS), Object Storage Service (OSS), or Simple Message Queue (formerly MNS).', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4283,25 +2602,16 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigL91U0A', - ], + 'abilityTreeNodes' => ['FEATUREconfigL91U0A'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'DeliveryChannelName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the delivery channel.'."\n" - ."\n" - .'> If you do not set this parameter, the value is left empty.', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'testoss', - 'title' => '', - ], + 'schema' => ['description' => 'The name of the delivery channel.'."\n" + ."\n" + .'> If you do not set this parameter, the value is left empty.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'testoss', 'title' => ''], ], [ 'name' => 'DeliveryChannelType', @@ -4317,11 +2627,7 @@ 'type' => 'string', 'required' => true, 'docRequired' => true, - 'enum' => [ - 'OSS', - 'MNS', - 'SLS', - ], + 'enum' => ['OSS', 'MNS', 'SLS'], 'example' => 'OSS', 'title' => '', ], @@ -4329,189 +2635,123 @@ [ 'name' => 'DeliveryChannelTargetArn', 'in' => 'query', - 'schema' => [ - 'description' => 'The ARN of the delivery destination. Valid values:'."\n" - ."\n" - .'- If the delivery channel is OSS, the value is in the format of `acs:oss:{RegionId}:{accountId}:{bucketName}`. Example: `acs:oss:cn-shanghai:100931896542****:new-bucket`.'."\n" - ."\n" - .'- If the delivery channel is MNS, the value is in the format of `acs:mns:{RegionId}:{accountId}:/topics/{topicName}`. Example: `acs:mns:cn-shanghai:100931896542****:/topics/topic1`.'."\n" - ."\n" - .'- If the delivery channel is SLS, the value is in the format of `acs:log:{RegionId}:{accountId}:project/{projectName}/logstore/{logstoreName}`. Example: `acs:log:cn-shanghai:100931896542****:project/project1/logstore/logstore1`.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket', - 'title' => '', - ], + 'schema' => ['description' => 'The ARN of the delivery destination. Valid values:'."\n" + ."\n" + .'- If the delivery channel is OSS, the value is in the format of `acs:oss:{RegionId}:{accountId}:{bucketName}`. Example: `acs:oss:cn-shanghai:100931896542****:new-bucket`.'."\n" + ."\n" + .'- If the delivery channel is MNS, the value is in the format of `acs:mns:{RegionId}:{accountId}:/topics/{topicName}`. Example: `acs:mns:cn-shanghai:100931896542****:/topics/topic1`.'."\n" + ."\n" + .'- If the delivery channel is SLS, the value is in the format of `acs:log:{RegionId}:{accountId}:project/{projectName}/logstore/{logstoreName}`. Example: `acs:log:cn-shanghai:100931896542****:project/project1/logstore/logstore1`.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket', 'title' => ''], ], [ 'name' => 'DeliveryChannelCondition', 'in' => 'query', - 'schema' => [ - 'description' => 'An additional rule for the delivery channel. Use this rule to specify filter conditions for subscriptions.'."\n" - ."\n" - .'- If you subscribe to compliance events, you can specify the minimum risk level and resource types as follows:'."\n" - ."\n" - .' - To specify the minimum risk level of events, use `{"filterType":"RuleRiskLevel","value":"1","multiple":false}`.'."\n" - ."\n" - .' `value` specifies the risk level to filter. Valid values: 1 for high, 2 for medium, and 3 for low.'."\n" - ."\n" - .' `multiple` specifies whether the filter supports multiple values. The risk level filter supports only a single value. Therefore, set `multiple` to `false` when you deliver compliance events.'."\n" - ."\n" - .' - To specify the resource types of events, use `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" - ."\n" - .' `values` specifies the resource types to which you want to subscribe. The value is a JSON array of resource types.'."\n" - .' Example:'."\n" - .' `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n" - ."\n" - .' `multiple` specifies whether the filter supports multiple values. The resource type filter supports multiple values. If you select multiple resource types, set `multiple` to `true`.'."\n" - ."\n" - .' - You can also specify a risk level and resource types at the same time. Example:'."\n" - .' `[{"filterType":"RuleRiskLevel","value":"2","multiple":false},{"filterType":"ResourceType","values":["ACS::CDN::Domain","ACS::ActionTrail::Trail"],"multiple":true}]`'."\n" - ."\n" - .'- If you subscribe to resource configuration deliveries, you can specify the resource types as `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" - ."\n" - .' `values` specifies the resource types that you want to deliver. The value is a JSON array of resource types.'."\n" - .' Example:'."\n" - .' `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]', - 'title' => '', - ], + 'schema' => ['description' => 'An additional rule for the delivery channel. Use this rule to specify filter conditions for subscriptions.'."\n" + ."\n" + .'- If you subscribe to compliance events, you can specify the minimum risk level and resource types as follows:'."\n" + ."\n" + .' - To specify the minimum risk level of events, use `{"filterType":"RuleRiskLevel","value":"1","multiple":false}`.'."\n" + ."\n" + .' `value` specifies the risk level to filter. Valid values: 1 for high, 2 for medium, and 3 for low.'."\n" + ."\n" + .' `multiple` specifies whether the filter supports multiple values. The risk level filter supports only a single value. Therefore, set `multiple` to `false` when you deliver compliance events.'."\n" + ."\n" + .' - To specify the resource types of events, use `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" + ."\n" + .' `values` specifies the resource types to which you want to subscribe. The value is a JSON array of resource types.'."\n" + .' Example:'."\n" + .' `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n" + ."\n" + .' `multiple` specifies whether the filter supports multiple values. The resource type filter supports multiple values. If you select multiple resource types, set `multiple` to `true`.'."\n" + ."\n" + .' - You can also specify a risk level and resource types at the same time. Example:'."\n" + .' `[{"filterType":"RuleRiskLevel","value":"2","multiple":false},{"filterType":"ResourceType","values":["ACS::CDN::Domain","ACS::ActionTrail::Trail"],"multiple":true}]`'."\n" + ."\n" + .'- If you subscribe to resource configuration deliveries, you can specify the resource types as `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" + ."\n" + .' `values` specifies the resource types that you want to deliver. The value is a JSON array of resource types.'."\n" + .' Example:'."\n" + .' `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]', 'title' => ''], ], [ 'name' => 'OversizedDataOSSTargetArn', 'in' => 'query', - 'schema' => [ - 'description' => 'The ARN of the OSS bucket to which the oversized data is delivered when the size of the data exceeds the limit of the delivery channel. The format is `acs:oss:{RegionId}:{accountId}:{bucketName}`.'."\n" - ."\n" - .'If you do not set this parameter, Cloud Config delivers only the summary of the data.'."\n" - ."\n" - .'> This parameter is supported only for SLS and MNS delivery channels. The delivery channel limit for SLS is 1 MB. The delivery channel limit for MNS is 64 KB.', - 'type' => 'string', - 'required' => false, - 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket', - 'title' => '', - ], + 'schema' => ['description' => 'The ARN of the OSS bucket to which the oversized data is delivered when the size of the data exceeds the limit of the delivery channel. The format is `acs:oss:{RegionId}:{accountId}:{bucketName}`.'."\n" + ."\n" + .'If you do not set this parameter, Cloud Config delivers only the summary of the data.'."\n" + ."\n" + .'> This parameter is supported only for SLS and MNS delivery channels. The delivery channel limit for SLS is 1 MB. The delivery channel limit for MNS is 64 KB.', 'type' => 'string', 'required' => false, 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the delivery channel.', - 'type' => 'string', - 'required' => false, - 'example' => 'My OSS delivery.', - 'title' => '', - ], + 'schema' => ['description' => 'The description of the delivery channel.', 'type' => 'string', 'required' => false, 'example' => 'My OSS delivery.', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client token. It is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the value is unique among different requests.'."\n" - ."\n" - .'`ClientToken` can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).', - 'type' => 'string', - 'required' => false, - 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', - 'title' => '', - ], + 'schema' => ['description' => 'A client token. It is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the value is unique among different requests.'."\n" + ."\n" + .'`ClientToken` can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', 'title' => ''], ], [ 'name' => 'ConfigurationSnapshot', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to deliver scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots to OSS or SLS at `04:00Z` and `16:00Z` (UTC) every day. Valid values:'."\n" - ."\n" - .'- true: Deliver scheduled resource snapshots.'."\n" - ."\n" - .'- false (default): Do not deliver scheduled resource snapshots.'."\n" - ."\n" - .'> * If the delivery channel is OSS, you must set at least one of `ConfigurationSnapshot` (scheduled resource snapshots) and `ConfigurationItemChangeNotification` (resource configuration histories) to true.'."\n" - ."\n" - .'> - If the delivery channel is SLS, you must set at least one of `ConfigurationSnapshot` (scheduled resource snapshots), `ConfigurationItemChangeNotification` (resource configuration histories), `CompliantSnapshot` (compliance snapshots), and `NonCompliantNotification` (non-compliant events) to true.', - 'type' => 'boolean', - 'default' => 'false', - 'required' => false, - 'example' => 'true', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to deliver scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots to OSS or SLS at `04:00Z` and `16:00Z` (UTC) every day. Valid values:'."\n" + ."\n" + .'- true: Deliver scheduled resource snapshots.'."\n" + ."\n" + .'- false (default): Do not deliver scheduled resource snapshots.'."\n" + ."\n" + .'> * If the delivery channel is OSS, you must set at least one of `ConfigurationSnapshot` (scheduled resource snapshots) and `ConfigurationItemChangeNotification` (resource configuration histories) to true.'."\n" + ."\n" + .'> - If the delivery channel is SLS, you must set at least one of `ConfigurationSnapshot` (scheduled resource snapshots), `ConfigurationItemChangeNotification` (resource configuration histories), `CompliantSnapshot` (compliance snapshots), and `NonCompliantNotification` (non-compliant events) to true.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'CompliantSnapshot', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to deliver compliance snapshots. Cloud Config delivers the compliance and non-compliance information of resources to SLS. Valid values:'."\n" - ."\n" - .'- true: Deliver compliance snapshots.'."\n" - ."\n" - .'- false: Do not deliver compliance snapshots.', - 'type' => 'boolean', - 'default' => 'false', - 'required' => false, - 'example' => 'false', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to deliver compliance snapshots. Cloud Config delivers the compliance and non-compliance information of resources to SLS. Valid values:'."\n" + ."\n" + .'- true: Deliver compliance snapshots.'."\n" + ."\n" + .'- false: Do not deliver compliance snapshots.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'ConfigurationItemChangeNotification', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to deliver resource configuration histories. When the configuration of a resource changes, Cloud Config delivers the resource configuration history to OSS, SLS, or MNS. Valid values:'."\n" - ."\n" - .'- true: Deliver resource configuration histories.'."\n" - ."\n" - .'- false (default): Do not deliver resource configuration histories.'."\n" - ."\n" - .'> * If the delivery channel is OSS, you must set at least one of `ConfigurationSnapshot` (scheduled resource snapshots) and `ConfigurationItemChangeNotification` (resource configuration histories) to true.'."\n" - ."\n" - .'> - If the delivery channel is SLS, you must set at least one of `ConfigurationSnapshot` (scheduled resource snapshots), `CompliantSnapshot` (compliance snapshots), `ConfigurationItemChangeNotification` (resource configuration histories), and `NonCompliantNotification` (non-compliant events) to true.'."\n" - ."\n" - .'> - If the delivery channel is MNS, you must set at least one of `ConfigurationItemChangeNotification` (resource configuration histories) and `NonCompliantNotification` (non-compliant events) to true.', - 'type' => 'boolean', - 'default' => 'false', - 'required' => false, - 'example' => 'false', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to deliver resource configuration histories. When the configuration of a resource changes, Cloud Config delivers the resource configuration history to OSS, SLS, or MNS. Valid values:'."\n" + ."\n" + .'- true: Deliver resource configuration histories.'."\n" + ."\n" + .'- false (default): Do not deliver resource configuration histories.'."\n" + ."\n" + .'> * If the delivery channel is OSS, you must set at least one of `ConfigurationSnapshot` (scheduled resource snapshots) and `ConfigurationItemChangeNotification` (resource configuration histories) to true.'."\n" + ."\n" + .'> - If the delivery channel is SLS, you must set at least one of `ConfigurationSnapshot` (scheduled resource snapshots), `CompliantSnapshot` (compliance snapshots), `ConfigurationItemChangeNotification` (resource configuration histories), and `NonCompliantNotification` (non-compliant events) to true.'."\n" + ."\n" + .'> - If the delivery channel is MNS, you must set at least one of `ConfigurationItemChangeNotification` (resource configuration histories) and `NonCompliantNotification` (non-compliant events) to true.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'NonCompliantNotification', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to deliver non-compliant events. When a resource is evaluated as non-compliant, Cloud Config delivers the non-compliant event to SLS or MNS. Valid values:'."\n" - ."\n" - .'- true: Deliver non-compliant events.'."\n" - ."\n" - .'- false (default): Do not deliver non-compliant events.'."\n" - ."\n" - .'> * If the delivery channel is SLS, you must set at least one of `ConfigurationSnapshot` (scheduled resource snapshots), `CompliantSnapshot` (compliance snapshots), `ConfigurationItemChangeNotification` (resource configuration histories), and `NonCompliantNotification` (non-compliant events) to true.'."\n" - ."\n" - .'> - If the delivery channel is MNS, you must set at least one of `ConfigurationItemChangeNotification` (resource configuration histories) and `NonCompliantNotification` (non-compliant events) to true.', - 'type' => 'boolean', - 'default' => 'false', - 'required' => false, - 'example' => 'false', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to deliver non-compliant events. When a resource is evaluated as non-compliant, Cloud Config delivers the non-compliant event to SLS or MNS. Valid values:'."\n" + ."\n" + .'- true: Deliver non-compliant events.'."\n" + ."\n" + .'- false (default): Do not deliver non-compliant events.'."\n" + ."\n" + .'> * If the delivery channel is SLS, you must set at least one of `ConfigurationSnapshot` (scheduled resource snapshots), `CompliantSnapshot` (compliance snapshots), `ConfigurationItemChangeNotification` (resource configuration histories), and `NonCompliantNotification` (non-compliant events) to true.'."\n" + ."\n" + .'> - If the delivery channel is MNS, you must set at least one of `ConfigurationItemChangeNotification` (resource configuration histories) and `NonCompliantNotification` (non-compliant events) to true.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'DeliverySnapshotTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when Cloud Config starts to deliver scheduled resource snapshots every day.'."\n" - ."\n" - .'The value must be in the `HH:mmZ` format (UTC).'."\n" - ."\n" - .'> When you enable scheduled resource snapshot delivery, you can use this parameter to customize the delivery time. If you do not set this parameter, the snapshots are delivered at `04:00Z` and `16:00Z` (UTC) by default.', - 'type' => 'string', - 'required' => false, - 'example' => '09:10Z', - 'title' => '', - ], + 'schema' => ['description' => 'The time when Cloud Config starts to deliver scheduled resource snapshots every day.'."\n" + ."\n" + .'The value must be in the `HH:mmZ` format (UTC).'."\n" + ."\n" + .'> When you enable scheduled resource snapshot delivery, you can use this parameter to customize the delivery time. If you do not set this parameter, the snapshots are delivered at `04:00Z` and `16:00Z` (UTC) by default.', 'type' => 'string', 'required' => false, 'example' => '09:10Z', 'title' => ''], ], ], 'responses' => [ @@ -4520,18 +2760,8 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG', - 'title' => '', - ], - 'DeliveryChannelId' => [ - 'description' => 'The ID of the delivery channel.', - 'type' => 'string', - 'example' => 'cdc-8e45ff4e06a3a8****', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG', 'title' => ''], + 'DeliveryChannelId' => ['description' => 'The ID of the delivery channel.', 'type' => 'string', 'example' => 'cdc-8e45ff4e06a3a8****', 'title' => ''], ], 'title' => '', 'example' => '', @@ -4540,58 +2770,18 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'DeliveryChannelNotExists', - 'errorMessage' => 'The delivery channel does not exist.', - 'description' => 'The delivery channel does not exist.', - ], - [ - 'errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', - 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', - 'description' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', - ], - [ - 'errorCode' => 'Invalid.DeliveryChannelTargetArn.Format', - 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.', - 'description' => 'The specified format of DeliveryChannelTargetArn is invalid.', - ], - [ - 'errorCode' => 'Invalid.DeliveryChannelCondition.Format', - 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.', - 'description' => 'The specified format of DeliveryChannelCondition is invalid.', - ], - [ - 'errorCode' => 'MemberNotBelongToMaster', - 'errorMessage' => 'The specified member does not belong to your organization.', - 'description' => '', - ], - [ - 'errorCode' => 'DeliveryChannelAccountNotSupport', - 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.', - 'description' => 'Cross-account delivery that is not in the RD is not supported.', - ], - [ - 'errorCode' => 'DeliveryChannelMnsUnreachable', - 'errorMessage' => 'The MNS topic is unreachable.', - 'description' => 'The MNS topic is unreachable.', - ], - [ - 'errorCode' => 'DeliveryChannelOssUnreachable', - 'errorMessage' => 'The OSS bucket is unreachable.', - 'description' => 'The OSS bucket is unreachable.', - ], - [ - 'errorCode' => 'DeliveryChannelSlsUnreachable', - 'errorMessage' => 'SLS logstore is unreachable.', - 'description' => '', - ], + ['errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => 'The delivery channel does not exist.'], + ['errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', 'description' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.'], + ['errorCode' => 'Invalid.DeliveryChannelTargetArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.', 'description' => 'The specified format of DeliveryChannelTargetArn is invalid.'], + ['errorCode' => 'Invalid.DeliveryChannelCondition.Format', 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.', 'description' => 'The specified format of DeliveryChannelCondition is invalid.'], + ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''], + ['errorCode' => 'DeliveryChannelAccountNotSupport', 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.', 'description' => 'Cross-account delivery that is not in the RD is not supported.'], + ['errorCode' => 'DeliveryChannelMnsUnreachable', 'errorMessage' => 'The MNS topic is unreachable.', 'description' => 'The MNS topic is unreachable.'], + ['errorCode' => 'DeliveryChannelOssUnreachable', 'errorMessage' => 'The OSS bucket is unreachable.', 'description' => 'The OSS bucket is unreachable.'], + ['errorCode' => 'DeliveryChannelSlsUnreachable', 'errorMessage' => 'SLS logstore is unreachable.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG\\",\\n \\"DeliveryChannelId\\": \\"cdc-8e45ff4e06a3a8****\\"\\n}","type":"json"}]', @@ -4621,12 +2811,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateConfigDeliveryChannel', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateConfigDeliveryChannel'], ], ], 'ramActions' => [ @@ -4637,12 +2822,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Delivery', - 'arn' => 'acs:config:*:{#accountId}:delivery/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/*'], ], ], ], @@ -4650,13 +2830,8 @@ ], 'CreateConfigRule' => [ 'summary' => '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.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4668,66 +2843,47 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigQMX28I', - ], + 'abilityTreeNodes' => ['FEATUREconfigQMX28I'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'TagKeyScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" - ."\n" - .'The rule applies only to resources that have the specified tag key.'."\n" - ."\n" - .'> This parameter applies only to managed rules. You must set both `TagKeyScope` and `TagValueScope`.', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'title' => '', - 'example' => 'ECS', - ], + 'schema' => ['description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" + ."\n" + .'The rule applies only to resources that have the specified tag key.'."\n" + ."\n" + .'> This parameter applies only to managed rules. You must set both `TagKeyScope` and `TagValueScope`.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'ECS', 'title' => ''], ], [ 'name' => 'TagValueScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" - ."\n" - .'The rule applies only to resources that have the specified tag value.'."\n" - ."\n" - .'> This parameter applies only to rule templates. You must set both `TagKeyScope` and `TagValueScope`.', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'title' => '', - 'example' => 'test', - ], + 'schema' => ['description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" + ."\n" + .'The rule applies only to resources that have the specified tag value.'."\n" + ."\n" + .'> This parameter applies only to rule templates. You must set both `TagKeyScope` and `TagValueScope`.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'TagKeyLogicScope', 'in' => 'formData', 'schema' => [ - 'description' => 'The logical operator that applies if you specify multiple tags for the `TagsScope` parameter. For example, if you set `TagsScope` to `"TagsScope.1.TagKey":"a","TagsScope.1.TagValue":"a","TagsScope.2.TagKey":"b","TagsScope.2.TagValue":"b"` and set this parameter to `AND`, the rule applies only to resources that have both the `a:a` and `b:b` tags. If you do not specify this parameter, the default value `OR` is used.'."\n" + 'description' => 'The logical operator used when you specify multiple tags for the `TagsScope` parameter. For example, if you set `TagsScope` to `"TagsScope.1.TagKey":"a","TagsScope.1.TagValue":"a","TagsScope.2.TagKey":"b","TagsScope.2.TagValue":"b"` and set this parameter to `AND`, the rule applies only to resources that have both the `a:a` and `b:b` tags. If you do not specify this parameter, the default value `OR` is used.'."\n" ."\n" .'This parameter also works with the deprecated `TagKeyScope` parameter. For example, if you set `TagKeyScope` to `ECS,OSS` and set this parameter to `AND`, the rule applies only to resources that have both the `ECS` and `OSS` tags.'."\n" ."\n" .'Valid values:'."\n" ."\n" - .'- AND: The AND logic applies.'."\n" + .'- AND: Use AND logic.'."\n" ."\n" - .'- OR: The OR logic applies.', + .'- OR: Use OR logic.', 'type' => 'string', 'deprecated' => false, + 'enum' => ['AND', 'OR'], 'required' => false, - 'enum' => [ - 'AND', - 'OR', - ], - 'title' => '', 'example' => 'AND', + 'title' => '', ], ], [ @@ -4740,20 +2896,8 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'key-1', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'value-1', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'key-1', 'title' => ''], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value-1', 'title' => ''], ], 'required' => false, 'description' => '', @@ -4775,20 +2919,8 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'key-2', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'value-2', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'key-2', 'title' => ''], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value-2', 'title' => ''], ], 'required' => false, 'description' => '', @@ -4803,230 +2935,149 @@ [ 'name' => 'Description', 'in' => 'formData', - 'schema' => [ - 'description' => 'The description of the rule.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '最多可以定义6组标签。如果资源同时具有指定的所有标签,则视为“合规”。', - ], + 'schema' => ['description' => 'The description of the rule.', 'type' => 'string', 'required' => false, 'example' => '最多可以定义6组标签。如果资源同时具有指定的所有标签,则视为“合规”。', 'title' => ''], ], [ 'name' => 'SourceOwner', 'in' => 'formData', 'schema' => [ - 'description' => 'The type of the rule to create. Valid values:'."\n" + 'description' => 'The type of rule to create. Valid values:'."\n" ."\n" .'- ALIYUN: rule template.'."\n" ."\n" - .'- CUSTOM\\_FC: custom rule.', + .'- CUSTOM\\_FC: custom Function Compute rule.'."\n" + ."\n" + .'- CUSTOM\\_CONFIGURATION: custom condition rule.', 'type' => 'string', 'required' => true, 'docRequired' => true, - 'enum' => [ - 'ALIYUN', - 'CUSTOM_FC', - 'CUSTOM_CONFIGURATION', - ], - 'title' => '', + 'enum' => ['ALIYUN', 'CUSTOM_FC', 'CUSTOM_CONFIGURATION'], 'example' => 'ALIYUN', + 'title' => '', ], ], [ 'name' => 'MaximumExecutionFrequency', 'in' => 'formData', 'schema' => [ - 'description' => 'The frequency at which the rule is executed. Valid values:'."\n" + 'description' => 'The frequency at which the rule runs. Valid values:'."\n" ."\n" - .'- One\\_Hour: 1 hour.'."\n" + .'- One\\_Hour: every hour.'."\n" ."\n" - .'- Three\\_Hours: 3 hours.'."\n" + .'- Three\\_Hours: every three hours.'."\n" ."\n" - .'- Six\\_Hours: 6 hours.'."\n" + .'- Six\\_Hours: every six hours.'."\n" ."\n" - .'- Twelve\\_Hours: 12 hours.'."\n" + .'- Twelve\\_Hours: every twelve hours.'."\n" ."\n" - .'- TwentyFour\\_Hours (default): 24 hours.'."\n" + .'- TwentyFour\\_Hours (default): every twenty-four hours.'."\n" ."\n" .'> This parameter is required if you set ConfigRuleTriggerTypes to ScheduledNotification.', 'type' => 'string', + 'enum' => ['One_Hour', 'Three_Hours', 'Six_Hours', 'Twelve_Hours', 'TwentyFour_Hours'], 'required' => false, - 'enum' => [ - 'One_Hour', - 'Three_Hours', - 'Six_Hours', - 'Twelve_Hours', - 'TwentyFour_Hours', - ], - 'title' => '', 'example' => 'One_Hour', + 'title' => '', ], ], [ + 'name' => 'Conditions', + 'in' => 'formData', + 'allowEmptyValue' => true, + 'schema' => ['description' => 'The conditions for a custom condition rule, in JSON format.', 'type' => 'string', 'example' => '{"ComplianceConditions":"{\\"operator\\":\\"and\\",\\"children\\":[{\\"operator\\":\\"StringEquals\\",\\"featurePath\\":\\"$.Status\\",\\"desired\\":\\"1\\",\\"featureSource\\":\\"CONFIGURATION\\"}]}"}', 'title' => '', 'required' => false], + ], + [ 'name' => 'RegionIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule applies only to resources in the specified regions. Separate multiple region IDs with commas (,).'."\n" - ."\n" - .'> This parameter applies only to rule templates.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The rule applies only to resources in the specified regions. Separate multiple region IDs with commas (,).'."\n" + ."\n" + .'> This parameter applies only to rule templates.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ExcludeRegionIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule does not apply to resources in the specified regions. The compliance of resources in these regions is not evaluated. Separate multiple region IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => 'The rule does not apply to resources in the specified regions. The compliance of resources in these regions is not evaluated. Separate multiple region IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ResourceGroupIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule applies only to resources in the specified resource groups. Separate multiple resource group IDs with commas (,).'."\n" - ."\n" - .'> This parameter applies only to rule templates.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'rg-aekzc7r7rhx****', - ], + 'schema' => ['description' => 'The rule applies only to resources in the specified resource groups. Separate multiple resource group IDs with commas (,).'."\n" + ."\n" + .'> This parameter applies only to rule templates.', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzc7r7rhx****', 'title' => ''], ], [ 'name' => 'ExcludeResourceGroupIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule does not apply to resources in the specified resource groups. The compliance of resources in these resource groups is not evaluated. Separate multiple resource group IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'rg-bnczc6r7rml****', - ], + 'schema' => ['description' => 'The rule does not apply to resources in the specified resource groups. The compliance of resources in these resource groups is not evaluated. Separate multiple resource group IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'rg-bnczc6r7rml****', 'title' => ''], ], [ 'name' => 'InputParameters', 'in' => 'formData', 'style' => 'json', - 'schema' => [ - 'description' => 'The input parameters of the rule.'."\n" - ."\n" - .'You can obtain the input parameters of a rule by calling the [GetManagedRule](~~606993~~) operation. View the `CompulsoryInputParameterDetails` and `OptionalInputParameterDetails` parameters to learn about the required and optional parameters.'."\n" - ."\n" - .'The format of the input parameters is `{"Parameter 1 Name":"Parameter 1 Value","Parameter 2 Name":"Parameter 2 Value"}`.', - 'type' => 'object', - 'required' => false, - 'title' => '', - 'example' => '{"key1":"value1","key2":"value2"}', - ], + 'schema' => ['description' => 'The input parameters for the rule.'."\n" + ."\n" + .'You can get the input parameters of a rule by calling the [GetManagedRule](~~606993~~) operation. View the `CompulsoryInputParameterDetails` and `OptionalInputParameterDetails` parameters to learn about the required and optional parameters.'."\n" + ."\n" + .'The format of the input parameters is `{"Parameter 1 Name":"Parameter 1 Value","Parameter 2 Name":"Parameter 2 Value"}`.', 'type' => 'object', 'required' => false, 'example' => '{"key1":"value1","key2":"value2"}', 'title' => ''], ], [ 'name' => 'ResourceIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule applies to the specified resources. Separate multiple resource IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'lb-5cmbowstbkss9ta03****', - ], + 'schema' => ['description' => 'The rule applies to the specified resources. Separate multiple resource IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'lb-5cmbowstbkss9ta03****', 'title' => ''], ], [ 'name' => 'ExcludeResourceIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule does not apply to the specified resources. The compliance of these resources is not evaluated. Separate multiple resource IDs with commas (,).'."\n" - ."\n" - .'> This parameter applies only to rule templates.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'lb-t4nbowvtbkss7t326****', - ], + 'schema' => ['description' => 'The rule does not apply to the specified resources. The compliance of these resources is not evaluated. Separate multiple resource IDs with commas (,).'."\n" + ."\n" + .'> This parameter applies only to rule templates.', 'type' => 'string', 'required' => false, 'example' => 'lb-t4nbowvtbkss7t326****', 'title' => ''], ], [ 'name' => 'SourceIdentifier', 'in' => 'formData', - 'schema' => [ - 'description' => 'The identifier of the rule.'."\n" - ."\n" - .'- If you set `SourceOwner` to `ALIYUN`, specify the identifier of the rule template. Example: `required-tags`.'."\n" - ."\n" - .' > To query the identifier of a rule template, see [List of rule templates](~~127404~~).'."\n" - ."\n" - .'- If you set `SourceOwner` to `CUSTOM_FC`, specify the Alibaba Cloud Resource Name (ARN) of the function.'."\n" - ."\n" - .' The ARN must be in the format of `acs:fc:{Region}:{AccountID}:services/{ServiceName}.LATEST/functions/{FunctionName}`. Example: `acs:fc:cn-hangzhou:120886317861****:services/service-test.LATEST/functions/config-test`.'."\n" - ."\n" - .' > To obtain the ARN of a function, see [ListFunctions](~~415752~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'required-tags', - ], + 'schema' => ['description' => 'The identifier of the rule.'."\n" + ."\n" + .'- If you set `SourceOwner` to `ALIYUN`, specify the identifier of the rule template. Example: `required-tags`.'."\n" + ."\n" + .' > To query the identifier of a rule template, see [List of rule templates](~~127404~~).'."\n" + ."\n" + .'- If you set `SourceOwner` to `CUSTOM_CONFIGURATION`, set this parameter to `acs-config-configuration`.'."\n" + ."\n" + .'- If you set `SourceOwner` to `CUSTOM_FC`, specify the Alibaba Cloud Resource Name (ARN) of the function.'."\n" + ."\n" + .' The ARN must be in the format `acs:fc:{Region}:{AccountID}:services/{ServiceName}.LATEST/functions/{FunctionName}`. Example: `acs:fc:cn-hangzhou:120886317861****:services/service-test.LATEST/functions/config-test`.'."\n" + ."\n" + .' > To obtain the ARN of a function, see [ListFunctions](~~415752~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'required-tags', 'title' => ''], ], [ 'name' => 'ConfigRuleTriggerTypes', 'in' => 'formData', - 'schema' => [ - 'description' => 'The trigger that invokes the rule. Valid values:'."\n" - ."\n" - .'- ConfigurationItemChangeNotification: The rule is triggered by configuration changes.'."\n" - ."\n" - .'- ScheduledNotification: The rule is triggered on a regular basis.'."\n" - ."\n" - .'> If a rule has multiple triggers, separate them with commas (,).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'ConfigurationItemChangeNotification', - ], + 'schema' => ['description' => 'The trigger that invokes the rule. Valid values:'."\n" + ."\n" + .'- ConfigurationItemChangeNotification: The rule runs when a resource configuration changes.'."\n" + ."\n" + .'- ScheduledNotification: The rule runs on a regular schedule.'."\n" + ."\n" + .'> If a rule has multiple triggers, separate them with commas (,).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ConfigurationItemChangeNotification', 'title' => ''], ], [ 'name' => 'ConfigRuleName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the rule.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => '存在所有指定标签', - ], + 'schema' => ['description' => 'The name of the rule.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '存在所有指定标签', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'A client token. It is used to ensure the idempotence of the request. You can use the client to generate a token, but you must make sure that the token is unique among different requests. The `ClientToken` parameter can contain only ASCII characters and cannot exceed 64 characters in length.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', - ], + 'schema' => ['description' => 'A client token used to ensure request idempotence. Generate a unique token on your client. The `ClientToken` parameter can contain only ASCII characters and cannot exceed 64 characters.', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', 'title' => ''], ], [ 'name' => 'ResourceTypesScope', 'in' => 'formData', 'style' => 'simple', 'schema' => [ - 'description' => 'The resource types to be evaluated by the rule. Separate multiple resource types with commas (,).', + 'description' => 'The resource types to evaluate. Separate multiple resource types with commas (,).', 'type' => 'array', - 'items' => [ - 'description' => 'The resource types to be evaluated by the rule. Separate multiple resource types with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'ACS::ECS::Instance', - ], + 'items' => ['description' => 'The resource types to evaluate. Separate multiple resource types with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', 'title' => ''], 'required' => true, 'docRequired' => true, 'example' => 'ACS::ECS::Instance', @@ -5052,25 +3103,15 @@ 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, - 'enum' => [ - '1', - '2', - '3', - ], - 'title' => '', + 'enum' => ['1', '2', '3'], 'example' => '1', + 'title' => '', ], ], [ 'name' => 'ExtendContent', 'in' => 'formData', - 'schema' => [ - 'description' => 'Extended content. This parameter is used only to specify the trigger time for a 24-hour evaluation cycle.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '{"fixedHour":"13"}', - ], + 'schema' => ['description' => 'Extended content. This parameter specifies the trigger time for a 24-hour evaluation cycle.', 'type' => 'string', 'required' => false, 'example' => '{"fixedHour":"13"}', 'title' => ''], ], [ 'name' => 'Tag', @@ -5078,7 +3119,7 @@ 'style' => 'json', 'schema' => [ 'title' => '创建出的规则的标签', - 'description' => 'The tags of the rule to be created.', + 'description' => 'The tags of the rule to create.', 'type' => 'array', 'items' => [ 'description' => 'The tags of the resource.'."\n" @@ -5086,24 +3127,12 @@ .'You can attach up to 20 tags.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key of the resource.'."\n" - ."\n" - .'You can attach up to 20 tag keys.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'key-1', - ], - 'Value' => [ - 'description' => 'The tag value of the resource.'."\n" - ."\n" - .'You can attach up to 20 tag values.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'value-1', - ], + 'Key' => ['description' => 'The tag key of the resource.'."\n" + ."\n" + .'You can attach up to 20 tag keys.', 'type' => 'string', 'required' => false, 'example' => 'key-1', 'title' => ''], + 'Value' => ['description' => 'The tag value of the resource.'."\n" + ."\n" + .'You can attach up to 20 tag values.', 'type' => 'string', 'required' => false, 'example' => 'value-1', 'title' => ''], ], 'required' => false, 'title' => '', @@ -5117,13 +3146,7 @@ [ 'name' => 'ResourceNameScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule applies only to resources that have the specified names.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'i-xxx', - ], + 'schema' => ['description' => 'The rule applies only to resources that have the specified names.', 'type' => 'string', 'required' => false, 'example' => 'i-xxx', 'title' => ''], ], ], 'responses' => [ @@ -5132,18 +3155,8 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'ConfigRuleId' => [ - 'description' => 'The rule ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'cr-5772ba41209e007b****', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], + 'ConfigRuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => 'cr-5772ba41209e007b****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', 'title' => ''], ], 'title' => '', 'example' => '', @@ -5152,70 +3165,44 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ExceedMaxRuleCount', - 'errorMessage' => 'The maximum number of rules is exceeded.', - 'description' => '', - ], - [ - 'errorCode' => 'ConfigRuleNotExists', - 'errorMessage' => 'The ConfigRule does not exist.', - 'description' => 'The rule does not exist.', - ], - [ - 'errorCode' => 'ConfigRuleExists', - 'errorMessage' => 'The ConfigRule already exists.', - 'description' => '', - ], + ['errorCode' => 'ExceedMaxRuleCount', 'errorMessage' => 'The maximum number of rules is exceeded.', 'description' => ''], + ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => 'The rule does not exist.'], + ['errorCode' => 'ConfigRuleExists', 'errorMessage' => 'The ConfigRule already exists.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ConfigRuleId\\": \\"cr-5772ba41209e007b****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","type":"json"}]', 'title' => 'CreateConfigRule', 'description' => '### Limits'."\n" ."\n" - .'You can create up to 200 rules for each account.'."\n" + .'You can create up to 200 rules per account.'."\n" ."\n" .'### Background information'."\n" ."\n" - .'You can create rules in Cloud Config in the following ways:'."\n" + .'You can create rules in Cloud Config in two ways:'."\n" ."\n" .'- Create rules from templates'."\n" ."\n" - .' Rule templates are predefined rule functions in Function Compute that are provided by Cloud Config. You can use rule templates to create rules quickly. For more information about rules, see [Definition and working principles of rules](~~128273~~).'."\n" + .' 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](~~128273~~).'."\n" ."\n" .'- Create custom rules using Function Compute'."\n" ."\n" - .' Custom rules are based on functions in Function Compute that host your rule code. If the predefined rule templates in Cloud Config do not meet your compliance requirements, you can write your own function code to check compliance in complex scenarios. For more information about custom rules, see [Definition and working principles of custom rules](~~127405~~).'."\n" + .' 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](~~127405~~).'."\n" ."\n" .'### Usage notes'."\n" ."\n" - .'This topic provides an example of how to create a rule from the \\`required-tags\\` template. In the response, a rule is created and its ID is `cr-5772ba41209e007b****`.', + .'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****`.', 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'CreateConfigRule', - ], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateConfigRule'], ], ], 'ramActions' => [ @@ -5226,27 +3213,16 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Rule', - 'arn' => 'acs:config:*:{#accountId}:rule/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/*'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ConfigRuleId\\": \\"cr-5772ba41209e007b****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","type":"json"}]', ], 'CreateRemediation' => [ 'summary' => 'Creates a remediation for an existing rule.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5258,120 +3234,70 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule ID.'."\n" - ."\n" - .'For more information, see [ListConfigRules](~~169607~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cr-8a973ac2e2be00a2****', - 'title' => '', - ], + 'schema' => ['description' => 'The rule ID.'."\n" + ."\n" + .'For more information, see [ListConfigRules](~~169607~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-8a973ac2e2be00a2****', 'title' => ''], ], [ 'name' => 'RemediationType', 'in' => 'formData', - 'schema' => [ - 'description' => 'The type of the remediation. Valid values:'."\n" - ."\n" - .'- OOS: template-based remediation using OOS.'."\n" - ."\n" - .'- FC: custom remediation using FC.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'OOS', - 'title' => '', - ], + 'schema' => ['description' => 'The type of the remediation. Valid values:'."\n" + ."\n" + .'- OOS: template-based remediation using OOS.'."\n" + ."\n" + .'- FC: custom remediation using FC.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'OOS', 'title' => ''], ], [ 'name' => 'RemediationTemplateId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the remediation template.'."\n" - ."\n" - .'- If `RemediationType` is set to `OOS`, set this parameter to `ACS-OSS-PutBucketAcl`. For more information, see [ListRemediationTemplates](~~416781~~).'."\n" - ."\n" - .'- If `RemediationType` is set to `FC`, set this parameter to the Alibaba Cloud Resource Name (ARN) of the function in Function Compute. Example: `acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/test-php`.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ACS-OSS-PutBucketAcl', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the remediation template.'."\n" + ."\n" + .'- If `RemediationType` is set to `OOS`, set this parameter to `ACS-OSS-PutBucketAcl`. For more information, see [ListRemediationTemplates](~~416781~~).'."\n" + ."\n" + .'- If `RemediationType` is set to `FC`, set this parameter to the Alibaba Cloud Resource Name (ARN) of the function in Function Compute. Example: `acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/test-php`.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ACS-OSS-PutBucketAcl', 'title' => ''], ], [ 'name' => 'InvokeType', 'in' => 'formData', - 'schema' => [ - 'description' => 'The execution mode of the remediation. Valid values:'."\n" - ."\n" - .'- NON\\_EXECUTION: The remediation is not executed.'."\n" - ."\n" - .'- AUTO\\_EXECUTION: The remediation is automatically executed.'."\n" - ."\n" - .'- MANUAL\\_EXECUTION: The remediation is manually executed.'."\n" - ."\n" - .'- NOT\\_CONFIG: The execution mode is not set.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'MANUAL_EXECUTION', - 'title' => '', - ], + 'schema' => ['description' => 'The execution mode of the remediation. Valid values:'."\n" + ."\n" + .'- NON\\_EXECUTION: The remediation is not executed.'."\n" + ."\n" + .'- AUTO\\_EXECUTION: The remediation is automatically executed.'."\n" + ."\n" + .'- MANUAL\\_EXECUTION: The remediation is manually executed.'."\n" + ."\n" + .'- NOT\\_CONFIG: The execution mode is not set.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MANUAL_EXECUTION', 'title' => ''], ], [ 'name' => 'SourceType', 'in' => 'formData', - 'schema' => [ - 'description' => 'The source of the remediation template. Valid values:'."\n" - ."\n" - .'- ALIYUN (default): an official template.'."\n" - ."\n" - .'- CUSTOM: a custom template. This value is required for custom FC remediations.'."\n" - ."\n" - .'- NONE: no source.', - 'type' => 'string', - 'required' => false, - 'example' => 'ALIYUN', - 'title' => '', - ], + 'schema' => ['description' => 'The source of the remediation template. Valid values:'."\n" + ."\n" + .'- ALIYUN (default): an official template.'."\n" + ."\n" + .'- CUSTOM: a custom template. This value is required for custom FC remediations.'."\n" + ."\n" + .'- NONE: no source.', 'type' => 'string', 'required' => false, 'example' => 'ALIYUN', 'title' => ''], ], [ 'name' => 'Params', 'in' => 'formData', - 'schema' => [ - 'description' => 'The remediation parameters.'."\n" - ."\n" - .'For more information, see the `TemplateDefinition` parameter in [ListRemediationTemplates](~~416781~~).', - 'type' => 'string', - 'deprecated' => false, - 'required' => true, - 'docRequired' => false, - 'example' => '{"bucketName": "{resourceId}", "regionId": "{regionId}", "permissionName": "private"}', - 'title' => '', - ], + 'schema' => ['description' => 'The remediation parameters.'."\n" + ."\n" + .'For more information, see the `TemplateDefinition` parameter in [ListRemediationTemplates](~~416781~~).', 'type' => 'string', 'deprecated' => false, 'required' => true, 'docRequired' => false, 'example' => '{"bucketName": "{resourceId}", "regionId": "{regionId}", "permissionName": "private"}', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'A client token to ensure the idempotence of the request. The token must be unique for each request. The `ClientToken` parameter contains only ASCII characters and must not exceed 64 characters in length.', - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAdDWBF2****', - 'title' => '', - ], + 'schema' => ['description' => 'A client token to ensure the idempotence of the request. The token must be unique for each request. The `ClientToken` parameter contains only ASCII characters and must not exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => 'AAAAAdDWBF2****', 'title' => ''], ], ], 'responses' => [ @@ -5380,18 +3306,8 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2', - 'title' => '', - ], - 'RemediationId' => [ - 'description' => 'The ID of the remediation.', - 'type' => 'string', - 'example' => 'crr-909ba2d4716700eb****', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2', 'title' => ''], + 'RemediationId' => ['description' => 'The ID of the remediation.', 'type' => 'string', 'example' => 'crr-909ba2d4716700eb****', 'title' => ''], ], 'title' => '', 'example' => '', @@ -5400,33 +3316,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConfigRuleNotExists', - 'errorMessage' => 'The ConfigRule does not exist.', - 'description' => 'The rule does not exist.', - ], - [ - 'errorCode' => 'RemediationInputParamInConsistentWithRule', - 'errorMessage' => 'The remediation parameter does not match the rule parameter.', - 'description' => 'The remediation parameter does not match the rule parameter.', - ], - [ - 'errorCode' => 'RemediationTemplateNotExist', - 'errorMessage' => 'The remediation template does not exist or is invalid.', - 'description' => 'The remediation template does not exist or is invalid.', - ], - [ - 'errorCode' => 'Invalid.Params.Value', - 'errorMessage' => 'The specified parameter value is invalid.', - 'description' => 'The specified parameter value is invalid.', - ], + ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => 'The rule does not exist.'], + ['errorCode' => 'RemediationInputParamInConsistentWithRule', 'errorMessage' => 'The remediation parameter does not match the rule parameter.', 'description' => 'The remediation parameter does not match the rule parameter.'], + ['errorCode' => 'RemediationTemplateNotExist', 'errorMessage' => 'The remediation template does not exist or is invalid.', 'description' => 'The remediation template does not exist or is invalid.'], + ['errorCode' => 'Invalid.Params.Value', 'errorMessage' => 'The specified parameter value is invalid.', 'description' => 'The specified parameter value is invalid.'], ], 403 => [ - [ - 'errorCode' => 'NoPermissionCreateRemediationSLR', - 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.', - 'description' => 'You have no permission to create the service-linked role: AliyunServiceRoleForConfigRemediation.', - ], + ['errorCode' => 'NoPermissionCreateRemediationSLR', 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.', 'description' => 'You have no permission to create the service-linked role: AliyunServiceRoleForConfigRemediation.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\",\\n \\"RemediationId\\": \\"crr-909ba2d4716700eb****\\"\\n}","type":"json"}]', @@ -5448,12 +3344,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'CreateRemediation', - ], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateRemediation'], ], ], 'ramActions' => [ @@ -5464,12 +3355,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -5477,12 +3363,8 @@ ], 'CreateReportTemplate' => [ 'summary' => 'Create a compliance report template for the current UID.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -5494,36 +3376,19 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigZWSOST', - ], + 'abilityTreeNodes' => ['FEATUREconfigZWSOST'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ReportTemplateName', 'in' => 'formData', - 'schema' => [ - 'description' => 'Report template name', - 'type' => 'string', - 'required' => true, - 'docRequired' => false, - 'maxLength' => 100, - 'example' => 'test-report-name', - 'title' => '', - ], + 'schema' => ['description' => 'Report template name', 'type' => 'string', 'required' => true, 'docRequired' => false, 'maxLength' => 100, 'example' => 'test-report-name', 'title' => ''], ], [ 'name' => 'ReportTemplateDescription', 'in' => 'formData', - 'schema' => [ - 'description' => 'Report template description', - 'type' => 'string', - 'maxLength' => 500, - 'required' => false, - 'example' => 'test-report-description', - 'title' => '', - ], + 'schema' => ['description' => 'Report template description', 'type' => 'string', 'maxLength' => 500, 'required' => false, 'example' => 'test-report-description', 'title' => ''], ], [ 'name' => 'ReportGranularity', @@ -5540,11 +3405,7 @@ .'- GroupByAccount (Each account generates a separate report (default), generating a compressed file)'."\n" ."\n" .'Member accounts only support GroupByAccount.', - 'enumValueTitles' => [ - 'AllInOne' => 'All accounts within the template scope are aggregated into one report', - 'GroupByAggregator' => 'Reports are aggregated by account group, generating a compressed file', - 'GroupByAccount' => 'Each account generates a separate report (default), generating a compressed file', - ], + 'enumValueTitles' => ['AllInOne' => 'All accounts within the template scope are aggregated into one report', 'GroupByAggregator' => 'Reports are aggregated by account group, generating a compressed file', 'GroupByAccount' => 'Each account generates a separate report (default), generating a compressed file'], 'type' => 'string', 'required' => false, 'example' => 'GroupByAccount', @@ -5554,57 +3415,39 @@ [ 'name' => 'ReportFileFormats', 'in' => 'formData', - 'schema' => [ - 'description' => 'Report format. Currently, only Excel is supported.', - 'type' => 'string', - 'required' => false, - 'example' => 'excel', - 'title' => '', - ], + 'schema' => ['description' => 'Report format. Currently, only Excel is supported.', 'type' => 'string', 'required' => false, 'example' => 'excel', 'title' => ''], ], [ 'name' => 'ReportLanguage', 'in' => 'formData', - 'schema' => [ - 'description' => 'Report language. Supports zh-CN and en-US. If empty, the default is en-US.', - 'type' => 'string', - 'required' => false, - 'example' => 'zh-CN', - 'title' => '', - ], + 'schema' => ['description' => 'Report language. Supports zh-CN and en-US. If empty, the default is en-US.', 'type' => 'string', 'required' => false, 'example' => 'zh-CN', 'title' => ''], ], [ 'name' => 'SubscriptionFrequency', 'in' => 'formData', - 'schema' => [ - 'description' => 'Report subscription frequency. If this field is not empty, it is a Quartz-format Cron expression that triggers subscription notifications.'."\n" - ."\n" - .'Format: second minute hour day month week. The following are common Cron expression examples:'."\n" - ."\n" - .'- Execute at 0:00 every day: 0 0 0 \\* \\* ?'."\n" - ."\n" - .'- Execute at 15:30 every Monday: 0 30 15 ? \\* MON'."\n" - ."\n" - .'- Execute at 2:00 on the 1st of every month: 0 0 2 1 \\* ?'."\n" - ."\n" - .'Where:'."\n" - ."\n" - .'- "\\*" indicates any value'."\n" - ."\n" - .'- "?" is used for day and week fields, indicating no specific value'."\n" - ."\n" - .'- "MON" indicates Monday'."\n" - ."\n" - .'> The trigger time is UTC+8. Adjust the Cron expression settings based on your time zone.'."\n" - ."\n" - .'> We try to trigger notifications according to the Cron expression time, but there might be delays due to report generation status. A Cron expression limits the same template to trigger notifications at most once per day.'."\n" - ."\n" - .'> 1 represents Sunday; 2 represents Monday; 3 represents Tuesday; 4 represents Wednesday; 5 represents Thursday; 6 represents Friday; 7 represents Saturday', - 'type' => 'string', - 'required' => false, - 'example' => '0 0 9 * * ?', - 'title' => '', - ], + 'schema' => ['description' => 'Report subscription frequency. If this field is not empty, it is a Quartz-format Cron expression that triggers subscription notifications.'."\n" + ."\n" + .'Format: second minute hour day month week. The following are common Cron expression examples:'."\n" + ."\n" + .'- Execute at 0:00 every day: 0 0 0 \\* \\* ?'."\n" + ."\n" + .'- Execute at 15:30 every Monday: 0 30 15 ? \\* MON'."\n" + ."\n" + .'- Execute at 2:00 on the 1st of every month: 0 0 2 1 \\* ?'."\n" + ."\n" + .'Where:'."\n" + ."\n" + .'- "\\*" indicates any value'."\n" + ."\n" + .'- "?" is used for day and week fields, indicating no specific value'."\n" + ."\n" + .'- "MON" indicates Monday'."\n" + ."\n" + .'> The trigger time is UTC+8. Adjust the Cron expression settings based on your time zone.'."\n" + ."\n" + .'> We try to trigger notifications according to the Cron expression time, but there might be delays due to report generation status. A Cron expression limits the same template to trigger notifications at most once per day.'."\n" + ."\n" + .'> 1 represents Sunday; 2 represents Monday; 3 represents Tuesday; 4 represents Wednesday; 5 represents Thursday; 6 represents Friday; 7 represents Saturday', 'type' => 'string', 'required' => false, 'example' => '0 0 9 * * ?', 'title' => ''], ], [ 'name' => 'ReportScope', @@ -5627,30 +3470,14 @@ .'- CompliancePackId'."\n" ."\n" .'- RuleId', - 'enumValueTitles' => [ - 'CompliancePackId' => 'Compliance pack ID', - 'RuleId' => 'Rule ID', - 'AggregatorId' => 'Account group ID', - ], + 'enumValueTitles' => ['CompliancePackId' => 'Compliance pack ID', 'RuleId' => 'Rule ID', 'AggregatorId' => 'Account group ID'], 'type' => 'string', 'required' => false, 'example' => 'RuleId', 'title' => '', ], - 'Value' => [ - 'description' => 'The value for the report scope. Multiple items of the same type, such as multiple Rule IDs, can be separated by English commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'cr-1,cr-2', - 'title' => '', - ], - 'MatchType' => [ - 'description' => 'Matching logic. Currently, only In is supported.', - 'type' => 'string', - 'required' => false, - 'example' => 'In', - 'title' => '', - ], + 'Value' => ['description' => 'The value for the report scope. Multiple items of the same type, such as multiple Rule IDs, can be separated by English commas (,).', 'type' => 'string', 'required' => false, 'example' => 'cr-1,cr-2', 'title' => ''], + 'MatchType' => ['description' => 'Matching logic. Currently, only In is supported.', 'type' => 'string', 'required' => false, 'example' => 'In', 'title' => ''], ], 'required' => false, 'title' => '', @@ -5668,18 +3495,8 @@ 'description' => 'Return result', 'type' => 'object', 'properties' => [ - 'ReportTemplateId' => [ - 'description' => 'Report template ID', - 'type' => 'string', - 'example' => 'crt-xxx', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'Request ID.', - 'type' => 'string', - 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDFXXX', - 'title' => '', - ], + 'ReportTemplateId' => ['description' => 'Report template ID', 'type' => 'string', 'example' => 'crt-xxx', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDFXXX', 'title' => ''], ], 'title' => '', 'example' => '', @@ -5688,16 +3505,10 @@ ], 'errorCodes' => [ 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Create Report Template', 'changeSet' => [], 'flowControl' => [ @@ -5707,14 +3518,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ReportTemplateId\\": \\"crt-xxx\\",\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDFXXX\\"\\n}","type":"json"}]', ], 'DeactiveAggregateConfigRules' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5726,9 +3531,7 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -5736,40 +3539,23 @@ [ 'name' => 'ConfigRuleIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule ID. Separate multiple rule IDs with commas (,).'."\n" - ."\n" - .'For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'cr-5772ba41209e007b****', - ], + 'schema' => ['description' => 'The rule ID. Separate multiple rule IDs with commas (,).'."\n" + ."\n" + .'For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cr-5772ba41209e007b****'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-04b3fd170e340007****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-04b3fd170e340007****'], ], [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance package.'."\n" - ."\n" - .'For more information about how to obtain the ID of a compliance package, see [ListAggregateCompliancePacks](~~262059~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cp-fe416457e0d90022****', - ], + 'schema' => ['description' => 'The ID of the compliance package.'."\n" + ."\n" + .'For more information about how to obtain the ID of a compliance package, see [ListAggregateCompliancePacks](~~262059~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'cp-fe416457e0d90022****'], ], ], 'responses' => [ @@ -5778,11 +3564,7 @@ 'description' => 'This operation does not return any operation-specific parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'], 'OperateRuleResult' => [ 'description' => 'The results of the operations that are performed to disable the specified rules.'."\n", 'type' => 'object', @@ -5794,27 +3576,15 @@ 'description' => 'N/A.'."\n", 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'description' => 'The error code.'."\n" - ."\n" - .'* If the rule is disabled, no error code is returned.'."\n" - .'* If the rule fails to be disabled, an error code is returned. For more information about error codes, see [Error codes](https://error-center.alibabacloud.com/status/product/Config).'."\n", - 'type' => 'string', - 'example' => 'ConfigRuleNotExists', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.'."\n", - 'type' => 'string', - 'example' => 'cr-5772ba41209e007b****', - ], + 'ErrorCode' => ['description' => 'The error code.'."\n" + ."\n" + .'* If the rule is disabled, no error code is returned.'."\n" + .'* If the rule fails to be disabled, an error code is returned. For more information about error codes, see [Error codes](https://error-center.alibabacloud.com/status/product/Config).'."\n", 'type' => 'string', 'example' => 'ConfigRuleNotExists'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", 'type' => 'boolean', 'example' => 'false'], + 'ConfigRuleId' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'example' => 'cr-5772ba41209e007b****'], ], ], ], @@ -5826,52 +3596,22 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', - 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', - 'description' => '', - ], - [ - 'errorCode' => 'ConfigRuleStatusNotActive', - 'errorMessage' => 'The status of the config rule is not active.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], + ['errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'description' => ''], + ['errorCode' => 'ConfigRuleStatusNotActive', 'errorMessage' => 'The status of the config rule is not active.', 'description' => ''], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'AggregatorMemberNoPermission', - 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', - 'description' => '', - ], + ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => ''], ], [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ErrorCode\\": \\"ConfigRuleNotExists\\",\\n \\"Success\\": false,\\n \\"ConfigRuleId\\": \\"cr-5772ba41209e007b****\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DeactiveAggregateConfigRulesResponse>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n <OperateRuleResult>\\n <OperateRuleItemList>\\n <ErrorCode>ConfigRuleNotExists</ErrorCode>\\n <Success>false</Success>\\n <ConfigRuleId>cr-5772ba41209e007b****</ConfigRuleId>\\n </OperateRuleItemList>\\n </OperateRuleResult>\\n</DeactiveAggregateConfigRulesResponse>","errorExample":""}]', 'title' => 'DeactiveAggregateConfigRules', 'summary' => 'Disables one or more rules in an account group. After a rule is disabled, the resource in the rule is no longer evaluated. The compliance evaluation results before the rule is disabled are still displayed.', @@ -5892,26 +3632,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DeactiveConfigRules' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5923,9 +3652,7 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -5933,27 +3660,16 @@ [ 'name' => 'ConfigRuleIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the rule. Separate multiple rule IDs with commas (,).'."\n" - ."\n" - .'For more information about how to obtain the ID of a rule, see [ListConfigRules](~~169607~~).'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'cr-19a56457e0d90058****', - ], + 'schema' => ['description' => 'The ID of the rule. Separate multiple rule IDs with commas (,).'."\n" + ."\n" + .'For more information about how to obtain the ID of a rule, see [ListConfigRules](~~169607~~).'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cr-19a56457e0d90058****'], ], [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance package.'."\n" - ."\n" - .'For more information about how to obtain the ID of a compliance package, see [ListCompliancePacks](~~263332~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cp-fe416457e0d90022****', - ], + 'schema' => ['description' => 'The ID of the compliance package.'."\n" + ."\n" + .'For more information about how to obtain the ID of a compliance package, see [ListCompliancePacks](~~263332~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'cp-fe416457e0d90022****'], ], ], 'responses' => [ @@ -5962,11 +3678,7 @@ 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '54FA74D9-45D4-4CA5-9BE1-97F6EA19AF5B', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '54FA74D9-45D4-4CA5-9BE1-97F6EA19AF5B'], 'OperateRuleResult' => [ 'description' => 'The results of the operations that are performed to disable the specified rules.'."\n", 'type' => 'object', @@ -5978,27 +3690,15 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'description' => 'The error code.'."\n" - ."\n" - .'* If the rule is disabled, no error code is returned.'."\n" - .'* If the rule fails to be disabled, an error code is returned. For more information about error codes, see [Error codes](https://error-center.alibabacloud.com/status/product/Config).'."\n", - 'type' => 'string', - 'example' => 'ConfigRuleCanNotDelete', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.'."\n", - 'type' => 'string', - 'example' => 'cr-19a56457e0d90058****', - ], + 'ErrorCode' => ['description' => 'The error code.'."\n" + ."\n" + .'* If the rule is disabled, no error code is returned.'."\n" + .'* If the rule fails to be disabled, an error code is returned. For more information about error codes, see [Error codes](https://error-center.alibabacloud.com/status/product/Config).'."\n", 'type' => 'string', 'example' => 'ConfigRuleCanNotDelete'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", 'type' => 'boolean', 'example' => 'false'], + 'ConfigRuleId' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'example' => 'cr-19a56457e0d90058****'], ], ], ], @@ -6010,40 +3710,18 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', - 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', - 'description' => '', - ], - [ - 'errorCode' => 'ConfigRuleStatusNotActive', - 'errorMessage' => 'The status of the config rule is not active.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], + ['errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'description' => ''], + ['errorCode' => 'ConfigRuleStatusNotActive', 'errorMessage' => 'The status of the config rule is not active.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54FA74D9-45D4-4CA5-9BE1-97F6EA19AF5B\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ErrorCode\\": \\"ConfigRuleCanNotDelete\\",\\n \\"Success\\": false,\\n \\"ConfigRuleId\\": \\"cr-19a56457e0d90058****\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DeactiveConfigRulesResponse>\\n\\t<RequestId>54FA74D9-45D4-4CA5-9BE1-97F6EA19AF5B</RequestId>\\n\\t<OperateRuleResult>\\n\\t\\t<OperateRuleItemList>\\n\\t\\t\\t<ConfigRuleId>cr-19a56457e0d90058****</ConfigRuleId>\\n\\t\\t\\t<ErrorCode></ErrorCode>\\n\\t\\t\\t<Success>true</Success>\\n\\t\\t</OperateRuleItemList>\\n\\t</OperateRuleResult>\\n</DeactiveConfigRulesResponse>\\t","errorExample":""}]', 'title' => 'DeactiveConfigRules', 'summary' => 'Disables a rule. After a rule is disabled, the resource in the rule is no longer evaluated. The compliance evaluation results before the rule is disabled are still displayed.', @@ -6064,25 +3742,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DeleteAggregateCompliancePacks' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6094,159 +3762,110 @@ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigX57QP8', - ], + 'abilityTreeNodes' => ['FEATUREconfigX57QP8'], ], 'parameters' => [ [ 'name' => 'CompliancePackIds', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the compliance package. Separate multiple compliance package IDs with commas (,).'."\n" - ."\n" - .'For more information about how to obtain the ID of a compliance package, see [ListAggregateCompliancePacks](~~262059~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cp-541e626622af0087****', - ], + 'schema' => ['description' => 'The ID of the compliance package. Separate multiple compliance package IDs with commas (,).'."\n" + ."\n" + .'For more information about how to obtain the ID of a compliance package, see [ListAggregateCompliancePacks](~~262059~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-541e626622af0087****', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The `token` can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The `token` can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', 'title' => ''], ], [ 'name' => 'AggregatorId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-04b3fd170e340007****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-04b3fd170e340007****', 'title' => ''], ], [ 'name' => 'DeleteRule', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to delete the rules in the compliance package. Valid values:'."\n" - ."\n" - .'* true: The rules are deleted.'."\n" - .'* false (default): The rules are not deleted.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to delete the rules in the compliance package. Valid values:'."\n" + ."\n" + .'- true: The rules are deleted.'."\n" + ."\n" + .'- false (default): The rules are not deleted.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'N/A.'."\n", + 'description' => 'N/A.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', 'title' => ''], 'OperateCompliancePacksResult' => [ - 'description' => 'The results of the delete operations.'."\n", + 'description' => 'The results of the delete operations.', 'type' => 'object', 'properties' => [ 'OperateCompliancePacks' => [ - 'description' => 'An array that contains the deleted compliance packages.'."\n", + 'description' => 'An array that contains the deleted compliance packages.', 'type' => 'array', 'items' => [ - 'description' => 'N/A.'."\n", + 'description' => 'N/A.', 'type' => 'object', 'properties' => [ - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance package.'."\n", - 'type' => 'string', - 'example' => 'cp-541e626622af0087****', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n" - ."\n" - .'* If the compliance package is deleted, no error code is returned.'."\n" - .'* If the compliance package fails to be deleted, an error code is returned. For more information about error codes, see [Error codes](https://error-center.alibabacloud.com/status/product/Config).'."\n", - 'type' => 'string', - 'example' => 'CompliancePackAlreadyPending', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true: The request was successful.'."\n" - .'* false: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], + 'CompliancePackId' => ['description' => 'The ID of the compliance package.', 'type' => 'string', 'example' => 'cp-541e626622af0087****', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n" + ."\n" + .'- If the compliance package is deleted, no error code is returned.'."\n" + ."\n" + .'- If the compliance package fails to be deleted, an error code is returned. For more information about error codes, see [Error codes](https://error-center.alibabacloud.com/status/product/Config).', 'type' => 'string', 'example' => 'CompliancePackAlreadyPending', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.CompliancePackIds.SizeExceed', - 'errorMessage' => 'The maximum number of CompliancePackIds is 5.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], + ['errorCode' => 'Invalid.CompliancePackIds.SizeExceed', 'errorMessage' => 'The maximum number of CompliancePackIds is 5.', 'description' => 'The maximum number of compliance pack ID is 5.'], ], 403 => [ - [ - 'errorCode' => 'AggregatorMemberNoPermission', - 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', - 'description' => '', - ], + ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => 'The aggregator member is not authorized to perform the operation.'], ], [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"OperateCompliancePacksResult\\": {\\n \\"OperateCompliancePacks\\": [\\n {\\n \\"CompliancePackId\\": \\"cp-541e626622af0087****\\",\\n \\"ErrorCode\\": \\"CompliancePackAlreadyPending\\",\\n \\"Success\\": false\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DeleteAggregateCompliancePacksResponse>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n <OperateCompliancePacksResult>\\n <OperateCompliancePacks>\\n <CompliancePackId>cp-541e626622af0087****</CompliancePackId>\\n <ErrorCode>CompliancePackAlreadyPending</ErrorCode>\\n <Success>false</Success>\\n </OperateCompliancePacks>\\n </OperateCompliancePacksResult>\\n</DeleteAggregateCompliancePacksResponse>","errorExample":""}]', 'title' => 'DeleteAggregateCompliancePacks', 'summary' => 'Deletes the compliance packages of an account group.', - 'description' => 'This topic provides an example on how to delete the `cp-541e626622af0087****` compliance package from the `ca-04b3fd170e340007****` account group.'."\n", - 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n", + 'description' => 'This topic provides an example on how to delete the `cp-541e626622af0087****` compliance package from the `ca-04b3fd170e340007****` account group.', + 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).', 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteAggregateCompliancePacks'], + ], + ], 'ramActions' => [ [ 'operationType' => 'delete', @@ -6255,26 +3874,16 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregateCompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregateCompliancePackId}'], ], ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"OperateCompliancePacksResult\\": {\\n \\"OperateCompliancePacks\\": [\\n {\\n \\"CompliancePackId\\": \\"cp-541e626622af0087****\\",\\n \\"ErrorCode\\": \\"CompliancePackAlreadyPending\\",\\n \\"Success\\": false\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'DeleteAggregateConfigDeliveryChannel' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6286,32 +3895,20 @@ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigL91U0A', - ], + 'abilityTreeNodes' => ['FEATUREconfigL91U0A'], ], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ca-23c6626622af0041****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ca-23c6626622af0041****'], ], [ 'name' => 'DeliveryChannelId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the delivery channel.'."\n" - ."\n" - .'For more information about how to obtain the ID of a delivery channel, see [ListAggregateConfigDeliveryChannels](~~429842~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cdc-38c3013b46c9002c****', - ], + 'schema' => ['description' => 'The ID of the delivery channel.'."\n" + ."\n" + .'For more information about how to obtain the ID of a delivery channel, see [ListAggregateConfigDeliveryChannels](~~429842~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'cdc-38c3013b46c9002c****'], ], ], 'responses' => [ @@ -6320,74 +3917,26 @@ 'description' => 'N/A.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'FCC2F05C-F672-5665-8102-0020DF66B9B9', - ], - 'DeliveryChannelId' => [ - 'description' => 'The ID of the delivery channel.'."\n", - 'type' => 'string', - 'example' => 'cdc-38c3013b46c9002c****', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'FCC2F05C-F672-5665-8102-0020DF66B9B9'], + 'DeliveryChannelId' => ['description' => 'The ID of the delivery channel.'."\n", 'type' => 'string', 'example' => 'cdc-38c3013b46c9002c****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'DeliveryChannelNotExists', - 'errorMessage' => 'The delivery channel does not exist.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', - 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.DeliveryChannelTargetArn.Format', - 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.DeliveryChannelCondition.Format', - 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.', - 'description' => '', - ], - [ - 'errorCode' => 'MemberNotBelongToMaster', - 'errorMessage' => 'The specified member does not belong to your organization.', - 'description' => '', - ], - [ - 'errorCode' => 'DeliveryChannelAccountNotSupport', - 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.', - 'description' => '', - ], - [ - 'errorCode' => 'DeliveryChannelMnsUnreachable', - 'errorMessage' => 'The MNS topic is unreachable.', - 'description' => '', - ], - [ - 'errorCode' => 'DeliveryChannelOssUnreachable', - 'errorMessage' => 'The OSS bucket is unreachable.', - 'description' => '', - ], - [ - 'errorCode' => 'DeliveryChannelSlsUnreachable', - 'errorMessage' => 'SLS logstore is unreachable.', - 'description' => '', - ], + ['errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => ''], + ['errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', 'description' => ''], + ['errorCode' => 'Invalid.DeliveryChannelTargetArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.', 'description' => ''], + ['errorCode' => 'Invalid.DeliveryChannelCondition.Format', 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.', 'description' => ''], + ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''], + ['errorCode' => 'DeliveryChannelAccountNotSupport', 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.', 'description' => ''], + ['errorCode' => 'DeliveryChannelMnsUnreachable', 'errorMessage' => 'The MNS topic is unreachable.', 'description' => ''], + ['errorCode' => 'DeliveryChannelOssUnreachable', 'errorMessage' => 'The OSS bucket is unreachable.', 'description' => ''], + ['errorCode' => 'DeliveryChannelSlsUnreachable', 'errorMessage' => 'SLS logstore is unreachable.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FCC2F05C-F672-5665-8102-0020DF66B9B9\\",\\n \\"DeliveryChannelId\\": \\"cdc-38c3013b46c9002c****\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteAggregateConfigDeliveryChannelResponse>\\n <RequestId>FCC2F05C-F672-5665-8102-0020DF66B9B9</RequestId>\\n <DeliveryChannelId>cdc-38c3013b46c9002c****</DeliveryChannelId>\\n</DeleteAggregateConfigDeliveryChannelResponse>","errorExample":""}]', @@ -6404,26 +3953,15 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateDelivery', - 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}'], ], ], ], ], ], 'DeleteAggregateConfigRules' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6435,36 +3973,22 @@ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigNPMEKB', - ], + 'abilityTreeNodes' => ['FEATUREconfigNPMEKB'], ], 'parameters' => [ [ 'name' => 'ConfigRuleIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule ID. Separate multiple rule IDs with commas (,).'."\n" - ."\n" - .'For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cr-4e3d626622af0080****', - ], + 'schema' => ['description' => 'The rule ID. Separate multiple rule IDs with commas (,).'."\n" + ."\n" + .'For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-4e3d626622af0080****'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-a4e5626622af0079****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-a4e5626622af0079****'], ], ], 'responses' => [ @@ -6473,11 +3997,7 @@ 'description' => 'N/A.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'], 'OperateRuleResult' => [ 'description' => 'The results of the delete operations.'."\n", 'type' => 'object', @@ -6489,27 +4009,15 @@ 'description' => 'N/A.'."\n", 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n" - ."\n" - .'* If the rule is deleted, no error code is returned.'."\n" - .'* If the rule fails to be deleted, an error code is returned. For more information about error codes, see [Error codes](https://error-center.alibabacloud.com/status/product/Config).'."\n", - 'type' => 'string', - 'example' => 'ConfigRuleCanNotDelete', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true: The request was successful.'."\n" - .'* false: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.'."\n", - 'type' => 'string', - 'example' => 'cr-4e3d626622af0080****', - ], + 'ErrorCode' => ['description' => 'The error code returned.'."\n" + ."\n" + .'* If the rule is deleted, no error code is returned.'."\n" + .'* If the rule fails to be deleted, an error code is returned. For more information about error codes, see [Error codes](https://error-center.alibabacloud.com/status/product/Config).'."\n", 'type' => 'string', 'example' => 'ConfigRuleCanNotDelete'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", 'type' => 'boolean', 'example' => 'false'], + 'ConfigRuleId' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'example' => 'cr-4e3d626622af0080****'], ], ], ], @@ -6521,47 +4029,19 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'ConfigRuleCanNotDelete', - 'errorMessage' => 'The config rule cannot be deleted.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', - 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], + ['errorCode' => 'ConfigRuleCanNotDelete', 'errorMessage' => 'The config rule cannot be deleted.', 'description' => ''], + ['errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'description' => ''], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'AggregatorMemberNoPermission', - 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', - 'description' => '', - ], + ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => ''], ], [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ErrorCode\\": \\"ConfigRuleCanNotDelete\\",\\n \\"Success\\": false,\\n \\"ConfigRuleId\\": \\"cr-4e3d626622af0080****\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DeleteAggregateConfigRulesResponse>\\n\\t<RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n\\t<OperateRuleResult>\\n\\t\\t<OperateRuleItemList>\\n\\t\\t\\t<ErrorCode>ConfigRuleCanNotDelete</ErrorCode>\\n\\t\\t\\t<Success>false</Success>\\n\\t\\t\\t<ConfigRuleId>cr-4e3d626622af0080****</ConfigRuleId>\\n\\t\\t</OperateRuleItemList>\\n\\t</OperateRuleResult>\\n</DeleteAggregateConfigRulesResponse>\\t","errorExample":""}]', @@ -6578,25 +4058,15 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateConfigRule', - 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}'], ], ], ], ], ], 'DeleteAggregateRemediations' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6608,38 +4078,22 @@ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'RemediationIds', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the remediation setting. Separate multiple remediation setting IDs with commas (,).'."\n" - ."\n" - .'For more information about how to obtain the ID of a remediation setting, see [ListAggregateRemediations](~~270036~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'crr-909ba2d4716700eb****', - ], + 'schema' => ['description' => 'The ID of the remediation setting. Separate multiple remediation setting IDs with commas (,).'."\n" + ."\n" + .'For more information about how to obtain the ID of a remediation setting, see [ListAggregateRemediations](~~270036~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'crr-909ba2d4716700eb****'], ], [ 'name' => 'AggregatorId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'ca-6b4a626622af0012****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ca-6b4a626622af0012****'], ], ], 'responses' => [ @@ -6648,12 +4102,7 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '4BE28FB1-616A-5586-82E4-F34FB2AF7441', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4BE28FB1-616A-5586-82E4-F34FB2AF7441'], 'RemediationDeleteResults' => [ 'description' => 'The result of the operation to delete the remediation settings.', 'type' => 'array', @@ -6661,32 +4110,17 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'RemediationId' => [ - 'description' => 'The ID of the remediation setting.', - 'type' => 'string', - 'title' => '', - 'example' => 'crr-909ba2d4716700eb****', - ], - 'ErrorMessage' => [ - 'description' => 'The error code.'."\n" - ."\n" - .'- This parameter is empty if the remediation setting is successfully deleted.'."\n" - ."\n" - .'- If the remediation setting fails to be deleted, this parameter indicates the error code. For more information about error codes, see <props="intl">[Error Center](https://error-center.alibabacloud.com/status/product/Config)</props>.', - 'type' => 'string', - 'title' => '', - 'example' => 'RemediationConfigNotExist', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation was successful. Valid values:'."\n" - ."\n" - .'- true: The operation was successful.'."\n" - ."\n" - .'- false: The operation failed.', - 'type' => 'boolean', - 'title' => '', - 'example' => 'true', - ], + 'RemediationId' => ['description' => 'The ID of the remediation setting.', 'type' => 'string', 'title' => '', 'example' => 'crr-909ba2d4716700eb****'], + 'ErrorMessage' => ['description' => 'The error code.'."\n" + ."\n" + .'- This parameter is empty if the remediation setting is successfully deleted.'."\n" + ."\n" + .'- If the remediation setting fails to be deleted, this parameter indicates the error code. For more information about error codes, see <props="intl">[Error Center](https://error-center.alibabacloud.com/status/product/Config)</props>.', 'type' => 'string', 'title' => '', 'example' => 'RemediationConfigNotExist'], + 'Success' => ['description' => 'Indicates whether the operation was successful. Valid values:'."\n" + ."\n" + .'- true: The operation was successful.'."\n" + ."\n" + .'- false: The operation failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], 'title' => '', 'example' => '', @@ -6702,18 +4136,10 @@ ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'title' => 'DeleteAggregateRemediations', @@ -6723,12 +4149,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DeleteAggregateRemediations', - ], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteAggregateRemediations'], ], ], 'ramActions' => [ @@ -6739,12 +4160,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -6752,13 +4168,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4BE28FB1-616A-5586-82E4-F34FB2AF7441\\",\\n \\"RemediationDeleteResults\\": [\\n {\\n \\"RemediationId\\": \\"crr-909ba2d4716700eb****\\",\\n \\"ErrorMessage\\": \\"RemediationConfigNotExist\\",\\n \\"Success\\": true\\n }\\n ]\\n}","type":"json"}]', ], 'DeleteAggregators' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6770,31 +4181,18 @@ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigB2MNLG', - ], + 'abilityTreeNodes' => ['FEATUREconfigB2MNLG'], ], 'parameters' => [ [ 'name' => 'AggregatorIds', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the account group. Separate multiple IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-9190626622af00a9****', - ], + 'schema' => ['description' => 'The ID of the account group. Separate multiple IDs with commas (,).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-9190626622af00a9****'], ], [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'The client token that you want to use to ensure the idempotency of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAdDWBF2****', - ], + 'schema' => ['description' => 'The client token that you want to use to ensure the idempotency of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => 'AAAAAdDWBF2****'], ], ], 'responses' => [ @@ -6803,11 +4201,7 @@ 'description' => 'N/A.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '8195B664-9565-4685-89AC-8B5F04B44B92', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '8195B664-9565-4685-89AC-8B5F04B44B92'], 'OperateAggregatorsResult' => [ 'description' => 'The returned result.'."\n", 'type' => 'object', @@ -6819,26 +4213,14 @@ 'description' => 'N/A.'."\n", 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n" - ."\n" - .'> No error code is returned for the account group if the account group is deleted.'."\n", - 'type' => 'string', - 'example' => 'AccountNotExisted', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true: The request was successful.'."\n" - .'* false: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'AggregatorId' => [ - 'description' => 'The ID of the account group.'."\n", - 'type' => 'string', - 'example' => 'ca-dacf86d8314e00eb****', - ], + 'ErrorCode' => ['description' => 'The error code returned.'."\n" + ."\n" + .'> No error code is returned for the account group if the account group is deleted.'."\n", 'type' => 'string', 'example' => 'AccountNotExisted'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", 'type' => 'boolean', 'example' => 'false'], + 'AggregatorId' => ['description' => 'The ID of the account group.'."\n", 'type' => 'string', 'example' => 'ca-dacf86d8314e00eb****'], ], ], ], @@ -6850,42 +4232,18 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.AggregatorIds.Empty', - 'errorMessage' => 'You must specify AggregatorIds.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.AggregatorIds.SizeExceed', - 'errorMessage' => 'The maximum number of AggregatorIds is 5.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], + ['errorCode' => 'Invalid.AggregatorIds.Empty', 'errorMessage' => 'You must specify AggregatorIds.', 'description' => ''], + ['errorCode' => 'Invalid.AggregatorIds.SizeExceed', 'errorMessage' => 'The maximum number of AggregatorIds is 5.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'AggregatorMemberNoPermission', - 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', - 'description' => '', - ], + ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => ''], ], [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8195B664-9565-4685-89AC-8B5F04B44B92\\",\\n \\"OperateAggregatorsResult\\": {\\n \\"OperateAggregators\\": [\\n {\\n \\"ErrorCode\\": \\"AccountNotExisted\\",\\n \\"Success\\": false,\\n \\"AggregatorId\\": \\"ca-dacf86d8314e00eb****\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DeleteAggregatorsResponse>\\n\\t<RequestId>95B23BAB-ABB2-43C8-9475-2DC42EA60CAA</RequestId>\\n\\t<OperateAggregatorsResult>\\n\\t\\t<OperateAggregators>\\n\\t\\t\\t<ErrorCode></ErrorCode>\\n\\t\\t\\t<AggregatorId>ca-9190626622af00a9****</AggregatorId>\\n\\t\\t\\t<Success>true</Success>\\n\\t\\t</OperateAggregators>\\n\\t</OperateAggregatorsResult>\\n</DeleteAggregatorsResponse>","errorExample":""}]', @@ -6912,25 +4270,15 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Aggregator', - 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}'], ], ], ], ], ], 'DeleteCompliancePacks' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6942,134 +4290,99 @@ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigX57QP8', - ], + 'abilityTreeNodes' => ['FEATUREconfigX57QP8'], ], 'parameters' => [ [ 'name' => 'CompliancePackIds', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the compliance package. Separate multiple compliance package IDs with commas (,).'."\n" - ."\n" - .'For more information about how to obtain the ID of a compliance package, see [ListCompliancePacks](~~263332~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cp-541e626622af0087****', - ], + 'schema' => ['description' => 'The ID of the compliance package. Separate multiple compliance package IDs with commas (,).'."\n" + ."\n" + .'For more information about how to obtain the ID of a compliance package, see [ListCompliancePacks](~~263332~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-541e626622af0087****', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The `token` can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAdDWBF2****', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The `token` can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => 'AAAAAdDWBF2****', 'title' => ''], ], [ 'name' => 'DeleteRule', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to delete the rules in the compliance package. Valid values:'."\n" - ."\n" - .'* true: The rules are deleted.'."\n" - .'* false (default): The rules are not deleted.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to delete the rules in the compliance package. Valid values:'."\n" + ."\n" + .'- true: The rules are deleted.'."\n" + ."\n" + .'- false (default): The rules are not deleted.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'N/A.'."\n", + 'description' => 'N/A.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', 'title' => ''], 'OperateCompliancePacksResult' => [ - 'description' => 'The returned result.'."\n", + 'description' => 'The returned result.', 'type' => 'object', 'properties' => [ 'OperateCompliancePacks' => [ - 'description' => 'An array that contains compliance packages that are deleted.'."\n", + 'description' => 'An array that contains compliance packages that are deleted.', 'type' => 'array', 'items' => [ - 'description' => 'N/A.'."\n", + 'description' => 'N/A.', 'type' => 'object', 'properties' => [ - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance package.'."\n", - 'type' => 'string', - 'example' => 'cp-541e626622af0087****', - ], - 'ErrorCode' => [ - 'description' => 'The error code returned.'."\n" - ."\n" - .'* If the compliance package is deleted, no error code is returned.'."\n" - .'* If the compliance package fails to be deleted, an error code is returned. For more information about error codes, see [Error codes](https://error-center.alibabacloud.com/status/product/Config).'."\n", - 'type' => 'string', - 'example' => 'CompliancePackAlreadyPending', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true: The request was successful.'."\n" - .'* false: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'CompliancePackId' => ['description' => 'The ID of the compliance package.', 'type' => 'string', 'example' => 'cp-541e626622af0087****', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code returned.'."\n" + ."\n" + .'- If the compliance package is deleted, no error code is returned.'."\n" + ."\n" + .'- If the compliance package fails to be deleted, an error code is returned. For more information about error codes, see [Error codes](https://error-center.alibabacloud.com/status/product/Config).', 'type' => 'string', 'example' => 'CompliancePackAlreadyPending', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- true: The request was successful.'."\n" + ."\n" + .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.CompliancePackIds.SizeExceed', - 'errorMessage' => 'The maximum number of CompliancePackIds is 5.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], + ['errorCode' => 'Invalid.CompliancePackIds.SizeExceed', 'errorMessage' => 'The maximum number of CompliancePackIds is 5.', 'description' => 'The maximum number of compliance pack ID is 5.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"OperateCompliancePacksResult\\": {\\n \\"OperateCompliancePacks\\": [\\n {\\n \\"CompliancePackId\\": \\"cp-541e626622af0087****\\",\\n \\"ErrorCode\\": \\"CompliancePackAlreadyPending\\",\\n \\"Success\\": true\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DeleteCompliancePacksResponse>\\n\\t<RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n\\t<OperateCompliancePacksResult>\\n\\t\\t<OperateCompliancePacks>\\n\\t\\t\\t<CompliancePackId>cp-541e626622af0087****</CompliancePackId>\\n\\t\\t\\t<ErrorCode></ErrorCode>\\n\\t\\t\\t<Success>true</Success>\\n\\t\\t</OperateCompliancePacks>\\n\\t</OperateCompliancePacksResult>\\n</DeleteCompliancePacksResponse>","errorExample":""}]', 'title' => 'DeleteCompliancePacks', 'summary' => 'Deletes one or more compliance packages.', - 'description' => 'This topic provides an example on how to delete the `cp-541e626622af0087****` compliance package.'."\n", - 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n", + 'description' => 'This topic provides an example on how to delete the `cp-541e626622af0087****` compliance package.', + 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).', 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteCompliancePacks'], + ], + ], 'ramActions' => [ [ 'operationType' => 'delete', @@ -7078,26 +4391,16 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'CompliancePack', - 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'], ], ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"OperateCompliancePacksResult\\": {\\n \\"OperateCompliancePacks\\": [\\n {\\n \\"CompliancePackId\\": \\"cp-541e626622af0087****\\",\\n \\"ErrorCode\\": \\"CompliancePackAlreadyPending\\",\\n \\"Success\\": true\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'DeleteConfigDeliveryChannel' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7109,22 +4412,15 @@ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigRIQA8M', - ], + 'abilityTreeNodes' => ['FEATUREconfigRIQA8M'], ], 'parameters' => [ [ 'name' => 'DeliveryChannelId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the delivery channel.'."\n" - ."\n" - .'For more information about how to obtain the ID of a delivery channel, see [DescribeDeliveryChannels](~~429841~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cdc-38c32e87cadb002c****', - ], + 'schema' => ['description' => 'The ID of the delivery channel.'."\n" + ."\n" + .'For more information about how to obtain the ID of a delivery channel, see [DescribeDeliveryChannels](~~429841~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'cdc-38c32e87cadb002c****'], ], ], 'responses' => [ @@ -7132,74 +4428,26 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '35F1DA37-ECB5-54E9-AC22-0D9111A665AA', - ], - 'DeliveryChannelId' => [ - 'description' => 'The ID of the delivery channel.'."\n", - 'type' => 'string', - 'example' => 'cdc-38c32e87cadb002c****', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '35F1DA37-ECB5-54E9-AC22-0D9111A665AA'], + 'DeliveryChannelId' => ['description' => 'The ID of the delivery channel.'."\n", 'type' => 'string', 'example' => 'cdc-38c32e87cadb002c****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'DeliveryChannelNotExists', - 'errorMessage' => 'The delivery channel does not exist.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', - 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.DeliveryChannelTargetArn.Format', - 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.DeliveryChannelCondition.Format', - 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.', - 'description' => '', - ], - [ - 'errorCode' => 'MemberNotBelongToMaster', - 'errorMessage' => 'The specified member does not belong to your organization.', - 'description' => '', - ], - [ - 'errorCode' => 'DeliveryChannelAccountNotSupport', - 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.', - 'description' => '', - ], - [ - 'errorCode' => 'DeliveryChannelMnsUnreachable', - 'errorMessage' => 'The MNS topic is unreachable.', - 'description' => '', - ], - [ - 'errorCode' => 'DeliveryChannelOssUnreachable', - 'errorMessage' => 'The OSS bucket is unreachable.', - 'description' => '', - ], - [ - 'errorCode' => 'DeliveryChannelSlsUnreachable', - 'errorMessage' => 'SLS logstore is unreachable.', - 'description' => '', - ], + ['errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => ''], + ['errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', 'description' => ''], + ['errorCode' => 'Invalid.DeliveryChannelTargetArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.', 'description' => ''], + ['errorCode' => 'Invalid.DeliveryChannelCondition.Format', 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.', 'description' => ''], + ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''], + ['errorCode' => 'DeliveryChannelAccountNotSupport', 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.', 'description' => ''], + ['errorCode' => 'DeliveryChannelMnsUnreachable', 'errorMessage' => 'The MNS topic is unreachable.', 'description' => ''], + ['errorCode' => 'DeliveryChannelOssUnreachable', 'errorMessage' => 'The OSS bucket is unreachable.', 'description' => ''], + ['errorCode' => 'DeliveryChannelSlsUnreachable', 'errorMessage' => 'SLS logstore is unreachable.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"35F1DA37-ECB5-54E9-AC22-0D9111A665AA\\",\\n \\"DeliveryChannelId\\": \\"cdc-38c32e87cadb002c****\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteConfigDeliveryChannelResponse>\\n <RequestId>35F1DA37-ECB5-54E9-AC22-0D9111A665AA</RequestId>\\n <DeliveryChannelId>cdc-38c32e87cadb002c****</DeliveryChannelId>\\n</DeleteConfigDeliveryChannelResponse>","errorExample":""}]', @@ -7216,25 +4464,15 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Delivery', - 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}'], ], ], ], ], ], 'DeleteConfigRules' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -7246,23 +4484,15 @@ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'ConfigRuleIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule IDs. Separate multiple rule IDs with commas (,).'."\n" - ."\n" - .'For more information about how to obtain the ID of a rule, see [ListConfigRules](~~609222~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cr-9908626622af0035****', - ], + 'schema' => ['description' => 'The rule IDs. Separate multiple rule IDs with commas (,).'."\n" + ."\n" + .'For more information about how to obtain the ID of a rule, see [ListConfigRules](~~609222~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-9908626622af0035****'], ], ], 'responses' => [ @@ -7270,11 +4500,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '6721BBD3-F2A6-5349-9051-EE0111036D3F', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6721BBD3-F2A6-5349-9051-EE0111036D3F'], 'OperateRuleResult' => [ 'description' => 'The results of the delete operations.'."\n", 'type' => 'object', @@ -7286,27 +4512,15 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'description' => 'The error code.'."\n" - ."\n" - .'* If the rule is disabled, no error code is returned.'."\n" - .'* If the rule fails to be disabled, an error code is returned. For more information about error codes, see [Error codes](https://api.alibabacloud.com/document/Config/2020-09-07/errorCode).'."\n", - 'type' => 'string', - 'example' => 'ConfigRuleCanNotDelete', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.'."\n", - 'type' => 'string', - 'example' => 'cr-9908626622af0035****', - ], + 'ErrorCode' => ['description' => 'The error code.'."\n" + ."\n" + .'* If the rule is disabled, no error code is returned.'."\n" + .'* If the rule fails to be disabled, an error code is returned. For more information about error codes, see [Error codes](https://api.alibabacloud.com/document/Config/2020-09-07/errorCode).'."\n", 'type' => 'string', 'example' => 'ConfigRuleCanNotDelete'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", 'type' => 'boolean', 'example' => 'false'], + 'ConfigRuleId' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'example' => 'cr-9908626622af0035****'], ], ], ], @@ -7319,35 +4533,15 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'ConfigRuleCanNotDelete', - 'errorMessage' => 'The config rule cannot be deleted.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', - 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], + ['errorCode' => 'ConfigRuleCanNotDelete', 'errorMessage' => 'The config rule cannot be deleted.', 'description' => ''], + ['errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6721BBD3-F2A6-5349-9051-EE0111036D3F\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ErrorCode\\": \\"ConfigRuleCanNotDelete\\",\\n \\"Success\\": false,\\n \\"ConfigRuleId\\": \\"cr-9908626622af0035****\\"\\n }\\n ]\\n }\\n}","type":"json"}]', @@ -7363,12 +4557,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Rule', - 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}'], ], ], ], @@ -7376,13 +4565,8 @@ ], 'DeleteRemediations' => [ 'summary' => 'Deletes specified remediation settings.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7394,24 +4578,15 @@ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'RemediationIds', 'in' => 'formData', - 'schema' => [ - 'description' => 'The remediation setting ID. To specify multiple IDs, separate them with commas (,).'."\n" - ."\n" - .'For information about how to obtain a remediation setting ID, see [ListRemediations](~~270772~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'crr-909ba2d4716700eb****', - ], + 'schema' => ['description' => 'The remediation setting ID. To specify multiple IDs, separate them with commas (,).'."\n" + ."\n" + .'For information about how to obtain a remediation setting ID, see [ListRemediations](~~270772~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'crr-909ba2d4716700eb****'], ], ], 'responses' => [ @@ -7420,12 +4595,7 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '4BE28FB1-616A-5586-82E4-F34FB2AF7441', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4BE28FB1-616A-5586-82E4-F34FB2AF7441'], 'RemediationDeleteResults' => [ 'description' => 'The result of the delete operation.', 'type' => 'array', @@ -7433,32 +4603,17 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'RemediationId' => [ - 'description' => 'The remediation setting ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'crr-909ba2d4716700eb****', - ], - 'ErrorMessage' => [ - 'description' => 'The error code.'."\n" - ."\n" - .'- This parameter is empty if the remediation setting is successfully deleted.'."\n" - ."\n" - .'- This parameter returns an error code if the operation fails. For more information about error codes, see <props="intl">[Error Center](https://error-center.alibabacloud.com/status/product/Config)</props>.', - 'type' => 'string', - 'title' => '', - 'example' => 'RemediationConfigNotExist', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation was successful. Valid values:'."\n" - ."\n" - .'- true: The operation was successful.'."\n" - ."\n" - .'- false: The operation failed.', - 'type' => 'boolean', - 'title' => '', - 'example' => 'true', - ], + 'RemediationId' => ['description' => 'The remediation setting ID.', 'type' => 'string', 'title' => '', 'example' => 'crr-909ba2d4716700eb****'], + 'ErrorMessage' => ['description' => 'The error code.'."\n" + ."\n" + .'- This parameter is empty if the remediation setting is successfully deleted.'."\n" + ."\n" + .'- This parameter returns an error code if the operation fails. For more information about error codes, see <props="intl">[Error Center](https://error-center.alibabacloud.com/status/product/Config)</props>.', 'type' => 'string', 'title' => '', 'example' => 'RemediationConfigNotExist'], + 'Success' => ['description' => 'Indicates whether the operation was successful. Valid values:'."\n" + ."\n" + .'- true: The operation was successful.'."\n" + ."\n" + .'- false: The operation failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], ], 'title' => '', 'example' => '', @@ -7474,18 +4629,10 @@ ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'title' => 'DeleteRemediations', @@ -7494,12 +4641,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DeleteRemediations', - ], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteRemediations'], ], ], 'ramActions' => [ @@ -7510,12 +4652,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -7524,12 +4661,8 @@ ], 'DeleteReportTemplate' => [ 'summary' => 'Deletes a compliance report template.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -7541,22 +4674,13 @@ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigZWSOST', - ], + 'abilityTreeNodes' => ['FEATUREconfigZWSOST'], ], 'parameters' => [ [ 'name' => 'ReportTemplateId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the report template.', - 'type' => 'string', - 'required' => true, - 'docRequired' => false, - 'example' => 'crt-xxx', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the report template.', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'crt-xxx', 'title' => ''], ], ], 'responses' => [ @@ -7565,18 +4689,8 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'ReportTemplateId' => [ - 'description' => 'The ID of the report template.', - 'type' => 'string', - 'example' => 'crt-xxx', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'DE9FFFE5-FCAD-4B24-9546-BF49273C562B', - 'title' => '', - ], + 'ReportTemplateId' => ['description' => 'The ID of the report template.', 'type' => 'string', 'example' => 'crt-xxx', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'DE9FFFE5-FCAD-4B24-9546-BF49273C562B', 'title' => ''], ], 'title' => '', 'example' => '', @@ -7585,16 +4699,10 @@ ], 'errorCodes' => [ 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Delete a Compliance Report template', 'changeSet' => [], 'flowControl' => [ @@ -7605,14 +4713,8 @@ ], 'DescribeDiscoveredResourceBatch' => [ 'summary' => 'This operation retrieves the details of multiple resources in a batch.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7624,43 +4726,23 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6XGW41', - ], + 'abilityTreeNodes' => ['FEATUREconfig6XGW41'], ], 'parameters' => [ [ 'name' => 'ResourceIds', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The resource IDs. Separate multiple resource IDs with commas (`,`).', - 'type' => 'string', - 'required' => false, - 'example' => 'r-wz998f311e21****,r-wz97f4a73478****', - ], + 'schema' => ['title' => '', 'description' => 'The resource IDs. Separate multiple resource IDs with commas (`,`).', 'type' => 'string', 'required' => false, 'example' => 'r-wz998f311e21****,r-wz97f4a73478****'], ], [ 'name' => 'ResourceTypes', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The resource types. Separate multiple resource types with commas (`,`).', - 'type' => 'string', - 'required' => false, - 'example' => 'ACS::ECS::Disk,ACS::ECS::Instance', - ], + 'schema' => ['title' => '', 'description' => 'The resource types. Separate multiple resource types with commas (`,`).', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Disk,ACS::ECS::Instance'], ], [ 'name' => 'Regions', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The regions where the resources reside. Separate multiple regions with commas (`,`).', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai,cn-hongkong,cn-zhangjiakou,cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The regions where the resources reside. Separate multiple regions with commas (`,`).', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai,cn-hongkong,cn-zhangjiakou,cn-hangzhou'], ], ], 'responses' => [ @@ -7670,12 +4752,7 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '', - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '6CE4ABA1-9A57-41A9-8EA9-E8B17D46****', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '6CE4ABA1-9A57-41A9-8EA9-E8B17D46****'], ], 'example' => '', ], @@ -7683,25 +4760,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'title' => 'DescribeDiscoveredResourceBatch', @@ -7717,12 +4782,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -7731,14 +4791,8 @@ ], 'DescribeIntegratedServiceStatus' => [ 'summary' => 'Queries the authorization status of an integrated cloud service.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7750,22 +4804,13 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigRIQA8M', - ], + 'abilityTreeNodes' => ['FEATUREconfigRIQA8M'], ], 'parameters' => [ [ 'name' => 'ServiceCode', 'in' => 'formData', - 'schema' => [ - 'title' => '', - 'description' => 'The code of the cloud service.', - 'type' => 'string', - 'required' => true, - 'docRequired' => false, - 'example' => 'cadt', - ], + 'schema' => ['title' => '', 'description' => 'The code of the cloud service.', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'cadt'], ], ], 'responses' => [ @@ -7773,26 +4818,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '2E265A38-84D9-5083-A333-B33A2B46D139', - ], - 'Data' => [ - 'title' => '', - 'description' => 'The enabling status of the integrated service.', - 'type' => 'boolean', - 'example' => 'false', - ], - 'AggregatorDeliveryDataType' => [ - 'description' => 'The event type for cross-account integration. The supported event type is:'."\n" - ."\n" - .'- NonCompliantNotification: non-compliance events.', - 'type' => 'string', - 'title' => '', - 'example' => 'NonCompliantNotification', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '2E265A38-84D9-5083-A333-B33A2B46D139'], + 'Data' => ['title' => '', 'description' => 'The enabling status of the integrated service.', 'type' => 'boolean', 'example' => 'false'], + 'AggregatorDeliveryDataType' => ['description' => 'The event type for cross-account integration. The supported event type is:'."\n" + ."\n" + .'- NonCompliantNotification: non-compliance events.', 'type' => 'string', 'title' => '', 'example' => 'NonCompliantNotification'], ], 'description' => '', 'title' => '', @@ -7801,11 +4831,7 @@ ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], ], 'title' => 'DescribeIntegratedServiceStatus', @@ -7821,12 +4847,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -7834,13 +4855,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2E265A38-84D9-5083-A333-B33A2B46D139\\",\\n \\"Data\\": false,\\n \\"AggregatorDeliveryDataType\\": \\"NonCompliantNotification\\"\\n}","type":"json"}]', ], 'DescribeRemediation' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7848,31 +4864,17 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The rule ID.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'cr-3184626622af003****', - ], + 'schema' => ['title' => '', 'description' => 'The rule ID.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cr-3184626622af003****'], ], [ 'name' => 'RemediationId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the remediation configuration.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'crr-f381cf0c1c2f004e****', - ], + 'schema' => ['description' => 'The ID of the remediation configuration.'."\n", 'type' => 'string', 'required' => false, 'example' => 'crr-f381cf0c1c2f004e****'], ], ], 'responses' => [ @@ -7880,90 +4882,39 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '79BE07A7-46A5-5D3C-B378-0ACDA979****', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '79BE07A7-46A5-5D3C-B378-0ACDA979****'], 'Remediation' => [ 'description' => 'The details of the remediation configuration.'."\n", 'type' => 'object', 'properties' => [ - 'LastSuccessfulInvocationType' => [ - 'description' => 'The mode of the last successful execution of the remediation template. Valid values:'."\n" - ."\n" - .'* NON_EXECUTION: The remediation template was not executed.'."\n" - .'* AUTO_EXECUTION: The remediation template was automatically executed.'."\n" - .'* MANUAL_EXECUTION: The remediation template was manually executed.'."\n" - .'* NOT_CONFIG: The execution mode was not specified.'."\n", - 'type' => 'string', - 'example' => 'AUTO_EXECUTION', - ], - 'RemediationTemplateId' => [ - 'description' => 'The ID of the remediation template.'."\n", - 'type' => 'string', - 'example' => 'ACS-OSS-PutBucketAcl', - ], - 'RemediationOriginParams' => [ - 'description' => 'The converted configuration of the remediation template. This parameter is returned only for an OOS remediation template.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{"bucketName": "{resourceId}", "regionId": "{regionId}", "permissionName": "private"}', - ], - 'RemediationId' => [ - 'description' => 'The ID of the remediation configuration.'."\n", - 'type' => 'string', - 'example' => 'crr-f381cf0c1c2f004e****', - ], - 'RemediationSourceType' => [ - 'description' => 'The source of the remediation template. Valid values:'."\n" - ."\n" - .'* ALIYUN: official template'."\n" - .'* CUSTOM: custom template'."\n" - .'* NONE: none'."\n", - 'type' => 'string', - 'example' => 'ALIYUN', - ], - 'RemediationType' => [ - 'description' => 'The type of the remediation template. Valid values:'."\n" - ."\n" - .'* OOS: Operation Orchestration Service (official remediation)'."\n" - .'* FC: Function Compute (custom remediation)'."\n", - 'type' => 'string', - 'example' => 'OOS', - ], - 'LastSuccessfulInvocationId' => [ - 'description' => 'The record ID of the last successful execution of the remediation template.'."\n", - 'type' => 'string', - 'example' => 'bd7629fb-cac8-42fe-bcb1-e362c5a6****', - ], - 'AccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100931896542****', - ], - 'InvokeType' => [ - 'description' => 'The execution mode of the remediation template. Valid values:'."\n" - ."\n" - .'* NON_EXECUTION: The remediation template was not executed.'."\n" - .'* AUTO_EXECUTION: The remediation template was automatically executed.'."\n" - .'* MANUAL_EXECUTION: The remediation template was manually executed.'."\n" - .'* NOT_CONFIG: The execution mode was not specified.'."\n", - 'type' => 'string', - 'example' => 'AUTO_EXECUTION', - ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.'."\n", - 'type' => 'string', - 'example' => 'cr-3184626622af003****', - ], - 'LastSuccessfulInvocationTime' => [ - 'description' => 'The timestamp of the last successful execution of the remediation template. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1625451393589', - ], + 'LastSuccessfulInvocationType' => ['description' => 'The mode of the last successful execution of the remediation template. Valid values:'."\n" + ."\n" + .'* NON_EXECUTION: The remediation template was not executed.'."\n" + .'* AUTO_EXECUTION: The remediation template was automatically executed.'."\n" + .'* MANUAL_EXECUTION: The remediation template was manually executed.'."\n" + .'* NOT_CONFIG: The execution mode was not specified.'."\n", 'type' => 'string', 'example' => 'AUTO_EXECUTION'], + 'RemediationTemplateId' => ['description' => 'The ID of the remediation template.'."\n", 'type' => 'string', 'example' => 'ACS-OSS-PutBucketAcl'], + 'RemediationOriginParams' => ['description' => 'The converted configuration of the remediation template. This parameter is returned only for an OOS remediation template.'."\n", 'type' => 'string', 'required' => true, 'example' => '{"bucketName": "{resourceId}", "regionId": "{regionId}", "permissionName": "private"}'], + 'RemediationId' => ['description' => 'The ID of the remediation configuration.'."\n", 'type' => 'string', 'example' => 'crr-f381cf0c1c2f004e****'], + 'RemediationSourceType' => ['description' => 'The source of the remediation template. Valid values:'."\n" + ."\n" + .'* ALIYUN: official template'."\n" + .'* CUSTOM: custom template'."\n" + .'* NONE: none'."\n", 'type' => 'string', 'example' => 'ALIYUN'], + 'RemediationType' => ['description' => 'The type of the remediation template. Valid values:'."\n" + ."\n" + .'* OOS: Operation Orchestration Service (official remediation)'."\n" + .'* FC: Function Compute (custom remediation)'."\n", 'type' => 'string', 'example' => 'OOS'], + 'LastSuccessfulInvocationId' => ['description' => 'The record ID of the last successful execution of the remediation template.'."\n", 'type' => 'string', 'example' => 'bd7629fb-cac8-42fe-bcb1-e362c5a6****'], + 'AccountId' => ['description' => 'The ID of the Alibaba Cloud account.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'], + 'InvokeType' => ['description' => 'The execution mode of the remediation template. Valid values:'."\n" + ."\n" + .'* NON_EXECUTION: The remediation template was not executed.'."\n" + .'* AUTO_EXECUTION: The remediation template was automatically executed.'."\n" + .'* MANUAL_EXECUTION: The remediation template was manually executed.'."\n" + .'* NOT_CONFIG: The execution mode was not specified.'."\n", 'type' => 'string', 'example' => 'AUTO_EXECUTION'], + 'ConfigRuleId' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'example' => 'cr-3184626622af003****'], + 'LastSuccessfulInvocationTime' => ['description' => 'The timestamp of the last successful execution of the remediation template. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1625451393589'], ], ], ], @@ -7983,26 +4934,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DetachAggregateConfigRuleToCompliancePack' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8014,47 +4954,29 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigX57QP8', - ], + 'abilityTreeNodes' => ['FEATUREconfigX57QP8'], ], 'parameters' => [ [ 'name' => 'ConfigRuleIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule IDs. Separate multiple rule IDs with commas (,).'."\n" - ."\n" - .'For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cr-a124626622af00e7****', - ], + 'schema' => ['description' => 'The rule IDs. Separate multiple rule IDs with commas (,).'."\n" + ."\n" + .'For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-a124626622af00e7****'], ], [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance package.'."\n" - ."\n" - .'For more information about how to obtain the ID of a compliance package, see [ListAggregateCompliancePacks](~~262059~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cp-5bb1626622af00bd****', - ], + 'schema' => ['description' => 'The ID of the compliance package.'."\n" + ."\n" + .'For more information about how to obtain the ID of a compliance package, see [ListAggregateCompliancePacks](~~262059~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'cp-5bb1626622af00bd****'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ca-75b4626622af00c3****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'ca-75b4626622af00c3****'], ], ], 'responses' => [ @@ -8062,11 +4984,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB12A', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB12A'], 'OperateRuleResult' => [ 'description' => 'The results of the operations to remove one or more rules.'."\n", 'type' => 'object', @@ -8077,27 +4995,15 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'description' => 'The error code.'."\n" - ."\n" - .'* This parameter is empty if the rule is removed from the compliance package.'."\n" - .'* An error code is returned if the rule fails to be removed from the compliance package. For more information about error codes, see [Error codes](https://error-center.alibabacloud.com/status/product/Config).'."\n", - 'type' => 'string', - 'example' => 'ConfigRuleNotExists', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.'."\n", - 'type' => 'string', - 'example' => 'cr-a124626622af00e7****', - ], + 'ErrorCode' => ['description' => 'The error code.'."\n" + ."\n" + .'* This parameter is empty if the rule is removed from the compliance package.'."\n" + .'* An error code is returned if the rule fails to be removed from the compliance package. For more information about error codes, see [Error codes](https://error-center.alibabacloud.com/status/product/Config).'."\n", 'type' => 'string', 'example' => 'ConfigRuleNotExists'], + 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", 'type' => 'boolean', 'example' => 'true'], + 'ConfigRuleId' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'example' => 'cr-a124626622af00e7****'], ], ], ], @@ -8110,30 +5016,14 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', - 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], + ['errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB12A\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ErrorCode\\": \\"ConfigRuleNotExists\\",\\n \\"Success\\": true,\\n \\"ConfigRuleId\\": \\"cr-a124626622af00e7****\\"\\n }\\n ]\\n }\\n}","type":"json"}]', @@ -8156,12 +5046,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -8169,14 +5054,8 @@ ], 'DetachConfigRuleToCompliancePack' => [ 'summary' => 'This operation detaches one or more rules from a compliance package.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8188,37 +5067,22 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigX57QP8', - ], + 'abilityTreeNodes' => ['FEATUREconfigX57QP8'], ], 'parameters' => [ [ 'name' => 'ConfigRuleIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule ID. Separate multiple rule IDs with commas (,).'."\n" - ."\n" - .'For more information about how to obtain a rule ID, see [ListConfigRules](~~169607~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'cr-6cc4626622af00e7****', - ], + 'schema' => ['description' => 'The rule ID. Separate multiple rule IDs with commas (,).'."\n" + ."\n" + .'For more information about how to obtain a rule ID, see [ListConfigRules](~~169607~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cr-6cc4626622af00e7****'], ], [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance package.'."\n" - ."\n" - .'For more information about how to obtain the ID of a compliance package, see [ListCompliancePacks](~~263332~~).', - 'type' => 'string', - 'required' => true, - 'title' => '', - 'example' => 'cp-5bb1626622af00bd****', - ], + 'schema' => ['description' => 'The ID of the compliance package.'."\n" + ."\n" + .'For more information about how to obtain the ID of a compliance package, see [ListCompliancePacks](~~263332~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cp-5bb1626622af00bd****'], ], ], 'responses' => [ @@ -8226,12 +5090,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'title' => '', - 'example' => '1AC7AED1-172F-42AE-9C12-295BC2ADB12A', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '1AC7AED1-172F-42AE-9C12-295BC2ADB12A'], 'OperateRuleResult' => [ 'description' => 'The results of the operation to detach rules.', 'type' => 'object', @@ -8242,42 +5101,27 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'description' => 'The error code.'."\n" - ."\n" - .'- This parameter is empty if the operation is successful.'."\n" - ."\n" - .'<props="china">'."\n" - ."\n" - .'- An error code is returned if the operation fails. For more information about error codes, see the [Error Center](https://error-center.aliyun.com/status/product/Config).'."\n" - ."\n" - .'</props>'."\n" - ."\n\n" - .'<props="intl">'."\n" - ."\n" - .'- An error code is returned if the operation fails. For more information about error codes, see the [Error Center](https://error-center.alibabacloud.com/status/product/Config).'."\n" - ."\n" - .'</props>', - 'type' => 'string', - 'title' => '', - 'example' => 'ConfigRuleNotExists', - ], - 'Success' => [ - 'description' => 'Indicates whether the operation was successful. Valid values:'."\n" - ."\n" - .'- true: The operation was successful.'."\n" - ."\n" - .'- false: The operation failed.', - 'type' => 'boolean', - 'title' => '', - 'example' => 'true', - ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'cr-6cc4626622af00e7****', - ], + 'ErrorCode' => ['description' => 'The error code.'."\n" + ."\n" + .'- This parameter is empty if the operation is successful.'."\n" + ."\n" + .'<props="china">'."\n" + ."\n" + .'- An error code is returned if the operation fails. For more information about error codes, see the [Error Center](https://error-center.aliyun.com/status/product/Config).'."\n" + ."\n" + .'</props>'."\n" + ."\n\n" + .'<props="intl">'."\n" + ."\n" + .'- An error code is returned if the operation fails. For more information about error codes, see the [Error Center](https://error-center.alibabacloud.com/status/product/Config).'."\n" + ."\n" + .'</props>', 'type' => 'string', 'title' => '', 'example' => 'ConfigRuleNotExists'], + 'Success' => ['description' => 'Indicates whether the operation was successful. Valid values:'."\n" + ."\n" + .'- true: The operation was successful.'."\n" + ."\n" + .'- false: The operation failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'ConfigRuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'title' => '', 'example' => 'cr-6cc4626622af00e7****'], ], 'description' => '', 'title' => '', @@ -8299,30 +5143,14 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], - [ - 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', - 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', - 'description' => 'The maximum number of ConfigRuleIds cannot exceed 20.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], + ['errorCode' => 'Invalid.ConfigRuleIds.SizeExceed', 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'description' => 'The maximum number of ConfigRuleIds cannot exceed 20.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1AC7AED1-172F-42AE-9C12-295BC2ADB12A\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ErrorCode\\": \\"ConfigRuleNotExists\\",\\n \\"Success\\": true,\\n \\"ConfigRuleId\\": \\"cr-6cc4626622af00e7****\\"\\n }\\n ]\\n }\\n}","type":"json"}]', @@ -8338,12 +5166,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DetachConfigRuleToCompliancePack', - ], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DetachConfigRuleToCompliancePack'], ], ], 'ramActions' => [ @@ -8354,25 +5177,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DryRunConfigRule' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8384,67 +5197,53 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ConfigurationItem', 'in' => 'formData', - 'schema' => [ - 'description' => 'The complete configuration information of the resource.', - 'type' => 'string', - 'required' => false, - 'example' => '{'."\n" - .' "ResourceCreationTime": 1741241360000,'."\n" - .' "AccountId": 123,'."\n" - .' "Configuration": {'."\n" - .' "ResourceGroupId": "",'."\n" - .' "Memory": 1024,'."\n" - .' "InstanceChargeType": "PrePaid",'."\n" - .' "Cpu": 1,'."\n" - .' "OSName": "Alibaba Cloud Linux 3.2104 LTS 64 bit",'."\n" - .' "InstanceNetworkType": "vpc",'."\n" - .' "InnerIpAddress": {'."\n" - .' "IpAddress": []'."\n" - .' },'."\n" - .' "ExpiredTime": "2026-05-06T16:00Z",'."\n" - .' "ImageId": "aliyun_3_x64_20G_alibase_20250117.vhd",'."\n" - .' "EipAddress": {'."\n" - .' "AllocationId": "",'."\n" - .' "IpAddress": "",'."\n" - .' "InternetChargeType": ""'."\n" - .' },'."\n" - .' "ImageOptions": {},'."\n" - .' "Status": "Running",'."\n" - .' "AdditionalInfo": {},'."\n" - .' "HibernationOptions": {'."\n" - .' "Configured": false'."\n" - .' }'."\n" - .' },'."\n" - .' "ResourceId": "i-bp1d8kd8ztaynb4c****",'."\n" - .' "ResourceName": "****",'."\n" - .' "ResourceStatus": "Running",'."\n" - .' "Region": "cn-hangzhou",'."\n" - .' "AvailabilityZone": "cn-hangzhou-h",'."\n" - .' "ResourceType": "ACS::ECS::Instance",'."\n" - .' "ResourceDeleted": 1'."\n" - .'}', - 'title' => '', - ], + 'schema' => ['description' => 'The complete configuration information of the resource.', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "ResourceCreationTime": 1741241360000,'."\n" + .' "AccountId": 123,'."\n" + .' "Configuration": {'."\n" + .' "ResourceGroupId": "",'."\n" + .' "Memory": 1024,'."\n" + .' "InstanceChargeType": "PrePaid",'."\n" + .' "Cpu": 1,'."\n" + .' "OSName": "Alibaba Cloud Linux 3.2104 LTS 64 bit",'."\n" + .' "InstanceNetworkType": "vpc",'."\n" + .' "InnerIpAddress": {'."\n" + .' "IpAddress": []'."\n" + .' },'."\n" + .' "ExpiredTime": "2026-05-06T16:00Z",'."\n" + .' "ImageId": "aliyun_3_x64_20G_alibase_20250117.vhd",'."\n" + .' "EipAddress": {'."\n" + .' "AllocationId": "",'."\n" + .' "IpAddress": "",'."\n" + .' "InternetChargeType": ""'."\n" + .' },'."\n" + .' "ImageOptions": {},'."\n" + .' "Status": "Running",'."\n" + .' "AdditionalInfo": {},'."\n" + .' "HibernationOptions": {'."\n" + .' "Configured": false'."\n" + .' }'."\n" + .' },'."\n" + .' "ResourceId": "i-bp1d8kd8ztaynb4c****",'."\n" + .' "ResourceName": "****",'."\n" + .' "ResourceStatus": "Running",'."\n" + .' "Region": "cn-hangzhou",'."\n" + .' "AvailabilityZone": "cn-hangzhou-h",'."\n" + .' "ResourceType": "ACS::ECS::Instance",'."\n" + .' "ResourceDeleted": 1'."\n" + .'}', 'title' => ''], ], [ 'name' => 'ResourceType', 'in' => 'formData', - 'schema' => [ - 'description' => 'The resource type that is evaluated by the rule.', - 'type' => 'string', - 'required' => false, - 'example' => 'ACS::ECS::Instance', - 'title' => '', - ], + 'schema' => ['description' => 'The resource type evaluated by the rule.', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', 'title' => ''], ], ], 'responses' => [ @@ -8454,48 +5253,29 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'C32EEAD7-BF64-5927-977A-AFF9342B****', - ], - 'RuleConditionContext' => [ - 'description' => 'The context of the rule conditions.', - 'type' => 'string', - 'example' => '{'."\n" - .' "result":"NON_COMPLIANT",'."\n" - .' "children":['."\n" - .' {'."\n" - .' "featureValue":"1",'."\n" - .' "featureSource":"CONFIGURATION",'."\n" - .' "result":"NON_COMPLIANT",'."\n" - .' "desired":"4",'."\n" - .' "children":[],'."\n" - .' "operator":"StringEquals",'."\n" - .' "featurePath":"$.Cpu"'."\n" - .' }'."\n" - .' ],'."\n" - .' "operator":"and"'."\n" - .'}', - 'title' => '', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'C32EEAD7-BF64-5927-977A-AFF9342B****'], + 'RuleConditionContext' => ['description' => 'The rule condition context.', 'type' => 'string', 'example' => '{'."\n" + .' "result":"NON_COMPLIANT",'."\n" + .' "children":['."\n" + .' {'."\n" + .' "featureValue":"1",'."\n" + .' "featureSource":"CONFIGURATION",'."\n" + .' "result":"NON_COMPLIANT",'."\n" + .' "desired":"4",'."\n" + .' "children":[],'."\n" + .' "operator":"StringEquals",'."\n" + .' "featurePath":"$.Cpu"'."\n" + .' }'."\n" + .' ],'."\n" + .' "operator":"and"'."\n" + .'}', 'title' => ''], 'ComplianceType' => [ 'description' => 'The compliance type of the rule. Valid values:'."\n" - ."\n" .'- COMPLIANT: Compliant.'."\n" - ."\n" - .'- NON\\_COMPLIANT: Non-compliant.'."\n" - ."\n" - .'- NOT\\_APPLICABLE: Not applicable.'."\n" - ."\n" - .'- INSUFFICIENT\\_DATA: Insufficient data.', - 'enumValueTitles' => [ - 'NOT_APPLICABLE' => '不适用', - 'COMPLIANT' => '合规', - 'NON_COMPLIANT' => '不合规', - 'INSUFFICIENT_DATA' => '数据不充分', - ], + .'- NON_COMPLIANT: Non-compliant.'."\n" + .'- NOT_APPLICABLE: Not applicable.'."\n" + .'- INSUFFICIENT_DATA: Insufficient data.', + 'enumValueTitles' => ['NOT_APPLICABLE' => 'Not applicable.', 'COMPLIANT' => 'Compliant.', 'NON_COMPLIANT' => 'Non-compliant.', 'INSUFFICIENT_DATA' => 'Insufficient data.'], 'type' => 'string', 'example' => 'COMPLIANT', 'title' => '', @@ -8505,20 +5285,13 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'title' => 'DryRunConfigRule', - 'summary' => 'This API performs a dry run on rules for proactive compliance pre-checks.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Dry run a proactive compliance precheck rule', + 'summary' => 'Performs a dry run of a proactive compliance precheck rule.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DryRunConfigRule', - ], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DryRunConfigRule'], ], ], 'ramActions' => [ @@ -8529,12 +5302,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -8543,13 +5311,8 @@ ], 'EvaluatePreConfigRules' => [ 'summary' => 'Executes evaluation rules to perform compliance pre-checks on resources.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8561,22 +5324,14 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceTypeFormat', 'in' => 'formData', - 'schema' => [ - 'title' => '下一个查询开始Token', - 'description' => 'The query start token', - 'type' => 'string', - 'required' => false, - 'example' => 'ros', - ], + 'schema' => ['title' => '下一个查询开始Token', 'description' => 'The query start token', 'type' => 'string', 'required' => false, 'example' => 'ros'], ], [ 'name' => 'ResourceEvaluateItems', @@ -8589,26 +5344,14 @@ 'description' => 'The resources that you want to evaluate.', 'type' => 'object', 'properties' => [ - 'ResourceLogicalId' => [ - 'description' => 'The logical ID of the resource.'."\n" - ."\n" - .'> If this parameter is empty, it is generated based on the Base64 value of `ResourceProperties`.', - 'type' => 'string', - 'required' => false, - 'example' => 'ResourceLogicId-test', - 'title' => '', - ], - 'ResourceType' => [ - 'description' => 'The type of the resource.'."\n" - ."\n" - .'For information about how to obtain the identifier of an evaluation rule, see [ListPreManagedRules](~~467810~~).'."\n" - ."\n" - .'> The `ResourceType`, `Identifier`, and `ResourceProperties` parameters must be specified at the same time.', - 'type' => 'string', - 'required' => false, - 'example' => 'ACS::ECS::Instance', - 'title' => '', - ], + 'ResourceLogicalId' => ['description' => 'The logical ID of the resource.'."\n" + ."\n" + .'> If this parameter is empty, it is generated based on the Base64 value of `ResourceProperties`.', 'type' => 'string', 'required' => false, 'example' => 'ResourceLogicId-test', 'title' => ''], + 'ResourceType' => ['description' => 'The type of the resource.'."\n" + ."\n" + .'For information about how to obtain the identifier of an evaluation rule, see [ListPreManagedRules](~~467810~~).'."\n" + ."\n" + .'> The `ResourceType`, `Identifier`, and `ResourceProperties` parameters must be specified at the same time.', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', 'title' => ''], 'Rules' => [ 'description' => 'An array that contains the evaluation rules.', 'type' => 'array', @@ -8616,24 +5359,12 @@ 'description' => 'The evaluation rules.', 'type' => 'object', 'properties' => [ - 'Identifier' => [ - 'description' => 'The identifier of the rule.'."\n" - ."\n" - .'For information about how to obtain the identifier of a rule, see [ListPreManagedRules](~~467810~~).'."\n" - ."\n" - .'> The `ResourceType`, `Identifier`, and `ResourceProperties` parameters must be specified at the same time.', - 'type' => 'string', - 'required' => false, - 'example' => 'ecs-instance-deletion-protection-enabled', - 'title' => '', - ], - 'InputParameters' => [ - 'description' => 'The input parameters of the rule.', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - 'title' => '', - ], + 'Identifier' => ['description' => 'The identifier of the rule.'."\n" + ."\n" + .'For information about how to obtain the identifier of a rule, see [ListPreManagedRules](~~467810~~).'."\n" + ."\n" + .'> The `ResourceType`, `Identifier`, and `ResourceProperties` parameters must be specified at the same time.', 'type' => 'string', 'required' => false, 'example' => 'ecs-instance-deletion-protection-enabled', 'title' => ''], + 'InputParameters' => ['description' => 'The input parameters of the rule.', 'type' => 'string', 'required' => false, 'example' => '{}', 'title' => ''], ], 'required' => false, 'title' => '', @@ -8644,15 +5375,9 @@ 'title' => '', 'example' => '', ], - 'ResourceProperties' => [ - 'description' => 'The resource configuration items (properties of the resource to be created), such as the specifications, region, name, status, and port or network interface switch status of the resource.'."\n" - ."\n" - .'> The `ResourceType`, `Identifier`, and `ResourceProperties` parameters must be specified at the same time.', - 'type' => 'string', - 'required' => false, - 'example' => '{"ResourceGroupId":"","Memory":8192,"InstanceChargeType":"PostPaid","Cpu":2}', - 'title' => '', - ], + 'ResourceProperties' => ['description' => 'The resource configuration items (properties of the resource to be created), such as the specifications, region, name, status, and port or network interface switch status of the resource.'."\n" + ."\n" + .'> The `ResourceType`, `Identifier`, and `ResourceProperties` parameters must be specified at the same time.', 'type' => 'string', 'required' => false, 'example' => '{"ResourceGroupId":"","Memory":8192,"InstanceChargeType":"PostPaid","Cpu":2}', 'title' => ''], ], 'required' => false, 'title' => '', @@ -8667,18 +5392,11 @@ [ 'name' => 'EnableManagedRules', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable rule templates. Valid values:'."\n" - ."\n" - .'- true: enables rule templates.'."\n" - ."\n" - .'- false (default): does not enable rule templates.', - 'type' => 'boolean', - 'default' => 'false', - 'required' => false, - 'example' => 'false', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to enable rule templates. Valid values:'."\n" + ."\n" + .'- true: enables rule templates.'."\n" + ."\n" + .'- false (default): does not enable rule templates.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ @@ -8688,12 +5406,7 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '129ECF1C-7897-1131-BD0F-4B588AC05400', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '129ECF1C-7897-1131-BD0F-4B588AC05400'], 'ResourceEvaluations' => [ 'description' => 'The array that contains the compliance evaluation results.', 'type' => 'array', @@ -8701,20 +5414,10 @@ 'description' => 'The information about the compliance evaluation results returned.', 'type' => 'object', 'properties' => [ - 'ResourceLogicalId' => [ - 'description' => 'The logical ID of the resource.'."\n" - ."\n" - .'> If the request parameter is empty, it is automatically generated based on the Base64 value of `ResourceProperties`.', - 'type' => 'string', - 'example' => 'ResourceLogicId-test', - 'title' => '', - ], - 'ResourceType' => [ - 'description' => 'The type of the resource.', - 'type' => 'string', - 'example' => 'ACS::ECS::Instance', - 'title' => '', - ], + 'ResourceLogicalId' => ['description' => 'The logical ID of the resource.'."\n" + ."\n" + .'> If the request parameter is empty, it is automatically generated based on the Base64 value of `ResourceProperties`.', 'type' => 'string', 'example' => 'ResourceLogicId-test', 'title' => ''], + 'ResourceType' => ['description' => 'The type of the resource.', 'type' => 'string', 'example' => 'ACS::ECS::Instance', 'title' => ''], 'Rules' => [ 'description' => 'The evaluation rules.', 'type' => 'array', @@ -8722,36 +5425,16 @@ 'description' => 'The evaluation rules.', 'type' => 'object', 'properties' => [ - 'Identifier' => [ - 'description' => 'The identifier of the rule.', - 'type' => 'string', - 'example' => 'ecs-instance-deletion-protection-enabled', - 'title' => '', - ], - 'ComplianceType' => [ - 'description' => 'The compliance type of the resource that was evaluated by using the evaluation rule. Valid values:'."\n" - ."\n" - .'- COMPLIANT: The resource is evaluated as compliant.'."\n" - ."\n" - .'- NON\\_COMPLIANT: The resource is evaluated as non-compliant.'."\n" - ."\n" - .'- NOT\\_APPLICABLE: The rule does not apply to the resource.', - 'type' => 'string', - 'example' => 'NON_COMPLIANT', - 'title' => '', - ], - 'Annotation' => [ - 'description' => 'The reason why the resource was evaluated as incompliant.', - 'type' => 'string', - 'example' => '{\\"configuration\\":\\"false\\",\\"desiredValue\\":\\"True\\",\\"operator\\":\\"StringEquals\\",\\"property\\":\\"$.DeletionProtection\\"}', - 'title' => '', - ], - 'HelpUrl' => [ - 'description' => 'The URL of the topic that describes how the managed rule remediates the non-compliant configurations.', - 'type' => 'string', - 'example' => 'https://example.aliyundoc.com', - 'title' => '', - ], + 'Identifier' => ['description' => 'The identifier of the rule.', 'type' => 'string', 'example' => 'ecs-instance-deletion-protection-enabled', 'title' => ''], + 'ComplianceType' => ['description' => 'The compliance type of the resource that was evaluated by using the evaluation rule. Valid values:'."\n" + ."\n" + .'- COMPLIANT: The resource is evaluated as compliant.'."\n" + ."\n" + .'- NON\\_COMPLIANT: The resource is evaluated as non-compliant.'."\n" + ."\n" + .'- NOT\\_APPLICABLE: The rule does not apply to the resource.', 'type' => 'string', 'example' => 'NON_COMPLIANT', 'title' => ''], + 'Annotation' => ['description' => 'The reason why the resource was evaluated as incompliant.', 'type' => 'string', 'example' => '{\\"configuration\\":\\"false\\",\\"desiredValue\\":\\"True\\",\\"operator\\":\\"StringEquals\\",\\"property\\":\\"$.DeletionProtection\\"}', 'title' => ''], + 'HelpUrl' => ['description' => 'The URL of the topic that describes how the managed rule remediates the non-compliant configurations.', 'type' => 'string', 'example' => 'https://example.aliyundoc.com', 'title' => ''], ], 'title' => '', 'example' => '', @@ -8772,9 +5455,7 @@ ], ], 'errorCodes' => [], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'EvaluatePreConfigRules', 'description' => 'For more information about the concepts, operating principles, and integration process of evaluation rules, see [Definition and operating principles of evaluation rules](~~470802~~).'."\n" ."\n" @@ -8784,12 +5465,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'EvaluatePreConfigRules', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EvaluatePreConfigRules'], ], ], 'ramActions' => [ @@ -8800,12 +5476,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], 'additionalActions' => [], @@ -8815,13 +5486,8 @@ ], 'GenerateAggregateCompliancePackReport' => [ 'summary' => 'Generates an assessment report for a specified compliance package in a specified account group.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8833,65 +5499,36 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigX57QP8', - ], + 'abilityTreeNodes' => ['FEATUREconfigX57QP8'], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the compliance package.'."\n" - ."\n" - .'For information about how to obtain the compliance package ID, see [ListAggregateCompliancePacks](~~262059~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'cp-fdc8626622af00f9****', - ], + 'schema' => ['description' => 'The ID of the compliance package.'."\n" + ."\n" + .'For information about how to obtain the compliance package ID, see [ListAggregateCompliancePacks](~~262059~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cp-fdc8626622af00f9****'], ], [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The `ClientToken` can contain only ASCII characters and cannot exceed 64 characters in length.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The `ClientToken` can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'], ], [ 'name' => 'AggregatorId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For information about how to obtain the account group ID, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'ca-f632626622af0079****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For information about how to obtain the account group ID, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ca-f632626622af0079****'], ], [ 'name' => 'MultiFiles', 'in' => 'formData', - 'schema' => [ - 'type' => 'boolean', - 'default' => 'true', - 'description' => 'Specifies whether to generate multiple files based on resource ownership user IDs. Valid values:'."\n" - ."\n" - .'- true: generates multiple files (default)'."\n" - ."\n" - .'- false: generates a single file', - 'required' => false, - 'title' => '', - 'example' => 'true', - ], + 'schema' => ['type' => 'boolean', 'default' => 'true', 'description' => 'Specifies whether to generate multiple files based on resource ownership user IDs. Valid values:'."\n" + ."\n" + .'- true: generates multiple files (default)'."\n" + ."\n" + .'- false: generates a single file', 'required' => false, 'title' => '', 'example' => 'true'], ], ], 'responses' => [ @@ -8900,18 +5537,8 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance package.', - 'type' => 'string', - 'title' => '', - 'example' => 'cp-fdc8626622af00f9****', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'title' => '', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], + 'CompliancePackId' => ['description' => 'The ID of the compliance package.', 'type' => 'string', 'title' => '', 'example' => 'cp-fdc8626622af00f9****'], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'], ], 'title' => '', 'example' => '', @@ -8920,35 +5547,15 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'CompliancePackReportCreating', - 'errorMessage' => 'The compliance pack report is being created.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.CompliancePackId.Value', - 'errorMessage' => 'The specified CompliancePackId does not exist.', - 'description' => 'The specified compliance pack ID does not exist.', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], + ['errorCode' => 'CompliancePackReportCreating', 'errorMessage' => 'The compliance pack report is being created.', 'description' => ''], + ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => 'The specified compliance pack ID does not exist.'], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CompliancePackId\\": \\"cp-fdc8626622af00f9****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","type":"json"}]', @@ -8966,35 +5573,20 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GenerateAggregateCompliancePackReport', - ], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateAggregateCompliancePackReport'], ], ], ], 'GenerateAggregateConfigRulesReport' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9002,44 +5594,26 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The `token` can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The `token` can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'], ], [ 'name' => 'AggregatorId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-f632626622af0079****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-f632626622af0079****'], ], [ 'name' => 'ConfigRuleIds', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule ID. Separate multiple rule IDs with commas (,).'."\n" - ."\n" - .'For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cr-25d86457e0d900b5****', - ], + 'schema' => ['description' => 'The rule ID. Separate multiple rule IDs with commas (,).'."\n" + ."\n" + .'For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'cr-25d86457e0d900b5****'], ], ], 'responses' => [ @@ -9048,51 +5622,23 @@ 'description' => 'N/A.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], - 'AggregatorId' => [ - 'description' => 'The ID of the account group.'."\n", - 'type' => 'string', - 'example' => 'ca-f632626622af0079****', - ], - 'ReportId' => [ - 'description' => 'The ID of the compliance evaluation report.'."\n", - 'type' => 'string', - 'example' => 'crp-88176457e0d900c9****', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'], + 'AggregatorId' => ['description' => 'The ID of the account group.'."\n", 'type' => 'string', 'example' => 'ca-f632626622af0079****'], + 'ReportId' => ['description' => 'The ID of the compliance evaluation report.'."\n", 'type' => 'string', 'example' => 'crp-88176457e0d900c9****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => '', - ], - [ - 'errorCode' => 'ConfigRuleReportCreating', - 'errorMessage' => 'The config rule report is being created.', - 'description' => '', - ], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''], + ['errorCode' => 'ConfigRuleReportCreating', 'errorMessage' => 'The config rule report is being created.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"AggregatorId\\": \\"ca-f632626622af0079****\\",\\n \\"ReportId\\": \\"crp-88176457e0d900c9****\\"\\n}","errorExample":""},{"type":"xml","example":"<GenerateAggregateConfigRulesReportResponse>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n <AggregatorId>ca-f632626622af0079****</AggregatorId>\\n <ReportId>crp-88176457e0d900c9****</ReportId>\\n</GenerateAggregateConfigRulesReportResponse>","errorExample":""}]', @@ -9111,25 +5657,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GenerateAggregateResourceInventory' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9141,54 +5677,28 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6XGW41', - ], + 'abilityTreeNodes' => ['FEATUREconfig6XGW41'], ], 'parameters' => [ [ 'name' => 'Regions', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of the regions to which the resources belong. Separate multiple region IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - 'title' => '', - ], + 'schema' => ['description' => 'The IDs of the regions to which the resources belong. Separate multiple region IDs with commas (,).'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ResourceTypes', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource types. Separate multiple resource types with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ACS::ECS::Instance', - 'title' => '', - ], + 'schema' => ['description' => 'The resource types. Separate multiple resource types with commas (,).'."\n", 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', 'title' => ''], ], [ 'name' => 'AccountIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of member accounts in the account group. Separate multiple member account IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '126672004088****', - 'title' => '', - ], + 'schema' => ['description' => 'The IDs of member accounts in the account group. Separate multiple member account IDs with commas (,).'."\n", 'type' => 'string', 'required' => false, 'example' => '126672004088****', 'title' => ''], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ca-a91d626622af0035****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ca-a91d626622af0035****', 'title' => ''], ], [ 'name' => 'ResourceDeleted', @@ -9203,10 +5713,7 @@ 'required' => false, 'example' => '1', 'default' => '1', - 'enum' => [ - '0', - '1', - ], + 'enum' => ['0', '1'], 'title' => '', ], ], @@ -9216,12 +5723,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '5111CBA6-6485-57EB-BCDD-85D8BB31E7A7', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '5111CBA6-6485-57EB-BCDD-85D8BB31E7A7', 'title' => ''], ], 'description' => '', 'title' => '', @@ -9230,42 +5732,23 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ResourceInventoryExceedMaxLimit', - 'errorMessage' => 'Exceed max resource inventory item max limit 200000.', - 'description' => '', - ], + ['errorCode' => 'ResourceInventoryExceedMaxLimit', 'errorMessage' => 'Exceed max resource inventory item max limit 200000.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'GenerateAggregateResourceInventory', 'summary' => 'Generates a downloadable inventory for global resources in an account group.', 'description' => 'This topic provides an example to show how to generate a downloadable inventory for global resources in the account group ca-a91d626622af0035\\*\\*\\*\\*.'."\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GenerateAggregateResourceInventory', - ], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateAggregateResourceInventory'], ], ], 'ramActions' => [ @@ -9276,12 +5759,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], 'additionalActions' => [], @@ -9290,13 +5768,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5111CBA6-6485-57EB-BCDD-85D8BB31E7A7\\"\\n}","type":"json"}]', ], 'GenerateCompliancePackReport' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9308,33 +5781,20 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigX57QP8', - ], + 'abilityTreeNodes' => ['FEATUREconfigX57QP8'], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the compliance package.'."\n" - ."\n" - .'For more information about how to obtain the ID of a compliance package, see [ListCompliancePacks](~~263332~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cp-a8a8626622af0082****', - ], + 'schema' => ['description' => 'The ID of the compliance package.'."\n" + ."\n" + .'For more information about how to obtain the ID of a compliance package, see [ListCompliancePacks](~~263332~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-a8a8626622af0082****'], ], [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The `token` can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAdDWBF2****', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The `token` can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => 'AAAAAdDWBF2****'], ], ], 'responses' => [ @@ -9343,46 +5803,22 @@ 'description' => 'N/A.'."\n", 'type' => 'object', 'properties' => [ - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance package.'."\n", - 'type' => 'string', - 'example' => 'cp-a8a8626622af0082****', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], + 'CompliancePackId' => ['description' => 'The ID of the compliance package.'."\n", 'type' => 'string', 'example' => 'cp-a8a8626622af0082****'], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'CompliancePackReportCreating', - 'errorMessage' => 'The compliance pack report is being created.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.CompliancePackId.Value', - 'errorMessage' => 'The specified CompliancePackId does not exist.', - 'description' => '', - ], + ['errorCode' => 'CompliancePackReportCreating', 'errorMessage' => 'The compliance pack report is being created.', 'description' => ''], + ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"CompliancePackId\\": \\"cp-a8a8626622af0082****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","errorExample":""},{"type":"xml","example":"<GenerateCompliancePackReportResponse>\\n <CompliancePackId>cp-a8a8626622af0082****</CompliancePackId>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n</GenerateCompliancePackReportResponse>","errorExample":""}]', @@ -9401,25 +5837,15 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'CompliancePack', - 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'], ], ], ], ], ], 'GenerateConfigRulesReport' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9431,32 +5857,20 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AAAAAdDWBF2****', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => 'AAAAAdDWBF2****'], ], [ 'name' => 'ConfigRuleIds', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the rule. Separate multiple rule IDs with commas (,).'."\n" - ."\n" - .'For more information about how to query the ID of a rule, see [ListConfigRules](~~169607~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cr-25d86457e0d900b5****', - ], + 'schema' => ['description' => 'The ID of the rule. Separate multiple rule IDs with commas (,).'."\n" + ."\n" + .'For more information about how to query the ID of a rule, see [ListConfigRules](~~169607~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'cr-25d86457e0d900b5****'], ], ], 'responses' => [ @@ -9465,41 +5879,21 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], - 'ReportId' => [ - 'description' => 'The ID of the compliance evaluation report.'."\n", - 'type' => 'string', - 'example' => 'crp-88176457e0d900c9****', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'], + 'ReportId' => ['description' => 'The ID of the compliance evaluation report.'."\n", 'type' => 'string', 'example' => 'crp-88176457e0d900c9****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConfigRuleReportCreating', - 'errorMessage' => 'The config rule report is being created.', - 'description' => '', - ], + ['errorCode' => 'ConfigRuleReportCreating', 'errorMessage' => 'The config rule report is being created.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"ReportId\\": \\"crp-88176457e0d900c9****\\"\\n}","errorExample":""},{"type":"xml","example":"<GenerateConfigRulesReportResponse>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n <ReportId>crp-88176457e0d900c9****</ReportId>\\n</GenerateConfigRulesReportResponse>","errorExample":""}]', @@ -9518,12 +5912,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -9531,12 +5920,8 @@ ], 'GenerateReportFromTemplate' => [ 'summary' => 'Generate a report ID from a report template.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -9548,21 +5933,13 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'ReportTemplateId', 'in' => 'formData', - 'schema' => [ - 'description' => 'Report template ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'crt-xxx', - 'title' => '', - ], + 'schema' => ['description' => 'Report template ID.', 'type' => 'string', 'required' => true, 'example' => 'crt-xxx', 'title' => ''], ], ], 'responses' => [ @@ -9571,12 +5948,7 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'Request ID.', - 'type' => 'string', - 'example' => '6CE4ABA1-9A57-41A9-8EA9-E8B17D4671CD', - 'title' => '', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '6CE4ABA1-9A57-41A9-8EA9-E8B17D4671CD', 'title' => ''], ], 'title' => '', 'example' => '', @@ -9585,11 +5957,7 @@ ], 'errorCodes' => [ 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'title' => 'Generate a report based on a report template', @@ -9602,13 +5970,8 @@ ], 'GenerateResourceInventory' => [ 'summary' => 'Generates a downloadable inventory of global resources.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9620,33 +5983,19 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6XGW41', - ], + 'abilityTreeNodes' => ['FEATUREconfig6XGW41'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Regions', 'in' => 'query', - 'schema' => [ - 'description' => 'The regions where the resources are located. Separate multiple regions with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - 'title' => '', - ], + 'schema' => ['description' => 'The regions where the resources are located. Separate multiple regions with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ResourceTypes', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource types. Separate multiple resource types with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'ACS::ECS::Instance', - 'title' => '', - ], + 'schema' => ['description' => 'The resource types. Separate multiple resource types with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', 'title' => ''], ], [ 'name' => 'ResourceDeleted', @@ -9657,17 +6006,11 @@ .'- 1 (default): The resource is retained.'."\n" ."\n" .'- 0: The resource is deleted.', - 'enumValueTitles' => [ - 'Deleted', - 'Retained', - ], + 'enumValueTitles' => ['Deleted', 'Retained'], 'type' => 'integer', 'format' => 'int32', 'default' => '1', - 'enum' => [ - '0', - '1', - ], + 'enum' => ['0', '1'], 'required' => false, 'example' => '1', 'title' => '', @@ -9679,12 +6022,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'E1225EEA-B5F8-538F-8E37-A943986B6290', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E1225EEA-B5F8-538F-8E37-A943986B6290', 'title' => ''], ], 'description' => '', 'title' => '', @@ -9694,41 +6032,22 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ResourceInventoryExceedMaxLimit', - 'errorMessage' => 'Exceed max resource inventory item max limit 200000.', - 'description' => '', - ], + ['errorCode' => 'ResourceInventoryExceedMaxLimit', 'errorMessage' => 'Exceed max resource inventory item max limit 200000.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'GenerateResourceInventory', 'description' => 'This topic provides an example of how to generate a downloadable inventory of global resources for the current account.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GenerateResourceInventory', - ], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateResourceInventory'], ], ], 'ramActions' => [ @@ -9739,12 +6058,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], 'additionalActions' => [], @@ -9753,14 +6067,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E1225EEA-B5F8-538F-8E37-A943986B6290\\"\\n}","type":"json"}]', ], 'GetAdvancedSearchFile' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9772,9 +6080,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigQ01U20', - ], + 'abilityTreeNodes' => ['FEATUREconfigQ01U20'], ], 'parameters' => [], 'responses' => [ @@ -9782,34 +6088,17 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '9366FE45-3C83-54FB-8BB1-44176B200706', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '9366FE45-3C83-54FB-8BB1-44176B200706'], 'ResourceSearch' => [ 'description' => 'The information about the resource file.'."\n", 'type' => 'object', 'properties' => [ - 'DownloadUrl' => [ - 'description' => 'The download URL of the resource file.'."\n", - 'type' => 'string', - 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_INVENTORY/100931896542****/100931896542****-ca-edd3626622af00b3****-RESOURCE_INVENTORY-202307021509.csv?Expires=1688285356&OSSAccessKeyId=STS.NTZPodS8bkxTU6ngo5mhq****&Signature=NnR4zYcrxbo5C6ZeL9R5lnV****%3D&security-token=CAISiQJ1q6Ft5B2yfSjIr5fvG9XQvudD3Lq%2FVxDfg29gYeddu6PJ1Dz2IHhOf3JuAOoWt%2Fk%2Fm2tY5%2FYTlr14T5hYSXvPas1%2B75tg6g67fYvKtpQURUzBccT3d1KIAjvXgeXwAYygPv6%2FF96pb1fb7FwRpZLxaTSlWXG8LJSNkuQJR98LXw6%2BH1EkbZUsUWkEksIBMmbLPvuAKwPjhnGqbHBloQ1hk2hym8%2Fdq4%2B%2BkkOD0wemkbNK%2BdypfsL9M5ZWUc0hA4vv7otfbbHc1SNc0R9O%2BZptgbZMkTW95YnHWAIPuk%2FWareErYY%2FfV8ofNYzH69Vsf73kvt2u%2BPJmpzw0QpXOuVYQ%2B86lBIna0auGoABQ8il9J0ua1FPyYcqnYW7ssNlWrYWSGwIECqAhyYZEcKqIPb8l%2Bo%2BE%2BoR9zYVgaEyB9b7euxJzpRR0%2B1yh8r%2BUmgYx3J4mvbxkH79AG8bfgarzgqFsx1Tusee20s5bvJkgpX2tjSBZQhNnb8d09AWR%2BPUTZ5ecU0u8BhnA4S****%3D', - ], - 'Status' => [ - 'description' => 'The generation status of the resource file. Valid values:'."\n" - ."\n" - .'* CREATING: The resource file is being generated.'."\n" - .'* COMPLETE: The resource file is generated.'."\n", - 'type' => 'string', - 'example' => 'COMPLETE', - ], - 'ResourceInventoryGenerateTime' => [ - 'description' => 'The time when the resource file was generated. The value is a timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1688281755480', - ], + 'DownloadUrl' => ['description' => 'The download URL of the resource file.'."\n", 'type' => 'string', 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_INVENTORY/100931896542****/100931896542****-ca-edd3626622af00b3****-RESOURCE_INVENTORY-202307021509.csv?Expires=1688285356&OSSAccessKeyId=STS.NTZPodS8bkxTU6ngo5mhq****&Signature=NnR4zYcrxbo5C6ZeL9R5lnV****%3D&security-token=CAISiQJ1q6Ft5B2yfSjIr5fvG9XQvudD3Lq%2FVxDfg29gYeddu6PJ1Dz2IHhOf3JuAOoWt%2Fk%2Fm2tY5%2FYTlr14T5hYSXvPas1%2B75tg6g67fYvKtpQURUzBccT3d1KIAjvXgeXwAYygPv6%2FF96pb1fb7FwRpZLxaTSlWXG8LJSNkuQJR98LXw6%2BH1EkbZUsUWkEksIBMmbLPvuAKwPjhnGqbHBloQ1hk2hym8%2Fdq4%2B%2BkkOD0wemkbNK%2BdypfsL9M5ZWUc0hA4vv7otfbbHc1SNc0R9O%2BZptgbZMkTW95YnHWAIPuk%2FWareErYY%2FfV8ofNYzH69Vsf73kvt2u%2BPJmpzw0QpXOuVYQ%2B86lBIna0auGoABQ8il9J0ua1FPyYcqnYW7ssNlWrYWSGwIECqAhyYZEcKqIPb8l%2Bo%2BE%2BoR9zYVgaEyB9b7euxJzpRR0%2B1yh8r%2BUmgYx3J4mvbxkH79AG8bfgarzgqFsx1Tusee20s5bvJkgpX2tjSBZQhNnb8d09AWR%2BPUTZ5ecU0u8BhnA4S****%3D'], + 'Status' => ['description' => 'The generation status of the resource file. Valid values:'."\n" + ."\n" + .'* CREATING: The resource file is being generated.'."\n" + .'* COMPLETE: The resource file is generated.'."\n", 'type' => 'string', 'example' => 'COMPLETE'], + 'ResourceInventoryGenerateTime' => ['description' => 'The time when the resource file was generated. The value is a timestamp. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1688281755480'], ], ], ], @@ -9819,18 +6108,10 @@ ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9366FE45-3C83-54FB-8BB1-44176B200706\\",\\n \\"ResourceSearch\\": {\\n \\"DownloadUrl\\": \\"https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_INVENTORY/100931896542****/100931896542****-ca-edd3626622af00b3****-RESOURCE_INVENTORY-202307021509.csv?Expires=1688285356&OSSAccessKeyId=STS.NTZPodS8bkxTU6ngo5mhq****&Signature=NnR4zYcrxbo5C6ZeL9R5lnV****%3D&security-token=CAISiQJ1q6Ft5B2yfSjIr5fvG9XQvudD3Lq%2FVxDfg29gYeddu6PJ1Dz2IHhOf3JuAOoWt%2Fk%2Fm2tY5%2FYTlr14T5hYSXvPas1%2B75tg6g67fYvKtpQURUzBccT3d1KIAjvXgeXwAYygPv6%2FF96pb1fb7FwRpZLxaTSlWXG8LJSNkuQJR98LXw6%2BH1EkbZUsUWkEksIBMmbLPvuAKwPjhnGqbHBloQ1hk2hym8%2Fdq4%2B%2BkkOD0wemkbNK%2BdypfsL9M5ZWUc0hA4vv7otfbbHc1SNc0R9O%2BZptgbZMkTW95YnHWAIPuk%2FWareErYY%2FfV8ofNYzH69Vsf73kvt2u%2BPJmpzw0QpXOuVYQ%2B86lBIna0auGoABQ8il9J0ua1FPyYcqnYW7ssNlWrYWSGwIECqAhyYZEcKqIPb8l%2Bo%2BE%2BoR9zYVgaEyB9b7euxJzpRR0%2B1yh8r%2BUmgYx3J4mvbxkH79AG8bfgarzgqFsx1Tusee20s5bvJkgpX2tjSBZQhNnb8d09AWR%2BPUTZ5ecU0u8BhnA4S****%3D\\",\\n \\"Status\\": \\"COMPLETE\\",\\n \\"ResourceInventoryGenerateTime\\": 1688281755480\\n }\\n}","type":"json"}]', @@ -9848,25 +6129,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetAggregateAccountComplianceByPack' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9877,36 +6148,22 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigJVB3GZ', - ], + 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance package.'."\n" - ."\n" - .'For more information about how to obtain the ID of a compliance package, see [ListAggregateCompliancePacks](~~262059~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cp-541e626622af0087****', - ], + 'schema' => ['description' => 'The ID of the compliance package.'."\n" + ."\n" + .'For more information about how to obtain the ID of a compliance package, see [ListAggregateCompliancePacks](~~262059~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-541e626622af0087****'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-04b3fd170e340007****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-04b3fd170e340007****'], ], ], 'responses' => [ @@ -9915,32 +6172,14 @@ 'description' => 'N/A.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'], 'AccountComplianceResult' => [ 'description' => 'The compliance evaluation results of member accounts for which the compliance package takes effect in an account group.'."\n", 'type' => 'object', 'properties' => [ - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance package.'."\n", - 'type' => 'string', - 'example' => 'cp-541e626622af0087****', - ], - 'NonCompliantCount' => [ - 'description' => 'The number of non-compliant member accounts.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'TotalCount' => [ - 'description' => 'The total number of member accounts.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], + 'CompliancePackId' => ['description' => 'The ID of the compliance package.'."\n", 'type' => 'string', 'example' => 'cp-541e626622af0087****'], + 'NonCompliantCount' => ['description' => 'The number of non-compliant member accounts.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'TotalCount' => ['description' => 'The total number of member accounts.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2'], 'AccountCompliances' => [ 'description' => 'The compliance evaluation result of member accounts.'."\n", 'type' => 'array', @@ -9948,27 +6187,14 @@ 'description' => 'N/A.'."\n", 'type' => 'object', 'properties' => [ - 'ComplianceType' => [ - 'description' => 'The compliance evaluation result. Valid values:'."\n" - ."\n" - .'* COMPLIANT: The resource was evaluated as compliant.'."\n" - .'* NON_COMPLIANT: The resource was evaluated as incompliant.'."\n" - .'* NOT_APPLICABLE: The rule did not apply to your resource.'."\n" - .'* INSUFFICIENT_DATA: No resource data was available.'."\n", - 'type' => 'string', - 'example' => 'COMPLIANT', - ], - 'AccountId' => [ - 'description' => 'The ID of the member account in the account group.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100931896542****', - ], - 'AccountName' => [ - 'description' => 'The name of the member account in the account group.'."\n", - 'type' => 'string', - 'example' => 'Alice', - ], + 'ComplianceType' => ['description' => 'The compliance evaluation result. Valid values:'."\n" + ."\n" + .'* COMPLIANT: The resource was evaluated as compliant.'."\n" + .'* NON_COMPLIANT: The resource was evaluated as incompliant.'."\n" + .'* NOT_APPLICABLE: The rule did not apply to your resource.'."\n" + .'* INSUFFICIENT_DATA: No resource data was available.'."\n", 'type' => 'string', 'example' => 'COMPLIANT'], + 'AccountId' => ['description' => 'The ID of the member account in the account group.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'], + 'AccountName' => ['description' => 'The name of the member account in the account group.'."\n", 'type' => 'string', 'example' => 'Alice'], ], ], ], @@ -9980,30 +6206,14 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.CompliancePackId.Value', - 'errorMessage' => 'The specified CompliancePackId does not exist.', - 'description' => '', - ], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''], + ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"AccountComplianceResult\\": {\\n \\"CompliancePackId\\": \\"cp-541e626622af0087****\\",\\n \\"NonCompliantCount\\": 0,\\n \\"TotalCount\\": 2,\\n \\"AccountCompliances\\": [\\n {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"AccountId\\": 0,\\n \\"AccountName\\": \\"Alice\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateAccountComplianceByPackResponse>\\n\\t<RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n\\t<AccountComplianceResult>\\n\\t\\t<CompliancePackId>cp-541e626622af0087****</CompliancePackId>\\n\\t\\t<TotalCount>2</TotalCount>\\n\\t\\t<NonCompliantCount>0</NonCompliantCount>\\n\\t\\t<AccountCompliances>\\n\\t\\t\\t<AccountId>100931896542****</AccountId>\\n\\t\\t\\t<ComplianceType>COMPLIANT</ComplianceType>\\n\\t\\t\\t<AccountName>Alice</AccountName>\\n\\t\\t</AccountCompliances>\\n\\t\\t<AccountCompliances>\\n\\t\\t\\t<AccountId>171322098523****</AccountId>\\n\\t\\t\\t<ComplianceType>COMPLIANT</ComplianceType>\\n\\t\\t\\t<AccountName>Jim</AccountName>\\n\\t\\t</AccountCompliances>\\n\\t</AccountComplianceResult>\\n</GetAggregateAccountComplianceByPackResponse>\\t","errorExample":""}]', @@ -10020,26 +6230,15 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'], ], ], ], ], ], 'GetAggregateAdvancedSearchFile' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10051,22 +6250,15 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigQ01U20', - ], + 'abilityTreeNodes' => ['FEATUREconfigQ01U20'], ], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ca-4b1b626622af000c****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'ca-4b1b626622af000c****'], ], ], 'responses' => [ @@ -10074,36 +6266,19 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '6DB86284-DB7F-5936-B210-3B53D6D41B03', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6DB86284-DB7F-5936-B210-3B53D6D41B03'], 'ResourceSearch' => [ 'description' => 'The information about the resource file.'."\n", 'type' => 'object', 'properties' => [ - 'DownloadUrl' => [ - 'description' => 'The download URL of the resource file.'."\n", - 'type' => 'string', - 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_SEARCH/100931896542****/100931896542****-RESOURCE_SEARCH-202308071033.csv?Expires=1691379221&OSSAccessKeyId=STS.NTo44aif2nS2QzmJkgQ9m****&Signature=L%2BbWqSdQF5fZ6OG%2BYfoBAfx****%3D&security-token=CAISiQJ1q6Ft5B2yfSjIr5faf47VhLkT2ZHZU1zcrmsyXb****%2F%2Blzz2IHhOf3JuAOoWt%2Fk%2Fm2tY5%2FYTlr14T5hYSXvPas1%2B75tg6g67fYvKtpRYDW%2BcfMT3d1KIAjvXgeXwAYygPv6%2FF96pb1fb7FwRpZLxaTSlWXG8LJSNkuQJR98LXw6%2BH1EkbZUsUWkEksIBMmbLPvuAKwPjhnGqbHBloQ1hk2hym8%2Fdq4%2B%2BkkOD0wemkbNK%2BdypfsL9M5ZWUc0hA4vv7otfbbHc1SNc0R9O%2BZptgbZMkTW95YnHWAIPuk%2FWareErYY%2FfV8ofNYzH69Vsf73kvt2u%2BPJmpzw0QpXOuVYQ%2B86lBIna0auGoABrAcsvpRscdC8UY0sotB****%2F5UOR7ZEus3YZrGGprRg2o2dvucjGeySrrU%2FJJJCi8Kz4ib5pll2****%2BMWUAL48i71PqqfKFCErFHv8pVNV33ZIcG9GRKGPnDjjLoRGzcoeTCYZl%2FPWl%2BShyaxC3CjuZh4WuIc3%2Bh2hTKWZ4l6Q%3D', - ], - 'Status' => [ - 'description' => 'The generation status of the resource file. Valid values:'."\n" - ."\n" - .'* CREATING: The resource file is being generated.'."\n" - .'* COMPLETE: The resource file is generated.'."\n", - 'type' => 'string', - 'example' => 'COMPLETE', - ], - 'ResourceInventoryGenerateTime' => [ - 'description' => 'The time when the resource file was generated. The value is a timestamp.'."\n" - ."\n" - .'Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1691375618130', - ], + 'DownloadUrl' => ['description' => 'The download URL of the resource file.'."\n", 'type' => 'string', 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_SEARCH/100931896542****/100931896542****-RESOURCE_SEARCH-202308071033.csv?Expires=1691379221&OSSAccessKeyId=STS.NTo44aif2nS2QzmJkgQ9m****&Signature=L%2BbWqSdQF5fZ6OG%2BYfoBAfx****%3D&security-token=CAISiQJ1q6Ft5B2yfSjIr5faf47VhLkT2ZHZU1zcrmsyXb****%2F%2Blzz2IHhOf3JuAOoWt%2Fk%2Fm2tY5%2FYTlr14T5hYSXvPas1%2B75tg6g67fYvKtpRYDW%2BcfMT3d1KIAjvXgeXwAYygPv6%2FF96pb1fb7FwRpZLxaTSlWXG8LJSNkuQJR98LXw6%2BH1EkbZUsUWkEksIBMmbLPvuAKwPjhnGqbHBloQ1hk2hym8%2Fdq4%2B%2BkkOD0wemkbNK%2BdypfsL9M5ZWUc0hA4vv7otfbbHc1SNc0R9O%2BZptgbZMkTW95YnHWAIPuk%2FWareErYY%2FfV8ofNYzH69Vsf73kvt2u%2BPJmpzw0QpXOuVYQ%2B86lBIna0auGoABrAcsvpRscdC8UY0sotB****%2F5UOR7ZEus3YZrGGprRg2o2dvucjGeySrrU%2FJJJCi8Kz4ib5pll2****%2BMWUAL48i71PqqfKFCErFHv8pVNV33ZIcG9GRKGPnDjjLoRGzcoeTCYZl%2FPWl%2BShyaxC3CjuZh4WuIc3%2Bh2hTKWZ4l6Q%3D'], + 'Status' => ['description' => 'The generation status of the resource file. Valid values:'."\n" + ."\n" + .'* CREATING: The resource file is being generated.'."\n" + .'* COMPLETE: The resource file is generated.'."\n", 'type' => 'string', 'example' => 'COMPLETE'], + 'ResourceInventoryGenerateTime' => ['description' => 'The time when the resource file was generated. The value is a timestamp.'."\n" + ."\n" + .'Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1691375618130'], ], ], ], @@ -10113,18 +6288,10 @@ ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6DB86284-DB7F-5936-B210-3B53D6D41B03\\",\\n \\"ResourceSearch\\": {\\n \\"DownloadUrl\\": \\"https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_SEARCH/100931896542****/100931896542****-RESOURCE_SEARCH-202308071033.csv?Expires=1691379221&OSSAccessKeyId=STS.NTo44aif2nS2QzmJkgQ9m****&Signature=L%2BbWqSdQF5fZ6OG%2BYfoBAfx****%3D&security-token=CAISiQJ1q6Ft5B2yfSjIr5faf47VhLkT2ZHZU1zcrmsyXb****%2F%2Blzz2IHhOf3JuAOoWt%2Fk%2Fm2tY5%2FYTlr14T5hYSXvPas1%2B75tg6g67fYvKtpRYDW%2BcfMT3d1KIAjvXgeXwAYygPv6%2FF96pb1fb7FwRpZLxaTSlWXG8LJSNkuQJR98LXw6%2BH1EkbZUsUWkEksIBMmbLPvuAKwPjhnGqbHBloQ1hk2hym8%2Fdq4%2B%2BkkOD0wemkbNK%2BdypfsL9M5ZWUc0hA4vv7otfbbHc1SNc0R9O%2BZptgbZMkTW95YnHWAIPuk%2FWareErYY%2FfV8ofNYzH69Vsf73kvt2u%2BPJmpzw0QpXOuVYQ%2B86lBIna0auGoABrAcsvpRscdC8UY0sotB****%2F5UOR7ZEus3YZrGGprRg2o2dvucjGeySrrU%2FJJJCi8Kz4ib5pll2****%2BMWUAL48i71PqqfKFCErFHv8pVNV33ZIcG9GRKGPnDjjLoRGzcoeTCYZl%2FPWl%2BShyaxC3CjuZh4WuIc3%2Bh2hTKWZ4l6Q%3D\\",\\n \\"Status\\": \\"COMPLETE\\",\\n \\"ResourceInventoryGenerateTime\\": 1691375618130\\n }\\n}","type":"json"}]', @@ -10139,12 +6306,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -10152,13 +6314,8 @@ ], 'GetAggregateCompliancePack' => [ 'summary' => 'Queries the details of a compliance pack in a specified account group.', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10170,38 +6327,22 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigX57QP8', - ], + 'abilityTreeNodes' => ['FEATUREconfigX57QP8'], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance pack.'."\n" - ."\n" - .'For more information about how to obtain the ID of a compliance pack, see [ListAggregateCompliancePacks](~~262059~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'cp-fdc8626622af00f9****', - ], + 'schema' => ['description' => 'The ID of the compliance pack.'."\n" + ."\n" + .'For more information about how to obtain the ID of a compliance pack, see [ListAggregateCompliancePacks](~~262059~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cp-fdc8626622af00f9****'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'ca-f632626622af0079****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ca-f632626622af0079****'], ], [ 'name' => 'Tag', @@ -10218,24 +6359,12 @@ .'You can attach up to 20 tags to a resource.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key of the resource.'."\n" - ."\n" - .'You can attach up to 20 tag keys.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'key-1', - ], - 'Value' => [ - 'description' => 'The tag value of the resource.'."\n" - ."\n" - .'You can attach up to 20 tag values.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'value-1', - ], + 'Key' => ['description' => 'The tag key of the resource.'."\n" + ."\n" + .'You can attach up to 20 tag keys.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'key-1'], + 'Value' => ['description' => 'The tag value of the resource.'."\n" + ."\n" + .'You can attach up to 20 tag values.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'value-1'], ], 'required' => false, 'title' => '', @@ -10255,51 +6384,25 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'title' => '', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'], 'CompliancePack' => [ 'description' => 'The details of the compliance pack.', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The status of the compliance pack. Valid values:'."\n" - ."\n" - .'- ACTIVE: The compliance pack is active.'."\n" - ."\n" - .'- CREATING: The compliance pack is being created.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACTIVE', - ], - 'RiskLevel' => [ - 'description' => 'The risk level of the compliance pack. Valid values:'."\n" - ."\n" - .'- 1: high'."\n" - ."\n" - .'- 2: medium'."\n" - ."\n" - .'- 3: low', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance pack.', - 'type' => 'string', - 'title' => '', - 'example' => 'cp-fdc8626622af00f9****', - ], - 'Description' => [ - 'description' => 'The description of the compliance pack.', - 'type' => 'string', - 'title' => '', - 'example' => '基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。', - ], + 'Status' => ['description' => 'The status of the compliance pack. Valid values:'."\n" + ."\n" + .'- ACTIVE: The compliance pack is active.'."\n" + ."\n" + .'- CREATING: The compliance pack is being created.', 'type' => 'string', 'title' => '', 'example' => 'ACTIVE'], + 'RiskLevel' => ['description' => 'The risk level of the compliance pack. Valid values:'."\n" + ."\n" + .'- 1: high'."\n" + ."\n" + .'- 2: medium'."\n" + ."\n" + .'- 3: low', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'CompliancePackId' => ['description' => 'The ID of the compliance pack.', 'type' => 'string', 'title' => '', 'example' => 'cp-fdc8626622af00f9****'], + 'Description' => ['description' => 'The description of the compliance pack.', 'type' => 'string', 'title' => '', 'example' => '基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。'], 'ConfigRules' => [ 'description' => 'The list of rules in the compliance pack.', 'type' => 'array', @@ -10307,24 +6410,9 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'ManagedRuleIdentifier' => [ - 'description' => 'The identifier of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'eip-bandwidth-limit', - ], - 'ConfigRuleName' => [ - 'description' => 'The name of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => '弹性IP实例带宽满足最低要求', - ], - 'ConfigRuleId' => [ - 'description' => 'The ID of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'cr-a260626622af0005****', - ], + 'ManagedRuleIdentifier' => ['description' => 'The identifier of the rule.', 'type' => 'string', 'title' => '', 'example' => 'eip-bandwidth-limit'], + 'ConfigRuleName' => ['description' => 'The name of the rule.', 'type' => 'string', 'title' => '', 'example' => '弹性IP实例带宽满足最低要求'], + 'ConfigRuleId' => ['description' => 'The ID of the rule.', 'type' => 'string', 'title' => '', 'example' => 'cr-a260626622af0005****'], 'ConfigRuleParameters' => [ 'description' => 'The input parameters of the rule.', 'type' => 'array', @@ -10332,28 +6420,13 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'Required' => [ - 'description' => 'Indicates whether the input parameter is required. Valid values:'."\n" - ."\n" - .'- true: The input parameter is required.'."\n" - ."\n" - .'- false: The input parameter is not required.', - 'type' => 'boolean', - 'title' => '', - 'example' => 'true', - ], - 'ParameterName' => [ - 'description' => 'The name of the input parameter.', - 'type' => 'string', - 'title' => '', - 'example' => 'bandwidth', - ], - 'ParameterValue' => [ - 'description' => 'The value of the input parameter.', - 'type' => 'string', - 'title' => '', - 'example' => '10', - ], + 'Required' => ['description' => 'Indicates whether the input parameter is required. Valid values:'."\n" + ."\n" + .'- true: The input parameter is required.'."\n" + ."\n" + .'- false: The input parameter is not required.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'ParameterName' => ['description' => 'The name of the input parameter.', 'type' => 'string', 'title' => '', 'example' => 'bandwidth'], + 'ParameterValue' => ['description' => 'The value of the input parameter.', 'type' => 'string', 'title' => '', 'example' => '10'], ], 'title' => '', 'example' => '', @@ -10361,31 +6434,15 @@ 'title' => '', 'example' => '', ], - 'Description' => [ - 'description' => 'The description of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => '弹性IP实例可用带宽大于等于指定参数值,视为“合规”。默认值:10 MB。', - ], - 'RiskLevel' => [ - 'description' => 'The risk level of the rule. Valid values:'."\n" - ."\n" - .'- 1: high'."\n" - ."\n" - .'- 2: medium'."\n" - ."\n" - .'- 3: low', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], - 'ResourceTypesScope' => [ - 'description' => 'The types of the resources that are evaluated by the rule. Separate multiple resource types with commas (,).', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS::EIP::EipAddress', - ], + 'Description' => ['description' => 'The description of the rule.', 'type' => 'string', 'title' => '', 'example' => '弹性IP实例可用带宽大于等于指定参数值,视为“合规”。默认值:10 MB。'], + 'RiskLevel' => ['description' => 'The risk level of the rule. Valid values:'."\n" + ."\n" + .'- 1: high'."\n" + ."\n" + .'- 2: medium'."\n" + ."\n" + .'- 3: low', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'ResourceTypesScope' => ['description' => 'The types of the resources that are evaluated by the rule. Separate multiple resource types with commas (,).', 'type' => 'string', 'title' => '', 'example' => 'ACS::EIP::EipAddress'], ], 'title' => '', 'example' => '', @@ -10393,163 +6450,81 @@ 'title' => '', 'example' => '', ], - 'TemplateContent' => [ - 'description' => 'The information about the compliance pack template. The list of rules in the template does not include user-defined function rules. You can use the template to quickly create the same compliance pack for other accounts or account groups.', - 'type' => 'string', - 'title' => '', - 'example' => '{'."\n" - .' "configRuleTemplates": ['."\n" - .' {'."\n" - .' "configRuleName": "自定义条件规则示例",'."\n" - .' "scope": {'."\n" - .' "complianceResourceTypes": ['."\n" - .' "ACS::ECS::Instance"'."\n" - .' ]'."\n" - .' },'."\n" - .' "description": "",'."\n" - .' "source": {'."\n" - .' "owner": "CUSTOM_CONFIGURATION",'."\n" - .' "identifier": "acs-config-configuration",'."\n" - .' "sourceDetails": ['."\n" - .' {'."\n" - .' "messageType": "ScheduledNotification",'."\n" - .' "maximumExecutionFrequency": "Twelve_Hours"'."\n" - .' },'."\n" - .' {'."\n" - .' "messageType": "ConfigurationItemChangeNotification"'."\n" - .' }'."\n" - .' ],'."\n" - .' "conditions": "{\\"ComplianceConditions\\":\\"{\\\\\\"operator\\\\\\":\\\\\\"and\\\\\\",\\\\\\"children\\\\\\":[{\\\\\\"operator\\\\\\":\\\\\\"GreaterOrEquals\\\\\\",\\\\\\"featurePath\\\\\\":\\\\\\"$.Cpu\\\\\\",\\\\\\"featureSource\\\\\\":\\\\\\"CONFIGURATION\\\\\\",\\\\\\"desired\\\\\\":\\\\\\"2\\\\\\"}]}\\"}"'."\n" - .' },'."\n" - .' "inputParameters": {}'."\n" - .' },'."\n" - .' {'."\n" - .' "configRuleName": "OSS存储空间Referer在指定的防盗链白名单中",'."\n" - .' "scope": {'."\n" - .' "complianceResourceTypes": ['."\n" - .' "ACS::OSS::Bucket"'."\n" - .' ]'."\n" - .' },'."\n" - .' "description": "OSS存储空间开启防盗链并且Referer在指定白名单中,视为“合规”。",'."\n" - .' "source": {'."\n" - .' "owner": "ALIYUN",'."\n" - .' "identifier": "oss-bucket-referer-limit",'."\n" - .' "sourceDetails": ['."\n" - .' {'."\n" - .' "messageType": "ConfigurationItemChangeNotification"'."\n" - .' }'."\n" - .' ]'."\n" - .' },'."\n" - .' "inputParameters": {'."\n" - .' "allowEmptyReferer": "true",'."\n" - .' "allowReferers": "http://www.aliyun.com"'."\n" - .' }'."\n" - .' }'."\n" - .' ]'."\n" - .'}', - ], - 'CompliancePackName' => [ - 'description' => 'The name of the compliance pack.', - 'type' => 'string', - 'title' => '', - 'example' => '等保三级预检合规包', - ], - 'AccountId' => [ - 'description' => 'The ID of the management account to which the compliance pack belongs.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '100931896542****', - ], - 'AggregatorId' => [ - 'description' => 'The ID of the account group.', - 'type' => 'string', - 'title' => '', - 'example' => 'ca-f632626622af0079****', - ], - 'CompliancePackTemplateId' => [ - 'description' => 'The ID of the compliance pack template.', - 'type' => 'string', - 'title' => '', - 'example' => 'ct-5f26ff4e06a300c4****', - ], - 'CreateTimestamp' => [ - 'description' => 'The timestamp when the compliance pack was created. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1624243657000', - ], + 'TemplateContent' => ['description' => 'The information about the compliance pack template. The list of rules in the template does not include user-defined function rules. You can use the template to quickly create the same compliance pack for other accounts or account groups.', 'type' => 'string', 'title' => '', 'example' => '{'."\n" + .' "configRuleTemplates": ['."\n" + .' {'."\n" + .' "configRuleName": "自定义条件规则示例",'."\n" + .' "scope": {'."\n" + .' "complianceResourceTypes": ['."\n" + .' "ACS::ECS::Instance"'."\n" + .' ]'."\n" + .' },'."\n" + .' "description": "",'."\n" + .' "source": {'."\n" + .' "owner": "CUSTOM_CONFIGURATION",'."\n" + .' "identifier": "acs-config-configuration",'."\n" + .' "sourceDetails": ['."\n" + .' {'."\n" + .' "messageType": "ScheduledNotification",'."\n" + .' "maximumExecutionFrequency": "Twelve_Hours"'."\n" + .' },'."\n" + .' {'."\n" + .' "messageType": "ConfigurationItemChangeNotification"'."\n" + .' }'."\n" + .' ],'."\n" + .' "conditions": "{\\"ComplianceConditions\\":\\"{\\\\\\"operator\\\\\\":\\\\\\"and\\\\\\",\\\\\\"children\\\\\\":[{\\\\\\"operator\\\\\\":\\\\\\"GreaterOrEquals\\\\\\",\\\\\\"featurePath\\\\\\":\\\\\\"$.Cpu\\\\\\",\\\\\\"featureSource\\\\\\":\\\\\\"CONFIGURATION\\\\\\",\\\\\\"desired\\\\\\":\\\\\\"2\\\\\\"}]}\\"}"'."\n" + .' },'."\n" + .' "inputParameters": {}'."\n" + .' },'."\n" + .' {'."\n" + .' "configRuleName": "OSS存储空间Referer在指定的防盗链白名单中",'."\n" + .' "scope": {'."\n" + .' "complianceResourceTypes": ['."\n" + .' "ACS::OSS::Bucket"'."\n" + .' ]'."\n" + .' },'."\n" + .' "description": "OSS存储空间开启防盗链并且Referer在指定白名单中,视为“合规”。",'."\n" + .' "source": {'."\n" + .' "owner": "ALIYUN",'."\n" + .' "identifier": "oss-bucket-referer-limit",'."\n" + .' "sourceDetails": ['."\n" + .' {'."\n" + .' "messageType": "ConfigurationItemChangeNotification"'."\n" + .' }'."\n" + .' ]'."\n" + .' },'."\n" + .' "inputParameters": {'."\n" + .' "allowEmptyReferer": "true",'."\n" + .' "allowReferers": "http://www.aliyun.com"'."\n" + .' }'."\n" + .' }'."\n" + .' ]'."\n" + .'}'], + 'CompliancePackName' => ['description' => 'The name of the compliance pack.', 'type' => 'string', 'title' => '', 'example' => '等保三级预检合规包'], + 'AccountId' => ['description' => 'The ID of the management account to which the compliance pack belongs.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '100931896542****'], + 'AggregatorId' => ['description' => 'The ID of the account group.', 'type' => 'string', 'title' => '', 'example' => 'ca-f632626622af0079****'], + 'CompliancePackTemplateId' => ['description' => 'The ID of the compliance pack template.', 'type' => 'string', 'title' => '', 'example' => 'ct-5f26ff4e06a300c4****'], + 'CreateTimestamp' => ['description' => 'The timestamp when the compliance pack was created. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1624243657000'], 'Scope' => [ 'description' => 'The evaluation scope of the compliance pack.', 'type' => 'object', 'properties' => [ - 'ExcludeRegionIdsScope' => [ - 'description' => 'The IDs of the regions to exclude. Separate multiple region IDs with commas (,).', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-hangzhou', - ], - 'ResourceIdsScope' => [ - 'description' => 'The IDs of the resources to which the rule applies. Separate multiple resource IDs with commas (,).', - 'type' => 'string', - 'title' => '', - 'example' => 'eip-8vbf3x310fn56ijfd****'."\n", - ], - 'ExcludeResourceGroupIdsScope' => [ - 'description' => 'The IDs of the resource groups to exclude. The compliance pack does not apply to resources in these groups. Separate multiple resource group IDs with commas (,).', - 'type' => 'string', - 'title' => '', - 'example' => 'rg-aekzc7r7rhx****', - ], - 'TagKeyScope' => [ - 'description' => 'The tag key of the resources to which the compliance pack applies.', - 'type' => 'string', - 'title' => '', - 'example' => 'ECS', - ], - 'TagValueScope' => [ - 'description' => 'The tag value of the resources to which the compliance pack applies.', - 'type' => 'string', - 'title' => '', - 'example' => 'test', - ], - 'RegionIdsScope' => [ - 'description' => 'The IDs of the regions where the compliance pack applies. Separate multiple region IDs with commas (,).', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-hangzhou', - ], - 'ExcludeResourceIdsScope' => [ - 'description' => 'The IDs of the resources to exclude. The compliance pack does not apply to these resources. Separate multiple resource IDs with commas (,).', - 'type' => 'string', - 'title' => '', - 'example' => 'eip-8vbf3x310fn56ijfd****', - ], - 'ResourceGroupIdsScope' => [ - 'description' => 'The IDs of the resource groups where the compliance pack applies. Separate multiple resource group IDs with commas (,).', - 'type' => 'string', - 'title' => '', - 'example' => 'rg-aekzc7r7rhx****', - ], + 'ExcludeRegionIdsScope' => ['description' => 'The IDs of the regions to exclude. Separate multiple region IDs with commas (,).', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], + 'ResourceIdsScope' => ['description' => 'The IDs of the resources to which the rule applies. Separate multiple resource IDs with commas (,).', 'type' => 'string', 'title' => '', 'example' => 'eip-8vbf3x310fn56ijfd****'."\n"], + 'ExcludeResourceGroupIdsScope' => ['description' => 'The IDs of the resource groups to exclude. The compliance pack does not apply to resources in these groups. Separate multiple resource group IDs with commas (,).', 'type' => 'string', 'title' => '', 'example' => 'rg-aekzc7r7rhx****'], + 'TagKeyScope' => ['description' => 'The tag key of the resources to which the compliance pack applies.', 'type' => 'string', 'title' => '', 'example' => 'ECS'], + 'TagValueScope' => ['description' => 'The tag value of the resources to which the compliance pack applies.', 'type' => 'string', 'title' => '', 'example' => 'test'], + 'RegionIdsScope' => ['description' => 'The IDs of the regions where the compliance pack applies. Separate multiple region IDs with commas (,).', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], + 'ExcludeResourceIdsScope' => ['description' => 'The IDs of the resources to exclude. The compliance pack does not apply to these resources. Separate multiple resource IDs with commas (,).', 'type' => 'string', 'title' => '', 'example' => 'eip-8vbf3x310fn56ijfd****'], + 'ResourceGroupIdsScope' => ['description' => 'The IDs of the resource groups where the compliance pack applies. Separate multiple resource group IDs with commas (,).', 'type' => 'string', 'title' => '', 'example' => 'rg-aekzc7r7rhx****'], 'TagsScope' => [ 'description' => 'The tag scope.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'title' => '', - 'example' => 'key-1', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'title' => '', - 'example' => 'value-1', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'key-1'], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'value-1'], ], 'description' => '', 'title' => '', @@ -10565,18 +6540,8 @@ 'description' => 'The excluded tag scope.', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'title' => '', - 'example' => 'key-2', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'title' => '', - 'example' => 'value-2', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'key-2'], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'value-2'], ], 'title' => '', 'example' => '', @@ -10595,18 +6560,8 @@ 'description' => 'The tags of the resource.', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'title' => '', - 'example' => 'key-1', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'title' => '', - 'example' => 'value-1', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'key-1'], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'value-1'], ], 'title' => '', 'example' => '', @@ -10626,47 +6581,24 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], - [ - 'errorCode' => 'Invalid.CompliancePackId.Value', - 'errorMessage' => 'The specified CompliancePackId does not exist.', - 'description' => 'The specified compliance pack ID does not exist.', - ], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], + ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => 'The specified compliance pack ID does not exist.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"CompliancePack\\": {\\n \\"Status\\": \\"ACTIVE\\",\\n \\"RiskLevel\\": 1,\\n \\"CompliancePackId\\": \\"cp-fdc8626622af00f9****\\",\\n \\"Description\\": \\"基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。\\",\\n \\"ConfigRules\\": [\\n {\\n \\"ManagedRuleIdentifier\\": \\"eip-bandwidth-limit\\",\\n \\"ConfigRuleName\\": \\"弹性IP实例带宽满足最低要求\\",\\n \\"ConfigRuleId\\": \\"cr-a260626622af0005****\\",\\n \\"ConfigRuleParameters\\": [\\n {\\n \\"Required\\": true,\\n \\"ParameterName\\": \\"bandwidth\\",\\n \\"ParameterValue\\": \\"10\\"\\n }\\n ],\\n \\"Description\\": \\"弹性IP实例可用带宽大于等于指定参数值,视为“合规”。默认值:10 MB。\\",\\n \\"RiskLevel\\": 1,\\n \\"ResourceTypesScope\\": \\"ACS::EIP::EipAddress\\"\\n }\\n ],\\n \\"TemplateContent\\": \\"{\\\\n \\\\\\"configRuleTemplates\\\\\\": [\\\\n {\\\\n \\\\\\"configRuleName\\\\\\": \\\\\\"自定义条件规则示例\\\\\\",\\\\n \\\\\\"scope\\\\\\": {\\\\n \\\\\\"complianceResourceTypes\\\\\\": [\\\\n \\\\\\"ACS::ECS::Instance\\\\\\"\\\\n ]\\\\n },\\\\n \\\\\\"description\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"source\\\\\\": {\\\\n \\\\\\"owner\\\\\\": \\\\\\"CUSTOM_CONFIGURATION\\\\\\",\\\\n \\\\\\"identifier\\\\\\": \\\\\\"acs-config-configuration\\\\\\",\\\\n \\\\\\"sourceDetails\\\\\\": [\\\\n {\\\\n \\\\\\"messageType\\\\\\": \\\\\\"ScheduledNotification\\\\\\",\\\\n \\\\\\"maximumExecutionFrequency\\\\\\": \\\\\\"Twelve_Hours\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"messageType\\\\\\": \\\\\\"ConfigurationItemChangeNotification\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"conditions\\\\\\": \\\\\\"{\\\\\\\\\\\\\\"ComplianceConditions\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"and\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"children\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"GreaterOrEquals\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"featurePath\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"$.Cpu\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"featureSource\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"CONFIGURATION\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"desired\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"2\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"}]}\\\\\\\\\\\\\\"}\\\\\\"\\\\n },\\\\n \\\\\\"inputParameters\\\\\\": {}\\\\n },\\\\n {\\\\n \\\\\\"configRuleName\\\\\\": \\\\\\"OSS存储空间Referer在指定的防盗链白名单中\\\\\\",\\\\n \\\\\\"scope\\\\\\": {\\\\n \\\\\\"complianceResourceTypes\\\\\\": [\\\\n \\\\\\"ACS::OSS::Bucket\\\\\\"\\\\n ]\\\\n },\\\\n \\\\\\"description\\\\\\": \\\\\\"OSS存储空间开启防盗链并且Referer在指定白名单中,视为“合规”。\\\\\\",\\\\n \\\\\\"source\\\\\\": {\\\\n \\\\\\"owner\\\\\\": \\\\\\"ALIYUN\\\\\\",\\\\n \\\\\\"identifier\\\\\\": \\\\\\"oss-bucket-referer-limit\\\\\\",\\\\n \\\\\\"sourceDetails\\\\\\": [\\\\n {\\\\n \\\\\\"messageType\\\\\\": \\\\\\"ConfigurationItemChangeNotification\\\\\\"\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"inputParameters\\\\\\": {\\\\n \\\\\\"allowEmptyReferer\\\\\\": \\\\\\"true\\\\\\",\\\\n \\\\\\"allowReferers\\\\\\": \\\\\\"http://www.aliyun.com\\\\\\"\\\\n }\\\\n }\\\\n ]\\\\n}\\",\\n \\"CompliancePackName\\": \\"等保三级预检合规包\\",\\n \\"AccountId\\": 0,\\n \\"AggregatorId\\": \\"ca-f632626622af0079****\\",\\n \\"CompliancePackTemplateId\\": \\"ct-5f26ff4e06a300c4****\\",\\n \\"CreateTimestamp\\": 1624243657000,\\n \\"Scope\\": {\\n \\"ExcludeRegionIdsScope\\": \\"cn-hangzhou\\",\\n \\"ResourceIdsScope\\": \\"eip-8vbf3x310fn56ijfd****\\\\n\\",\\n \\"ExcludeResourceGroupIdsScope\\": \\"rg-aekzc7r7rhx****\\",\\n \\"TagKeyScope\\": \\"ECS\\",\\n \\"TagValueScope\\": \\"test\\",\\n \\"RegionIdsScope\\": \\"cn-hangzhou\\",\\n \\"ExcludeResourceIdsScope\\": \\"eip-8vbf3x310fn56ijfd****\\",\\n \\"ResourceGroupIdsScope\\": \\"rg-aekzc7r7rhx****\\",\\n \\"TagsScope\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ],\\n \\"ExcludeTagsScope\\": [\\n {\\n \\"TagKey\\": \\"key-2\\",\\n \\"TagValue\\": \\"value-2\\"\\n }\\n ]\\n },\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'GetAggregateCompliancePack', 'description' => 'This topic provides an example of how to retrieve the details of the compliance pack `cp-fdc8626622af00f9****` in the account group `ca-f632626622af0079****`.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateCompliancePack', - ], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateCompliancePack'], ], ], 'ramActions' => [ @@ -10677,25 +6609,15 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'], ], ], ], ], ], 'GetAggregateCompliancePackReport' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10707,36 +6629,22 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigJVB3GZ', - ], + 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance package.'."\n" - ."\n" - .'For more information about how to obtain the ID of a compliance package, see [ListAggregateCompliancePacks](~~262059~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cp-fdc8626622af00f9****', - ], + 'schema' => ['description' => 'The ID of the compliance package.'."\n" + ."\n" + .'For more information about how to obtain the ID of a compliance package, see [ListAggregateCompliancePacks](~~262059~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-fdc8626622af00f9****'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-f632626622af0079****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-f632626622af0079****'], ], ], 'responses' => [ @@ -10745,46 +6653,20 @@ 'description' => 'N/A.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0D234DAC-1ABD-42E8-9475-BE317857E29B', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0D234DAC-1ABD-42E8-9475-BE317857E29B'], 'CompliancePackReport' => [ 'description' => 'The compliance evaluation report that is generated based on a compliance package.'."\n", 'type' => 'object', 'properties' => [ - 'ReportUrl' => [ - 'description' => 'The URL that is used to download the compliance evaluation report.'."\n", - 'type' => 'string', - 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/CompliancePackReports/100931896542****/cp-fdc8626622af00f9****/100931896542****-cp-fdc8626622af00f9****-report-202106221050.zip?Expires=162433****&OSSAccessKeyId=LTAIs86R8H59****&Signature=RqvJZtaxQ2HfqRcl0Ic2HG8oo****', - ], - 'ReportStatus' => [ - 'description' => 'The status of the compliance evaluation report. Valid values:'."\n" - ."\n" - .'* NONE: The compliance evaluation report is not generated.'."\n" - .'* CREATING: The compliance evaluation report is being generated.'."\n" - .'* COMPLETE: The compliance evaluation report is generated.'."\n", - 'type' => 'string', - 'example' => 'COMPLETE', - ], - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance package.'."\n", - 'type' => 'string', - 'example' => 'cp-fdc8626622af00f9****', - ], - 'AccountId' => [ - 'description' => 'The ID of the management account to which the compliance package belongs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100931896542****', - ], - 'ReportCreateTimestamp' => [ - 'description' => 'The timestamp when the compliance evaluation report was generated. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1624330246640', - ], + 'ReportUrl' => ['description' => 'The URL that is used to download the compliance evaluation report.'."\n", 'type' => 'string', 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/CompliancePackReports/100931896542****/cp-fdc8626622af00f9****/100931896542****-cp-fdc8626622af00f9****-report-202106221050.zip?Expires=162433****&OSSAccessKeyId=LTAIs86R8H59****&Signature=RqvJZtaxQ2HfqRcl0Ic2HG8oo****'], + 'ReportStatus' => ['description' => 'The status of the compliance evaluation report. Valid values:'."\n" + ."\n" + .'* NONE: The compliance evaluation report is not generated.'."\n" + .'* CREATING: The compliance evaluation report is being generated.'."\n" + .'* COMPLETE: The compliance evaluation report is generated.'."\n", 'type' => 'string', 'example' => 'COMPLETE'], + 'CompliancePackId' => ['description' => 'The ID of the compliance package.'."\n", 'type' => 'string', 'example' => 'cp-fdc8626622af00f9****'], + 'AccountId' => ['description' => 'The ID of the management account to which the compliance package belongs.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'], + 'ReportCreateTimestamp' => ['description' => 'The timestamp when the compliance evaluation report was generated. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1624330246640'], ], ], ], @@ -10793,30 +6675,14 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.CompliancePackId.Value', - 'errorMessage' => 'The specified CompliancePackId does not exist.', - 'description' => '', - ], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''], + ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0D234DAC-1ABD-42E8-9475-BE317857E29B\\",\\n \\"CompliancePackReport\\": {\\n \\"ReportUrl\\": \\"https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/CompliancePackReports/100931896542****/cp-fdc8626622af00f9****/100931896542****-cp-fdc8626622af00f9****-report-202106221050.zip?Expires=162433****&OSSAccessKeyId=LTAIs86R8H59****&Signature=RqvJZtaxQ2HfqRcl0Ic2HG8oo****\\",\\n \\"ReportStatus\\": \\"COMPLETE\\",\\n \\"CompliancePackId\\": \\"cp-fdc8626622af00f9****\\",\\n \\"AccountId\\": 0,\\n \\"ReportCreateTimestamp\\": 1624330246640\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateCompliancePackReportResponse>\\n\\t<RequestId>0D234DAC-1ABD-42E8-9475-BE317857E29B</RequestId>\\n\\t<CompliancePackReport>\\n\\t\\t<CompliancePackId>cp-fdc8626622af00f9****</CompliancePackId>\\n\\t\\t<AccountId>100931896542****</AccountId>\\n\\t\\t<ReportUrl>https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/CompliancePackReports/100931896542****/cp-fdc8626622af00f9****/100931896542****-cp-fdc8626622af00f9****-report-202106221050.zip?Expires=162433****&OSSAccessKeyId=LTAIs86R8H59****&Signature=RqvJZtaxQ2HfqRcl0Ic2HG8oo****</ReportUrl>\\n\\t\\t<ReportStatus>COMPLETE</ReportStatus>\\n\\t\\t<ReportCreateTimestamp>1624330246640</ReportCreateTimestamp>\\n\\t</CompliancePackReport>\\n</GetAggregateCompliancePackReportResponse>\\t","errorExample":""}]', @@ -10835,12 +6701,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'], ], ], ], @@ -10848,14 +6709,8 @@ ], 'GetAggregateComplianceSummary' => [ 'summary' => 'Queries the compliance summary for a specified account group.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10867,22 +6722,13 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.', - 'type' => 'string', - 'required' => true, - 'docRequired' => false, - 'title' => '', - 'example' => 'ca-a91d626622af0035****', - ], + 'schema' => ['description' => 'The ID of the account group.', 'type' => 'string', 'required' => true, 'docRequired' => false, 'title' => '', 'example' => 'ca-a91d626622af0035****'], ], ], 'responses' => [ @@ -10890,12 +6736,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '929B8360-BD57-54FF-96DB-AD1D9B476769', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '929B8360-BD57-54FF-96DB-AD1D9B476769'], 'ComplianceSummary' => [ 'description' => 'The compliance summary.', 'type' => 'object', @@ -10904,55 +6745,13 @@ 'description' => 'The compliance summary by resource.', 'type' => 'object', 'properties' => [ - 'CompliantCount' => [ - 'description' => 'The number of compliant resources.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '20', - ], - 'LowRiskRuleNonCompliantResourceCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The number of non-compliant resources detected by low-risk rules. Note: This value is not deduplicated by resource. If a resource is evaluated as non-compliant by two different rules, it is counted twice.', - 'title' => '', - 'example' => '2', - ], - 'ComplianceSummaryTimestamp' => [ - 'description' => 'The timestamp of the compliance summary. This value is a UNIX timestamp. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1589853822103', - ], - 'TotalCount' => [ - 'description' => 'The total number of resources.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '31', - ], - 'NonCompliantCount' => [ - 'description' => 'The number of non-compliant resources.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '11', - ], - 'HighRiskRuleNonCompliantResourceCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The number of non-compliant resources detected by high-risk rules. Note: This value is not deduplicated by resource. If a resource is evaluated as non-compliant by two different rules, it is counted twice.', - 'title' => '', - 'example' => '2', - ], - 'MediumRiskRuleNonCompliantResourceCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The number of non-compliant resources detected by medium-risk rules. Note: This value is not deduplicated by resource. If a resource is evaluated as non-compliant by two different rules, it is counted twice.', - 'title' => '', - 'example' => '6', - ], + 'CompliantCount' => ['description' => 'The number of compliant resources.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '20'], + 'LowRiskRuleNonCompliantResourceCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of non-compliant resources detected by low-risk rules. Note: This value is not deduplicated by resource. If a resource is evaluated as non-compliant by two different rules, it is counted twice.', 'title' => '', 'example' => '2'], + 'ComplianceSummaryTimestamp' => ['description' => 'The timestamp of the compliance summary. This value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1589853822103'], + 'TotalCount' => ['description' => 'The total number of resources.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '31'], + 'NonCompliantCount' => ['description' => 'The number of non-compliant resources.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '11'], + 'HighRiskRuleNonCompliantResourceCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of non-compliant resources detected by high-risk rules. Note: This value is not deduplicated by resource. If a resource is evaluated as non-compliant by two different rules, it is counted twice.', 'title' => '', 'example' => '2'], + 'MediumRiskRuleNonCompliantResourceCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of non-compliant resources detected by medium-risk rules. Note: This value is not deduplicated by resource. If a resource is evaluated as non-compliant by two different rules, it is counted twice.', 'title' => '', 'example' => '6'], ], 'title' => '', 'example' => '', @@ -10961,34 +6760,10 @@ 'description' => 'The compliance summary by rule.', 'type' => 'object', 'properties' => [ - 'CompliantCount' => [ - 'description' => 'The number of compliant rules.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '4', - ], - 'NonCompliantCount' => [ - 'description' => 'The number of non-compliant rules.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '5', - ], - 'ComplianceSummaryTimestamp' => [ - 'description' => 'The timestamp of the compliance summary. This value is a UNIX timestamp. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1589853822103', - ], - 'TotalCount' => [ - 'description' => 'The total number of rules.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '9', - ], + 'CompliantCount' => ['description' => 'The number of compliant rules.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '4'], + 'NonCompliantCount' => ['description' => 'The number of non-compliant rules.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '5'], + 'ComplianceSummaryTimestamp' => ['description' => 'The timestamp of the compliance summary. This value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1589853822103'], + 'TotalCount' => ['description' => 'The total number of rules.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '9'], ], 'title' => '', 'example' => '', @@ -11006,18 +6781,10 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"929B8360-BD57-54FF-96DB-AD1D9B476769\\",\\n \\"ComplianceSummary\\": {\\n \\"ComplianceSummaryByResource\\": {\\n \\"CompliantCount\\": 20,\\n \\"LowRiskRuleNonCompliantResourceCount\\": 2,\\n \\"ComplianceSummaryTimestamp\\": 1589853822103,\\n \\"TotalCount\\": 31,\\n \\"NonCompliantCount\\": 11,\\n \\"HighRiskRuleNonCompliantResourceCount\\": 2,\\n \\"MediumRiskRuleNonCompliantResourceCount\\": 6\\n },\\n \\"ComplianceSummaryByConfigRule\\": {\\n \\"CompliantCount\\": 4,\\n \\"NonCompliantCount\\": 5,\\n \\"ComplianceSummaryTimestamp\\": 1589853822103,\\n \\"TotalCount\\": 9\\n }\\n }\\n}","type":"json"}]', @@ -11026,12 +6793,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateComplianceSummary', - ], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateComplianceSummary'], ], ], 'ramActions' => [ @@ -11042,26 +6804,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetAggregateConfigDeliveryChannel' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11073,34 +6824,22 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigRIQA8M', - ], + 'abilityTreeNodes' => ['FEATUREconfigRIQA8M'], ], 'parameters' => [ [ 'name' => 'DeliveryChannelId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the delivery channel.'."\n" - ."\n" - .'For more information about how to obtain the ID of a delivery channel, see [ListAggregateConfigDeliveryChannels](~~429842~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cdc-d9106457e0d900b1****', - ], + 'schema' => ['description' => 'The ID of the delivery channel.'."\n" + ."\n" + .'For more information about how to obtain the ID of a delivery channel, see [ListAggregateConfigDeliveryChannels](~~429842~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'cdc-d9106457e0d900b1****'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ca-a4e5626622af0079****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'ca-a4e5626622af0079****'], ], ], 'responses' => [ @@ -11113,162 +6852,81 @@ 'description' => 'The information about a delivery channel.'."\n", 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The status of the delivery channel. Valid values:'."\n" - ."\n" - .'* 0: The delivery channel is disabled.'."\n" - .'* 1: The delivery channel is enabled.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'DeliveryChannelId' => [ - 'description' => 'The ID of the delivery channel.'."\n", - 'type' => 'string', - 'example' => 'cdc-d9106457e0d900b1****', - ], - 'DeliveryChannelName' => [ - 'description' => 'The name of the delivery channel.'."\n", - 'type' => 'string', - 'example' => 'myDeliveryChannel', - ], - 'DeliveryChannelType' => [ - 'description' => 'The type of the delivery channel. Valid values:'."\n" - ."\n" - .'* OSS: Object Storage Service (OSS)'."\n" - .'* MNS: Message Service (MNS)'."\n" - .'* SLS: Log Service'."\n", - 'type' => 'string', - 'example' => 'OSS', - ], - 'DeliveryChannelTargetArn' => [ - 'description' => 'The ARN of the delivery destination.'."\n" - ."\n" - .'* If the value of the DeliveryChannelType parameter is OSS, the value of this parameter is the ARN of the destination OSS bucket.'."\n" - .'* If the value of the DeliveryChannelType parameter is MNS, the value of this parameter is the ARN of the destination MNS topic.'."\n" - .'* If the value of the DeliveryChannelType parameter is SLS, the value of this parameter is the ARN of the destination Log Service Logstore.'."\n", - 'type' => 'string', - 'example' => 'acs:oss:cn-shanghai:120886317861****:new-bucket', - ], - 'DeliveryChannelAssumeRoleArn' => [ - 'description' => 'The ARN of the role that is assigned to the delivery channel.'."\n", - 'type' => 'string', - 'example' => 'acs:ram::120886317861****:role/aliyunserviceroleforconfig', - ], - 'DeliveryChannelCondition' => [ - 'description' => 'The rule that is attached to the delivery channel. This parameter is available when you deliver data of all types to MNS or deliver snapshots to Log Service.'."\n" - ."\n" - .'* If the value of the DeliveryChannelType parameter is MNS, take note of the following settings of the lowest risk level and resource types of the events to which you subscribed:'."\n" - ."\n" - .' * The lowest risk level of the events to which you want to subscribe is in the following format: `{"filterType":"RuleRiskLevel","value":"1","multiple":false}`.'."\n" - ."\n" - .' The `value` field indicates the risk level of the events to which you want to subscribe. Valid values: 1, 2, and 3. The value 1 indicates the high risk level, the value 2 indicates the medium risk level, and the value 3 indicates the low risk level.'."\n" - ."\n" - .' * The setting of the resource types of the events to which you want to subscribe is in the following format: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" - ."\n" - .' The `values` field indicates the resource types of the events to which you want to subscribe. The value of the field is a JSON array. Examples:'."\n" - ."\n" - .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n" - ."\n" - .'* If you set the DeliveryChannelType parameter to SLS, the setting of the resource types of the snapshots to which you want to deliver is in the following format: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" - ."\n" - .' The `values` field specifies the resource types of the snapshots to which you want to deliver. The value of the field is a JSON array. Examples:'."\n" - ."\n" - .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n", - 'type' => 'string', - 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]', - ], - 'OversizedDataOSSTargetArn' => [ - 'description' => 'The ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the specified upper limit of the delivery channel.'."\n", - 'type' => 'string', - 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket', - ], - 'Description' => [ - 'description' => 'The description of the delivery channel.'."\n", - 'type' => 'string', - 'example' => 'My OSS delivery.', - ], - 'CompliantSnapshot' => [ - 'description' => 'Indicates whether the specified destination receives scheduled compliant snapshots. Cloud Config delivers scheduled compliant snapshots at `04:00Z` and `16:00Z` to Log Service every day. The time is displayed in UTC. Valid values:'."\n" - ."\n" - .'* true: The specified destination receives scheduled compliant snapshots.'."\n" - .'* false: The specified destination does not receive scheduled compliant snapshots.', - 'type' => 'boolean', - 'example' => 'false', - ], - 'ConfigurationItemChangeNotification' => [ - 'description' => 'Indicates whether the specified destination receives resource change logs. If the value of this parameter is true, Cloud Config delivers the resource change logs to OSS, Log Service, or MNS when the configurations of the resources change. Valid values:'."\n" - ."\n" - .'* true: The specified destination receives resource change logs.'."\n" - .'* false: The specified destination does not receive resource change logs.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'NonCompliantNotification' => [ - 'description' => 'Indicates whether the specified destination receives resource non-compliance events. If the value of this parameter is true, Cloud Config delivers resource non-compliance events to Log Service or MNS when resources are evaluated as non-compliant. Valid values:'."\n" - ."\n" - .'* true: The specified destination receives resource non-compliance events.'."\n" - .'* false: The specified destination does not receive resource non-compliance events.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'AggregatorId' => [ - 'description' => 'The ID of the account group.'."\n", - 'type' => 'string', - 'example' => 'ca-a4e5626622af0079****', - ], - 'AccountId' => [ - 'description' => 'The ID of the member in the account group.'."\n", - 'type' => 'string', - 'example' => '120886317861****', - ], - 'DeliverySnapshotTime' => [ - 'description' => 'The time when Cloud Config delivers scheduled resources snapshots every day.'."\n" - ."\n" - .'Format: `HH:mmZ`. This time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '09:10Z', - ], - 'ConfigurationSnapshot' => [ - 'description' => 'Indicates whether the specified destination receives scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots at `04:00Z` and `16:00Z` to OSS, MNS, or Log Service every day. The time is displayed in UTC. Valid values:'."\n" - ."\n" - .'* true: The specified destination receives scheduled resource snapshots.'."\n" - .'* false: The specified destination does not receive scheduled resource snapshots.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], + 'Status' => ['description' => 'The status of the delivery channel. Valid values:'."\n" + ."\n" + .'* 0: The delivery channel is disabled.'."\n" + .'* 1: The delivery channel is enabled.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'DeliveryChannelId' => ['description' => 'The ID of the delivery channel.'."\n", 'type' => 'string', 'example' => 'cdc-d9106457e0d900b1****'], + 'DeliveryChannelName' => ['description' => 'The name of the delivery channel.'."\n", 'type' => 'string', 'example' => 'myDeliveryChannel'], + 'DeliveryChannelType' => ['description' => 'The type of the delivery channel. Valid values:'."\n" + ."\n" + .'* OSS: Object Storage Service (OSS)'."\n" + .'* MNS: Message Service (MNS)'."\n" + .'* SLS: Log Service'."\n", 'type' => 'string', 'example' => 'OSS'], + 'DeliveryChannelTargetArn' => ['description' => 'The ARN of the delivery destination.'."\n" + ."\n" + .'* If the value of the DeliveryChannelType parameter is OSS, the value of this parameter is the ARN of the destination OSS bucket.'."\n" + .'* If the value of the DeliveryChannelType parameter is MNS, the value of this parameter is the ARN of the destination MNS topic.'."\n" + .'* If the value of the DeliveryChannelType parameter is SLS, the value of this parameter is the ARN of the destination Log Service Logstore.'."\n", 'type' => 'string', 'example' => 'acs:oss:cn-shanghai:120886317861****:new-bucket'], + 'DeliveryChannelAssumeRoleArn' => ['description' => 'The ARN of the role that is assigned to the delivery channel.'."\n", 'type' => 'string', 'example' => 'acs:ram::120886317861****:role/aliyunserviceroleforconfig'], + 'DeliveryChannelCondition' => ['description' => 'The rule that is attached to the delivery channel. This parameter is available when you deliver data of all types to MNS or deliver snapshots to Log Service.'."\n" + ."\n" + .'* If the value of the DeliveryChannelType parameter is MNS, take note of the following settings of the lowest risk level and resource types of the events to which you subscribed:'."\n" + ."\n" + .' * The lowest risk level of the events to which you want to subscribe is in the following format: `{"filterType":"RuleRiskLevel","value":"1","multiple":false}`.'."\n" + ."\n" + .' The `value` field indicates the risk level of the events to which you want to subscribe. Valid values: 1, 2, and 3. The value 1 indicates the high risk level, the value 2 indicates the medium risk level, and the value 3 indicates the low risk level.'."\n" + ."\n" + .' * The setting of the resource types of the events to which you want to subscribe is in the following format: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" + ."\n" + .' The `values` field indicates the resource types of the events to which you want to subscribe. The value of the field is a JSON array. Examples:'."\n" + ."\n" + .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n" + ."\n" + .'* If you set the DeliveryChannelType parameter to SLS, the setting of the resource types of the snapshots to which you want to deliver is in the following format: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" + ."\n" + .' The `values` field specifies the resource types of the snapshots to which you want to deliver. The value of the field is a JSON array. Examples:'."\n" + ."\n" + .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n", 'type' => 'string', 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]'], + 'OversizedDataOSSTargetArn' => ['description' => 'The ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the specified upper limit of the delivery channel.'."\n", 'type' => 'string', 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket'], + 'Description' => ['description' => 'The description of the delivery channel.'."\n", 'type' => 'string', 'example' => 'My OSS delivery.'], + 'CompliantSnapshot' => ['description' => 'Indicates whether the specified destination receives scheduled compliant snapshots. Cloud Config delivers scheduled compliant snapshots at `04:00Z` and `16:00Z` to Log Service every day. The time is displayed in UTC. Valid values:'."\n" + ."\n" + .'* true: The specified destination receives scheduled compliant snapshots.'."\n" + .'* false: The specified destination does not receive scheduled compliant snapshots.', 'type' => 'boolean', 'example' => 'false'], + 'ConfigurationItemChangeNotification' => ['description' => 'Indicates whether the specified destination receives resource change logs. If the value of this parameter is true, Cloud Config delivers the resource change logs to OSS, Log Service, or MNS when the configurations of the resources change. Valid values:'."\n" + ."\n" + .'* true: The specified destination receives resource change logs.'."\n" + .'* false: The specified destination does not receive resource change logs.'."\n", 'type' => 'boolean', 'example' => 'true'], + 'NonCompliantNotification' => ['description' => 'Indicates whether the specified destination receives resource non-compliance events. If the value of this parameter is true, Cloud Config delivers resource non-compliance events to Log Service or MNS when resources are evaluated as non-compliant. Valid values:'."\n" + ."\n" + .'* true: The specified destination receives resource non-compliance events.'."\n" + .'* false: The specified destination does not receive resource non-compliance events.'."\n", 'type' => 'boolean', 'example' => 'false'], + 'AggregatorId' => ['description' => 'The ID of the account group.'."\n", 'type' => 'string', 'example' => 'ca-a4e5626622af0079****'], + 'AccountId' => ['description' => 'The ID of the member in the account group.'."\n", 'type' => 'string', 'example' => '120886317861****'], + 'DeliverySnapshotTime' => ['description' => 'The time when Cloud Config delivers scheduled resources snapshots every day.'."\n" + ."\n" + .'Format: `HH:mmZ`. This time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '09:10Z'], + 'ConfigurationSnapshot' => ['description' => 'Indicates whether the specified destination receives scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots at `04:00Z` and `16:00Z` to OSS, MNS, or Log Service every day. The time is displayed in UTC. Valid values:'."\n" + ."\n" + .'* true: The specified destination receives scheduled resource snapshots.'."\n" + .'* false: The specified destination does not receive scheduled resource snapshots.'."\n", 'type' => 'boolean', 'example' => 'false'], ], ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'DeliveryChannelNotExists', - 'errorMessage' => 'The delivery channel does not exist.', - 'description' => '', - ], + ['errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"DeliveryChannel\\": {\\n \\"Status\\": 1,\\n \\"DeliveryChannelId\\": \\"cdc-d9106457e0d900b1****\\",\\n \\"DeliveryChannelName\\": \\"myDeliveryChannel\\",\\n \\"DeliveryChannelType\\": \\"OSS\\",\\n \\"DeliveryChannelTargetArn\\": \\"acs:oss:cn-shanghai:120886317861****:new-bucket\\",\\n \\"DeliveryChannelAssumeRoleArn\\": \\"acs:ram::120886317861****:role/aliyunserviceroleforconfig\\",\\n \\"DeliveryChannelCondition\\": \\"[{\\\\\\"filterType\\\\\\":\\\\\\"ResourceType\\\\\\",\\\\\\"values\\\\\\":[\\\\\\"ACS::ActionTrail::Trail\\\\\\",\\\\\\"ACS::CBWP::CommonBandwidthPackage\\\\\\",\\\\\\"ACS::CDN::Domain\\\\\\",\\\\\\"ACS::CEN::CenBandwidthPackage\\\\\\",\\\\\\"ACS::CEN::CenInstance\\\\\\",\\\\\\"ACS::CEN::Flowlog\\\\\\",\\\\\\"ACS::DdosCoo::Instance\\\\\\"],\\\\\\"multiple\\\\\\":true}]\\",\\n \\"OversizedDataOSSTargetArn\\": \\"acs:oss:cn-shanghai:100931896542****:new-bucket\\",\\n \\"Description\\": \\"My OSS delivery.\\",\\n \\"CompliantSnapshot\\": false,\\n \\"ConfigurationItemChangeNotification\\": true,\\n \\"NonCompliantNotification\\": false,\\n \\"AggregatorId\\": \\"ca-a4e5626622af0079****\\",\\n \\"AccountId\\": \\"120886317861****\\",\\n \\"DeliverySnapshotTime\\": \\"09:10Z\\",\\n \\"ConfigurationSnapshot\\": false\\n },\\n \\"RequestId\\": \\"DC300244-FCE3-5061-8214-C27ECB668487\\"\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateConfigDeliveryChannelResponse>\\n\\t<DeliveryChannel>\\n\\t\\t<Status>1</Status>\\n\\t\\t<DeliveryChannelId>cdc-d9106457e0d900b1****</DeliveryChannelId>\\n\\t\\t<DeliveryChannelName>myDeliveryChannel</DeliveryChannelName>\\n\\t\\t<DeliveryChannelType>OSS</DeliveryChannelType>\\n\\t\\t<DeliveryChannelTargetArn>acs:oss:cn-shanghai:120886317861****:new-bucket</DeliveryChannelTargetArn>\\n\\t\\t<DeliveryChannelAssumeRoleArn>acs:ram::120886317861****:role/aliyunserviceroleforconfig</DeliveryChannelAssumeRoleArn>\\n\\t\\t<DeliveryChannelCondition>[{\\\\\\"filterType\\\\\\":\\\\\\"ResourceType\\\\\\",\\\\\\"values\\\\\\":[\\\\\\"ACS::ActionTrail::Trail\\\\\\",\\\\\\"ACS::CBWP::CommonBandwidthPackage\\\\\\",\\\\\\"ACS::CDN::Domain\\\\\\",\\\\\\"ACS::CEN::CenBandwidthPackage\\\\\\",\\\\\\"ACS::CEN::CenInstance\\\\\\",\\\\\\"ACS::CEN::Flowlog\\\\\\",\\\\\\"ACS::DdosCoo::Instance\\\\\\"],\\\\\\"multiple\\\\\\":true}]</DeliveryChannelCondition>\\n\\t\\t<OversizedDataOSSTargetArn>acs:oss:cn-shanghai:100931896542****:new-bucket</OversizedDataOSSTargetArn>\\n\\t\\t<Description>My OSS delivery.</Description>\\n\\t\\t<ConfigurationSnapshot>false</ConfigurationSnapshot>\\n\\t\\t<ConfigurationItemChangeNotification>true</ConfigurationItemChangeNotification>\\n\\t\\t<NonCompliantNotification>false</NonCompliantNotification>\\n\\t\\t<AggregatorId>ca-a4e5626622af0079****</AggregatorId>\\n\\t\\t<AccountId>120886317861****</AccountId>\\n\\t\\t<DeliverySnapshotTime>09:10Z</DeliverySnapshotTime>\\n\\t</DeliveryChannel>\\n\\t<RequestId>DC300244-FCE3-5061-8214-C27ECB668487</RequestId>\\n</GetAggregateConfigDeliveryChannelResponse>\\t\\n","errorExample":""}]', @@ -11284,26 +6942,15 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateDelivery', - 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}'], ], ], ], ], ], 'GetAggregateConfigRule' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11315,9 +6962,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigNPMEKB', - ], + 'abilityTreeNodes' => ['FEATUREconfigNPMEKB'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -11325,30 +6970,16 @@ [ 'name' => 'ConfigRuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule ID.'."\n" - ."\n" - .'For more information, see [ListAggregateConfigRules](~~264148~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cr-7f7d626622af0041****', - 'title' => '', - ], + 'schema' => ['description' => 'The rule ID.'."\n" + ."\n" + .'For more information, see [ListAggregateConfigRules](~~264148~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-7f7d626622af0041****', 'title' => ''], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-7f00626622af0041****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-7f00626622af0041****', 'title' => ''], ], [ 'name' => 'Tag', @@ -11364,24 +6995,12 @@ .'You can add a maximum of 20 tags.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key of the resource.'."\n" - ."\n" - .'You can add a maximum of 20 tag keys.', - 'type' => 'string', - 'required' => false, - 'example' => 'key-1', - 'title' => '', - ], - 'Value' => [ - 'description' => 'The tag value of the resource.'."\n" - ."\n" - .'You can add a maximum of 20 tag values.', - 'type' => 'string', - 'required' => false, - 'example' => 'value-1', - 'title' => '', - ], + 'Key' => ['description' => 'The tag key of the resource.'."\n" + ."\n" + .'You can add a maximum of 20 tag keys.', 'type' => 'string', 'required' => false, 'example' => 'key-1', 'title' => ''], + 'Value' => ['description' => 'The tag value of the resource.'."\n" + ."\n" + .'You can add a maximum of 20 tag values.', 'type' => 'string', 'required' => false, 'example' => 'value-1', 'title' => ''], ], 'required' => false, 'title' => '', @@ -11401,35 +7020,19 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '811234F4-C3AB-4D15-B90B-F55016D1B5AA', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '811234F4-C3AB-4D15-B90B-F55016D1B5AA', 'title' => ''], 'ConfigRule' => [ 'description' => 'The details of the rule.', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => 'The risk level of the rule. Valid values:'."\n" - ."\n" - .'- 1: high'."\n" - ."\n" - .'- 2: medium'."\n" - ."\n" - .'- 3: low', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'InputParameters' => [ - 'description' => 'The input parameters of the rule.', - 'type' => 'object', - 'example' => '{"tag1Key":"ECS","tag1Value":"test"}', - 'title' => '', - ], + 'RiskLevel' => ['description' => 'The risk level of the rule. Valid values:'."\n" + ."\n" + .'- 1: high'."\n" + ."\n" + .'- 2: medium'."\n" + ."\n" + .'- 3: low', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'InputParameters' => ['description' => 'The input parameters of the rule.', 'type' => 'object', 'example' => '{"tag1Key":"ECS","tag1Value":"test"}', 'title' => ''], 'Source' => [ 'description' => 'The source of the rule.', 'type' => 'object', @@ -11441,40 +7044,25 @@ 'description' => 'Not applicable.', 'type' => 'object', 'properties' => [ - 'MessageType' => [ - 'description' => 'The trigger type of the rule. Valid values:'."\n" - ."\n" - .'- ConfigurationItemChangeNotification: The rule is triggered by configuration changes.'."\n" - ."\n" - .'- ScheduledNotification: The rule is triggered periodically.', - 'type' => 'string', - 'example' => 'ConfigurationItemChangeNotification', - 'title' => '', - ], - 'EventSource' => [ - 'description' => 'The event source.'."\n" - ."\n" - .'> Only Cloud Config events are supported: aliyun.config.', - 'type' => 'string', - 'example' => 'aliyun.config', - 'title' => '', - ], - 'MaximumExecutionFrequency' => [ - 'description' => 'The frequency at which the rule is executed. Valid values:'."\n" - ."\n" - .'- One\\_Hour: 1 hour.'."\n" - ."\n" - .'- Three\\_Hours: 3 hours.'."\n" - ."\n" - .'- Six\\_Hours: 6 hours.'."\n" - ."\n" - .'- Twelve\\_Hours: 12 hours.'."\n" - ."\n" - .'- TwentyFour\\_Hours: 24 hours.', - 'type' => 'string', - 'example' => 'One_Hour', - 'title' => '', - ], + 'MessageType' => ['description' => 'The trigger type of the rule. Valid values:'."\n" + ."\n" + .'- ConfigurationItemChangeNotification: The rule is triggered by configuration changes.'."\n" + ."\n" + .'- ScheduledNotification: The rule is triggered periodically.', 'type' => 'string', 'example' => 'ConfigurationItemChangeNotification', 'title' => ''], + 'EventSource' => ['description' => 'The event source.'."\n" + ."\n" + .'> Only Cloud Config events are supported: aliyun.config.', 'type' => 'string', 'example' => 'aliyun.config', 'title' => ''], + 'MaximumExecutionFrequency' => ['description' => 'The frequency at which the rule is executed. Valid values:'."\n" + ."\n" + .'- One\\_Hour: 1 hour.'."\n" + ."\n" + .'- Three\\_Hours: 3 hours.'."\n" + ."\n" + .'- Six\\_Hours: 6 hours.'."\n" + ."\n" + .'- Twelve\\_Hours: 12 hours.'."\n" + ."\n" + .'- TwentyFour\\_Hours: 24 hours.', 'type' => 'string', 'example' => 'One_Hour', 'title' => ''], ], 'title' => '', 'example' => '', @@ -11482,60 +7070,40 @@ 'title' => '', 'example' => '', ], - 'Owner' => [ - 'description' => 'The owner of the rule. Valid values:'."\n" - ."\n" - .'- CUSTOM\\_FC: a custom rule.'."\n" - ."\n" - .'- ALIYUN: a managed rule.', - 'type' => 'string', - 'example' => 'ALIYUN', - 'title' => '', - ], - 'Identifier' => [ - 'description' => 'The identifier of the rule.'."\n" - ."\n" - .'- If the rule is a managed rule, the value of this parameter is the identifier of the managed rule.'."\n" - ."\n" - .'- If the rule is a custom rule, the value of this parameter is the Alibaba Cloud Resource Name (ARN) of the function.', - 'type' => 'string', - 'example' => 'acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/specific-config', - 'title' => '', - ], + 'Owner' => ['description' => 'The owner of the rule. Valid values:'."\n" + ."\n" + .'- CUSTOM\\_FC: a custom rule.'."\n" + ."\n" + .'- ALIYUN: a managed rule.', 'type' => 'string', 'example' => 'ALIYUN', 'title' => ''], + 'Identifier' => ['description' => 'The identifier of the rule.'."\n" + ."\n" + .'- If the rule is a managed rule, the value of this parameter is the identifier of the managed rule.'."\n" + ."\n" + .'- If the rule is a custom rule, the value of this parameter is the Alibaba Cloud Resource Name (ARN) of the function.', 'type' => 'string', 'example' => 'acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/specific-config', 'title' => ''], ], 'title' => '', 'example' => '', ], - 'ConfigRuleState' => [ - 'description' => 'The status of the rule. Valid values:'."\n" - ."\n" - .'- ACTIVE: The rule is enabled.'."\n" - ."\n" - .'- DELETING: The rule is being deleted.'."\n" - ."\n" - .'- EVALUATING: The rule is being evaluated.'."\n" - ."\n" - .'- INACTIVE: The rule is disabled.', - 'type' => 'string', - 'example' => 'ACTIVE', - 'title' => '', - ], - 'MaximumExecutionFrequency' => [ - 'description' => 'The frequency at which the rule is executed.'."\n" - ."\n" - .'- One\\_Hour: 1 hour.'."\n" - ."\n" - .'- Three\\_Hours: 3 hours.'."\n" - ."\n" - .'- Six\\_Hours: 6 hours.'."\n" - ."\n" - .'- Twelve\\_Hours: 12 hours.'."\n" - ."\n" - .'- TwentyFour\\_Hours: 24 hours.', - 'type' => 'string', - 'example' => 'One_Hour', - 'title' => '', - ], + 'ConfigRuleState' => ['description' => 'The status of the rule. Valid values:'."\n" + ."\n" + .'- ACTIVE: The rule is enabled.'."\n" + ."\n" + .'- DELETING: The rule is being deleted.'."\n" + ."\n" + .'- EVALUATING: The rule is being evaluated.'."\n" + ."\n" + .'- INACTIVE: The rule is disabled.', 'type' => 'string', 'example' => 'ACTIVE', 'title' => ''], + 'MaximumExecutionFrequency' => ['description' => 'The frequency at which the rule is executed.'."\n" + ."\n" + .'- One\\_Hour: 1 hour.'."\n" + ."\n" + .'- Three\\_Hours: 3 hours.'."\n" + ."\n" + .'- Six\\_Hours: 6 hours.'."\n" + ."\n" + .'- Twelve\\_Hours: 12 hours.'."\n" + ."\n" + .'- TwentyFour\\_Hours: 24 hours.', 'type' => 'string', 'example' => 'One_Hour', 'title' => ''], 'ManagedRule' => [ 'description' => 'The details of the managed rule.', 'type' => 'object', @@ -11547,40 +7115,25 @@ 'description' => 'No description is available.', 'type' => 'object', 'properties' => [ - 'MessageType' => [ - 'description' => 'The trigger type of the rule. Valid values:'."\n" - ."\n" - .'- ConfigurationItemChangeNotification: The rule is triggered by configuration changes.'."\n" - ."\n" - .'- ScheduledNotification: The rule is triggered periodically.', - 'type' => 'string', - 'example' => 'ConfigurationItemChangeNotification', - 'title' => '', - ], - 'EventSource' => [ - 'description' => 'The event source.'."\n" - ."\n" - .'> Only Cloud Config events are supported: aliyun.config.', - 'type' => 'string', - 'example' => 'aliyun.config', - 'title' => '', - ], - 'MaximumExecutionFrequency' => [ - 'description' => 'The frequency at which the rule is executed.'."\n" - ."\n" - .'- One\\_Hour: 1 hour.'."\n" - ."\n" - .'- Three\\_Hours: 3 hours.'."\n" - ."\n" - .'- Six\\_Hours: 6 hours.'."\n" - ."\n" - .'- Twelve\\_Hours: 12 hours.'."\n" - ."\n" - .'- TwentyFour\\_Hours: 24 hours.', - 'type' => 'string', - 'example' => 'One_Hour', - 'title' => '', - ], + 'MessageType' => ['description' => 'The trigger type of the rule. Valid values:'."\n" + ."\n" + .'- ConfigurationItemChangeNotification: The rule is triggered by configuration changes.'."\n" + ."\n" + .'- ScheduledNotification: The rule is triggered periodically.', 'type' => 'string', 'example' => 'ConfigurationItemChangeNotification', 'title' => ''], + 'EventSource' => ['description' => 'The event source.'."\n" + ."\n" + .'> Only Cloud Config events are supported: aliyun.config.', 'type' => 'string', 'example' => 'aliyun.config', 'title' => ''], + 'MaximumExecutionFrequency' => ['description' => 'The frequency at which the rule is executed.'."\n" + ."\n" + .'- One\\_Hour: 1 hour.'."\n" + ."\n" + .'- Three\\_Hours: 3 hours.'."\n" + ."\n" + .'- Six\\_Hours: 6 hours.'."\n" + ."\n" + .'- Twelve\\_Hours: 12 hours.'."\n" + ."\n" + .'- TwentyFour\\_Hours: 24 hours.', 'type' => 'string', 'example' => 'One_Hour', 'title' => ''], ], 'title' => '', 'example' => '', @@ -11588,283 +7141,84 @@ 'title' => '', 'example' => '', ], - 'Description' => [ - 'description' => 'The description of the managed rule.', - 'type' => 'string', - 'example' => 'ECS磁盘未因欠费或安全等原因而被锁定,视为“合规”。', - 'title' => '', - ], + 'Description' => ['description' => 'The description of the managed rule.', 'type' => 'string', 'example' => 'ECS磁盘未因欠费或安全等原因而被锁定,视为“合规”。', 'title' => ''], 'Labels' => [ 'description' => 'A list of labels for the managed rule.', 'type' => 'array', - 'items' => [ - 'description' => 'The label of the managed rule.', - 'type' => 'string', - 'example' => '["RAM","USer"]', - 'title' => '', - ], + 'items' => ['description' => 'The label of the managed rule.', 'type' => 'string', 'example' => '["RAM","USer"]', 'title' => ''], 'title' => '', 'example' => '', ], - 'Identifier' => [ - 'description' => 'The identifier of the managed rule.', - 'type' => 'string', - 'example' => 'ram-user-mfa-check', - 'title' => '', - ], - 'OptionalInputParameterDetails' => [ - 'description' => 'The details of the optional input parameters for the managed rule.', - 'type' => 'object', - 'example' => '{}', - 'title' => '', - ], - 'ManagedRuleName' => [ - 'description' => 'The name of the managed rule.', - 'type' => 'string', - 'example' => 'RAM用户开启MFA', - 'title' => '', - ], - 'CompulsoryInputParameterDetails' => [ - 'description' => 'The details of the required input parameters for the managed rule.', - 'type' => 'object', - 'example' => '{}', - 'title' => '', - ], + 'Identifier' => ['description' => 'The identifier of the managed rule.', 'type' => 'string', 'example' => 'ram-user-mfa-check', 'title' => ''], + 'OptionalInputParameterDetails' => ['description' => 'The details of the optional input parameters for the managed rule.', 'type' => 'object', 'example' => '{}', 'title' => ''], + 'ManagedRuleName' => ['description' => 'The name of the managed rule.', 'type' => 'string', 'example' => 'RAM用户开启MFA', 'title' => ''], + 'CompulsoryInputParameterDetails' => ['description' => 'The details of the required input parameters for the managed rule.', 'type' => 'object', 'example' => '{}', 'title' => ''], ], 'title' => '', 'example' => '', ], - 'ConfigRuleArn' => [ - 'description' => 'The ARN of the rule.', - 'type' => 'string', - 'example' => 'acs:config::100931896542****:rule/cr-7f7d626622af0041****', - 'title' => '', - ], - 'Description' => [ - 'description' => 'The description of the rule.', - 'type' => 'string', - 'example' => 'RAM用户开启MFA,视为“合规”。', - 'title' => '', - ], + 'ConfigRuleArn' => ['description' => 'The ARN of the rule.', 'type' => 'string', 'example' => 'acs:config::100931896542****:rule/cr-7f7d626622af0041****', 'title' => ''], + 'Description' => ['description' => 'The description of the rule.', 'type' => 'string', 'example' => 'RAM用户开启MFA,视为“合规”。', 'title' => ''], 'CreateBy' => [ 'description' => 'The information about the creator of the rule.', 'type' => 'object', 'properties' => [ - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance package.', - 'type' => 'string', - 'example' => 'cp-541e626622af008****', - 'title' => '', - ], - 'AggregatorName' => [ - 'description' => 'The name of the account group.', - 'type' => 'string', - 'example' => 'Test_Group', - 'title' => '', - ], - 'CompliancePackName' => [ - 'description' => 'The name of the compliance package.', - 'type' => 'string', - 'example' => 'OSS合规基线', - 'title' => '', - ], - 'CreatorName' => [ - 'description' => 'The name of the rule creator.', - 'type' => 'string', - 'example' => 'Alice', - 'title' => '', - ], - 'CreatorType' => [ - 'description' => 'The type of the rule creator. Only `AGGREGATOR` (account group) is supported.', - 'type' => 'string', - 'example' => 'AGGREGATOR', - 'title' => '', - ], - 'CreatorId' => [ - 'description' => 'The ID of the account that created the rule.', - 'type' => 'string', - 'example' => '100931896542****', - 'title' => '', - ], - 'AggregatorId' => [ - 'description' => 'The ID of the account group.', - 'type' => 'string', - 'example' => 'ca-04b3fd170e340007****', - 'title' => '', - ], + 'CompliancePackId' => ['description' => 'The ID of the compliance package.', 'type' => 'string', 'example' => 'cp-541e626622af008****', 'title' => ''], + 'AggregatorName' => ['description' => 'The name of the account group.', 'type' => 'string', 'example' => 'Test_Group', 'title' => ''], + 'CompliancePackName' => ['description' => 'The name of the compliance package.', 'type' => 'string', 'example' => 'OSS合规基线', 'title' => ''], + 'CreatorName' => ['description' => 'The name of the rule creator.', 'type' => 'string', 'example' => 'Alice', 'title' => ''], + 'CreatorType' => ['description' => 'The type of the rule creator. Only `AGGREGATOR` (account group) is supported.', 'type' => 'string', 'example' => 'AGGREGATOR', 'title' => ''], + 'CreatorId' => ['description' => 'The ID of the account that created the rule.', 'type' => 'string', 'example' => '100931896542****', 'title' => ''], + 'AggregatorId' => ['description' => 'The ID of the account group.', 'type' => 'string', 'example' => 'ca-04b3fd170e340007****', 'title' => ''], ], 'title' => '', 'example' => '', ], - 'ConfigRuleName' => [ - 'description' => 'The name of the rule.', - 'type' => 'string', - 'example' => 'RAM用户开启MFA', - 'title' => '', - ], + 'ConfigRuleName' => ['description' => 'The name of the rule.', 'type' => 'string', 'example' => 'RAM用户开启MFA', 'title' => ''], 'ConfigRuleEvaluationStatus' => [ 'description' => 'The execution status of the rule.', 'type' => 'object', 'properties' => [ - 'LastErrorCode' => [ - 'description' => 'The error code returned for the last failed execution of the rule.', - 'type' => 'string', - 'example' => 'TimeOut', - 'title' => '', - ], - 'LastSuccessfulEvaluationTimestamp' => [ - 'description' => 'The timestamp of the last successful evaluation. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1624932227486', - 'title' => '', - ], - 'FirstActivatedTimestamp' => [ - 'description' => 'The timestamp when the rule was first activated.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1624932221993', - 'title' => '', - ], - 'FirstEvaluationStarted' => [ - 'description' => 'Indicates whether the rule has been evaluated. Valid values:'."\n" - ."\n" - .'- true: The rule has been evaluated.'."\n" - ."\n" - .'- false: The rule has not been evaluated.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'LastSuccessfulInvocationTimestamp' => [ - 'description' => 'The timestamp of the last successful invocation. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1624932227476', - 'title' => '', - ], - 'LastErrorMessage' => [ - 'description' => 'The error message returned for the last failed execution of the rule.', - 'type' => 'string', - 'example' => 'time out', - 'title' => '', - ], - 'LastFailedEvaluationTimestamp' => [ - 'description' => 'The timestamp of the last failed evaluation. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1614687022000', - 'title' => '', - ], - 'LastFailedInvocationTimestamp' => [ - 'description' => 'The timestamp of the last failed invocation. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1614687022000', - 'title' => '', - ], + 'LastErrorCode' => ['description' => 'The error code returned for the last failed execution of the rule.', 'type' => 'string', 'example' => 'TimeOut', 'title' => ''], + 'LastSuccessfulEvaluationTimestamp' => ['description' => 'The timestamp of the last successful evaluation. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1624932227486', 'title' => ''], + 'FirstActivatedTimestamp' => ['description' => 'The timestamp when the rule was first activated.', 'type' => 'integer', 'format' => 'int64', 'example' => '1624932221993', 'title' => ''], + 'FirstEvaluationStarted' => ['description' => 'Indicates whether the rule has been evaluated. Valid values:'."\n" + ."\n" + .'- true: The rule has been evaluated.'."\n" + ."\n" + .'- false: The rule has not been evaluated.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'LastSuccessfulInvocationTimestamp' => ['description' => 'The timestamp of the last successful invocation. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1624932227476', 'title' => ''], + 'LastErrorMessage' => ['description' => 'The error message returned for the last failed execution of the rule.', 'type' => 'string', 'example' => 'time out', 'title' => ''], + 'LastFailedEvaluationTimestamp' => ['description' => 'The timestamp of the last failed evaluation. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1614687022000', 'title' => ''], + 'LastFailedInvocationTimestamp' => ['description' => 'The timestamp of the last failed invocation. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1614687022000', 'title' => ''], ], 'title' => '', 'example' => '', ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.', - 'type' => 'string', - 'example' => 'cr-7f7d626622af0041****', - 'title' => '', - ], - 'ModifiedTimestamp' => [ - 'description' => 'The timestamp when the rule was last updated. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1614687022000', - 'title' => '', - ], - 'CreateTimestamp' => [ - 'description' => 'The timestamp when the rule was created. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1604684022000', - 'title' => '', - ], - 'ResourceTypesScope' => [ - 'description' => 'The resource types that are evaluated by the rule.', - 'type' => 'string', - 'example' => 'ACS::RAM::User', - 'title' => '', - ], - 'ExcludeRegionIdsScope' => [ - 'description' => 'The rule does not apply to resources in the specified regions. The system does not evaluate resources in these regions. Separate multiple region IDs with a comma (,).', - 'type' => 'string', - 'example' => 'cn-hangzhou', - 'title' => '', - ], - 'RegionIdsScope' => [ - 'description' => 'The rule applies only to resources in the specified regions.', - 'type' => 'string', - 'example' => 'global', - 'title' => '', - ], - 'ExcludeResourceIdsScope' => [ - 'description' => 'The IDs of the resources that are not evaluated by the rule.', - 'type' => 'string', - 'example' => '23642660635687****', - 'title' => '', - ], - 'ResourceIdsScope' => [ - 'description' => 'The rule applies only to the specified resources. Separate multiple resource IDs with a comma (,).', - 'type' => 'string', - 'example' => 'eip-8vbf3x310fn56ijfd****'."\n", - 'title' => '', - ], - 'ResourceGroupIdsScope' => [ - 'description' => 'The rule applies only to resources in the specified resource groups.', - 'type' => 'string', - 'example' => 'rg-aekzdibsjjc****', - 'title' => '', - ], - 'ExcludeResourceGroupIdsScope' => [ - 'description' => 'The rule does not apply to resources in the specified resource groups. The system does not evaluate resources in these resource groups. Separate multiple resource group IDs with a comma (,).', - 'type' => 'string', - 'example' => 'rg-aekzdibsjjc****', - 'title' => '', - ], - 'TagKeyScope' => [ - 'description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" - ."\n" - .'The rule applies only to resources that have the specified tag key.', - 'type' => 'string', - 'deprecated' => true, - 'example' => 'RAM', - 'title' => '', - ], - 'TagValueScope' => [ - 'description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" - ."\n" - .'The rule applies only to resources that have the specified tag value.', - 'type' => 'string', - 'deprecated' => true, - 'example' => 'MFA', - 'title' => '', - ], + 'ConfigRuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => 'cr-7f7d626622af0041****', 'title' => ''], + 'ModifiedTimestamp' => ['description' => 'The timestamp when the rule was last updated. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1614687022000', 'title' => ''], + 'CreateTimestamp' => ['description' => 'The timestamp when the rule was created. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1604684022000', 'title' => ''], + 'ResourceTypesScope' => ['description' => 'The resource types that are evaluated by the rule.', 'type' => 'string', 'example' => 'ACS::RAM::User', 'title' => ''], + 'ExcludeRegionIdsScope' => ['description' => 'The rule does not apply to resources in the specified regions. The system does not evaluate resources in these regions. Separate multiple region IDs with a comma (,).', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'RegionIdsScope' => ['description' => 'The rule applies only to resources in the specified regions.', 'type' => 'string', 'example' => 'global', 'title' => ''], + 'ExcludeResourceIdsScope' => ['description' => 'The IDs of the resources that are not evaluated by the rule.', 'type' => 'string', 'example' => '23642660635687****', 'title' => ''], + 'ResourceIdsScope' => ['description' => 'The rule applies only to the specified resources. Separate multiple resource IDs with a comma (,).', 'type' => 'string', 'example' => 'eip-8vbf3x310fn56ijfd****'."\n", 'title' => ''], + 'ResourceGroupIdsScope' => ['description' => 'The rule applies only to resources in the specified resource groups.', 'type' => 'string', 'example' => 'rg-aekzdibsjjc****', 'title' => ''], + 'ExcludeResourceGroupIdsScope' => ['description' => 'The rule does not apply to resources in the specified resource groups. The system does not evaluate resources in these resource groups. Separate multiple resource group IDs with a comma (,).', 'type' => 'string', 'example' => 'rg-aekzdibsjjc****', 'title' => ''], + 'TagKeyScope' => ['description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" + ."\n" + .'The rule applies only to resources that have the specified tag key.', 'type' => 'string', 'deprecated' => true, 'example' => 'RAM', 'title' => ''], + 'TagValueScope' => ['description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" + ."\n" + .'The rule applies only to resources that have the specified tag value.', 'type' => 'string', 'deprecated' => true, 'example' => 'MFA', 'title' => ''], 'TagsScope' => [ 'description' => 'The scope of the tags.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'example' => 'key-1', - 'title' => '', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'example' => 'value-1', - 'title' => '', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'key-1', 'title' => ''], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'value-1', 'title' => ''], ], 'description' => '', 'title' => '', @@ -11879,18 +7233,8 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'example' => 'key-2', - 'title' => '', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'example' => 'value-2', - 'title' => '', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'key-2', 'title' => ''], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'value-2', 'title' => ''], ], 'description' => '', 'title' => '', @@ -11899,97 +7243,44 @@ 'title' => '', 'example' => '', ], - 'ConfigRuleTriggerTypes' => [ - 'description' => 'The trigger type of the rule. Valid values:'."\n" - ."\n" - .'- ConfigurationItemChangeNotification: The rule is triggered by configuration changes.'."\n" - ."\n" - .'- ScheduledNotification: The rule is triggered periodically.', - 'type' => 'string', - 'example' => 'ConfigurationItemChangeNotification', - 'title' => '', - ], - 'TagKeyLogicScope' => [ - 'description' => 'This parameter is not returned for rules that are created using the `TagsScope` parameter.'."\n" - ."\n" - .'This parameter is returned only for rules that are created using the deprecated `TagKeyScope` parameter. For example, if `TagKeyScope` is set to `ECS,OSS` and this parameter is set to `AND`, the rule applies to resources that have both the `ECS` and `OSS` tags.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'- AND'."\n" - ."\n" - .'- OR', - 'type' => 'string', - 'deprecated' => false, - 'example' => 'AND', - 'title' => '', - ], - 'FolderIdsScope' => [ - 'description' => 'The rule applies only to resources within the member accounts in the specified folders of the resource directory.', - 'type' => 'string', - 'example' => 'fd-ZtHsRH****', - 'title' => '', - ], - 'ExcludeFolderIdsScope' => [ - 'description' => 'The rule does not apply to resources within the member accounts in the specified folders of the resource directory. The system does not evaluate resources in these folders.', - 'type' => 'string', - 'example' => 'fd-pWmkqZ****', - 'title' => '', - ], - 'ExcludeAccountIdsScope' => [ - 'description' => 'The rule does not apply to resources in the specified member accounts. The system does not evaluate resources in these accounts.', - 'type' => 'string', - 'example' => '120886317861****', - 'title' => '', - ], - 'ResourceNameScope' => [ - 'description' => 'The rule applies only to resources that have the specified names.', - 'type' => 'string', - 'example' => 'i-xxx', - 'title' => '', - ], + 'ConfigRuleTriggerTypes' => ['description' => 'The trigger type of the rule. Valid values:'."\n" + ."\n" + .'- ConfigurationItemChangeNotification: The rule is triggered by configuration changes.'."\n" + ."\n" + .'- ScheduledNotification: The rule is triggered periodically.', 'type' => 'string', 'example' => 'ConfigurationItemChangeNotification', 'title' => ''], + 'TagKeyLogicScope' => ['description' => 'This parameter is not returned for rules that are created using the `TagsScope` parameter.'."\n" + ."\n" + .'This parameter is returned only for rules that are created using the deprecated `TagKeyScope` parameter. For example, if `TagKeyScope` is set to `ECS,OSS` and this parameter is set to `AND`, the rule applies to resources that have both the `ECS` and `OSS` tags.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- AND'."\n" + ."\n" + .'- OR', 'type' => 'string', 'deprecated' => false, 'example' => 'AND', 'title' => ''], + 'FolderIdsScope' => ['description' => 'The rule applies only to resources within the member accounts in the specified folders of the resource directory.', 'type' => 'string', 'example' => 'fd-ZtHsRH****', 'title' => ''], + 'ExcludeFolderIdsScope' => ['description' => 'The rule does not apply to resources within the member accounts in the specified folders of the resource directory. The system does not evaluate resources in these folders.', 'type' => 'string', 'example' => 'fd-pWmkqZ****', 'title' => ''], + 'ExcludeAccountIdsScope' => ['description' => 'The rule does not apply to resources in the specified member accounts. The system does not evaluate resources in these accounts.', 'type' => 'string', 'example' => '120886317861****', 'title' => ''], + 'ResourceNameScope' => ['description' => 'The rule applies only to resources that have the specified names.', 'type' => 'string', 'example' => 'i-xxx', 'title' => ''], 'Compliance' => [ 'description' => 'The compliance statistics of the rule.', 'type' => 'object', 'properties' => [ - 'ComplianceType' => [ - 'description' => 'The compliance evaluation result. Valid values:'."\n" - ."\n" - .'- COMPLIANT: The resource is compliant.'."\n" - ."\n" - .'- NON\\_COMPLIANT: The resource is not compliant.'."\n" - ."\n" - .'- NOT\\_APPLICABLE: The rule does not apply to the resource.'."\n" - ."\n" - .'- INSUFFICIENT\\_DATA: No data is available.', - 'type' => 'string', - 'example' => 'NON_COMPLIANT', - 'title' => '', - ], - 'Count' => [ - 'description' => 'The number of resources that have the corresponding compliance evaluation result.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - 'title' => '', - ], + 'ComplianceType' => ['description' => 'The compliance evaluation result. Valid values:'."\n" + ."\n" + .'- COMPLIANT: The resource is compliant.'."\n" + ."\n" + .'- NON\\_COMPLIANT: The resource is not compliant.'."\n" + ."\n" + .'- NOT\\_APPLICABLE: The rule does not apply to the resource.'."\n" + ."\n" + .'- INSUFFICIENT\\_DATA: No data is available.', 'type' => 'string', 'example' => 'NON_COMPLIANT', 'title' => ''], + 'Count' => ['description' => 'The number of resources that have the corresponding compliance evaluation result.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], ], 'title' => '', 'example' => '', ], - 'AccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the rule belongs.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '120886317861****', - 'title' => '', - ], - 'ExtendContent' => [ - 'description' => 'The extended content. This parameter is used to configure the trigger time for a rule that is triggered on a 24-hour cycle.', - 'type' => 'string', - 'example' => '{"fixedHour":"12"}', - 'title' => '', - ], + 'AccountId' => ['description' => 'The ID of the Alibaba Cloud account to which the rule belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '120886317861****', 'title' => ''], + 'ExtendContent' => ['description' => 'The extended content. This parameter is used to configure the trigger time for a rule that is triggered on a 24-hour cycle.', 'type' => 'string', 'example' => '{"fixedHour":"12"}', 'title' => ''], 'Tags' => [ 'description' => 'The resource tags.', 'type' => 'array', @@ -11997,18 +7288,8 @@ 'description' => 'The resource tags.', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'example' => 'key-1', - 'title' => '', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'example' => 'value-1', - 'title' => '', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'key-1', 'title' => ''], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'value-1', 'title' => ''], ], 'title' => '', 'example' => '', @@ -12016,12 +7297,7 @@ 'title' => '', 'example' => '', ], - 'AccountIdsScope' => [ - 'description' => 'The rule applies only to resources in the specified member accounts. Separate multiple member account IDs with a comma (,).', - 'type' => 'string', - 'example' => '120886317861****'."\n", - 'title' => '', - ], + 'AccountIdsScope' => ['description' => 'The rule applies only to resources in the specified member accounts. Separate multiple member account IDs with a comma (,).', 'type' => 'string', 'example' => '120886317861****'."\n", 'title' => ''], ], 'title' => '', 'example' => '', @@ -12034,40 +7310,18 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConfigRuleNotExists', - 'errorMessage' => 'The ConfigRule does not exist.', - 'description' => 'The rule does not exist.', - ], - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], + ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => 'The rule does not exist.'], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'GetAggregateConfigRule', 'summary' => 'Queries the details of a specific rule in a specified account group.', 'description' => 'This topic provides an example of how to query the details of the rule `cr-7f7d626622af0041****` in the account group `ca-7f00626622af0041****`.', @@ -12075,12 +7329,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'GetAggregateConfigRule', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAggregateConfigRule'], ], ], 'ramActions' => [ @@ -12091,12 +7340,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateConfigRule', - 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}'], ], ], ], @@ -12105,13 +7349,8 @@ ], 'GetAggregateConfigRuleComplianceByPack' => [ 'summary' => 'Queries the compliance results of rules in a specified compliance pack within a specified account group.', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12123,38 +7362,22 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance pack.'."\n" - ."\n" - .'For more information about how to obtain the ID of a compliance pack, see [ListAggregateCompliancePacks](~~262059~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'cp-541e626622af0087****', - ], + 'schema' => ['description' => 'The ID of the compliance pack.'."\n" + ."\n" + .'For more information about how to obtain the ID of a compliance pack, see [ListAggregateCompliancePacks](~~262059~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cp-541e626622af0087****'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'ca-04b3fd170e340007****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ca-04b3fd170e340007****'], ], ], 'responses' => [ @@ -12163,29 +7386,13 @@ 'description' => 'No data is returned.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'C6B0C0A8-3245-48F1-AEAB-BC1A446E99D0', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'C6B0C0A8-3245-48F1-AEAB-BC1A446E99D0'], 'ConfigRuleComplianceResult' => [ 'description' => 'The compliance results of the rules in the compliance pack.', 'type' => 'object', 'properties' => [ - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance pack.', - 'type' => 'string', - 'title' => '', - 'example' => 'cp-541e626622af0087****', - ], - 'NotApplicableCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The total number of rules whose evaluation results include **Not Applicable**.', - 'title' => '', - 'example' => '1', - ], + 'CompliancePackId' => ['description' => 'The ID of the compliance pack.', 'type' => 'string', 'title' => '', 'example' => 'cp-541e626622af0087****'], + 'NotApplicableCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of rules whose evaluation results include **Not Applicable**.', 'title' => '', 'example' => '1'], 'ConfigRuleCompliances' => [ 'description' => 'A list of rule compliance results.', 'type' => 'array', @@ -12193,32 +7400,17 @@ 'description' => 'No description is available.', 'type' => 'object', 'properties' => [ - 'ComplianceType' => [ - 'description' => 'The compliance result. Valid values:'."\n" - ."\n" - .'- COMPLIANT: The rule is compliant.'."\n" - ."\n" - .'- NON\\_COMPLIANT: The rule is non-compliant.'."\n" - ."\n" - .'- NOT\\_APPLICABLE: The rule is not applicable.'."\n" - ."\n" - .'- INSUFFICIENT\\_DATA: No data is available.', - 'type' => 'string', - 'title' => '', - 'example' => 'COMPLIANT', - ], - 'ConfigRuleName' => [ - 'description' => 'The name of the rule in the compliance pack.', - 'type' => 'string', - 'title' => '', - 'example' => 'The bandwidth of the Elastic IP instance meets the minimum requirements.', - ], - 'ConfigRuleId' => [ - 'description' => 'The ID of the rule in the compliance pack.', - 'type' => 'string', - 'title' => '', - 'example' => 'cr-fdc8626622af00f9****', - ], + 'ComplianceType' => ['description' => 'The compliance result. Valid values:'."\n" + ."\n" + .'- COMPLIANT: The rule is compliant.'."\n" + ."\n" + .'- NON\\_COMPLIANT: The rule is non-compliant.'."\n" + ."\n" + .'- NOT\\_APPLICABLE: The rule is not applicable.'."\n" + ."\n" + .'- INSUFFICIENT\\_DATA: No data is available.', 'type' => 'string', 'title' => '', 'example' => 'COMPLIANT'], + 'ConfigRuleName' => ['description' => 'The name of the rule in the compliance pack.', 'type' => 'string', 'title' => '', 'example' => 'The bandwidth of the Elastic IP instance meets the minimum requirements.'], + 'ConfigRuleId' => ['description' => 'The ID of the rule in the compliance pack.', 'type' => 'string', 'title' => '', 'example' => 'cr-fdc8626622af00f9****'], ], 'title' => '', 'example' => '', @@ -12226,41 +7418,11 @@ 'title' => '', 'example' => '', ], - 'TotalCount' => [ - 'description' => 'The total number of rules.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '2', - ], - 'NonCompliantCount' => [ - 'description' => 'The number of non-compliant rules.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], - 'CompliantCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The total number of rules for which all evaluation results are **Compliant**.', - 'title' => '', - 'example' => '0', - ], - 'InsufficientDataCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The total number of rules whose evaluation results include **Insufficient Data**.', - 'title' => '', - 'example' => '1', - ], - 'IgnoredCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The total number of rules whose evaluation results include **Ignored**.', - 'title' => '', - 'example' => '1', - ], + 'TotalCount' => ['description' => 'The total number of rules.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '2'], + 'NonCompliantCount' => ['description' => 'The number of non-compliant rules.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'CompliantCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of rules for which all evaluation results are **Compliant**.', 'title' => '', 'example' => '0'], + 'InsufficientDataCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of rules whose evaluation results include **Insufficient Data**.', 'title' => '', 'example' => '1'], + 'IgnoredCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of rules whose evaluation results include **Ignored**.', 'title' => '', 'example' => '1'], ], 'title' => '', 'example' => '', @@ -12273,30 +7435,14 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.CompliancePackId.Value', - 'errorMessage' => 'The specified CompliancePackId does not exist.', - 'description' => 'The specified compliance pack ID does not exist.', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], + ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => 'The specified compliance pack ID does not exist.'], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C6B0C0A8-3245-48F1-AEAB-BC1A446E99D0\\",\\n \\"ConfigRuleComplianceResult\\": {\\n \\"CompliancePackId\\": \\"cp-541e626622af0087****\\",\\n \\"NotApplicableCount\\": 1,\\n \\"ConfigRuleCompliances\\": [\\n {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"ConfigRuleName\\": \\"The bandwidth of the Elastic IP instance meets the minimum requirements.\\",\\n \\"ConfigRuleId\\": \\"cr-fdc8626622af00f9****\\"\\n }\\n ],\\n \\"TotalCount\\": 2,\\n \\"NonCompliantCount\\": 1,\\n \\"CompliantCount\\": 0,\\n \\"InsufficientDataCount\\": 1,\\n \\"IgnoredCount\\": 1\\n }\\n}","type":"json"}]', @@ -12306,12 +7452,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '600', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateConfigRuleComplianceByPack', - ], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateConfigRuleComplianceByPack'], ], ], 'ramActions' => [ @@ -12322,26 +7463,15 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'], ], ], ], ], ], 'GetAggregateConfigRuleSummaryByRiskLevel' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12349,24 +7479,14 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-3a58626622af0005****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-3a58626622af0005****'], ], ], 'responses' => [ @@ -12380,59 +7500,30 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'CompliantCount' => [ - 'description' => 'The number of rules against which specific resources are evaluated as compliant.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'NonCompliantCount' => [ - 'description' => 'The number of rules against which specific resources are evaluated as non-compliant.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RiskLevel' => [ - 'description' => 'The risk level of the resources that do not comply with the rule. Valid values:'."\n" - ."\n" - .'* 1: high'."\n" - .'* 2: medium'."\n" - .'* 3: low'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'CompliantCount' => ['description' => 'The number of rules against which specific resources are evaluated as compliant.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'NonCompliantCount' => ['description' => 'The number of rules against which specific resources are evaluated as non-compliant.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RiskLevel' => ['description' => 'The risk level of the resources that do not comply with the rule. Valid values:'."\n" + ."\n" + .'* 1: high'."\n" + .'* 2: medium'."\n" + .'* 3: low'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A3CDD98C-DE65-46AC-B2D2-04A4A9AB5B73', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'A3CDD98C-DE65-46AC-B2D2-04A4A9AB5B73'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => '', - ], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConfigRuleSummaries\\": [\\n {\\n \\"CompliantCount\\": 3,\\n \\"NonCompliantCount\\": 1,\\n \\"RiskLevel\\": 1\\n }\\n ],\\n \\"RequestId\\": \\"A3CDD98C-DE65-46AC-B2D2-04A4A9AB5B73\\"\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateConfigRuleSummaryByRiskLevelResponse>\\n <RequestId>A3CDD98C-DE65-46AC-B2D2-04A4A9AB5B73</RequestId>\\n <ConfigRuleSummaries>\\n <RiskLevel>1</RiskLevel>\\n <CompliantCount>3</CompliantCount>\\n <NonCompliantCount>1</NonCompliantCount>\\n </ConfigRuleSummaries>\\n</GetAggregateConfigRuleSummaryByRiskLevelResponse>","errorExample":""}]', 'title' => 'GetAggregateConfigRuleSummaryByRiskLevel', 'summary' => 'Queries the summary of compliance evaluation results by rule risk level in an account group.', @@ -12447,26 +7538,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetAggregateConfigRulesReport' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12478,33 +7558,20 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigJVB3GZ', - ], + 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'], ], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-f632626622af0079****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-f632626622af0079****'], ], [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance evaluation report.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'crp-88176457e0d900c9****', - ], + 'schema' => ['description' => 'The ID of the compliance evaluation report.'."\n", 'type' => 'string', 'required' => false, 'example' => 'crp-88176457e0d900c9****'], ], ], 'responses' => [ @@ -12513,51 +7580,21 @@ 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'F0BCC7B2-D0E4-49B0-95D2-6689CFB08D31', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'F0BCC7B2-D0E4-49B0-95D2-6689CFB08D31'], 'ConfigRulesReport' => [ 'description' => 'The compliance evaluation report.'."\n", 'type' => 'object', 'properties' => [ - 'ReportUrl' => [ - 'description' => 'The URL used to download the compliance evaluation report.'."\n", - 'type' => 'string', - 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/ConfigRuleReports/100931896542****/rules/100931896542****-rules-report-202106221125.zip?Expires=162433****&OSSAccessKeyId=LTAI****************&Signature=yT8jn6ZQSX3dyCwVKL5EOJhGJ****', - ], - 'ReportStatus' => [ - 'description' => 'The status of the compliance evaluation report. Valid values:'."\n" - ."\n" - .'* NONE: The compliance evaluation report is not generated.'."\n" - .'* CREATING: The compliance evaluation report is being generated.'."\n" - .'* COMPLETE: The compliance evaluation report was generated.'."\n", - 'type' => 'string', - 'example' => 'CREATING', - ], - 'AccountId' => [ - 'description' => 'The ID of the management account to which the rules belong.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100931896542****', - ], - 'AggregatorId' => [ - 'description' => 'The ID of the account group.'."\n", - 'type' => 'string', - 'example' => 'ca-f632626622af0079****', - ], - 'ReportCreateTimestamp' => [ - 'description' => 'The timestamp when the compliance evaluation report was generated. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1624332329593', - ], - 'ReportId' => [ - 'description' => 'The ID of the compliance evaluation report.'."\n", - 'type' => 'string', - 'example' => 'crp-88176457e0d900c9****', - ], + 'ReportUrl' => ['description' => 'The URL used to download the compliance evaluation report.'."\n", 'type' => 'string', 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/ConfigRuleReports/100931896542****/rules/100931896542****-rules-report-202106221125.zip?Expires=162433****&OSSAccessKeyId=LTAI****************&Signature=yT8jn6ZQSX3dyCwVKL5EOJhGJ****'], + 'ReportStatus' => ['description' => 'The status of the compliance evaluation report. Valid values:'."\n" + ."\n" + .'* NONE: The compliance evaluation report is not generated.'."\n" + .'* CREATING: The compliance evaluation report is being generated.'."\n" + .'* COMPLETE: The compliance evaluation report was generated.'."\n", 'type' => 'string', 'example' => 'CREATING'], + 'AccountId' => ['description' => 'The ID of the management account to which the rules belong.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'], + 'AggregatorId' => ['description' => 'The ID of the account group.'."\n", 'type' => 'string', 'example' => 'ca-f632626622af0079****'], + 'ReportCreateTimestamp' => ['description' => 'The timestamp when the compliance evaluation report was generated. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1624332329593'], + 'ReportId' => ['description' => 'The ID of the compliance evaluation report.'."\n", 'type' => 'string', 'example' => 'crp-88176457e0d900c9****'], ], ], ], @@ -12566,25 +7603,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => '', - ], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F0BCC7B2-D0E4-49B0-95D2-6689CFB08D31\\",\\n \\"ConfigRulesReport\\": {\\n \\"ReportUrl\\": \\"https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/ConfigRuleReports/100931896542****/rules/100931896542****-rules-report-202106221125.zip?Expires=162433****&OSSAccessKeyId=LTAI****************&Signature=yT8jn6ZQSX3dyCwVKL5EOJhGJ****\\",\\n \\"ReportStatus\\": \\"CREATING\\",\\n \\"AccountId\\": 0,\\n \\"AggregatorId\\": \\"ca-f632626622af0079****\\",\\n \\"ReportCreateTimestamp\\": 1624332329593,\\n \\"ReportId\\": \\"crp-88176457e0d900c9****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateConfigRulesReportResponse>\\n <RequestId>F0BCC7B2-D0E4-49B0-95D2-6689CFB08D31</RequestId>\\n <ConfigRulesReport>\\n <ReportUrl>https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/ConfigRuleReports/100931896542****/rules/100931896542****-rules-report-202106221125.zip?Expires=162433****&OSSAccessKeyId=LTAIs86R8H59****&Signature=yT8jn6ZQSX3dyCwVKL5EOJhGJ****</ReportUrl>\\n <ReportStatus>CREATING</ReportStatus>\\n <AggregatorId>ca-f632626622af0079****</AggregatorId>\\n <ReportCreateTimestamp>1624332329593</ReportCreateTimestamp>\\n <ReportId>crp-88176457e0d900c9****</ReportId>\\n </ConfigRulesReport>\\n</GetAggregateConfigRulesReportResponse>","errorExample":""}]', @@ -12603,12 +7628,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -12616,14 +7636,8 @@ ], 'GetAggregateDiscoveredResource' => [ 'summary' => 'Queries the details of a specific resource in an account group.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12635,78 +7649,41 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6XGW41', - ], + 'abilityTreeNodes' => ['FEATUREconfig6XGW41'], ], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource ID.'."\n" - ."\n" - .'For more information about how to obtain the resource ID, see [ListAggregateDiscoveredResources](~~411691~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'i-bp12g4xbl4i0brkn****', - ], + 'schema' => ['description' => 'The resource ID.'."\n" + ."\n" + .'For more information about how to obtain the resource ID, see [ListAggregateDiscoveredResources](~~411691~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'i-bp12g4xbl4i0brkn****'], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type.'."\n" - ."\n" - .'For more information about how to obtain the resource type, see [ListAggregateDiscoveredResources](~~411691~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'ACS::ECS::Instance', - ], + 'schema' => ['description' => 'The resource type.'."\n" + ."\n" + .'For more information about how to obtain the resource type, see [ListAggregateDiscoveredResources](~~411691~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ACS::ECS::Instance'], ], [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the resource.'."\n" - ."\n" - .'For more information about how to obtain the region ID of the resource, see [ListAggregateDiscoveredResources](~~411691~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the resource.'."\n" + ."\n" + .'For more information about how to obtain the region ID of the resource, see [ListAggregateDiscoveredResources](~~411691~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The account group ID.'."\n" - ."\n" - .'For more information about how to obtain the account group ID, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'ca-5885626622af0008****', - ], + 'schema' => ['description' => 'The account group ID.'."\n" + ."\n" + .'For more information about how to obtain the account group ID, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ca-5885626622af0008****'], ], [ 'name' => 'ResourceAccountId', 'in' => 'query', - 'schema' => [ - 'description' => 'Required. The ID of the Alibaba Cloud account to which the resource to be queried belongs in the account group.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'title' => '', - 'example' => '100931896542****', - ], + 'schema' => ['description' => 'Required. The ID of the Alibaba Cloud account to which the resource to be queried belongs in the account group.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '100931896542****'], ], [ 'name' => 'ComplianceOption', @@ -12720,10 +7697,7 @@ 'type' => 'integer', 'format' => 'int32', 'required' => false, - 'enum' => [ - '0', - '1', - ], + 'enum' => ['0', '1'], 'title' => '', 'example' => '0', ], @@ -12735,121 +7709,41 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'E4D71ACE-6B0A-46E0-8352-56952378CC7F', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'E4D71ACE-6B0A-46E0-8352-56952378CC7F'], 'DiscoveredResourceDetail' => [ 'description' => 'The details of the resource.', 'type' => 'object', 'properties' => [ - 'AvailabilityZone' => [ - 'description' => 'The ID of the zone where the resource resides.', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-hangzhou-h', - ], - 'ResourceType' => [ - 'description' => 'The resource type.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS::ECS::Instance', - ], - 'Configuration' => [ - 'description' => 'The configuration of the resource.', - 'type' => 'string', - 'title' => '', - 'example' => '{\\"ResourceGroupId\\":\\"\\",\\"Memory\\":4096,\\"InstanceChargeType\\":\\"PostPaid\\",\\"Cpu\\":2,\\"OSName\\":\\"Windows Server 2022 数据中心版 64位中文版\\",\\"InstanceNetworkType\\":\\"vpc\\",\\"InnerIpAddress\\":{\\"IpAddress\\":[]},\\"ExpiredTime\\":\\"2099-12-31T15:59Z\\",\\"ImageId\\":\\"win2022_21H2_x64_dtc_zh-cn_40G_alibase_20240110.vhd\\",\\"EipAddress\\":{\\"AllocationId\\":\\"\\",\\"IpAddress\\":\\"\\",\\"InternetChargeType\\":\\"\\"},\\"ImageOptions\\":{},\\"VlanId\\":\\"\\",\\"HostName\\":\\"iZl4i0brknq****\\",\\"Status\\":\\"Stopped\\",\\"HibernationOptions\\":{\\"Configured\\":false},\\"MetadataOptions\\":{\\"HttpTokens\\":\\"\\",\\"HttpEndpoint\\":\\"\\"},\\"InstanceId\\":\\"i-bp12g4xbl4i0brkn****\\",\\"StoppedMode\\":\\"KeepCharging\\",\\"CpuOptions\\":{\\"ThreadsPerCore\\":2,\\"Numa\\":\\"ON\\",\\"CoreCount\\":1},\\"StartTime\\":\\"2024-02-29T07:08Z\\",\\"DeletionProtection\\":false,\\"VpcAttributes\\":{\\"PrivateIpAddress\\":{\\"IpAddress\\":[\\"172.16.XX.XX\\"]},\\"VpcId\\":\\"vpc-bp1wjaw8t272wwmkg****\\",\\"VSwitchId\\":\\"vsw-bp103i8xzww5132ul****\\",\\"NatIpAddress\\":\\"\\"},\\"SecurityGroupIds\\":{\\"SecurityGroupId\\":[\\"sg-bp1h96fz9fagaegp****\\"]},\\"InternetChargeType\\":\\"PayByTraffic\\",\\"InstanceName\\":\\"test123\\",\\"DeploymentSetId\\":\\"\\",\\"InternetMaxBandwidthOut\\":5,\\"SerialNumber\\":\\"6764f567-28fb-4a39-bfc3-48404995****\\",\\"OSType\\":\\"windows\\",\\"CreationTime\\":\\"2024-02-29T07:08Z\\",\\"AutoReleaseTime\\":\\"\\",\\"Description\\":\\"\\",\\"InstanceTypeFamily\\":\\"ecs.c7\\",\\"DedicatedInstanceAttribute\\":{\\"Tenancy\\":\\"\\",\\"Affinity\\":\\"\\"},\\"PublicIpAddress\\":{\\"IpAddress\\":[\\"47.98.XX.XX\\"]},\\"GPUSpec\\":\\"\\",\\"NetworkInterfaces\\":{\\"NetworkInterface\\":[{\\"Type\\":\\"Primary\\",\\"PrimaryIpAddress\\":\\"172.16.XX.XX\\",\\"MacAddress\\":\\"00:16:3e:0c:**:**\\",\\"NetworkInterfaceId\\":\\"eni-bp19uj35v8won3x9****\\",\\"PrivateIpSets\\":{\\"PrivateIpSet\\":[{\\"PrivateIpAddress\\":\\"172.16.XX.XX\\",\\"Primary\\":true}]}}]},\\"SpotPriceLimit\\":0.0,\\"SaleCycle\\":\\"\\",\\"DeviceAvailable\\":true,\\"InstanceType\\":\\"ecs.c7.large\\",\\"OSNameEn\\":\\"Windows Server 2022 DataCenter Edition 64bit Chinese Edition\\",\\"SpotStrategy\\":\\"NoSpot\\",\\"IoOptimized\\":true,\\"ZoneId\\":\\"cn-hangzhou-b\\",\\"ClusterId\\":\\"\\",\\"EcsCapacityReservationAttr\\":{\\"CapacityReservationPreference\\":\\"\\",\\"CapacityReservationId\\":\\"\\"},\\"DedicatedHostAttribute\\":{\\"DedicatedHostId\\":\\"\\",\\"DedicatedHostName\\":\\"\\",\\"DedicatedHostClusterId\\":\\"\\"},\\"GPUAmount\\":0,\\"OperationLocks\\":{\\"LockReason\\":[]},\\"InternetMaxBandwidthIn\\":2000,\\"Recyclable\\":false,\\"RegionId\\":\\"cn-hangzhou\\",\\"CreditSpecification\\":\\"\\"}', - ], - 'Region' => [ - 'description' => 'The region ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-hangzhou', - ], - 'ResourceCreationTime' => [ - 'description' => 'The timestamp when the resource was created.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1624961112000', - ], - 'Tags' => [ - 'description' => 'The resource tags.', - 'type' => 'string', - 'title' => '', - 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}', - ], - 'AccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resource belongs.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '100931896542****', - ], - 'ResourceId' => [ - 'description' => 'The resource ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'i-bp12g4xbl4i0brkn****', - ], - 'ResourceDeleted' => [ - 'description' => 'Indicates whether the resource was deleted. Valid values:'."\n" - ."\n" - .'- 1: The resource was not deleted.'."\n" - ."\n" - .'- 0: The resource was deleted.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], - 'ResourceName' => [ - 'description' => 'The resource name.', - 'type' => 'string', - 'title' => '', - 'example' => 'test123', - ], - 'ResourceStatus' => [ - 'description' => 'The resource status. The value of this parameter varies based on the resource type and may be empty. For example:'."\n" - ."\n" - .'- If the ResourceType parameter is set to ACS::ECS::Instance, the resource is an ECS instance that has a specific state. In this case, the valid values of this parameter are Running and Stopped.'."\n" - ."\n" - .'- If the ResourceType parameter is ACS::OSS::Bucket, the resource is an Object Storage Service (OSS) bucket that is not in a specific state. In this case, this parameter is left empty.', - 'type' => 'string', - 'title' => '', - 'example' => 'Stopped', - ], - 'ComplianceType' => [ - 'description' => 'The compliance evaluation result. Valid values:'."\n" - ."\n" - .'- COMPLIANT: The resource is compliant.'."\n" - ."\n" - .'- NON\\_COMPLIANT: The resource is non-compliant.'."\n" - ."\n" - .'- NOT\\_APPLICABLE: The rule did not apply to your resource.'."\n" - ."\n" - .'- INSUFFICIENT\\_DATA: No data is available.', - 'type' => 'string', - 'title' => '', - 'example' => 'COMPLIANT', - ], - 'VpcId' => [ - 'title' => '', - 'description' => 'The ID of the VPC to which the resource belongs, in the format of vpc-t4nhheyvay74fp7n0hxxx. If the resource does not belong to a VPC, an empty string is returned: ""', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-t4nhheyvay74fp7n0hxxx', - ], - 'VSwitchId' => [ - 'title' => '', - 'description' => 'The ID of the vSwitch to which the resource belongs, in the format of vsw-t4n7pokxxxxxxxxxxxxxx. If the resource belongs to multiple vSwitches, the IDs are separated by commas, such as vsw-t4n7pokxxxxxxxxxxxxxx, vsw-t4n7pokxxxxxxxxxxxxxx. If the resource does not belong to any vSwitch, an empty string is returned: ""', - 'type' => 'string', - 'required' => true, - 'example' => 'vsw-t4n7pokxxxxxxxxxxxxxx', - ], + 'AvailabilityZone' => ['description' => 'The ID of the zone where the resource resides.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou-h'], + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'title' => '', 'example' => 'ACS::ECS::Instance'], + 'Configuration' => ['description' => 'The configuration of the resource.', 'type' => 'string', 'title' => '', 'example' => '{\\"ResourceGroupId\\":\\"\\",\\"Memory\\":4096,\\"InstanceChargeType\\":\\"PostPaid\\",\\"Cpu\\":2,\\"OSName\\":\\"Windows Server 2022 数据中心版 64位中文版\\",\\"InstanceNetworkType\\":\\"vpc\\",\\"InnerIpAddress\\":{\\"IpAddress\\":[]},\\"ExpiredTime\\":\\"2099-12-31T15:59Z\\",\\"ImageId\\":\\"win2022_21H2_x64_dtc_zh-cn_40G_alibase_20240110.vhd\\",\\"EipAddress\\":{\\"AllocationId\\":\\"\\",\\"IpAddress\\":\\"\\",\\"InternetChargeType\\":\\"\\"},\\"ImageOptions\\":{},\\"VlanId\\":\\"\\",\\"HostName\\":\\"iZl4i0brknq****\\",\\"Status\\":\\"Stopped\\",\\"HibernationOptions\\":{\\"Configured\\":false},\\"MetadataOptions\\":{\\"HttpTokens\\":\\"\\",\\"HttpEndpoint\\":\\"\\"},\\"InstanceId\\":\\"i-bp12g4xbl4i0brkn****\\",\\"StoppedMode\\":\\"KeepCharging\\",\\"CpuOptions\\":{\\"ThreadsPerCore\\":2,\\"Numa\\":\\"ON\\",\\"CoreCount\\":1},\\"StartTime\\":\\"2024-02-29T07:08Z\\",\\"DeletionProtection\\":false,\\"VpcAttributes\\":{\\"PrivateIpAddress\\":{\\"IpAddress\\":[\\"172.16.XX.XX\\"]},\\"VpcId\\":\\"vpc-bp1wjaw8t272wwmkg****\\",\\"VSwitchId\\":\\"vsw-bp103i8xzww5132ul****\\",\\"NatIpAddress\\":\\"\\"},\\"SecurityGroupIds\\":{\\"SecurityGroupId\\":[\\"sg-bp1h96fz9fagaegp****\\"]},\\"InternetChargeType\\":\\"PayByTraffic\\",\\"InstanceName\\":\\"test123\\",\\"DeploymentSetId\\":\\"\\",\\"InternetMaxBandwidthOut\\":5,\\"SerialNumber\\":\\"6764f567-28fb-4a39-bfc3-48404995****\\",\\"OSType\\":\\"windows\\",\\"CreationTime\\":\\"2024-02-29T07:08Z\\",\\"AutoReleaseTime\\":\\"\\",\\"Description\\":\\"\\",\\"InstanceTypeFamily\\":\\"ecs.c7\\",\\"DedicatedInstanceAttribute\\":{\\"Tenancy\\":\\"\\",\\"Affinity\\":\\"\\"},\\"PublicIpAddress\\":{\\"IpAddress\\":[\\"47.98.XX.XX\\"]},\\"GPUSpec\\":\\"\\",\\"NetworkInterfaces\\":{\\"NetworkInterface\\":[{\\"Type\\":\\"Primary\\",\\"PrimaryIpAddress\\":\\"172.16.XX.XX\\",\\"MacAddress\\":\\"00:16:3e:0c:**:**\\",\\"NetworkInterfaceId\\":\\"eni-bp19uj35v8won3x9****\\",\\"PrivateIpSets\\":{\\"PrivateIpSet\\":[{\\"PrivateIpAddress\\":\\"172.16.XX.XX\\",\\"Primary\\":true}]}}]},\\"SpotPriceLimit\\":0.0,\\"SaleCycle\\":\\"\\",\\"DeviceAvailable\\":true,\\"InstanceType\\":\\"ecs.c7.large\\",\\"OSNameEn\\":\\"Windows Server 2022 DataCenter Edition 64bit Chinese Edition\\",\\"SpotStrategy\\":\\"NoSpot\\",\\"IoOptimized\\":true,\\"ZoneId\\":\\"cn-hangzhou-b\\",\\"ClusterId\\":\\"\\",\\"EcsCapacityReservationAttr\\":{\\"CapacityReservationPreference\\":\\"\\",\\"CapacityReservationId\\":\\"\\"},\\"DedicatedHostAttribute\\":{\\"DedicatedHostId\\":\\"\\",\\"DedicatedHostName\\":\\"\\",\\"DedicatedHostClusterId\\":\\"\\"},\\"GPUAmount\\":0,\\"OperationLocks\\":{\\"LockReason\\":[]},\\"InternetMaxBandwidthIn\\":2000,\\"Recyclable\\":false,\\"RegionId\\":\\"cn-hangzhou\\",\\"CreditSpecification\\":\\"\\"}'], + 'Region' => ['description' => 'The region ID.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], + 'ResourceCreationTime' => ['description' => 'The timestamp when the resource was created.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1624961112000'], + 'Tags' => ['description' => 'The resource tags.', 'type' => 'string', 'title' => '', 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}'], + 'AccountId' => ['description' => 'The ID of the Alibaba Cloud account to which the resource belongs.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '100931896542****'], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'i-bp12g4xbl4i0brkn****'], + 'ResourceDeleted' => ['description' => 'Indicates whether the resource was deleted. Valid values:'."\n" + ."\n" + .'- 1: The resource was not deleted.'."\n" + ."\n" + .'- 0: The resource was deleted.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'ResourceName' => ['description' => 'The resource name.', 'type' => 'string', 'title' => '', 'example' => 'test123'], + 'ResourceStatus' => ['description' => 'The resource status. The value of this parameter varies based on the resource type and may be empty. For example:'."\n" + ."\n" + .'- If the ResourceType parameter is set to ACS::ECS::Instance, the resource is an ECS instance that has a specific state. In this case, the valid values of this parameter are Running and Stopped.'."\n" + ."\n" + .'- If the ResourceType parameter is ACS::OSS::Bucket, the resource is an Object Storage Service (OSS) bucket that is not in a specific state. In this case, this parameter is left empty.', 'type' => 'string', 'title' => '', 'example' => 'Stopped'], + 'ComplianceType' => ['description' => 'The compliance evaluation result. Valid values:'."\n" + ."\n" + .'- COMPLIANT: The resource is compliant.'."\n" + ."\n" + .'- NON\\_COMPLIANT: The resource is non-compliant.'."\n" + ."\n" + .'- NOT\\_APPLICABLE: The rule did not apply to your resource.'."\n" + ."\n" + .'- INSUFFICIENT\\_DATA: No data is available.', 'type' => 'string', 'title' => '', 'example' => 'COMPLIANT'], + 'VpcId' => ['title' => '', 'description' => 'The ID of the VPC to which the resource belongs, in the format of vpc-t4nhheyvay74fp7n0hxxx. If the resource does not belong to a VPC, an empty string is returned: ""', 'type' => 'string', 'required' => false, 'example' => 'vpc-t4nhheyvay74fp7n0hxxx'], + 'VSwitchId' => ['title' => '', 'description' => 'The ID of the vSwitch to which the resource belongs, in the format of vsw-t4n7pokxxxxxxxxxxxxxx. If the resource belongs to multiple vSwitches, the IDs are separated by commas, such as vsw-t4n7pokxxxxxxxxxxxxxx, vsw-t4n7pokxxxxxxxxxxxxxx. If the resource does not belong to any vSwitch, an empty string is returned: ""', 'type' => 'string', 'required' => true, 'example' => 'vsw-t4n7pokxxxxxxxxxxxxxx'], ], 'title' => '', 'example' => '', @@ -12862,35 +7756,17 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], - [ - 'errorCode' => 'MemberNotBelongToMaster', - 'errorMessage' => 'The specified member does not belong to your organization.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], + ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E4D71ACE-6B0A-46E0-8352-56952378CC7F\\",\\n \\"DiscoveredResourceDetail\\": {\\n \\"AvailabilityZone\\": \\"cn-hangzhou-h\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"Configuration\\": \\"{\\\\\\\\\\\\\\"ResourceGroupId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Memory\\\\\\\\\\\\\\":4096,\\\\\\\\\\\\\\"InstanceChargeType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"PostPaid\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Cpu\\\\\\\\\\\\\\":2,\\\\\\\\\\\\\\"OSName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Windows Server 2022 数据中心版 64位中文版\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"InstanceNetworkType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"vpc\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"InnerIpAddress\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"IpAddress\\\\\\\\\\\\\\":[]},\\\\\\\\\\\\\\"ExpiredTime\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2099-12-31T15:59Z\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ImageId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"win2022_21H2_x64_dtc_zh-cn_40G_alibase_20240110.vhd\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"EipAddress\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"AllocationId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"IpAddress\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"InternetChargeType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"ImageOptions\\\\\\\\\\\\\\":{},\\\\\\\\\\\\\\"VlanId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"HostName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"iZl4i0brknq****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Status\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Stopped\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"HibernationOptions\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"Configured\\\\\\\\\\\\\\":false},\\\\\\\\\\\\\\"MetadataOptions\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"HttpTokens\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"HttpEndpoint\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"InstanceId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"i-bp12g4xbl4i0brkn****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"StoppedMode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"KeepCharging\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CpuOptions\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"ThreadsPerCore\\\\\\\\\\\\\\":2,\\\\\\\\\\\\\\"Numa\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ON\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CoreCount\\\\\\\\\\\\\\":1},\\\\\\\\\\\\\\"StartTime\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2024-02-29T07:08Z\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DeletionProtection\\\\\\\\\\\\\\":false,\\\\\\\\\\\\\\"VpcAttributes\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"PrivateIpAddress\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"IpAddress\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"172.16.XX.XX\\\\\\\\\\\\\\"]},\\\\\\\\\\\\\\"VpcId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"vpc-bp1wjaw8t272wwmkg****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"VSwitchId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"vsw-bp103i8xzww5132ul****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NatIpAddress\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"SecurityGroupIds\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"SecurityGroupId\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"sg-bp1h96fz9fagaegp****\\\\\\\\\\\\\\"]},\\\\\\\\\\\\\\"InternetChargeType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"PayByTraffic\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"InstanceName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"test123\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DeploymentSetId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"InternetMaxBandwidthOut\\\\\\\\\\\\\\":5,\\\\\\\\\\\\\\"SerialNumber\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"6764f567-28fb-4a39-bfc3-48404995****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"OSType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"windows\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CreationTime\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2024-02-29T07:08Z\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AutoReleaseTime\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"InstanceTypeFamily\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ecs.c7\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DedicatedInstanceAttribute\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"Tenancy\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Affinity\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"PublicIpAddress\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"IpAddress\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"47.98.XX.XX\\\\\\\\\\\\\\"]},\\\\\\\\\\\\\\"GPUSpec\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NetworkInterfaces\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"NetworkInterface\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"Type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Primary\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PrimaryIpAddress\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"172.16.XX.XX\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"MacAddress\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"00:16:3e:0c:**:**\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"NetworkInterfaceId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"eni-bp19uj35v8won3x9****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PrivateIpSets\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"PrivateIpSet\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"PrivateIpAddress\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"172.16.XX.XX\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Primary\\\\\\\\\\\\\\":true}]}}]},\\\\\\\\\\\\\\"SpotPriceLimit\\\\\\\\\\\\\\":0.0,\\\\\\\\\\\\\\"SaleCycle\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DeviceAvailable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"InstanceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ecs.c7.large\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"OSNameEn\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Windows Server 2022 DataCenter Edition 64bit Chinese Edition\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"SpotStrategy\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NoSpot\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"IoOptimized\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"ZoneId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cn-hangzhou-b\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ClusterId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"EcsCapacityReservationAttr\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"CapacityReservationPreference\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CapacityReservationId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"DedicatedHostAttribute\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"DedicatedHostId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DedicatedHostName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DedicatedHostClusterId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"GPUAmount\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"OperationLocks\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"LockReason\\\\\\\\\\\\\\":[]},\\\\\\\\\\\\\\"InternetMaxBandwidthIn\\\\\\\\\\\\\\":2000,\\\\\\\\\\\\\\"Recyclable\\\\\\\\\\\\\\":false,\\\\\\\\\\\\\\"RegionId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cn-hangzhou\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CreditSpecification\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"}\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"ResourceCreationTime\\": 1624961112000,\\n \\"Tags\\": \\"{\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"hc\\\\\\\\\\\\\\"\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"value2\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"]}\\",\\n \\"AccountId\\": 0,\\n \\"ResourceId\\": \\"i-bp12g4xbl4i0brkn****\\",\\n \\"ResourceDeleted\\": 1,\\n \\"ResourceName\\": \\"test123\\",\\n \\"ResourceStatus\\": \\"Stopped\\",\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"VpcId\\": \\"vpc-t4nhheyvay74fp7n0hxxx\\",\\n \\"VSwitchId\\": \\"vsw-t4n7pokxxxxxxxxxxxxxx\\"\\n }\\n}","type":"json"}]', 'title' => 'GetAggregateDiscoveredResource', 'description' => '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****`.', @@ -12898,12 +7774,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '3000', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateDiscoveredResource', - ], + ['threshold' => '3000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateDiscoveredResource'], ], ], 'ramActions' => [ @@ -12914,26 +7785,15 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Resource', - 'arn' => 'acs:config:*:{#accountId}:resource/{#ResourceId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Resource', 'arn' => 'acs:config:*:{#accountId}:resource/{#ResourceId}'], ], ], ], ], ], 'GetAggregateResourceComplianceByConfigRule' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12941,11 +7801,7 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'ComplianceType', @@ -12961,52 +7817,29 @@ 'required' => false, 'docRequired' => false, 'example' => 'COMPLIANT', - 'enum' => [ - 'COMPLIANT', - 'NON_COMPLIANT', - 'NOT_APPLICABLE', - 'INSUFFICIENT_DATA', - 'IGNORED', - ], + 'enum' => ['COMPLIANT', 'NON_COMPLIANT', 'NOT_APPLICABLE', 'INSUFFICIENT_DATA', 'IGNORED'], ], ], [ 'name' => 'ConfigRuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the rule.'."\n" - ."\n" - .'For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cr-d369626622af008e****', - ], + 'schema' => ['description' => 'The ID of the rule.'."\n" + ."\n" + .'For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-d369626622af008e****'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ca-a4e5626622af0079****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'ca-a4e5626622af0079****'], ], [ 'name' => 'ResourceAccountId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resources in the account group belong.'."\n" - ."\n" - .'> You can use either the ResourceAccountId or ResourceOwnerId parameter. We recommend that you use the ResourceAccountId parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100931896542****', - ], + 'schema' => ['description' => 'The ID of the Alibaba Cloud account to which the resources in the account group belong.'."\n" + ."\n" + .'> You can use either the ResourceAccountId or ResourceOwnerId parameter. We recommend that you use the ResourceAccountId parameter.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100931896542****'], ], ], 'responses' => [ @@ -13019,12 +7852,7 @@ 'description' => 'The compliance result.', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of evaluated resources.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], + 'TotalCount' => ['description' => 'The total number of evaluated resources.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '5'], 'Compliances' => [ 'description' => 'The compliance list result.', 'type' => 'array', @@ -13032,62 +7860,35 @@ 'description' => 'N/A.'."\n", 'type' => 'object', 'properties' => [ - 'ComplianceType' => [ - 'description' => 'The compliance evaluation results of the resources. Valid values:'."\n" - ."\n" - .'* COMPLIANT: The resource was evaluated as compliant.'."\n" - .'* NON_COMPLIANT: The resource was evaluated as incompliant.'."\n" - .'* NOT_APPLICABLE: The rule did not apply to your resources.'."\n" - .'* INSUFFICIENT_DATA: No resource data was available.'."\n", - 'type' => 'string', - 'example' => 'COMPLIANT', - ], - 'Count' => [ - 'description' => 'The number of resources that have compliance evaluation results. For example, if the value of the `ComplianceType` parameter is `COMPLIANT`, this parameter value indicates the number of compliant resources.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], + 'ComplianceType' => ['description' => 'The compliance evaluation results of the resources. Valid values:'."\n" + ."\n" + .'* COMPLIANT: The resource was evaluated as compliant.'."\n" + .'* NON_COMPLIANT: The resource was evaluated as incompliant.'."\n" + .'* NOT_APPLICABLE: The rule did not apply to your resources.'."\n" + .'* INSUFFICIENT_DATA: No resource data was available.'."\n", 'type' => 'string', 'example' => 'COMPLIANT'], + 'Count' => ['description' => 'The number of resources that have compliance evaluation results. For example, if the value of the `ComplianceType` parameter is `COMPLIANT`, this parameter value indicates the number of compliant resources.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3'], ], ], ], ], ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '23306AB1-34E0-468F-BD7B-68D8AEAB754C', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '23306AB1-34E0-468F-BD7B-68D8AEAB754C'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => '', - ], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ComplianceResult\\": {\\n \\"TotalCount\\": 5,\\n \\"Compliances\\": [\\n {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"Count\\": 3\\n }\\n ]\\n },\\n \\"RequestId\\": \\"23306AB1-34E0-468F-BD7B-68D8AEAB754C\\"\\n}","type":"json"}]', 'title' => 'GetAggregateResourceComplianceByConfigRule', 'summary' => 'Queries compliance evaluation results based on the rules in a compliance package in an account group.', @@ -13101,12 +7902,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], 'additionalActions' => [], @@ -13115,13 +7911,8 @@ ], 'GetAggregateResourceComplianceByPack' => [ 'summary' => 'Queries the compliance statistics for resources in a specified compliance package within a specified account group.', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13133,38 +7924,22 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigJVB3GZ', - ], + 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance package.'."\n" - ."\n" - .'For more information, see [ListAggregateCompliancePacks](~~262059~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'cp-fdc8626622af00f9****', - ], + 'schema' => ['description' => 'The ID of the compliance package.'."\n" + ."\n" + .'For more information, see [ListAggregateCompliancePacks](~~262059~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cp-fdc8626622af00f9****'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'ca-f632626622af0079****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ca-f632626622af0079****'], ], ], 'responses' => [ @@ -13177,64 +7952,18 @@ 'description' => 'The compliance results of the resources in the compliance package.', 'type' => 'object', 'properties' => [ - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance package.', - 'type' => 'string', - 'title' => '', - 'example' => 'cp-fdc8626622af00f9****', - ], - 'InsufficientDataCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The total number of resources for which the evaluation data is insufficient.', - 'title' => '', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => 'The total number of resources evaluated by the compliance package.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '10', - ], - 'NonCompliantCount' => [ - 'description' => 'The number of non-compliant resources.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '7', - ], - 'CompliantCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The total number of compliant resources.', - 'title' => '', - 'example' => '1', - ], - 'NotApplicableCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The total number of resources that are not applicable.', - 'title' => '', - 'example' => '1', - ], - 'IgnoredCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The total number of ignored resources.', - 'title' => '', - 'example' => '1', - ], + 'CompliancePackId' => ['description' => 'The ID of the compliance package.', 'type' => 'string', 'title' => '', 'example' => 'cp-fdc8626622af00f9****'], + 'InsufficientDataCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of resources for which the evaluation data is insufficient.', 'title' => '', 'example' => '1'], + 'TotalCount' => ['description' => 'The total number of resources evaluated by the compliance package.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], + 'NonCompliantCount' => ['description' => 'The number of non-compliant resources.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '7'], + 'CompliantCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of compliant resources.', 'title' => '', 'example' => '1'], + 'NotApplicableCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of resources that are not applicable.', 'title' => '', 'example' => '1'], + 'IgnoredCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of ignored resources.', 'title' => '', 'example' => '1'], ], 'title' => '', 'example' => '', ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'title' => '', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'], ], 'title' => '', 'example' => '', @@ -13243,30 +7972,14 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.CompliancePackId.Value', - 'errorMessage' => 'The specified CompliancePackId does not exist.', - 'description' => 'The specified compliance pack ID does not exist.', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], + ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => 'The specified compliance pack ID does not exist.'], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ResourceComplianceResult\\": {\\n \\"CompliancePackId\\": \\"cp-fdc8626622af00f9****\\",\\n \\"InsufficientDataCount\\": 1,\\n \\"TotalCount\\": 10,\\n \\"NonCompliantCount\\": 7,\\n \\"CompliantCount\\": 1,\\n \\"NotApplicableCount\\": 1,\\n \\"IgnoredCount\\": 1\\n },\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","type":"json"}]', @@ -13276,12 +7989,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '600', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateResourceComplianceByPack', - ], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceComplianceByPack'], ], ], 'ramActions' => [ @@ -13292,26 +8000,15 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'], ], ], ], ], ], 'GetAggregateResourceComplianceGroupByRegion' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13323,31 +8020,18 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6XGW41', - ], + 'abilityTreeNodes' => ['FEATUREconfig6XGW41'], ], 'parameters' => [ [ 'name' => 'ConfigRuleIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule IDs. Separate multiple rule IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'cr-2652626622af005e****', - ], + 'schema' => ['description' => 'The rule IDs. Separate multiple rule IDs with commas (,).'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cr-2652626622af005e****'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ca-d6c9626622af0052****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ca-d6c9626622af0052****'], ], ], 'responses' => [ @@ -13365,33 +8049,20 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'RegionId' => [ - 'description' => 'The region ID of the evaluated resource.'."\n", - 'type' => 'string', - 'example' => 'cn-beijing', - ], + 'RegionId' => ['description' => 'The region ID of the evaluated resource.'."\n", 'type' => 'string', 'example' => 'cn-beijing'], 'Compliances' => [ 'description' => 'The queried evaluation results.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ComplianceType' => [ - 'description' => 'The evaluation result. Valid values:'."\n" - ."\n" - .'* COMPLIANT: The resource is evaluated as compliant.'."\n" - .'* NON_COMPLIANT: The resource is evaluated as non-compliant.'."\n" - .'* NOT_APPLICABLE: The rule does not apply to the resource.'."\n" - .'* INSUFFICIENT_DATA: No data is available.'."\n", - 'type' => 'string', - 'example' => 'COMPLIANT', - ], - 'Count' => [ - 'description' => 'The total number of evaluation results.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + 'ComplianceType' => ['description' => 'The evaluation result. Valid values:'."\n" + ."\n" + .'* COMPLIANT: The resource is evaluated as compliant.'."\n" + .'* NON_COMPLIANT: The resource is evaluated as non-compliant.'."\n" + .'* NOT_APPLICABLE: The rule does not apply to the resource.'."\n" + .'* INSUFFICIENT_DATA: No data is available.'."\n", 'type' => 'string', 'example' => 'COMPLIANT'], + 'Count' => ['description' => 'The total number of evaluation results.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], ], ], @@ -13400,36 +8071,20 @@ ], ], ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '5E3A847A-5D40-54A1-A2CE-77A87823ED07', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '5E3A847A-5D40-54A1-A2CE-77A87823ED07'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => '', - ], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"ComplianceResult\\": {\\n \\"ComplianceResultList\\": [\\n {\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"Compliances\\": [\\n {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"Count\\": 1\\n }\\n ]\\n }\\n ]\\n },\\n \\"RequestId\\": \\"5E3A847A-5D40-54A1-A2CE-77A87823ED07\\"\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateResourceComplianceGroupByRegionResponse>\\n <ComplianceResult>\\n <ComplianceResultList>\\n <RegionId>cn-beijing</RegionId>\\n <Compliances>\\n <ComplianceType>COMPLIANT</ComplianceType>\\n <Count>1</Count>\\n </Compliances>\\n </ComplianceResultList>\\n </ComplianceResult>\\n <RequestId>5E3A847A-5D40-54A1-A2CE-77A87823ED07</RequestId>\\n</GetAggregateResourceComplianceGroupByRegionResponse>","errorExample":""}]', @@ -13444,26 +8099,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetAggregateResourceComplianceGroupByResourceType' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13475,31 +8119,18 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6XGW41', - ], + 'abilityTreeNodes' => ['FEATUREconfig6XGW41'], ], 'parameters' => [ [ 'name' => 'ConfigRuleIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the rule. Separate multiple rule IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'cr-2541626622af0000****', - ], + 'schema' => ['description' => 'The ID of the rule. Separate multiple rule IDs with commas (,).'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cr-2541626622af0000****'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ca-cdbd626622af0042****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ca-cdbd626622af0042****'], ], ], 'responses' => [ @@ -13517,33 +8148,20 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'ResourceType' => [ - 'description' => 'The type of the evaluated resource.'."\n", - 'type' => 'string', - 'example' => 'ACS::ECS::Instance', - ], + 'ResourceType' => ['description' => 'The type of the evaluated resource.'."\n", 'type' => 'string', 'example' => 'ACS::ECS::Instance'], 'Compliances' => [ 'description' => 'The queried evaluation results.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ComplianceType' => [ - 'description' => 'The evaluation result. Valid values:'."\n" - ."\n" - .'* COMPLIANT: The resource is evaluated as compliant.'."\n" - .'* NON_COMPLIANT: The resource is evaluated as non-compliant.'."\n" - .'* NOT_APPLICABLE: The rule does not apply to the resource.'."\n" - .'* INSUFFICIENT_DATA: No data is available.'."\n", - 'type' => 'string', - 'example' => 'COMPLIANT', - ], - 'Count' => [ - 'description' => 'The number of statistical results.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + 'ComplianceType' => ['description' => 'The evaluation result. Valid values:'."\n" + ."\n" + .'* COMPLIANT: The resource is evaluated as compliant.'."\n" + .'* NON_COMPLIANT: The resource is evaluated as non-compliant.'."\n" + .'* NOT_APPLICABLE: The rule does not apply to the resource.'."\n" + .'* INSUFFICIENT_DATA: No data is available.'."\n", 'type' => 'string', 'example' => 'COMPLIANT'], + 'Count' => ['description' => 'The number of statistical results.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], ], ], @@ -13552,36 +8170,20 @@ ], ], ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0CE6AEE1-B3D8-530A-9302-6606B20503BB', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0CE6AEE1-B3D8-530A-9302-6606B20503BB'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => '', - ], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"ComplianceResult\\": {\\n \\"ComplianceResultList\\": [\\n {\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"Compliances\\": [\\n {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"Count\\": 1\\n }\\n ]\\n }\\n ]\\n },\\n \\"RequestId\\": \\"0CE6AEE1-B3D8-530A-9302-6606B20503BB\\"\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateResourceComplianceGroupByResourceTypeResponse>\\n <ComplianceResult>\\n <ComplianceResultList>\\n <ResourceType>ACS::ECS::Instance</ResourceType>\\n <Compliances>\\n <ComplianceType>COMPLIANT</ComplianceType>\\n <Count>1</Count>\\n </Compliances>\\n </ComplianceResultList>\\n </ComplianceResult>\\n <RequestId>0CE6AEE1-B3D8-530A-9302-6606B20503BB</RequestId>\\n</GetAggregateResourceComplianceGroupByResourceTypeResponse>","errorExample":""}]', @@ -13596,12 +8198,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -13609,13 +8206,8 @@ ], 'GetAggregateResourceComplianceTimeline' => [ 'summary' => '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.', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13626,131 +8218,63 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigJVB3GZ', - ], + 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'], ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type.'."\n" - ."\n" - .'For more information about how to obtain the resource type, see [ListAggregateDiscoveredResources](~~265983~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'ACS::OSS::Bucket', - ], + 'schema' => ['description' => 'The resource type.'."\n" + ."\n" + .'For more information about how to obtain the resource type, see [ListAggregateDiscoveredResources](~~265983~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ACS::OSS::Bucket'], ], [ 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource ID.'."\n" - ."\n" - .'For more information about how to obtain the resource ID, see [ListAggregateDiscoveredResources](~~265983~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'new-bucket', - ], + 'schema' => ['description' => 'The resource ID.'."\n" + ."\n" + .'For more information about how to obtain the resource ID, see [ListAggregateDiscoveredResources](~~265983~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'new-bucket'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The start timestamp. By default, data from the last 30 days is queried. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'title' => '', - 'example' => '1623211156000', - ], + 'schema' => ['description' => 'The start timestamp. By default, data from the last 30 days is queried. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1623211156000'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The end timestamp. By default, data up to the current time is queried. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'title' => '', - 'example' => '1625821156000', - ], + 'schema' => ['description' => 'The end timestamp. By default, data up to the current time is queried. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1625821156000'], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries to return on each page. Valid values: 1 to 100.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '100', - 'minimum' => '1', - 'default' => '10', - 'title' => '', - 'example' => '10', - ], + 'schema' => ['description' => 'The maximum number of entries to return on each page. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '1', 'default' => '10', 'title' => '', 'example' => '10'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'ca-5885626622af0008****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ca-5885626622af0008****'], ], [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region where the resource resides.'."\n" - ."\n" - .'For more information about how to obtain the ID of the region where a resource resides, see [ListAggregateDiscoveredResources](~~265983~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region where the resource resides.'."\n" + ."\n" + .'For more information about how to obtain the ID of the region where a resource resides, see [ListAggregateDiscoveredResources](~~265983~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'If the output of a request is truncated, you can use this token to query the next page of results.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '5OVS5J4I1/UKTkHV5oNs****', - ], + 'schema' => ['description' => 'If the output of a request is truncated, you can use this token to query the next page of results.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '5OVS5J4I1/UKTkHV5oNs****'], ], [ 'name' => 'ResourceAccountId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resource in the account group belongs.'."\n" - ."\n" - .'> Set either the ResourceAccountId or ResourceOwnerId parameter. This parameter is recommended.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'title' => '', - 'example' => '100931896542****', - ], + 'schema' => ['description' => 'The ID of the Alibaba Cloud account to which the resource in the account group belongs.'."\n" + ."\n" + .'> Set either the ResourceAccountId or ResourceOwnerId parameter. This parameter is recommended.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '100931896542****'], ], ], 'responses' => [ @@ -13759,29 +8283,13 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '8D53A78F-1EB8-4264-A554-72F07E34FAE6', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '8D53A78F-1EB8-4264-A554-72F07E34FAE6'], 'ResourceComplianceTimeline' => [ 'description' => 'The compliance timeline of the resource.', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'The token used to query the next page.', - 'type' => 'string', - 'title' => '', - 'example' => '5OVS5J4I1/UKTkHV5oNs****', - ], - 'MaxResults' => [ - 'description' => 'The maximum number of entries returned per page.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '10', - ], + 'NextToken' => ['description' => 'The token used to query the next page.', 'type' => 'string', 'title' => '', 'example' => '5OVS5J4I1/UKTkHV5oNs****'], + 'MaxResults' => ['description' => 'The maximum number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], 'ComplianceList' => [ 'description' => 'A list of compliance timeline entries.', 'type' => 'array', @@ -13789,84 +8297,22 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'Tags' => [ - 'description' => 'The tags of the resource.', - 'type' => 'string', - 'title' => '', - 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}', - ], - 'AccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resource belongs.', - 'type' => 'string', - 'title' => '', - 'example' => '100931896542****', - ], - 'AvailabilityZone' => [ - 'description' => 'The zone where the resource resides.', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-hangzhou-f', - ], - 'ResourceType' => [ - 'description' => 'The resource type.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS::OSS::Bucket', - ], - 'ResourceCreateTime' => [ - 'description' => 'The timestamp when the resource was created. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1624961112000', - ], - 'Region' => [ - 'description' => 'The ID of the region where the resource resides.', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-hangzhou', - ], - 'Configuration' => [ - 'description' => 'A list of rules associated with the resource and their compliance details.', - 'type' => 'string', - 'title' => '', - 'example' => '{\\"Compliance\\":{\\"complianceType\\":\\"COMPLIANT\\",\\"count\\":1},\\"ConfigRuleList\\":[{\\"accountId\\":100931896542****,\\"configRuleId\\":\\"cr-9524626622af003d****\\",\\"configRuleArn\\":\\"acs:config::100931896542****:rule/cr-9524626622af003d****\\",\\"configRuleName\\":\\"OSS存储空间ACL禁止公共读写\\",\\"complianceType\\":\\"COMPLIANT\\",\\"riskLevel\\":1,\\"annotation\\":\\"\\",\\"invokingEventMessageType\\":\\"ScheduledNotification\\"}]}', - ], - 'CaptureTime' => [ - 'description' => 'The timestamp when the compliance evaluation was recorded. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1625200295276', - ], - 'ConfigurationDiff' => [ - 'description' => 'The details of the resource change that triggered this evaluation.', - 'type' => 'string', - 'title' => '', - 'example' => '{\\"OSS存储空间ACL禁止公共读写\\":[{\\"accountId\\":100931896542****,\\"configRuleId\\":\\"cr-965f626622af003d****\\",\\"configRuleArn\\":\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\",\\"configRuleName\\":\\"OSS存储空间ACL禁止公共读写\\",\\"complianceType\\":\\"COMPLIANT\\",\\"riskLevel\\":1,\\"annotation\\":\\"\\",\\"invokingEventMessageType\\":\\"ScheduledNotification\\"},{}]}', - ], - 'ResourceId' => [ - 'description' => 'The resource ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'new-bucket', - ], - 'ResourceName' => [ - 'description' => 'The resource name.', - 'type' => 'string', - 'title' => '', - 'example' => 'new-bucket', - ], - 'ResourceStatus' => [ - 'description' => 'The status of the resource. The status of a resource is defined by the corresponding Alibaba Cloud service. This parameter can be empty. For example:'."\n" - ."\n" - .'- If the resource type is ACS::ECS::Instance, this parameter can be Running or Stopped because an ECS instance is stateful.'."\n" - ."\n" - .'- If the resource type is ACS::OSS::Bucket, this parameter is empty because an OSS bucket is stateless.', - 'type' => 'string', - 'title' => '', - 'example' => 'null', - ], + 'Tags' => ['description' => 'The tags of the resource.', 'type' => 'string', 'title' => '', 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}'], + 'AccountId' => ['description' => 'The ID of the Alibaba Cloud account to which the resource belongs.', 'type' => 'string', 'title' => '', 'example' => '100931896542****'], + 'AvailabilityZone' => ['description' => 'The zone where the resource resides.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou-f'], + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'title' => '', 'example' => 'ACS::OSS::Bucket'], + 'ResourceCreateTime' => ['description' => 'The timestamp when the resource was created. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1624961112000'], + 'Region' => ['description' => 'The ID of the region where the resource resides.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], + 'Configuration' => ['description' => 'A list of rules associated with the resource and their compliance details.', 'type' => 'string', 'title' => '', 'example' => '{\\"Compliance\\":{\\"complianceType\\":\\"COMPLIANT\\",\\"count\\":1},\\"ConfigRuleList\\":[{\\"accountId\\":100931896542****,\\"configRuleId\\":\\"cr-9524626622af003d****\\",\\"configRuleArn\\":\\"acs:config::100931896542****:rule/cr-9524626622af003d****\\",\\"configRuleName\\":\\"OSS存储空间ACL禁止公共读写\\",\\"complianceType\\":\\"COMPLIANT\\",\\"riskLevel\\":1,\\"annotation\\":\\"\\",\\"invokingEventMessageType\\":\\"ScheduledNotification\\"}]}'], + 'CaptureTime' => ['description' => 'The timestamp when the compliance evaluation was recorded. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1625200295276'], + 'ConfigurationDiff' => ['description' => 'The details of the resource change that triggered this evaluation.', 'type' => 'string', 'title' => '', 'example' => '{\\"OSS存储空间ACL禁止公共读写\\":[{\\"accountId\\":100931896542****,\\"configRuleId\\":\\"cr-965f626622af003d****\\",\\"configRuleArn\\":\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\",\\"configRuleName\\":\\"OSS存储空间ACL禁止公共读写\\",\\"complianceType\\":\\"COMPLIANT\\",\\"riskLevel\\":1,\\"annotation\\":\\"\\",\\"invokingEventMessageType\\":\\"ScheduledNotification\\"},{}]}'], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'new-bucket'], + 'ResourceName' => ['description' => 'The resource name.', 'type' => 'string', 'title' => '', 'example' => 'new-bucket'], + 'ResourceStatus' => ['description' => 'The status of the resource. The status of a resource is defined by the corresponding Alibaba Cloud service. This parameter can be empty. For example:'."\n" + ."\n" + .'- If the resource type is ACS::ECS::Instance, this parameter can be Running or Stopped because an ECS instance is stateful.'."\n" + ."\n" + .'- If the resource type is ACS::OSS::Bucket, this parameter is empty because an OSS bucket is stateless.', 'type' => 'string', 'title' => '', 'example' => 'null'], ], 'title' => '', 'example' => '', @@ -13886,35 +8332,15 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], - [ - 'errorCode' => 'Invalid.ResourceOwnerId.Value', - 'errorMessage' => 'The specified ResourceOwnerId is invalid.', - 'description' => 'The specified ResourceOwnerId is invalid.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], + ['errorCode' => 'Invalid.ResourceOwnerId.Value', 'errorMessage' => 'The specified ResourceOwnerId is invalid.', 'description' => 'The specified ResourceOwnerId is invalid.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8D53A78F-1EB8-4264-A554-72F07E34FAE6\\",\\n \\"ResourceComplianceTimeline\\": {\\n \\"NextToken\\": \\"5OVS5J4I1/UKTkHV5oNs****\\",\\n \\"MaxResults\\": 10,\\n \\"ComplianceList\\": [\\n {\\n \\"Tags\\": \\"{\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"hc\\\\\\\\\\\\\\"\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"value2\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"]}\\",\\n \\"AccountId\\": \\"100931896542****\\",\\n \\"AvailabilityZone\\": \\"cn-hangzhou-f\\",\\n \\"ResourceType\\": \\"ACS::OSS::Bucket\\",\\n \\"ResourceCreateTime\\": 1624961112000,\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"Configuration\\": \\"{\\\\\\\\\\\\\\"Compliance\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"complianceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"COMPLIANT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":1},\\\\\\\\\\\\\\"ConfigRuleList\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"accountId\\\\\\\\\\\\\\":100931896542****,\\\\\\\\\\\\\\"configRuleId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cr-9524626622af003d****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"configRuleArn\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"acs:config::100931896542****:rule/cr-9524626622af003d****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"configRuleName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"complianceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"COMPLIANT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"riskLevel\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"annotation\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"invokingEventMessageType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ScheduledNotification\\\\\\\\\\\\\\"}]}\\",\\n \\"CaptureTime\\": 1625200295276,\\n \\"ConfigurationDiff\\": \\"{\\\\\\\\\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"accountId\\\\\\\\\\\\\\":100931896542****,\\\\\\\\\\\\\\"configRuleId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cr-965f626622af003d****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"configRuleArn\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"configRuleName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"complianceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"COMPLIANT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"riskLevel\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"annotation\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"invokingEventMessageType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ScheduledNotification\\\\\\\\\\\\\\"},{}]}\\",\\n \\"ResourceId\\": \\"new-bucket\\",\\n \\"ResourceName\\": \\"new-bucket\\",\\n \\"ResourceStatus\\": \\"null\\"\\n }\\n ]\\n }\\n}","type":"json"}]', @@ -13926,12 +8352,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '500', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateResourceComplianceTimeline', - ], + ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceComplianceTimeline'], ], ], 'ramActions' => [ @@ -13942,12 +8363,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -13955,13 +8371,8 @@ ], 'GetAggregateResourceConfigurationTimeline' => [ 'summary' => '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.', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13973,129 +8384,61 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigWLDOIT', - ], + 'abilityTreeNodes' => ['FEATUREconfigWLDOIT'], ], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource.'."\n" - ."\n" - .'For more information, see [ListAggregateDiscoveredResources](~~265983~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'new-bucket', - ], + 'schema' => ['description' => 'The ID of the resource.'."\n" + ."\n" + .'For more information, see [ListAggregateDiscoveredResources](~~265983~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'new-bucket'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The start time of the query. This is a UNIX timestamp in milliseconds. By default, data from the last 30 days is queried.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'title' => '', - 'example' => '1623211156000', - ], + 'schema' => ['description' => 'The start time of the query. This is a UNIX timestamp in milliseconds. By default, data from the last 30 days is queried.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1623211156000'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The end time of the query. This is a UNIX timestamp in milliseconds. By default, data up to the current time is queried.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'title' => '', - 'example' => '1625821156000', - ], + 'schema' => ['description' => 'The end time of the query. This is a UNIX timestamp in milliseconds. By default, data up to the current time is queried.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1625821156000'], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries to return on each page. Valid values: 1 to 100.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '100', - 'minimum' => '1', - 'default' => '10', - 'title' => '', - 'example' => '10', - ], + 'schema' => ['description' => 'The maximum number of entries to return on each page. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '1', 'default' => '10', 'title' => '', 'example' => '10'], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the resource.'."\n" - ."\n" - .'For more information, see [ListAggregateDiscoveredResources](~~265983~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'ACS::OSS::Bucket', - ], + 'schema' => ['description' => 'The type of the resource.'."\n" + ."\n" + .'For more information, see [ListAggregateDiscoveredResources](~~265983~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ACS::OSS::Bucket'], ], [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region where the resource resides.'."\n" - ."\n" - .'For more information, see [ListAggregateDiscoveredResources](~~265983~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region where the resource resides.'."\n" + ."\n" + .'For more information, see [ListAggregateDiscoveredResources](~~265983~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'ca-5885626622af0008****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ca-5885626622af0008****'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'If the output is truncated, you can use the `NextToken` to start the next query from the truncation point.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'IWBjqMYSy0is7zSMGu16****', - ], + 'schema' => ['description' => 'If the output is truncated, you can use the `NextToken` to start the next query from the truncation point.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'IWBjqMYSy0is7zSMGu16****'], ], [ 'name' => 'ResourceAccountId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Alibaba Cloud account that owns the resource in the account group.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'title' => '', - 'example' => '100931896542****', - ], + 'schema' => ['description' => 'The ID of the Alibaba Cloud account that owns the resource in the account group.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '100931896542****'], ], ], 'responses' => [ @@ -14103,29 +8446,13 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'ED9CD1B3-286C-4E05-A765-5E1E0B9BC2AB', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'ED9CD1B3-286C-4E05-A765-5E1E0B9BC2AB'], 'ResourceConfigurationTimeline' => [ 'description' => 'The configuration history of the resource.', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'The token used to start the next query.', - 'type' => 'string', - 'title' => '', - 'example' => 'IWBjqMYSy0is7zSMGu16****', - ], - 'MaxResults' => [ - 'description' => 'The maximum number of entries returned on each page.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '10', - ], + 'NextToken' => ['description' => 'The token used to start the next query.', 'type' => 'string', 'title' => '', 'example' => 'IWBjqMYSy0is7zSMGu16****'], + 'MaxResults' => ['description' => 'The maximum number of entries returned on each page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], 'ConfigurationList' => [ 'description' => 'A list of configuration changes.', 'type' => 'array', @@ -14133,87 +8460,31 @@ 'description' => 'N/A.', 'type' => 'object', 'properties' => [ - 'Tags' => [ - 'description' => 'The tags of the resource.', - 'type' => 'string', - 'title' => '', - 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}', - ], - 'AccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account that owns the resource.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '100931896542****', - ], - 'ResourceEventType' => [ - 'description' => 'The type of the resource change event. Valid values:'."\n" - ."\n" - .'- DISCOVERED: The resource is discovered by Cloud Config.'."\n" - ."\n" - .'- DISCOVERED\\_REVISED: The resource is discovered by Cloud Config through a periodic remediation task.'."\n" - ."\n" - .'- MODIFY: The resource is modified.'."\n" - ."\n" - .'- MODIFY\\_REVISED: The resource is modified, as detected by a periodic remediation task.'."\n" - ."\n" - .'- REMOVE: The resource is deleted.'."\n" - ."\n" - .'> * To ensure data integrity, Cloud Config periodically runs remediation tasks to align data. This process may generate resource discovery events. These events occur infrequently.'."\n" - .'>'."\n" - .'> * The time when a resource event is generated by a periodic remediation task is the discovery time of the task. This time is later than the actual time of the resource change.', - 'type' => 'string', - 'title' => '', - 'example' => 'DISCOVERED', - ], - 'AvailabilityZone' => [ - 'description' => 'The zone.', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-hangzhou-h', - ], - 'ResourceType' => [ - 'description' => 'The resource type.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS::OSS::Bucket', - ], - 'ResourceCreateTime' => [ - 'description' => 'The time when the resource was created. This is a UNIX timestamp in milliseconds.', - 'type' => 'string', - 'title' => '', - 'example' => '1624961112000', - ], - 'Region' => [ - 'description' => 'The ID of the region.', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-hangzhou', - ], - 'CaptureTime' => [ - 'description' => 'The time when the resource change snapshot was recorded. This is a UNIX timestamp in milliseconds.', - 'type' => 'string', - 'title' => '', - 'example' => '1624961156000', - ], - 'ConfigurationDiff' => [ - 'description' => 'The details of the resource changes that triggered the evaluation.', - 'type' => 'string', - 'title' => '', - 'example' => '{\\"AccessControlList\\":[null,{\\"Grant\\":\\"private\\"}],\\"ServerSideEncryptionRule\\":[null,{\\"SSEAlgorithm\\":\\"None\\"}],\\"CreationDate\\":[null,\\"2021-06-29T10:05:12.000Z\\"],\\"Owner\\":[null,{\\"DisplayName\\":\\"100931896542****\\",\\"ID\\":\\"100931896542****\\"}],\\"BucketPolicy\\":[null,{\\"LogPrefix\\":\\"\\",\\"LogBucket\\":\\"\\"}],\\"StorageClass\\":[null,\\"Standard\\"],\\"ExtranetEndpoint\\":[null,\\"oss-cn-hangzhou.aliyuncs.com\\"],\\"DataRedundancyType\\":[null,\\"LRS\\"],\\"AllowEmptyReferer\\":[null,\\"true\\"],\\"IntranetEndpoint\\":[null,\\"oss-cn-hangzhou-internal.aliyuncs.com\\"],\\"Name\\":[null,\\"new-bucket\\"],\\"Location\\":[null,\\"oss-cn-hangzhou\\"]}', - ], - 'ResourceId' => [ - 'description' => 'The ID of the resource.', - 'type' => 'string', - 'title' => '', - 'example' => 'new-bucket', - ], - 'ResourceName' => [ - 'description' => 'The resource name.', - 'type' => 'string', - 'title' => '', - 'example' => 'new-bucket', - ], + 'Tags' => ['description' => 'The tags of the resource.', 'type' => 'string', 'title' => '', 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}'], + 'AccountId' => ['description' => 'The ID of the Alibaba Cloud account that owns the resource.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '100931896542****'], + 'ResourceEventType' => ['description' => 'The type of the resource change event. Valid values:'."\n" + ."\n" + .'- DISCOVERED: The resource is discovered by Cloud Config.'."\n" + ."\n" + .'- DISCOVERED\\_REVISED: The resource is discovered by Cloud Config through a periodic remediation task.'."\n" + ."\n" + .'- MODIFY: The resource is modified.'."\n" + ."\n" + .'- MODIFY\\_REVISED: The resource is modified, as detected by a periodic remediation task.'."\n" + ."\n" + .'- REMOVE: The resource is deleted.'."\n" + ."\n" + .'> * To ensure data integrity, Cloud Config periodically runs remediation tasks to align data. This process may generate resource discovery events. These events occur infrequently.'."\n" + .'>'."\n" + .'> * The time when a resource event is generated by a periodic remediation task is the discovery time of the task. This time is later than the actual time of the resource change.', 'type' => 'string', 'title' => '', 'example' => 'DISCOVERED'], + 'AvailabilityZone' => ['description' => 'The zone.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou-h'], + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'title' => '', 'example' => 'ACS::OSS::Bucket'], + 'ResourceCreateTime' => ['description' => 'The time when the resource was created. This is a UNIX timestamp in milliseconds.', 'type' => 'string', 'title' => '', 'example' => '1624961112000'], + 'Region' => ['description' => 'The ID of the region.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], + 'CaptureTime' => ['description' => 'The time when the resource change snapshot was recorded. This is a UNIX timestamp in milliseconds.', 'type' => 'string', 'title' => '', 'example' => '1624961156000'], + 'ConfigurationDiff' => ['description' => 'The details of the resource changes that triggered the evaluation.', 'type' => 'string', 'title' => '', 'example' => '{\\"AccessControlList\\":[null,{\\"Grant\\":\\"private\\"}],\\"ServerSideEncryptionRule\\":[null,{\\"SSEAlgorithm\\":\\"None\\"}],\\"CreationDate\\":[null,\\"2021-06-29T10:05:12.000Z\\"],\\"Owner\\":[null,{\\"DisplayName\\":\\"100931896542****\\",\\"ID\\":\\"100931896542****\\"}],\\"BucketPolicy\\":[null,{\\"LogPrefix\\":\\"\\",\\"LogBucket\\":\\"\\"}],\\"StorageClass\\":[null,\\"Standard\\"],\\"ExtranetEndpoint\\":[null,\\"oss-cn-hangzhou.aliyuncs.com\\"],\\"DataRedundancyType\\":[null,\\"LRS\\"],\\"AllowEmptyReferer\\":[null,\\"true\\"],\\"IntranetEndpoint\\":[null,\\"oss-cn-hangzhou-internal.aliyuncs.com\\"],\\"Name\\":[null,\\"new-bucket\\"],\\"Location\\":[null,\\"oss-cn-hangzhou\\"]}'], + 'ResourceId' => ['description' => 'The ID of the resource.', 'type' => 'string', 'title' => '', 'example' => 'new-bucket'], + 'ResourceName' => ['description' => 'The resource name.', 'type' => 'string', 'title' => '', 'example' => 'new-bucket'], ], 'title' => '', 'example' => '', @@ -14234,35 +8505,15 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], - [ - 'errorCode' => 'Invalid.ResourceOwnerId.Value', - 'errorMessage' => 'The specified ResourceOwnerId is invalid.', - 'description' => 'The specified ResourceOwnerId is invalid.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], + ['errorCode' => 'Invalid.ResourceOwnerId.Value', 'errorMessage' => 'The specified ResourceOwnerId is invalid.', 'description' => 'The specified ResourceOwnerId is invalid.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ED9CD1B3-286C-4E05-A765-5E1E0B9BC2AB\\",\\n \\"ResourceConfigurationTimeline\\": {\\n \\"NextToken\\": \\"IWBjqMYSy0is7zSMGu16****\\",\\n \\"MaxResults\\": 10,\\n \\"ConfigurationList\\": [\\n {\\n \\"Tags\\": \\"{\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"hc\\\\\\\\\\\\\\"\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"value2\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"]}\\",\\n \\"AccountId\\": 0,\\n \\"ResourceEventType\\": \\"DISCOVERED\\",\\n \\"AvailabilityZone\\": \\"cn-hangzhou-h\\",\\n \\"ResourceType\\": \\"ACS::OSS::Bucket\\",\\n \\"ResourceCreateTime\\": \\"1624961112000\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"CaptureTime\\": \\"1624961156000\\",\\n \\"ConfigurationDiff\\": \\"{\\\\\\\\\\\\\\"AccessControlList\\\\\\\\\\\\\\":[null,{\\\\\\\\\\\\\\"Grant\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"private\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"ServerSideEncryptionRule\\\\\\\\\\\\\\":[null,{\\\\\\\\\\\\\\"SSEAlgorithm\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"CreationDate\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"2021-06-29T10:05:12.000Z\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"Owner\\\\\\\\\\\\\\":[null,{\\\\\\\\\\\\\\"DisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"100931896542****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ID\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"100931896542****\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"BucketPolicy\\\\\\\\\\\\\\":[null,{\\\\\\\\\\\\\\"LogPrefix\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"LogBucket\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"StorageClass\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"Standard\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"ExtranetEndpoint\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"oss-cn-hangzhou.aliyuncs.com\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"DataRedundancyType\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"LRS\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"AllowEmptyReferer\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"true\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"IntranetEndpoint\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"oss-cn-hangzhou-internal.aliyuncs.com\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"new-bucket\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"Location\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"oss-cn-hangzhou\\\\\\\\\\\\\\"]}\\",\\n \\"ResourceId\\": \\"new-bucket\\",\\n \\"ResourceName\\": \\"new-bucket\\"\\n }\\n ]\\n }\\n}","type":"json"}]', @@ -14278,12 +8529,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateResourceConfigurationTimeline', - ], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceConfigurationTimeline'], ], ], 'ramActions' => [ @@ -14294,26 +8540,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetAggregateResourceCountsGroupByRegion' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14325,60 +8560,34 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6XGW41', - ], + 'abilityTreeNodes' => ['FEATUREconfig6XGW41'], ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type.'."\n" - ."\n" - .'For more information about how to obtain the type of a resource, see [ListAggregateDiscoveredResources](~~265983~~).'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'ACS::ECS::Instance', - ], + 'schema' => ['description' => 'The resource type.'."\n" + ."\n" + .'For more information about how to obtain the type of a resource, see [ListAggregateDiscoveredResources](~~265983~~).'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'ACS::ECS::Instance'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-a260626622af0005****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-a260626622af0005****'], ], [ 'name' => 'FolderId', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The ID of the folder in the resource directory. For more information about how to obtain the ID of a folder, see [View the basic information of a folder](~~111223~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-BU****', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the folder in the resource directory. For more information about how to obtain the ID of a folder, see [View the basic information of a folder](~~111223~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'r-BU****'], ], [ 'name' => 'ResourceAccountId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resources in the account group belong.'."\n" - ."\n" - .'> You can use either the ResourceAccountId or ResourceOwnerId parameter. We recommend that you use the ResourceAccountId parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100931896542****', - ], + 'schema' => ['description' => 'The ID of the Alibaba Cloud account to which the resources in the account group belong.'."\n" + ."\n" + .'> You can use either the ResourceAccountId or ResourceOwnerId parameter. We recommend that you use the ResourceAccountId parameter.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100931896542****'], ], ], 'responses' => [ @@ -14387,11 +8596,7 @@ 'description' => 'None.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '399BD94C-D20C-4D27-88D4-89E8D75C0595', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '399BD94C-D20C-4D27-88D4-89E8D75C0595'], 'DiscoveredResourceCountsSummary' => [ 'description' => 'The ID of the region by which statistics are collected.'."\n", 'type' => 'array', @@ -14399,24 +8604,11 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'ResourceCount' => [ - 'description' => 'The total number of resources in the region.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'GroupName' => [ - 'description' => 'The dimension by which statistics are collected.'."\n" - ."\n" - .'> In most cases, the `Region` parameter is returned instead of the GroupName parameter.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'Region' => [ - 'description' => 'The ID of the region by which statistics are collected.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], + 'ResourceCount' => ['description' => 'The total number of resources in the region.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'GroupName' => ['description' => 'The dimension by which statistics are collected.'."\n" + ."\n" + .'> In most cases, the `Region` parameter is returned instead of the GroupName parameter.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou'], + 'Region' => ['description' => 'The ID of the region by which statistics are collected.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou'], ], ], ], @@ -14426,30 +8618,14 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"399BD94C-D20C-4D27-88D4-89E8D75C0595\\",\\n \\"DiscoveredResourceCountsSummary\\": [\\n {\\n \\"ResourceCount\\": 10,\\n \\"GroupName\\": \\"cn-hangzhou\\",\\n \\"Region\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateResourceCountsGroupByRegionResponse>\\n\\t<RequestId>399BD94C-D20C-4D27-88D4-89E8D75C0595</RequestId>\\n\\t<DiscoveredResourceCountsSummary>\\n\\t\\t<Region>cn-hangzhou</Region>\\n\\t\\t<ResourceCount>10</ResourceCount>\\n\\t</DiscoveredResourceCountsSummary>\\n</GetAggregateResourceCountsGroupByRegionResponse>\\t","errorExample":""}]', @@ -14466,26 +8642,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetAggregateResourceCountsGroupByResourceType' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14497,60 +8662,34 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6XGW41', - ], + 'abilityTreeNodes' => ['FEATUREconfig6XGW41'], ], 'parameters' => [ [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cn-hangzhou'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-a260626622af0005****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-a260626622af0005****'], ], [ 'name' => 'FolderId', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The ID of the folder in the resource directory.'."\n" - ."\n" - .'For more information about how to obtain the ID of a folder, see [View the basic information of a folder](~~111223~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'r-BU****', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the folder in the resource directory.'."\n" + ."\n" + .'For more information about how to obtain the ID of a folder, see [View the basic information of a folder](~~111223~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'r-BU****'], ], [ 'name' => 'ResourceAccountId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resources in the account group belong.'."\n" - ."\n" - .'> You can specify either the ResourceAccountId or ResourceOwnerId parameter. We recommend that you specify the ResourceAccountId parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100931896542****', - ], + 'schema' => ['description' => 'The ID of the Alibaba Cloud account to which the resources in the account group belong.'."\n" + ."\n" + .'> You can specify either the ResourceAccountId or ResourceOwnerId parameter. We recommend that you specify the ResourceAccountId parameter.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100931896542****'], ], ], 'responses' => [ @@ -14559,11 +8698,7 @@ 'description' => 'None.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '99114B22-1EFF-47DF-B906-1CCE82FF9D60', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '99114B22-1EFF-47DF-B906-1CCE82FF9D60'], 'DiscoveredResourceCountsSummary' => [ 'description' => 'The resource type by which the statistics are collected.'."\n", 'type' => 'array', @@ -14571,22 +8706,9 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'ResourceCount' => [ - 'description' => 'The total number of resources in the region.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '7', - ], - 'GroupName' => [ - 'description' => 'This parameter is expired. The resource type by which statistics are collected.'."\n", - 'type' => 'string', - 'example' => 'ACS::RAM::Role', - ], - 'ResourceType' => [ - 'description' => 'The resource type by which statistics are collected.'."\n", - 'type' => 'string', - 'example' => 'ACS::RAM::Role', - ], + 'ResourceCount' => ['description' => 'The total number of resources in the region.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '7'], + 'GroupName' => ['description' => 'This parameter is expired. The resource type by which statistics are collected.'."\n", 'type' => 'string', 'example' => 'ACS::RAM::Role'], + 'ResourceType' => ['description' => 'The resource type by which statistics are collected.'."\n", 'type' => 'string', 'example' => 'ACS::RAM::Role'], ], ], ], @@ -14596,30 +8718,14 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"99114B22-1EFF-47DF-B906-1CCE82FF9D60\\",\\n \\"DiscoveredResourceCountsSummary\\": [\\n {\\n \\"ResourceCount\\": 7,\\n \\"GroupName\\": \\"ACS::RAM::Role\\",\\n \\"ResourceType\\": \\"ACS::RAM::Role\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateResourceCountsGroupByResourceTypeResponse>\\n\\t<RequestId>99114B22-1EFF-47DF-B906-1CCE82FF9D60</RequestId>\\n\\t<DiscoveredResourceCountsSummary>\\n\\t\\t<ResourceType>ACS::RAM::Role</ResourceType>\\n\\t\\t<ResourceCount>7</ResourceCount>\\n\\t</DiscoveredResourceCountsSummary>\\n</GetAggregateResourceCountsGroupByResourceTypeResponse>\\t","errorExample":""}]', @@ -14636,26 +8742,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetAggregateResourceInventory' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14667,22 +8762,15 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6XGW41', - ], + 'abilityTreeNodes' => ['FEATUREconfig6XGW41'], ], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ca-a91d626622af0035****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'ca-a91d626622af0035****'], ], ], 'responses' => [ @@ -14690,36 +8778,19 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '1A6D3604-EF1A-5798-A576-2A5FB855493C', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '1A6D3604-EF1A-5798-A576-2A5FB855493C'], 'ResourceInventory' => [ 'description' => 'The information about the resource inventory.'."\n", 'type' => 'object', 'properties' => [ - 'DownloadUrl' => [ - 'description' => 'The download URL of the resource inventory.'."\n", - 'type' => 'string', - 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_INVENTORY/100931896542****/100931896542****-RESOURCE_INVENTORY-202306251432.csv?Expires=1687678374&OSSAccessKeyId=STS.NUQ2xAAne87hVWG8WGx5f***&Signature=xudDN69simKLcCOguj5%2FgrWIw%2FM%3D&security-token=CAISiQJ1q6Ft5B2yfSjIr5bkecL1r****', - ], - 'Status' => [ - 'description' => 'The generation status of the resource inventory. Valid values:'."\n" - ."\n" - .'* CREATING: The resource inventory is being generated.'."\n" - .'* COMPLETE: The resource inventory is generated.'."\n", - 'type' => 'string', - 'example' => 'COMPLETE', - ], - 'ResourceInventoryGenerateTime' => [ - 'description' => 'The time when the resource inventory was generated. The value is a timestamp.'."\n" - ."\n" - .'Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1687674774123', - ], + 'DownloadUrl' => ['description' => 'The download URL of the resource inventory.'."\n", 'type' => 'string', 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_INVENTORY/100931896542****/100931896542****-RESOURCE_INVENTORY-202306251432.csv?Expires=1687678374&OSSAccessKeyId=STS.NUQ2xAAne87hVWG8WGx5f***&Signature=xudDN69simKLcCOguj5%2FgrWIw%2FM%3D&security-token=CAISiQJ1q6Ft5B2yfSjIr5bkecL1r****'], + 'Status' => ['description' => 'The generation status of the resource inventory. Valid values:'."\n" + ."\n" + .'* CREATING: The resource inventory is being generated.'."\n" + .'* COMPLETE: The resource inventory is generated.'."\n", 'type' => 'string', 'example' => 'COMPLETE'], + 'ResourceInventoryGenerateTime' => ['description' => 'The time when the resource inventory was generated. The value is a timestamp.'."\n" + ."\n" + .'Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1687674774123'], ], ], ], @@ -14729,18 +8800,10 @@ ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1A6D3604-EF1A-5798-A576-2A5FB855493C\\",\\n \\"ResourceInventory\\": {\\n \\"DownloadUrl\\": \\"https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_INVENTORY/100931896542****/100931896542****-RESOURCE_INVENTORY-202306251432.csv?Expires=1687678374&OSSAccessKeyId=STS.NUQ2xAAne87hVWG8WGx5f***&Signature=xudDN69simKLcCOguj5%2FgrWIw%2FM%3D&security-token=CAISiQJ1q6Ft5B2yfSjIr5bkecL1r****\\",\\n \\"Status\\": \\"COMPLETE\\",\\n \\"ResourceInventoryGenerateTime\\": 1687674774123\\n }\\n}","type":"json"}]', @@ -14762,12 +8825,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -14775,14 +8833,8 @@ ], 'GetAggregator' => [ 'summary' => 'Queries the name, creation time, members, and type of an account group.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14794,21 +8846,13 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigB2MNLG', - ], + 'abilityTreeNodes' => ['FEATUREconfigB2MNLG'], ], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.', - 'type' => 'string', - 'required' => true, - 'title' => '', - 'example' => 'ca-88ea626622af0055****', - ], + 'schema' => ['description' => 'The ID of the account group.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ca-88ea626622af0055****'], ], [ 'name' => 'Tag', @@ -14825,24 +8869,12 @@ .'A maximum of 20 tags can be attached.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key of the resource.'."\n" - ."\n" - .'A maximum of 20 tag keys can be attached.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'key-1', - ], - 'Value' => [ - 'description' => 'The tag value of the resource.'."\n" - ."\n" - .'A maximum of 20 tag values can be attached.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'value-1', - ], + 'Key' => ['description' => 'The tag key of the resource.'."\n" + ."\n" + .'A maximum of 20 tag keys can be attached.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'key-1'], + 'Value' => ['description' => 'The tag value of the resource.'."\n" + ."\n" + .'A maximum of 20 tag values can be attached.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'value-1'], ], 'required' => false, 'title' => '', @@ -14862,24 +8894,14 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '733DD93C-2277-4905-AE0C-0BA95C04B8BC', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '733DD93C-2277-4905-AE0C-0BA95C04B8BC'], 'Aggregator' => [ 'description' => 'The information about the account group.', 'type' => 'object', 'properties' => [ - 'AggregatorCreateTimestamp' => [ - 'description' => 'The timestamp when the account group was created.'."\n" - ."\n" - .'Unit: milliseconds.', - 'type' => 'string', - 'title' => '', - 'example' => '1623034091000', - ], + 'AggregatorCreateTimestamp' => ['description' => 'The timestamp when the account group was created.'."\n" + ."\n" + .'Unit: milliseconds.', 'type' => 'string', 'title' => '', 'example' => '1623034091000'], 'AggregatorAccounts' => [ 'description' => 'The information about the members in the account group.', 'type' => 'array', @@ -14887,40 +8909,18 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'RecorderStatus' => [ - 'description' => 'The status of Resource Monitoring for the member. Valid values:'."\n" - ."\n" - .'- REGISTRABLE: Not registered.'."\n" - ."\n" - .'- BUILDING: Building.'."\n" - ."\n" - .'- REGISTERED: Registered.'."\n" - ."\n" - .'- REBUILDING: Rebuilding.', - 'type' => 'string', - 'title' => '', - 'example' => 'REGISTERED', - ], - 'AccountId' => [ - 'description' => 'The member ID.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '171322098523****', - ], - 'AccountType' => [ - 'description' => 'The type of the account. Only ResourceDirectory is supported.', - 'type' => 'string', - 'title' => '', - 'example' => 'ResourceDirectory', - ], - 'AccountName' => [ - 'description' => 'The member name.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'Alice', - ], + 'RecorderStatus' => ['description' => 'The status of Resource Monitoring for the member. Valid values:'."\n" + ."\n" + .'- REGISTRABLE: Not registered.'."\n" + ."\n" + .'- BUILDING: Building.'."\n" + ."\n" + .'- REGISTERED: Registered.'."\n" + ."\n" + .'- REBUILDING: Rebuilding.', 'type' => 'string', 'title' => '', 'example' => 'REGISTERED'], + 'AccountId' => ['description' => 'The member ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '171322098523****'], + 'AccountType' => ['description' => 'The type of the account. Only ResourceDirectory is supported.', 'type' => 'string', 'title' => '', 'example' => 'ResourceDirectory'], + 'AccountName' => ['description' => 'The member name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Alice'], ], 'title' => '', 'example' => '', @@ -14928,67 +8928,24 @@ 'title' => '', 'example' => '', ], - 'AggregatorAccountCount' => [ - 'description' => 'The number of members in the account group.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '2', - ], - 'Description' => [ - 'description' => 'The description of the account group.', - 'type' => 'string', - 'title' => '', - 'example' => 'The description of the aggregator.', - ], - 'AggregatorName' => [ - 'description' => 'The name of the account group.', - 'type' => 'string', - 'title' => '', - 'example' => 'Test_Group', - ], - 'AggregatorStatus' => [ - 'description' => 'The status of the account group. Valid values:'."\n" - ."\n" - .'- 0: The account group is being created.'."\n" - ."\n" - .'- 1: The account group is created.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], - 'AggregatorType' => [ - 'description' => 'The type of the account group. Valid values:'."\n" - ."\n" - .'- RD: global account group.'."\n" - ."\n" - .'- FOLDER: folder account group.'."\n" - ."\n" - .'- CUSTOM: custom account group.', - 'type' => 'string', - 'title' => '', - 'example' => 'CUSTOM', - ], - 'AccountId' => [ - 'description' => 'The ID of the management account that is used to create the account group.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '100931896542****', - ], - 'AggregatorId' => [ - 'description' => 'The ID of the account group.', - 'type' => 'string', - 'title' => '', - 'example' => 'ca-88ea626622af0055****', - ], - 'FolderName' => [ - 'type' => 'string', - 'description' => 'The name of the folder to which the folder account group is attached. Multiple names are separated by commas (,).', - 'title' => '', - 'example' => 'Example-name', - ], + 'AggregatorAccountCount' => ['description' => 'The number of members in the account group.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2'], + 'Description' => ['description' => 'The description of the account group.', 'type' => 'string', 'title' => '', 'example' => 'The description of the aggregator.'], + 'AggregatorName' => ['description' => 'The name of the account group.', 'type' => 'string', 'title' => '', 'example' => 'Test_Group'], + 'AggregatorStatus' => ['description' => 'The status of the account group. Valid values:'."\n" + ."\n" + .'- 0: The account group is being created.'."\n" + ."\n" + .'- 1: The account group is created.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'AggregatorType' => ['description' => 'The type of the account group. Valid values:'."\n" + ."\n" + .'- RD: global account group.'."\n" + ."\n" + .'- FOLDER: folder account group.'."\n" + ."\n" + .'- CUSTOM: custom account group.', 'type' => 'string', 'title' => '', 'example' => 'CUSTOM'], + 'AccountId' => ['description' => 'The ID of the management account that is used to create the account group.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '100931896542****'], + 'AggregatorId' => ['description' => 'The ID of the account group.', 'type' => 'string', 'title' => '', 'example' => 'ca-88ea626622af0055****'], + 'FolderName' => ['type' => 'string', 'description' => 'The name of the folder to which the folder account group is attached. Multiple names are separated by commas (,).', 'title' => '', 'example' => 'Example-name'], 'Tags' => [ 'description' => 'The resource tags.', 'type' => 'array', @@ -14996,18 +8953,8 @@ 'description' => 'The resource tags.', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'title' => '', - 'example' => 'key-1', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'title' => '', - 'example' => 'value-1', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'key-1'], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'value-1'], ], 'title' => '', 'example' => '', @@ -15015,12 +8962,7 @@ 'title' => '', 'example' => '', ], - 'FolderId' => [ - 'description' => 'The ID of the folder to which the folder account group is attached.', - 'type' => 'string', - 'title' => '', - 'example' => 'fd-brHdgv****', - ], + 'FolderId' => ['description' => 'The ID of the folder to which the folder account group is attached.', 'type' => 'string', 'title' => '', 'example' => 'fd-brHdgv****'], ], 'title' => '', 'example' => '', @@ -15033,30 +8975,16 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"733DD93C-2277-4905-AE0C-0BA95C04B8BC\\",\\n \\"Aggregator\\": {\\n \\"AggregatorCreateTimestamp\\": \\"1623034091000\\",\\n \\"AggregatorAccounts\\": [\\n {\\n \\"RecorderStatus\\": \\"REGISTERED\\",\\n \\"AccountId\\": 0,\\n \\"AccountType\\": \\"ResourceDirectory\\",\\n \\"AccountName\\": \\"Alice\\"\\n }\\n ],\\n \\"AggregatorAccountCount\\": 2,\\n \\"Description\\": \\"The description of the aggregator.\\",\\n \\"AggregatorName\\": \\"Test_Group\\",\\n \\"AggregatorStatus\\": 1,\\n \\"AggregatorType\\": \\"CUSTOM\\",\\n \\"AccountId\\": 0,\\n \\"AggregatorId\\": \\"ca-88ea626622af0055****\\",\\n \\"FolderName\\": \\"Example-name\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ],\\n \\"FolderId\\": \\"fd-brHdgv****\\"\\n }\\n}","type":"json"}]', 'title' => 'GetAggregator', 'description' => '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).', @@ -15064,12 +8992,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '500', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregator', - ], + ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregator'], ], ], 'ramActions' => [ @@ -15080,12 +9003,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Aggregator', - 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}'], ], ], ], @@ -15093,13 +9011,8 @@ ], 'GetCompliancePack' => [ 'summary' => 'Queries the details of a specific compliance package.', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15111,24 +9024,15 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigX57QP8', - ], + 'abilityTreeNodes' => ['FEATUREconfigX57QP8'], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The compliance package ID.'."\n" - ."\n" - .'For more information about how to obtain the compliance package ID, see [ListCompliancePacks](~~263332~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'cp-a8a8626622af0082****', - ], + 'schema' => ['description' => 'The compliance package ID.'."\n" + ."\n" + .'For more information about how to obtain the compliance package ID, see [ListCompliancePacks](~~263332~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cp-a8a8626622af0082****'], ], [ 'name' => 'Tag', @@ -15145,28 +9049,16 @@ .'You can add up to 20 tags.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key of the resource.'."\n" - ."\n" - .'The tag key cannot be an empty string. The tag key can be up to 64 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.'."\n" - ."\n" - .'You can specify up to 20 tag keys at a time.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'key-1', - ], - 'Value' => [ - 'description' => 'The tag value of the resource.'."\n" - ."\n" - .'The tag value can be an empty string or a string of up to 128 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.'."\n" - ."\n" - .'Each tag key must have a corresponding tag value. You can specify up to 20 tag values at a time.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'value-1', - ], + 'Key' => ['description' => 'The tag key of the resource.'."\n" + ."\n" + .'The tag key cannot be an empty string. The tag key can be up to 64 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.'."\n" + ."\n" + .'You can specify up to 20 tag keys at a time.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'key-1'], + 'Value' => ['description' => 'The tag value of the resource.'."\n" + ."\n" + .'The tag value can be an empty string or a string of up to 128 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.'."\n" + ."\n" + .'Each tag key must have a corresponding tag value. You can specify up to 20 tag values at a time.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'value-1'], ], 'required' => false, 'title' => '', @@ -15186,51 +9078,25 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'], 'CompliancePack' => [ 'description' => 'The information about the compliance package.', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The status of the compliance package. Valid values:'."\n" - ."\n" - .'- ACTIVE: The compliance package is active.'."\n" - ."\n" - .'- CREATING: The compliance package is being created.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACTIVE', - ], - 'CompliancePackId' => [ - 'description' => 'The compliance package ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'cp-a8a8626622af0082****', - ], - 'RiskLevel' => [ - 'description' => 'The risk level of the compliance package. Valid values:'."\n" - ."\n" - .'- 1: high risk.'."\n" - ."\n" - .'- 2: medium risk.'."\n" - ."\n" - .'- 3: low risk.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], - 'Description' => [ - 'description' => 'The description of the compliance package.', - 'type' => 'string', - 'title' => '', - 'example' => '基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。', - ], + 'Status' => ['description' => 'The status of the compliance package. Valid values:'."\n" + ."\n" + .'- ACTIVE: The compliance package is active.'."\n" + ."\n" + .'- CREATING: The compliance package is being created.', 'type' => 'string', 'title' => '', 'example' => 'ACTIVE'], + 'CompliancePackId' => ['description' => 'The compliance package ID.', 'type' => 'string', 'title' => '', 'example' => 'cp-a8a8626622af0082****'], + 'RiskLevel' => ['description' => 'The risk level of the compliance package. Valid values:'."\n" + ."\n" + .'- 1: high risk.'."\n" + ."\n" + .'- 2: medium risk.'."\n" + ."\n" + .'- 3: low risk.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'Description' => ['description' => 'The description of the compliance package.', 'type' => 'string', 'title' => '', 'example' => '基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。'], 'ConfigRules' => [ 'description' => 'The list of rules in the compliance package.', 'type' => 'array', @@ -15238,24 +9104,9 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'ManagedRuleIdentifier' => [ - 'description' => 'The identifier of the rule template.', - 'type' => 'string', - 'title' => '', - 'example' => 'eip-bandwidth-limit', - ], - 'ConfigRuleName' => [ - 'description' => 'The name of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => '弹性IP实例带宽满足最低要求', - ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'cr-a260626622af0005****', - ], + 'ManagedRuleIdentifier' => ['description' => 'The identifier of the rule template.', 'type' => 'string', 'title' => '', 'example' => 'eip-bandwidth-limit'], + 'ConfigRuleName' => ['description' => 'The name of the rule.', 'type' => 'string', 'title' => '', 'example' => '弹性IP实例带宽满足最低要求'], + 'ConfigRuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'title' => '', 'example' => 'cr-a260626622af0005****'], 'ConfigRuleParameters' => [ 'description' => 'The information about the rule parameters.', 'type' => 'array', @@ -15263,28 +9114,13 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'Required' => [ - 'description' => 'Indicates whether the parameter is required for the rule. Valid values:'."\n" - ."\n" - .'- true: The parameter is required.'."\n" - ."\n" - .'- false: The parameter is not required.', - 'type' => 'boolean', - 'title' => '', - 'example' => 'true', - ], - 'ParameterName' => [ - 'description' => 'The name of the rule parameter.', - 'type' => 'string', - 'title' => '', - 'example' => 'bandwidth', - ], - 'ParameterValue' => [ - 'description' => 'The value of the rule parameter.', - 'type' => 'string', - 'title' => '', - 'example' => '10', - ], + 'Required' => ['description' => 'Indicates whether the parameter is required for the rule. Valid values:'."\n" + ."\n" + .'- true: The parameter is required.'."\n" + ."\n" + .'- false: The parameter is not required.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'ParameterName' => ['description' => 'The name of the rule parameter.', 'type' => 'string', 'title' => '', 'example' => 'bandwidth'], + 'ParameterValue' => ['description' => 'The value of the rule parameter.', 'type' => 'string', 'title' => '', 'example' => '10'], ], 'title' => '', 'example' => '', @@ -15292,31 +9128,15 @@ 'title' => '', 'example' => '', ], - 'Description' => [ - 'description' => 'The description of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => '弹性IP实例可用带宽大于等于指定参数值,视为“合规”。默认值:10 MB。', - ], - 'RiskLevel' => [ - 'description' => 'The risk level of the rule. Valid values:'."\n" - ."\n" - .'- 1: high risk.'."\n" - ."\n" - .'- 2: medium risk.'."\n" - ."\n" - .'- 3: low risk.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], - 'ResourceTypesScope' => [ - 'description' => 'The types of resources that are evaluated by the rule. Separate multiple resource types with commas (,).', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS::EIP::EipAddress', - ], + 'Description' => ['description' => 'The description of the rule.', 'type' => 'string', 'title' => '', 'example' => '弹性IP实例可用带宽大于等于指定参数值,视为“合规”。默认值:10 MB。'], + 'RiskLevel' => ['description' => 'The risk level of the rule. Valid values:'."\n" + ."\n" + .'- 1: high risk.'."\n" + ."\n" + .'- 2: medium risk.'."\n" + ."\n" + .'- 3: low risk.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'ResourceTypesScope' => ['description' => 'The types of resources that are evaluated by the rule. Separate multiple resource types with commas (,).', 'type' => 'string', 'title' => '', 'example' => 'ACS::EIP::EipAddress'], ], 'title' => '', 'example' => '', @@ -15324,115 +9144,68 @@ 'title' => '', 'example' => '', ], - 'TemplateContent' => [ - 'description' => 'The template information for the compliance package. The rule list in the template does not include user-defined function rules. You can use this template to quickly create the same compliance package for other accounts or account groups.', - 'type' => 'string', - 'title' => '', - 'example' => '{'."\n" - .' "configRuleTemplates": ['."\n" - .' {'."\n" - .' "configRuleName": "自定义条件规则示例",'."\n" - .' "scope": {'."\n" - .' "complianceResourceTypes": ['."\n" - .' "ACS::ECS::Instance"'."\n" - .' ]'."\n" - .' },'."\n" - .' "description": "",'."\n" - .' "source": {'."\n" - .' "owner": "CUSTOM_CONFIGURATION",'."\n" - .' "identifier": "acs-config-configuration",'."\n" - .' "sourceDetails": ['."\n" - .' {'."\n" - .' "messageType": "ScheduledNotification",'."\n" - .' "maximumExecutionFrequency": "Twelve_Hours"'."\n" - .' },'."\n" - .' {'."\n" - .' "messageType": "ConfigurationItemChangeNotification"'."\n" - .' }'."\n" - .' ],'."\n" - .' "conditions": "{\\"ComplianceConditions\\":\\"{\\\\\\"operator\\\\\\":\\\\\\"and\\\\\\",\\\\\\"children\\\\\\":[{\\\\\\"operator\\\\\\":\\\\\\"GreaterOrEquals\\\\\\",\\\\\\"featurePath\\\\\\":\\\\\\"$.Cpu\\\\\\",\\\\\\"featureSource\\\\\\":\\\\\\"CONFIGURATION\\\\\\",\\\\\\"desired\\\\\\":\\\\\\"2\\\\\\"}]}\\"}"'."\n" - .' },'."\n" - .' "inputParameters": {}'."\n" - .' },'."\n" - .' {'."\n" - .' "configRuleName": "OSS存储空间Referer在指定的防盗链白名单中",'."\n" - .' "scope": {'."\n" - .' "complianceResourceTypes": ['."\n" - .' "ACS::OSS::Bucket"'."\n" - .' ]'."\n" - .' },'."\n" - .' "description": "OSS存储空间开启防盗链并且Referer在指定白名单中,视为“合规”。",'."\n" - .' "source": {'."\n" - .' "owner": "ALIYUN",'."\n" - .' "identifier": "oss-bucket-referer-limit",'."\n" - .' "sourceDetails": ['."\n" - .' {'."\n" - .' "messageType": "ConfigurationItemChangeNotification"'."\n" - .' }'."\n" - .' ]'."\n" - .' },'."\n" - .' "inputParameters": {'."\n" - .' "allowEmptyReferer": "true",'."\n" - .' "allowReferers": "http://www.aliyun.com"'."\n" - .' }'."\n" - .' }'."\n" - .' ]'."\n" - .'}', - ], - 'CompliancePackName' => [ - 'description' => 'The name of the compliance package.', - 'type' => 'string', - 'title' => '', - 'example' => '等保三级预检合规包', - ], - 'AccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the compliance package belongs.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '100931896542****', - ], - 'CompliancePackTemplateId' => [ - 'description' => 'The ID of the compliance package template.', - 'type' => 'string', - 'title' => '', - 'example' => 'ct-5f26ff4e06a300c4****', - ], - 'CreateTimestamp' => [ - 'description' => 'The timestamp when the compliance package was created. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1624245766000', - ], + 'TemplateContent' => ['description' => 'The template information for the compliance package. The rule list in the template does not include user-defined function rules. You can use this template to quickly create the same compliance package for other accounts or account groups.', 'type' => 'string', 'title' => '', 'example' => '{'."\n" + .' "configRuleTemplates": ['."\n" + .' {'."\n" + .' "configRuleName": "自定义条件规则示例",'."\n" + .' "scope": {'."\n" + .' "complianceResourceTypes": ['."\n" + .' "ACS::ECS::Instance"'."\n" + .' ]'."\n" + .' },'."\n" + .' "description": "",'."\n" + .' "source": {'."\n" + .' "owner": "CUSTOM_CONFIGURATION",'."\n" + .' "identifier": "acs-config-configuration",'."\n" + .' "sourceDetails": ['."\n" + .' {'."\n" + .' "messageType": "ScheduledNotification",'."\n" + .' "maximumExecutionFrequency": "Twelve_Hours"'."\n" + .' },'."\n" + .' {'."\n" + .' "messageType": "ConfigurationItemChangeNotification"'."\n" + .' }'."\n" + .' ],'."\n" + .' "conditions": "{\\"ComplianceConditions\\":\\"{\\\\\\"operator\\\\\\":\\\\\\"and\\\\\\",\\\\\\"children\\\\\\":[{\\\\\\"operator\\\\\\":\\\\\\"GreaterOrEquals\\\\\\",\\\\\\"featurePath\\\\\\":\\\\\\"$.Cpu\\\\\\",\\\\\\"featureSource\\\\\\":\\\\\\"CONFIGURATION\\\\\\",\\\\\\"desired\\\\\\":\\\\\\"2\\\\\\"}]}\\"}"'."\n" + .' },'."\n" + .' "inputParameters": {}'."\n" + .' },'."\n" + .' {'."\n" + .' "configRuleName": "OSS存储空间Referer在指定的防盗链白名单中",'."\n" + .' "scope": {'."\n" + .' "complianceResourceTypes": ['."\n" + .' "ACS::OSS::Bucket"'."\n" + .' ]'."\n" + .' },'."\n" + .' "description": "OSS存储空间开启防盗链并且Referer在指定白名单中,视为“合规”。",'."\n" + .' "source": {'."\n" + .' "owner": "ALIYUN",'."\n" + .' "identifier": "oss-bucket-referer-limit",'."\n" + .' "sourceDetails": ['."\n" + .' {'."\n" + .' "messageType": "ConfigurationItemChangeNotification"'."\n" + .' }'."\n" + .' ]'."\n" + .' },'."\n" + .' "inputParameters": {'."\n" + .' "allowEmptyReferer": "true",'."\n" + .' "allowReferers": "http://www.aliyun.com"'."\n" + .' }'."\n" + .' }'."\n" + .' ]'."\n" + .'}'], + 'CompliancePackName' => ['description' => 'The name of the compliance package.', 'type' => 'string', 'title' => '', 'example' => '等保三级预检合规包'], + 'AccountId' => ['description' => 'The ID of the Alibaba Cloud account to which the compliance package belongs.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '100931896542****'], + 'CompliancePackTemplateId' => ['description' => 'The ID of the compliance package template.', 'type' => 'string', 'title' => '', 'example' => 'ct-5f26ff4e06a300c4****'], + 'CreateTimestamp' => ['description' => 'The timestamp when the compliance package was created. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1624245766000'], 'Scope' => [ 'description' => 'The evaluation scope.', 'type' => 'object', 'properties' => [ - 'ExcludeRegionIdsScope' => [ - 'description' => 'The IDs of the regions from which resources are excluded. Separate multiple region IDs with commas (,).', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-hangzhou', - ], - 'ResourceIdsScope' => [ - 'description' => 'The compliance package is effective only for resources with the specified IDs. Separate multiple resource IDs with commas (,).', - 'type' => 'string', - 'title' => '', - 'example' => 'eip-8vbf3x310fn56ijfd****'."\n", - ], - 'ExcludeResourceGroupIdsScope' => [ - 'description' => 'The compliance package is not effective for the resources in the resource groups with the specified IDs. Separate multiple resource group IDs with commas (,).', - 'type' => 'string', - 'title' => '', - 'example' => 'rg-aekzc7r7rhx****', - ], - 'TagKeyScope' => [ - 'description' => 'The compliance package is effective only for the resources that have the specified tag key.', - 'type' => 'string', - 'title' => '', - 'example' => 'ECS', - ], + 'ExcludeRegionIdsScope' => ['description' => 'The IDs of the regions from which resources are excluded. Separate multiple region IDs with commas (,).', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], + 'ResourceIdsScope' => ['description' => 'The compliance package is effective only for resources with the specified IDs. Separate multiple resource IDs with commas (,).', 'type' => 'string', 'title' => '', 'example' => 'eip-8vbf3x310fn56ijfd****'."\n"], + 'ExcludeResourceGroupIdsScope' => ['description' => 'The compliance package is not effective for the resources in the resource groups with the specified IDs. Separate multiple resource group IDs with commas (,).', 'type' => 'string', 'title' => '', 'example' => 'rg-aekzc7r7rhx****'], + 'TagKeyScope' => ['description' => 'The compliance package is effective only for the resources that have the specified tag key.', 'type' => 'string', 'title' => '', 'example' => 'ECS'], 'TagsScope' => [ 'description' => 'The tag scope.', 'type' => 'array', @@ -15440,18 +9213,8 @@ 'description' => 'The tag scope.', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'title' => '', - 'example' => 'key-1', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'title' => '', - 'example' => 'value-1', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'key-1'], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'value-1'], ], 'title' => '', 'example' => '', @@ -15467,18 +9230,8 @@ 'description' => 'The excluded tag scope.', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'title' => '', - 'example' => 'key-2', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'title' => '', - 'example' => 'value-2', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'key-2'], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'value-2'], ], 'title' => '', 'example' => '', @@ -15487,30 +9240,10 @@ 'title' => '', 'example' => '', ], - 'TagValueScope' => [ - 'description' => 'The compliance package is effective only for the resources that have the specified tag key-value pair.', - 'type' => 'string', - 'title' => '', - 'example' => 'test', - ], - 'RegionIdsScope' => [ - 'description' => 'The compliance package is effective only for resources in the specified regions.', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-hangzhou', - ], - 'ExcludeResourceIdsScope' => [ - 'description' => 'The compliance package is not effective for the resources with the specified IDs. The resources are not evaluated.', - 'type' => 'string', - 'title' => '', - 'example' => 'eip-8vbf3x310fn56ijfd****', - ], - 'ResourceGroupIdsScope' => [ - 'description' => 'The compliance package is effective only for the resources in the resource groups with the specified IDs.', - 'type' => 'string', - 'title' => '', - 'example' => 'rg-aekzc7r7rhx****', - ], + 'TagValueScope' => ['description' => 'The compliance package is effective only for the resources that have the specified tag key-value pair.', 'type' => 'string', 'title' => '', 'example' => 'test'], + 'RegionIdsScope' => ['description' => 'The compliance package is effective only for resources in the specified regions.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], + 'ExcludeResourceIdsScope' => ['description' => 'The compliance package is not effective for the resources with the specified IDs. The resources are not evaluated.', 'type' => 'string', 'title' => '', 'example' => 'eip-8vbf3x310fn56ijfd****'], + 'ResourceGroupIdsScope' => ['description' => 'The compliance package is effective only for the resources in the resource groups with the specified IDs.', 'type' => 'string', 'title' => '', 'example' => 'rg-aekzc7r7rhx****'], ], 'title' => '', 'example' => '', @@ -15522,18 +9255,8 @@ 'description' => 'The resource tags.', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'title' => '', - 'example' => 'key-1', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'title' => '', - 'example' => 'value-1', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'key-1'], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'value-1'], ], 'title' => '', 'example' => '', @@ -15553,42 +9276,23 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.CompliancePackId.Value', - 'errorMessage' => 'The specified CompliancePackId does not exist.', - 'description' => 'The specified compliance pack ID does not exist.', - ], + ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => 'The specified compliance pack ID does not exist.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"CompliancePack\\": {\\n \\"Status\\": \\"ACTIVE\\",\\n \\"CompliancePackId\\": \\"cp-a8a8626622af0082****\\",\\n \\"RiskLevel\\": 1,\\n \\"Description\\": \\"基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。\\",\\n \\"ConfigRules\\": [\\n {\\n \\"ManagedRuleIdentifier\\": \\"eip-bandwidth-limit\\",\\n \\"ConfigRuleName\\": \\"弹性IP实例带宽满足最低要求\\",\\n \\"ConfigRuleId\\": \\"cr-a260626622af0005****\\",\\n \\"ConfigRuleParameters\\": [\\n {\\n \\"Required\\": true,\\n \\"ParameterName\\": \\"bandwidth\\",\\n \\"ParameterValue\\": \\"10\\"\\n }\\n ],\\n \\"Description\\": \\"弹性IP实例可用带宽大于等于指定参数值,视为“合规”。默认值:10 MB。\\",\\n \\"RiskLevel\\": 1,\\n \\"ResourceTypesScope\\": \\"ACS::EIP::EipAddress\\"\\n }\\n ],\\n \\"TemplateContent\\": \\"{\\\\n \\\\\\"configRuleTemplates\\\\\\": [\\\\n {\\\\n \\\\\\"configRuleName\\\\\\": \\\\\\"自定义条件规则示例\\\\\\",\\\\n \\\\\\"scope\\\\\\": {\\\\n \\\\\\"complianceResourceTypes\\\\\\": [\\\\n \\\\\\"ACS::ECS::Instance\\\\\\"\\\\n ]\\\\n },\\\\n \\\\\\"description\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"source\\\\\\": {\\\\n \\\\\\"owner\\\\\\": \\\\\\"CUSTOM_CONFIGURATION\\\\\\",\\\\n \\\\\\"identifier\\\\\\": \\\\\\"acs-config-configuration\\\\\\",\\\\n \\\\\\"sourceDetails\\\\\\": [\\\\n {\\\\n \\\\\\"messageType\\\\\\": \\\\\\"ScheduledNotification\\\\\\",\\\\n \\\\\\"maximumExecutionFrequency\\\\\\": \\\\\\"Twelve_Hours\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"messageType\\\\\\": \\\\\\"ConfigurationItemChangeNotification\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"conditions\\\\\\": \\\\\\"{\\\\\\\\\\\\\\"ComplianceConditions\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"and\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"children\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"GreaterOrEquals\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"featurePath\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"$.Cpu\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"featureSource\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"CONFIGURATION\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"desired\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"2\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"}]}\\\\\\\\\\\\\\"}\\\\\\"\\\\n },\\\\n \\\\\\"inputParameters\\\\\\": {}\\\\n },\\\\n {\\\\n \\\\\\"configRuleName\\\\\\": \\\\\\"OSS存储空间Referer在指定的防盗链白名单中\\\\\\",\\\\n \\\\\\"scope\\\\\\": {\\\\n \\\\\\"complianceResourceTypes\\\\\\": [\\\\n \\\\\\"ACS::OSS::Bucket\\\\\\"\\\\n ]\\\\n },\\\\n \\\\\\"description\\\\\\": \\\\\\"OSS存储空间开启防盗链并且Referer在指定白名单中,视为“合规”。\\\\\\",\\\\n \\\\\\"source\\\\\\": {\\\\n \\\\\\"owner\\\\\\": \\\\\\"ALIYUN\\\\\\",\\\\n \\\\\\"identifier\\\\\\": \\\\\\"oss-bucket-referer-limit\\\\\\",\\\\n \\\\\\"sourceDetails\\\\\\": [\\\\n {\\\\n \\\\\\"messageType\\\\\\": \\\\\\"ConfigurationItemChangeNotification\\\\\\"\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"inputParameters\\\\\\": {\\\\n \\\\\\"allowEmptyReferer\\\\\\": \\\\\\"true\\\\\\",\\\\n \\\\\\"allowReferers\\\\\\": \\\\\\"http://www.aliyun.com\\\\\\"\\\\n }\\\\n }\\\\n ]\\\\n}\\",\\n \\"CompliancePackName\\": \\"等保三级预检合规包\\",\\n \\"AccountId\\": 0,\\n \\"CompliancePackTemplateId\\": \\"ct-5f26ff4e06a300c4****\\",\\n \\"CreateTimestamp\\": 1624245766000,\\n \\"Scope\\": {\\n \\"ExcludeRegionIdsScope\\": \\"cn-hangzhou\\",\\n \\"ResourceIdsScope\\": \\"eip-8vbf3x310fn56ijfd****\\\\n\\",\\n \\"ExcludeResourceGroupIdsScope\\": \\"rg-aekzc7r7rhx****\\",\\n \\"TagKeyScope\\": \\"ECS\\",\\n \\"TagsScope\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ],\\n \\"ExcludeTagsScope\\": [\\n {\\n \\"TagKey\\": \\"key-2\\",\\n \\"TagValue\\": \\"value-2\\"\\n }\\n ],\\n \\"TagValueScope\\": \\"test\\",\\n \\"RegionIdsScope\\": \\"cn-hangzhou\\",\\n \\"ExcludeResourceIdsScope\\": \\"eip-8vbf3x310fn56ijfd****\\",\\n \\"ResourceGroupIdsScope\\": \\"rg-aekzc7r7rhx****\\"\\n },\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'GetCompliancePack', 'description' => '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).', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetCompliancePack', - ], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetCompliancePack'], ], ], 'ramActions' => [ @@ -15599,25 +9303,15 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'CompliancePack', - 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'], ], ], ], ], ], 'GetCompliancePackReport' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15629,23 +9323,15 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigJVB3GZ', - ], + 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance package.'."\n" - ."\n" - .'For more information about how to obtain the ID of a compliance package, see [ListCompliancePacks](~~263332~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cp-fdc8626622af00f9****', - ], + 'schema' => ['description' => 'The ID of the compliance package.'."\n" + ."\n" + .'For more information about how to obtain the ID of a compliance package, see [ListCompliancePacks](~~263332~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-fdc8626622af00f9****'], ], ], 'responses' => [ @@ -15654,46 +9340,20 @@ 'description' => 'N/A.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'], 'CompliancePackReport' => [ 'description' => 'The information about the compliance evaluation report.'."\n", 'type' => 'object', 'properties' => [ - 'ReportUrl' => [ - 'description' => 'The URL that is used to download the compliance evaluation report.'."\n", - 'type' => 'string', - 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/CompliancePackReports/120886317861****/cp-fdc8626622af00f9****/120886317861****-cp-fdc8626622af00f9****-report-202106221046.xls?Expires=162442****&OSSAccessKeyId=LTAIs86R8H59****&Signature=sWmz4fq7eJEyDoho%2FoDOReZ3s****', - ], - 'ReportStatus' => [ - 'description' => 'The status of the compliance evaluation report. Valid values:'."\n" - ."\n" - .'* NONE: The compliance evaluation report is not generated.'."\n" - .'* CREATING: The compliance evaluation report is being generated.'."\n" - .'* COMPLETE: The compliance evaluation report is generated.'."\n", - 'type' => 'string', - 'example' => 'COMPLETE', - ], - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance package.'."\n", - 'type' => 'string', - 'example' => 'cp-fdc8626622af00f9****', - ], - 'AccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the compliance package belongs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '120886317861****', - ], - 'ReportCreateTimestamp' => [ - 'description' => 'The timestamp when the compliance evaluation report was generated. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1624329965857', - ], + 'ReportUrl' => ['description' => 'The URL that is used to download the compliance evaluation report.'."\n", 'type' => 'string', 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/CompliancePackReports/120886317861****/cp-fdc8626622af00f9****/120886317861****-cp-fdc8626622af00f9****-report-202106221046.xls?Expires=162442****&OSSAccessKeyId=LTAIs86R8H59****&Signature=sWmz4fq7eJEyDoho%2FoDOReZ3s****'], + 'ReportStatus' => ['description' => 'The status of the compliance evaluation report. Valid values:'."\n" + ."\n" + .'* NONE: The compliance evaluation report is not generated.'."\n" + .'* CREATING: The compliance evaluation report is being generated.'."\n" + .'* COMPLETE: The compliance evaluation report is generated.'."\n", 'type' => 'string', 'example' => 'COMPLETE'], + 'CompliancePackId' => ['description' => 'The ID of the compliance package.'."\n", 'type' => 'string', 'example' => 'cp-fdc8626622af00f9****'], + 'AccountId' => ['description' => 'The ID of the Alibaba Cloud account to which the compliance package belongs.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '120886317861****'], + 'ReportCreateTimestamp' => ['description' => 'The timestamp when the compliance evaluation report was generated. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1624329965857'], ], ], ], @@ -15702,25 +9362,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.CompliancePackId.Value', - 'errorMessage' => 'The specified CompliancePackId does not exist.', - 'description' => '', - ], + ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"CompliancePackReport\\": {\\n \\"ReportUrl\\": \\"https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/CompliancePackReports/120886317861****/cp-fdc8626622af00f9****/120886317861****-cp-fdc8626622af00f9****-report-202106221046.xls?Expires=162442****&OSSAccessKeyId=LTAIs86R8H59****&Signature=sWmz4fq7eJEyDoho%2FoDOReZ3s****\\",\\n \\"ReportStatus\\": \\"COMPLETE\\",\\n \\"CompliancePackId\\": \\"cp-fdc8626622af00f9****\\",\\n \\"AccountId\\": 0,\\n \\"ReportCreateTimestamp\\": 1624329965857\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetCompliancePackReportResponse>\\n\\t<RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n\\t<CompliancePackReport>\\n\\t\\t<CompliancePackId>cp-fdc8626622af00f9****</CompliancePackId>\\n\\t\\t<AccountId>120886317861****</AccountId>\\n\\t\\t<ReportUrl>https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/CompliancePackReports/120886317861****/cp-fdc8626622af00f9****/120886317861****-cp-fdc8626622af00f9****-report-202106221046.xls?Expires=162442****&OSSAccessKeyId=LTAIs86R8H59****&Signature=sWmz4fq7eJEyDoho%2FoDOReZ3s****</ReportUrl>\\n\\t\\t<ReportStatus>COMPLETE</ReportStatus>\\n\\t\\t<ReportCreateTimestamp>1624329965857</ReportCreateTimestamp>\\n\\t</CompliancePackReport>\\n</GetCompliancePackReportResponse>\\t","errorExample":""}]', @@ -15739,12 +9387,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'CompliancePack', - 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'], ], ], ], @@ -15752,13 +9395,8 @@ ], 'GetComplianceSummary' => [ 'summary' => 'Queries the compliance summary for the current account.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15770,9 +9408,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigJVB3GZ', - ], + 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'], ], 'parameters' => [], 'responses' => [ @@ -15780,12 +9416,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'CAEE6F34-DEDC-4BAA-AA8C-946D5D008737', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'CAEE6F34-DEDC-4BAA-AA8C-946D5D008737'], 'ComplianceSummary' => [ 'description' => 'The compliance summary.', 'type' => 'object', @@ -15794,61 +9425,19 @@ 'description' => 'The compliance summary by resource.', 'type' => 'object', 'properties' => [ - 'LowRiskRuleNonCompliantResourceCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The number of non-compliant resources detected by low-risk rules.'."\n" - ."\n" - .'> Note: This value can be greater than the total number of resources in your account. Resources are counted based on each rule. For example, if a resource is evaluated as non-compliant by two low-risk rules, the value of this parameter increases by 2.', - 'title' => '', - 'example' => '2', - ], - 'NonCompliantCount' => [ - 'description' => 'The number of non-compliant resources.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '12', - ], - 'ComplianceSummaryTimestamp' => [ - 'description' => 'The timestamp when the compliance summary was generated. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1589853712165', - ], - 'TotalCount' => [ - 'description' => 'The total number of resources.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '13', - ], - 'CompliantCount' => [ - 'description' => 'The number of compliant resources.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], - 'HighRiskRuleNonCompliantResourceCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The number of non-compliant resources detected by high-risk rules.'."\n" - ."\n" - .'> Note: This value can be greater than the total number of resources in your account. Resources are counted based on each rule. For example, if a resource is evaluated as non-compliant by two rules, the value of this parameter increases by 2.', - 'title' => '', - 'example' => '2', - ], - 'MediumRiskRuleNonCompliantResourceCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The number of non-compliant resources detected by medium-risk rules.'."\n" - ."\n" - .'> Note: This value can be greater than the total number of resources in your account. Resources are counted based on each rule. For example, if a resource is evaluated as non-compliant by two rules, the value of this parameter increases by 2.', - 'title' => '', - 'example' => '6', - ], + 'LowRiskRuleNonCompliantResourceCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of non-compliant resources detected by low-risk rules.'."\n" + ."\n" + .'> Note: This value can be greater than the total number of resources in your account. Resources are counted based on each rule. For example, if a resource is evaluated as non-compliant by two low-risk rules, the value of this parameter increases by 2.', 'title' => '', 'example' => '2'], + 'NonCompliantCount' => ['description' => 'The number of non-compliant resources.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '12'], + 'ComplianceSummaryTimestamp' => ['description' => 'The timestamp when the compliance summary was generated. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1589853712165'], + 'TotalCount' => ['description' => 'The total number of resources.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '13'], + 'CompliantCount' => ['description' => 'The number of compliant resources.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'HighRiskRuleNonCompliantResourceCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of non-compliant resources detected by high-risk rules.'."\n" + ."\n" + .'> Note: This value can be greater than the total number of resources in your account. Resources are counted based on each rule. For example, if a resource is evaluated as non-compliant by two rules, the value of this parameter increases by 2.', 'title' => '', 'example' => '2'], + 'MediumRiskRuleNonCompliantResourceCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of non-compliant resources detected by medium-risk rules.'."\n" + ."\n" + .'> Note: This value can be greater than the total number of resources in your account. Resources are counted based on each rule. For example, if a resource is evaluated as non-compliant by two rules, the value of this parameter increases by 2.', 'title' => '', 'example' => '6'], ], 'title' => '', 'example' => '', @@ -15857,34 +9446,10 @@ 'description' => 'The compliance summary by rule.', 'type' => 'object', 'properties' => [ - 'CompliantCount' => [ - 'description' => 'The number of compliant rules.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '5', - ], - 'NonCompliantCount' => [ - 'description' => 'The number of non-compliant rules.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '11', - ], - 'ComplianceSummaryTimestamp' => [ - 'description' => 'The timestamp when the compliance summary was generated. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1589853712165', - ], - 'TotalCount' => [ - 'description' => 'The total number of rules.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '16', - ], + 'CompliantCount' => ['description' => 'The number of compliant rules.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '5'], + 'NonCompliantCount' => ['description' => 'The number of non-compliant rules.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '11'], + 'ComplianceSummaryTimestamp' => ['description' => 'The timestamp when the compliance summary was generated. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1589853712165'], + 'TotalCount' => ['description' => 'The total number of rules.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '16'], ], 'title' => '', 'example' => '', @@ -15902,11 +9467,7 @@ ], 'errorCodes' => [ 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CAEE6F34-DEDC-4BAA-AA8C-946D5D008737\\",\\n \\"ComplianceSummary\\": {\\n \\"ComplianceSummaryByResource\\": {\\n \\"LowRiskRuleNonCompliantResourceCount\\": 2,\\n \\"NonCompliantCount\\": 12,\\n \\"ComplianceSummaryTimestamp\\": 1589853712165,\\n \\"TotalCount\\": 13,\\n \\"CompliantCount\\": 1,\\n \\"HighRiskRuleNonCompliantResourceCount\\": 2,\\n \\"MediumRiskRuleNonCompliantResourceCount\\": 6\\n },\\n \\"ComplianceSummaryByConfigRule\\": {\\n \\"CompliantCount\\": 5,\\n \\"NonCompliantCount\\": 11,\\n \\"ComplianceSummaryTimestamp\\": 1589853712165,\\n \\"TotalCount\\": 16\\n }\\n }\\n}","type":"json"}]', @@ -15915,12 +9476,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetComplianceSummary', - ], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetComplianceSummary'], ], ], 'ramActions' => [ @@ -15931,12 +9487,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -15944,14 +9495,8 @@ ], 'GetConfigDeliveryChannel' => [ 'summary' => 'Queries the details of a specified delivery channel.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15963,23 +9508,15 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigRIQA8M', - ], + 'abilityTreeNodes' => ['FEATUREconfigRIQA8M'], ], 'parameters' => [ [ 'name' => 'DeliveryChannelId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the delivery channel.'."\n" - ."\n" - .'For more information about how to obtain the ID of a delivery channel, see [ListConfigDeliveryChannels](~~429841~~).', - 'type' => 'string', - 'required' => true, - 'example' => 'cdc-d9106457e0d900b1****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the delivery channel.'."\n" + ."\n" + .'For more information about how to obtain the ID of a delivery channel, see [ListConfigDeliveryChannels](~~429841~~).', 'type' => 'string', 'required' => true, 'example' => 'cdc-d9106457e0d900b1****', 'title' => ''], ], ], 'responses' => [ @@ -15992,160 +9529,78 @@ 'description' => 'The information about the delivery channel.', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The status of the delivery channel. Valid values:'."\n" - ."\n" - .'- 0: The delivery channel is disabled.'."\n" - ."\n" - .'- 1: The delivery channel is enabled.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'DeliveryChannelId' => [ - 'description' => 'The ID of the delivery channel.', - 'type' => 'string', - 'example' => 'cdc-d9106457e0d900b1****', - 'title' => '', - ], - 'DeliveryChannelName' => [ - 'description' => 'The name of the delivery channel.', - 'type' => 'string', - 'example' => 'myDeliveryChannel', - 'title' => '', - ], - 'DeliveryChannelType' => [ - 'description' => 'The type of the delivery channel. Valid values:'."\n" - ."\n" - .'- OSS: Object Storage Service.'."\n" - ."\n" - .'- MNS: Simple Message Queue (formerly MNS).'."\n" - ."\n" - .'- SLS: Simple Log Service.', - 'type' => 'string', - 'example' => 'OSS', - 'title' => '', - ], - 'DeliveryChannelTargetArn' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the delivery destination.'."\n" - ."\n" - .'- If the DeliveryChannelType parameter is set to OSS, this parameter is the ARN of the destination OSS bucket.'."\n" - ."\n" - .'- If the DeliveryChannelType parameter is set to MNS, this parameter is the ARN of the destination MNS topic.'."\n" - ."\n" - .'- If the DeliveryChannelType parameter is set to SLS, this parameter is the ARN of the destination Simple Log Service Logstore.', - 'type' => 'string', - 'example' => 'acs:oss:cn-shanghai:120886317861****:new-bucket', - 'title' => '', - ], - 'DeliveryChannelAssumeRoleArn' => [ - 'description' => 'The ARN of the role that is assumed by the delivery channel.', - 'type' => 'string', - 'example' => 'acs:ram::120886317861****:role/aliyunserviceroleforconfig', - 'title' => '', - ], - 'DeliveryChannelCondition' => [ - 'description' => 'The rule that is attached to the delivery channel. This parameter is available only for delivery channels of the MNS type and for snapshot deliveries to delivery channels of the SLS type.'."\n" - ."\n" - .'- If you deliver data to an MNS topic, you can specify the lowest risk level of the events to subscribe to and the resource types to subscribe to.'."\n" - ."\n" - .' - The lowest risk level of the events to subscribe to: `{"filterType":"RuleRiskLevel","value":"1","multiple":false}`.'."\n" - ."\n" - .' The \\`value\\` parameter indicates the risk level. Valid values: 1 (high), 2 (medium), and 3 (low).'."\n" - ."\n" - .' - The resource types to subscribe to: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" - ."\n" - .' The \\`values\\` parameter indicates the resource types. The value is a JSON array.'."\n" - .' Example:'."\n" - .' `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n" - ."\n" - .'- If you deliver snapshots to an SLS Logstore, you can specify the resource types to deliver: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" - ."\n" - .' The \\`values\\` parameter indicates the resource types. The value is a JSON array.'."\n" - .' Example:'."\n" - .' `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`', - 'type' => 'string', - 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]', - 'title' => '', - ], - 'OversizedDataOSSTargetArn' => [ - 'description' => 'The ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the limit of the delivery channel.', - 'type' => 'string', - 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket', - 'title' => '', - ], - 'Description' => [ - 'description' => 'The description of the delivery channel.', - 'type' => 'string', - 'example' => 'My OSS delivery.', - 'title' => '', - ], - 'ConfigurationSnapshot' => [ - 'description' => 'Indicates whether to deliver scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots to OSS or SLS at `04:00Z` and `16:00Z` (UTC) every day. Valid values:'."\n" - ."\n" - .'- true: Deliver scheduled resource snapshots.'."\n" - ."\n" - .'- false: Do not deliver scheduled resource snapshots.', - 'type' => 'boolean', - 'example' => 'false', - 'title' => '', - ], - 'CompliantSnapshot' => [ - 'description' => 'Indicates whether to deliver compliance snapshots. Cloud Config delivers compliance and non-compliance information of resources to SLS. Valid values:'."\n" - ."\n" - .'- true: Deliver compliance snapshots.'."\n" - ."\n" - .'- false: Do not deliver compliance snapshots.', - 'type' => 'boolean', - 'example' => 'false', - 'title' => '', - ], - 'ConfigurationItemChangeNotification' => [ - 'description' => 'Indicates whether to deliver resource configuration changes. When the configuration of a resource changes, Cloud Config delivers the resource configuration changes to OSS, SLS, or MNS. Valid values:'."\n" - ."\n" - .'- true: Deliver resource configuration changes.'."\n" - ."\n" - .'- false: Do not deliver resource configuration changes.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'NonCompliantNotification' => [ - 'description' => 'Indicates whether to deliver resource non-compliance events. When a resource is evaluated as non-compliant, Cloud Config delivers the non-compliance events to SLS or MNS. Valid values:'."\n" - ."\n" - .'- true: Deliver resource non-compliance events.'."\n" - ."\n" - .'- false: Do not deliver resource non-compliance events.', - 'type' => 'boolean', - 'example' => 'false', - 'title' => '', - ], - 'AccountId' => [ - 'description' => 'The ID of the current Alibaba Cloud account.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '120886317861****', - 'title' => '', - ], - 'DeliverySnapshotTime' => [ - 'description' => 'The time when Cloud Config starts to deliver scheduled resource snapshots every day.'."\n" - ."\n" - .'The time is in the `HH:mmZ` format (UTC).', - 'type' => 'string', - 'example' => '09:10Z', - 'title' => '', - ], + 'Status' => ['description' => 'The status of the delivery channel. Valid values:'."\n" + ."\n" + .'- 0: The delivery channel is disabled.'."\n" + ."\n" + .'- 1: The delivery channel is enabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'DeliveryChannelId' => ['description' => 'The ID of the delivery channel.', 'type' => 'string', 'example' => 'cdc-d9106457e0d900b1****', 'title' => ''], + 'DeliveryChannelName' => ['description' => 'The name of the delivery channel.', 'type' => 'string', 'example' => 'myDeliveryChannel', 'title' => ''], + 'DeliveryChannelType' => ['description' => 'The type of the delivery channel. Valid values:'."\n" + ."\n" + .'- OSS: Object Storage Service.'."\n" + ."\n" + .'- MNS: Simple Message Queue (formerly MNS).'."\n" + ."\n" + .'- SLS: Simple Log Service.', 'type' => 'string', 'example' => 'OSS', 'title' => ''], + 'DeliveryChannelTargetArn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the delivery destination.'."\n" + ."\n" + .'- If the DeliveryChannelType parameter is set to OSS, this parameter is the ARN of the destination OSS bucket.'."\n" + ."\n" + .'- If the DeliveryChannelType parameter is set to MNS, this parameter is the ARN of the destination MNS topic.'."\n" + ."\n" + .'- If the DeliveryChannelType parameter is set to SLS, this parameter is the ARN of the destination Simple Log Service Logstore.', 'type' => 'string', 'example' => 'acs:oss:cn-shanghai:120886317861****:new-bucket', 'title' => ''], + 'DeliveryChannelAssumeRoleArn' => ['description' => 'The ARN of the role that is assumed by the delivery channel.', 'type' => 'string', 'example' => 'acs:ram::120886317861****:role/aliyunserviceroleforconfig', 'title' => ''], + 'DeliveryChannelCondition' => ['description' => 'The rule that is attached to the delivery channel. This parameter is available only for delivery channels of the MNS type and for snapshot deliveries to delivery channels of the SLS type.'."\n" + ."\n" + .'- If you deliver data to an MNS topic, you can specify the lowest risk level of the events to subscribe to and the resource types to subscribe to.'."\n" + ."\n" + .' - The lowest risk level of the events to subscribe to: `{"filterType":"RuleRiskLevel","value":"1","multiple":false}`.'."\n" + ."\n" + .' The \\`value\\` parameter indicates the risk level. Valid values: 1 (high), 2 (medium), and 3 (low).'."\n" + ."\n" + .' - The resource types to subscribe to: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" + ."\n" + .' The \\`values\\` parameter indicates the resource types. The value is a JSON array.'."\n" + .' Example:'."\n" + .' `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n" + ."\n" + .'- If you deliver snapshots to an SLS Logstore, you can specify the resource types to deliver: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" + ."\n" + .' The \\`values\\` parameter indicates the resource types. The value is a JSON array.'."\n" + .' Example:'."\n" + .' `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`', 'type' => 'string', 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]', 'title' => ''], + 'OversizedDataOSSTargetArn' => ['description' => 'The ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the limit of the delivery channel.', 'type' => 'string', 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket', 'title' => ''], + 'Description' => ['description' => 'The description of the delivery channel.', 'type' => 'string', 'example' => 'My OSS delivery.', 'title' => ''], + 'ConfigurationSnapshot' => ['description' => 'Indicates whether to deliver scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots to OSS or SLS at `04:00Z` and `16:00Z` (UTC) every day. Valid values:'."\n" + ."\n" + .'- true: Deliver scheduled resource snapshots.'."\n" + ."\n" + .'- false: Do not deliver scheduled resource snapshots.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'CompliantSnapshot' => ['description' => 'Indicates whether to deliver compliance snapshots. Cloud Config delivers compliance and non-compliance information of resources to SLS. Valid values:'."\n" + ."\n" + .'- true: Deliver compliance snapshots.'."\n" + ."\n" + .'- false: Do not deliver compliance snapshots.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ConfigurationItemChangeNotification' => ['description' => 'Indicates whether to deliver resource configuration changes. When the configuration of a resource changes, Cloud Config delivers the resource configuration changes to OSS, SLS, or MNS. Valid values:'."\n" + ."\n" + .'- true: Deliver resource configuration changes.'."\n" + ."\n" + .'- false: Do not deliver resource configuration changes.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'NonCompliantNotification' => ['description' => 'Indicates whether to deliver resource non-compliance events. When a resource is evaluated as non-compliant, Cloud Config delivers the non-compliance events to SLS or MNS. Valid values:'."\n" + ."\n" + .'- true: Deliver resource non-compliance events.'."\n" + ."\n" + .'- false: Do not deliver resource non-compliance events.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'AccountId' => ['description' => 'The ID of the current Alibaba Cloud account.', 'type' => 'integer', 'format' => 'int64', 'example' => '120886317861****', 'title' => ''], + 'DeliverySnapshotTime' => ['description' => 'The time when Cloud Config starts to deliver scheduled resource snapshots every day.'."\n" + ."\n" + .'The time is in the `HH:mmZ` format (UTC).', 'type' => 'string', 'example' => '09:10Z', 'title' => ''], ], 'title' => '', 'example' => '', ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487', 'title' => ''], ], 'title' => '', 'example' => '', @@ -16154,25 +9609,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'DeliveryChannelNotExists', - 'errorMessage' => 'The delivery channel does not exist.', - 'description' => 'The delivery channel does not exist.', - ], + ['errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => 'The delivery channel does not exist.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannel\\": {\\n \\"Status\\": 1,\\n \\"DeliveryChannelId\\": \\"cdc-d9106457e0d900b1****\\",\\n \\"DeliveryChannelName\\": \\"myDeliveryChannel\\",\\n \\"DeliveryChannelType\\": \\"OSS\\",\\n \\"DeliveryChannelTargetArn\\": \\"acs:oss:cn-shanghai:120886317861****:new-bucket\\",\\n \\"DeliveryChannelAssumeRoleArn\\": \\"acs:ram::120886317861****:role/aliyunserviceroleforconfig\\",\\n \\"DeliveryChannelCondition\\": \\"[{\\\\\\"filterType\\\\\\":\\\\\\"ResourceType\\\\\\",\\\\\\"values\\\\\\":[\\\\\\"ACS::ActionTrail::Trail\\\\\\",\\\\\\"ACS::CBWP::CommonBandwidthPackage\\\\\\",\\\\\\"ACS::CDN::Domain\\\\\\",\\\\\\"ACS::CEN::CenBandwidthPackage\\\\\\",\\\\\\"ACS::CEN::CenInstance\\\\\\",\\\\\\"ACS::CEN::Flowlog\\\\\\",\\\\\\"ACS::DdosCoo::Instance\\\\\\"],\\\\\\"multiple\\\\\\":true}]\\",\\n \\"OversizedDataOSSTargetArn\\": \\"acs:oss:cn-shanghai:100931896542****:new-bucket\\",\\n \\"Description\\": \\"My OSS delivery.\\",\\n \\"ConfigurationSnapshot\\": false,\\n \\"CompliantSnapshot\\": false,\\n \\"ConfigurationItemChangeNotification\\": true,\\n \\"NonCompliantNotification\\": false,\\n \\"AccountId\\": 0,\\n \\"DeliverySnapshotTime\\": \\"09:10Z\\"\\n },\\n \\"RequestId\\": \\"DC300244-FCE3-5061-8214-C27ECB668487\\"\\n}","type":"json"}]', @@ -16180,12 +9623,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'GetConfigDeliveryChannel', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetConfigDeliveryChannel'], ], ], 'ramActions' => [ @@ -16196,26 +9634,15 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Delivery', - 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}'], ], ], ], ], ], 'GetConfigRule' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16227,25 +9654,16 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigNPMEKB', - ], + 'abilityTreeNodes' => ['FEATUREconfigNPMEKB'], 'autoTest' => true, ], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule ID.'."\n" - ."\n" - .'For more information, see [ListConfigRules](~~169607~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'cr-7f7d626622af0041****', - ], + 'schema' => ['description' => 'The rule ID.'."\n" + ."\n" + .'For more information, see [ListConfigRules](~~169607~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cr-7f7d626622af0041****'], ], [ 'name' => 'Tag', @@ -16260,24 +9678,12 @@ 'description' => 'The tags of the resource.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key of the resource.'."\n" - ."\n" - .'You can add a maximum of 20 tag keys to a resource.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'key-1', - ], - 'Value' => [ - 'description' => 'The tag value of the resource.'."\n" - ."\n" - .'You can add a maximum of 20 tag values to a resource.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'value-1', - ], + 'Key' => ['description' => 'The tag key of the resource.'."\n" + ."\n" + .'You can add a maximum of 20 tag keys to a resource.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'key-1'], + 'Value' => ['description' => 'The tag value of the resource.'."\n" + ."\n" + .'You can add a maximum of 20 tag values to a resource.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'value-1'], ], 'required' => false, 'title' => '', @@ -16300,212 +9706,79 @@ 'description' => 'The details of the rule.', 'type' => 'object', 'properties' => [ - 'AccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the rule belongs.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '120886317861****', - ], + 'AccountId' => ['description' => 'The ID of the Alibaba Cloud account to which the rule belongs.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '120886317861****'], 'Compliance' => [ 'description' => 'The compliance statistics of the rule.', 'type' => 'object', 'properties' => [ - 'ComplianceType' => [ - 'description' => 'The compliance evaluation result. Valid values:'."\n" - ."\n" - .'- COMPLIANT: The resource is compliant.'."\n" - ."\n" - .'- NON\\_COMPLIANT: The resource is non-compliant.'."\n" - ."\n" - .'- NOT\\_APPLICABLE: The rule does not apply to the resource.'."\n" - ."\n" - .'- INSUFFICIENT\\_DATA: No data is available.', - 'type' => 'string', - 'title' => '', - 'example' => 'NON_COMPLIANT', - ], - 'Count' => [ - 'description' => 'The number of resources that are evaluated based on the compliance result.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '3', - ], + 'ComplianceType' => ['description' => 'The compliance evaluation result. Valid values:'."\n" + ."\n" + .'- COMPLIANT: The resource is compliant.'."\n" + ."\n" + .'- NON\\_COMPLIANT: The resource is non-compliant.'."\n" + ."\n" + .'- NOT\\_APPLICABLE: The rule does not apply to the resource.'."\n" + ."\n" + .'- INSUFFICIENT\\_DATA: No data is available.', 'type' => 'string', 'title' => '', 'example' => 'NON_COMPLIANT'], + 'Count' => ['description' => 'The number of resources that are evaluated based on the compliance result.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '3'], ], 'title' => '', 'example' => '', ], - 'ConfigRuleArn' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'acs:config::100931896542****:rule/cr-7f7d626622af0041****', - ], + 'ConfigRuleArn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the rule.', 'type' => 'string', 'title' => '', 'example' => 'acs:config::100931896542****:rule/cr-7f7d626622af0041****'], 'ConfigRuleEvaluationStatus' => [ 'description' => 'The execution status of the rule.', 'type' => 'object', 'properties' => [ - 'FirstActivatedTimestamp' => [ - 'description' => 'The timestamp when the rule was first activated. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1624932221993', - ], - 'FirstEvaluationStarted' => [ - 'description' => 'Indicates whether the rule has been evaluated. Valid values:'."\n" - ."\n" - .'- true: The rule has been evaluated.'."\n" - ."\n" - .'- false: The rule has not been evaluated.', - 'type' => 'boolean', - 'title' => '', - 'example' => 'true', - ], - 'LastErrorCode' => [ - 'description' => 'The error code returned for the last failed execution of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'TimeOut', - ], - 'LastErrorMessage' => [ - 'description' => 'The error message returned for the last failed execution of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'Time out', - ], - 'LastFailedEvaluationTimestamp' => [ - 'description' => 'The timestamp when the last failed evaluation of the rule ended. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1614687022000', - ], - 'LastFailedInvocationTimestamp' => [ - 'description' => 'The timestamp when the last failed invocation of the rule started. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1614687022000', - ], - 'LastSuccessfulEvaluationTimestamp' => [ - 'description' => 'The timestamp when the last successful evaluation of the rule ended. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1624932227486', - ], - 'LastSuccessfulInvocationTimestamp' => [ - 'description' => 'The timestamp when the last successful invocation of the rule started. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1624932227476', - ], + 'FirstActivatedTimestamp' => ['description' => 'The timestamp when the rule was first activated. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1624932221993'], + 'FirstEvaluationStarted' => ['description' => 'Indicates whether the rule has been evaluated. Valid values:'."\n" + ."\n" + .'- true: The rule has been evaluated.'."\n" + ."\n" + .'- false: The rule has not been evaluated.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'LastErrorCode' => ['description' => 'The error code returned for the last failed execution of the rule.', 'type' => 'string', 'title' => '', 'example' => 'TimeOut'], + 'LastErrorMessage' => ['description' => 'The error message returned for the last failed execution of the rule.', 'type' => 'string', 'title' => '', 'example' => 'Time out'], + 'LastFailedEvaluationTimestamp' => ['description' => 'The timestamp when the last failed evaluation of the rule ended. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1614687022000'], + 'LastFailedInvocationTimestamp' => ['description' => 'The timestamp when the last failed invocation of the rule started. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1614687022000'], + 'LastSuccessfulEvaluationTimestamp' => ['description' => 'The timestamp when the last successful evaluation of the rule ended. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1624932227486'], + 'LastSuccessfulInvocationTimestamp' => ['description' => 'The timestamp when the last successful invocation of the rule started. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1624932227476'], ], 'title' => '', 'example' => '', ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'cr-7f7d626622af0041****', - ], - 'ConfigRuleName' => [ - 'description' => 'The rule name.', - 'type' => 'string', - 'title' => '', - 'example' => 'RAM用户开启MFA', - ], - 'ConfigRuleState' => [ - 'description' => 'The status of the rule. Valid values:'."\n" - ."\n" - .'- ACTIVE: The rule is enabled.'."\n" - ."\n" - .'- DELETING: The rule is being deleted.'."\n" - ."\n" - .'- EVALUATING: The rule is being used to evaluate resource configurations.'."\n" - ."\n" - .'- INACTIVE: The rule is disabled.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACTIVE', - ], - 'ConfigRuleTriggerTypes' => [ - 'description' => 'The trigger type of the rule. Valid values:'."\n" - ."\n" - .'- ConfigurationItemChangeNotification: The rule is triggered by configuration changes.'."\n" - ."\n" - .'- ScheduledNotification: The rule is triggered periodically.', - 'type' => 'string', - 'title' => '', - 'example' => 'ConfigurationItemChangeNotification', - ], + 'ConfigRuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'title' => '', 'example' => 'cr-7f7d626622af0041****'], + 'ConfigRuleName' => ['description' => 'The rule name.', 'type' => 'string', 'title' => '', 'example' => 'RAM用户开启MFA'], + 'ConfigRuleState' => ['description' => 'The status of the rule. Valid values:'."\n" + ."\n" + .'- ACTIVE: The rule is enabled.'."\n" + ."\n" + .'- DELETING: The rule is being deleted.'."\n" + ."\n" + .'- EVALUATING: The rule is being used to evaluate resource configurations.'."\n" + ."\n" + .'- INACTIVE: The rule is disabled.', 'type' => 'string', 'title' => '', 'example' => 'ACTIVE'], + 'ConfigRuleTriggerTypes' => ['description' => 'The trigger type of the rule. Valid values:'."\n" + ."\n" + .'- ConfigurationItemChangeNotification: The rule is triggered by configuration changes.'."\n" + ."\n" + .'- ScheduledNotification: The rule is triggered periodically.', 'type' => 'string', 'title' => '', 'example' => 'ConfigurationItemChangeNotification'], 'CreateBy' => [ 'description' => 'The information about the creator of the rule.', 'type' => 'object', 'properties' => [ - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance package.', - 'type' => 'string', - 'title' => '', - 'example' => 'cp-541e626622af008****', - ], - 'CompliancePackName' => [ - 'description' => 'The name of the compliance package.', - 'type' => 'string', - 'title' => '', - 'example' => 'OSS合规基线', - ], - 'CreatorId' => [ - 'description' => 'The ID of the Alibaba Cloud account that was used to create the rule.', - 'type' => 'string', - 'title' => '', - 'example' => '100931896542****', - ], - 'CreatorName' => [ - 'description' => 'The name of the creator.', - 'type' => 'string', - 'title' => '', - 'example' => 'Alice', - ], + 'CompliancePackId' => ['description' => 'The ID of the compliance package.', 'type' => 'string', 'title' => '', 'example' => 'cp-541e626622af008****'], + 'CompliancePackName' => ['description' => 'The name of the compliance package.', 'type' => 'string', 'title' => '', 'example' => 'OSS合规基线'], + 'CreatorId' => ['description' => 'The ID of the Alibaba Cloud account that was used to create the rule.', 'type' => 'string', 'title' => '', 'example' => '100931896542****'], + 'CreatorName' => ['description' => 'The name of the creator.', 'type' => 'string', 'title' => '', 'example' => 'Alice'], ], 'title' => '', 'example' => '', ], - 'CreateTimestamp' => [ - 'description' => 'The timestamp when the rule was created. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1604684022000', - ], - 'Description' => [ - 'description' => 'The description of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'RAM用户开启MFA,视为“合规”。', - ], - 'ExcludeRegionIdsScope' => [ - 'description' => 'The IDs of the regions where the rule does not apply. The rule does not evaluate resources in these regions. Separate multiple region IDs with a comma (,).', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-hangzhou', - ], - 'ExcludeResourceGroupIdsScope' => [ - 'description' => 'The IDs of the resource groups where the rule does not apply. The rule does not evaluate resources in these resource groups. Separate multiple resource group IDs with a comma (,).', - 'type' => 'string', - 'title' => '', - 'example' => 'rg-aekzdibsjjc****', - ], - 'ExcludeResourceIdsScope' => [ - 'description' => 'The IDs of the resources that are not evaluated by the rule. Separate multiple resource IDs with a comma (,).', - 'type' => 'string', - 'title' => '', - 'example' => '23642660635687****', - ], + 'CreateTimestamp' => ['description' => 'The timestamp when the rule was created. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1604684022000'], + 'Description' => ['description' => 'The description of the rule.', 'type' => 'string', 'title' => '', 'example' => 'RAM用户开启MFA,视为“合规”。'], + 'ExcludeRegionIdsScope' => ['description' => 'The IDs of the regions where the rule does not apply. The rule does not evaluate resources in these regions. Separate multiple region IDs with a comma (,).', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], + 'ExcludeResourceGroupIdsScope' => ['description' => 'The IDs of the resource groups where the rule does not apply. The rule does not evaluate resources in these resource groups. Separate multiple resource group IDs with a comma (,).', 'type' => 'string', 'title' => '', 'example' => 'rg-aekzdibsjjc****'], + 'ExcludeResourceIdsScope' => ['description' => 'The IDs of the resources that are not evaluated by the rule. Separate multiple resource IDs with a comma (,).', 'type' => 'string', 'title' => '', 'example' => '23642660635687****'], 'ExcludeTagsScope' => [ 'description' => 'The tags of the resources that are not evaluated by the rule.', 'type' => 'array', @@ -16513,18 +9786,8 @@ 'description' => 'The tags of the resources that are not evaluated by the rule.', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'title' => '', - 'example' => 'key-2', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'title' => '', - 'example' => 'value-2', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'key-2'], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'value-2'], ], 'title' => '', 'example' => '', @@ -16532,58 +9795,23 @@ 'title' => '', 'example' => '', ], - 'InputParameters' => [ - 'description' => 'The input parameters of the rule.', - 'type' => 'object', - 'title' => '', - 'example' => '', - ], + 'InputParameters' => ['description' => 'The input parameters of the rule.', 'type' => 'object', 'title' => '', 'example' => ''], 'ManagedRule' => [ 'description' => 'The details of the managed rule.', 'type' => 'object', 'properties' => [ - 'CompulsoryInputParameterDetails' => [ - 'description' => 'The details of the required input parameters of the managed rule.', - 'type' => 'object', - 'title' => '', - 'example' => '{}', - ], - 'Description' => [ - 'description' => 'The description of the managed rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'ECS磁盘未因欠费或安全等原因而被锁定,视为“合规”。', - ], - 'Identifier' => [ - 'description' => 'The identifier of the managed rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'ram-user-mfa-check', - ], + 'CompulsoryInputParameterDetails' => ['description' => 'The details of the required input parameters of the managed rule.', 'type' => 'object', 'title' => '', 'example' => '{}'], + 'Description' => ['description' => 'The description of the managed rule.', 'type' => 'string', 'title' => '', 'example' => 'ECS磁盘未因欠费或安全等原因而被锁定,视为“合规”。'], + 'Identifier' => ['description' => 'The identifier of the managed rule.', 'type' => 'string', 'title' => '', 'example' => 'ram-user-mfa-check'], 'Labels' => [ 'description' => 'The list of rule labels.', 'type' => 'array', - 'items' => [ - 'description' => 'The label of the managed rule.', - 'type' => 'string', - 'title' => '', - 'example' => '["RAM","User"]', - ], + 'items' => ['description' => 'The label of the managed rule.', 'type' => 'string', 'title' => '', 'example' => '["RAM","User"]'], 'title' => '', 'example' => '', ], - 'ManagedRuleName' => [ - 'description' => 'The name of the managed rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'RAM用户开启MFA', - ], - 'OptionalInputParameterDetails' => [ - 'description' => 'The details of the optional input parameters of the managed rule.', - 'type' => 'object', - 'title' => '', - 'example' => '{}', - ], + 'ManagedRuleName' => ['description' => 'The name of the managed rule.', 'type' => 'string', 'title' => '', 'example' => 'RAM用户开启MFA'], + 'OptionalInputParameterDetails' => ['description' => 'The details of the optional input parameters of the managed rule.', 'type' => 'object', 'title' => '', 'example' => '{}'], 'SourceDetails' => [ 'description' => 'The source details of the managed rule.', 'type' => 'array', @@ -16591,42 +9819,27 @@ 'description' => 'The source details of the managed rule.', 'type' => 'object', 'properties' => [ - 'EventSource' => [ - 'description' => 'The event source.'."\n" - ."\n" - .'> Only Cloud Config events are supported. The value is aliyun.config.', - 'type' => 'string', - 'title' => '', - 'example' => 'aliyun.config', - ], - 'MaximumExecutionFrequency' => [ - 'description' => 'The execution frequency of the rule. Valid values:'."\n" - ."\n" - .'- One\\_Hour: 1 hour.'."\n" - ."\n" - .'- Three\\_Hours: 3 hours.'."\n" - ."\n" - .'- Six\\_Hours: 6 hours.'."\n" - ."\n" - .'- Twelve\\_Hours: 12 hours.'."\n" - ."\n" - .'- TwentyFour\\_Hours: 24 hours.'."\n" - ."\n" - .'> This parameter is returned only when the rule is triggered periodically.', - 'type' => 'string', - 'title' => '', - 'example' => 'One_Hour', - ], - 'MessageType' => [ - 'description' => 'The trigger type of the rule. Valid values:'."\n" - ."\n" - .'- ConfigurationItemChangeNotification: The rule is triggered by configuration changes.'."\n" - ."\n" - .'- ScheduledNotification: The rule is triggered periodically.', - 'type' => 'string', - 'title' => '', - 'example' => 'ConfigurationItemChangeNotification', - ], + 'EventSource' => ['description' => 'The event source.'."\n" + ."\n" + .'> Only Cloud Config events are supported. The value is aliyun.config.', 'type' => 'string', 'title' => '', 'example' => 'aliyun.config'], + 'MaximumExecutionFrequency' => ['description' => 'The execution frequency of the rule. Valid values:'."\n" + ."\n" + .'- One\\_Hour: 1 hour.'."\n" + ."\n" + .'- Three\\_Hours: 3 hours.'."\n" + ."\n" + .'- Six\\_Hours: 6 hours.'."\n" + ."\n" + .'- Twelve\\_Hours: 12 hours.'."\n" + ."\n" + .'- TwentyFour\\_Hours: 24 hours.'."\n" + ."\n" + .'> This parameter is returned only when the rule is triggered periodically.', 'type' => 'string', 'title' => '', 'example' => 'One_Hour'], + 'MessageType' => ['description' => 'The trigger type of the rule. Valid values:'."\n" + ."\n" + .'- ConfigurationItemChangeNotification: The rule is triggered by configuration changes.'."\n" + ."\n" + .'- ScheduledNotification: The rule is triggered periodically.', 'type' => 'string', 'title' => '', 'example' => 'ConfigurationItemChangeNotification'], ], 'title' => '', 'example' => '', @@ -16638,68 +9851,31 @@ 'title' => '', 'example' => '', ], - 'MaximumExecutionFrequency' => [ - 'description' => 'The execution frequency of the rule. Valid values:'."\n" - ."\n" - .'- One\\_Hour: 1 hour.'."\n" - ."\n" - .'- Three\\_Hours: 3 hours.'."\n" - ."\n" - .'- Six\\_Hours: 6 hours.'."\n" - ."\n" - .'- Twelve\\_Hours: 12 hours.'."\n" - ."\n" - .'- TwentyFour\\_Hours: 24 hours.'."\n" - ."\n" - .'> This parameter is returned only when the rule is triggered periodically.', - 'type' => 'string', - 'title' => '', - 'example' => 'One_Hour', - ], - 'ModifiedTimestamp' => [ - 'description' => 'The timestamp when the rule was last updated. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1614687022000', - ], - 'RegionIdsScope' => [ - 'description' => 'The IDs of the regions where the rule applies. The rule evaluates only resources in these regions.', - 'type' => 'string', - 'title' => '', - 'example' => 'global', - ], - 'ResourceGroupIdsScope' => [ - 'description' => 'The IDs of the resource groups where the rule applies. The rule evaluates only resources in these resource groups.', - 'type' => 'string', - 'title' => '', - 'example' => 'rg-aekzdibsjjc****', - ], - 'ResourceIdsScope' => [ - 'description' => 'The IDs of the resources that are evaluated by the rule. Separate multiple resource IDs with a comma (,).', - 'type' => 'string', - 'title' => '', - 'example' => 'eip-8vbf3x310fn56ijfd****'."\n", - ], - 'ResourceTypesScope' => [ - 'description' => 'The types of the resources that are evaluated by the rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS::RAM::User', - ], - 'RiskLevel' => [ - 'description' => 'The risk level of the rule. Valid values:'."\n" - ."\n" - .'- 1: high'."\n" - ."\n" - .'- 2: medium'."\n" - ."\n" - .'- 3: low', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], + 'MaximumExecutionFrequency' => ['description' => 'The execution frequency of the rule. Valid values:'."\n" + ."\n" + .'- One\\_Hour: 1 hour.'."\n" + ."\n" + .'- Three\\_Hours: 3 hours.'."\n" + ."\n" + .'- Six\\_Hours: 6 hours.'."\n" + ."\n" + .'- Twelve\\_Hours: 12 hours.'."\n" + ."\n" + .'- TwentyFour\\_Hours: 24 hours.'."\n" + ."\n" + .'> This parameter is returned only when the rule is triggered periodically.', 'type' => 'string', 'title' => '', 'example' => 'One_Hour'], + 'ModifiedTimestamp' => ['description' => 'The timestamp when the rule was last updated. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1614687022000'], + 'RegionIdsScope' => ['description' => 'The IDs of the regions where the rule applies. The rule evaluates only resources in these regions.', 'type' => 'string', 'title' => '', 'example' => 'global'], + 'ResourceGroupIdsScope' => ['description' => 'The IDs of the resource groups where the rule applies. The rule evaluates only resources in these resource groups.', 'type' => 'string', 'title' => '', 'example' => 'rg-aekzdibsjjc****'], + 'ResourceIdsScope' => ['description' => 'The IDs of the resources that are evaluated by the rule. Separate multiple resource IDs with a comma (,).', 'type' => 'string', 'title' => '', 'example' => 'eip-8vbf3x310fn56ijfd****'."\n"], + 'ResourceTypesScope' => ['description' => 'The types of the resources that are evaluated by the rule.', 'type' => 'string', 'title' => '', 'example' => 'ACS::RAM::User'], + 'RiskLevel' => ['description' => 'The risk level of the rule. Valid values:'."\n" + ."\n" + .'- 1: high'."\n" + ."\n" + .'- 2: medium'."\n" + ."\n" + .'- 3: low', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], 'Scope' => [ 'description' => 'The effective scope of the rule.', 'type' => 'object', @@ -16707,12 +9883,7 @@ 'ComplianceResourceTypes' => [ 'description' => 'The list of resource types that are evaluated by the rule. You can also view this information in the ResourceTypesScope field.', 'type' => 'array', - 'items' => [ - 'description' => 'The type of the resource that is evaluated by the rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS::RAM::User', - ], + 'items' => ['description' => 'The type of the resource that is evaluated by the rule.', 'type' => 'string', 'title' => '', 'example' => 'ACS::RAM::User'], 'title' => '', 'example' => '', ], @@ -16724,26 +9895,16 @@ 'description' => 'The source of the rule.', 'type' => 'object', 'properties' => [ - 'Identifier' => [ - 'description' => 'The identifier of the rule.'."\n" - ."\n" - .'- If the rule is a managed rule, the value of this parameter is the identifier of the managed rule.'."\n" - ."\n" - .'- If the rule is a custom rule, the value of this parameter is the ARN of the function.', - 'type' => 'string', - 'title' => '', - 'example' => 'acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/specific-config', - ], - 'Owner' => [ - 'description' => 'The owner of the rule. Valid values:'."\n" - ."\n" - .'- CUSTOM\\_FC: a custom rule.'."\n" - ."\n" - .'- ALIYUN: a managed rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'ALIYUN', - ], + 'Identifier' => ['description' => 'The identifier of the rule.'."\n" + ."\n" + .'- If the rule is a managed rule, the value of this parameter is the identifier of the managed rule.'."\n" + ."\n" + .'- If the rule is a custom rule, the value of this parameter is the ARN of the function.', 'type' => 'string', 'title' => '', 'example' => 'acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/specific-config'], + 'Owner' => ['description' => 'The owner of the rule. Valid values:'."\n" + ."\n" + .'- CUSTOM\\_FC: a custom rule.'."\n" + ."\n" + .'- ALIYUN: a managed rule.', 'type' => 'string', 'title' => '', 'example' => 'ALIYUN'], 'SourceDetails' => [ 'description' => 'The source details.', 'type' => 'array', @@ -16751,42 +9912,27 @@ 'description' => 'The source details.', 'type' => 'object', 'properties' => [ - 'EventSource' => [ - 'description' => 'The event source.'."\n" - ."\n" - .'> Only Cloud Config events are supported. The value is aliyun.config.', - 'type' => 'string', - 'title' => '', - 'example' => 'aliyun.config', - ], - 'MaximumExecutionFrequency' => [ - 'description' => 'The execution frequency of the rule. Valid values:'."\n" - ."\n" - .'- One\\_Hour: 1 hour.'."\n" - ."\n" - .'- Three\\_Hours: 3 hours.'."\n" - ."\n" - .'- Six\\_Hours: 6 hours.'."\n" - ."\n" - .'- Twelve\\_Hours: 12 hours.'."\n" - ."\n" - .'- TwentyFour\\_Hours: 24 hours.'."\n" - ."\n" - .'> This parameter is returned only when the rule is triggered periodically.', - 'type' => 'string', - 'title' => '', - 'example' => 'One_Hour', - ], - 'MessageType' => [ - 'description' => 'The trigger type of the rule. Valid values:'."\n" - ."\n" - .'- ConfigurationItemChangeNotification: The rule is triggered by configuration changes.'."\n" - ."\n" - .'- ScheduledNotification: The rule is triggered periodically.', - 'type' => 'string', - 'title' => '', - 'example' => 'ConfigurationItemChangeNotification', - ], + 'EventSource' => ['description' => 'The event source.'."\n" + ."\n" + .'> Only Cloud Config events are supported. The value is aliyun.config.', 'type' => 'string', 'title' => '', 'example' => 'aliyun.config'], + 'MaximumExecutionFrequency' => ['description' => 'The execution frequency of the rule. Valid values:'."\n" + ."\n" + .'- One\\_Hour: 1 hour.'."\n" + ."\n" + .'- Three\\_Hours: 3 hours.'."\n" + ."\n" + .'- Six\\_Hours: 6 hours.'."\n" + ."\n" + .'- Twelve\\_Hours: 12 hours.'."\n" + ."\n" + .'- TwentyFour\\_Hours: 24 hours.'."\n" + ."\n" + .'> This parameter is returned only when the rule is triggered periodically.', 'type' => 'string', 'title' => '', 'example' => 'One_Hour'], + 'MessageType' => ['description' => 'The trigger type of the rule. Valid values:'."\n" + ."\n" + .'- ConfigurationItemChangeNotification: The rule is triggered by configuration changes.'."\n" + ."\n" + .'- ScheduledNotification: The rule is triggered periodically.', 'type' => 'string', 'title' => '', 'example' => 'ConfigurationItemChangeNotification'], ], 'title' => '', 'example' => '', @@ -16798,43 +9944,25 @@ 'title' => '', 'example' => '', ], - 'TagKeyLogicScope' => [ - 'description' => 'This parameter is not returned for rules that are created using the `TagsScope` parameter.'."\n" - ."\n" - .'This parameter is returned for rules that are created using the deprecated TagKeyScope parameter. We do not recommend that you use the `TagKeyScope` parameter. For example, if `TagKeyScope` is set to `ECS,OSS` and this parameter is set to `AND`, the rule applies only to resources that have both the `ECS` and `OSS` tags.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'- AND'."\n" - ."\n" - .'- OR', - 'type' => 'string', - 'deprecated' => false, - 'title' => '', - 'example' => 'OR', - ], - 'TagKeyScope' => [ - 'description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" - ."\n" - .'The rule applies only to resources with the specified tag.'."\n" - ."\n" - .'> The `TagKeyScope` and `TagValueScope` parameters are returned at the same time.', - 'type' => 'string', - 'deprecated' => true, - 'title' => '', - 'example' => 'RAM', - ], - 'TagValueScope' => [ - 'description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" - ."\n" - .'The rule applies only to resources with the specified tag.'."\n" - ."\n" - .'> The `TagKeyScope` and `TagValueScope` parameters are returned at the same time.', - 'type' => 'string', - 'deprecated' => true, - 'title' => '', - 'example' => 'MFA', - ], + 'TagKeyLogicScope' => ['description' => 'This parameter is not returned for rules that are created using the `TagsScope` parameter.'."\n" + ."\n" + .'This parameter is returned for rules that are created using the deprecated TagKeyScope parameter. We do not recommend that you use the `TagKeyScope` parameter. For example, if `TagKeyScope` is set to `ECS,OSS` and this parameter is set to `AND`, the rule applies only to resources that have both the `ECS` and `OSS` tags.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- AND'."\n" + ."\n" + .'- OR', 'type' => 'string', 'deprecated' => false, 'title' => '', 'example' => 'OR'], + 'TagKeyScope' => ['description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" + ."\n" + .'The rule applies only to resources with the specified tag.'."\n" + ."\n" + .'> The `TagKeyScope` and `TagValueScope` parameters are returned at the same time.', 'type' => 'string', 'deprecated' => true, 'title' => '', 'example' => 'RAM'], + 'TagValueScope' => ['description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" + ."\n" + .'The rule applies only to resources with the specified tag.'."\n" + ."\n" + .'> The `TagKeyScope` and `TagValueScope` parameters are returned at the same time.', 'type' => 'string', 'deprecated' => true, 'title' => '', 'example' => 'MFA'], 'TagsScope' => [ 'description' => 'The tag-based scope.', 'type' => 'array', @@ -16842,18 +9970,8 @@ 'description' => 'The tags that define the scope.', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'title' => '', - 'example' => 'key-1', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'title' => '', - 'example' => 'value-1', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'key-1'], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'value-1'], ], 'title' => '', 'example' => '', @@ -16868,18 +9986,8 @@ 'description' => 'The tags of the resource.', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'title' => '', - 'example' => 'key-1', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'title' => '', - 'example' => 'value-1', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'key-1'], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'value-1'], ], 'title' => '', 'example' => '', @@ -16887,28 +9995,13 @@ 'title' => '', 'example' => '', ], - 'ResourceNameScope' => [ - 'description' => 'The rule evaluates only resources that have the specified names.', - 'type' => 'string', - 'title' => '', - 'example' => 'i-xxx', - ], - 'ExtendContent' => [ - 'description' => 'The extended content. This parameter is used only to specify the trigger time for a rule that is triggered on a 24-hour cycle.', - 'type' => 'string', - 'title' => '', - 'example' => '{"fixedHour":"12"}', - ], + 'ResourceNameScope' => ['description' => 'The rule evaluates only resources that have the specified names.', 'type' => 'string', 'title' => '', 'example' => 'i-xxx'], + 'ExtendContent' => ['description' => 'The extended content. This parameter is used only to specify the trigger time for a rule that is triggered on a 24-hour cycle.', 'type' => 'string', 'title' => '', 'example' => '{"fixedHour":"12"}'], ], 'title' => '', 'example' => '', ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '811234F4-C3AB-4D15-B90B-F55016D1B5AA', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '811234F4-C3AB-4D15-B90B-F55016D1B5AA'], ], 'description' => '', 'title' => '', @@ -16918,35 +10011,17 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConfigRuleNotExists', - 'errorMessage' => 'The ConfigRule does not exist.', - 'description' => 'The rule does not exist.', - ], - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], + ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => 'The rule does not exist.'], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'GetConfigRule', 'summary' => 'Queries the details of a specified rule.', 'description' => 'This topic provides an example of how to query the details of the rule `cr-7f7d626622af0041****`.', @@ -16954,12 +10029,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'GetConfigRule', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetConfigRule'], ], ], 'ramActions' => [ @@ -16970,12 +10040,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Rule', - 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}'], ], ], ], @@ -16984,13 +10049,8 @@ ], 'GetConfigRuleComplianceByPack' => [ 'summary' => 'Queries the compliance statistics for rules in a specified compliance package.', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17002,24 +10062,15 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance package.'."\n" - ."\n" - .'For more information about how to obtain the compliance package ID, see [ListCompliancePacks](~~263332~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'cp-541e626622af0087****', - ], + 'schema' => ['description' => 'The ID of the compliance package.'."\n" + ."\n" + .'For more information about how to obtain the compliance package ID, see [ListCompliancePacks](~~263332~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cp-541e626622af0087****'], ], ], 'responses' => [ @@ -17028,29 +10079,13 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'], 'ConfigRuleComplianceResult' => [ 'description' => 'The compliance results for the rules in the compliance package.', 'type' => 'object', 'properties' => [ - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance package.', - 'type' => 'string', - 'title' => '', - 'example' => 'cp-541e626622af0087****', - ], - 'InsufficientDataCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The total number of rules within the compliance package whose evaluation results are "No Data" when assessing resources.', - 'title' => '', - 'example' => '1', - ], + 'CompliancePackId' => ['description' => 'The ID of the compliance package.', 'type' => 'string', 'title' => '', 'example' => 'cp-541e626622af0087****'], + 'InsufficientDataCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of rules within the compliance package whose evaluation results are "No Data" when assessing resources.', 'title' => '', 'example' => '1'], 'ConfigRuleCompliances' => [ 'description' => 'The list of rules in the compliance package and their compliance results.', 'type' => 'array', @@ -17058,32 +10093,17 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'ComplianceType' => [ - 'description' => 'The compliance evaluation result of the rule. Valid values:'."\n" - ."\n" - .'- COMPLIANT: The rule is compliant.'."\n" - ."\n" - .'- NON\\_COMPLIANT: The rule is non-compliant.'."\n" - ."\n" - .'- NOT\\_APPLICABLE: The rule is not applicable.'."\n" - ."\n" - .'- INSUFFICIENT\\_DATA: No data is available.', - 'type' => 'string', - 'title' => '', - 'example' => 'COMPLIANT', - ], - 'ConfigRuleName' => [ - 'description' => 'The name of the rule in the compliance package.', - 'type' => 'string', - 'title' => '', - 'example' => 'The bandwidth of the Elastic IP instance meets the minimum requirements.', - ], - 'ConfigRuleId' => [ - 'description' => 'The ID of the rule in the compliance package.', - 'type' => 'string', - 'title' => '', - 'example' => 'cr-fdc8626622af00f9****', - ], + 'ComplianceType' => ['description' => 'The compliance evaluation result of the rule. Valid values:'."\n" + ."\n" + .'- COMPLIANT: The rule is compliant.'."\n" + ."\n" + .'- NON\\_COMPLIANT: The rule is non-compliant.'."\n" + ."\n" + .'- NOT\\_APPLICABLE: The rule is not applicable.'."\n" + ."\n" + .'- INSUFFICIENT\\_DATA: No data is available.', 'type' => 'string', 'title' => '', 'example' => 'COMPLIANT'], + 'ConfigRuleName' => ['description' => 'The name of the rule in the compliance package.', 'type' => 'string', 'title' => '', 'example' => 'The bandwidth of the Elastic IP instance meets the minimum requirements.'], + 'ConfigRuleId' => ['description' => 'The ID of the rule in the compliance package.', 'type' => 'string', 'title' => '', 'example' => 'cr-fdc8626622af00f9****'], ], 'title' => '', 'example' => '', @@ -17091,41 +10111,11 @@ 'title' => '', 'example' => '', ], - 'TotalCount' => [ - 'description' => 'The total number of rules in the compliance package.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], - 'NonCompliantCount' => [ - 'description' => 'The number of non-compliant rules.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '0', - ], - 'NotApplicableCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The number of rules that are not applicable.', - 'title' => '', - 'example' => '1', - ], - 'IgnoredCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The number of ignored rules.', - 'title' => '', - 'example' => '1', - ], - 'CompliantCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The number of compliant rules.', - 'title' => '', - 'example' => '0', - ], + 'TotalCount' => ['description' => 'The total number of rules in the compliance package.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'NonCompliantCount' => ['description' => 'The number of non-compliant rules.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'NotApplicableCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of rules that are not applicable.', 'title' => '', 'example' => '1'], + 'IgnoredCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of ignored rules.', 'title' => '', 'example' => '1'], + 'CompliantCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of compliant rules.', 'title' => '', 'example' => '0'], ], 'title' => '', 'example' => '', @@ -17138,25 +10128,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.CompliancePackId.Value', - 'errorMessage' => 'The specified CompliancePackId does not exist.', - 'description' => 'The specified compliance pack ID does not exist.', - ], + ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => 'The specified compliance pack ID does not exist.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"ConfigRuleComplianceResult\\": {\\n \\"CompliancePackId\\": \\"cp-541e626622af0087****\\",\\n \\"InsufficientDataCount\\": 1,\\n \\"ConfigRuleCompliances\\": [\\n {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"ConfigRuleName\\": \\"The bandwidth of the Elastic IP instance meets the minimum requirements.\\",\\n \\"ConfigRuleId\\": \\"cr-fdc8626622af00f9****\\"\\n }\\n ],\\n \\"TotalCount\\": 1,\\n \\"NonCompliantCount\\": 0,\\n \\"NotApplicableCount\\": 1,\\n \\"IgnoredCount\\": 1,\\n \\"CompliantCount\\": 0\\n }\\n}","type":"json"}]', @@ -17166,12 +10144,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '600', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetConfigRuleComplianceByPack', - ], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetConfigRuleComplianceByPack'], ], ], 'ramActions' => [ @@ -17182,26 +10155,15 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'CompliancePack', - 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'], ], ], ], ], ], 'GetConfigRuleSummaryByRiskLevel' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17212,9 +10174,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], @@ -17229,33 +10189,15 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'CompliantCount' => [ - 'description' => 'The number of rules against which specific resources are evaluated as compliant.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - 'title' => '', - ], - 'NonCompliantCount' => [ - 'description' => 'The number of rules against which specific resources are evaluated as non-compliant.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'RiskLevel' => [ - 'description' => 'The risk level of the resources that are not compliant with the rules. Valid values:'."\n" - ."\n" - .'- 1: high risk level.'."\n" - ."\n" - .'- 2: medium risk level.'."\n" - ."\n" - .'- 3: low risk level.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], + 'CompliantCount' => ['description' => 'The number of rules against which specific resources are evaluated as compliant.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'NonCompliantCount' => ['description' => 'The number of rules against which specific resources are evaluated as non-compliant.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RiskLevel' => ['description' => 'The risk level of the resources that are not compliant with the rules. Valid values:'."\n" + ."\n" + .'- 1: high risk level.'."\n" + ."\n" + .'- 2: medium risk level.'."\n" + ."\n" + .'- 3: low risk level.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], 'description' => '', 'title' => '', @@ -17264,12 +10206,7 @@ 'title' => '', 'example' => '', ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'A3CED98C-DE65-46AC-B2D2-04A4A9AB5B36', - 'title' => '', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'A3CED98C-DE65-46AC-B2D2-04A4A9AB5B36', 'title' => ''], ], 'description' => '', 'title' => '', @@ -17279,16 +10216,10 @@ ], 'errorCodes' => [ 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'GetConfigRuleSummaryByRiskLevel', 'summary' => 'Queries the compliance summary based on the risk level of a rule.', 'description' => 'This topic provides an example of how to query the summary of compliance evaluation results by rule risk level. The return result shows four rules that are specified with the high risk level. One of them detects non-compliant resources, and the resources evaluated by the remaining three are all compliant.', @@ -17296,12 +10227,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetConfigRuleSummaryByRiskLevel', - ], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetConfigRuleSummaryByRiskLevel'], ], ], 'ramActions' => [ @@ -17312,12 +10238,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -17325,14 +10246,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ConfigRuleSummaries\\": [\\n {\\n \\"CompliantCount\\": 3,\\n \\"NonCompliantCount\\": 1,\\n \\"RiskLevel\\": 1\\n }\\n ],\\n \\"RequestId\\": \\"A3CED98C-DE65-46AC-B2D2-04A4A9AB5B36\\"\\n}","type":"json"}]', ], 'GetConfigRulesReport' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17344,20 +10259,13 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'ReportId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance evaluation report.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'crp-88176457e0d900c9****', - ], + 'schema' => ['description' => 'The ID of the compliance evaluation report.'."\n", 'type' => 'string', 'required' => false, 'example' => 'crp-88176457e0d900c9****'], ], ], 'responses' => [ @@ -17366,46 +10274,20 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'], 'ConfigRulesReport' => [ 'description' => 'The information about the compliance evaluation report.'."\n", 'type' => 'object', 'properties' => [ - 'ReportStatus' => [ - 'description' => 'The status of the compliance evaluation report. Valid values:'."\n" - ."\n" - .'* NONE: The compliance evaluation report is not generated.'."\n" - .'* CREATING: The compliance evaluation report is being generated.'."\n" - .'* COMPLETE: The compliance evaluation report is generated.'."\n", - 'type' => 'string', - 'example' => 'CREATING', - ], - 'ReportUrl' => [ - 'description' => 'The URL that is used to download the compliance evaluation report.'."\n", - 'type' => 'string', - 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/ConfigRuleReports/100931896542****/rules/100931896542****-rules-report-202106221125.zip?Expires=162433****&OSSAccessKeyId=LTAIs86R8H59****&Signature=yT8jn6ZQSX3dyCwVKL5EOJhGJ****', - ], - 'AccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the rules belong.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100931896542****', - ], - 'ReportCreateTimestamp' => [ - 'description' => 'The timestamp when the compliance evaluation report was generated. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1614687022000', - ], - 'ReportId' => [ - 'description' => 'The ID of the compliance evaluation report.'."\n", - 'type' => 'string', - 'example' => 'crp-88176457e0d900c9****', - ], + 'ReportStatus' => ['description' => 'The status of the compliance evaluation report. Valid values:'."\n" + ."\n" + .'* NONE: The compliance evaluation report is not generated.'."\n" + .'* CREATING: The compliance evaluation report is being generated.'."\n" + .'* COMPLETE: The compliance evaluation report is generated.'."\n", 'type' => 'string', 'example' => 'CREATING'], + 'ReportUrl' => ['description' => 'The URL that is used to download the compliance evaluation report.'."\n", 'type' => 'string', 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/ConfigRuleReports/100931896542****/rules/100931896542****-rules-report-202106221125.zip?Expires=162433****&OSSAccessKeyId=LTAIs86R8H59****&Signature=yT8jn6ZQSX3dyCwVKL5EOJhGJ****'], + 'AccountId' => ['description' => 'The ID of the Alibaba Cloud account to which the rules belong.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'], + 'ReportCreateTimestamp' => ['description' => 'The timestamp when the compliance evaluation report was generated. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1614687022000'], + 'ReportId' => ['description' => 'The ID of the compliance evaluation report.'."\n", 'type' => 'string', 'example' => 'crp-88176457e0d900c9****'], ], ], ], @@ -17414,18 +10296,10 @@ ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"ConfigRulesReport\\": {\\n \\"ReportStatus\\": \\"CREATING\\",\\n \\"ReportUrl\\": \\"https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/ConfigRuleReports/100931896542****/rules/100931896542****-rules-report-202106221125.zip?Expires=162433****&OSSAccessKeyId=LTAIs86R8H59****&Signature=yT8jn6ZQSX3dyCwVKL5EOJhGJ****\\",\\n \\"AccountId\\": 0,\\n \\"ReportCreateTimestamp\\": 1614687022000,\\n \\"ReportId\\": \\"crp-88176457e0d900c9****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetConfigRulesReportResponse>\\n <RequestId>6EC7AED1-172F-42AE-9C12-295BC2ADB751</RequestId>\\n <ConfigRulesReport>\\n <ReportStatus>CREATING</ReportStatus>\\n <ReportUrl>https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/ConfigRuleReports/100931896542****/rules/100931896542****-rules-report-202106221125.zip?Expires=162433****&OSSAccessKeyId=LTAIs86R8H59****&Signature=yT8jn6ZQSX3dyCwVKL5EOJhGJ****</ReportUrl>\\n <ReportCreateTimestamp>1614687022000</ReportCreateTimestamp>\\n <ReportId>crp-88176457e0d900c9****</ReportId>\\n </ConfigRulesReport>\\n</GetConfigRulesReportResponse>","errorExample":""}]', @@ -17444,12 +10318,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -17457,13 +10326,8 @@ ], 'GetConfigurationRecorder' => [ 'summary' => 'Queries the status of the Cloud Config service and the resource monitoring scope for the current account.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -17475,9 +10339,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig56XT35', - ], + 'abilityTreeNodes' => ['FEATUREconfig56XT35'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], @@ -17486,39 +10348,24 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'AE43696A-B3AF-5E55-9845-11393127E6D3', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'AE43696A-B3AF-5E55-9845-11393127E6D3', 'title' => ''], 'ConfigurationRecorder' => [ 'description' => 'The resource monitoring information.', 'type' => 'object', 'properties' => [ - 'ConfigurationRecorderStatus' => [ - 'description' => 'The status of resource monitoring. Valid values:'."\n" - ."\n" - .'- REGISTRABLE: Not registered.'."\n" - ."\n" - .'- BUILDING: Building.'."\n" - ."\n" - .'- REGISTERED: Registered.'."\n" - ."\n" - .'- REBUILDING: Rebuilding.', - 'type' => 'string', - 'example' => 'REGISTERED', - 'title' => '', - ], + 'ConfigurationRecorderStatus' => ['description' => 'The status of resource monitoring. Valid values:'."\n" + ."\n" + .'- REGISTRABLE: Not registered.'."\n" + ."\n" + .'- BUILDING: Building.'."\n" + ."\n" + .'- REGISTERED: Registered.'."\n" + ."\n" + .'- REBUILDING: Rebuilding.', 'type' => 'string', 'example' => 'REGISTERED', 'title' => ''], 'ResourceTypes' => [ 'description' => 'A list of monitored resource types.', 'type' => 'array', - 'items' => [ - 'description' => 'The resource type.', - 'type' => 'string', - 'example' => 'ACS::ECS::Instance', - 'title' => '', - ], + 'items' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'ACS::ECS::Instance', 'title' => ''], 'title' => '', 'example' => '', ], @@ -17535,25 +10382,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'title' => 'GetConfigurationRecorder', @@ -17561,12 +10396,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetConfigurationRecorder', - ], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetConfigurationRecorder'], ], ], 'ramActions' => [ @@ -17577,12 +10407,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -17591,14 +10416,8 @@ ], 'GetDiscoveredResource' => [ 'summary' => 'Queries the details of a specific resource.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17610,52 +10429,29 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6XGW41', - ], + 'abilityTreeNodes' => ['FEATUREconfig6XGW41'], ], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource ID.'."\n" - ."\n" - .'For more information about how to obtain the resource ID, see [ListDiscoveredResources](~~411702~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'i-bp12g4xbl4i0brkn****', - ], + 'schema' => ['description' => 'The resource ID.'."\n" + ."\n" + .'For more information about how to obtain the resource ID, see [ListDiscoveredResources](~~411702~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'i-bp12g4xbl4i0brkn****'], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type.'."\n" - ."\n" - .'For more information about how to obtain the resource type, see [ListDiscoveredResources](~~411702~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'ACS::ECS::Instance', - ], + 'schema' => ['description' => 'The resource type.'."\n" + ."\n" + .'For more information about how to obtain the resource type, see [ListDiscoveredResources](~~411702~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ACS::ECS::Instance'], ], [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region where the resource resides.'."\n" - ."\n" - .'For more information about how to obtain the region ID of the resource, see [ListDiscoveredResources](~~411702~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region where the resource resides.'."\n" + ."\n" + .'For more information about how to obtain the region ID of the resource, see [ListDiscoveredResources](~~411702~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'ComplianceOption', @@ -17682,113 +10478,33 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'E4D71ACE-6B0A-46E0-8352-56952378CC7F', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'E4D71ACE-6B0A-46E0-8352-56952378CC7F'], 'DiscoveredResourceDetail' => [ 'description' => 'The details of the resource.', 'type' => 'object', 'properties' => [ - 'AvailabilityZone' => [ - 'description' => 'The zone where the resource resides.', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-hangzhou-h', - ], - 'ResourceType' => [ - 'description' => 'The resource type.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS::ECS::Instance', - ], - 'Configuration' => [ - 'description' => 'The complete configuration information of the resource.', - 'type' => 'string', - 'title' => '', - 'example' => '{"ResourceGroupId":"","Memory":4096,"InstanceChargeType":"PostPaid","Cpu":2,"OSName":"Windows Server 2022 Datacenter 64-bit (Simplified Chinese)","InstanceNetworkType":"vpc","InnerIpAddress":{"IpAddress":[]},"ExpiredTime":"2099-12-31T15:59Z","ImageId":"win2022_21H2_x64_dtc_zh-cn_40G_alibase_20240110.vhd","EipAddress":{"AllocationId":"","IpAddress":"","InternetChargeType":""},"ImageOptions":{},"VlanId":"","HostName":"iZl4i0brknq****","Status":"Stopped","HibernationOptions":{"Configured":false},"MetadataOptions":{"HttpTokens":"","HttpEndpoint":""},"InstanceId":"i-bp12g4xbl4i0brkn****","StoppedMode":"KeepCharging","CpuOptions":{"ThreadsPerCore":2,"Numa":"ON","CoreCount":1},"StartTime":"2024-02-29T07:08Z","DeletionProtection":false,"VpcAttributes":{"PrivateIpAddress":{"IpAddress":["172.16.XX.XX"]},"VpcId":"vpc-bp1wjaw8t272wwmkg****","VSwitchId":"vsw-bp103i8xzww5132ul****","NatIpAddress":""},"SecurityGroupIds":{"SecurityGroupId":["sg-bp1h96fz9fagaegp****"]},"InternetChargeType":"PayByTraffic","InstanceName":"test123","DeploymentSetId":"","InternetMaxBandwidthOut":5,"SerialNumber":"6764f567-28fb-4a39-bfc3-48404995****","OSType":"windows","CreationTime":"2024-02-29T07:08Z","AutoReleaseTime":"","Description":"","InstanceTypeFamily":"ecs.c7","DedicatedInstanceAttribute":{"Tenancy":"","Affinity":""},"PublicIpAddress":{"IpAddress":["47.98.XX.XX"]},"GPUSpec":"","NetworkInterfaces":{"NetworkInterface":[{"Type":"Primary","PrimaryIpAddress":"172.16.XX.XX","MacAddress":"00:16:3e:0c:**:**","NetworkInterfaceId":"eni-bp19uj35v8won3x9****","PrivateIpSets":{"PrivateIpSet":[{"PrivateIpAddress":"172.16.XX.XX","Primary":true}]}}]},"SpotPriceLimit":0.0,"SaleCycle":"","DeviceAvailable":true,"InstanceType":"ecs.c7.large","OSNameEn":"Windows Server 2022 DataCenter Edition 64bit Chinese Edition","SpotStrategy":"NoSpot","IoOptimized":true,"ZoneId":"cn-hangzhou-b","ClusterId":"","EcsCapacityReservationAttr":{"CapacityReservationPreference":"","CapacityReservationId":""},"DedicatedHostAttribute":{"DedicatedHostId":"","DedicatedHostName":"","DedicatedHostClusterId":""},"GPUAmount":0,"OperationLocks":{"LockReason":[]},"InternetMaxBandwidthIn":2000,"Recyclable":false,"RegionId":"cn-hangzhou","CreditSpecification":""}', - ], - 'Region' => [ - 'description' => 'The region ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-hangzhou', - ], - 'ResourceCreationTime' => [ - 'description' => 'The timestamp when the resource was created.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1709190480000', - ], - 'Tags' => [ - 'description' => 'The tags of the resource.', - 'type' => 'string', - 'title' => '', - 'example' => '{"key":"value"}', - ], - 'AccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account that owns the resource.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '120886317861****', - ], - 'ResourceId' => [ - 'description' => 'The resource ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'i-bp12g4xbl4i0brkn****', - ], - 'ResourceDeleted' => [ - 'description' => 'The deletion status of the resource. Valid values:'."\n" - ."\n" - .'- 1: The resource is not deleted.'."\n" - ."\n" - .'- 0: The resource is deleted.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], - 'ResourceName' => [ - 'description' => 'The resource name.', - 'type' => 'string', - 'title' => '', - 'example' => 'test123', - ], - 'ResourceStatus' => [ - 'description' => 'The status of the resource. The status of a resource is defined by the corresponding Alibaba Cloud service. This parameter can be empty. Examples:'."\n" - ."\n" - .'- If the resource type is ACS::ECS::Instance, the resource is stateful. In this case, the value of this parameter is Running or Stopped.'."\n" - ."\n" - .'- If the resource type is ACS::OSS::Bucket, the resource is stateless. In this case, this parameter is empty.', - 'type' => 'string', - 'title' => '', - 'example' => 'Stopped', - ], - 'ComplianceType' => [ - 'type' => 'string', - 'description' => 'The compliance type.', - 'title' => '', - 'example' => 'COMPLIANT', - ], - 'VpcId' => [ - 'type' => 'string', - 'required' => true, - 'title' => '', - 'description' => 'The ID of the VPC to which the resource belongs. The ID is in the vpc-t4nhheyvay74fp7n0hxxx format. If the resource does not belong to a VPC, an empty string "" is returned.', - 'example' => 'vpc-t4nhheyvay74fp7n0hxxx', - ], - 'VSwitchId' => [ - 'type' => 'string', - 'required' => true, - 'title' => '', - 'description' => 'The ID of the vSwitch to which the resource belongs. The ID is in the vsw-t4n7pokxxxxxxxxxxxxxx format. If multiple vSwitch IDs are returned, they are separated by commas (,). Example: vsw-t4n7pokxxxxxxxxxxxxxx,vsw-t4n7pokxxxxxxxxxxxxxx. If the resource does not belong to a vSwitch, an empty string "" is returned.', - 'example' => 'vsw-t4n7pokxxxxxxxxxxxxxx', - ], + 'AvailabilityZone' => ['description' => 'The zone where the resource resides.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou-h'], + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'title' => '', 'example' => 'ACS::ECS::Instance'], + 'Configuration' => ['description' => 'The complete configuration information of the resource.', 'type' => 'string', 'title' => '', 'example' => '{"ResourceGroupId":"","Memory":4096,"InstanceChargeType":"PostPaid","Cpu":2,"OSName":"Windows Server 2022 Datacenter 64-bit (Simplified Chinese)","InstanceNetworkType":"vpc","InnerIpAddress":{"IpAddress":[]},"ExpiredTime":"2099-12-31T15:59Z","ImageId":"win2022_21H2_x64_dtc_zh-cn_40G_alibase_20240110.vhd","EipAddress":{"AllocationId":"","IpAddress":"","InternetChargeType":""},"ImageOptions":{},"VlanId":"","HostName":"iZl4i0brknq****","Status":"Stopped","HibernationOptions":{"Configured":false},"MetadataOptions":{"HttpTokens":"","HttpEndpoint":""},"InstanceId":"i-bp12g4xbl4i0brkn****","StoppedMode":"KeepCharging","CpuOptions":{"ThreadsPerCore":2,"Numa":"ON","CoreCount":1},"StartTime":"2024-02-29T07:08Z","DeletionProtection":false,"VpcAttributes":{"PrivateIpAddress":{"IpAddress":["172.16.XX.XX"]},"VpcId":"vpc-bp1wjaw8t272wwmkg****","VSwitchId":"vsw-bp103i8xzww5132ul****","NatIpAddress":""},"SecurityGroupIds":{"SecurityGroupId":["sg-bp1h96fz9fagaegp****"]},"InternetChargeType":"PayByTraffic","InstanceName":"test123","DeploymentSetId":"","InternetMaxBandwidthOut":5,"SerialNumber":"6764f567-28fb-4a39-bfc3-48404995****","OSType":"windows","CreationTime":"2024-02-29T07:08Z","AutoReleaseTime":"","Description":"","InstanceTypeFamily":"ecs.c7","DedicatedInstanceAttribute":{"Tenancy":"","Affinity":""},"PublicIpAddress":{"IpAddress":["47.98.XX.XX"]},"GPUSpec":"","NetworkInterfaces":{"NetworkInterface":[{"Type":"Primary","PrimaryIpAddress":"172.16.XX.XX","MacAddress":"00:16:3e:0c:**:**","NetworkInterfaceId":"eni-bp19uj35v8won3x9****","PrivateIpSets":{"PrivateIpSet":[{"PrivateIpAddress":"172.16.XX.XX","Primary":true}]}}]},"SpotPriceLimit":0.0,"SaleCycle":"","DeviceAvailable":true,"InstanceType":"ecs.c7.large","OSNameEn":"Windows Server 2022 DataCenter Edition 64bit Chinese Edition","SpotStrategy":"NoSpot","IoOptimized":true,"ZoneId":"cn-hangzhou-b","ClusterId":"","EcsCapacityReservationAttr":{"CapacityReservationPreference":"","CapacityReservationId":""},"DedicatedHostAttribute":{"DedicatedHostId":"","DedicatedHostName":"","DedicatedHostClusterId":""},"GPUAmount":0,"OperationLocks":{"LockReason":[]},"InternetMaxBandwidthIn":2000,"Recyclable":false,"RegionId":"cn-hangzhou","CreditSpecification":""}'], + 'Region' => ['description' => 'The region ID.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], + 'ResourceCreationTime' => ['description' => 'The timestamp when the resource was created.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1709190480000'], + 'Tags' => ['description' => 'The tags of the resource.', 'type' => 'string', 'title' => '', 'example' => '{"key":"value"}'], + 'AccountId' => ['description' => 'The ID of the Alibaba Cloud account that owns the resource.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '120886317861****'], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'i-bp12g4xbl4i0brkn****'], + 'ResourceDeleted' => ['description' => 'The deletion status of the resource. Valid values:'."\n" + ."\n" + .'- 1: The resource is not deleted.'."\n" + ."\n" + .'- 0: The resource is deleted.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'ResourceName' => ['description' => 'The resource name.', 'type' => 'string', 'title' => '', 'example' => 'test123'], + 'ResourceStatus' => ['description' => 'The status of the resource. The status of a resource is defined by the corresponding Alibaba Cloud service. This parameter can be empty. Examples:'."\n" + ."\n" + .'- If the resource type is ACS::ECS::Instance, the resource is stateful. In this case, the value of this parameter is Running or Stopped.'."\n" + ."\n" + .'- If the resource type is ACS::OSS::Bucket, the resource is stateless. In this case, this parameter is empty.', 'type' => 'string', 'title' => '', 'example' => 'Stopped'], + 'ComplianceType' => ['type' => 'string', 'description' => 'The compliance type.', 'title' => '', 'example' => 'COMPLIANT'], + 'VpcId' => ['type' => 'string', 'required' => true, 'title' => '', 'description' => 'The ID of the VPC to which the resource belongs. The ID is in the vpc-t4nhheyvay74fp7n0hxxx format. If the resource does not belong to a VPC, an empty string "" is returned.', 'example' => 'vpc-t4nhheyvay74fp7n0hxxx'], + 'VSwitchId' => ['type' => 'string', 'required' => true, 'title' => '', 'description' => 'The ID of the vSwitch to which the resource belongs. The ID is in the vsw-t4n7pokxxxxxxxxxxxxxx format. If multiple vSwitch IDs are returned, they are separated by commas (,). Example: vsw-t4n7pokxxxxxxxxxxxxxx,vsw-t4n7pokxxxxxxxxxxxxxx. If the resource does not belong to a vSwitch, an empty string "" is returned.', 'example' => 'vsw-t4n7pokxxxxxxxxxxxxxx'], ], 'title' => '', 'example' => '', @@ -17801,35 +10517,17 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], - [ - 'errorCode' => 'MemberNotBelongToMaster', - 'errorMessage' => 'The specified member does not belong to your organization.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], + ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E4D71ACE-6B0A-46E0-8352-56952378CC7F\\",\\n \\"DiscoveredResourceDetail\\": {\\n \\"AvailabilityZone\\": \\"cn-hangzhou-h\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"Configuration\\": \\"{\\\\\\"ResourceGroupId\\\\\\":\\\\\\"\\\\\\",\\\\\\"Memory\\\\\\":4096,\\\\\\"InstanceChargeType\\\\\\":\\\\\\"PostPaid\\\\\\",\\\\\\"Cpu\\\\\\":2,\\\\\\"OSName\\\\\\":\\\\\\"Windows Server 2022 Datacenter 64-bit (Simplified Chinese)\\\\\\",\\\\\\"InstanceNetworkType\\\\\\":\\\\\\"vpc\\\\\\",\\\\\\"InnerIpAddress\\\\\\":{\\\\\\"IpAddress\\\\\\":[]},\\\\\\"ExpiredTime\\\\\\":\\\\\\"2099-12-31T15:59Z\\\\\\",\\\\\\"ImageId\\\\\\":\\\\\\"win2022_21H2_x64_dtc_zh-cn_40G_alibase_20240110.vhd\\\\\\",\\\\\\"EipAddress\\\\\\":{\\\\\\"AllocationId\\\\\\":\\\\\\"\\\\\\",\\\\\\"IpAddress\\\\\\":\\\\\\"\\\\\\",\\\\\\"InternetChargeType\\\\\\":\\\\\\"\\\\\\"},\\\\\\"ImageOptions\\\\\\":{},\\\\\\"VlanId\\\\\\":\\\\\\"\\\\\\",\\\\\\"HostName\\\\\\":\\\\\\"iZl4i0brknq****\\\\\\",\\\\\\"Status\\\\\\":\\\\\\"Stopped\\\\\\",\\\\\\"HibernationOptions\\\\\\":{\\\\\\"Configured\\\\\\":false},\\\\\\"MetadataOptions\\\\\\":{\\\\\\"HttpTokens\\\\\\":\\\\\\"\\\\\\",\\\\\\"HttpEndpoint\\\\\\":\\\\\\"\\\\\\"},\\\\\\"InstanceId\\\\\\":\\\\\\"i-bp12g4xbl4i0brkn****\\\\\\",\\\\\\"StoppedMode\\\\\\":\\\\\\"KeepCharging\\\\\\",\\\\\\"CpuOptions\\\\\\":{\\\\\\"ThreadsPerCore\\\\\\":2,\\\\\\"Numa\\\\\\":\\\\\\"ON\\\\\\",\\\\\\"CoreCount\\\\\\":1},\\\\\\"StartTime\\\\\\":\\\\\\"2024-02-29T07:08Z\\\\\\",\\\\\\"DeletionProtection\\\\\\":false,\\\\\\"VpcAttributes\\\\\\":{\\\\\\"PrivateIpAddress\\\\\\":{\\\\\\"IpAddress\\\\\\":[\\\\\\"172.16.XX.XX\\\\\\"]},\\\\\\"VpcId\\\\\\":\\\\\\"vpc-bp1wjaw8t272wwmkg****\\\\\\",\\\\\\"VSwitchId\\\\\\":\\\\\\"vsw-bp103i8xzww5132ul****\\\\\\",\\\\\\"NatIpAddress\\\\\\":\\\\\\"\\\\\\"},\\\\\\"SecurityGroupIds\\\\\\":{\\\\\\"SecurityGroupId\\\\\\":[\\\\\\"sg-bp1h96fz9fagaegp****\\\\\\"]},\\\\\\"InternetChargeType\\\\\\":\\\\\\"PayByTraffic\\\\\\",\\\\\\"InstanceName\\\\\\":\\\\\\"test123\\\\\\",\\\\\\"DeploymentSetId\\\\\\":\\\\\\"\\\\\\",\\\\\\"InternetMaxBandwidthOut\\\\\\":5,\\\\\\"SerialNumber\\\\\\":\\\\\\"6764f567-28fb-4a39-bfc3-48404995****\\\\\\",\\\\\\"OSType\\\\\\":\\\\\\"windows\\\\\\",\\\\\\"CreationTime\\\\\\":\\\\\\"2024-02-29T07:08Z\\\\\\",\\\\\\"AutoReleaseTime\\\\\\":\\\\\\"\\\\\\",\\\\\\"Description\\\\\\":\\\\\\"\\\\\\",\\\\\\"InstanceTypeFamily\\\\\\":\\\\\\"ecs.c7\\\\\\",\\\\\\"DedicatedInstanceAttribute\\\\\\":{\\\\\\"Tenancy\\\\\\":\\\\\\"\\\\\\",\\\\\\"Affinity\\\\\\":\\\\\\"\\\\\\"},\\\\\\"PublicIpAddress\\\\\\":{\\\\\\"IpAddress\\\\\\":[\\\\\\"47.98.XX.XX\\\\\\"]},\\\\\\"GPUSpec\\\\\\":\\\\\\"\\\\\\",\\\\\\"NetworkInterfaces\\\\\\":{\\\\\\"NetworkInterface\\\\\\":[{\\\\\\"Type\\\\\\":\\\\\\"Primary\\\\\\",\\\\\\"PrimaryIpAddress\\\\\\":\\\\\\"172.16.XX.XX\\\\\\",\\\\\\"MacAddress\\\\\\":\\\\\\"00:16:3e:0c:**:**\\\\\\",\\\\\\"NetworkInterfaceId\\\\\\":\\\\\\"eni-bp19uj35v8won3x9****\\\\\\",\\\\\\"PrivateIpSets\\\\\\":{\\\\\\"PrivateIpSet\\\\\\":[{\\\\\\"PrivateIpAddress\\\\\\":\\\\\\"172.16.XX.XX\\\\\\",\\\\\\"Primary\\\\\\":true}]}}]},\\\\\\"SpotPriceLimit\\\\\\":0.0,\\\\\\"SaleCycle\\\\\\":\\\\\\"\\\\\\",\\\\\\"DeviceAvailable\\\\\\":true,\\\\\\"InstanceType\\\\\\":\\\\\\"ecs.c7.large\\\\\\",\\\\\\"OSNameEn\\\\\\":\\\\\\"Windows Server 2022 DataCenter Edition 64bit Chinese Edition\\\\\\",\\\\\\"SpotStrategy\\\\\\":\\\\\\"NoSpot\\\\\\",\\\\\\"IoOptimized\\\\\\":true,\\\\\\"ZoneId\\\\\\":\\\\\\"cn-hangzhou-b\\\\\\",\\\\\\"ClusterId\\\\\\":\\\\\\"\\\\\\",\\\\\\"EcsCapacityReservationAttr\\\\\\":{\\\\\\"CapacityReservationPreference\\\\\\":\\\\\\"\\\\\\",\\\\\\"CapacityReservationId\\\\\\":\\\\\\"\\\\\\"},\\\\\\"DedicatedHostAttribute\\\\\\":{\\\\\\"DedicatedHostId\\\\\\":\\\\\\"\\\\\\",\\\\\\"DedicatedHostName\\\\\\":\\\\\\"\\\\\\",\\\\\\"DedicatedHostClusterId\\\\\\":\\\\\\"\\\\\\"},\\\\\\"GPUAmount\\\\\\":0,\\\\\\"OperationLocks\\\\\\":{\\\\\\"LockReason\\\\\\":[]},\\\\\\"InternetMaxBandwidthIn\\\\\\":2000,\\\\\\"Recyclable\\\\\\":false,\\\\\\"RegionId\\\\\\":\\\\\\"cn-hangzhou\\\\\\",\\\\\\"CreditSpecification\\\\\\":\\\\\\"\\\\\\"}\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"ResourceCreationTime\\": 1709190480000,\\n \\"Tags\\": \\"{\\\\\\"key\\\\\\":\\\\\\"value\\\\\\"}\\",\\n \\"AccountId\\": 0,\\n \\"ResourceId\\": \\"i-bp12g4xbl4i0brkn****\\",\\n \\"ResourceDeleted\\": 1,\\n \\"ResourceName\\": \\"test123\\",\\n \\"ResourceStatus\\": \\"Stopped\\",\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"VpcId\\": \\"vpc-t4nhheyvay74fp7n0hxxx\\",\\n \\"VSwitchId\\": \\"vsw-t4n7pokxxxxxxxxxxxxxx\\"\\n }\\n}","type":"json"}]', 'title' => 'GetDiscoveredResource', 'description' => 'This topic provides an example of how to query the details of the ECS instance `i-bp12g4xbl4i0brkn****` in the China (Hangzhou) region.', @@ -17837,12 +10535,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '4000', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetDiscoveredResource', - ], + ['threshold' => '4000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetDiscoveredResource'], ], ], 'ramActions' => [ @@ -17853,12 +10546,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], 'additionalActions' => [], @@ -17866,14 +10554,8 @@ ], ], 'GetDiscoveredResourceCountsGroupByRegion' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17885,23 +10567,15 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6XGW41', - ], + 'abilityTreeNodes' => ['FEATUREconfig6XGW41'], ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type.'."\n" - ."\n" - .'For more information about how to obtain the type of a resource, see [ListDiscoveredResources](~~169620~~).'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'ACS::ECS::Instance', - ], + 'schema' => ['description' => 'The resource type.'."\n" + ."\n" + .'For more information about how to obtain the type of a resource, see [ListDiscoveredResources](~~169620~~).'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'ACS::ECS::Instance'], ], ], 'responses' => [ @@ -17910,11 +10584,7 @@ 'description' => 'None.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '399BD94C-D20C-4D27-88D4-89E8D75C0595', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '399BD94C-D20C-4D27-88D4-89E8D75C0595'], 'DiscoveredResourceCountsSummary' => [ 'description' => 'The statistics on the resources.'."\n", 'type' => 'array', @@ -17922,24 +10592,11 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'ResourceCount' => [ - 'description' => 'The total number of resources.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'GroupName' => [ - 'description' => 'The dimension by which statistics are collected.'."\n" - ."\n" - .'> In most cases, the `Region` parameter instead of the GroupName parameter is returned.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'Region' => [ - 'description' => 'The ID of the region by which statistics are collected.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], + 'ResourceCount' => ['description' => 'The total number of resources.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'GroupName' => ['description' => 'The dimension by which statistics are collected.'."\n" + ."\n" + .'> In most cases, the `Region` parameter instead of the GroupName parameter is returned.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou'], + 'Region' => ['description' => 'The ID of the region by which statistics are collected.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou'], ], ], ], @@ -17949,30 +10606,14 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'MemberNotBelongToMaster', - 'errorMessage' => 'The specified member does not belong to your organization.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], + ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"399BD94C-D20C-4D27-88D4-89E8D75C0595\\",\\n \\"DiscoveredResourceCountsSummary\\": [\\n {\\n \\"ResourceCount\\": 10,\\n \\"GroupName\\": \\"cn-hangzhou\\",\\n \\"Region\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetDiscoveredResourceCountsGroupByRegionResponse>\\n <RequestId>399BD94C-D20C-4D27-88D4-89E8D75C0595</RequestId>\\n <DiscoveredResourceCountsSummary>\\n <ResourceCount>10</ResourceCount>\\n <Region>cn-hangzhou</Region>\\n </DiscoveredResourceCountsSummary>\\n</GetDiscoveredResourceCountsGroupByRegionResponse>","errorExample":""}]', @@ -17989,26 +10630,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetDiscoveredResourceCountsGroupByResourceType' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18020,21 +10650,13 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6XGW41', - ], + 'abilityTreeNodes' => ['FEATUREconfig6XGW41'], ], 'parameters' => [ [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -18043,11 +10665,7 @@ 'description' => 'None.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'AC9BD94C-D20C-4D27-88D4-89E8D75C051B', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'AC9BD94C-D20C-4D27-88D4-89E8D75C051B'], 'DiscoveredResourceCountsSummary' => [ 'description' => 'The statistics on the resources.'."\n", 'type' => 'array', @@ -18055,24 +10673,11 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'ResourceCount' => [ - 'description' => 'The total number of resources.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'GroupName' => [ - 'description' => 'The resource type by which the statistics are collected.'."\n" - ."\n" - .'> We recommend that you use the `ResourceType` parameter.'."\n", - 'type' => 'string', - 'example' => 'ACS::ECS::Instance', - ], - 'ResourceType' => [ - 'description' => 'The resource type by which the statistics are collected.'."\n", - 'type' => 'string', - 'example' => 'ACS::ECS::Instance', - ], + 'ResourceCount' => ['description' => 'The total number of resources.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'GroupName' => ['description' => 'The resource type by which the statistics are collected.'."\n" + ."\n" + .'> We recommend that you use the `ResourceType` parameter.'."\n", 'type' => 'string', 'example' => 'ACS::ECS::Instance'], + 'ResourceType' => ['description' => 'The resource type by which the statistics are collected.'."\n", 'type' => 'string', 'example' => 'ACS::ECS::Instance'], ], ], ], @@ -18082,30 +10687,14 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'MemberNotBelongToMaster', - 'errorMessage' => 'The specified member does not belong to your organization.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], + ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AC9BD94C-D20C-4D27-88D4-89E8D75C051B\\",\\n \\"DiscoveredResourceCountsSummary\\": [\\n {\\n \\"ResourceCount\\": 10,\\n \\"GroupName\\": \\"ACS::ECS::Instance\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetDiscoveredResourceCountsGroupByResourceTypeResponse>\\n <RequestId>AC9BD94C-D20C-4D27-88D4-89E8D75C051B</RequestId>\\n <DiscoveredResourceCountsSummary>\\n <ResourceCount>10</ResourceCount>\\n <ResourceType>ACS::ECS::Instance</ResourceType>\\n </DiscoveredResourceCountsSummary>\\n</GetDiscoveredResourceCountsGroupByResourceTypeResponse>","errorExample":""}]', @@ -18122,26 +10711,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetIntegratedServiceStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18153,9 +10731,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigRIQA8M', - ], + 'abilityTreeNodes' => ['FEATUREconfigRIQA8M'], ], 'parameters' => [ [ @@ -18171,11 +10747,7 @@ 'type' => 'string', 'required' => true, 'docRequired' => false, - 'enumValueTitles' => [ - 'bpstudio' => 'bpstudio', - 'eventbridge' => 'eventbridge', - 'cms' => 'cms', - ], + 'enumValueTitles' => ['bpstudio' => 'bpstudio', 'eventbridge' => 'eventbridge', 'cms' => 'cms'], 'example' => 'cadt', ], ], @@ -18185,35 +10757,18 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '2E396C84-8D50-5F95-97FA-C0367181BA8A', - ], - 'Data' => [ - 'title' => 'integrate service status', - 'description' => 'Indicates whether the product has been integrated. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'IntegratedTypes' => [ - 'description' => 'The types of the integrated events. Separate multiple event types with commas (,). Valid values:'."\n" - ."\n" - .'* ConfigurationItemChangeNotification: resource change event'."\n" - .'* NonCompliantNotification: non-compliance event'."\n", - 'type' => 'string', - 'example' => 'NonCompliantNotification', - ], - 'AggregatorDeliveryDataType' => [ - 'description' => 'The type of the event that is integrated across accounts. Valid values:'."\n" - ."\n" - .'* NonCompliantNotification: non-compliance event'."\n", - 'type' => 'string', - 'example' => 'NonCompliantNotification', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '2E396C84-8D50-5F95-97FA-C0367181BA8A'], + 'Data' => ['title' => 'integrate service status', 'description' => 'Indicates whether the product has been integrated. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", 'type' => 'boolean', 'example' => 'true'], + 'IntegratedTypes' => ['description' => 'The types of the integrated events. Separate multiple event types with commas (,). Valid values:'."\n" + ."\n" + .'* ConfigurationItemChangeNotification: resource change event'."\n" + .'* NonCompliantNotification: non-compliance event'."\n", 'type' => 'string', 'example' => 'NonCompliantNotification'], + 'AggregatorDeliveryDataType' => ['description' => 'The type of the event that is integrated across accounts. Valid values:'."\n" + ."\n" + .'* NonCompliantNotification: non-compliance event'."\n", 'type' => 'string', 'example' => 'NonCompliantNotification'], ], 'description' => '', ], @@ -18221,25 +10776,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2E396C84-8D50-5F95-97FA-C0367181BA8A\\",\\n \\"Data\\": true,\\n \\"IntegratedTypes\\": \\"NonCompliantNotification\\",\\n \\"AggregatorDeliveryDataType\\": \\"NonCompliantNotification\\"\\n}","errorExample":""},{"type":"xml","example":"<GetIntegratedServiceStatusResponse>\\n <RequestId>2E396C84-8D50-5F95-97FA-C0367181BA8A</RequestId>\\n <Data>true</Data>\\n</GetIntegratedServiceStatusResponse>","errorExample":""}]', @@ -18255,12 +10798,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -18268,14 +10806,8 @@ ], 'GetManagedRule' => [ 'summary' => 'Queries the details of a specified rule template.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18286,25 +10818,16 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigNPMEKB', - ], + 'abilityTreeNodes' => ['FEATUREconfigNPMEKB'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Identifier', 'in' => 'query', - 'schema' => [ - 'description' => 'The identifier of the rule template.'."\n" - ."\n" - .'For more information about how to obtain the rule template identifier, see [ListManagedRules](~~421144~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'cdn-domain-https-enabled', - ], + 'schema' => ['description' => 'The identifier of the rule template.'."\n" + ."\n" + .'For more information about how to obtain the rule template identifier, see [ListManagedRules](~~421144~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cdn-domain-https-enabled'], ], ], 'responses' => [ @@ -18317,49 +10840,23 @@ 'description' => 'The details of the rule template.', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => 'The risk level of the rule template. Valid values:'."\n" - ."\n" - .'- 1: high risk.'."\n" - ."\n" - .'- 2: medium risk.'."\n" - ."\n" - .'- 3: low risk.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], + 'RiskLevel' => ['description' => 'The risk level of the rule template. Valid values:'."\n" + ."\n" + .'- 1: high risk.'."\n" + ."\n" + .'- 2: medium risk.'."\n" + ."\n" + .'- 3: low risk.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], 'Labels' => [ 'description' => 'The labels of the rule template.', 'type' => 'array', - 'items' => [ - 'description' => 'The label of the rule template.', - 'type' => 'string', - 'title' => '', - 'example' => 'CDN', - ], + 'items' => ['description' => 'The label of the rule template.', 'type' => 'string', 'title' => '', 'example' => 'CDN'], 'title' => '', 'example' => '', ], - 'OptionalInputParameterDetails' => [ - 'description' => 'The information about the optional input parameters for the rule template.', - 'type' => 'object', - 'title' => '', - 'example' => '{}', - ], - 'Identifier' => [ - 'description' => 'The identifier of the rule template.', - 'type' => 'string', - 'title' => '', - 'example' => 'cdn-domain-https-enabled', - ], - 'CompulsoryInputParameterDetails' => [ - 'description' => 'The information about the required input parameters for the rule template.', - 'type' => 'object', - 'title' => '', - 'example' => '{}', - ], + 'OptionalInputParameterDetails' => ['description' => 'The information about the optional input parameters for the rule template.', 'type' => 'object', 'title' => '', 'example' => '{}'], + 'Identifier' => ['description' => 'The identifier of the rule template.', 'type' => 'string', 'title' => '', 'example' => 'cdn-domain-https-enabled'], + 'CompulsoryInputParameterDetails' => ['description' => 'The information about the required input parameters for the rule template.', 'type' => 'object', 'title' => '', 'example' => '{}'], 'SourceDetails' => [ 'description' => 'The trigger methods for the rule.', 'type' => 'array', @@ -18367,32 +10864,22 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'MessageType' => [ - 'description' => 'The trigger type of the rule. Valid values:'."\n" - ."\n" - .'- ConfigurationItemChangeNotification: The rule is triggered by a configuration change.'."\n" - ."\n" - .'- ScheduledNotification: The rule is triggered periodically.', - 'type' => 'string', - 'title' => '', - 'example' => 'ConfigurationItemChangeNotification', - ], - 'MaximumExecutionFrequency' => [ - 'description' => 'The execution period of the rule. Valid values:'."\n" - ."\n" - .'- One\\_Hour: 1 hour.'."\n" - ."\n" - .'- Three\\_Hours: 3 hours.'."\n" - ."\n" - .'- Six\\_Hours: 6 hours.'."\n" - ."\n" - .'- Twelve\\_Hours: 12 hours.'."\n" - ."\n" - .'- TwentyFour\\_Hours: 24 hours.', - 'type' => 'string', - 'title' => '', - 'example' => 'TwentyFour_Hours', - ], + 'MessageType' => ['description' => 'The trigger type of the rule. Valid values:'."\n" + ."\n" + .'- ConfigurationItemChangeNotification: The rule is triggered by a configuration change.'."\n" + ."\n" + .'- ScheduledNotification: The rule is triggered periodically.', 'type' => 'string', 'title' => '', 'example' => 'ConfigurationItemChangeNotification'], + 'MaximumExecutionFrequency' => ['description' => 'The execution period of the rule. Valid values:'."\n" + ."\n" + .'- One\\_Hour: 1 hour.'."\n" + ."\n" + .'- Three\\_Hours: 3 hours.'."\n" + ."\n" + .'- Six\\_Hours: 6 hours.'."\n" + ."\n" + .'- Twelve\\_Hours: 12 hours.'."\n" + ."\n" + .'- TwentyFour\\_Hours: 24 hours.', 'type' => 'string', 'title' => '', 'example' => 'TwentyFour_Hours'], ], 'title' => '', 'example' => '', @@ -18400,18 +10887,8 @@ 'title' => '', 'example' => '', ], - 'Description' => [ - 'description' => 'The description of the rule template.', - 'type' => 'string', - 'title' => '', - 'example' => 'CDN域名开启HTTPS协议加密,视为“合规”。', - ], - 'ConfigRuleName' => [ - 'description' => 'The name of the rule template.', - 'type' => 'string', - 'title' => '', - 'example' => 'CDN域名开启HTTPS加密', - ], + 'Description' => ['description' => 'The description of the rule template.', 'type' => 'string', 'title' => '', 'example' => 'CDN域名开启HTTPS协议加密,视为“合规”。'], + 'ConfigRuleName' => ['description' => 'The name of the rule template.', 'type' => 'string', 'title' => '', 'example' => 'CDN域名开启HTTPS加密'], 'Scope' => [ 'description' => 'The effective scope of the rule template.', 'type' => 'object', @@ -18419,12 +10896,7 @@ 'ComplianceResourceTypes' => [ 'description' => 'The resource types for which the rule template is effective.', 'type' => 'array', - 'items' => [ - 'description' => 'The resource type for which the rule template is effective.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS::CDN::Domain', - ], + 'items' => ['description' => 'The resource type for which the rule template is effective.', 'type' => 'string', 'title' => '', 'example' => 'ACS::CDN::Domain'], 'title' => '', 'example' => '', ], @@ -18432,22 +10904,12 @@ 'title' => '', 'example' => '', ], - 'HelpUrls' => [ - 'description' => 'The URL of the document that provides guidance on how to fix the issue.', - 'type' => 'string', - 'title' => '', - 'example' => 'https://example.aliyundoc.com', - ], + 'HelpUrls' => ['description' => 'The URL of the document that provides guidance on how to fix the issue.', 'type' => 'string', 'title' => '', 'example' => 'https://example.aliyundoc.com'], ], 'title' => '', 'example' => '', ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '7E6DDC09-87C1-5310-A924-3491EAAE6F90', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '7E6DDC09-87C1-5310-A924-3491EAAE6F90'], ], 'title' => '', 'example' => '', @@ -18456,23 +10918,11 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConfigRuleNotExists', - 'errorMessage' => 'The ConfigRule does not exist.', - 'description' => 'The rule does not exist.', - ], - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], + ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => 'The rule does not exist.'], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'title' => 'GetManagedRule', @@ -18481,12 +10931,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '1000', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetManagedRule', - ], + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetManagedRule'], ], ], 'ramActions' => [ @@ -18497,12 +10942,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -18511,14 +10951,8 @@ ], 'GetRemediationTemplate' => [ 'summary' => 'Queries the details of an automatic remediation template.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18530,9 +10964,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6I2PFO', - ], + 'abilityTreeNodes' => ['FEATUREconfig6I2PFO'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -18540,15 +10972,9 @@ 'name' => 'TemplateIdentifier', 'in' => 'query', 'allowEmptyValue' => true, - 'schema' => [ - 'description' => 'The identifier of the automatic remediation template.'."\n" - ."\n" - .'For information about how to obtain the remediation template identifier, see [Compliance library](~~2337741~~).', - 'type' => 'string', - 'required' => false, - 'example' => 'ACS-ALB-BulkyEnableDeletionProtection', - 'title' => '', - ], + 'schema' => ['description' => 'The identifier of the automatic remediation template.'."\n" + ."\n" + .'For information about how to obtain the remediation template identifier, see [Compliance library](~~2337741~~).', 'type' => 'string', 'required' => false, 'example' => 'ACS-ALB-BulkyEnableDeletionProtection', 'title' => ''], ], ], 'responses' => [ @@ -18556,56 +10982,19 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'E232FC35-BD40-51E3-B2EB-09416A23****', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E232FC35-BD40-51E3-B2EB-09416A23****', 'title' => ''], 'RemediationTemplates' => [ 'description' => 'The information about the automatic remediation template.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'RemediationType' => [ - 'description' => 'The type of the automatic remediation template. Valid value: OOS (Operation Orchestration).', - 'type' => 'string', - 'example' => 'OOS', - 'title' => '', - ], - 'TemplateIdentifier' => [ - 'description' => 'The identifier of the automatic remediation template.', - 'type' => 'string', - 'example' => 'ACS-ALB-BulkyEnableDeletionProtection', - 'title' => '', - ], - 'TemplateName' => [ - 'description' => 'The name of the automatic remediation template.', - 'type' => 'string', - 'example' => 'Enable ALB instance deletion protection', - 'title' => '', - ], - 'TemplateDefinition' => [ - 'description' => 'The definition of the template parameters.', - 'type' => 'string', - 'example' => '{\\"Parameters\\":{\\"regionId\\":{\\"AllowValues\\":\\"\\",\\"AssociationProperty\\":\\"RegionId\\",\\"CreateDated\\":\\"2025-08-04T09:54:57\\",\\"Default\\":\\"{regionId}\\",\\"Description\\":{\\"en\\":\\"regionId\\",\\"zh-cn\\":\\"regionId\\"},\\"Id\\":688,\\"MaxKeyLength\\":\\"125\\",\\"MaxValueLength\\":\\"255\\",\\"ModifiedDate\\":\\"2025-08-04T09:54:57\\",\\"Name\\":\\"regionId\\",\\"Optional\\":1,\\"TemplateIdentifier\\":\\"ACS-ALB-BulkyEnableDeletionProtection\\",\\"Type\\":\\"String\\",\\"Version\\":\\"LASTEST\\"},\\"loadBalancerIds\\":{\\"AllowValues\\":\\"\\",\\"AssociationProperty\\":\\"\\",\\"CreateDated\\":\\"2025-08-04T09:54:57\\",\\"Default\\":\\"[\\\\\\"{resourceId}\\\\\\"]\\",\\"Description\\":{\\"en\\":\\"loadBalancerIds\\",\\"zh-cn\\":\\"loadBalancerIds\\"},\\"Id\\":689,\\"MaxKeyLength\\":\\"125\\",\\"MaxValueLength\\":\\"255\\",\\"ModifiedDate\\":\\"2025-08-04T09:54:57\\",\\"Name\\":\\"loadBalancerIds\\",\\"Optional\\":1,\\"TemplateIdentifier\\":\\"ACS-ALB-BulkyEnableDeletionProtection\\",\\"Type\\":\\"ARRAY\\",\\"Version\\":\\"LASTEST\\"}}}', - 'title' => '', - ], - 'ManagedRuleIdentifier' => [ - 'description' => 'The identifier of the supported rule template.', - 'type' => 'string', - 'required' => true, - 'example' => 'alb-delete-protection-enabled', - 'title' => '', - ], - 'TemplateDescription' => [ - 'description' => 'The description of the automatic remediation template.', - 'type' => 'string', - 'required' => true, - 'example' => 'Call the EnableDeletionProtection interface to enable ALB instance deletion protection. Be aware of the risks and exercise caution.', - 'title' => '', - ], + 'RemediationType' => ['description' => 'The type of the automatic remediation template. Valid value: OOS (Operation Orchestration).', 'type' => 'string', 'example' => 'OOS', 'title' => ''], + 'TemplateIdentifier' => ['description' => 'The identifier of the automatic remediation template.', 'type' => 'string', 'example' => 'ACS-ALB-BulkyEnableDeletionProtection', 'title' => ''], + 'TemplateName' => ['description' => 'The name of the automatic remediation template.', 'type' => 'string', 'example' => 'Enable ALB instance deletion protection', 'title' => ''], + 'TemplateDefinition' => ['description' => 'The definition of the template parameters.', 'type' => 'string', 'example' => '{\\"Parameters\\":{\\"regionId\\":{\\"AllowValues\\":\\"\\",\\"AssociationProperty\\":\\"RegionId\\",\\"CreateDated\\":\\"2025-08-04T09:54:57\\",\\"Default\\":\\"{regionId}\\",\\"Description\\":{\\"en\\":\\"regionId\\",\\"zh-cn\\":\\"regionId\\"},\\"Id\\":688,\\"MaxKeyLength\\":\\"125\\",\\"MaxValueLength\\":\\"255\\",\\"ModifiedDate\\":\\"2025-08-04T09:54:57\\",\\"Name\\":\\"regionId\\",\\"Optional\\":1,\\"TemplateIdentifier\\":\\"ACS-ALB-BulkyEnableDeletionProtection\\",\\"Type\\":\\"String\\",\\"Version\\":\\"LASTEST\\"},\\"loadBalancerIds\\":{\\"AllowValues\\":\\"\\",\\"AssociationProperty\\":\\"\\",\\"CreateDated\\":\\"2025-08-04T09:54:57\\",\\"Default\\":\\"[\\\\\\"{resourceId}\\\\\\"]\\",\\"Description\\":{\\"en\\":\\"loadBalancerIds\\",\\"zh-cn\\":\\"loadBalancerIds\\"},\\"Id\\":689,\\"MaxKeyLength\\":\\"125\\",\\"MaxValueLength\\":\\"255\\",\\"ModifiedDate\\":\\"2025-08-04T09:54:57\\",\\"Name\\":\\"loadBalancerIds\\",\\"Optional\\":1,\\"TemplateIdentifier\\":\\"ACS-ALB-BulkyEnableDeletionProtection\\",\\"Type\\":\\"ARRAY\\",\\"Version\\":\\"LASTEST\\"}}}', 'title' => ''], + 'ManagedRuleIdentifier' => ['description' => 'The identifier of the supported rule template.', 'type' => 'string', 'required' => true, 'example' => 'alb-delete-protection-enabled', 'title' => ''], + 'TemplateDescription' => ['description' => 'The description of the automatic remediation template.', 'type' => 'string', 'required' => true, 'example' => 'Call the EnableDeletionProtection interface to enable ALB instance deletion protection. Be aware of the risks and exercise caution.', 'title' => ''], ], 'description' => '', 'title' => '', @@ -18622,20 +11011,13 @@ ], ], 'errorCodes' => [], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'GetRemediationTemplate', 'description' => 'This topic describes how to query the details of the `ACS-ALB-BulkyEnableDeletionProtection` automatic remediation template.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'GetRemediationTemplate', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRemediationTemplate'], ], ], 'ramActions' => [ @@ -18646,12 +11028,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], 'additionalActions' => [], @@ -18661,13 +11038,8 @@ ], 'GetReportFromTemplate' => [ 'summary' => 'Retrieves a report generated from a report template.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -18679,21 +11051,13 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'ReportTemplateId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the report template.', - 'type' => 'string', - 'required' => true, - 'example' => 'crt-xxx', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the report template.', 'type' => 'string', 'required' => true, 'example' => 'crt-xxx', 'title' => ''], ], ], 'responses' => [ @@ -18702,69 +11066,26 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'DE9FFFE5-FCAD-4B24-9546-BF49273C562B', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DE9FFFE5-FCAD-4B24-9546-BF49273C562B', 'title' => ''], 'TemplateReport' => [ 'description' => 'The report generated from the template.', 'type' => 'object', 'properties' => [ - 'AccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1478085326082xxx', - 'title' => '', - ], - 'ReportTemplateId' => [ - 'description' => 'The ID of the report template.', - 'type' => 'string', - 'example' => 'crt-xxx', - 'title' => '', - ], - 'TemplateReportId' => [ - 'description' => 'The ID of the report generated from the template.', - 'type' => 'string', - 'example' => 'crtr-xxx', - 'title' => '', - ], - 'Status' => [ - 'description' => 'The status of the report. Valid values:'."\n" - ."\n" - .'- COMPLETE: The report is generated.'."\n" - ."\n" - .'- CREATING: The report is being generated.'."\n" - ."\n" - .'- FAILED: The report failed to be generated.'."\n" - ."\n" - .'- TIMEOUT: The request timed out.', - 'type' => 'string', - 'example' => 'COMPLETE', - 'title' => '', - ], - 'ReportCreateStartTimestamp' => [ - 'description' => 'The timestamp when the report started to be generated. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1763540421815', - 'title' => '', - ], - 'ReportCreateEndTimestamp' => [ - 'description' => 'The timestamp when the report was generated. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1763540426815', - 'title' => '', - ], - 'ReportUrl' => [ - 'description' => 'The download URL of the report.', - 'type' => 'string', - 'example' => 'https://xxx', - 'title' => '', - ], + 'AccountId' => ['description' => 'The ID of the Alibaba Cloud account.', 'type' => 'integer', 'format' => 'int64', 'example' => '1478085326082xxx', 'title' => ''], + 'ReportTemplateId' => ['description' => 'The ID of the report template.', 'type' => 'string', 'example' => 'crt-xxx', 'title' => ''], + 'TemplateReportId' => ['description' => 'The ID of the report generated from the template.', 'type' => 'string', 'example' => 'crtr-xxx', 'title' => ''], + 'Status' => ['description' => 'The status of the report. Valid values:'."\n" + ."\n" + .'- COMPLETE: The report is generated.'."\n" + ."\n" + .'- CREATING: The report is being generated.'."\n" + ."\n" + .'- FAILED: The report failed to be generated.'."\n" + ."\n" + .'- TIMEOUT: The request timed out.', 'type' => 'string', 'example' => 'COMPLETE', 'title' => ''], + 'ReportCreateStartTimestamp' => ['description' => 'The timestamp when the report started to be generated. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1763540421815', 'title' => ''], + 'ReportCreateEndTimestamp' => ['description' => 'The timestamp when the report was generated. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1763540426815', 'title' => ''], + 'ReportUrl' => ['description' => 'The download URL of the report.', 'type' => 'string', 'example' => 'https://xxx', 'title' => ''], ], 'title' => '', 'example' => '', @@ -18777,11 +11098,7 @@ ], 'errorCodes' => [ 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'title' => 'Obtain the latest report generated based on a report template.', @@ -18794,13 +11111,8 @@ ], 'GetReportTemplate' => [ 'summary' => 'Retrieve details of a compliance report template.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -18812,22 +11124,13 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigZWSOST', - ], + 'abilityTreeNodes' => ['FEATUREconfigZWSOST'], ], 'parameters' => [ [ 'name' => 'ReportTemplateId', 'in' => 'query', - 'schema' => [ - 'description' => 'ID of the report template.', - 'type' => 'string', - 'required' => true, - 'docRequired' => false, - 'example' => 'crt-xxx', - 'title' => '', - ], + 'schema' => ['description' => 'ID of the report template.', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'crt-xxx', 'title' => ''], ], ], 'responses' => [ @@ -18840,70 +11143,35 @@ 'description' => 'Report template.', 'type' => 'object', 'properties' => [ - 'ReportTemplateId' => [ - 'description' => 'ID of the report template.', - 'type' => 'string', - 'example' => 'crt-xxx', - 'title' => '', - ], - 'ReportTemplateName' => [ - 'description' => 'Name of the report template.', - 'type' => 'string', - 'example' => 'test-name', - 'title' => '', - ], - 'SubscriptionFrequency' => [ - 'description' => 'Subscription frequency for the report. If this field is not empty, it contains a Quartz-formatted cron expression that triggers notifications.'."\n" - ."\n" - .'The format is: seconds minutes hours day-of-month month day-of-week. Common examples include the following:'."\n" - ."\n" - .'- Run daily at 00:00: 0 0 0 \\* \\* ?'."\n" - ."\n" - .'- Run every Monday at 15:30: 0 30 15 ? \\* MON'."\n" - ."\n" - .'- Run on the first day of each month at 02:00: 0 0 2 1 \\* ?'."\n" - ."\n" - .'Where:'."\n" - ."\n" - .'- "\\*" means any value.'."\n" - ."\n" - .'- "?" means no specific value for the day-of-month or day-of-week field.'."\n" - ."\n" - .'- MON means Monday.'."\n" - ."\n" - .'> Trigger times are in UTC+8. Adjust your cron expression based on your time zone.'."\n" - ."\n" - .'> The system tries to trigger notifications as close as possible to the scheduled time. Delays may occur due to report generation status. A single template can trigger at most one notification per day.'."\n" - ."\n" - .'> In Quartz, days of the week are numbered: 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday.', - 'type' => 'string', - 'example' => '0 0 0 * * ?', - 'title' => '', - ], - 'ReportTemplateDescription' => [ - 'description' => 'Description of the report template.', - 'type' => 'string', - 'example' => 'test-description', - 'title' => '', - ], - 'ReportGranularity' => [ - 'description' => 'Aggregation granularity of the report.', - 'type' => 'string', - 'example' => 'AllInOne', - 'title' => '', - ], - 'ReportFileFormats' => [ - 'description' => 'Report file format.', - 'type' => 'string', - 'example' => 'excel', - 'title' => '', - ], - 'ReportLanguage' => [ - 'description' => 'Report language. Valid values: zh-CN and en-US. Default is en-US if empty.', - 'type' => 'string', - 'example' => 'en-US', - 'title' => '', - ], + 'ReportTemplateId' => ['description' => 'ID of the report template.', 'type' => 'string', 'example' => 'crt-xxx', 'title' => ''], + 'ReportTemplateName' => ['description' => 'Name of the report template.', 'type' => 'string', 'example' => 'test-name', 'title' => ''], + 'SubscriptionFrequency' => ['description' => 'Subscription frequency for the report. If this field is not empty, it contains a Quartz-formatted cron expression that triggers notifications.'."\n" + ."\n" + .'The format is: seconds minutes hours day-of-month month day-of-week. Common examples include the following:'."\n" + ."\n" + .'- Run daily at 00:00: 0 0 0 \\* \\* ?'."\n" + ."\n" + .'- Run every Monday at 15:30: 0 30 15 ? \\* MON'."\n" + ."\n" + .'- Run on the first day of each month at 02:00: 0 0 2 1 \\* ?'."\n" + ."\n" + .'Where:'."\n" + ."\n" + .'- "\\*" means any value.'."\n" + ."\n" + .'- "?" means no specific value for the day-of-month or day-of-week field.'."\n" + ."\n" + .'- MON means Monday.'."\n" + ."\n" + .'> Trigger times are in UTC+8. Adjust your cron expression based on your time zone.'."\n" + ."\n" + .'> The system tries to trigger notifications as close as possible to the scheduled time. Delays may occur due to report generation status. A single template can trigger at most one notification per day.'."\n" + ."\n" + .'> In Quartz, days of the week are numbered: 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday.', 'type' => 'string', 'example' => '0 0 0 * * ?', 'title' => ''], + 'ReportTemplateDescription' => ['description' => 'Description of the report template.', 'type' => 'string', 'example' => 'test-description', 'title' => ''], + 'ReportGranularity' => ['description' => 'Aggregation granularity of the report.', 'type' => 'string', 'example' => 'AllInOne', 'title' => ''], + 'ReportFileFormats' => ['description' => 'Report file format.', 'type' => 'string', 'example' => 'excel', 'title' => ''], + 'ReportLanguage' => ['description' => 'Report language. Valid values: zh-CN and en-US. Default is en-US if empty.', 'type' => 'string', 'example' => 'en-US', 'title' => ''], 'ReportScope' => [ 'description' => 'Array of report scopes. Each scope defines a set of rules included in the audit report. Scopes use OR logic. That is, rules from all scopes are combined.'."\n" ."\n" @@ -18913,30 +11181,15 @@ 'description' => 'Report scope.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'Key for the report scope. Supported keys:'."\n" - ."\n" - .'- AggregatorId'."\n" - ."\n" - .'- CompliancePackId'."\n" - ."\n" - .'- RuleId', - 'type' => 'string', - 'example' => 'RuleId', - 'title' => '', - ], - 'Value' => [ - 'description' => 'Value for the report scope. For multiple values of the same type, such as multiple rule IDs, separate them with commas.', - 'type' => 'string', - 'example' => 'cr-1,cr-2', - 'title' => '', - ], - 'MatchType' => [ - 'description' => 'Matching logic. Only In is supported.', - 'type' => 'string', - 'example' => 'In', - 'title' => '', - ], + 'Key' => ['description' => 'Key for the report scope. Supported keys:'."\n" + ."\n" + .'- AggregatorId'."\n" + ."\n" + .'- CompliancePackId'."\n" + ."\n" + .'- RuleId', 'type' => 'string', 'example' => 'RuleId', 'title' => ''], + 'Value' => ['description' => 'Value for the report scope. For multiple values of the same type, such as multiple rule IDs, separate them with commas.', 'type' => 'string', 'example' => 'cr-1,cr-2', 'title' => ''], + 'MatchType' => ['description' => 'Matching logic. Only In is supported.', 'type' => 'string', 'example' => 'In', 'title' => ''], ], 'title' => '', 'example' => '', @@ -18948,12 +11201,7 @@ 'title' => '', 'example' => '', ], - 'RequestId' => [ - 'description' => 'Request ID.', - 'type' => 'string', - 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7', - 'title' => '', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7', 'title' => ''], ], 'title' => '', 'example' => '', @@ -18962,23 +11210,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ReportTemplateNotExist', - 'errorMessage' => 'Report template does not exist or invalid.', - 'description' => 'Report template does not exist, please check the input ReportTemplateId', - ], + ['errorCode' => 'ReportTemplateNotExist', 'errorMessage' => 'Report template does not exist or invalid.', 'description' => 'Report template does not exist, please check the input ReportTemplateId'], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Retrieve Compliance Report Template Details ', 'changeSet' => [], 'flowControl' => [ @@ -18988,13 +11226,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ReportTemplate\\": {\\n \\"ReportTemplateId\\": \\"crt-xxx\\",\\n \\"ReportTemplateName\\": \\"test-name\\",\\n \\"SubscriptionFrequency\\": \\"0 0 0 * * ?\\",\\n \\"ReportTemplateDescription\\": \\"test-description\\",\\n \\"ReportGranularity\\": \\"AllInOne\\",\\n \\"ReportFileFormats\\": \\"excel\\",\\n \\"ReportLanguage\\": \\"en-US\\",\\n \\"ReportScope\\": [\\n {\\n \\"Key\\": \\"RuleId\\",\\n \\"Value\\": \\"cr-1,cr-2\\",\\n \\"MatchType\\": \\"In\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7\\"\\n}","type":"json"}]', ], 'GetResourceComplianceByConfigRule' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19006,9 +11239,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ @@ -19025,24 +11256,13 @@ 'required' => false, 'docRequired' => false, 'example' => 'COMPLIANT', - 'enum' => [ - 'COMPLIANT', - 'NON_COMPLIANT', - 'NOT_APPLICABLE', - 'INSUFFICIENT_DATA', - ], + 'enum' => ['COMPLIANT', 'NON_COMPLIANT', 'NOT_APPLICABLE', 'INSUFFICIENT_DATA'], ], ], [ 'name' => 'ConfigRuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule ID.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cr-d369626622af008e****', - ], + 'schema' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-d369626622af008e****'], ], ], 'responses' => [ @@ -19054,68 +11274,40 @@ 'description' => 'The compliance result.', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of evaluated resources.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], + 'TotalCount' => ['description' => 'The total number of evaluated resources.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10'], 'Compliances' => [ 'description' => 'The compliance evaluation results based on compliance types.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ComplianceType' => [ - 'description' => 'The compliance evaluation results of the resources. Valid values:'."\n" - ."\n" - .'* COMPLIANT: The resource was evaluated as compliant.'."\n" - .'* NON_COMPLIANT: The resource was evaluated as incompliant.'."\n" - .'* NOT_APPLICABLE: The rule did not apply to your resources.'."\n" - .'* INSUFFICIENT_DATA: No resource data was available.'."\n", - 'type' => 'string', - 'example' => 'COMPLIANT', - ], - 'Count' => [ - 'description' => 'The number of resources that have compliance evaluation results. For example, if the value of the `ComplianceType` parameter is `COMPLIANT`, this parameter value indicates the number of compliant resources.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], + 'ComplianceType' => ['description' => 'The compliance evaluation results of the resources. Valid values:'."\n" + ."\n" + .'* COMPLIANT: The resource was evaluated as compliant.'."\n" + .'* NON_COMPLIANT: The resource was evaluated as incompliant.'."\n" + .'* NOT_APPLICABLE: The rule did not apply to your resources.'."\n" + .'* INSUFFICIENT_DATA: No resource data was available.'."\n", 'type' => 'string', 'example' => 'COMPLIANT'], + 'Count' => ['description' => 'The number of resources that have compliance evaluation results. For example, if the value of the `ComplianceType` parameter is `COMPLIANT`, this parameter value indicates the number of compliant resources.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5'], ], 'description' => 'N/A.'."\n", ], ], ], ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '23306AB1-34E0-468F-BD7B-68D8AEAB753d', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '23306AB1-34E0-468F-BD7B-68D8AEAB753d'], ], ], ], ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"type":"json","example":"{\\n \\"ComplianceResult\\": {\\n \\"TotalCount\\": 10,\\n \\"Compliances\\": [\\n {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"Count\\": 5\\n }\\n ]\\n },\\n \\"RequestId\\": \\"23306AB1-34E0-468F-BD7B-68D8AEAB753d\\"\\n}","errorExample":""},{"type":"xml","example":"<GetResourceComplianceByConfigRuleResponse>\\n <ComplianceResult>\\n <TotalCount>10</TotalCount>\\n <Compliances>\\n <ComplianceType>COMPLIANT</ComplianceType>\\n <Count>5</Count>\\n </Compliances>\\n </ComplianceResult>\\n <RequestId>23306AB1-34E0-468F-BD7B-68D8AEAB753d</RequestId>\\n</GetResourceComplianceByConfigRuleResponse>","errorExample":""}]', 'title' => 'GetResourceComplianceByConfigRule', 'summary' => 'Queries the compliance summary based on the compliance evaluation result of a rule.', @@ -19130,12 +11322,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], 'additionalActions' => [], @@ -19144,13 +11331,8 @@ ], 'GetResourceComplianceByPack' => [ 'summary' => 'Queries the compliance results for resources in a compliance package.', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19162,24 +11344,15 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigJVB3GZ', - ], + 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance package.'."\n" - ."\n" - .'For more information about how to get the ID of a compliance package, see [ListCompliancePacks](~~263332~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'cp-541e626622af0087****', - ], + 'schema' => ['description' => 'The ID of the compliance package.'."\n" + ."\n" + .'For more information about how to get the ID of a compliance package, see [ListCompliancePacks](~~263332~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cp-541e626622af0087****'], ], ], 'responses' => [ @@ -19192,68 +11365,22 @@ 'description' => 'The compliance results of the resources in the compliance package.', 'type' => 'object', 'properties' => [ - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance package.', - 'type' => 'string', - 'title' => '', - 'example' => 'cp-541e626622af0087****', - ], - 'InsufficientDataCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The total number of resources that the rules in the compliance package evaluate as Insufficient Data.', - 'title' => '', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => 'The total number of resources.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '10', - ], - 'NonCompliantCount' => [ - 'description' => 'The number of non-compliant resources.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '7', - ], - 'CompliantCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The number of compliant resources.'."\n" - ."\n" - .'> Note: A resource is counted each time a rule evaluates it as compliant. For example, if a resource is evaluated as compliant by two rules, it is counted twice.', - 'title' => '', - 'example' => '1', - ], - 'NotApplicableCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The number of resources that are not applicable.'."\n" - ."\n" - .'> Note: A resource is counted each time a rule evaluates it as not applicable. For example, if a resource is evaluated as not applicable by two rules, it is counted twice.', - 'title' => '', - 'example' => '1', - ], - 'IgnoredCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The number of resources whose evaluation results are ignored.', - 'title' => '', - 'example' => '1', - ], + 'CompliancePackId' => ['description' => 'The ID of the compliance package.', 'type' => 'string', 'title' => '', 'example' => 'cp-541e626622af0087****'], + 'InsufficientDataCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of resources that the rules in the compliance package evaluate as Insufficient Data.', 'title' => '', 'example' => '1'], + 'TotalCount' => ['description' => 'The total number of resources.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], + 'NonCompliantCount' => ['description' => 'The number of non-compliant resources.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '7'], + 'CompliantCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of compliant resources.'."\n" + ."\n" + .'> Note: A resource is counted each time a rule evaluates it as compliant. For example, if a resource is evaluated as compliant by two rules, it is counted twice.', 'title' => '', 'example' => '1'], + 'NotApplicableCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of resources that are not applicable.'."\n" + ."\n" + .'> Note: A resource is counted each time a rule evaluates it as not applicable. For example, if a resource is evaluated as not applicable by two rules, it is counted twice.', 'title' => '', 'example' => '1'], + 'IgnoredCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of resources whose evaluation results are ignored.', 'title' => '', 'example' => '1'], ], 'title' => '', 'example' => '', ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'], ], 'title' => '', 'example' => '', @@ -19262,25 +11389,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.CompliancePackId.Value', - 'errorMessage' => 'The specified CompliancePackId does not exist.', - 'description' => 'The specified compliance pack ID does not exist.', - ], + ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => 'The specified compliance pack ID does not exist.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ResourceComplianceResult\\": {\\n \\"CompliancePackId\\": \\"cp-541e626622af0087****\\",\\n \\"InsufficientDataCount\\": 1,\\n \\"TotalCount\\": 10,\\n \\"NonCompliantCount\\": 7,\\n \\"CompliantCount\\": 1,\\n \\"NotApplicableCount\\": 1,\\n \\"IgnoredCount\\": 1\\n },\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","type":"json"}]', @@ -19290,12 +11405,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '600', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetResourceComplianceByPack', - ], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetResourceComplianceByPack'], ], ], 'ramActions' => [ @@ -19306,26 +11416,15 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'CompliancePack', - 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'], ], ], ], ], ], 'GetResourceComplianceGroupByRegion' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19337,21 +11436,13 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigJVB3GZ', - ], + 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'], ], 'parameters' => [ [ 'name' => 'ConfigRuleIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule IDs. Separate multiple rule IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cr-2541626622af0000****', - ], + 'schema' => ['description' => 'The rule IDs. Separate multiple rule IDs with commas (,).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-2541626622af0000****'], ], ], 'responses' => [ @@ -19369,33 +11460,20 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'RegionId' => [ - 'description' => 'The region ID of the evaluated resource.'."\n", - 'type' => 'string', - 'example' => 'cn-beijing', - ], + 'RegionId' => ['description' => 'The region ID of the evaluated resource.'."\n", 'type' => 'string', 'example' => 'cn-beijing'], 'Compliances' => [ 'description' => 'The queried evaluation results.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ComplianceType' => [ - 'description' => 'The evaluation result. Valid values:'."\n" - ."\n" - .'* COMPLIANT: The resources are evaluated as compliant.'."\n" - .'* NON_COMPLIANT: The resources are evaluated as non-compliant.'."\n" - .'* NOT_APPLICABLE: The rule does not apply to the resources.'."\n" - .'* INSUFFICIENT_DATA: No resource data is available.'."\n", - 'type' => 'string', - 'example' => 'COMPLIANT', - ], - 'Count' => [ - 'description' => 'The total number of evaluation results.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + 'ComplianceType' => ['description' => 'The evaluation result. Valid values:'."\n" + ."\n" + .'* COMPLIANT: The resources are evaluated as compliant.'."\n" + .'* NON_COMPLIANT: The resources are evaluated as non-compliant.'."\n" + .'* NOT_APPLICABLE: The rule does not apply to the resources.'."\n" + .'* INSUFFICIENT_DATA: No resource data is available.'."\n", 'type' => 'string', 'example' => 'COMPLIANT'], + 'Count' => ['description' => 'The total number of evaluation results.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], ], ], @@ -19404,11 +11482,7 @@ ], ], ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0FDF8006-34A0-5334-8C79-48F64EAB34F1', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0FDF8006-34A0-5334-8C79-48F64EAB34F1'], ], 'description' => '', ], @@ -19416,30 +11490,16 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => '', - ], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"type":"json","example":"{\\n \\"ComplianceResult\\": {\\n \\"ComplianceResultList\\": [\\n {\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"Compliances\\": [\\n {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"Count\\": 1\\n }\\n ]\\n }\\n ]\\n },\\n \\"RequestId\\": \\"0FDF8006-34A0-5334-8C79-48F64EAB34F1\\"\\n}","errorExample":""},{"type":"xml","example":"<GetResourceComplianceGroupByRegionResponse>\\n <ComplianceResult>\\n <ComplianceResultList>\\n <RegionId>cn-beijing</RegionId>\\n <Compliances>\\n <ComplianceType>ACS::ECS::Instance</ComplianceType>\\n <Count>1</Count>\\n </Compliances>\\n </ComplianceResultList>\\n </ComplianceResult>\\n <RequestId>0FDF8006-34A0-5334-8C79-48F64EAB34F1</RequestId>\\n</GetResourceComplianceGroupByRegionResponse>","errorExample":""}]', 'title' => 'GetResourceComplianceGroupByRegion', 'summary' => 'Queries compliance evaluation results of resources based on a rule and displays the evaluation results grouped by region.', @@ -19452,12 +11512,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], 'additionalActions' => [], @@ -19465,14 +11520,8 @@ ], ], 'GetResourceComplianceGroupByResourceType' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19484,21 +11533,13 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6XGW41', - ], + 'abilityTreeNodes' => ['FEATUREconfig6XGW41'], ], 'parameters' => [ [ 'name' => 'ConfigRuleIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule IDs. Separate multiple rule IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'cr-a5c6626622af0058****', - ], + 'schema' => ['description' => 'The rule IDs. Separate multiple rule IDs with commas (,).'."\n", 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cr-a5c6626622af0058****'], ], ], 'responses' => [ @@ -19516,33 +11557,20 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'ResourceType' => [ - 'description' => 'The type of the evaluated resource.'."\n", - 'type' => 'string', - 'example' => 'ACS::ECS::Instance', - ], + 'ResourceType' => ['description' => 'The type of the evaluated resource.'."\n", 'type' => 'string', 'example' => 'ACS::ECS::Instance'], 'Compliances' => [ 'description' => 'The queried evaluation results.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ComplianceType' => [ - 'description' => 'The evaluation result. Valid values:'."\n" - ."\n" - .'* COMPLIANT: The resource is evaluated as compliant.'."\n" - .'* NON_COMPLIANT: The resource is evaluated as non-compliant.'."\n" - .'* NOT_APPLICABLE: The rule does not apply to the resource.'."\n" - .'* INSUFFICIENT_DATA: No data is available.'."\n", - 'type' => 'string', - 'example' => 'COMPLIANT', - ], - 'Count' => [ - 'description' => 'The total number of evaluation results.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + 'ComplianceType' => ['description' => 'The evaluation result. Valid values:'."\n" + ."\n" + .'* COMPLIANT: The resource is evaluated as compliant.'."\n" + .'* NON_COMPLIANT: The resource is evaluated as non-compliant.'."\n" + .'* NOT_APPLICABLE: The rule does not apply to the resource.'."\n" + .'* INSUFFICIENT_DATA: No data is available.'."\n", 'type' => 'string', 'example' => 'COMPLIANT'], + 'Count' => ['description' => 'The total number of evaluation results.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], ], ], @@ -19551,36 +11579,20 @@ ], ], ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '84610B68-2DD3-5AF0-B68D-E1FA8F051F7D', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '84610B68-2DD3-5AF0-B68D-E1FA8F051F7D'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => '', - ], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"ComplianceResult\\": {\\n \\"ComplianceResultList\\": [\\n {\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"Compliances\\": [\\n {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"Count\\": 1\\n }\\n ]\\n }\\n ]\\n },\\n \\"RequestId\\": \\"84610B68-2DD3-5AF0-B68D-E1FA8F051F7D\\"\\n}","errorExample":""},{"type":"xml","example":"<GetResourceComplianceGroupByResourceTypeResponse>\\n <ComplianceResult>\\n <ComplianceResultList>\\n <ResourceType>ACS::ECS::Instance</ResourceType>\\n <Compliances>\\n <ComplianceType>COMPLIANT</ComplianceType>\\n <Count>1</Count>\\n </Compliances>\\n </ComplianceResultList>\\n </ComplianceResult>\\n <RequestId>84610B68-2DD3-5AF0-B68D-E1FA8F051F7D</RequestId>\\n</GetResourceComplianceGroupByResourceTypeResponse>","errorExample":""}]', @@ -19595,12 +11607,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -19608,13 +11615,8 @@ ], 'GetResourceComplianceTimeline' => [ 'summary' => '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.', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19626,101 +11628,47 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigJVB3GZ', - ], + 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'], ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type.'."\n" - ."\n" - .'For more information about how to obtain the resource type, see [ListDiscoveredResources](~~169620~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'ACS::OSS::Bucket', - ], + 'schema' => ['description' => 'The resource type.'."\n" + ."\n" + .'For more information about how to obtain the resource type, see [ListDiscoveredResources](~~169620~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ACS::OSS::Bucket'], ], [ 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource ID.'."\n" - ."\n" - .'For more information about how to obtain the resource ID, see [ListDiscoveredResources](~~169620~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'new-bucket', - ], + 'schema' => ['description' => 'The resource ID.'."\n" + ."\n" + .'For more information about how to obtain the resource ID, see [ListDiscoveredResources](~~169620~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'new-bucket'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The start timestamp. If you do not set this parameter, the system queries data from the last 30 days. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'title' => '', - 'example' => '1623211156000', - ], + 'schema' => ['description' => 'The start timestamp. If you do not set this parameter, the system queries data from the last 30 days. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1623211156000'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The end timestamp. If you do not set this parameter, the system queries data generated up to the time of the API call. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'title' => '', - 'example' => '1625821156000', - ], + 'schema' => ['description' => 'The end timestamp. If you do not set this parameter, the system queries data generated up to the time of the API call. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1625821156000'], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries to return on a single page. Valid values: 1 to 100.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '100', - 'minimum' => '1', - 'default' => '10', - 'title' => '', - 'example' => '10', - ], + 'schema' => ['description' => 'The maximum number of entries to return on a single page. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '1', 'default' => '10', 'title' => '', 'example' => '10'], ], [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If the return value is truncated, use this token to initiate another request to retrieve the remaining entries.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'IWBjqMYSy0is7zSMGu16****', - ], + 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. If the return value is truncated, use this token to initiate another request to retrieve the remaining entries.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'IWBjqMYSy0is7zSMGu16****'], ], ], 'responses' => [ @@ -19728,113 +11676,35 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '8D53A78F-1EB8-4264-A554-72F07E34FAE6', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '8D53A78F-1EB8-4264-A554-72F07E34FAE6'], 'ResourceComplianceTimeline' => [ 'description' => 'The compliance evaluation history of the resource.', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'The token that you use to retrieve the next page of results.', - 'type' => 'string', - 'title' => '', - 'example' => '5OVS5J4I1/UKTkHV5oNs****', - ], - 'MaxResults' => [ - 'description' => 'The maximum number of entries returned per page.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '10', - ], + 'NextToken' => ['description' => 'The token that you use to retrieve the next page of results.', 'type' => 'string', 'title' => '', 'example' => '5OVS5J4I1/UKTkHV5oNs****'], + 'MaxResults' => ['description' => 'The maximum number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], 'ComplianceList' => [ 'description' => 'The list of compliance evaluation history records.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Tags' => [ - 'description' => 'The resource tags.', - 'type' => 'string', - 'title' => '', - 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}', - ], - 'AccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resource belongs.', - 'type' => 'string', - 'title' => '', - 'example' => '100931896542****', - ], - 'AvailabilityZone' => [ - 'description' => 'The zone where the resource resides.', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-hangzhou-f', - ], - 'ResourceType' => [ - 'description' => 'The resource type.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS::OSS::Bucket', - ], - 'ResourceCreateTime' => [ - 'description' => 'The timestamp when the resource was created. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1624961112000', - ], - 'Region' => [ - 'description' => 'The region ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-hangzhou', - ], - 'Configuration' => [ - 'description' => 'The list of rules associated with the resource and the compliance details of the rules.', - 'type' => 'string', - 'title' => '', - 'example' => '{\\"Compliance\\":{\\"complianceType\\":\\"COMPLIANT\\",\\"count\\":1},\\"ConfigRuleList\\":[{\\"accountId\\":100931896542****,\\"configRuleId\\":\\"cr-9524626622af003d****\\",\\"configRuleArn\\":\\"acs:config::100931896542****:rule/cr-9524626622af003d****\\",\\"configRuleName\\":\\"OSS存储空间ACL禁止公共读写\\",\\"complianceType\\":\\"COMPLIANT\\",\\"riskLevel\\":1,\\"annotation\\":\\"\\",\\"invokingEventMessageType\\":\\"ScheduledNotification\\"}]}', - ], - 'CaptureTime' => [ - 'description' => 'The timestamp when the compliance evaluation of the resource was recorded. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1625200295276', - ], - 'ConfigurationDiff' => [ - 'description' => 'The details of the resource change that triggered this evaluation.', - 'type' => 'string', - 'title' => '', - 'example' => '{\\"OSS存储空间ACL禁止公共读写\\":[{\\"accountId\\":100931896542****,\\"configRuleId\\":\\"cr-965f626622af003d****\\",\\"configRuleArn\\":\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\",\\"configRuleName\\":\\"OSS存储空间ACL禁止公共读写\\",\\"complianceType\\":\\"COMPLIANT\\",\\"riskLevel\\":1,\\"annotation\\":\\"\\",\\"invokingEventMessageType\\":\\"ScheduledNotification\\"},{}]}', - ], - 'ResourceId' => [ - 'description' => 'The resource ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'new-bucket', - ], - 'ResourceName' => [ - 'description' => 'The resource name.', - 'type' => 'string', - 'title' => '', - 'example' => 'new-bucket', - ], - 'ResourceStatus' => [ - 'description' => 'The resource status. The resource status is defined by each Alibaba Cloud service. This parameter can be empty. For example:'."\n" - ."\n" - .'- If the resource type is \\`ACS::ECS::Instance\\`, this parameter can be \\`Running\\` or \\`Stopped\\` because ECS instances are stateful.'."\n" - ."\n" - .'- If the resource type is \\`ACS::OSS::Bucket\\`, this parameter is empty because OSS buckets are stateless.', - 'type' => 'string', - 'title' => '', - 'example' => 'null', - ], + 'Tags' => ['description' => 'The resource tags.', 'type' => 'string', 'title' => '', 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}'], + 'AccountId' => ['description' => 'The ID of the Alibaba Cloud account to which the resource belongs.', 'type' => 'string', 'title' => '', 'example' => '100931896542****'], + 'AvailabilityZone' => ['description' => 'The zone where the resource resides.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou-f'], + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'title' => '', 'example' => 'ACS::OSS::Bucket'], + 'ResourceCreateTime' => ['description' => 'The timestamp when the resource was created. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1624961112000'], + 'Region' => ['description' => 'The region ID.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], + 'Configuration' => ['description' => 'The list of rules associated with the resource and the compliance details of the rules.', 'type' => 'string', 'title' => '', 'example' => '{\\"Compliance\\":{\\"complianceType\\":\\"COMPLIANT\\",\\"count\\":1},\\"ConfigRuleList\\":[{\\"accountId\\":100931896542****,\\"configRuleId\\":\\"cr-9524626622af003d****\\",\\"configRuleArn\\":\\"acs:config::100931896542****:rule/cr-9524626622af003d****\\",\\"configRuleName\\":\\"OSS存储空间ACL禁止公共读写\\",\\"complianceType\\":\\"COMPLIANT\\",\\"riskLevel\\":1,\\"annotation\\":\\"\\",\\"invokingEventMessageType\\":\\"ScheduledNotification\\"}]}'], + 'CaptureTime' => ['description' => 'The timestamp when the compliance evaluation of the resource was recorded. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1625200295276'], + 'ConfigurationDiff' => ['description' => 'The details of the resource change that triggered this evaluation.', 'type' => 'string', 'title' => '', 'example' => '{\\"OSS存储空间ACL禁止公共读写\\":[{\\"accountId\\":100931896542****,\\"configRuleId\\":\\"cr-965f626622af003d****\\",\\"configRuleArn\\":\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\",\\"configRuleName\\":\\"OSS存储空间ACL禁止公共读写\\",\\"complianceType\\":\\"COMPLIANT\\",\\"riskLevel\\":1,\\"annotation\\":\\"\\",\\"invokingEventMessageType\\":\\"ScheduledNotification\\"},{}]}'], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'new-bucket'], + 'ResourceName' => ['description' => 'The resource name.', 'type' => 'string', 'title' => '', 'example' => 'new-bucket'], + 'ResourceStatus' => ['description' => 'The resource status. The resource status is defined by each Alibaba Cloud service. This parameter can be empty. For example:'."\n" + ."\n" + .'- If the resource type is \\`ACS::ECS::Instance\\`, this parameter can be \\`Running\\` or \\`Stopped\\` because ECS instances are stateful.'."\n" + ."\n" + .'- If the resource type is \\`ACS::OSS::Bucket\\`, this parameter is empty because OSS buckets are stateless.', 'type' => 'string', 'title' => '', 'example' => 'null'], ], 'description' => '', 'title' => '', @@ -19856,25 +11726,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8D53A78F-1EB8-4264-A554-72F07E34FAE6\\",\\n \\"ResourceComplianceTimeline\\": {\\n \\"NextToken\\": \\"5OVS5J4I1/UKTkHV5oNs****\\",\\n \\"MaxResults\\": 10,\\n \\"ComplianceList\\": [\\n {\\n \\"Tags\\": \\"{\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"hc\\\\\\\\\\\\\\"\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"value2\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"]}\\",\\n \\"AccountId\\": \\"100931896542****\\",\\n \\"AvailabilityZone\\": \\"cn-hangzhou-f\\",\\n \\"ResourceType\\": \\"ACS::OSS::Bucket\\",\\n \\"ResourceCreateTime\\": 1624961112000,\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"Configuration\\": \\"{\\\\\\\\\\\\\\"Compliance\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"complianceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"COMPLIANT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":1},\\\\\\\\\\\\\\"ConfigRuleList\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"accountId\\\\\\\\\\\\\\":100931896542****,\\\\\\\\\\\\\\"configRuleId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cr-9524626622af003d****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"configRuleArn\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"acs:config::100931896542****:rule/cr-9524626622af003d****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"configRuleName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"complianceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"COMPLIANT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"riskLevel\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"annotation\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"invokingEventMessageType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ScheduledNotification\\\\\\\\\\\\\\"}]}\\",\\n \\"CaptureTime\\": 1625200295276,\\n \\"ConfigurationDiff\\": \\"{\\\\\\\\\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"accountId\\\\\\\\\\\\\\":100931896542****,\\\\\\\\\\\\\\"configRuleId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cr-965f626622af003d****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"configRuleArn\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"acs:config::100931896542****:rule/cr-965f626622af003d****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"configRuleName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"OSS存储空间ACL禁止公共读写\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"complianceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"COMPLIANT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"riskLevel\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"annotation\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"invokingEventMessageType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ScheduledNotification\\\\\\\\\\\\\\"},{}]}\\",\\n \\"ResourceId\\": \\"new-bucket\\",\\n \\"ResourceName\\": \\"new-bucket\\",\\n \\"ResourceStatus\\": \\"null\\"\\n }\\n ]\\n }\\n}","type":"json"}]', @@ -19886,12 +11744,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '500', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetResourceComplianceTimeline', - ], + ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetResourceComplianceTimeline'], ], ], 'ramActions' => [ @@ -19902,12 +11755,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -19915,13 +11763,8 @@ ], 'GetResourceConfigurationSample' => [ 'summary' => 'This operation obtains configuration samples for a specified resource type.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -19929,40 +11772,24 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type.'."\n" - ."\n" - .'For more information about how to obtain the resource type, see [ListDiscoveredResources](~~169620~~).', - 'type' => 'string', - 'required' => true, - 'title' => '', - 'example' => 'ACS::ECS::Instance', - ], + 'schema' => ['description' => 'The resource type.'."\n" + ."\n" + .'For more information about how to obtain the resource type, see [ListDiscoveredResources](~~169620~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ACS::ECS::Instance'], ], [ 'name' => 'MockOnly', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to obtain only mock data, which is not real resource data.'."\n" - .'Valid values:'."\n" - ."\n" - .'- true'."\n" - ."\n" - .'- false', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to obtain only mock data, which is not real resource data.'."\n" + .'Valid values:'."\n" + ."\n" + .'- true'."\n" + ."\n" + .'- false', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'false'], ], ], 'responses' => [ @@ -19972,92 +11799,27 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '', - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'DC300244-FCE3-5061-8214-C27ECB66****', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'DC300244-FCE3-5061-8214-C27ECB66****'], 'Sample' => [ 'description' => 'The sample.', 'type' => 'object', 'properties' => [ - 'ResourceType' => [ - 'description' => 'The resource type.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS::ECS::Instance', - ], - 'Configuration' => [ - 'description' => 'The complete configuration information of the resource.', - 'type' => 'string', - 'title' => '', - 'example' => '{\\"Status\\":\\"Running\\",\\"HibernationOptions\\":{\\"Configured\\":\\"false\\"},\\"ResourceGroupId\\":\\"rg-bp67acfmxazb4p****\\",\\"MetadataOptions\\":{\\"HttpPutResponseHopLimit\\":\\"0\\",\\"HttpTokens\\":\\"optional\\",\\"HttpEndpoint\\":\\"enabled\\"},\\"InstanceId\\":\\"i-bp67acfmxazb4p****\\",\\"InstanceChargeType\\":\\"PostPaid\\",\\"Memory\\":\\"16384\\",\\"StoppedMode\\":\\"KeepCharging\\",\\"CpuOptions\\":{\\"ThreadsPerCore\\":\\"4\\",\\"Numa\\":\\"2\\",\\"CoreCount\\":\\"2\\"},\\"StartTime\\":\\"2017-12-10T04:04Z\\",\\"Cpu\\":\\"8\\",\\"OSName\\":\\"CentOS 7.4 64 bit\\",\\"DeletionProtection\\":\\"false\\",\\"SecurityGroupIds\\":{\\"SecurityGroupId\\":[null]},\\"InstanceNetworkType\\":\\"vpc\\",\\"InnerIpAddress\\":{\\"IpAddress\\":[\\"42.112.**.**\\"]},\\"ExpiredTime\\":\\"2017-12-10T04:04Z\\",\\"EipAddress\\":{\\"AllocationId\\":\\"eip-2ze88m67qx5z****\\",\\"Bandwidth\\":\\"5\\",\\"IpAddress\\":\\"42.112.**.**\\",\\"IsSupportUnassociate\\":\\"true\\",\\"InternetChargeType\\":\\"PayByTraffic\\"},\\"ImageId\\":\\"m-bp67acfmxazb4p****\\",\\"ImageOptions\\":{\\"LoginAsNonRoot\\":\\"false\\"},\\"HostName\\":\\"testHostName\\",\\"Tags\\":{\\"Tag\\":[null]},\\"VlanId\\":\\"10\\"}', - ], - 'ResourceId' => [ - 'description' => 'The resource ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'i-bp1aaegapahkh880****', - ], - 'ResourceName' => [ - 'description' => 'The resource name.', - 'type' => 'string', - 'title' => '', - 'example' => 'my-ecs', - ], - 'ResourceStatus' => [ - 'description' => 'The resource status.', - 'type' => 'string', - 'title' => '', - 'example' => 'Running', - ], - 'ResourceDeleted' => [ - 'description' => 'The deletion status of the resource. Valid values:'."\n" - ."\n" - .'- 1: The resource is retained.'."\n" - ."\n" - .'- 0: The resource is deleted.', - 'type' => 'string', - 'title' => '', - 'example' => '1', - ], - 'ResourceCreationTime' => [ - 'description' => 'The time when the resource was created.', - 'type' => 'string', - 'title' => '', - 'example' => '1646362560000', - ], - 'Region' => [ - 'description' => 'The region ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-shanghai', - ], - 'Version' => [ - 'description' => 'The version information.', - 'type' => 'string', - 'title' => '', - 'example' => '5', - ], - 'AvailabilityZone' => [ - 'description' => 'The zone.', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-shanghai-g', - ], - 'AccountId' => [ - 'description' => 'The user ID.', - 'type' => 'string', - 'title' => '', - 'example' => '101339776561****', - ], - 'Tags' => [ - 'description' => 'The tag.', - 'type' => 'string', - 'title' => '', - 'example' => '{\\"key\\":\\"value\\"}', - ], + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'title' => '', 'example' => 'ACS::ECS::Instance'], + 'Configuration' => ['description' => 'The complete configuration information of the resource.', 'type' => 'string', 'title' => '', 'example' => '{\\"Status\\":\\"Running\\",\\"HibernationOptions\\":{\\"Configured\\":\\"false\\"},\\"ResourceGroupId\\":\\"rg-bp67acfmxazb4p****\\",\\"MetadataOptions\\":{\\"HttpPutResponseHopLimit\\":\\"0\\",\\"HttpTokens\\":\\"optional\\",\\"HttpEndpoint\\":\\"enabled\\"},\\"InstanceId\\":\\"i-bp67acfmxazb4p****\\",\\"InstanceChargeType\\":\\"PostPaid\\",\\"Memory\\":\\"16384\\",\\"StoppedMode\\":\\"KeepCharging\\",\\"CpuOptions\\":{\\"ThreadsPerCore\\":\\"4\\",\\"Numa\\":\\"2\\",\\"CoreCount\\":\\"2\\"},\\"StartTime\\":\\"2017-12-10T04:04Z\\",\\"Cpu\\":\\"8\\",\\"OSName\\":\\"CentOS 7.4 64 bit\\",\\"DeletionProtection\\":\\"false\\",\\"SecurityGroupIds\\":{\\"SecurityGroupId\\":[null]},\\"InstanceNetworkType\\":\\"vpc\\",\\"InnerIpAddress\\":{\\"IpAddress\\":[\\"42.112.**.**\\"]},\\"ExpiredTime\\":\\"2017-12-10T04:04Z\\",\\"EipAddress\\":{\\"AllocationId\\":\\"eip-2ze88m67qx5z****\\",\\"Bandwidth\\":\\"5\\",\\"IpAddress\\":\\"42.112.**.**\\",\\"IsSupportUnassociate\\":\\"true\\",\\"InternetChargeType\\":\\"PayByTraffic\\"},\\"ImageId\\":\\"m-bp67acfmxazb4p****\\",\\"ImageOptions\\":{\\"LoginAsNonRoot\\":\\"false\\"},\\"HostName\\":\\"testHostName\\",\\"Tags\\":{\\"Tag\\":[null]},\\"VlanId\\":\\"10\\"}'], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'i-bp1aaegapahkh880****'], + 'ResourceName' => ['description' => 'The resource name.', 'type' => 'string', 'title' => '', 'example' => 'my-ecs'], + 'ResourceStatus' => ['description' => 'The resource status.', 'type' => 'string', 'title' => '', 'example' => 'Running'], + 'ResourceDeleted' => ['description' => 'The deletion status of the resource. Valid values:'."\n" + ."\n" + .'- 1: The resource is retained.'."\n" + ."\n" + .'- 0: The resource is deleted.', 'type' => 'string', 'title' => '', 'example' => '1'], + 'ResourceCreationTime' => ['description' => 'The time when the resource was created.', 'type' => 'string', 'title' => '', 'example' => '1646362560000'], + 'Region' => ['description' => 'The region ID.', 'type' => 'string', 'title' => '', 'example' => 'cn-shanghai'], + 'Version' => ['description' => 'The version information.', 'type' => 'string', 'title' => '', 'example' => '5'], + 'AvailabilityZone' => ['description' => 'The zone.', 'type' => 'string', 'title' => '', 'example' => 'cn-shanghai-g'], + 'AccountId' => ['description' => 'The user ID.', 'type' => 'string', 'title' => '', 'example' => '101339776561****'], + 'Tags' => ['description' => 'The tag.', 'type' => 'string', 'title' => '', 'example' => '{\\"key\\":\\"value\\"}'], ], 'title' => '', 'example' => '', @@ -20068,9 +11830,7 @@ ], ], 'errorCodes' => [], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'GetResourceConfigurationSample', 'changeSet' => [], 'flowControl' => [ @@ -20084,12 +11844,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], 'additionalActions' => [], @@ -20099,13 +11854,8 @@ ], 'GetResourceConfigurationTimeline' => [ 'summary' => '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.', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20117,101 +11867,47 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigJVB3GZ', - ], + 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'], ], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource.'."\n" - ."\n" - .'For more information, see [ListDiscoveredResources](~~169620~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'new-bucket', - ], + 'schema' => ['description' => 'The ID of the resource.'."\n" + ."\n" + .'For more information, see [ListDiscoveredResources](~~169620~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'new-bucket'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The start timestamp of the time range to query. The value is a UNIX timestamp in milliseconds. If you do not specify this parameter, the query starts from 30 days before the current time.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'title' => '', - 'example' => '1623211156000', - ], + 'schema' => ['description' => 'The start timestamp of the time range to query. The value is a UNIX timestamp in milliseconds. If you do not specify this parameter, the query starts from 30 days before the current time.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1623211156000'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The end timestamp of the time range to query. The value is a UNIX timestamp in milliseconds. If you do not specify this parameter, the current time is used.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'title' => '', - 'example' => '1625821156000', - ], + 'schema' => ['description' => 'The end timestamp of the time range to query. The value is a UNIX timestamp in milliseconds. If you do not specify this parameter, the current time is used.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1625821156000'], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries to return for a single request. Valid values: 1 to 100.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '100', - 'minimum' => '2', - 'default' => '10', - 'title' => '', - 'example' => '10', - ], + 'schema' => ['description' => 'The maximum number of entries to return for a single request. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '2', 'default' => '10', 'title' => '', 'example' => '10'], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type.'."\n" - ."\n" - .'For more information, see [ListDiscoveredResources](~~169620~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'ACS::OSS::Bucket', - ], + 'schema' => ['description' => 'The resource type.'."\n" + ."\n" + .'For more information, see [ListDiscoveredResources](~~169620~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ACS::OSS::Bucket'], ], [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If the response of the current request is truncated, you can use this token to retrieve the next page of results.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'IWBjqMYSy0is7zSMGu16****', - ], + 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. If the response of the current request is truncated, you can use this token to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'IWBjqMYSy0is7zSMGu16****'], ], ], 'responses' => [ @@ -20220,29 +11916,13 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'ED9CD1B3-286C-4E05-A765-5E1E0B9BC2AB', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'ED9CD1B3-286C-4E05-A765-5E1E0B9BC2AB'], 'ResourceConfigurationTimeline' => [ 'description' => 'The configuration history of the resource.', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'The token that is used to retrieve the next page of results.', - 'type' => 'string', - 'title' => '', - 'example' => 'IWBjqMYSy0is7zSMGu16****', - ], - 'MaxResults' => [ - 'description' => 'The maximum number of entries returned for a single request.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '10', - ], + 'NextToken' => ['description' => 'The token that is used to retrieve the next page of results.', 'type' => 'string', 'title' => '', 'example' => 'IWBjqMYSy0is7zSMGu16****'], + 'MaxResults' => ['description' => 'The maximum number of entries returned for a single request.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], 'ConfigurationList' => [ 'description' => 'A list of configuration history records for the resource.', 'type' => 'array', @@ -20250,99 +11930,33 @@ 'description' => 'A record in the configuration history.', 'type' => 'object', 'properties' => [ - 'Tags' => [ - 'description' => 'The tags of the resource.', - 'type' => 'string', - 'title' => '', - 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}', - ], - 'AccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resource belongs.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '100931896542****', - ], - 'ResourceEventType' => [ - 'description' => 'The type of the resource change event. Valid values:'."\n" - ."\n" - .'- DISCOVERED: A resource is discovered by Cloud Config.'."\n" - ."\n" - .'- DISCOVERED\\_REVISED: A resource is discovered by Cloud Config through a periodic reconciliation task.'."\n" - ."\n" - .'- MODIFY: A resource is modified.'."\n" - ."\n" - .'- MODIFY\\_REVISED: A resource modification is recorded through a periodic reconciliation task.'."\n" - ."\n" - .'- REMOVE: A resource is deleted.'."\n" - ."\n" - .'> * To ensure data integrity, Cloud Config periodically reconciles resource data. This process can generate resource discovery events, which occur infrequently.'."\n" - .'>'."\n" - .'> * The time of an event generated by a reconciliation task is the time when the task discovers the change. This is later than the actual time of the change.', - 'type' => 'string', - 'title' => '', - 'example' => 'DISCOVERED', - ], - 'AvailabilityZone' => [ - 'description' => 'The zone.', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-hangzhou-h', - ], - 'ResourceType' => [ - 'description' => 'The resource type.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS::OSS::Bucket', - ], - 'ResourceCreateTime' => [ - 'description' => 'The timestamp when the resource was created. The value is a UNIX timestamp in milliseconds.', - 'type' => 'string', - 'title' => '', - 'example' => '1624961112000', - ], - 'Region' => [ - 'description' => 'The region ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-hangzhou', - ], - 'CaptureTime' => [ - 'description' => 'The timestamp when the resource change snapshot was recorded. The value is a UNIX timestamp in milliseconds.', - 'type' => 'string', - 'title' => '', - 'example' => '1624961156000', - ], - 'ConfigurationDiff' => [ - 'description' => 'The details of the resource configuration change.', - 'type' => 'string', - 'title' => '', - 'example' => '{\\"AccessControlList\\":[null,{\\"Grant\\":\\"private\\"}],\\"ServerSideEncryptionRule\\":[null,{\\"SSEAlgorithm\\":\\"None\\"}],\\"CreationDate\\":[null,\\"2021-06-29T10:05:12.000Z\\"],\\"Owner\\":[null,{\\"DisplayName\\":\\"100931896542****\\",\\"ID\\":\\"100931896542****\\"}],\\"BucketPolicy\\":[null,{\\"LogPrefix\\":\\"\\",\\"LogBucket\\":\\"\\"}],\\"StorageClass\\":[null,\\"Standard\\"],\\"ExtranetEndpoint\\":[null,\\"oss-cn-hangzhou.aliyuncs.com\\"],\\"DataRedundancyType\\":[null,\\"LRS\\"],\\"AllowEmptyReferer\\":[null,\\"true\\"],\\"IntranetEndpoint\\":[null,\\"oss-cn-hangzhou-internal.aliyuncs.com\\"],\\"Name\\":[null,\\"new-bucket\\"],\\"Location\\":[null,\\"oss-cn-hangzhou\\"]}', - ], - 'ResourceId' => [ - 'description' => 'The resource ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'new-bucket', - ], - 'ResourceName' => [ - 'description' => 'The resource name.', - 'type' => 'string', - 'title' => '', - 'example' => 'new-bucket', - ], - 'Relationship' => [ - 'description' => 'Details of related resources, including their region ID, relationship, resource ID, and resource type.', - 'type' => 'string', - 'title' => '', - 'example' => '""', - ], - 'RelationshipDiff' => [ - 'description' => 'The changes to the related resources.', - 'type' => 'string', - 'title' => '', - 'example' => '""', - ], + 'Tags' => ['description' => 'The tags of the resource.', 'type' => 'string', 'title' => '', 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}'], + 'AccountId' => ['description' => 'The ID of the Alibaba Cloud account to which the resource belongs.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '100931896542****'], + 'ResourceEventType' => ['description' => 'The type of the resource change event. Valid values:'."\n" + ."\n" + .'- DISCOVERED: A resource is discovered by Cloud Config.'."\n" + ."\n" + .'- DISCOVERED\\_REVISED: A resource is discovered by Cloud Config through a periodic reconciliation task.'."\n" + ."\n" + .'- MODIFY: A resource is modified.'."\n" + ."\n" + .'- MODIFY\\_REVISED: A resource modification is recorded through a periodic reconciliation task.'."\n" + ."\n" + .'- REMOVE: A resource is deleted.'."\n" + ."\n" + .'> * To ensure data integrity, Cloud Config periodically reconciles resource data. This process can generate resource discovery events, which occur infrequently.'."\n" + .'>'."\n" + .'> * The time of an event generated by a reconciliation task is the time when the task discovers the change. This is later than the actual time of the change.', 'type' => 'string', 'title' => '', 'example' => 'DISCOVERED'], + 'AvailabilityZone' => ['description' => 'The zone.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou-h'], + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'title' => '', 'example' => 'ACS::OSS::Bucket'], + 'ResourceCreateTime' => ['description' => 'The timestamp when the resource was created. The value is a UNIX timestamp in milliseconds.', 'type' => 'string', 'title' => '', 'example' => '1624961112000'], + 'Region' => ['description' => 'The region ID.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], + 'CaptureTime' => ['description' => 'The timestamp when the resource change snapshot was recorded. The value is a UNIX timestamp in milliseconds.', 'type' => 'string', 'title' => '', 'example' => '1624961156000'], + 'ConfigurationDiff' => ['description' => 'The details of the resource configuration change.', 'type' => 'string', 'title' => '', 'example' => '{\\"AccessControlList\\":[null,{\\"Grant\\":\\"private\\"}],\\"ServerSideEncryptionRule\\":[null,{\\"SSEAlgorithm\\":\\"None\\"}],\\"CreationDate\\":[null,\\"2021-06-29T10:05:12.000Z\\"],\\"Owner\\":[null,{\\"DisplayName\\":\\"100931896542****\\",\\"ID\\":\\"100931896542****\\"}],\\"BucketPolicy\\":[null,{\\"LogPrefix\\":\\"\\",\\"LogBucket\\":\\"\\"}],\\"StorageClass\\":[null,\\"Standard\\"],\\"ExtranetEndpoint\\":[null,\\"oss-cn-hangzhou.aliyuncs.com\\"],\\"DataRedundancyType\\":[null,\\"LRS\\"],\\"AllowEmptyReferer\\":[null,\\"true\\"],\\"IntranetEndpoint\\":[null,\\"oss-cn-hangzhou-internal.aliyuncs.com\\"],\\"Name\\":[null,\\"new-bucket\\"],\\"Location\\":[null,\\"oss-cn-hangzhou\\"]}'], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'new-bucket'], + 'ResourceName' => ['description' => 'The resource name.', 'type' => 'string', 'title' => '', 'example' => 'new-bucket'], + 'Relationship' => ['description' => 'Details of related resources, including their region ID, relationship, resource ID, and resource type.', 'type' => 'string', 'title' => '', 'example' => '""'], + 'RelationshipDiff' => ['description' => 'The changes to the related resources.', 'type' => 'string', 'title' => '', 'example' => '""'], ], 'title' => '', 'example' => '', @@ -20362,30 +11976,14 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], - [ - 'errorCode' => 'MemberNotBelongToMaster', - 'errorMessage' => 'The specified member does not belong to your organization.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], + ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ED9CD1B3-286C-4E05-A765-5E1E0B9BC2AB\\",\\n \\"ResourceConfigurationTimeline\\": {\\n \\"NextToken\\": \\"IWBjqMYSy0is7zSMGu16****\\",\\n \\"MaxResults\\": 10,\\n \\"ConfigurationList\\": [\\n {\\n \\"Tags\\": \\"{\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"hc\\\\\\\\\\\\\\"\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"value2\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"]}\\",\\n \\"AccountId\\": 0,\\n \\"ResourceEventType\\": \\"DISCOVERED\\",\\n \\"AvailabilityZone\\": \\"cn-hangzhou-h\\",\\n \\"ResourceType\\": \\"ACS::OSS::Bucket\\",\\n \\"ResourceCreateTime\\": \\"1624961112000\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"CaptureTime\\": \\"1624961156000\\",\\n \\"ConfigurationDiff\\": \\"{\\\\\\\\\\\\\\"AccessControlList\\\\\\\\\\\\\\":[null,{\\\\\\\\\\\\\\"Grant\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"private\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"ServerSideEncryptionRule\\\\\\\\\\\\\\":[null,{\\\\\\\\\\\\\\"SSEAlgorithm\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"CreationDate\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"2021-06-29T10:05:12.000Z\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"Owner\\\\\\\\\\\\\\":[null,{\\\\\\\\\\\\\\"DisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"100931896542****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ID\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"100931896542****\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"BucketPolicy\\\\\\\\\\\\\\":[null,{\\\\\\\\\\\\\\"LogPrefix\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"LogBucket\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"StorageClass\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"Standard\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"ExtranetEndpoint\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"oss-cn-hangzhou.aliyuncs.com\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"DataRedundancyType\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"LRS\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"AllowEmptyReferer\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"true\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"IntranetEndpoint\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"oss-cn-hangzhou-internal.aliyuncs.com\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"new-bucket\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"Location\\\\\\\\\\\\\\":[null,\\\\\\\\\\\\\\"oss-cn-hangzhou\\\\\\\\\\\\\\"]}\\",\\n \\"ResourceId\\": \\"new-bucket\\",\\n \\"ResourceName\\": \\"new-bucket\\",\\n \\"Relationship\\": \\"\\\\\\"\\\\\\"\\",\\n \\"RelationshipDiff\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', @@ -20401,12 +11999,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetResourceConfigurationTimeline', - ], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetResourceConfigurationTimeline'], ], ], 'ramActions' => [ @@ -20417,12 +12010,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -20430,14 +12018,8 @@ ], 'GetResourceInventory' => [ 'summary' => 'Queries information about the most recently generated global resource inventory for the current account.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20449,9 +12031,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6XGW41', - ], + 'abilityTreeNodes' => ['FEATUREconfig6XGW41'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], @@ -20460,39 +12040,18 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '89E2F38F-4EE4-545A-BD56-92E007ECFEE9', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '89E2F38F-4EE4-545A-BD56-92E007ECFEE9', 'title' => ''], 'ResourceInventory' => [ 'description' => 'The information about the global resource inventory.', 'type' => 'object', 'properties' => [ - 'DownloadUrl' => [ - 'description' => 'The download URL of the global resource inventory.', - 'type' => 'string', - 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_INVENTORY/100931896542****/100931896542****-RESOURCE_INVENTORY-202306251435.csv?Expires=1687678394&OSSAccessKeyId=STS.MNQ2xAAne86aVWG7WGx5f***&Signature=scdEN29shaKLcCOguj5%2FgrWIw%2FM%3D&security-token=BIASiQM1q3Ft5B2yfSjIr5bkedL7r****', - 'title' => '', - ], - 'Status' => [ - 'description' => 'The generation status of the inventory. Valid values:'."\n" - ."\n" - .'- CREATING: The inventory is being generated.'."\n" - ."\n" - .'- COMPLETE: The inventory is generated.', - 'type' => 'string', - 'example' => 'COMPLETE', - 'title' => '', - ], - 'ResourceInventoryGenerateTime' => [ - 'description' => 'The UNIX timestamp when the inventory started to be generated.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1687674634220', - 'title' => '', - ], + 'DownloadUrl' => ['description' => 'The download URL of the global resource inventory.', 'type' => 'string', 'example' => 'https://cloud-config-compliance-report.oss-cn-shanghai.aliyuncs.com/RESOURCE_INVENTORY/100931896542****/100931896542****-RESOURCE_INVENTORY-202306251435.csv?Expires=1687678394&OSSAccessKeyId=STS.MNQ2xAAne86aVWG7WGx5f***&Signature=scdEN29shaKLcCOguj5%2FgrWIw%2FM%3D&security-token=BIASiQM1q3Ft5B2yfSjIr5bkedL7r****', 'title' => ''], + 'Status' => ['description' => 'The generation status of the inventory. Valid values:'."\n" + ."\n" + .'- CREATING: The inventory is being generated.'."\n" + ."\n" + .'- COMPLETE: The inventory is generated.', 'type' => 'string', 'example' => 'COMPLETE', 'title' => ''], + 'ResourceInventoryGenerateTime' => ['description' => 'The UNIX timestamp when the inventory started to be generated.', 'type' => 'integer', 'format' => 'int64', 'example' => '1687674634220', 'title' => ''], ], 'title' => '', 'example' => '', @@ -20506,18 +12065,10 @@ ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'title' => 'GetResourceInventory', @@ -20531,12 +12082,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'GetResourceInventory', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceInventory'], ], ], 'ramActions' => [ @@ -20547,12 +12093,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -20561,13 +12102,8 @@ ], 'GetResourceTypeProperties' => [ 'summary' => 'This operation retrieves the property descriptions for a specified resource type.', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20579,24 +12115,16 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigWLDOIT', - ], + 'abilityTreeNodes' => ['FEATUREconfigWLDOIT'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type.'."\n" - ."\n" - .'For more information about how to obtain the type, see [ListDiscoveredResources](~~169620~~).', - 'type' => 'string', - 'required' => true, - 'example' => 'ACS::ECS::Instance', - 'title' => '', - ], + 'schema' => ['description' => 'The resource type.'."\n" + ."\n" + .'For more information about how to obtain the type, see [ListDiscoveredResources](~~169620~~).', 'type' => 'string', 'required' => true, 'example' => 'ACS::ECS::Instance', 'title' => ''], ], ], 'responses' => [ @@ -20604,34 +12132,23 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '0C2868BF-47EE-5441-B34B-17F080B1****', - ], - 'Configuration' => [ - 'description' => 'The property descriptions of the resource.', - 'type' => 'string', - 'required' => true, - 'example' => '['."\n" - .' {'."\n" - .' "description": "The ID of the resource group to which the instance belongs.\\n",'."\n" - .' "title": "ResourceGroupId",'."\n" - .' "type": "String",'."\n" - .' "key": "ResourceGroupId",'."\n" - .' "example": "rg-bp67acfmxazb4p****"'."\n" - .' },'."\n" - .' {'."\n" - .' "description": "The billing method of the instance. Valid values:\\n\\n* PrePaid: subscription\\n* PostPaid: pay-as-you-go\\n",'."\n" - .' "title": "InstanceChargeType",'."\n" - .' "type": "String",'."\n" - .' "key": "InstanceChargeType",'."\n" - .' "example": "PostPaid"'."\n" - .' }'."\n" - .']', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '0C2868BF-47EE-5441-B34B-17F080B1****'], + 'Configuration' => ['description' => 'The property descriptions of the resource.', 'type' => 'string', 'required' => true, 'example' => '['."\n" + .' {'."\n" + .' "description": "The ID of the resource group to which the instance belongs.\\n",'."\n" + .' "title": "ResourceGroupId",'."\n" + .' "type": "String",'."\n" + .' "key": "ResourceGroupId",'."\n" + .' "example": "rg-bp67acfmxazb4p****"'."\n" + .' },'."\n" + .' {'."\n" + .' "description": "The billing method of the instance. Valid values:\\n\\n* PrePaid: subscription\\n* PostPaid: pay-as-you-go\\n",'."\n" + .' "title": "InstanceChargeType",'."\n" + .' "type": "String",'."\n" + .' "key": "InstanceChargeType",'."\n" + .' "example": "PostPaid"'."\n" + .' }'."\n" + .']', 'title' => ''], ], 'description' => '', 'title' => '', @@ -20640,9 +12157,7 @@ ], ], 'errorCodes' => [], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'GetResourceTypeProperties', 'changeSet' => [], 'flowControl' => [ @@ -20656,12 +12171,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], 'additionalActions' => [], @@ -20670,14 +12180,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C2868BF-47EE-5441-B34B-17F080B1****\\",\\n \\"Configuration\\": \\"[\\\\n {\\\\n \\\\\\"description\\\\\\": \\\\\\"The ID of the resource group to which the instance belongs.\\\\\\\\n\\\\\\",\\\\n \\\\\\"title\\\\\\": \\\\\\"ResourceGroupId\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"String\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"ResourceGroupId\\\\\\",\\\\n \\\\\\"example\\\\\\": \\\\\\"rg-bp67acfmxazb4p****\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"description\\\\\\": \\\\\\"The billing method of the instance. Valid values:\\\\\\\\n\\\\\\\\n* PrePaid: subscription\\\\\\\\n* PostPaid: pay-as-you-go\\\\\\\\n\\\\\\",\\\\n \\\\\\"title\\\\\\": \\\\\\"InstanceChargeType\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"String\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"InstanceChargeType\\\\\\",\\\\n \\\\\\"example\\\\\\": \\\\\\"PostPaid\\\\\\"\\\\n }\\\\n]\\"\\n}","type":"json"}]', ], 'GetSupportedResourceRelationConfig' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20689,9 +12193,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigWLDOIT', - ], + 'abilityTreeNodes' => ['FEATUREconfigWLDOIT'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -20699,13 +12201,7 @@ 'name' => 'ResourceType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The resource type.', - 'type' => 'string', - 'required' => true, - 'example' => 'ACS::ECS::Instance', - 'title' => '', - ], + 'schema' => ['description' => 'The resource type.', 'type' => 'string', 'required' => true, 'example' => 'ACS::ECS::Instance', 'title' => ''], ], ], 'responses' => [ @@ -20720,26 +12216,16 @@ 'description' => 'The list of resource relations.', 'type' => 'object', 'properties' => [ - 'TargetResourceType' => [ - 'description' => 'The resource type of the relation target.', - 'type' => 'string', - 'example' => 'ACS::ECS::Disk', - 'title' => '', - ], - 'RelationType' => [ - 'description' => 'The type of the resource relation. Valid values:'."\n" - ."\n" - .'- IsContained: Is contained in.'."\n" - ."\n" - .'- IsAttachedTo: Is attached to.'."\n" - ."\n" - .'- IsAssociatedIn: Is associated with.'."\n" - ."\n" - .'- Contains: Contains.', - 'type' => 'string', - 'example' => 'IsAttachedTo', - 'title' => '', - ], + 'TargetResourceType' => ['description' => 'The resource type of the relation target.', 'type' => 'string', 'example' => 'ACS::ECS::Disk', 'title' => ''], + 'RelationType' => ['description' => 'The type of the resource relation. Valid values:'."\n" + ."\n" + .'- IsContained: Is contained in.'."\n" + ."\n" + .'- IsAttachedTo: Is attached to.'."\n" + ."\n" + .'- IsAssociatedIn: Is associated with.'."\n" + ."\n" + .'- Contains: Contains.', 'type' => 'string', 'example' => 'IsAttachedTo', 'title' => ''], ], 'title' => '', 'example' => '', @@ -20747,12 +12233,7 @@ 'title' => '', 'example' => '', ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '409D022F-394C-5AAB-A74A-2F1DC9F6375E', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '409D022F-394C-5AAB-A74A-2F1DC9F6375E', 'title' => ''], ], 'description' => '', 'title' => '', @@ -20762,25 +12243,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'title' => 'GetSupportedResourceRelationConfig', @@ -20789,25 +12258,15 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetSupportedResourceRelationConfig', - ], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetSupportedResourceRelationConfig'], ], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ResourceRelationConfigList\\": [\\n {\\n \\"TargetResourceType\\": \\"ACS::ECS::Disk\\",\\n \\"RelationType\\": \\"IsAttachedTo\\"\\n }\\n ],\\n \\"RequestId\\": \\"409D022F-394C-5AAB-A74A-2F1DC9F6375E\\"\\n}","type":"json"}]', ], 'IgnoreAggregateEvaluationResults' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20815,22 +12274,14 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the rule.'."\n" - ."\n" - .'For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cr-7e72626622af0051****', - ], + 'schema' => ['description' => 'The ID of the rule.'."\n" + ."\n" + .'For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-7e72626622af0051****'], ], [ 'name' => 'Resources', @@ -20843,39 +12294,18 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'ResourceAccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resources belong.'."\n" - ."\n" - .'> You must specify the ID of the current management account or a member account in the account group of the management account.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '120886317861****', - ], - 'ResourceType' => [ - 'description' => 'The type of the resource.'."\n" - ."\n" - .'For more information about how to query the type of a resource, see [ListAggregateDiscoveredResources](~~265983~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ACS::SLB::LoadBalancer', - ], - 'Region' => [ - 'description' => 'The ID of the region in which the resource resides.'."\n" - ."\n" - .'For more information about how to obtain the ID of a region, see [ListAggregateDiscoveredResources](~~265983~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-beijing', - ], - 'ResourceId' => [ - 'description' => 'The ID of the resource.'."\n" - ."\n" - .'For more information about how to query the ID of a resource, see [ListAggregateDiscoveredResources](~~265983~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'lb-hp3a3b4ztyfm2plgm****', - ], + 'ResourceAccountId' => ['description' => 'The ID of the Alibaba Cloud account to which the resources belong.'."\n" + ."\n" + .'> You must specify the ID of the current management account or a member account in the account group of the management account.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '120886317861****'], + 'ResourceType' => ['description' => 'The type of the resource.'."\n" + ."\n" + .'For more information about how to query the type of a resource, see [ListAggregateDiscoveredResources](~~265983~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'ACS::SLB::LoadBalancer'], + 'Region' => ['description' => 'The ID of the region in which the resource resides.'."\n" + ."\n" + .'For more information about how to obtain the ID of a region, see [ListAggregateDiscoveredResources](~~265983~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'], + 'ResourceId' => ['description' => 'The ID of the resource.'."\n" + ."\n" + .'For more information about how to query the ID of a resource, see [ListAggregateDiscoveredResources](~~265983~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'lb-hp3a3b4ztyfm2plgm****'], ], 'required' => false, ], @@ -20885,36 +12315,21 @@ [ 'name' => 'AggregatorId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ca-5b6c626622af008f****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'ca-5b6c626622af008f****'], ], [ 'name' => 'Reason', 'in' => 'formData', - 'schema' => [ - 'description' => 'The reason why you ignore the resource.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'The reason why you ignore the resource.', - ], + 'schema' => ['description' => 'The reason why you ignore the resource.'."\n", 'type' => 'string', 'required' => false, 'example' => 'The reason why you ignore the resource.'], ], [ 'name' => 'IgnoreDate', 'in' => 'formData', - 'schema' => [ - 'description' => 'The date from which the system automatically re-evaluates the ignored incompliant resources.'."\n" - ."\n" - .'> If you leave this parameter empty, the system does not automatically re-evaluate the ignored incompliant resources. You must manually re-evaluate the ignored incompliant resources.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2022-06-01', - ], + 'schema' => ['description' => 'The date from which the system automatically re-evaluates the ignored incompliant resources.'."\n" + ."\n" + .'> If you leave this parameter empty, the system does not automatically re-evaluate the ignored incompliant resources. You must manually re-evaluate the ignored incompliant resources.'."\n", 'type' => 'string', 'required' => false, 'example' => '2022-06-01'], ], ], 'responses' => [ @@ -20922,34 +12337,18 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0132CBF2-0B0B-59F2-9E84-07B38267BC32', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '0132CBF2-0B0B-59F2-9E84-07B38267BC32'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0132CBF2-0B0B-59F2-9E84-07B38267BC32\\"\\n}","errorExample":""},{"type":"xml","example":"<IgnoreAggregateEvaluationResultsResponse>\\n <RequestId>0132CBF2-0B0B-59F2-9E84-07B38267BC32</RequestId>\\n</IgnoreAggregateEvaluationResultsResponse>","errorExample":""}]', @@ -20968,12 +12367,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -20981,13 +12375,8 @@ ], 'IgnoreEvaluationResults' => [ 'summary' => '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.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20999,24 +12388,15 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule ID.'."\n" - ."\n" - .'For more information about how to obtain the rule ID, see [ListConfigRules](~~169607~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'cr-7e72626622af0051****', - ], + 'schema' => ['description' => 'The rule ID.'."\n" + ."\n" + .'For more information about how to obtain the rule ID, see [ListConfigRules](~~169607~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'cr-7e72626622af0051****'], ], [ 'name' => 'Resources', @@ -21029,41 +12409,16 @@ 'description' => 'The list of resources to be ignored.', 'type' => 'object', 'properties' => [ - 'ResourceAccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resource belongs.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'title' => '', - 'example' => '100931896542****', - ], - 'ResourceType' => [ - 'description' => 'The resource type.'."\n" - ."\n" - .'For more information about how to obtain the resource type, see [ListDiscoveredResources](~~169620~~).', - 'type' => 'string', - 'required' => true, - 'title' => '', - 'example' => 'ACS::SLB::LoadBalancer', - ], - 'Region' => [ - 'description' => 'The ID of the region to which the resource belongs.'."\n" - ."\n" - .'For more information about how to obtain the ID of the region to which the resource belongs, see [ListDiscoveredResources](~~169620~~).', - 'type' => 'string', - 'required' => true, - 'title' => '', - 'example' => 'cn-beijing', - ], - 'ResourceId' => [ - 'description' => 'The resource ID.'."\n" - ."\n" - .'For more information about how to obtain the resource ID, see [ListDiscoveredResources](~~169620~~).', - 'type' => 'string', - 'required' => true, - 'title' => '', - 'example' => 'lb-hp3a3b4ztyfm2plgm****', - ], + 'ResourceAccountId' => ['description' => 'The ID of the Alibaba Cloud account to which the resource belongs.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '100931896542****'], + 'ResourceType' => ['description' => 'The resource type.'."\n" + ."\n" + .'For more information about how to obtain the resource type, see [ListDiscoveredResources](~~169620~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ACS::SLB::LoadBalancer'], + 'Region' => ['description' => 'The ID of the region to which the resource belongs.'."\n" + ."\n" + .'For more information about how to obtain the ID of the region to which the resource belongs, see [ListDiscoveredResources](~~169620~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-beijing'], + 'ResourceId' => ['description' => 'The resource ID.'."\n" + ."\n" + .'For more information about how to obtain the resource ID, see [ListDiscoveredResources](~~169620~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'lb-hp3a3b4ztyfm2plgm****'], ], 'required' => false, 'title' => '', @@ -21077,26 +12432,14 @@ [ 'name' => 'Reason', 'in' => 'formData', - 'schema' => [ - 'description' => 'The reason for ignoring the resources.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '无需检测。', - ], + 'schema' => ['description' => 'The reason for ignoring the resources.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '无需检测。'], ], [ 'name' => 'IgnoreDate', 'in' => 'formData', - 'schema' => [ - 'description' => 'The date on which the ignored evaluation results are automatically restored.'."\n" - ."\n" - .'> If this parameter is left empty, the ignored evaluation results are not automatically restored. You must manually restore them.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '2022-06-01', - ], + 'schema' => ['description' => 'The date on which the ignored evaluation results are automatically restored.'."\n" + ."\n" + .'> If this parameter is left empty, the ignored evaluation results are not automatically restored. You must manually restore them.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2022-06-01'], ], ], 'responses' => [ @@ -21104,12 +12447,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '1840CBF2-0B0B-59F2-9E84-07B38267A279', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '1840CBF2-0B0B-59F2-9E84-07B38267A279'], ], 'description' => '', 'title' => '', @@ -21119,18 +12457,10 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1840CBF2-0B0B-59F2-9E84-07B38267A279\\"\\n}","type":"json"}]', @@ -21142,12 +12472,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '500', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'IgnoreEvaluationResults', - ], + ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'IgnoreEvaluationResults'], ], ], 'ramActions' => [ @@ -21158,26 +12483,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListAggregateCompliancePacks' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21189,91 +12503,50 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig3B4J5L', - ], + 'abilityTreeNodes' => ['FEATUREconfig3B4J5L'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the compliance pack. Valid values:'."\n" - ."\n" - .'- ACTIVE: The compliance pack is active.'."\n" - ."\n" - .'- CREATING: The compliance pack is being created.', - 'type' => 'string', - 'required' => false, - 'example' => 'ACTIVE', - 'title' => '', - ], + 'schema' => ['description' => 'The status of the compliance pack. Valid values:'."\n" + ."\n" + .'- ACTIVE: The compliance pack is active.'."\n" + ."\n" + .'- CREATING: The compliance pack is being created.', 'type' => 'string', 'required' => false, 'example' => 'ACTIVE', 'title' => ''], ], [ 'name' => 'RiskLevel', 'in' => 'query', - 'schema' => [ - 'description' => 'The risk level of the compliance pack. Valid values:'."\n" - ."\n" - .'- 1: high'."\n" - ."\n" - .'- 2: medium'."\n" - ."\n" - .'- 3: low', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The risk level of the compliance pack. Valid values:'."\n" + ."\n" + .'- 1: high'."\n" + ."\n" + .'- 2: medium'."\n" + ."\n" + .'- 3: low', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-f632626622af0079****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-f632626622af0079****', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n" - ."\n" - .'Valid values: 1 to 100. Minimum value: 1. Default value: 10.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'default' => '10', - 'example' => '20', - 'title' => '', - ], + 'schema' => ['description' => 'The number of entries to return on each page.'."\n" + ."\n" + .'Valid values: 1 to 100. Minimum value: 1. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'default' => '10', 'example' => '20', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n" - ."\n" - .'Minimum value: 1. Default value: 1.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'default' => '1', - 'example' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The page number.'."\n" + ."\n" + .'Minimum value: 1. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'default' => '1', 'example' => '1', 'title' => ''], ], [ 'name' => 'Tag', @@ -21290,20 +12563,8 @@ .'You can add up to 20 tags to a resource.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'required' => false, - 'example' => 'key-1', - 'title' => '', - ], - 'Value' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'required' => false, - 'example' => 'value-1', - 'title' => '', - ], + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'key-1', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value-1', 'title' => ''], ], 'required' => false, 'title' => '', @@ -21322,12 +12583,7 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'B5806142-3090-4F86-A84E-12B3FE52C1C4', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B5806142-3090-4F86-A84E-12B3FE52C1C4', 'title' => ''], 'CompliancePacksResult' => [ 'description' => 'The results of the query.', 'type' => 'object', @@ -21339,73 +12595,25 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The status of the compliance pack. Valid values:'."\n" - ."\n" - .'- ACTIVE: The compliance pack is active.'."\n" - ."\n" - .'- CREATING: The compliance pack is being created.', - 'type' => 'string', - 'example' => 'ACTIVE', - 'title' => '', - ], - 'RiskLevel' => [ - 'description' => 'The risk level of the compliance pack. Valid values:'."\n" - ."\n" - .'- 1: high'."\n" - ."\n" - .'- 2: medium'."\n" - ."\n" - .'- 3: low', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'CompliancePackId' => [ - 'description' => 'The compliance pack ID.', - 'type' => 'string', - 'example' => 'cp-fdc8626622af00f9****', - 'title' => '', - ], - 'Description' => [ - 'description' => 'The description of the compliance pack.', - 'type' => 'string', - 'example' => 'Check the stability of Alibaba Cloud resources based on the high-availability infrastructure, capacity protection, change management, monitoring management, backup management, and fault isolation. This helps you identify issues at the earliest opportunity and improve stability and the efficiency of O&M.', - 'title' => '', - ], - 'CompliancePackName' => [ - 'description' => 'The name of the compliance pack.', - 'type' => 'string', - 'example' => 'BestPracticesForResourceStability', - 'title' => '', - ], - 'AccountId' => [ - 'description' => 'The ID of the management account to which the compliance pack belongs.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100931896542****', - 'title' => '', - ], - 'AggregatorId' => [ - 'description' => 'The ID of the account group.', - 'type' => 'string', - 'example' => 'ca-f632626622af0079****', - 'title' => '', - ], - 'CompliancePackTemplateId' => [ - 'description' => 'The ID of the compliance pack template.', - 'type' => 'string', - 'example' => 'ct-484cff4e06a30062****', - 'title' => '', - ], - 'CreateTimestamp' => [ - 'description' => 'The timestamp when the compliance pack was created. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1624243657000', - 'title' => '', - ], + 'Status' => ['description' => 'The status of the compliance pack. Valid values:'."\n" + ."\n" + .'- ACTIVE: The compliance pack is active.'."\n" + ."\n" + .'- CREATING: The compliance pack is being created.', 'type' => 'string', 'example' => 'ACTIVE', 'title' => ''], + 'RiskLevel' => ['description' => 'The risk level of the compliance pack. Valid values:'."\n" + ."\n" + .'- 1: high'."\n" + ."\n" + .'- 2: medium'."\n" + ."\n" + .'- 3: low', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'CompliancePackId' => ['description' => 'The compliance pack ID.', 'type' => 'string', 'example' => 'cp-fdc8626622af00f9****', 'title' => ''], + 'Description' => ['description' => 'The description of the compliance pack.', 'type' => 'string', 'example' => 'Check the stability of Alibaba Cloud resources based on the high-availability infrastructure, capacity protection, change management, monitoring management, backup management, and fault isolation. This helps you identify issues at the earliest opportunity and improve stability and the efficiency of O&M.', 'title' => ''], + 'CompliancePackName' => ['description' => 'The name of the compliance pack.', 'type' => 'string', 'example' => 'BestPracticesForResourceStability', 'title' => ''], + 'AccountId' => ['description' => 'The ID of the management account to which the compliance pack belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****', 'title' => ''], + 'AggregatorId' => ['description' => 'The ID of the account group.', 'type' => 'string', 'example' => 'ca-f632626622af0079****', 'title' => ''], + 'CompliancePackTemplateId' => ['description' => 'The ID of the compliance pack template.', 'type' => 'string', 'example' => 'ct-484cff4e06a30062****', 'title' => ''], + 'CreateTimestamp' => ['description' => 'The timestamp when the compliance pack was created. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1624243657000', 'title' => ''], 'Tags' => [ 'description' => 'The tag of the resource.', 'type' => 'array', @@ -21413,18 +12621,8 @@ 'description' => 'The tag of the resource.', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'example' => 'key-1', - 'title' => '', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'example' => 'value-1', - 'title' => '', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'key-1', 'title' => ''], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'value-1', 'title' => ''], ], 'title' => '', 'example' => '', @@ -21439,27 +12637,9 @@ 'title' => '', 'example' => '', ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - 'title' => '', - ], - 'PageNumber' => [ - 'description' => 'The page number.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'TotalCount' => [ - 'description' => 'The total number of compliance packs.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - 'title' => '', - ], + 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of compliance packs.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], ], 'title' => '', 'example' => '', @@ -21472,30 +12652,14 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'title' => 'ListAggregateCompliancePacks', @@ -21505,12 +12669,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '180', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregateCompliancePacks', - ], + ['threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateCompliancePacks'], ], ], 'ramActions' => [ @@ -21521,12 +12680,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*'], ], ], ], @@ -21534,14 +12688,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B5806142-3090-4F86-A84E-12B3FE52C1C4\\",\\n \\"CompliancePacksResult\\": {\\n \\"CompliancePacks\\": [\\n {\\n \\"Status\\": \\"ACTIVE\\",\\n \\"RiskLevel\\": 1,\\n \\"CompliancePackId\\": \\"cp-fdc8626622af00f9****\\",\\n \\"Description\\": \\"Check the stability of Alibaba Cloud resources based on the high-availability infrastructure, capacity protection, change management, monitoring management, backup management, and fault isolation. This helps you identify issues at the earliest opportunity and improve stability and the efficiency of O&M.\\",\\n \\"CompliancePackName\\": \\"BestPracticesForResourceStability\\",\\n \\"AccountId\\": 0,\\n \\"AggregatorId\\": \\"ca-f632626622af0079****\\",\\n \\"CompliancePackTemplateId\\": \\"ct-484cff4e06a30062****\\",\\n \\"CreateTimestamp\\": 1624243657000,\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ]\\n }\\n ],\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1\\n }\\n}","type":"json"}]', ], 'ListAggregateConfigDeliveryChannels' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21549,33 +12697,19 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'DeliveryChannelIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of the delivery channels. Separate multiple IDs with commas (,).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cdc-d9106457e0d900b1****', - ], + 'schema' => ['description' => 'The IDs of the delivery channels. Separate multiple IDs with commas (,).'."\n", 'type' => 'string', 'required' => false, 'example' => 'cdc-d9106457e0d900b1****'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ca-a4e5626622af0079****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'ca-a4e5626622af0079****'], ], ], 'responses' => [ @@ -21591,164 +12725,82 @@ 'description' => 'N/A.'."\n", 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The status of the delivery channel. Valid values:'."\n" - ."\n" - .'* 0: The delivery channel is disabled.'."\n" - .'* 1: The delivery channel is enabled.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'DeliveryChannelName' => [ - 'description' => 'The name of the delivery channel.'."\n", - 'type' => 'string', - 'example' => 'myDeliveryChannel', - ], - 'DeliveryChannelId' => [ - 'description' => 'The ID of the delivery channel.'."\n", - 'type' => 'string', - 'example' => 'cdc-d9106457e0d900b1****', - ], - 'DeliveryChannelType' => [ - 'description' => 'The type of the delivery channel. Valid values:'."\n" - ."\n" - .'* OSS: Object Storage Service (OSS)'."\n" - .'* MNS: Message Service (MNS)'."\n" - .'* SLS: Log Service'."\n", - 'type' => 'string', - 'example' => 'OSS', - ], - 'DeliveryChannelTargetArn' => [ - 'description' => 'The ARN of the delivery destination.'."\n" - ."\n" - .'* If the value of the DeliveryChannelType parameter is OSS, the value of this parameter is the ARN of the destination OSS bucket.'."\n" - .'* If the value of the DeliveryChannelType parameter is MNS, the value of this parameter is the ARN of the destination MNS topic.'."\n" - .'* If the value of the DeliveryChannelType parameter is SLS, the value of this parameter is the ARN of the destination Log Service Logstore.'."\n", - 'type' => 'string', - 'example' => 'acs:oss:cn-shanghai:120886317861****:new-bucket', - ], - 'DeliveryChannelAssumeRoleArn' => [ - 'description' => 'The ARN of the role that is assigned to the delivery channel.'."\n", - 'type' => 'string', - 'example' => 'acs:ram::120886317861****:role/aliyunserviceroleforconfig', - ], - 'DeliveryChannelCondition' => [ - 'description' => 'The rule that is attached to the delivery channel. This parameter is available when you deliver data of all types to MNS or deliver snapshots to Log Service.'."\n" - ."\n" - .'* If the value of the DeliveryChannelType parameter is MNS, take note of the following settings of the lowest risk level and resource types of the events to which you subscribed:'."\n" - ."\n" - .' * The lowest risk level of the events to which you want to subscribe is in the following format: `{"filterType":"RuleRiskLevel","value":"1","multiple":false}`.'."\n" - ."\n" - .' The `value` field indicates the risk level of the events to which you want to subscribe. Valid values: 1, 2, and 3. The value 1 indicates the high risk level, the value 2 indicates the medium risk level, and the value 3 indicates the low risk level.'."\n" - ."\n" - .' * The setting of the resource types of the events to which you want to subscribe is in the following format: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" - ."\n" - .' The `values` field indicates the resource types of the events to which you want to subscribe. The value of the field is a JSON array. Examples:'."\n" - ."\n" - .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n" - ."\n" - .'* If you set the DeliveryChannelType parameter to SLS, the setting of the resource types of the snapshots to which you want to deliver is in the following format: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" - ."\n" - .' The `values` field specifies the resource types of the snapshots to which you want to deliver. The value of the field is a JSON array. Examples:'."\n" - ."\n" - .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n", - 'type' => 'string', - 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]', - ], - 'OversizedDataOSSTargetArn' => [ - 'description' => 'The ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the specified upper limit of the delivery channel.'."\n", - 'type' => 'string', - 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket', - ], - 'Description' => [ - 'description' => 'The description of the delivery channel.'."\n", - 'type' => 'string', - 'example' => 'My OSS delivery.', - ], - 'CompliantSnapshot' => [ - 'description' => 'Indicates whether the specified destination receives scheduled compliant snapshots. Cloud Config delivers scheduled compliant snapshots at `04:00Z` and `16:00Z` to Log Service every day. The time is displayed in UTC. Valid values:'."\n" - ."\n" - .'* true: The specified destination receives scheduled compliant snapshots.'."\n" - .'* false: The specified destination does not receive scheduled compliant snapshots.', - 'type' => 'boolean', - 'example' => 'false', - ], - 'ConfigurationSnapshot' => [ - 'description' => 'Indicates whether the specified destination receives scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots at `04:00Z` and `16:00Z` to OSS, MNS, or Log Service every day. The time is displayed in UTC. Valid values:'."\n" - ."\n" - .'* true: The specified destination receives scheduled resource snapshots.'."\n" - .'* false: The specified destination does not receive scheduled resource snapshots.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'ConfigurationItemChangeNotification' => [ - 'description' => 'Indicates whether the specified destination receives resource change logs. If the value of this parameter is true, Cloud Config delivers the resource change logs to OSS, Log Service, or MNS when the configurations of the resources change. Valid values:'."\n" - ."\n" - .'* true: The specified destination receives resource change logs.'."\n" - .'* false: The specified destination does not receive resource change logs.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'NonCompliantNotification' => [ - 'description' => 'Indicates whether the specified destination receives resource non-compliance events. If the value of this parameter is true, Cloud Config delivers resource non-compliance events to Log Service or MNS when resources are evaluated as non-compliant. Valid values:'."\n" - ."\n" - .'* true: The specified destination receives resource non-compliance events.'."\n" - .'* false: The specified destination does not receive resource non-compliance events.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'AggregatorId' => [ - 'description' => 'The ID of the account group.'."\n", - 'type' => 'string', - 'example' => 'ca-a4e5626622af0079****', - ], - 'AccountId' => [ - 'description' => 'The ID of the member in the account group.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '120886317861****', - ], - 'DeliverySnapshotTime' => [ - 'description' => 'The time when Cloud Config delivers scheduled resources snapshots every day.'."\n" - ."\n" - .'Format: `HH:mmZ`. This time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '09:10Z', - ], + 'Status' => ['description' => 'The status of the delivery channel. Valid values:'."\n" + ."\n" + .'* 0: The delivery channel is disabled.'."\n" + .'* 1: The delivery channel is enabled.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'DeliveryChannelName' => ['description' => 'The name of the delivery channel.'."\n", 'type' => 'string', 'example' => 'myDeliveryChannel'], + 'DeliveryChannelId' => ['description' => 'The ID of the delivery channel.'."\n", 'type' => 'string', 'example' => 'cdc-d9106457e0d900b1****'], + 'DeliveryChannelType' => ['description' => 'The type of the delivery channel. Valid values:'."\n" + ."\n" + .'* OSS: Object Storage Service (OSS)'."\n" + .'* MNS: Message Service (MNS)'."\n" + .'* SLS: Log Service'."\n", 'type' => 'string', 'example' => 'OSS'], + 'DeliveryChannelTargetArn' => ['description' => 'The ARN of the delivery destination.'."\n" + ."\n" + .'* If the value of the DeliveryChannelType parameter is OSS, the value of this parameter is the ARN of the destination OSS bucket.'."\n" + .'* If the value of the DeliveryChannelType parameter is MNS, the value of this parameter is the ARN of the destination MNS topic.'."\n" + .'* If the value of the DeliveryChannelType parameter is SLS, the value of this parameter is the ARN of the destination Log Service Logstore.'."\n", 'type' => 'string', 'example' => 'acs:oss:cn-shanghai:120886317861****:new-bucket'], + 'DeliveryChannelAssumeRoleArn' => ['description' => 'The ARN of the role that is assigned to the delivery channel.'."\n", 'type' => 'string', 'example' => 'acs:ram::120886317861****:role/aliyunserviceroleforconfig'], + 'DeliveryChannelCondition' => ['description' => 'The rule that is attached to the delivery channel. This parameter is available when you deliver data of all types to MNS or deliver snapshots to Log Service.'."\n" + ."\n" + .'* If the value of the DeliveryChannelType parameter is MNS, take note of the following settings of the lowest risk level and resource types of the events to which you subscribed:'."\n" + ."\n" + .' * The lowest risk level of the events to which you want to subscribe is in the following format: `{"filterType":"RuleRiskLevel","value":"1","multiple":false}`.'."\n" + ."\n" + .' The `value` field indicates the risk level of the events to which you want to subscribe. Valid values: 1, 2, and 3. The value 1 indicates the high risk level, the value 2 indicates the medium risk level, and the value 3 indicates the low risk level.'."\n" + ."\n" + .' * The setting of the resource types of the events to which you want to subscribe is in the following format: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" + ."\n" + .' The `values` field indicates the resource types of the events to which you want to subscribe. The value of the field is a JSON array. Examples:'."\n" + ."\n" + .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n" + ."\n" + .'* If you set the DeliveryChannelType parameter to SLS, the setting of the resource types of the snapshots to which you want to deliver is in the following format: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" + ."\n" + .' The `values` field specifies the resource types of the snapshots to which you want to deliver. The value of the field is a JSON array. Examples:'."\n" + ."\n" + .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n", 'type' => 'string', 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]'], + 'OversizedDataOSSTargetArn' => ['description' => 'The ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the specified upper limit of the delivery channel.'."\n", 'type' => 'string', 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket'], + 'Description' => ['description' => 'The description of the delivery channel.'."\n", 'type' => 'string', 'example' => 'My OSS delivery.'], + 'CompliantSnapshot' => ['description' => 'Indicates whether the specified destination receives scheduled compliant snapshots. Cloud Config delivers scheduled compliant snapshots at `04:00Z` and `16:00Z` to Log Service every day. The time is displayed in UTC. Valid values:'."\n" + ."\n" + .'* true: The specified destination receives scheduled compliant snapshots.'."\n" + .'* false: The specified destination does not receive scheduled compliant snapshots.', 'type' => 'boolean', 'example' => 'false'], + 'ConfigurationSnapshot' => ['description' => 'Indicates whether the specified destination receives scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots at `04:00Z` and `16:00Z` to OSS, MNS, or Log Service every day. The time is displayed in UTC. Valid values:'."\n" + ."\n" + .'* true: The specified destination receives scheduled resource snapshots.'."\n" + .'* false: The specified destination does not receive scheduled resource snapshots.'."\n", 'type' => 'boolean', 'example' => 'false'], + 'ConfigurationItemChangeNotification' => ['description' => 'Indicates whether the specified destination receives resource change logs. If the value of this parameter is true, Cloud Config delivers the resource change logs to OSS, Log Service, or MNS when the configurations of the resources change. Valid values:'."\n" + ."\n" + .'* true: The specified destination receives resource change logs.'."\n" + .'* false: The specified destination does not receive resource change logs.'."\n", 'type' => 'boolean', 'example' => 'true'], + 'NonCompliantNotification' => ['description' => 'Indicates whether the specified destination receives resource non-compliance events. If the value of this parameter is true, Cloud Config delivers resource non-compliance events to Log Service or MNS when resources are evaluated as non-compliant. Valid values:'."\n" + ."\n" + .'* true: The specified destination receives resource non-compliance events.'."\n" + .'* false: The specified destination does not receive resource non-compliance events.'."\n", 'type' => 'boolean', 'example' => 'false'], + 'AggregatorId' => ['description' => 'The ID of the account group.'."\n", 'type' => 'string', 'example' => 'ca-a4e5626622af0079****'], + 'AccountId' => ['description' => 'The ID of the member in the account group.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '120886317861****'], + 'DeliverySnapshotTime' => ['description' => 'The time when Cloud Config delivers scheduled resources snapshots every day.'."\n" + ."\n" + .'Format: `HH:mmZ`. This time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '09:10Z'], ], ], ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'DeliveryChannelNotExists', - 'errorMessage' => 'The delivery channel does not exist.', - 'description' => '', - ], + ['errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"DeliveryChannels\\": [\\n {\\n \\"Status\\": 1,\\n \\"DeliveryChannelName\\": \\"myDeliveryChannel\\",\\n \\"DeliveryChannelId\\": \\"cdc-d9106457e0d900b1****\\",\\n \\"DeliveryChannelType\\": \\"OSS\\",\\n \\"DeliveryChannelTargetArn\\": \\"acs:oss:cn-shanghai:120886317861****:new-bucket\\",\\n \\"DeliveryChannelAssumeRoleArn\\": \\"acs:ram::120886317861****:role/aliyunserviceroleforconfig\\",\\n \\"DeliveryChannelCondition\\": \\"[{\\\\\\"filterType\\\\\\":\\\\\\"ResourceType\\\\\\",\\\\\\"values\\\\\\":[\\\\\\"ACS::ActionTrail::Trail\\\\\\",\\\\\\"ACS::CBWP::CommonBandwidthPackage\\\\\\",\\\\\\"ACS::CDN::Domain\\\\\\",\\\\\\"ACS::CEN::CenBandwidthPackage\\\\\\",\\\\\\"ACS::CEN::CenInstance\\\\\\",\\\\\\"ACS::CEN::Flowlog\\\\\\",\\\\\\"ACS::DdosCoo::Instance\\\\\\"],\\\\\\"multiple\\\\\\":true}]\\",\\n \\"OversizedDataOSSTargetArn\\": \\"acs:oss:cn-shanghai:100931896542****:new-bucket\\",\\n \\"Description\\": \\"My OSS delivery.\\",\\n \\"CompliantSnapshot\\": false,\\n \\"ConfigurationSnapshot\\": false,\\n \\"ConfigurationItemChangeNotification\\": true,\\n \\"NonCompliantNotification\\": false,\\n \\"AggregatorId\\": \\"ca-a4e5626622af0079****\\",\\n \\"AccountId\\": 0,\\n \\"DeliverySnapshotTime\\": \\"09:10Z\\"\\n }\\n ],\\n \\"RequestId\\": \\"DC300244-FCE3-5061-8214-C27ECB668487\\"\\n}","errorExample":""},{"type":"xml","example":"<ListAggregateConfigDeliveryChannelsResponse>\\n <DeliveryChannels>\\n <Status>1</Status>\\n <DeliveryChannelName>myDeliveryChannel</DeliveryChannelName>\\n <DeliveryChannelId>cdc-d9106457e0d900b1****</DeliveryChannelId>\\n <DeliveryChannelType>OSS</DeliveryChannelType>\\n <DeliveryChannelTargetArn>acs:oss:cn-shanghai:120886317861****:new-bucket</DeliveryChannelTargetArn>\\n <DeliveryChannelAssumeRoleArn>acs:ram::120886317861****:role/aliyunserviceroleforconfig</DeliveryChannelAssumeRoleArn>\\n <DeliveryChannelCondition>[{\\"filterType\\":\\"ResourceType\\",\\"values\\":[\\"ACS::ActionTrail::Trail\\",\\"ACS::CBWP::CommonBandwidthPackage\\",\\"ACS::CDN::Domain\\",\\"ACS::CEN::CenBandwidthPackage\\",\\"ACS::CEN::CenInstance\\",\\"ACS::CEN::Flowlog\\",\\"ACS::DdosCoo::Instance\\"],\\"multiple\\":true}]</DeliveryChannelCondition>\\n <OversizedDataOSSTargetArn>acs:oss:cn-shanghai:100931896542****:new-bucket</OversizedDataOSSTargetArn>\\n <Description>My OSS delivery.</Description>\\n <ConfigurationSnapshot>false</ConfigurationSnapshot>\\n <ConfigurationItemChangeNotification>true</ConfigurationItemChangeNotification>\\n <NonCompliantNotification>false</NonCompliantNotification>\\n <AggregatorId>ca-a4e5626622af0079****</AggregatorId>\\n <DeliverySnapshotTime>09:10Z</DeliverySnapshotTime>\\n </DeliveryChannels>\\n <RequestId>DC300244-FCE3-5061-8214-C27ECB668487</RequestId>\\n</ListAggregateConfigDeliveryChannelsResponse>","errorExample":""}]', @@ -21764,12 +12816,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -21777,14 +12824,8 @@ ], 'ListAggregateConfigRuleEvaluationResults' => [ 'summary' => 'Queries the evaluation results of a rule for resources in a specified account group.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21796,9 +12837,7 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigNPMEKB', - ], + 'abilityTreeNodes' => ['FEATUREconfigNPMEKB'], ], 'parameters' => [ [ @@ -21816,21 +12855,9 @@ .'- INSUFFICIENT\\_DATA: No data is available.'."\n" ."\n" .'- IGNORED: The evaluation result is ignored.', - 'enumValueTitles' => [ - 'NOT_APPLICABLE' => 'NOT\\_APPLICABLE', - 'COMPLIANT' => 'COMPLIANT', - 'NON_COMPLIANT' => 'NON\\_COMPLIANT', - 'INSUFFICIENT_DATA' => 'INSUFFICIENT\\_DATA', - 'IGNORED' => 'IGNORED', - ], + 'enumValueTitles' => ['NOT_APPLICABLE' => 'NOT\\_APPLICABLE', 'COMPLIANT' => 'COMPLIANT', 'NON_COMPLIANT' => 'NON\\_COMPLIANT', 'INSUFFICIENT_DATA' => 'INSUFFICIENT\\_DATA', 'IGNORED' => 'IGNORED'], 'type' => 'string', - 'enum' => [ - 'COMPLIANT', - 'NON_COMPLIANT', - 'NOT_APPLICABLE', - 'INSUFFICIENT_DATA', - 'IGNORED', - ], + 'enum' => ['COMPLIANT', 'NON_COMPLIANT', 'NOT_APPLICABLE', 'INSUFFICIENT_DATA', 'IGNORED'], 'required' => false, 'example' => 'NON_COMPLIANT', 'title' => '', @@ -21839,116 +12866,58 @@ [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is returned when the response is truncated. Use this token in the next request to retrieve the next page of results.', - 'type' => 'string', - 'required' => false, - 'example' => 'IWBjqMYSy0is7zSMGu16****', - 'title' => '', - ], + 'schema' => ['description' => 'The pagination token that is returned when the response is truncated. Use this token in the next request to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'example' => 'IWBjqMYSy0is7zSMGu16****', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => [ - 'description' => 'The maximum number of entries to return on a single page. Valid values: 1 to 100.', - 'type' => 'integer', - 'format' => 'int32', - 'maximum' => '100', - 'exclusiveMaximum' => false, - 'minimum' => '1', - 'exclusiveMinimum' => false, - 'default' => '10', - 'required' => false, - 'example' => '10', + 'description' => 'The maximum number of entries to return on a single page. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, 'default' => '10', 'required' => false, 'example' => '10', 'title' => '', ], ], [ 'name' => 'ConfigRuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule ID.'."\n" - ."\n" - .'For more information about how to obtain a rule ID, see [ListAggregateConfigRules](~~264148~~).', - 'type' => 'string', - 'required' => false, - 'example' => 'cr-888f626622af00ae****', - 'title' => '', - ], + 'schema' => ['description' => 'The rule ID.'."\n" + ."\n" + .'For more information about how to obtain a rule ID, see [ListAggregateConfigRules](~~264148~~).', 'type' => 'string', 'required' => false, 'example' => 'cr-888f626622af00ae****', 'title' => ''], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'example' => 'ca-b1e6626622af00cb****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'example' => 'ca-b1e6626622af00cb****', 'title' => ''], ], [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance package.'."\n" - ."\n" - .'For more information about how to obtain the ID of a compliance package, see [ListAggregateCompliancePacks](~~262059~~).', - 'type' => 'string', - 'required' => false, - 'example' => 'cp-f1e3326622af00cb****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the compliance package.'."\n" + ."\n" + .'For more information about how to obtain the ID of a compliance package, see [ListAggregateCompliancePacks](~~262059~~).', 'type' => 'string', 'required' => false, 'example' => 'cp-f1e3326622af00cb****', 'title' => ''], ], [ 'name' => 'Regions', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region where the resource resides. Separate multiple region IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the region where the resource resides. Separate multiple region IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ResourceTypes', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type. Separate multiple resource types with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'ACS::ECS::Instance', - 'title' => '', - ], + 'schema' => ['description' => 'The resource type. Separate multiple resource types with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', 'title' => ''], ], [ 'name' => 'ResourceGroupIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the resource belongs. Separate multiple resource group IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aek2cqyzvuj****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the resource group to which the resource belongs. Separate multiple resource group IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'rg-aek2cqyzvuj****', 'title' => ''], ], [ 'name' => 'ResourceAccountId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resource in the account group belongs.'."\n" - ."\n" - .'> Specify this parameter or \\`ResourceOwnerId\\`. We recommend that you specify this parameter.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100931896542****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the Alibaba Cloud account to which the resource in the account group belongs.'."\n" + ."\n" + .'> Specify this parameter or \\`ResourceOwnerId\\`. We recommend that you specify this parameter.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100931896542****', 'title' => ''], ], ], 'responses' => [ @@ -21956,191 +12925,79 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'A6662516-D056-4325-B6A7-CD3E89C97C39', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A6662516-D056-4325-B6A7-CD3E89C97C39', 'title' => ''], 'EvaluationResults' => [ 'description' => 'The collection of evaluation results.', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.', - 'type' => 'string', - 'example' => 'IWBjqMYSy0is7zSMGu16****', - 'title' => '', - ], - 'MaxResults' => [ - 'description' => 'The maximum number of entries returned per page.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - 'title' => '', - ], + 'NextToken' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results.', 'type' => 'string', 'example' => 'IWBjqMYSy0is7zSMGu16****', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'EvaluationResultList' => [ 'description' => 'A list of evaluation results.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => 'The risk level of the rule. Valid values:'."\n" - ."\n" - .'- 1: high risk.'."\n" - ."\n" - .'- 2: medium risk.'."\n" - ."\n" - .'- 3: low risk.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'ComplianceType' => [ - 'description' => 'The compliance evaluation result. Valid values:'."\n" - ."\n" - .'- COMPLIANT: The resource is compliant.'."\n" - ."\n" - .'- NON\\_COMPLIANT: The resource is non-compliant.'."\n" - ."\n" - .'- NOT\\_APPLICABLE: The rule does not apply to the resource.'."\n" - ."\n" - .'- INSUFFICIENT\\_DATA: No data is available.'."\n" - ."\n" - .'- IGNORED: The evaluation result is ignored.', - 'type' => 'string', - 'example' => 'NON_COMPLIANT', - 'title' => '', - ], - 'ResultRecordedTimestamp' => [ - 'description' => 'The timestamp when the evaluation result was recorded. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1624869013065', - 'title' => '', - ], - 'Annotation' => [ - 'description' => 'The annotation of the non-compliant resource. The annotation may include the following information:'."\n" - ."\n" - .'- `configuration`: the current configuration of the resource, which is the non-compliant configuration.'."\n" - ."\n" - .'- `desiredValue`: the expected configuration of the resource, which is the compliant configuration.'."\n" - ."\n" - .'- `operator`: the comparison operator that is used to compare the current configuration with the expected configuration.'."\n" - ."\n" - .'- `property`: the JSON path of the current configuration in the resource property struct.'."\n" - ."\n" - .'- `reason`: the reason why the resource is non-compliant.', - 'type' => 'string', - 'example' => '{\\"configuration\\":\\"LRS\\",\\"desiredValue\\":\\"ZRS\\",\\"operator\\":\\"StringEquals\\",\\"property\\":\\"$.DataRedundancyType\\"}', - 'title' => '', - ], - 'ConfigRuleInvokedTimestamp' => [ - 'description' => 'The timestamp when the rule was triggered to evaluate the resource. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1624869012713', - 'title' => '', - ], - 'InvokingEventMessageType' => [ - 'description' => 'The trigger type of the rule. Valid values:'."\n" - ."\n" - .'- ConfigurationItemChangeNotification: The rule is triggered by a configuration change.'."\n" - ."\n" - .'- ScheduledNotification: The rule is triggered periodically.', - 'type' => 'string', - 'example' => 'ScheduledNotification', - 'title' => '', - ], + 'RiskLevel' => ['description' => 'The risk level of the rule. Valid values:'."\n" + ."\n" + .'- 1: high risk.'."\n" + ."\n" + .'- 2: medium risk.'."\n" + ."\n" + .'- 3: low risk.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'ComplianceType' => ['description' => 'The compliance evaluation result. Valid values:'."\n" + ."\n" + .'- COMPLIANT: The resource is compliant.'."\n" + ."\n" + .'- NON\\_COMPLIANT: The resource is non-compliant.'."\n" + ."\n" + .'- NOT\\_APPLICABLE: The rule does not apply to the resource.'."\n" + ."\n" + .'- INSUFFICIENT\\_DATA: No data is available.'."\n" + ."\n" + .'- IGNORED: The evaluation result is ignored.', 'type' => 'string', 'example' => 'NON_COMPLIANT', 'title' => ''], + 'ResultRecordedTimestamp' => ['description' => 'The timestamp when the evaluation result was recorded. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1624869013065', 'title' => ''], + 'Annotation' => ['description' => 'The annotation of the non-compliant resource. The annotation may include the following information:'."\n" + ."\n" + .'- `configuration`: the current configuration of the resource, which is the non-compliant configuration.'."\n" + ."\n" + .'- `desiredValue`: the expected configuration of the resource, which is the compliant configuration.'."\n" + ."\n" + .'- `operator`: the comparison operator that is used to compare the current configuration with the expected configuration.'."\n" + ."\n" + .'- `property`: the JSON path of the current configuration in the resource property struct.'."\n" + ."\n" + .'- `reason`: the reason why the resource is non-compliant.', 'type' => 'string', 'example' => '{\\"configuration\\":\\"LRS\\",\\"desiredValue\\":\\"ZRS\\",\\"operator\\":\\"StringEquals\\",\\"property\\":\\"$.DataRedundancyType\\"}', 'title' => ''], + 'ConfigRuleInvokedTimestamp' => ['description' => 'The timestamp when the rule was triggered to evaluate the resource. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1624869012713', 'title' => ''], + 'InvokingEventMessageType' => ['description' => 'The trigger type of the rule. Valid values:'."\n" + ."\n" + .'- ConfigurationItemChangeNotification: The rule is triggered by a configuration change.'."\n" + ."\n" + .'- ScheduledNotification: The rule is triggered periodically.', 'type' => 'string', 'example' => 'ScheduledNotification', 'title' => ''], 'EvaluationResultIdentifier' => [ 'description' => 'The identifier of the evaluation result.', 'type' => 'object', 'properties' => [ - 'OrderingTimestamp' => [ - 'description' => 'The timestamp that is displayed on the timeline. Unit: milliseconds.'."\n" - ."\n" - .'> This is the timestamp when the rule was triggered to evaluate the resource. It is the same as the value of the `ConfigRuleInvokedTimestamp` parameter.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1624869012713', - 'title' => '', - ], + 'OrderingTimestamp' => ['description' => 'The timestamp that is displayed on the timeline. Unit: milliseconds.'."\n" + ."\n" + .'> This is the timestamp when the rule was triggered to evaluate the resource. It is the same as the value of the `ConfigRuleInvokedTimestamp` parameter.', 'type' => 'integer', 'format' => 'int64', 'example' => '1624869012713', 'title' => ''], 'EvaluationResultQualifier' => [ 'description' => 'The information about the resource that is evaluated.', 'type' => 'object', 'properties' => [ - 'ResourceOwnerId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resource belongs.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '173808452267****', - 'title' => '', - ], - 'ConfigRuleArn' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the rule.', - 'type' => 'string', - 'example' => 'acs:config::100931896542****:rule/cr-888f626622af00ae****', - 'title' => '', - ], - 'ResourceType' => [ - 'description' => 'The resource type.', - 'type' => 'string', - 'example' => 'ACS::OSS::Bucket', - 'title' => '', - ], - 'ConfigRuleName' => [ - 'description' => 'The name of the rule.', - 'type' => 'string', - 'example' => 'OSS存储空间开启同城冗余存储', - 'title' => '', - ], - 'ResourceGroupId' => [ - 'description' => 'The ID of the resource group to which the resource belongs.', - 'type' => 'string', - 'required' => true, - 'example' => 'rg-acfm26cicib****', - 'title' => '', - ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.', - 'type' => 'string', - 'example' => 'cr-888f626622af00ae****', - 'title' => '', - ], - 'ResourceName' => [ - 'description' => 'The resource name.', - 'type' => 'string', - 'example' => 'Bucket-test', - 'title' => '', - ], - 'RegionId' => [ - 'description' => 'The ID of the region to which the resource belongs.', - 'type' => 'string', - 'example' => 'cn-hangzhou', - 'title' => '', - ], - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance package to which the rule belongs.', - 'type' => 'string', - 'example' => 'cr-7263fd26622af00bc****', - 'title' => '', - ], - 'IgnoreDate' => [ - 'description' => 'The date when the ignored evaluation result is automatically restored.'."\n" - ."\n" - .'> If this parameter is empty, the result is not automatically restored. You must manually restore it.', - 'type' => 'string', - 'example' => '2022-06-01', - 'title' => '', - ], - 'ResourceId' => [ - 'description' => 'The resource ID.', - 'type' => 'string', - 'example' => 'Bucket-test', - 'title' => '', - ], + 'ResourceOwnerId' => ['description' => 'The ID of the Alibaba Cloud account to which the resource belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '173808452267****', 'title' => ''], + 'ConfigRuleArn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the rule.', 'type' => 'string', 'example' => 'acs:config::100931896542****:rule/cr-888f626622af00ae****', 'title' => ''], + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'ACS::OSS::Bucket', 'title' => ''], + 'ConfigRuleName' => ['description' => 'The name of the rule.', 'type' => 'string', 'example' => 'OSS存储空间开启同城冗余存储', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The ID of the resource group to which the resource belongs.', 'type' => 'string', 'required' => true, 'example' => 'rg-acfm26cicib****', 'title' => ''], + 'ConfigRuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => 'cr-888f626622af00ae****', 'title' => ''], + 'ResourceName' => ['description' => 'The resource name.', 'type' => 'string', 'example' => 'Bucket-test', 'title' => ''], + 'RegionId' => ['description' => 'The ID of the region to which the resource belongs.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'CompliancePackId' => ['description' => 'The ID of the compliance package to which the rule belongs.', 'type' => 'string', 'example' => 'cr-7263fd26622af00bc****', 'title' => ''], + 'IgnoreDate' => ['description' => 'The date when the ignored evaluation result is automatically restored.'."\n" + ."\n" + .'> If this parameter is empty, the result is not automatically restored. You must manually restore it.', 'type' => 'string', 'example' => '2022-06-01', 'title' => ''], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'example' => 'Bucket-test', 'title' => ''], ], 'title' => '', 'example' => '', @@ -22149,36 +13006,14 @@ 'title' => '', 'example' => '', ], - 'RemediationEnabled' => [ - 'description' => 'Indicates whether the remediation setting is enabled. Valid values:'."\n" - ."\n" - .'- true: The remediation setting is enabled.'."\n" - ."\n" - .'- false: The remediation setting is not enabled.', - 'type' => 'boolean', - 'example' => 'false', - 'title' => '', - ], - 'EvaluationId' => [ - 'description' => 'The unique ID of the evaluation result.', - 'type' => 'string', - 'example' => '00000089-4e0d-58b5-a96a-8e54112110f3', - 'title' => '', - ], - 'LastNonCompliantRecordTimestamp' => [ - 'description' => 'The timestamp when the resource last became non-compliant.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1744696393000', - 'title' => '', - ], - 'LastCompliantFixedTimestamp' => [ - 'description' => 'The timestamp when the resource was last remediated to a compliant state. This parameter is not returned if a new resource or rule is evaluated as compliant for the first time.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1768788515723', - 'title' => '', - ], + 'RemediationEnabled' => ['description' => 'Indicates whether the remediation setting is enabled. Valid values:'."\n" + ."\n" + .'- true: The remediation setting is enabled.'."\n" + ."\n" + .'- false: The remediation setting is not enabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'EvaluationId' => ['description' => 'The unique ID of the evaluation result.', 'type' => 'string', 'example' => '00000089-4e0d-58b5-a96a-8e54112110f3', 'title' => ''], + 'LastNonCompliantRecordTimestamp' => ['description' => 'The timestamp when the resource last became non-compliant.', 'type' => 'integer', 'format' => 'int64', 'example' => '1744696393000', 'title' => ''], + 'LastCompliantFixedTimestamp' => ['description' => 'The timestamp when the resource was last remediated to a compliant state. This parameter is not returned if a new resource or rule is evaluated as compliant for the first time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1768788515723', 'title' => ''], ], 'description' => '', 'title' => '', @@ -22200,56 +13035,25 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], - [ - 'errorCode' => 'Invalid.CompliancePackId.Value', - 'errorMessage' => 'The specified CompliancePackId does not exist.', - 'description' => 'The specified compliance pack ID does not exist.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], + ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => 'The specified compliance pack ID does not exist.'], ], 404 => [ - [ - 'errorCode' => 'CloudConfigServiceRoleNotExisted', - 'errorMessage' => 'The CloudConfigServiceRole does not exist.', - 'description' => '', - ], - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'CloudConfigServiceRoleNotExisted', 'errorMessage' => 'The CloudConfigServiceRole does not exist.', 'description' => ''], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'ListAggregateConfigRuleEvaluationResults', 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '600', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregateConfigRuleEvaluationResults', - ], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateConfigRuleEvaluationResults'], ], ], 'ramActions' => [ @@ -22260,12 +13064,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], 'additionalActions' => [], @@ -22275,14 +13074,8 @@ ], 'ListAggregateConfigRuleEvaluationStatistics' => [ 'summary' => 'Queries the statistics of compliance evaluation results of an account group.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22294,24 +13087,16 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ca-edd3626622af00b3****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'ca-edd3626622af00b3****', 'title' => ''], ], ], 'responses' => [ @@ -22319,12 +13104,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '9EFA436B-FC6F-513B-9DB8-C96E6CEBE5E0', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '9EFA436B-FC6F-513B-9DB8-C96E6CEBE5E0', 'title' => ''], 'EvaluationResults' => [ 'description' => 'The statistics of compliance evaluation results.'."\n", 'type' => 'array', @@ -22332,46 +13112,12 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'AggregatorId' => [ - 'description' => 'The ID of the account group.'."\n", - 'type' => 'string', - 'example' => 'ca-edd3626622af00b3****', - 'title' => '', - ], - 'NonCompliantResourceCnt' => [ - 'description' => 'The number of resources that are evaluated as non-compliant.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '25', - 'title' => '', - ], - 'TotalResourceCnt' => [ - 'description' => 'The total number of resources.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '153', - 'title' => '', - ], - 'NonCompliantRuleCnt' => [ - 'description' => 'The number of rules based on which resources are evaluated as non-compliant.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - 'title' => '', - ], - 'TotalRuleCnt' => [ - 'description' => 'The total number of rules.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - 'title' => '', - ], - 'StatisticDate' => [ - 'description' => 'The date on which the statistics are obtained.'."\n", - 'type' => 'string', - 'example' => '2023-06-27', - 'title' => '', - ], + 'AggregatorId' => ['description' => 'The ID of the account group.'."\n", 'type' => 'string', 'example' => 'ca-edd3626622af00b3****', 'title' => ''], + 'NonCompliantResourceCnt' => ['description' => 'The number of resources that are evaluated as non-compliant.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '25', 'title' => ''], + 'TotalResourceCnt' => ['description' => 'The total number of resources.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '153', 'title' => ''], + 'NonCompliantRuleCnt' => ['description' => 'The number of rules based on which resources are evaluated as non-compliant.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'TotalRuleCnt' => ['description' => 'The total number of rules.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'StatisticDate' => ['description' => 'The date on which the statistics are obtained.'."\n", 'type' => 'string', 'example' => '2023-06-27', 'title' => ''], ], 'title' => '', 'example' => '', @@ -22388,23 +13134,11 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], - [ - 'errorCode' => 'Invalid.ResourceOwnerId.Value', - 'errorMessage' => 'The specified ResourceOwnerId is invalid.', - 'description' => 'The specified ResourceOwnerId is invalid.', - ], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], + ['errorCode' => 'Invalid.ResourceOwnerId.Value', 'errorMessage' => 'The specified ResourceOwnerId is invalid.', 'description' => 'The specified ResourceOwnerId is invalid.'], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9EFA436B-FC6F-513B-9DB8-C96E6CEBE5E0\\",\\n \\"EvaluationResults\\": [\\n {\\n \\"AggregatorId\\": \\"ca-edd3626622af00b3****\\",\\n \\"NonCompliantResourceCnt\\": 25,\\n \\"TotalResourceCnt\\": 153,\\n \\"NonCompliantRuleCnt\\": 3,\\n \\"TotalRuleCnt\\": 10,\\n \\"StatisticDate\\": \\"2023-06-27\\"\\n }\\n ]\\n}","type":"json"}]', @@ -22419,36 +13153,20 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregateConfigRuleEvaluationStatistics', - ], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateConfigRuleEvaluationStatistics'], ], ], ], 'ListAggregateConfigRules' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22460,9 +13178,7 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigNPMEKB', - ], + 'abilityTreeNodes' => ['FEATUREconfigNPMEKB'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -22483,12 +13199,7 @@ 'type' => 'string', 'required' => false, 'docRequired' => false, - 'enum' => [ - 'ACTIVE', - 'DELETING', - 'EVALUATING', - 'INACTIVE', - ], + 'enum' => ['ACTIVE', 'DELETING', 'EVALUATING', 'INACTIVE'], 'example' => 'ACTIVE', 'title' => '', ], @@ -22509,13 +13220,7 @@ 'type' => 'string', 'required' => false, 'docRequired' => false, - 'enum' => [ - 'COMPLIANT', - 'NON_COMPLIANT', - 'NOT_APPLICABLE', - 'INSUFFICIENT_DATA', - 'IGNORED', - ], + 'enum' => ['COMPLIANT', 'NON_COMPLIANT', 'NOT_APPLICABLE', 'INSUFFICIENT_DATA', 'IGNORED'], 'example' => 'COMPLIANT', 'title' => '', ], @@ -22523,91 +13228,44 @@ [ 'name' => 'RiskLevel', 'in' => 'query', - 'schema' => [ - 'description' => 'The risk level of the rule. Valid values:'."\n" - ."\n" - .'- 1: high'."\n" - ."\n" - .'- 2: medium'."\n" - ."\n" - .'- 3: low', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The risk level of the rule. Valid values:'."\n" + ."\n" + .'- 1: high'."\n" + ."\n" + .'- 2: medium'."\n" + ."\n" + .'- 3: low', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance package.', - 'type' => 'string', - 'required' => false, - 'example' => 'cp-fe416457e0d90022****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the compliance package.', 'type' => 'string', 'required' => false, 'example' => 'cp-fe416457e0d90022****', 'title' => ''], ], [ 'name' => 'ConfigRuleName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the rule.', - 'type' => 'string', - 'required' => false, - 'example' => 'The name of the rule.', - 'title' => '', - ], + 'schema' => ['description' => 'The name of the rule.', 'type' => 'string', 'required' => false, 'example' => 'The name of the rule.', 'title' => ''], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-f632626622af0079****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-f632626622af0079****', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n" - ."\n" - .'Valid values: 1 to 100. Default value: 10.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '100', - 'minimum' => '1', - 'default' => '10', - 'example' => '10', - 'title' => '', - ], + 'schema' => ['description' => 'The number of entries to return on each page.'."\n" + ."\n" + .'Valid values: 1 to 100. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '1', 'default' => '10', 'example' => '10', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n" - ."\n" - .'Pages start from page 1. Default value: 1.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'minimum' => '1', - 'default' => '1', - 'example' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The page number.'."\n" + ."\n" + .'Pages start from page 1. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'minimum' => '1', 'default' => '1', 'example' => '1', 'title' => ''], ], [ 'name' => 'Tag', @@ -22624,24 +13282,12 @@ .'You can add a maximum of 20 tags.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The key of a resource tag.'."\n" - ."\n" - .'You can add a maximum of 20 tag keys.', - 'type' => 'string', - 'required' => false, - 'example' => 'key-1', - 'title' => '', - ], - 'Value' => [ - 'description' => 'The value of a resource tag.'."\n" - ."\n" - .'You can add a maximum of 20 tag values.', - 'type' => 'string', - 'required' => false, - 'example' => 'value-1', - 'title' => '', - ], + 'Key' => ['description' => 'The key of a resource tag.'."\n" + ."\n" + .'You can add a maximum of 20 tag keys.', 'type' => 'string', 'required' => false, 'example' => 'key-1', 'title' => ''], + 'Value' => ['description' => 'The value of a resource tag.'."\n" + ."\n" + .'You can add a maximum of 20 tag values.', 'type' => 'string', 'required' => false, 'example' => 'value-1', 'title' => ''], ], 'required' => false, 'title' => '', @@ -22656,39 +13302,20 @@ [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword for a fuzzy query.'."\n" - ."\n" - .'The keyword can be a rule ID, rule name, rule description, or rule template identifier.', - 'type' => 'string', - 'maxLength' => 1000, - 'required' => false, - 'example' => 'ecs', - 'title' => '', - ], + 'schema' => ['description' => 'The keyword for a fuzzy query.'."\n" + ."\n" + .'The keyword can be a rule ID, rule name, rule description, or rule template identifier.', 'type' => 'string', 'maxLength' => 1000, 'required' => false, 'example' => 'ecs', 'title' => ''], ], [ 'name' => 'ResourceTypes', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type to be evaluated by the rule.', - 'type' => 'string', - 'required' => false, - 'example' => 'ACS::ECS::Instance', - 'title' => '', - ], + 'schema' => ['description' => 'The resource type to be evaluated by the rule.', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', 'title' => ''], ], [ 'name' => 'SortBy', 'in' => 'query', 'allowEmptyValue' => true, - 'schema' => [ - 'description' => 'The method that is used to sort the rules. By default, this parameter is not specified. Set the value to `CreateDate-Desc` to sort the rules in descending order of their creation time.', - 'type' => 'string', - 'required' => false, - 'example' => 'CreateDate-Desc', - 'title' => '', - ], + 'schema' => ['description' => 'The method that is used to sort the rules. By default, this parameter is not specified. Set the value to `CreateDate-Desc` to sort the rules in descending order of their creation time.', 'type' => 'string', 'required' => false, 'example' => 'CreateDate-Desc', 'title' => ''], ], ], 'responses' => [ @@ -22697,12 +13324,7 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '22EF8287-2C9A-4F1F-80A6-CEFA7612689D', - 'title' => '', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '22EF8287-2C9A-4F1F-80A6-CEFA7612689D', 'title' => ''], 'ConfigRules' => [ 'description' => 'The rules.', 'type' => 'object', @@ -22714,169 +13336,71 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => 'The risk level of the rule. Valid values:'."\n" - ."\n" - .'- 1: high'."\n" - ."\n" - .'- 2: medium'."\n" - ."\n" - .'- 3: low', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'SourceOwner' => [ - 'description' => 'The owner of the rule. Valid values:'."\n" - ."\n" - .'- CUSTOM\\_FC: a custom rule.'."\n" - ."\n" - .'- ALIYUN: a managed rule.', - 'type' => 'string', - 'example' => 'ALIYUN', - 'title' => '', - ], - 'AccountId' => [ - 'description' => 'The ID of the management account to which the rule belongs.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100931896542****', - 'title' => '', - ], - 'ConfigRuleState' => [ - 'description' => 'The state of the rule. Valid values:'."\n" - ."\n" - .'- ACTIVE: The rule is enabled.'."\n" - ."\n" - .'- DELETING: The rule is being deleted.'."\n" - ."\n" - .'- EVALUATING: The rule is being evaluated.'."\n" - ."\n" - .'- INACTIVE: The rule is disabled.', - 'type' => 'string', - 'example' => 'ACTIVE', - 'title' => '', - ], + 'RiskLevel' => ['description' => 'The risk level of the rule. Valid values:'."\n" + ."\n" + .'- 1: high'."\n" + ."\n" + .'- 2: medium'."\n" + ."\n" + .'- 3: low', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'SourceOwner' => ['description' => 'The owner of the rule. Valid values:'."\n" + ."\n" + .'- CUSTOM\\_FC: a custom rule.'."\n" + ."\n" + .'- ALIYUN: a managed rule.', 'type' => 'string', 'example' => 'ALIYUN', 'title' => ''], + 'AccountId' => ['description' => 'The ID of the management account to which the rule belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****', 'title' => ''], + 'ConfigRuleState' => ['description' => 'The state of the rule. Valid values:'."\n" + ."\n" + .'- ACTIVE: The rule is enabled.'."\n" + ."\n" + .'- DELETING: The rule is being deleted.'."\n" + ."\n" + .'- EVALUATING: The rule is being evaluated.'."\n" + ."\n" + .'- INACTIVE: The rule is disabled.', 'type' => 'string', 'example' => 'ACTIVE', 'title' => ''], 'Compliance' => [ 'description' => 'The compliance evaluation result.', 'type' => 'object', 'properties' => [ - 'ComplianceType' => [ - 'description' => 'The summary of the compliance evaluation result. Valid values:'."\n" - ."\n" - .'- COMPLIANT: The resource is compliant.'."\n" - ."\n" - .'- NON\\_COMPLIANT: The resource is non-compliant.'."\n" - ."\n" - .'- NOT\\_APPLICABLE: The rule does not apply to the resource.'."\n" - ."\n" - .'- INSUFFICIENT\\_DATA: No data is available.', - 'type' => 'string', - 'example' => 'COMPLIANT', - 'title' => '', - ], - 'Count' => [ - 'description' => 'The number of resources that are evaluated based on the summary of the compliance evaluation.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - 'title' => '', - ], + 'ComplianceType' => ['description' => 'The summary of the compliance evaluation result. Valid values:'."\n" + ."\n" + .'- COMPLIANT: The resource is compliant.'."\n" + ."\n" + .'- NON\\_COMPLIANT: The resource is non-compliant.'."\n" + ."\n" + .'- NOT\\_APPLICABLE: The rule does not apply to the resource.'."\n" + ."\n" + .'- INSUFFICIENT\\_DATA: No data is available.', 'type' => 'string', 'example' => 'COMPLIANT', 'title' => ''], + 'Count' => ['description' => 'The number of resources that are evaluated based on the summary of the compliance evaluation.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], ], 'title' => '', 'example' => '', ], - 'SourceIdentifier' => [ - 'description' => 'The identifier of the rule.'."\n" - ."\n" - .'- If the rule is a managed rule, the value of this parameter is the identifier of the rule template.'."\n" - ."\n" - .'- If the rule is a custom rule, the value of this parameter is the ARN of the function.', - 'type' => 'string', - 'example' => 'eip-bandwidth-limit', - 'title' => '', - ], - 'ConfigRuleArn' => [ - 'description' => 'The ARN of the rule.', - 'type' => 'string', - 'example' => 'acs:config::100931896542****:rule/cr-fdc8626622af00f9****', - 'title' => '', - ], - 'Description' => [ - 'description' => 'The description of the rule.', - 'type' => 'string', - 'example' => 'The description of the rule.', - 'title' => '', - ], + 'SourceIdentifier' => ['description' => 'The identifier of the rule.'."\n" + ."\n" + .'- If the rule is a managed rule, the value of this parameter is the identifier of the rule template.'."\n" + ."\n" + .'- If the rule is a custom rule, the value of this parameter is the ARN of the function.', 'type' => 'string', 'example' => 'eip-bandwidth-limit', 'title' => ''], + 'ConfigRuleArn' => ['description' => 'The ARN of the rule.', 'type' => 'string', 'example' => 'acs:config::100931896542****:rule/cr-fdc8626622af00f9****', 'title' => ''], + 'Description' => ['description' => 'The description of the rule.', 'type' => 'string', 'example' => 'The description of the rule.', 'title' => ''], 'CreateBy' => [ 'description' => 'The information about the creator of the rule.', 'type' => 'object', 'properties' => [ - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance package.', - 'type' => 'string', - 'example' => 'cp-fdc8626622af00f9****', - 'title' => '', - ], - 'AggregatorName' => [ - 'description' => 'The name of the account group.', - 'type' => 'string', - 'example' => 'Test_Group', - 'title' => '', - ], - 'CompliancePackName' => [ - 'description' => 'The name of the compliance package.', - 'type' => 'string', - 'example' => 'The name of the compliance package.'."\n", - 'title' => '', - ], - 'CreatorName' => [ - 'description' => 'The name of the management account that created the rule.', - 'type' => 'string', - 'example' => 'Alice', - 'title' => '', - ], - 'CreatorType' => [ - 'description' => 'The type of the creator. The value is fixed to AGGREGATOR.', - 'type' => 'string', - 'example' => 'AGGREGATOR', - 'title' => '', - ], - 'CreatorId' => [ - 'description' => 'The ID of the management account that created the rule.', - 'type' => 'string', - 'example' => '100931896542****', - 'title' => '', - ], - 'AggregatorId' => [ - 'description' => 'The ID of the account group.', - 'type' => 'string', - 'example' => 'ca-f632626622af0079****', - 'title' => '', - ], + 'CompliancePackId' => ['description' => 'The ID of the compliance package.', 'type' => 'string', 'example' => 'cp-fdc8626622af00f9****', 'title' => ''], + 'AggregatorName' => ['description' => 'The name of the account group.', 'type' => 'string', 'example' => 'Test_Group', 'title' => ''], + 'CompliancePackName' => ['description' => 'The name of the compliance package.', 'type' => 'string', 'example' => 'The name of the compliance package.'."\n", 'title' => ''], + 'CreatorName' => ['description' => 'The name of the management account that created the rule.', 'type' => 'string', 'example' => 'Alice', 'title' => ''], + 'CreatorType' => ['description' => 'The type of the creator. The value is fixed to AGGREGATOR.', 'type' => 'string', 'example' => 'AGGREGATOR', 'title' => ''], + 'CreatorId' => ['description' => 'The ID of the management account that created the rule.', 'type' => 'string', 'example' => '100931896542****', 'title' => ''], + 'AggregatorId' => ['description' => 'The ID of the account group.', 'type' => 'string', 'example' => 'ca-f632626622af0079****', 'title' => ''], ], 'title' => '', 'example' => '', ], - 'AutomationType' => [ - 'description' => 'The remediation type. The value is fixed to OOS, which indicates Operation Orchestration Service.', - 'type' => 'string', - 'example' => 'OOS', - 'title' => '', - ], - 'ConfigRuleName' => [ - 'description' => 'The name of the rule.', - 'type' => 'string', - 'example' => 'The name of the rule.', - 'title' => '', - ], - 'ConfigRuleId' => [ - 'description' => 'The ID of the rule.', - 'type' => 'string', - 'example' => 'cr-fdc8626622af00f9****', - 'title' => '', - ], + 'AutomationType' => ['description' => 'The remediation type. The value is fixed to OOS, which indicates Operation Orchestration Service.', 'type' => 'string', 'example' => 'OOS', 'title' => ''], + 'ConfigRuleName' => ['description' => 'The name of the rule.', 'type' => 'string', 'example' => 'The name of the rule.', 'title' => ''], + 'ConfigRuleId' => ['description' => 'The ID of the rule.', 'type' => 'string', 'example' => 'cr-fdc8626622af00f9****', 'title' => ''], 'Tags' => [ 'description' => 'The tags of the rule.', 'type' => 'array', @@ -22884,18 +13408,8 @@ 'description' => 'The tags of the rule.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The key of the tag.', - 'type' => 'string', - 'example' => 'env', - 'title' => '', - ], - 'Value' => [ - 'description' => 'The value of the tag.', - 'type' => 'string', - 'example' => 'prod', - 'title' => '', - ], + 'Key' => ['description' => 'The key of the tag.', 'type' => 'string', 'example' => 'env', 'title' => ''], + 'Value' => ['description' => 'The value of the tag.', 'type' => 'string', 'example' => 'prod', 'title' => ''], ], 'title' => '', 'example' => '', @@ -22903,19 +13417,8 @@ 'title' => '', 'example' => '', ], - 'CreateDate' => [ - 'description' => 'The time when the rule was created. The time is displayed in UTC+8.', - 'type' => 'string', - 'required' => false, - 'example' => '2025-09-19T15:51:00', - 'title' => '', - ], - 'ResourceTypesScope' => [ - 'description' => 'The types of the resources that are evaluated by the rule. Multiple resource types are separated by commas (,).', - 'type' => 'string', - 'example' => 'ACS::EIP::EipAddress', - 'title' => '', - ], + 'CreateDate' => ['description' => 'The time when the rule was created. The time is displayed in UTC+8.', 'type' => 'string', 'required' => false, 'example' => '2025-09-19T15:51:00', 'title' => ''], + 'ResourceTypesScope' => ['description' => 'The types of the resources that are evaluated by the rule. Multiple resource types are separated by commas (,).', 'type' => 'string', 'example' => 'ACS::EIP::EipAddress', 'title' => ''], ], 'title' => '', 'example' => '', @@ -22923,27 +13426,9 @@ 'title' => '', 'example' => '', ], - 'PageSize' => [ - 'description' => 'The number of entries returned on each page.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - 'title' => '', - ], - 'PageNumber' => [ - 'description' => 'The page number.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'TotalCount' => [ - 'description' => 'The total number of rules.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - 'title' => '', - ], + 'PageSize' => ['description' => 'The number of entries returned on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of rules.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], ], 'title' => '', 'example' => '', @@ -22956,35 +13441,17 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'ListAggregateConfigRules', 'summary' => 'Queries the rules in a specified account group.', 'description' => '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`.', @@ -22992,12 +13459,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '180', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregateConfigRules', - ], + ['threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateConfigRules'], ], ], 'ramActions' => [ @@ -23008,12 +13470,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateConfigRule', - 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*'], ], ], ], @@ -23022,14 +13479,8 @@ ], 'ListAggregateDiscoveredResources' => [ 'summary' => 'Queries the resources in a specified account group.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -23041,9 +13492,7 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6XGW41', - ], + 'abilityTreeNodes' => ['FEATUREconfig6XGW41'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -23051,165 +13500,81 @@ [ 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource ID.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'eni-hp31cqoba96jagtz****', - ], + 'schema' => ['description' => 'The resource ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'eni-hp31cqoba96jagtz****'], ], [ 'name' => 'ResourceName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'The resource name.', - 'title' => '', - 'example' => 'launch-advisor-20200330', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The resource name.', 'title' => '', 'example' => 'launch-advisor-20200330'], ], [ 'name' => 'ResourceDeleted', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the resource. Valid values:'."\n" - ."\n" - .'- 0: The resource is deleted. A resource is displayed as Deleted in Cloud Config after it is deleted from the source Alibaba Cloud service.'."\n" - ."\n" - .'- 1 (Default): The resource is active. A resource is displayed as Active in Cloud Config if it is properly managed.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'title' => '', - 'example' => '1', - ], + 'schema' => ['description' => 'The status of the resource. Valid values:'."\n" + ."\n" + .'- 0: The resource is deleted. A resource is displayed as Deleted in Cloud Config after it is deleted from the source Alibaba Cloud service.'."\n" + ."\n" + .'- 1 (Default): The resource is active. A resource is displayed as Active in Cloud Config if it is properly managed.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '1'], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries to return for a single request. Valid values: 1 to 100.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '100', - 'minimum' => '1', - 'title' => '', - 'example' => '10', - ], + 'schema' => ['description' => 'The maximum number of entries to return for a single request. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'minimum' => '1', 'title' => '', 'example' => '10'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'If the response is truncated, use the `NextToken` to retrieve the next page of results.', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'maximum' => '100000', - 'minimum' => '1', - 'title' => '', - 'example' => 'IWBjqMYSy0is7zSMGu16****', - ], + 'schema' => ['description' => 'If the response is truncated, use the `NextToken` to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'maximum' => '100000', 'minimum' => '1', 'title' => '', 'example' => 'IWBjqMYSy0is7zSMGu16****'], ], [ 'name' => 'ResourceTypes', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type. Separate multiple resource types with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'ACS::ECS::NetworkInterface', - ], + 'schema' => ['description' => 'The resource type. Separate multiple resource types with commas (,).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ACS::ECS::NetworkInterface'], ], [ 'name' => 'Regions', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region where the resource resides. Separate multiple region IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'cn-huhehaote', - ], + 'schema' => ['description' => 'The ID of the region where the resource resides. Separate multiple region IDs with commas (,).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-huhehaote'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'ca-c560626622af0005****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ca-c560626622af0005****'], ], [ 'name' => 'ResourceAccountId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resources to be queried belong. The account is a member of the account group.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'title' => '', - 'example' => '100931896542****', - ], + 'schema' => ['description' => 'The ID of the Alibaba Cloud account to which the resources to be queried belong. The account is a member of the account group.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '100931896542****'], ], [ 'name' => 'StartUpdateTimestamp', 'in' => 'query', - 'schema' => [ - 'description' => 'The start of the time range to query. This is a standard UTC timestamp. The following limits apply:'."\n" - ."\n" - .'- The value must be a timestamp in milliseconds.'."\n" - ."\n" - .'- The value cannot be later than EndUpdateTimestamp. The interval between StartUpdateTimestamp and EndUpdateTimestamp cannot exceed 30 days.'."\n" - ."\n" - .'- You must specify both StartUpdateTimestamp and EndUpdateTimestamp, or leave both empty.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'title' => '', - 'example' => '1722441600000'."\n", - ], + 'schema' => ['description' => 'The start of the time range to query. This is a standard UTC timestamp. The following limits apply:'."\n" + ."\n" + .'- The value must be a timestamp in milliseconds.'."\n" + ."\n" + .'- The value cannot be later than EndUpdateTimestamp. The interval between StartUpdateTimestamp and EndUpdateTimestamp cannot exceed 30 days.'."\n" + ."\n" + .'- You must specify both StartUpdateTimestamp and EndUpdateTimestamp, or leave both empty.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1722441600000'."\n"], ], [ 'name' => 'EndUpdateTimestamp', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. This is a standard UTC timestamp. The following limits apply:'."\n" - ."\n" - .'- The value must be a timestamp in milliseconds.'."\n" - ."\n" - .'- The value cannot be earlier than StartUpdateTimestamp. The interval between StartUpdateTimestamp and EndUpdateTimestamp cannot exceed 30 days.'."\n" - ."\n" - .'- You must specify both StartUpdateTimestamp and EndUpdateTimestamp, or leave both empty.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'title' => '', - 'example' => '1724947200000', - ], + 'schema' => ['description' => 'The end of the time range to query. This is a standard UTC timestamp. The following limits apply:'."\n" + ."\n" + .'- The value must be a timestamp in milliseconds.'."\n" + ."\n" + .'- The value cannot be earlier than StartUpdateTimestamp. The interval between StartUpdateTimestamp and EndUpdateTimestamp cannot exceed 30 days.'."\n" + ."\n" + .'- You must specify both StartUpdateTimestamp and EndUpdateTimestamp, or leave both empty.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1724947200000'], ], [ 'name' => 'ExcludeResourceTypes', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource types to exclude. Separate multiple resource types with commas (,). This parameter has a higher priority than the ResourceTypes parameter.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'ACS::ECS::Instance,ACS::ECS::NetworkInterface'."\n", - ], + 'schema' => ['description' => 'The resource types to exclude. Separate multiple resource types with commas (,). This parameter has a higher priority than the ResourceTypes parameter.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ACS::ECS::Instance,ACS::ECS::NetworkInterface'."\n"], ], ], 'responses' => [ @@ -23229,146 +13594,41 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'AccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account that owns the resource. We recommend that you use the ResourceOwnerId parameter.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '161259599160****', - ], - 'AvailabilityZone' => [ - 'description' => 'The zone where the resource resides.', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-huhehaote-a', - ], - 'Region' => [ - 'description' => 'The region ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'cn-huhehaote', - ], - 'ResourceCreationTime' => [ - 'description' => 'The timestamp when the resource was created. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1618675206000', - ], - 'ResourceDeleted' => [ - 'description' => 'The status of the resource. Valid values:'."\n" - ."\n" - .'- 0: The resource is deleted.'."\n" - ."\n" - .'- 1: The resource is in use.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], - 'ResourceId' => [ - 'description' => 'The resource ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'eni-hp31cqoba96jagtz****', - ], - 'ResourceName' => [ - 'description' => 'The resource name.', - 'type' => 'string', - 'title' => '', - 'example' => 'Cloud Firewall', - ], - 'ResourceOwnerId' => [ - 'description' => 'The ID of the Alibaba Cloud account that owns the resource.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '161259599160****', - ], - 'ResourceStatus' => [ - 'description' => 'The status of the resource. The status of a resource is defined by the corresponding Alibaba Cloud service. This parameter can be empty. For example:'."\n" - ."\n" - .'- If the resource type is ACS::ECS::Instance, the resource is stateful. The value of this parameter can be Running or Stopped.'."\n" - ."\n" - .'- If the resource type is ACS::OSS::Bucket, the resource is stateless. The value of this parameter is empty.', - 'type' => 'string', - 'title' => '', - 'example' => 'InUse', - ], - 'ResourceType' => [ - 'description' => 'The resource type.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS::ECS::NetworkInterface', - ], - 'Tags' => [ - 'description' => 'The resource tags.', - 'type' => 'string', - 'title' => '', - 'example' => '{\\"key1\\":[\\"value2\\"]}', - ], - 'UpdateTime' => [ - 'description' => 'The timestamp of the last update to the resource. This is a timestamp in milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1722441600000', - ], - 'Version' => [ - 'description' => 'The resource build version.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1', - ], - 'VpcId' => [ - 'type' => 'string', - 'required' => true, - 'description' => 'The ID of the VPC to which the resource belongs. The format is vpc-t4nhheyvay74fp7n0hxxx. An empty string is returned if the resource does not belong to a VPC.', - 'title' => '', - 'example' => 'vpc-t4nhheyvay74fp7n0hxxx', - ], - 'VSwitchId' => [ - 'type' => 'string', - 'required' => true, - 'description' => 'The ID of the vSwitch to which the resource belongs. The format is vsw-t4n7pokxxxxxxxxxxxxxx. If the resource belongs to multiple vSwitches, the vSwitch IDs are separated by commas (,). An empty string is returned if the resource does not belong to a vSwitch.', - 'title' => '', - 'example' => 'vsw-t4n7pokxxxxxxxxxxxxxx', - ], + 'AccountId' => ['description' => 'The ID of the Alibaba Cloud account that owns the resource. We recommend that you use the ResourceOwnerId parameter.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '161259599160****'], + 'AvailabilityZone' => ['description' => 'The zone where the resource resides.', 'type' => 'string', 'title' => '', 'example' => 'cn-huhehaote-a'], + 'Region' => ['description' => 'The region ID.', 'type' => 'string', 'title' => '', 'example' => 'cn-huhehaote'], + 'ResourceCreationTime' => ['description' => 'The timestamp when the resource was created. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1618675206000'], + 'ResourceDeleted' => ['description' => 'The status of the resource. Valid values:'."\n" + ."\n" + .'- 0: The resource is deleted.'."\n" + ."\n" + .'- 1: The resource is in use.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'eni-hp31cqoba96jagtz****'], + 'ResourceName' => ['description' => 'The resource name.', 'type' => 'string', 'title' => '', 'example' => 'Cloud Firewall'], + 'ResourceOwnerId' => ['description' => 'The ID of the Alibaba Cloud account that owns the resource.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '161259599160****'], + 'ResourceStatus' => ['description' => 'The status of the resource. The status of a resource is defined by the corresponding Alibaba Cloud service. This parameter can be empty. For example:'."\n" + ."\n" + .'- If the resource type is ACS::ECS::Instance, the resource is stateful. The value of this parameter can be Running or Stopped.'."\n" + ."\n" + .'- If the resource type is ACS::OSS::Bucket, the resource is stateless. The value of this parameter is empty.', 'type' => 'string', 'title' => '', 'example' => 'InUse'], + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'title' => '', 'example' => 'ACS::ECS::NetworkInterface'], + 'Tags' => ['description' => 'The resource tags.', 'type' => 'string', 'title' => '', 'example' => '{\\"key1\\":[\\"value2\\"]}'], + 'UpdateTime' => ['description' => 'The timestamp of the last update to the resource. This is a timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1722441600000'], + 'Version' => ['description' => 'The resource build version.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], + 'VpcId' => ['type' => 'string', 'required' => true, 'description' => 'The ID of the VPC to which the resource belongs. The format is vpc-t4nhheyvay74fp7n0hxxx. An empty string is returned if the resource does not belong to a VPC.', 'title' => '', 'example' => 'vpc-t4nhheyvay74fp7n0hxxx'], + 'VSwitchId' => ['type' => 'string', 'required' => true, 'description' => 'The ID of the vSwitch to which the resource belongs. The format is vsw-t4n7pokxxxxxxxxxxxxxx. If the resource belongs to multiple vSwitches, the vSwitch IDs are separated by commas (,). An empty string is returned if the resource does not belong to a vSwitch.', 'title' => '', 'example' => 'vsw-t4n7pokxxxxxxxxxxxxxx'], ], 'title' => '', ], 'title' => '', ], - 'MaxResults' => [ - 'description' => 'The maximum number of entries returned per page.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '10', - ], - 'NextToken' => [ - 'description' => 'The token used to start the next query.', - 'type' => 'string', - 'title' => '', - 'example' => 'IWBjqMYSy0is7zSMGu16****', - ], - 'TotalCount' => [ - 'description' => 'The total number of resources.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '8', - ], + 'MaxResults' => ['description' => 'The maximum number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], + 'NextToken' => ['description' => 'The token used to start the next query.', 'type' => 'string', 'title' => '', 'example' => 'IWBjqMYSy0is7zSMGu16****'], + 'TotalCount' => ['description' => 'The total number of resources.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '8'], ], 'title' => '', ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2'], ], 'title' => '', ], @@ -23376,35 +13636,17 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], - [ - 'errorCode' => 'MemberNotBelongToMaster', - 'errorMessage' => 'The specified member does not belong to your organization.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], + ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DiscoveredResourceProfiles\\": {\\n \\"DiscoveredResourceProfileList\\": [\\n {\\n \\"AccountId\\": 0,\\n \\"AvailabilityZone\\": \\"cn-huhehaote-a\\",\\n \\"Region\\": \\"cn-huhehaote\\",\\n \\"ResourceCreationTime\\": 1618675206000,\\n \\"ResourceDeleted\\": 1,\\n \\"ResourceId\\": \\"eni-hp31cqoba96jagtz****\\",\\n \\"ResourceName\\": \\"Cloud Firewall\\",\\n \\"ResourceOwnerId\\": 0,\\n \\"ResourceStatus\\": \\"InUse\\",\\n \\"ResourceType\\": \\"ACS::ECS::NetworkInterface\\",\\n \\"Tags\\": \\"{\\\\\\\\\\\\\\"key1\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"value2\\\\\\\\\\\\\\"]}\\",\\n \\"UpdateTime\\": 1722441600000,\\n \\"Version\\": 1,\\n \\"VpcId\\": \\"vpc-t4nhheyvay74fp7n0hxxx\\",\\n \\"VSwitchId\\": \\"vsw-t4n7pokxxxxxxxxxxxxxx\\"\\n }\\n ],\\n \\"MaxResults\\": 10,\\n \\"NextToken\\": \\"IWBjqMYSy0is7zSMGu16****\\",\\n \\"TotalCount\\": 8\\n },\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\"\\n}","type":"json"}]', 'title' => 'ListAggregateDiscoveredResources', 'description' => '### Limits'."\n" @@ -23418,12 +13660,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregateDiscoveredResources', - ], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateDiscoveredResources'], ], ], 'ramActions' => [ @@ -23434,12 +13671,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -23447,13 +13679,8 @@ ], 'ListAggregateRecommendManagedRules' => [ 'summary' => 'This operation retrieves the list of recommended managed rules for an account group.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -23465,9 +13692,7 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigNPMEKB', - ], + 'abilityTreeNodes' => ['FEATUREconfigNPMEKB'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -23475,120 +13700,59 @@ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '', - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. It indicates the position where the current query begins. If you leave this parameter empty, the query starts from the beginning.', - 'type' => 'string', - 'required' => false, - 'example' => 'caeba0bbb2be03f84eb48b699f0a****', - ], + 'schema' => ['title' => '', 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. It indicates the position where the current query begins. If you leave this parameter empty, the query starts from the beginning.', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a****'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '', - 'description' => 'The maximum number of entries to return for a single request. Default value: 200.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '200', - ], + 'schema' => ['title' => '', 'description' => 'The maximum number of entries to return for a single request. Default value: 200.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '200'], ], [ 'name' => 'RegionIdsScope', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule is effective only for resources in the specified region. Separate multiple region IDs with commas (,).'."\n" - ."\n" - .'> This parameter applies only to rule templates.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The rule is effective only for resources in the specified region. Separate multiple region IDs with commas (,).'."\n" + ."\n" + .'> This parameter applies only to rule templates.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'ExcludeRegionIdsScope', 'in' => 'query', - 'schema' => [ - 'description' => 'The compliance package is invalid for resources in the specified region. The resources in the specified region are not evaluated. Separate multiple region IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => 'The compliance package is invalid for resources in the specified region. The resources in the specified region are not evaluated. Separate multiple region IDs with commas (,).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-shanghai'], ], [ 'name' => 'ResourceGroupIdsScope', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule is effective only for resources in the specified resource group. Separate multiple resource group IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'rg-aekzc7r7rhx****', - ], + 'schema' => ['description' => 'The rule is effective only for resources in the specified resource group. Separate multiple resource group IDs with commas (,).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-aekzc7r7rhx****'], ], [ 'name' => 'ExcludeResourceGroupIdsScope', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule is invalid for resources in the specified resource group. The resources in the specified resource group are not evaluated. Separate multiple resource group IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'rg-bnczc6r7rml****', - ], + 'schema' => ['description' => 'The rule is invalid for resources in the specified resource group. The resources in the specified resource group are not evaluated. Separate multiple resource group IDs with commas (,).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-bnczc6r7rml****'], ], [ 'name' => 'ResourceIdsScope', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule is effective for the specified resource. Separate multiple resource IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'lb-5cmbowstbkss9ta03****', - ], + 'schema' => ['description' => 'The rule is effective for the specified resource. Separate multiple resource IDs with commas (,).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'lb-5cmbowstbkss9ta03****'], ], [ 'name' => 'ExcludeResourceIdsScope', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule is invalid for the specified resource. The specified resource is not evaluated. Separate multiple resource IDs with commas (,).'."\n" - ."\n" - .'> This parameter applies only to rule templates.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'lb-t4nbowvtbkss7t326****', - ], + 'schema' => ['description' => 'The rule is invalid for the specified resource. The specified resource is not evaluated. Separate multiple resource IDs with commas (,).'."\n" + ."\n" + .'> This parameter applies only to rule templates.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'lb-t4nbowvtbkss7t326****'], ], [ 'name' => 'SelectedManagedRuleIdentifiers', 'in' => 'query', - 'schema' => [ - 'description' => 'The selected managed rules.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'ram-user-mfa-check-v2,ram-user-last-login-expired-check', - ], + 'schema' => ['description' => 'The selected managed rules.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ram-user-mfa-check-v2,ram-user-last-login-expired-check'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'ca-f632626622af0079****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ca-f632626622af0079****'], ], ], 'responses' => [ @@ -23602,19 +13766,8 @@ 'description' => 'The list of rules.', 'type' => 'object', 'properties' => [ - 'MaxResults' => [ - 'description' => 'The maximum number of entries returned per page.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '200', - ], - 'NextToken' => [ - 'description' => 'If the return results are truncated, you can use NextToken to initiate another request to retrieve the remaining results.', - 'type' => 'string', - 'title' => '', - 'example' => 'zXZXbg4Mra0kOrhpwl21****', - ], + 'MaxResults' => ['description' => 'The maximum number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + 'NextToken' => ['description' => 'If the return results are truncated, you can use NextToken to initiate another request to retrieve the remaining results.', 'type' => 'string', 'title' => '', 'example' => 'zXZXbg4Mra0kOrhpwl21****'], 'RecommendedManagedRuleList' => [ 'description' => 'The list of managed rules.', 'type' => 'array', @@ -23622,30 +13775,10 @@ 'description' => 'The list of managed rules.', 'type' => 'object', 'properties' => [ - 'ConfigRuleName' => [ - 'description' => 'The name of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'ram-policy-in-use-check', - ], - 'Description' => [ - 'description' => 'The description of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'If the permission policy is bound to one or more RAM user groups, RAM roles, or RAM users, the configuration is considered compliant.', - ], - 'Identifier' => [ - 'description' => 'The identifier of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'ram-policy-in-use-check', - ], - 'ResourceTypeScope' => [ - 'description' => 'The resource type.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS::RAM::Policy', - ], + 'ConfigRuleName' => ['description' => 'The name of the rule.', 'type' => 'string', 'title' => '', 'example' => 'ram-policy-in-use-check'], + 'Description' => ['description' => 'The description of the rule.', 'type' => 'string', 'title' => '', 'example' => 'If the permission policy is bound to one or more RAM user groups, RAM roles, or RAM users, the configuration is considered compliant.'], + 'Identifier' => ['description' => 'The identifier of the rule.', 'type' => 'string', 'title' => '', 'example' => 'ram-policy-in-use-check'], + 'ResourceTypeScope' => ['description' => 'The resource type.', 'type' => 'string', 'title' => '', 'example' => 'ACS::RAM::Policy'], ], 'title' => '', 'example' => '', @@ -23653,23 +13786,12 @@ 'title' => '', 'example' => '', ], - 'TotalCount' => [ - 'description' => 'The total number of rule templates.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1', - ], + 'TotalCount' => ['description' => 'The total number of rule templates.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], ], 'title' => '', 'example' => '', ], - 'RequestId' => [ - 'title' => '', - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '6CE4ABA1-9A57-41A9-8EA9-E8B17D46****', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '6CE4ABA1-9A57-41A9-8EA9-E8B17D46****'], ], 'example' => '', ], @@ -23677,21 +13799,11 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], - [ - 'errorCode' => 'Invalid.AggregatorIds.Empty', - 'errorMessage' => 'You must specify AggregatorIds.', - 'description' => 'You must specify AggregatorIds.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], + ['errorCode' => 'Invalid.AggregatorIds.Empty', 'errorMessage' => 'You must specify AggregatorIds.', 'description' => 'You must specify AggregatorIds.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'ListAggregateRecommendManagedRules', 'description' => 'For more information about the concepts, working principles, and integration process of dry run rules, see [Definition and working principles of dry run rules](~~470802~~).'."\n" ."\n" @@ -23708,12 +13820,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -23721,14 +13828,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RecommendedManagedRules\\": {\\n \\"MaxResults\\": 200,\\n \\"NextToken\\": \\"zXZXbg4Mra0kOrhpwl21****\\",\\n \\"RecommendedManagedRuleList\\": [\\n {\\n \\"ConfigRuleName\\": \\"ram-policy-in-use-check\\",\\n \\"Description\\": \\"If the permission policy is bound to one or more RAM user groups, RAM roles, or RAM users, the configuration is considered compliant.\\",\\n \\"Identifier\\": \\"ram-policy-in-use-check\\",\\n \\"ResourceTypeScope\\": \\"ACS::RAM::Policy\\"\\n }\\n ],\\n \\"TotalCount\\": 1\\n },\\n \\"RequestId\\": \\"6CE4ABA1-9A57-41A9-8EA9-E8B17D46****\\"\\n}","type":"json"}]', ], 'ListAggregateRemediationExecutions' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -23736,84 +13837,44 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule ID.'."\n" - ."\n" - .'For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cr-2792626622af0c21****', - ], + 'schema' => ['description' => 'The rule ID.'."\n" + ."\n" + .'For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'cr-2792626622af0c21****'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'aVCjqFaSy0Ps6zSMGw09****', - ], + 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", 'type' => 'string', 'required' => false, 'example' => 'aVCjqFaSy0Ps6zSMGw09****'], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries to return for a single request. Valid values: 10 to 100.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '100', - 'exclusiveMaximum' => false, - 'minimum' => '10', - 'exclusiveMinimum' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The maximum number of entries to return for a single request. Valid values: 10 to 100.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'exclusiveMaximum' => false, 'minimum' => '10', 'exclusiveMinimum' => false, 'example' => '10'], ], [ 'name' => 'ExecutionStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the remediation. Valid values:'."\n" - ."\n" - .'* Success'."\n" - .'* Failed'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Success', - ], + 'schema' => ['description' => 'The status of the remediation. Valid values:'."\n" + ."\n" + .'* Success'."\n" + .'* Failed'."\n", 'type' => 'string', 'required' => false, 'example' => 'Success'], ], [ 'name' => 'ResourceAccountId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the member account in the account group. When left unfilled, this rule queries the remediation result for the account that created the rule. If the account is not in the account group, the result will be empty.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '126672004088****', - ], + 'schema' => ['description' => 'The ID of the member account in the account group. When left unfilled, this rule queries the remediation result for the account that created the rule. If the account is not in the account group, the result will be empty.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '126672004088****'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ca-edd3626622af00b3****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'ca-edd3626622af00b3****'], ], ], 'responses' => [ @@ -23823,12 +13884,7 @@ 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '13E67493-3165-529A-A961-BE9E4B11BA11', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '13E67493-3165-529A-A961-BE9E4B11BA11'], 'RemediationExecutionData' => [ 'description' => 'The queried remediation records.'."\n", 'type' => 'object', @@ -23840,53 +13896,20 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'ExecutionInvocationId' => [ - 'description' => 'The invocation ID of the remediation record.'."\n", - 'type' => 'string', - 'example' => 'exec-befded3781994ccf****', - ], - 'ExecutionStatus' => [ - 'description' => 'The status of the remediation. Valid values:'."\n" - ."\n" - .'* Success'."\n" - .'* Failed'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'ExecutionResourceType' => [ - 'description' => 'The resource type.'."\n", - 'type' => 'string', - 'example' => 'ACS::RDS::DBInstance', - ], - 'ExecutionCreateDate' => [ - 'description' => 'The time when the remediation record was created.'."\n", - 'type' => 'string', - 'example' => '2023-06-25T11:48:15Z', - ], - 'ExecutionStatusMessage' => [ - 'description' => 'The error message returned when the remediation fails.'."\n", - 'type' => 'string', - 'example' => 'Invocation time out.', - ], - 'ExecutionResourceIds' => [ - 'description' => 'The IDs of the remediated resources. Multiple resource IDs are separated with commas (,).'."\n", - 'type' => 'string', - 'example' => 'rm-0jlk629z240l8****', - ], + 'ExecutionInvocationId' => ['description' => 'The invocation ID of the remediation record.'."\n", 'type' => 'string', 'example' => 'exec-befded3781994ccf****'], + 'ExecutionStatus' => ['description' => 'The status of the remediation. Valid values:'."\n" + ."\n" + .'* Success'."\n" + .'* Failed'."\n", 'type' => 'string', 'example' => 'Success'], + 'ExecutionResourceType' => ['description' => 'The resource type.'."\n", 'type' => 'string', 'example' => 'ACS::RDS::DBInstance'], + 'ExecutionCreateDate' => ['description' => 'The time when the remediation record was created.'."\n", 'type' => 'string', 'example' => '2023-06-25T11:48:15Z'], + 'ExecutionStatusMessage' => ['description' => 'The error message returned when the remediation fails.'."\n", 'type' => 'string', 'example' => 'Invocation time out.'], + 'ExecutionResourceIds' => ['description' => 'The IDs of the remediated resources. Multiple resource IDs are separated with commas (,).'."\n", 'type' => 'string', 'example' => 'rm-0jlk629z240l8****'], ], ], ], - 'NextToken' => [ - 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'example' => 'cNclqNaKs0Ds7zSNip0a****', - ], - 'MaxResults' => [ - 'description' => 'The maximum number of entries returned for a single request.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], + 'NextToken' => ['description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n", 'type' => 'string', 'example' => 'cNclqNaKs0Ds7zSNip0a****'], + 'MaxResults' => ['description' => 'The maximum number of entries returned for a single request.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10'], ], ], ], @@ -23895,23 +13918,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"13E67493-3165-529A-A961-BE9E4B11BA11\\",\\n \\"RemediationExecutionData\\": {\\n \\"RemediationExecutions\\": [\\n {\\n \\"ExecutionInvocationId\\": \\"exec-befded3781994ccf****\\",\\n \\"ExecutionStatus\\": \\"Success\\",\\n \\"ExecutionResourceType\\": \\"ACS::RDS::DBInstance\\",\\n \\"ExecutionCreateDate\\": \\"2023-06-25T11:48:15Z\\",\\n \\"ExecutionStatusMessage\\": \\"Invocation time out.\\",\\n \\"ExecutionResourceIds\\": \\"rm-0jlk629z240l8****\\"\\n }\\n ],\\n \\"NextToken\\": \\"cNclqNaKs0Ds7zSNip0a****\\",\\n \\"MaxResults\\": 10\\n }\\n}","type":"json"}]', 'title' => 'ListAggregateRemediationExecutions', 'summary' => 'Queries the remediation records of a rule in an account group.', @@ -23925,12 +13938,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], 'additionalActions' => [], @@ -23938,14 +13946,8 @@ ], ], 'ListAggregateRemediations' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -23957,38 +13959,22 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'ConfigRuleIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule IDs. Separate multiple rule IDs with commas (,).'."\n" - ."\n" - .'For more information about how to obtain a rule ID, see [ListAggregateConfigRules](~~264148~~).', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'title' => '', - 'example' => 'cr-6b7c626622af00b4****', - ], + 'schema' => ['description' => 'The rule IDs. Separate multiple rule IDs with commas (,).'."\n" + ."\n" + .'For more information about how to obtain a rule ID, see [ListAggregateConfigRules](~~264148~~).', 'type' => 'string', 'required' => false, 'docRequired' => false, 'title' => '', 'example' => 'cr-6b7c626622af00b4****'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'ca-6b4a626622af0012****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ca-6b4a626622af0012****'], ], ], 'responses' => [ @@ -23997,12 +13983,7 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '0146963A-20C0-4E75-B93A-7D622B5FD7C8', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '0146963A-20C0-4E75-B93A-7D622B5FD7C8'], 'Remediations' => [ 'description' => 'The remediation settings.', 'type' => 'array', @@ -24010,106 +13991,44 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'RemediationTemplateId' => [ - 'description' => 'The ID of the remediation template.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS-OSS-PutBucketAcl', - ], - 'RemediationSourceType' => [ - 'description' => 'The source of the remediation template. Valid values:'."\n" - ."\n" - .'- ALIYUN: official template.'."\n" - ."\n" - .'- CUSTOM: custom template.'."\n" - ."\n" - .'- NONE: none.', - 'type' => 'string', - 'title' => '', - 'example' => 'ALIYUN', - ], - 'RemediationType' => [ - 'description' => 'The type of the remediation. Valid values:'."\n" - ."\n" - .'- OOS: Operation Orchestration Service (official remediation).'."\n" - ."\n" - .'- FC: Function Compute (custom remediation).', - 'type' => 'string', - 'title' => '', - 'example' => 'OOS', - ], - 'LastSuccessfulInvocationId' => [ - 'description' => 'The ID of the last successful remediation.', - 'type' => 'string', - 'title' => '', - 'example' => 'bd7629fb-cac8-42fe-bcb1-e362c5a6****', - ], - 'AccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '100931896542****', - ], - 'AggregatorId' => [ - 'description' => 'The ID of the account group.', - 'type' => 'string', - 'title' => '', - 'example' => 'ca-6b4a626622af0012****', - ], - 'LastSuccessfulInvocationType' => [ - 'description' => 'The mode of the last successful remediation. Valid values:'."\n" - ."\n" - .'- NON\\_EXECUTION: The remediation was not executed.'."\n" - ."\n" - .'- AUTO\\_EXECUTION: The remediation was automatically executed.'."\n" - ."\n" - .'- MANUAL\\_EXECUTION: The remediation was manually executed.'."\n" - ."\n" - .'- NOT\\_CONFIG: The remediation was not configured.', - 'type' => 'string', - 'title' => '', - 'example' => 'AUTO_EXECUTION', - ], - 'RemediationId' => [ - 'description' => 'The ID of the remediation setting.', - 'type' => 'string', - 'title' => '', - 'example' => 'crr-6b7c626622af0026****', - ], - 'InvokeType' => [ - 'description' => 'The execution mode of the remediation. Valid values:'."\n" - ."\n" - .'- NON\\_EXECUTION: The remediation is not executed.'."\n" - ."\n" - .'- AUTO\\_EXECUTION: The remediation is automatically executed.'."\n" - ."\n" - .'- MANUAL\\_EXECUTION: The remediation is manually executed.'."\n" - ."\n" - .'- NOT\\_CONFIG: The remediation is not configured.', - 'type' => 'string', - 'title' => '', - 'example' => 'AUTO_EXECUTION', - ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'cr-6b7c626622af00b4****', - ], - 'LastSuccessfulInvocationTime' => [ - 'description' => 'The timestamp of the last successful remediation. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1625451393589', - ], - 'RemediaitonOriginParams' => [ - 'description' => 'The converted format of the remediation setting parameters. This parameter is used only to convert the parameters of an OOS template.', - 'type' => 'string', - 'title' => '', - 'example' => '{"bucketName": "{resourceId}", "regionId": "{regionId}", "permissionName": "private"}', - ], + 'RemediationTemplateId' => ['description' => 'The ID of the remediation template.', 'type' => 'string', 'title' => '', 'example' => 'ACS-OSS-PutBucketAcl'], + 'RemediationSourceType' => ['description' => 'The source of the remediation template. Valid values:'."\n" + ."\n" + .'- ALIYUN: official template.'."\n" + ."\n" + .'- CUSTOM: custom template.'."\n" + ."\n" + .'- NONE: none.', 'type' => 'string', 'title' => '', 'example' => 'ALIYUN'], + 'RemediationType' => ['description' => 'The type of the remediation. Valid values:'."\n" + ."\n" + .'- OOS: Operation Orchestration Service (official remediation).'."\n" + ."\n" + .'- FC: Function Compute (custom remediation).', 'type' => 'string', 'title' => '', 'example' => 'OOS'], + 'LastSuccessfulInvocationId' => ['description' => 'The ID of the last successful remediation.', 'type' => 'string', 'title' => '', 'example' => 'bd7629fb-cac8-42fe-bcb1-e362c5a6****'], + 'AccountId' => ['description' => 'The ID of the Alibaba Cloud account.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '100931896542****'], + 'AggregatorId' => ['description' => 'The ID of the account group.', 'type' => 'string', 'title' => '', 'example' => 'ca-6b4a626622af0012****'], + 'LastSuccessfulInvocationType' => ['description' => 'The mode of the last successful remediation. Valid values:'."\n" + ."\n" + .'- NON\\_EXECUTION: The remediation was not executed.'."\n" + ."\n" + .'- AUTO\\_EXECUTION: The remediation was automatically executed.'."\n" + ."\n" + .'- MANUAL\\_EXECUTION: The remediation was manually executed.'."\n" + ."\n" + .'- NOT\\_CONFIG: The remediation was not configured.', 'type' => 'string', 'title' => '', 'example' => 'AUTO_EXECUTION'], + 'RemediationId' => ['description' => 'The ID of the remediation setting.', 'type' => 'string', 'title' => '', 'example' => 'crr-6b7c626622af0026****'], + 'InvokeType' => ['description' => 'The execution mode of the remediation. Valid values:'."\n" + ."\n" + .'- NON\\_EXECUTION: The remediation is not executed.'."\n" + ."\n" + .'- AUTO\\_EXECUTION: The remediation is automatically executed.'."\n" + ."\n" + .'- MANUAL\\_EXECUTION: The remediation is manually executed.'."\n" + ."\n" + .'- NOT\\_CONFIG: The remediation is not configured.', 'type' => 'string', 'title' => '', 'example' => 'AUTO_EXECUTION'], + 'ConfigRuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'title' => '', 'example' => 'cr-6b7c626622af00b4****'], + 'LastSuccessfulInvocationTime' => ['description' => 'The timestamp of the last successful remediation. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1625451393589'], + 'RemediaitonOriginParams' => ['description' => 'The converted format of the remediation setting parameters. This parameter is used only to convert the parameters of an OOS template.', 'type' => 'string', 'title' => '', 'example' => '{"bucketName": "{resourceId}", "regionId": "{regionId}", "permissionName": "private"}'], ], 'title' => '', 'example' => '', @@ -24125,18 +14044,10 @@ ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'title' => 'ListAggregateRemediations', @@ -24146,12 +14057,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregateRemediations', - ], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateRemediations'], ], ], 'ramActions' => [ @@ -24162,12 +14068,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -24176,14 +14077,8 @@ ], 'ListAggregateResourceEvaluationResults' => [ 'summary' => 'Queries the rule evaluation results for resources in a specified account group.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -24195,69 +14090,38 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type.'."\n" - ."\n" - .'For more information about how to obtain the resource type, see [ListAggregateDiscoveredResources](~~265983~~).', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'title' => '', - 'example' => 'ACS::RAM::User', - ], + 'schema' => ['description' => 'The resource type.'."\n" + ."\n" + .'For more information about how to obtain the resource type, see [ListAggregateDiscoveredResources](~~265983~~).', 'type' => 'string', 'required' => false, 'docRequired' => false, 'title' => '', 'example' => 'ACS::RAM::User'], ], [ 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource ID.'."\n" - ."\n" - .'For more information about how to obtain the resource ID, see [ListAggregateDiscoveredResources](~~265983~~).', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'title' => '', - 'example' => '23642660635396****', - ], + 'schema' => ['description' => 'The resource ID.'."\n" + ."\n" + .'For more information about how to obtain the resource ID, see [ListAggregateDiscoveredResources](~~265983~~).', 'type' => 'string', 'required' => false, 'docRequired' => false, 'title' => '', 'example' => '23642660635396****'], ], [ 'name' => 'RiskLevel', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'docRequired' => false, - 'description' => 'The risk level of the compliance package. Valid values:'."\n" - ."\n" - .'- 1: high'."\n" - ."\n" - .'- 2: medium'."\n" - ."\n" - .'- 3: low', - 'required' => false, - 'title' => '', - 'example' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'docRequired' => false, 'description' => 'The risk level of the compliance package. Valid values:'."\n" + ."\n" + .'- 1: high'."\n" + ."\n" + .'- 2: medium'."\n" + ."\n" + .'- 3: low', 'required' => false, 'title' => '', 'example' => '1'], ], [ 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'description' => 'The sorting method. By default, this parameter is not specified. The supported value is `LastNonCompliantRecordTimestamp-Asc`. This value sorts resources based on the time when they first became non-compliant, in ascending order. You must set the `ComplianceType` parameter to `NON_COMPLIANT`.', - 'title' => '', - 'example' => 'LastNonCompliantRecordTimestamp-Asc', - ], + 'schema' => ['type' => 'string', 'required' => false, 'docRequired' => false, 'description' => 'The sorting method. By default, this parameter is not specified. The supported value is `LastNonCompliantRecordTimestamp-Asc`. This value sorts resources based on the time when they first became non-compliant, in ascending order. You must set the `ComplianceType` parameter to `NON_COMPLIANT`.', 'title' => '', 'example' => 'LastNonCompliantRecordTimestamp-Asc'], ], [ 'name' => 'ComplianceType', @@ -24276,14 +14140,7 @@ .'- IGNORED: The evaluation result is ignored.', 'type' => 'string', 'required' => false, - 'enum' => [ - 'COMPLIANT', - '', - 'NON_COMPLIANT', - 'NOT_APPLICABLE', - 'INSUFFICIENT_DATA', - 'IGNORED', - ], + 'enum' => ['COMPLIANT', '', 'NON_COMPLIANT', 'NOT_APPLICABLE', 'INSUFFICIENT_DATA', 'IGNORED'], 'title' => '', 'example' => 'NON_COMPLIANT', ], @@ -24291,56 +14148,26 @@ [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If the response is truncated, you can use this token to initiate another request to retrieve the remaining records.', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'title' => '', - 'example' => 'IWBjqMYSy0is7zSMGu16****', - ], + 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. If the response is truncated, you can use this token to initiate another request to retrieve the remaining records.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'title' => '', 'example' => 'IWBjqMYSy0is7zSMGu16****'], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries to return on each page. Valid values: 1 to 100.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '500', - 'minimum' => '1', - 'default' => '10', - 'title' => '', - 'example' => '10', - ], + 'schema' => ['description' => 'The maximum number of entries to return on each page. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '500', 'minimum' => '1', 'default' => '10', 'title' => '', 'example' => '10'], ], [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region where the resource resides. For example, `global` indicates Global and `cn-hangzhou` indicates China (Hangzhou).'."\n" - ."\n" - .'For more information about how to obtain the region ID of a resource, see [ListAggregateDiscoveredResources](~~265983~~).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'global', - ], + 'schema' => ['description' => 'The ID of the region where the resource resides. For example, `global` indicates Global and `cn-hangzhou` indicates China (Hangzhou).'."\n" + ."\n" + .'For more information about how to obtain the region ID of a resource, see [ListAggregateDiscoveredResources](~~265983~~).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'global'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'title' => '', - 'example' => 'ca-7f00626622af0041****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ca-7f00626622af0041****'], ], ], 'responses' => [ @@ -24349,29 +14176,13 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '25C89DDB-BB79-487D-88C3-4A561F21EFC4', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '25C89DDB-BB79-487D-88C3-4A561F21EFC4'], 'EvaluationResults' => [ 'description' => 'The evaluation results of the resources.', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'The token that is used to retrieve the next page of results.', - 'type' => 'string', - 'title' => '', - 'example' => 'IWBjqMYSy0is7zSMGu16****', - ], - 'MaxResults' => [ - 'description' => 'The maximum number of entries returned per page.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '10', - ], + 'NextToken' => ['description' => 'The token that is used to retrieve the next page of results.', 'type' => 'string', 'title' => '', 'example' => 'IWBjqMYSy0is7zSMGu16****'], + 'MaxResults' => ['description' => 'The maximum number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], 'EvaluationResultList' => [ 'description' => 'A list of resource evaluation results.', 'type' => 'array', @@ -24379,137 +14190,52 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => 'The risk level of the rule. Valid values:'."\n" - ."\n" - .'- 1: high'."\n" - ."\n" - .'- 2: medium'."\n" - ."\n" - .'- 3: low', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], - 'ComplianceType' => [ - 'description' => 'The compliance evaluation result. Valid values:'."\n" - ."\n" - .'- COMPLIANT: The resource is compliant.'."\n" - ."\n" - .'- NON\\_COMPLIANT: The resource is non-compliant.'."\n" - ."\n" - .'- NOT\\_APPLICABLE: The rule does not apply to the resource.'."\n" - ."\n" - .'- INSUFFICIENT\\_DATA: No data is available for the resource.'."\n" - ."\n" - .'- IGNORED: The evaluation result is ignored.', - 'type' => 'string', - 'title' => '', - 'example' => 'NON_COMPLIANT', - ], - 'ResultRecordedTimestamp' => [ - 'description' => 'The timestamp when the evaluation result was recorded. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1624932227595', - ], - 'Annotation' => [ - 'description' => 'The supplementary information about the non-compliant resource.', - 'type' => 'string', - 'title' => '', - 'example' => '{\\"configuration\\":\\"false\\",\\"desiredValue\\":\\"True\\",\\"operator\\":\\"StringEquals\\",\\"property\\":\\"$.LoginProfile.MFABindRequired\\"}', - ], - 'ConfigRuleInvokedTimestamp' => [ - 'description' => 'The timestamp when the rule was invoked to evaluate the resource. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1624932227157', - ], - 'InvokingEventMessageType' => [ - 'description' => 'The trigger type of the rule. Valid values:'."\n" - ."\n" - .'- ConfigurationItemChangeNotification: The rule is triggered by a configuration change.'."\n" - ."\n" - .'- ScheduledNotification: The rule is triggered periodically.', - 'type' => 'string', - 'title' => '', - 'example' => 'ScheduledNotification', - ], + 'RiskLevel' => ['description' => 'The risk level of the rule. Valid values:'."\n" + ."\n" + .'- 1: high'."\n" + ."\n" + .'- 2: medium'."\n" + ."\n" + .'- 3: low', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'ComplianceType' => ['description' => 'The compliance evaluation result. Valid values:'."\n" + ."\n" + .'- COMPLIANT: The resource is compliant.'."\n" + ."\n" + .'- NON\\_COMPLIANT: The resource is non-compliant.'."\n" + ."\n" + .'- NOT\\_APPLICABLE: The rule does not apply to the resource.'."\n" + ."\n" + .'- INSUFFICIENT\\_DATA: No data is available for the resource.'."\n" + ."\n" + .'- IGNORED: The evaluation result is ignored.', 'type' => 'string', 'title' => '', 'example' => 'NON_COMPLIANT'], + 'ResultRecordedTimestamp' => ['description' => 'The timestamp when the evaluation result was recorded. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1624932227595'], + 'Annotation' => ['description' => 'The supplementary information about the non-compliant resource.', 'type' => 'string', 'title' => '', 'example' => '{\\"configuration\\":\\"false\\",\\"desiredValue\\":\\"True\\",\\"operator\\":\\"StringEquals\\",\\"property\\":\\"$.LoginProfile.MFABindRequired\\"}'], + 'ConfigRuleInvokedTimestamp' => ['description' => 'The timestamp when the rule was invoked to evaluate the resource. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1624932227157'], + 'InvokingEventMessageType' => ['description' => 'The trigger type of the rule. Valid values:'."\n" + ."\n" + .'- ConfigurationItemChangeNotification: The rule is triggered by a configuration change.'."\n" + ."\n" + .'- ScheduledNotification: The rule is triggered periodically.', 'type' => 'string', 'title' => '', 'example' => 'ScheduledNotification'], 'EvaluationResultIdentifier' => [ 'description' => 'The identifier of the resource evaluation result.', 'type' => 'object', 'properties' => [ - 'OrderingTimestamp' => [ - 'description' => 'The timestamp displayed on the timeline. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1624932227157', - ], + 'OrderingTimestamp' => ['description' => 'The timestamp displayed on the timeline. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1624932227157'], 'EvaluationResultQualifier' => [ 'description' => 'The resource information in the evaluation result.', 'type' => 'object', 'properties' => [ - 'ConfigRuleArn' => [ - 'description' => 'The ARN of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'acs:config::100931896542****:rule/cr-7f7d626622af0041****', - ], - 'ResourceType' => [ - 'description' => 'The resource type.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS::RAM::User', - ], - 'ConfigRuleName' => [ - 'description' => 'The rule name.', - 'type' => 'string', - 'title' => '', - 'example' => 'ram-user-mfa-check', - ], - 'ResourceId' => [ - 'description' => 'The resource ID.', - 'type' => 'string', - 'title' => '', - 'example' => '23642660635396****', - ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'cr-7f7d626622af0041****', - ], - 'ResourceName' => [ - 'description' => 'The resource name.', - 'type' => 'string', - 'title' => '', - 'example' => 'rd_member', - ], - 'RegionId' => [ - 'description' => 'The ID of the region where the resource resides.', - 'type' => 'string', - 'title' => '', - 'example' => 'global', - ], - 'IgnoreDate' => [ - 'description' => 'The date on which the ignored evaluation result is automatically resumed.'."\n" - ."\n" - .'> If this parameter is empty, the result is not automatically resumed. You must manually resume the result.', - 'type' => 'string', - 'title' => '', - 'example' => '2022-06-01', - ], - 'ResourceOwnerId' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The ID of the Alibaba Cloud account to which the resource belongs.', - 'title' => '', - 'example' => '120886317861****', - ], + 'ConfigRuleArn' => ['description' => 'The ARN of the rule.', 'type' => 'string', 'title' => '', 'example' => 'acs:config::100931896542****:rule/cr-7f7d626622af0041****'], + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'title' => '', 'example' => 'ACS::RAM::User'], + 'ConfigRuleName' => ['description' => 'The rule name.', 'type' => 'string', 'title' => '', 'example' => 'ram-user-mfa-check'], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => '23642660635396****'], + 'ConfigRuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'title' => '', 'example' => 'cr-7f7d626622af0041****'], + 'ResourceName' => ['description' => 'The resource name.', 'type' => 'string', 'title' => '', 'example' => 'rd_member'], + 'RegionId' => ['description' => 'The ID of the region where the resource resides.', 'type' => 'string', 'title' => '', 'example' => 'global'], + 'IgnoreDate' => ['description' => 'The date on which the ignored evaluation result is automatically resumed.'."\n" + ."\n" + .'> If this parameter is empty, the result is not automatically resumed. You must manually resume the result.', 'type' => 'string', 'title' => '', 'example' => '2022-06-01'], + 'ResourceOwnerId' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The ID of the Alibaba Cloud account to which the resource belongs.', 'title' => '', 'example' => '120886317861****'], ], 'title' => '', 'example' => '', @@ -24518,29 +14244,13 @@ 'title' => '', 'example' => '', ], - 'RemediationEnabled' => [ - 'description' => 'Indicates whether remediation is enabled. Valid values:'."\n" - ."\n" - .'- true: Remediation is enabled.'."\n" - ."\n" - .'- false: Remediation is not enabled.', - 'type' => 'boolean', - 'title' => '', - 'example' => 'false', - ], - 'EvaluationId' => [ - 'type' => 'string', - 'description' => 'The unique ID of the evaluation result.', - 'title' => '', - 'example' => '00000089-4e0d-58b5-a96a-8e54112110f3', - ], - 'LastNonCompliantRecordTimestamp' => [ - 'type' => 'integer', - 'format' => 'int64', - 'description' => 'The timestamp when the resource last became non-compliant.', - 'title' => '', - 'example' => '1744696665000', - ], + 'RemediationEnabled' => ['description' => 'Indicates whether remediation is enabled. Valid values:'."\n" + ."\n" + .'- true: Remediation is enabled.'."\n" + ."\n" + .'- false: Remediation is not enabled.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'EvaluationId' => ['type' => 'string', 'description' => 'The unique ID of the evaluation result.', 'title' => '', 'example' => '00000089-4e0d-58b5-a96a-8e54112110f3'], + 'LastNonCompliantRecordTimestamp' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The timestamp when the resource last became non-compliant.', 'title' => '', 'example' => '1744696665000'], ], 'title' => '', 'example' => '', @@ -24560,35 +14270,15 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], ], 404 => [ - [ - 'errorCode' => 'CloudConfigServiceRoleNotExisted', - 'errorMessage' => 'The CloudConfigServiceRole does not exist.', - 'description' => '', - ], - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'CloudConfigServiceRoleNotExisted', 'errorMessage' => 'The CloudConfigServiceRole does not exist.', 'description' => ''], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"25C89DDB-BB79-487D-88C3-4A561F21EFC4\\",\\n \\"EvaluationResults\\": {\\n \\"NextToken\\": \\"IWBjqMYSy0is7zSMGu16****\\",\\n \\"MaxResults\\": 10,\\n \\"EvaluationResultList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"ComplianceType\\": \\"NON_COMPLIANT\\",\\n \\"ResultRecordedTimestamp\\": 1624932227595,\\n \\"Annotation\\": \\"{\\\\\\\\\\\\\\"configuration\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"false\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"desiredValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"True\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"StringEquals\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"property\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"$.LoginProfile.MFABindRequired\\\\\\\\\\\\\\"}\\",\\n \\"ConfigRuleInvokedTimestamp\\": 1624932227157,\\n \\"InvokingEventMessageType\\": \\"ScheduledNotification\\",\\n \\"EvaluationResultIdentifier\\": {\\n \\"OrderingTimestamp\\": 1624932227157,\\n \\"EvaluationResultQualifier\\": {\\n \\"ConfigRuleArn\\": \\"acs:config::100931896542****:rule/cr-7f7d626622af0041****\\",\\n \\"ResourceType\\": \\"ACS::RAM::User\\",\\n \\"ConfigRuleName\\": \\"ram-user-mfa-check\\",\\n \\"ResourceId\\": \\"23642660635396****\\",\\n \\"ConfigRuleId\\": \\"cr-7f7d626622af0041****\\",\\n \\"ResourceName\\": \\"rd_member\\",\\n \\"RegionId\\": \\"global\\",\\n \\"IgnoreDate\\": \\"2022-06-01\\",\\n \\"ResourceOwnerId\\": 0\\n }\\n },\\n \\"RemediationEnabled\\": false,\\n \\"EvaluationId\\": \\"00000089-4e0d-58b5-a96a-8e54112110f3\\",\\n \\"LastNonCompliantRecordTimestamp\\": 1744696665000\\n }\\n ]\\n }\\n}","type":"json"}]', @@ -24597,12 +14287,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregateResourceEvaluationResults', - ], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateResourceEvaluationResults'], ], ], 'ramActions' => [ @@ -24613,26 +14298,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListAggregateResourceRelations' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -24644,105 +14318,53 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6XGW41', - ], + 'abilityTreeNodes' => ['FEATUREconfig6XGW41'], ], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'i-j6cajg9yrfoh4sas****', - ], + 'schema' => ['description' => 'The resource ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'i-j6cajg9yrfoh4sas****'], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the resource.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ACS::ECS::Instance', - ], + 'schema' => ['description' => 'The type of the resource.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ACS::ECS::Instance'], ], [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region in which the resource resides.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => 'The ID of the region in which the resource resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ca-856a626622af0033****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ca-856a626622af0033****'], ], [ 'name' => 'ResourceAccountId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resources in the account group belong.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '100931896542****', - ], + 'schema' => ['description' => 'The ID of the Alibaba Cloud account to which the resources in the account group belong.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '100931896542****'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AcBjqMYSy0is7zSMGu16****', - ], + 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", 'type' => 'string', 'required' => false, 'example' => 'AcBjqMYSy0is7zSMGu16****'], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries to return for a single request. Valid values: 1 to 1000.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '1000', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'The maximum number of entries to return for a single request. Valid values: 1 to 1000.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '10', 'default' => '10'], ], [ 'name' => 'TargetResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the resource that is associated with the object.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ACS::ECS::Disk', - ], + 'schema' => ['description' => 'The type of the resource that is associated with the object.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Disk'], ], [ 'name' => 'TargetResourceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource that is associated with the object.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'd-j6c8k731qbrc7fxi****', - ], + 'schema' => ['description' => 'The ID of the resource that is associated with the object.'."\n", 'type' => 'string', 'required' => false, 'example' => 'd-j6c8k731qbrc7fxi****'], ], [ 'name' => 'RelationType', @@ -24758,12 +14380,7 @@ .'* Contains: The object contains the resource.'."\n", 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'IsContained' => '', - 'IsAttachedTo' => '', - 'IsAssociatedIn' => '', - 'Contains' => '', - ], + 'enumValueTitles' => ['IsContained' => '', 'IsAttachedTo' => '', 'IsAssociatedIn' => '', 'Contains' => ''], 'example' => 'IsAttachedTo', ], ], @@ -24773,11 +14390,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '7A25F9DE-4C8B-5AD3-A241-FFF5A259E5A1', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '7A25F9DE-4C8B-5AD3-A241-FFF5A259E5A1'], 'ResourceRelations' => [ 'description' => 'The result of the relationship.'."\n", 'type' => 'object', @@ -24789,37 +14402,12 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'AccountId' => [ - 'description' => 'The Alibaba Cloud account ID of the resource owner.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100931896542****', - ], - 'SourceResourceType' => [ - 'description' => 'The type of the resource.'."\n", - 'type' => 'string', - 'example' => 'ACS::ECS::Instance', - ], - 'SourceResourceRegionId' => [ - 'description' => 'The region ID of the current resource.'."\n", - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'SourceResourceId' => [ - 'description' => 'The resource ID of the current resource.'."\n", - 'type' => 'string', - 'example' => 'i-j6cajg9yrfoh4sas****', - ], - 'TargetResourceType' => [ - 'description' => 'The type of the resource that is associated with the object.'."\n", - 'type' => 'string', - 'example' => 'ACS::ECS::Disk', - ], - 'TargetResourceId' => [ - 'description' => 'The resource ID of the resource that is associated with the object.'."\n", - 'type' => 'string', - 'example' => 'd-j6c8k731qbrc7fxi****', - ], + 'AccountId' => ['description' => 'The Alibaba Cloud account ID of the resource owner.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'], + 'SourceResourceType' => ['description' => 'The type of the resource.'."\n", 'type' => 'string', 'example' => 'ACS::ECS::Instance'], + 'SourceResourceRegionId' => ['description' => 'The region ID of the current resource.'."\n", 'type' => 'string', 'example' => 'cn-shanghai'], + 'SourceResourceId' => ['description' => 'The resource ID of the current resource.'."\n", 'type' => 'string', 'example' => 'i-j6cajg9yrfoh4sas****'], + 'TargetResourceType' => ['description' => 'The type of the resource that is associated with the object.'."\n", 'type' => 'string', 'example' => 'ACS::ECS::Disk'], + 'TargetResourceId' => ['description' => 'The resource ID of the resource that is associated with the object.'."\n", 'type' => 'string', 'example' => 'd-j6c8k731qbrc7fxi****'], 'RelationType' => [ 'description' => 'The type of the relationship between the resource and the object.'."\n" ."\n" @@ -24830,29 +14418,14 @@ .'* IsAssociatedIn: The object is associated with the resource.'."\n" .'* Contains: The object contains the resource.'."\n", 'type' => 'string', - 'enumValueTitles' => [ - 'IsContained' => '', - 'IsAttachedTo' => '', - 'IsAssociatedIn' => '', - 'Contains' => '', - ], + 'enumValueTitles' => ['IsContained' => '', 'IsAttachedTo' => '', 'IsAssociatedIn' => '', 'Contains' => ''], 'example' => 'IsAttachedTo', ], ], ], ], - 'NextToken' => [ - 'description' => 'The token that was used to initiate the next request.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AcBjqMYSy0is7zSMGu16****', - ], - 'MaxResults' => [ - 'description' => 'The maximum number of entries returned on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'NextToken' => ['description' => 'The token that was used to initiate the next request.'."\n", 'type' => 'string', 'required' => false, 'example' => 'AcBjqMYSy0is7zSMGu16****'], + 'MaxResults' => ['description' => 'The maximum number of entries returned on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '10'], ], ], ], @@ -24862,30 +14435,14 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'MemberNotBelongToMaster', - 'errorMessage' => 'The specified member does not belong to your organization.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], + ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7A25F9DE-4C8B-5AD3-A241-FFF5A259E5A1\\",\\n \\"ResourceRelations\\": {\\n \\"ResourceRelationList\\": [\\n {\\n \\"AccountId\\": 0,\\n \\"SourceResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"SourceResourceRegionId\\": \\"cn-shanghai\\",\\n \\"SourceResourceId\\": \\"i-j6cajg9yrfoh4sas****\\",\\n \\"TargetResourceType\\": \\"ACS::ECS::Disk\\",\\n \\"TargetResourceId\\": \\"d-j6c8k731qbrc7fxi****\\",\\n \\"RelationType\\": \\"IsAttachedTo\\"\\n }\\n ],\\n \\"NextToken\\": \\"AcBjqMYSy0is7zSMGu16****\\",\\n \\"MaxResults\\": 10\\n }\\n}","type":"json"}]', @@ -24901,12 +14458,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -24914,14 +14466,8 @@ ], 'ListAggregateResourcesByAdvancedSearch' => [ 'summary' => 'You can use SQL Select statements to search for resources in a specific account group based on fields in the resource properties.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -24933,33 +14479,19 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigQ01U20', - ], + 'abilityTreeNodes' => ['FEATUREconfigQ01U20'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Sql', 'in' => 'query', - 'schema' => [ - 'description' => 'The SQL search statement.', - 'type' => 'string', - 'required' => true, - 'example' => 'SELECT ResourceId, ResourceName WHERE Tags.Kvpair=\'business:online\'', - 'title' => '', - ], + 'schema' => ['description' => 'The SQL search statement.', 'type' => 'string', 'required' => true, 'example' => 'SELECT ResourceId, ResourceName WHERE Tags.Kvpair=\'business:online\'', 'title' => ''], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.', - 'type' => 'string', - 'required' => true, - 'example' => 'ca-4b05626622af000c****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the account group.', 'type' => 'string', 'required' => true, 'example' => 'ca-4b05626622af000c****', 'title' => ''], ], ], 'responses' => [ @@ -24967,12 +14499,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'B0DBF868-460F-5E7C-8F76-1ACE2FCCE153', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B0DBF868-460F-5E7C-8F76-1ACE2FCCE153', 'title' => ''], 'QueryResults' => [ 'description' => 'The query results.', 'type' => 'object', @@ -24984,27 +14511,17 @@ 'Columns' => [ 'description' => 'The list of field names returned by the search.', 'type' => 'array', - 'items' => [ - 'description' => 'The name of a field returned by the search.', - 'type' => 'string', - 'example' => '["ResourceId", "ResourceName"]', - 'title' => '', - ], + 'items' => ['description' => 'The name of a field returned by the search.', 'type' => 'string', 'example' => '["ResourceId", "ResourceName"]', 'title' => ''], 'title' => '', 'example' => '', ], 'Values' => [ 'description' => 'The list of resource data returned by the search.', 'type' => 'array', - 'items' => [ - 'description' => 'The resource data returned by the search.', - 'type' => 'any', - 'example' => '['."\n" - .' "eni-2ze5lq7xaluy5kb5****",'."\n" - .' "test-resource"'."\n" - .']', - 'title' => '', - ], + 'items' => ['description' => 'The resource data returned by the search.', 'type' => 'any', 'example' => '['."\n" + .' "eni-2ze5lq7xaluy5kb5****",'."\n" + .' "test-resource"'."\n" + .']', 'title' => ''], 'title' => '', 'example' => '', ], @@ -25025,23 +14542,13 @@ ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'ListAggregateResourcesByAdvancedSearch', 'description' => '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).'."\n" ."\n" @@ -25053,12 +14560,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregateResourcesByAdvancedSearch', - ], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateResourcesByAdvancedSearch'], ], ], 'ramActions' => [ @@ -25069,12 +14571,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], 'additionalActions' => [], @@ -25084,14 +14581,8 @@ ], 'ListAggregators' => [ 'summary' => 'Queries all account groups within the current management account or delegated administrator account.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -25103,39 +14594,20 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigB2MNLG', - ], + 'abilityTreeNodes' => ['FEATUREconfigB2MNLG'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of `NextToken`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TGlzdFJlc291cmNlU2hhcmVzJjE1MTI2NjY4NzY5MTAzOTEmMiZORnI4NDhVeEtrUT0', - 'maxLength' => 100, - 'minLength' => 1, - 'title' => '', - ], + 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of `NextToken`.'."\n", 'type' => 'string', 'required' => false, 'example' => 'TGlzdFJlc291cmNlU2hhcmVzJjE1MTI2NjY4NzY5MTAzOTEmMiZORnI4NDhVeEtrUT0', 'maxLength' => 100, 'minLength' => 1, 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => [ - 'description' => 'The maximum number of entries to return in a request. Valid values: 1 to 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '100', - 'exclusiveMaximum' => false, - 'minimum' => '1', - 'exclusiveMinimum' => false, - 'example' => '10', + 'description' => 'The maximum number of entries to return in a request. Valid values: 1 to 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, 'example' => '10', 'title' => '', ], ], @@ -25154,26 +14626,14 @@ .'You can add up to 20 tags to a resource.'."\n", 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key of the resource. You can specify up to 20 tag keys.'."\n" - ."\n" - .'The tag key cannot be an empty string. The tag key must be 1 to 64 characters in length and cannot start with `aliyun` or `acs`:. The tag key cannot contain `http://` or `https://`.', - 'type' => 'string', - 'required' => false, - 'example' => 'key-1', - 'title' => '', - ], - 'Value' => [ - 'description' => 'The tag values.'."\n" - ."\n" - .'The tag values can be an empty string or up to 128 characters in length. The tag values cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.'."\n" - ."\n" - .'Each key-value must be unique. You can specify at most 20 tag values in each call.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'value-1', - 'title' => '', - ], + 'Key' => ['description' => 'The tag key of the resource. You can specify up to 20 tag keys.'."\n" + ."\n" + .'The tag key cannot be an empty string. The tag key must be 1 to 64 characters in length and cannot start with `aliyun` or `acs`:. The tag key cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'key-1', 'title' => ''], + 'Value' => ['description' => 'The tag values.'."\n" + ."\n" + .'The tag values can be an empty string or up to 128 characters in length. The tag values cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.'."\n" + ."\n" + .'Each key-value must be unique. You can specify at most 20 tag values in each call.'."\n", 'type' => 'string', 'required' => false, 'example' => 'value-1', 'title' => ''], ], 'required' => false, 'title' => '', @@ -25192,22 +14652,12 @@ 'description' => 'This operation does not return any operation-specific parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '20C8526D-12C5-4336-BC72-EBD5D1BA732F', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '20C8526D-12C5-4336-BC72-EBD5D1BA732F', 'title' => ''], 'AggregatorsResult' => [ 'description' => 'The account groups.'."\n", 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of `NextToken`.'."\n", - 'type' => 'string', - 'example' => 'TGlzdFJlc291cmNlU2hhcmVzJjE1MTI2NjY4NzY5MTAzOTEmMiZORnI4NDhVeEtrUT0', - 'title' => '', - ], + 'NextToken' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of `NextToken`.'."\n", 'type' => 'string', 'example' => 'TGlzdFJlc291cmNlU2hhcmVzJjE1MTI2NjY4NzY5MTAzOTEmMiZORnI4NDhVeEtrUT0', 'title' => ''], 'Aggregators' => [ 'description' => 'The list of the account groups.'."\n", 'type' => 'array', @@ -25215,71 +14665,22 @@ 'description' => 'N/A.'."\n", 'type' => 'object', 'properties' => [ - 'AggregatorCreateTimestamp' => [ - 'description' => 'The timestamp generated when the account group was created.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1623036305000', - 'title' => '', - ], - 'AggregatorAccountCount' => [ - 'description' => 'The number of member accounts in the account group.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - 'title' => '', - ], - 'Description' => [ - 'description' => 'The description of the account group.'."\n", - 'type' => 'string', - 'example' => '测试组', - 'title' => '', - ], - 'AggregatorName' => [ - 'description' => 'The name of the account group.'."\n", - 'type' => 'string', - 'example' => 'Test_Group', - 'title' => '', - ], - 'AggregatorStatus' => [ - 'description' => 'The status of the account group. Valid values:'."\n" - ."\n" - .'* 0: The account group is being created.'."\n" - .'* 1: The account group was created.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'AggregatorType' => [ - 'description' => 'The type of the account group. Valid values:'."\n" - ."\n" - .'* RD: global account group.'."\n" - .'* FOLDER: account group of the folder.'."\n" - .'* CUSTOM: custom account group.'."\n", - 'type' => 'string', - 'example' => 'CUSTOM', - 'title' => '', - ], - 'AccountId' => [ - 'description' => 'The ID of the management account that is used to create the account group.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100931896542****', - 'title' => '', - ], - 'AggregatorId' => [ - 'description' => 'The ID of the account group.'."\n", - 'type' => 'string', - 'example' => 'ca-88ea626622af0055****', - 'title' => '', - ], - 'FolderId' => [ - 'description' => 'The ID of the folder.'."\n", - 'type' => 'string', - 'example' => 'fd-AAMJnCA***', - 'title' => '', - ], + 'AggregatorCreateTimestamp' => ['description' => 'The timestamp generated when the account group was created.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1623036305000', 'title' => ''], + 'AggregatorAccountCount' => ['description' => 'The number of member accounts in the account group.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'Description' => ['description' => 'The description of the account group.'."\n", 'type' => 'string', 'example' => '测试组', 'title' => ''], + 'AggregatorName' => ['description' => 'The name of the account group.'."\n", 'type' => 'string', 'example' => 'Test_Group', 'title' => ''], + 'AggregatorStatus' => ['description' => 'The status of the account group. Valid values:'."\n" + ."\n" + .'* 0: The account group is being created.'."\n" + .'* 1: The account group was created.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'AggregatorType' => ['description' => 'The type of the account group. Valid values:'."\n" + ."\n" + .'* RD: global account group.'."\n" + .'* FOLDER: account group of the folder.'."\n" + .'* CUSTOM: custom account group.'."\n", 'type' => 'string', 'example' => 'CUSTOM', 'title' => ''], + 'AccountId' => ['description' => 'The ID of the management account that is used to create the account group.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****', 'title' => ''], + 'AggregatorId' => ['description' => 'The ID of the account group.'."\n", 'type' => 'string', 'example' => 'ca-88ea626622af0055****', 'title' => ''], + 'FolderId' => ['description' => 'The ID of the folder.'."\n", 'type' => 'string', 'example' => 'fd-AAMJnCA***', 'title' => ''], 'Tags' => [ 'description' => 'tags', 'type' => 'array', @@ -25287,18 +14688,8 @@ 'description' => 'tags', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag keys of the resource.'."\n", - 'type' => 'string', - 'example' => 'key-1', - 'title' => '', - ], - 'TagValue' => [ - 'description' => 'The tag values of the resource.', - 'type' => 'string', - 'example' => 'value-1', - 'title' => '', - ], + 'TagKey' => ['description' => 'The tag keys of the resource.'."\n", 'type' => 'string', 'example' => 'key-1', 'title' => ''], + 'TagValue' => ['description' => 'The tag values of the resource.', 'type' => 'string', 'example' => 'value-1', 'title' => ''], ], 'title' => '', 'example' => '', @@ -25325,30 +14716,16 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"20C8526D-12C5-4336-BC72-EBD5D1BA732F\\",\\n \\"AggregatorsResult\\": {\\n \\"NextToken\\": \\"TGlzdFJlc291cmNlU2hhcmVzJjE1MTI2NjY4NzY5MTAzOTEmMiZORnI4NDhVeEtrUT0\\",\\n \\"Aggregators\\": [\\n {\\n \\"AggregatorCreateTimestamp\\": 1623036305000,\\n \\"AggregatorAccountCount\\": 2,\\n \\"Description\\": \\"测试组\\",\\n \\"AggregatorName\\": \\"Test_Group\\",\\n \\"AggregatorStatus\\": 1,\\n \\"AggregatorType\\": \\"CUSTOM\\",\\n \\"AccountId\\": 0,\\n \\"AggregatorId\\": \\"ca-88ea626622af0055****\\",\\n \\"FolderId\\": \\"fd-AAMJnCA***\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'ListAggregators', 'description' => '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.'."\n", @@ -25362,37 +14739,21 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Aggregator', - 'arn' => 'acs:config:*:{#accountId}:aggregator/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '120', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregators', - ], + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregators'], ], ], ], 'ListCompliancePackTemplates' => [ 'summary' => 'Queries the details of all compliance pack templates provided by CloudConfig.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -25404,96 +14765,48 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig79P8GJ', - ], + 'abilityTreeNodes' => ['FEATUREconfig79P8GJ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'CompliancePackTemplateId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance pack template.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'ct-5f26ff4e06a300c4****', - ], + 'schema' => ['description' => 'The ID of the compliance pack template.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ct-5f26ff4e06a300c4****'], ], [ 'name' => 'RuleRiskLevel', 'in' => 'query', 'allowEmptyValue' => true, - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The risk level of the rules in the compliance pack. Valid values:'."\n" - ."\n" - .'- 1: high'."\n" - .'- 2: medium'."\n" - .'- 3: low', - 'required' => false, - 'title' => '', - 'example' => '2', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The risk level of the rules in the compliance pack. Valid values:'."\n" + ."\n" + .'- 1: high'."\n" + .'- 2: medium'."\n" + .'- 3: low', 'required' => false, 'title' => '', 'example' => '2'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n" - ."\n" - .'Valid values: 1 to 100. Default value: 10.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '100', - 'minimum' => '1', - 'default' => '10', - 'title' => '', - 'example' => '10', - ], + 'schema' => ['description' => 'The number of entries to return on each page.'."\n" + ."\n" + .'Valid values: 1 to 100. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '1', 'default' => '10', 'title' => '', 'example' => '10'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n" - ."\n" - .'Minimum value: 1. Default value: 1.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'minimum' => '1', - 'default' => '1', - 'title' => '', - 'example' => '1', - ], + 'schema' => ['description' => 'The page number.'."\n" + ."\n" + .'Minimum value: 1. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'minimum' => '1', 'default' => '1', 'title' => '', 'example' => '1'], ], [ 'name' => 'ResourceTypes', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type that is evaluated by the rules. If you specify this parameter, only the compliance pack templates that contain rules for the specified resource type are returned.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'ACS::ECS::Instance', - ], + 'schema' => ['description' => 'The resource type that is evaluated by the rules. If you specify this parameter, only the compliance pack templates that contain rules for the specified resource type are returned.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ACS::ECS::Instance'], ], [ 'name' => 'FilterType', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The field used to filter the query results.', - 'type' => 'string', - 'required' => false, - 'example' => 'LAW', - ], + 'schema' => ['title' => '', 'description' => 'The field used to filter the query results.', 'type' => 'string', 'required' => false, 'example' => 'LAW'], ], ], 'responses' => [ @@ -25506,27 +14819,9 @@ 'description' => 'The details of the compliance pack templates.', 'type' => 'object', 'properties' => [ - 'PageSize' => [ - 'description' => 'The number of entries returned per page.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => 'The page number.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => 'The total number of compliance pack templates.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1', - ], + 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], + 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'TotalCount' => ['description' => 'The total number of compliance pack templates.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], 'CompliancePackTemplates' => [ 'description' => 'A list of compliance pack templates.', 'type' => 'array', @@ -25534,23 +14829,12 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => 'The risk level of the rules in the compliance pack. Valid values:'."\n" - ."\n" - .'- 1: high'."\n" - .'- 2: medium'."\n" - .'- 3: low', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], - 'Description' => [ - 'description' => 'The description of the compliance pack.', - 'type' => 'string', - 'title' => '', - 'example' => 'Checks the compliance of Alibaba Cloud resources based on the specific requirements of MLPS 2.0 Level 3.', - ], + 'RiskLevel' => ['description' => 'The risk level of the rules in the compliance pack. Valid values:'."\n" + ."\n" + .'- 1: high'."\n" + .'- 2: medium'."\n" + .'- 3: low', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'Description' => ['description' => 'The description of the compliance pack.', 'type' => 'string', 'title' => '', 'example' => 'Checks the compliance of Alibaba Cloud resources based on the specific requirements of MLPS 2.0 Level 3.'], 'ConfigRules' => [ 'description' => 'A list of default rules in the compliance pack.', 'type' => 'array', @@ -25558,24 +14842,9 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'Description' => [ - 'description' => 'The description of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'If no vulnerabilities that are of the specified type and severity level and to be fixed exist on the running ECS instances that are protected by Security Center, the configuration is considered compliant. This rule does not apply to ECS instances that are not in the running state.', - ], - 'ManagedRuleIdentifier' => [ - 'description' => 'The identifier of the managed rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'ecs-instance-updated-security-vul', - ], - 'ManagedRuleName' => [ - 'description' => 'The name of the managed rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'ecs-instance-updated-security-vul', - ], + 'Description' => ['description' => 'The description of the rule.', 'type' => 'string', 'title' => '', 'example' => 'If no vulnerabilities that are of the specified type and severity level and to be fixed exist on the running ECS instances that are protected by Security Center, the configuration is considered compliant. This rule does not apply to ECS instances that are not in the running state.'], + 'ManagedRuleIdentifier' => ['description' => 'The identifier of the managed rule.', 'type' => 'string', 'title' => '', 'example' => 'ecs-instance-updated-security-vul'], + 'ManagedRuleName' => ['description' => 'The name of the managed rule.', 'type' => 'string', 'title' => '', 'example' => 'ecs-instance-updated-security-vul'], 'ConfigRuleParameters' => [ 'description' => 'The parameters of the managed rule.', 'type' => 'array', @@ -25583,27 +14852,12 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'Required' => [ - 'description' => 'Indicates whether the parameter is required for the managed rule. Valid values:'."\n" - ."\n" - .'- true: The parameter is required.'."\n" - .'- false: The parameter is not required.', - 'type' => 'boolean', - 'title' => '', - 'example' => 'true', - ], - 'ParameterName' => [ - 'description' => 'The name of the parameter for the managed rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'necessity', - ], - 'ParameterValue' => [ - 'description' => 'The value of the parameter for the managed rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'asap', - ], + 'Required' => ['description' => 'Indicates whether the parameter is required for the managed rule. Valid values:'."\n" + ."\n" + .'- true: The parameter is required.'."\n" + .'- false: The parameter is not required.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'ParameterName' => ['description' => 'The name of the parameter for the managed rule.', 'type' => 'string', 'title' => '', 'example' => 'necessity'], + 'ParameterValue' => ['description' => 'The value of the parameter for the managed rule.', 'type' => 'string', 'title' => '', 'example' => 'asap'], ], 'title' => '', 'example' => '', @@ -25611,46 +14865,20 @@ 'title' => '', 'example' => '', ], - 'RiskLevel' => [ - 'description' => 'The risk level of the managed rule. Valid values:'."\n" - ."\n" - .'- 1: high'."\n" - .'- 2: medium'."\n" - .'- 3: low', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '2', - ], - 'ControlId' => [ - 'description' => 'The ID of the control.'."\n" - ."\n" - .'> This parameter appears only for regulatory compliance packages.', - 'type' => 'string', - 'title' => '', - 'example' => '8.1.4.4', - ], - 'ControlDescription' => [ - 'description' => 'The description of the control. This parameter is returned only for compliance packs that are created based on a regulation.', - 'type' => 'string', - 'title' => '', - 'example' => 'e) Possible known vulnerabilities should be found and remedied in a timely manner after adequate testing and evaluation.\\nf) It shall be able to detect intrusion into important nodes and provide an alarm in case of serious intrusion events.', - ], - 'DefaultEnable' => [ - 'description' => 'Indicates whether the rule can be quickly enabled. Valid values:'."\n" - ."\n" - .'- true: The rule can be quickly enabled.'."\n" - .'- false: The rule cannot be quickly enabled.', - 'type' => 'boolean', - 'title' => '', - 'example' => 'false', - ], - 'ResourceTypesScope' => [ - 'description' => 'The resource types that are evaluated by the rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS::ECS::Instance', - ], + 'RiskLevel' => ['description' => 'The risk level of the managed rule. Valid values:'."\n" + ."\n" + .'- 1: high'."\n" + .'- 2: medium'."\n" + .'- 3: low', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '2'], + 'ControlId' => ['description' => 'The ID of the control.'."\n" + ."\n" + .'> This parameter appears only for regulatory compliance packages.', 'type' => 'string', 'title' => '', 'example' => '8.1.4.4'], + 'ControlDescription' => ['description' => 'The description of the control. This parameter is returned only for compliance packs that are created based on a regulation.', 'type' => 'string', 'title' => '', 'example' => 'e) Possible known vulnerabilities should be found and remedied in a timely manner after adequate testing and evaluation.\\nf) It shall be able to detect intrusion into important nodes and provide an alarm in case of serious intrusion events.'], + 'DefaultEnable' => ['description' => 'Indicates whether the rule can be quickly enabled. Valid values:'."\n" + ."\n" + .'- true: The rule can be quickly enabled.'."\n" + .'- false: The rule cannot be quickly enabled.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'ResourceTypesScope' => ['description' => 'The resource types that are evaluated by the rule.', 'type' => 'string', 'title' => '', 'example' => 'ACS::ECS::Instance'], ], 'title' => '', 'example' => '', @@ -25658,31 +14886,10 @@ 'title' => '', 'example' => '', ], - 'CompliancePackTemplateName' => [ - 'description' => 'The name of the compliance pack template.', - 'type' => 'string', - 'title' => '', - 'example' => 'ClassifiedProtectionPreCheck', - ], - 'CompliancePackTemplateId' => [ - 'description' => 'The ID of the compliance pack template.', - 'type' => 'string', - 'title' => '', - 'example' => 'ct-5f26ff4e06a300c4****', - ], - 'Labels' => [ - 'description' => 'The classification labels of the compliance pack.', - 'type' => 'string', - 'title' => '', - 'example' => 'Regulation', - ], - 'LastUpdate' => [ - 'description' => 'The UNIX timestamp when the compliance pack was last updated.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1747983081', - ], + 'CompliancePackTemplateName' => ['description' => 'The name of the compliance pack template.', 'type' => 'string', 'title' => '', 'example' => 'ClassifiedProtectionPreCheck'], + 'CompliancePackTemplateId' => ['description' => 'The ID of the compliance pack template.', 'type' => 'string', 'title' => '', 'example' => 'ct-5f26ff4e06a300c4****'], + 'Labels' => ['description' => 'The classification labels of the compliance pack.', 'type' => 'string', 'title' => '', 'example' => 'Regulation'], + 'LastUpdate' => ['description' => 'The UNIX timestamp when the compliance pack was last updated.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1747983081'], ], 'title' => '', 'example' => '', @@ -25694,12 +14901,7 @@ 'title' => '', 'example' => '', ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'title' => '', - 'example' => 'D67FC82F-25AE-4268-A94C-3348340748F9', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'D67FC82F-25AE-4268-A94C-3348340748F9'], ], 'title' => '', 'example' => '', @@ -25708,25 +14910,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CompliancePackTemplatesResult\\": {\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"CompliancePackTemplates\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"Description\\": \\"Checks the compliance of Alibaba Cloud resources based on the specific requirements of MLPS 2.0 Level 3.\\",\\n \\"ConfigRules\\": [\\n {\\n \\"Description\\": \\"If no vulnerabilities that are of the specified type and severity level and to be fixed exist on the running ECS instances that are protected by Security Center, the configuration is considered compliant. This rule does not apply to ECS instances that are not in the running state.\\",\\n \\"ManagedRuleIdentifier\\": \\"ecs-instance-updated-security-vul\\",\\n \\"ManagedRuleName\\": \\"ecs-instance-updated-security-vul\\",\\n \\"ConfigRuleParameters\\": [\\n {\\n \\"Required\\": true,\\n \\"ParameterName\\": \\"necessity\\",\\n \\"ParameterValue\\": \\"asap\\"\\n }\\n ],\\n \\"RiskLevel\\": 2,\\n \\"ControlId\\": \\"8.1.4.4\\",\\n \\"ControlDescription\\": \\"e) Possible known vulnerabilities should be found and remedied in a timely manner after adequate testing and evaluation.\\\\\\\\nf) It shall be able to detect intrusion into important nodes and provide an alarm in case of serious intrusion events.\\",\\n \\"DefaultEnable\\": false,\\n \\"ResourceTypesScope\\": \\"ACS::ECS::Instance\\"\\n }\\n ],\\n \\"CompliancePackTemplateName\\": \\"ClassifiedProtectionPreCheck\\",\\n \\"CompliancePackTemplateId\\": \\"ct-5f26ff4e06a300c4****\\",\\n \\"Labels\\": \\"Regulation\\",\\n \\"LastUpdate\\": 1747983081\\n }\\n ]\\n },\\n \\"RequestId\\": \\"D67FC82F-25AE-4268-A94C-3348340748F9\\"\\n}","type":"json"}]', @@ -25736,26 +14926,15 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListCompliancePackTemplates', - ], + ['threshold' => '50', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListCompliancePackTemplates'], ], ], 'ramActions' => [], ], 'ListCompliancePacks' => [ 'summary' => 'Lists the compliance packs for the current account.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -25767,77 +14946,43 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig3B4J5L', - ], + 'abilityTreeNodes' => ['FEATUREconfig3B4J5L'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the compliance pack. Valid values:'."\n" - ."\n" - .'- ACTIVE: The compliance pack is active.'."\n" - ."\n" - .'- CREATING: The compliance pack is being created.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'ACTIVE', - ], + 'schema' => ['description' => 'The status of the compliance pack. Valid values:'."\n" + ."\n" + .'- ACTIVE: The compliance pack is active.'."\n" + ."\n" + .'- CREATING: The compliance pack is being created.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ACTIVE'], ], [ 'name' => 'RiskLevel', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'description' => 'The risk level of the compliance pack. Valid values:'."\n" - ."\n" - .'- 1: high risk.'."\n" - ."\n" - .'- 2: medium risk.'."\n" - ."\n" - .'- 3: low risk.', - 'title' => '', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The risk level of the compliance pack. Valid values:'."\n" + ."\n" + .'- 1: high risk.'."\n" + ."\n" + .'- 2: medium risk.'."\n" + ."\n" + .'- 3: low risk.', 'title' => '', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page.'."\n" - ."\n" - .'Valid values: 1 to 100. Default value: 10.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'default' => '10', - 'title' => '', - 'example' => '10', - ], + 'schema' => ['description' => 'The number of entries per page.'."\n" + ."\n" + .'Valid values: 1 to 100. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'default' => '10', 'title' => '', 'example' => '10'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n" - ."\n" - .'Minimum value: 1. Default value: 1.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'default' => '1', - 'title' => '', - 'example' => '1', - ], + 'schema' => ['description' => 'The page number.'."\n" + ."\n" + .'Minimum value: 1. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'default' => '1', 'title' => '', 'example' => '1'], ], [ 'name' => 'Tag', @@ -25854,24 +14999,12 @@ .'You can attach up to 20 tags to a resource.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key of the resource.'."\n" - ."\n" - .'You can attach up to 20 tag keys to a resource.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'key-1', - ], - 'Value' => [ - 'description' => 'The tag value of the resource.'."\n" - ."\n" - .'You can attach up to 20 tag values to a resource.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'value-1', - ], + 'Key' => ['description' => 'The tag key of the resource.'."\n" + ."\n" + .'You can attach up to 20 tag keys to a resource.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'key-1'], + 'Value' => ['description' => 'The tag value of the resource.'."\n" + ."\n" + .'You can attach up to 20 tag values to a resource.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'value-1'], ], 'required' => false, 'title' => '', @@ -25890,12 +15023,7 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751'], 'CompliancePacksResult' => [ 'description' => 'The query results for the compliance packs.', 'type' => 'object', @@ -25907,60 +15035,23 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The status of the compliance pack. Valid values:'."\n" - ."\n" - .'- ACTIVE: The compliance pack is active.'."\n" - ."\n" - .'- CREATING: The compliance pack is being created.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACTIVE', - ], - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance pack.', - 'type' => 'string', - 'title' => '', - 'example' => 'cp-fdc8626622af00f9****', - ], - 'RiskLevel' => [ - 'description' => 'The risk level of the compliance pack. Valid values:'."\n" - ."\n" - .'- 1: high risk.'."\n" - ."\n" - .'- 2: medium risk.'."\n" - ."\n" - .'- 3: low risk.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], - 'Description' => [ - 'description' => 'The description of the compliance pack.', - 'type' => 'string', - 'title' => '', - 'example' => 'Check the stability of Alibaba Cloud resources based on the high-availability infrastructure, capacity protection, change management, monitoring management, backup management, and fault isolation. This helps you identify issues at the earliest opportunity and improve stability and the efficiency of O&M.', - ], - 'CompliancePackName' => [ - 'description' => 'The name of the compliance pack.', - 'type' => 'string', - 'title' => '', - 'example' => 'BestPracticesForResourceStability', - ], - 'AccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the compliance pack belongs.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '120886317861****', - ], - 'CompliancePackTemplateId' => [ - 'description' => 'The ID of the compliance pack template.', - 'type' => 'string', - 'title' => '', - 'example' => 'ct-484cff4e06a30062****', - ], + 'Status' => ['description' => 'The status of the compliance pack. Valid values:'."\n" + ."\n" + .'- ACTIVE: The compliance pack is active.'."\n" + ."\n" + .'- CREATING: The compliance pack is being created.', 'type' => 'string', 'title' => '', 'example' => 'ACTIVE'], + 'CompliancePackId' => ['description' => 'The ID of the compliance pack.', 'type' => 'string', 'title' => '', 'example' => 'cp-fdc8626622af00f9****'], + 'RiskLevel' => ['description' => 'The risk level of the compliance pack. Valid values:'."\n" + ."\n" + .'- 1: high risk.'."\n" + ."\n" + .'- 2: medium risk.'."\n" + ."\n" + .'- 3: low risk.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'Description' => ['description' => 'The description of the compliance pack.', 'type' => 'string', 'title' => '', 'example' => 'Check the stability of Alibaba Cloud resources based on the high-availability infrastructure, capacity protection, change management, monitoring management, backup management, and fault isolation. This helps you identify issues at the earliest opportunity and improve stability and the efficiency of O&M.'], + 'CompliancePackName' => ['description' => 'The name of the compliance pack.', 'type' => 'string', 'title' => '', 'example' => 'BestPracticesForResourceStability'], + 'AccountId' => ['description' => 'The ID of the Alibaba Cloud account to which the compliance pack belongs.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '120886317861****'], + 'CompliancePackTemplateId' => ['description' => 'The ID of the compliance pack template.', 'type' => 'string', 'title' => '', 'example' => 'ct-484cff4e06a30062****'], 'Tags' => [ 'description' => 'The tags of the resource.', 'type' => 'array', @@ -25968,18 +15059,8 @@ 'description' => 'The tag of the resource.', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'title' => '', - 'example' => 'key-1', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'title' => '', - 'example' => 'value-1', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'key-1'], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'value-1'], ], 'title' => '', 'example' => '', @@ -25987,13 +15068,7 @@ 'title' => '', 'example' => '', ], - 'CreateTimestamp' => [ - 'description' => 'The timestamp when the compliance pack was created. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1621325046000', - ], + 'CreateTimestamp' => ['description' => 'The timestamp when the compliance pack was created. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1621325046000'], ], 'title' => '', 'example' => '', @@ -26001,27 +15076,9 @@ 'title' => '', 'example' => '', ], - 'PageSize' => [ - 'description' => 'The number of entries per page.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => 'The page number.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => 'The total number of compliance packs.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1', - ], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], + 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'TotalCount' => ['description' => 'The total number of compliance packs.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], ], 'title' => '', 'example' => '', @@ -26034,25 +15091,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\",\\n \\"CompliancePacksResult\\": {\\n \\"CompliancePacks\\": [\\n {\\n \\"Status\\": \\"ACTIVE\\",\\n \\"CompliancePackId\\": \\"cp-fdc8626622af00f9****\\",\\n \\"RiskLevel\\": 1,\\n \\"Description\\": \\"Check the stability of Alibaba Cloud resources based on the high-availability infrastructure, capacity protection, change management, monitoring management, backup management, and fault isolation. This helps you identify issues at the earliest opportunity and improve stability and the efficiency of O&M.\\",\\n \\"CompliancePackName\\": \\"BestPracticesForResourceStability\\",\\n \\"AccountId\\": 0,\\n \\"CompliancePackTemplateId\\": \\"ct-484cff4e06a30062****\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ],\\n \\"CreateTimestamp\\": 1621325046000\\n }\\n ],\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1\\n }\\n}","type":"json"}]', @@ -26062,12 +15107,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '180', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListCompliancePacks', - ], + ['threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListCompliancePacks'], ], ], 'ramActions' => [ @@ -26078,12 +15118,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'CompliancePack', - 'arn' => 'acs:config:*:{#accountId}:compliancepack/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/*'], ], ], ], @@ -26091,14 +15126,8 @@ ], 'ListConfigDeliveryChannels' => [ 'summary' => 'Returns a list of delivery channels.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26110,21 +15139,13 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigRIQA8M', - ], + 'abilityTreeNodes' => ['FEATUREconfigRIQA8M'], ], 'parameters' => [ [ 'name' => 'DeliveryChannelIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the delivery channel. Separate multiple delivery channel IDs with a comma (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'cdc-d9106457e0d900b1****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the delivery channel. Separate multiple delivery channel IDs with a comma (,).', 'type' => 'string', 'required' => false, 'example' => 'cdc-d9106457e0d900b1****', 'title' => ''], ], ], 'responses' => [ @@ -26140,150 +15161,73 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The status of the delivery channel. Valid values:'."\n" - ."\n" - .'- 0: The delivery channel is disabled.'."\n" - ."\n" - .'- 1: The delivery channel is enabled.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'DeliveryChannelName' => [ - 'description' => 'The name of the delivery channel.', - 'type' => 'string', - 'example' => 'myDeliveryChannel', - 'title' => '', - ], - 'DeliveryChannelId' => [ - 'description' => 'The ID of the delivery channel.', - 'type' => 'string', - 'example' => 'cdc-d9106457e0d900b1****', - 'title' => '', - ], - 'DeliveryChannelType' => [ - 'description' => 'The type of the delivery channel. Valid values:'."\n" - ."\n" - .'- OSS: Object Storage Service (OSS).'."\n" - ."\n" - .'- MNS: Simple Message Queue (formerly MNS).'."\n" - ."\n" - .'- SLS: Simple Log Service (SLS).', - 'type' => 'string', - 'example' => 'OSS', - 'title' => '', - ], - 'DeliveryChannelTargetArn' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the delivery destination.'."\n" - ."\n" - .'- If \\`DeliveryChannelType\\` is \\`OSS\\`, this parameter is the ARN of an OSS bucket.'."\n" - ."\n" - .'- If \\`DeliveryChannelType\\` is \\`MNS\\`, this parameter is the ARN of an MNS topic.'."\n" - ."\n" - .'- If \\`DeliveryChannelType\\` is \\`SLS\\`, this parameter is the ARN of an SLS Logstore.', - 'type' => 'string', - 'example' => 'acs:oss:cn-shanghai:120886317861****:new-bucket', - 'title' => '', - ], - 'DeliveryChannelAssumeRoleArn' => [ - 'description' => 'The ARN of the role that is assumed by the delivery channel.', - 'type' => 'string', - 'example' => 'acs:ram::120886317861****:role/aliyunserviceroleforconfig', - 'title' => '', - ], - 'DeliveryChannelCondition' => [ - 'description' => 'The rule attached to the delivery channel. This parameter is supported for MNS channels and for snapshot delivery to SLS channels.'."\n" - ."\n" - .'- To subscribe to MNS events, specify the minimum risk level and resource types:'."\n" - ."\n" - .' - Minimum risk level of subscribed events: `{"filterType":"RuleRiskLevel","value":"1","multiple":false}`.'."\n" - ."\n" - .' \\`value\\` specifies the risk level. Valid values: 1 (high risk), 2 (medium risk), and 3 (low risk).'."\n" - ."\n" - .' - Resource types of subscribed events: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" - ."\n" - .' \\`values\\` is a JSON array of the resource types.'."\n" - .' Example:'."\n" - .' `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n" - ."\n" - .'- To deliver snapshots to SLS, specify the resource types: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" - ."\n" - .' \\`values\\` is a JSON array of the resource types.'."\n" - .' Example:'."\n" - .' `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`', - 'type' => 'string', - 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]', - 'title' => '', - ], - 'OversizedDataOSSTargetArn' => [ - 'description' => 'The destination OSS bucket to which the data is transferred when the size of the data exceeds the limit of the delivery channel.', - 'type' => 'string', - 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket', - 'title' => '', - ], - 'Description' => [ - 'description' => 'The description of the delivery channel.', - 'type' => 'string', - 'example' => 'My OSS delivery.', - 'title' => '', - ], - 'CompliantSnapshot' => [ - 'description' => 'Specifies whether to receive compliance snapshots. Cloud Config delivers resource compliance and non-compliance information to SLS. Valid values:'."\n" - ."\n" - .'- true: Receive compliance snapshots.'."\n" - ."\n" - .'- false: Do not receive compliance snapshots.', - 'type' => 'boolean', - 'example' => 'false', - 'title' => '', - ], - 'ConfigurationSnapshot' => [ - 'description' => 'Specifies whether to receive scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots to OSS or SLS at `04:00Z` and `16:00Z` (UTC) every day. Valid values:'."\n" - ."\n" - .'- true: Receive scheduled resource snapshots.'."\n" - ."\n" - .'- false: Do not receive scheduled resource snapshots.', - 'type' => 'boolean', - 'example' => 'false', - 'title' => '', - ], - 'ConfigurationItemChangeNotification' => [ - 'description' => 'Specifies whether to receive the resource configuration history. When a resource configuration changes, Cloud Config delivers the resource configuration history to OSS, SLS, or MNS. Valid values:'."\n" - ."\n" - .'- true: Receive the resource configuration history.'."\n" - ."\n" - .'- false: Do not receive the resource configuration history.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'NonCompliantNotification' => [ - 'description' => 'Specifies whether to receive resource non-compliance events. When a resource becomes non-compliant, Cloud Config delivers a resource non-compliance event to SLS or MNS. Valid values:'."\n" - ."\n" - .'- true: Receive resource non-compliance events.'."\n" - ."\n" - .'- false: Do not receive resource non-compliance events.', - 'type' => 'boolean', - 'example' => 'false', - 'title' => '', - ], - 'AccountId' => [ - 'description' => 'The ID of the current Alibaba Cloud account.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '120886317861****', - 'title' => '', - ], - 'DeliverySnapshotTime' => [ - 'description' => 'The time when scheduled resource snapshots start to be delivered every day.'."\n" - ."\n" - .'The format is `HH:mmZ` (UTC).', - 'type' => 'string', - 'example' => '09:10Z', - 'title' => '', - ], + 'Status' => ['description' => 'The status of the delivery channel. Valid values:'."\n" + ."\n" + .'- 0: The delivery channel is disabled.'."\n" + ."\n" + .'- 1: The delivery channel is enabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'DeliveryChannelName' => ['description' => 'The name of the delivery channel.', 'type' => 'string', 'example' => 'myDeliveryChannel', 'title' => ''], + 'DeliveryChannelId' => ['description' => 'The ID of the delivery channel.', 'type' => 'string', 'example' => 'cdc-d9106457e0d900b1****', 'title' => ''], + 'DeliveryChannelType' => ['description' => 'The type of the delivery channel. Valid values:'."\n" + ."\n" + .'- OSS: Object Storage Service (OSS).'."\n" + ."\n" + .'- MNS: Simple Message Queue (formerly MNS).'."\n" + ."\n" + .'- SLS: Simple Log Service (SLS).', 'type' => 'string', 'example' => 'OSS', 'title' => ''], + 'DeliveryChannelTargetArn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the delivery destination.'."\n" + ."\n" + .'- If \\`DeliveryChannelType\\` is \\`OSS\\`, this parameter is the ARN of an OSS bucket.'."\n" + ."\n" + .'- If \\`DeliveryChannelType\\` is \\`MNS\\`, this parameter is the ARN of an MNS topic.'."\n" + ."\n" + .'- If \\`DeliveryChannelType\\` is \\`SLS\\`, this parameter is the ARN of an SLS Logstore.', 'type' => 'string', 'example' => 'acs:oss:cn-shanghai:120886317861****:new-bucket', 'title' => ''], + 'DeliveryChannelAssumeRoleArn' => ['description' => 'The ARN of the role that is assumed by the delivery channel.', 'type' => 'string', 'example' => 'acs:ram::120886317861****:role/aliyunserviceroleforconfig', 'title' => ''], + 'DeliveryChannelCondition' => ['description' => 'The rule attached to the delivery channel. This parameter is supported for MNS channels and for snapshot delivery to SLS channels.'."\n" + ."\n" + .'- To subscribe to MNS events, specify the minimum risk level and resource types:'."\n" + ."\n" + .' - Minimum risk level of subscribed events: `{"filterType":"RuleRiskLevel","value":"1","multiple":false}`.'."\n" + ."\n" + .' \\`value\\` specifies the risk level. Valid values: 1 (high risk), 2 (medium risk), and 3 (low risk).'."\n" + ."\n" + .' - Resource types of subscribed events: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" + ."\n" + .' \\`values\\` is a JSON array of the resource types.'."\n" + .' Example:'."\n" + .' `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n" + ."\n" + .'- To deliver snapshots to SLS, specify the resource types: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" + ."\n" + .' \\`values\\` is a JSON array of the resource types.'."\n" + .' Example:'."\n" + .' `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`', 'type' => 'string', 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]', 'title' => ''], + 'OversizedDataOSSTargetArn' => ['description' => 'The destination OSS bucket to which the data is transferred when the size of the data exceeds the limit of the delivery channel.', 'type' => 'string', 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket', 'title' => ''], + 'Description' => ['description' => 'The description of the delivery channel.', 'type' => 'string', 'example' => 'My OSS delivery.', 'title' => ''], + 'CompliantSnapshot' => ['description' => 'Specifies whether to receive compliance snapshots. Cloud Config delivers resource compliance and non-compliance information to SLS. Valid values:'."\n" + ."\n" + .'- true: Receive compliance snapshots.'."\n" + ."\n" + .'- false: Do not receive compliance snapshots.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ConfigurationSnapshot' => ['description' => 'Specifies whether to receive scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots to OSS or SLS at `04:00Z` and `16:00Z` (UTC) every day. Valid values:'."\n" + ."\n" + .'- true: Receive scheduled resource snapshots.'."\n" + ."\n" + .'- false: Do not receive scheduled resource snapshots.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'ConfigurationItemChangeNotification' => ['description' => 'Specifies whether to receive the resource configuration history. When a resource configuration changes, Cloud Config delivers the resource configuration history to OSS, SLS, or MNS. Valid values:'."\n" + ."\n" + .'- true: Receive the resource configuration history.'."\n" + ."\n" + .'- false: Do not receive the resource configuration history.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'NonCompliantNotification' => ['description' => 'Specifies whether to receive resource non-compliance events. When a resource becomes non-compliant, Cloud Config delivers a resource non-compliance event to SLS or MNS. Valid values:'."\n" + ."\n" + .'- true: Receive resource non-compliance events.'."\n" + ."\n" + .'- false: Do not receive resource non-compliance events.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'AccountId' => ['description' => 'The ID of the current Alibaba Cloud account.', 'type' => 'integer', 'format' => 'int64', 'example' => '120886317861****', 'title' => ''], + 'DeliverySnapshotTime' => ['description' => 'The time when scheduled resource snapshots start to be delivered every day.'."\n" + ."\n" + .'The format is `HH:mmZ` (UTC).', 'type' => 'string', 'example' => '09:10Z', 'title' => ''], ], 'title' => '', 'example' => '', @@ -26291,12 +15235,7 @@ 'title' => '', 'example' => '', ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487', 'title' => ''], ], 'title' => '', 'example' => '', @@ -26305,25 +15244,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'DeliveryChannelNotExists', - 'errorMessage' => 'The delivery channel does not exist.', - 'description' => 'The delivery channel does not exist.', - ], + ['errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => 'The delivery channel does not exist.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannels\\": [\\n {\\n \\"Status\\": 1,\\n \\"DeliveryChannelName\\": \\"myDeliveryChannel\\",\\n \\"DeliveryChannelId\\": \\"cdc-d9106457e0d900b1****\\",\\n \\"DeliveryChannelType\\": \\"OSS\\",\\n \\"DeliveryChannelTargetArn\\": \\"acs:oss:cn-shanghai:120886317861****:new-bucket\\",\\n \\"DeliveryChannelAssumeRoleArn\\": \\"acs:ram::120886317861****:role/aliyunserviceroleforconfig\\",\\n \\"DeliveryChannelCondition\\": \\"[{\\\\\\"filterType\\\\\\":\\\\\\"ResourceType\\\\\\",\\\\\\"values\\\\\\":[\\\\\\"ACS::ActionTrail::Trail\\\\\\",\\\\\\"ACS::CBWP::CommonBandwidthPackage\\\\\\",\\\\\\"ACS::CDN::Domain\\\\\\",\\\\\\"ACS::CEN::CenBandwidthPackage\\\\\\",\\\\\\"ACS::CEN::CenInstance\\\\\\",\\\\\\"ACS::CEN::Flowlog\\\\\\",\\\\\\"ACS::DdosCoo::Instance\\\\\\"],\\\\\\"multiple\\\\\\":true}]\\",\\n \\"OversizedDataOSSTargetArn\\": \\"acs:oss:cn-shanghai:100931896542****:new-bucket\\",\\n \\"Description\\": \\"My OSS delivery.\\",\\n \\"CompliantSnapshot\\": false,\\n \\"ConfigurationSnapshot\\": false,\\n \\"ConfigurationItemChangeNotification\\": true,\\n \\"NonCompliantNotification\\": false,\\n \\"AccountId\\": 0,\\n \\"DeliverySnapshotTime\\": \\"09:10Z\\"\\n }\\n ],\\n \\"RequestId\\": \\"DC300244-FCE3-5061-8214-C27ECB668487\\"\\n}","type":"json"}]', @@ -26332,12 +15259,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '180', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListConfigDeliveryChannels', - ], + ['threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListConfigDeliveryChannels'], ], ], 'ramActions' => [ @@ -26348,26 +15270,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListConfigRuleEvaluationResults' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26379,9 +15290,7 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ @@ -26401,13 +15310,7 @@ ."\n" .'- IGNORED: The evaluation result is ignored.', 'type' => 'string', - 'enum' => [ - 'COMPLIANT', - 'NON_COMPLIANT', - 'NOT_APPLICABLE', - 'INSUFFICIENT_DATA', - 'IGNORED', - ], + 'enum' => ['COMPLIANT', 'NON_COMPLIANT', 'NOT_APPLICABLE', 'INSUFFICIENT_DATA', 'IGNORED'], 'required' => false, 'example' => 'NON_COMPLIANT', 'title' => '', @@ -26416,89 +15319,44 @@ [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'If the response is truncated, use the `NextToken` to retrieve the next page of results.', - 'type' => 'string', - 'required' => false, - 'example' => 'IWBjqMYSy0is7zSMGu16****', - 'title' => '', - ], + 'schema' => ['description' => 'If the response is truncated, use the `NextToken` to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'example' => 'IWBjqMYSy0is7zSMGu16****', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => [ - 'description' => 'The maximum number of entries to return on each page. Valid values: 1 to 100.', - 'type' => 'integer', - 'format' => 'int32', - 'maximum' => '100', - 'exclusiveMaximum' => false, - 'minimum' => '1', - 'exclusiveMinimum' => false, - 'default' => '10', - 'required' => false, - 'example' => '10', + 'description' => 'The maximum number of entries to return on each page. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, 'default' => '10', 'required' => false, 'example' => '10', 'title' => '', ], ], [ 'name' => 'ConfigRuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule ID.'."\n" - ."\n" - .'For more information about how to obtain a rule ID, see [ListConfigRules](~~169607~~).', - 'type' => 'string', - 'required' => false, - 'example' => 'cr-cac56457e0d900d3****', - 'title' => '', - ], + 'schema' => ['description' => 'The rule ID.'."\n" + ."\n" + .'For more information about how to obtain a rule ID, see [ListConfigRules](~~169607~~).', 'type' => 'string', 'required' => false, 'example' => 'cr-cac56457e0d900d3****', 'title' => ''], ], [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The compliance package ID.'."\n" - ."\n" - .'For more information about how to obtain a compliance package ID, see [ListCompliancePacks](~~263332~~).', - 'type' => 'string', - 'required' => false, - 'example' => 'cp-f1e3326622af00cb****', - 'title' => '', - ], + 'schema' => ['description' => 'The compliance package ID.'."\n" + ."\n" + .'For more information about how to obtain a compliance package ID, see [ListCompliancePacks](~~263332~~).', 'type' => 'string', 'required' => false, 'example' => 'cp-f1e3326622af00cb****', 'title' => ''], ], [ 'name' => 'Regions', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the evaluated resource resides. Separate multiple regions with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - 'title' => '', - ], + 'schema' => ['description' => 'The region where the evaluated resource resides. Separate multiple regions with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ResourceTypes', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the evaluated resource. Separate multiple resource types with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'ACS::ECS::Instance', - 'title' => '', - ], + 'schema' => ['description' => 'The type of the evaluated resource. Separate multiple resource types with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', 'title' => ''], ], [ 'name' => 'ResourceGroupIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource group to which the evaluated resource belongs. Separate multiple resource group IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aek2indxn3g****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the resource group to which the evaluated resource belongs. Separate multiple resource group IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'rg-aek2indxn3g****', 'title' => ''], ], ], 'responses' => [ @@ -26506,29 +15364,13 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '2A4A33BD-8186-4D60-91B9-42174EED75B5', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '2A4A33BD-8186-4D60-91B9-42174EED75B5', 'title' => ''], 'EvaluationResults' => [ 'description' => 'The rule evaluation results.', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'The token used to retrieve the next page of results.', - 'type' => 'string', - 'example' => 'IWBjqMYSy0is7zSMGu16****', - 'title' => '', - ], - 'MaxResults' => [ - 'description' => 'The maximum number of entries returned per page.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - 'title' => '', - ], + 'NextToken' => ['description' => 'The token used to retrieve the next page of results.', 'type' => 'string', 'example' => 'IWBjqMYSy0is7zSMGu16****', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'EvaluationResultList' => [ 'description' => 'The list of rule evaluation results.', 'type' => 'array', @@ -26536,162 +15378,66 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => 'The risk level of the rule. Valid values:'."\n" - ."\n" - .'- 1: high'."\n" - ."\n" - .'- 2: medium'."\n" - ."\n" - .'- 3: low', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'ComplianceType' => [ - 'description' => 'The compliance evaluation result. Valid values:'."\n" - ."\n" - .'- COMPLIANT: The resource is compliant.'."\n" - ."\n" - .'- NON\\_COMPLIANT: The resource is non-compliant.'."\n" - ."\n" - .'- NOT\\_APPLICABLE: The rule does not apply to the resource.'."\n" - ."\n" - .'- INSUFFICIENT\\_DATA: No data is available.'."\n" - ."\n" - .'- IGNORED: The evaluation result is ignored.', - 'type' => 'string', - 'example' => 'NON_COMPLIANT', - 'title' => '', - ], - 'ResultRecordedTimestamp' => [ - 'description' => 'The UNIX timestamp when the resource evaluation result was generated. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1622802307150', - 'title' => '', - ], - 'Annotation' => [ - 'description' => 'The supplementary information about the non-compliant resource. This may include the following information:'."\n" - ."\n" - .'- `configuration`: The current configuration of the resource, which is the non-compliant configuration.'."\n" - ."\n" - .'- `desiredValue`: The expected configuration of the resource, which is the compliant configuration.'."\n" - ."\n" - .'- `operator`: The comparison operator used to compare the current configuration with the expected configuration.'."\n" - ."\n" - .'- `property`: The JSON path of the current configuration in the resource property struct.'."\n" - ."\n" - .'- `reason`: The reason why the resource is non-compliant.', - 'type' => 'string', - 'example' => '{\\"configuration\\":\\"\\",\\"desiredValue\\":\\"\\",\\"operator\\":\\"IsNotStringEmpty\\",\\"property\\":\\"$.KeyPairName\\",\\"reason\\":\\"No property contains.\\"}', - 'title' => '', - ], - 'ConfigRuleInvokedTimestamp' => [ - 'description' => 'The UNIX timestamp when the rule was triggered for evaluation. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1622802307081', - 'title' => '', - ], - 'InvokingEventMessageType' => [ - 'description' => 'The trigger type of the rule. Valid values:'."\n" - ."\n" - .'- ConfigurationItemChangeNotification: The rule is triggered by a configuration change.'."\n" - ."\n" - .'- ScheduledNotification: The rule is triggered periodically.'."\n" - ."\n" - .'- Manual: The rule is triggered manually.', - 'type' => 'string', - 'example' => 'ConfigurationItemChangeNotification', - 'title' => '', - ], + 'RiskLevel' => ['description' => 'The risk level of the rule. Valid values:'."\n" + ."\n" + .'- 1: high'."\n" + ."\n" + .'- 2: medium'."\n" + ."\n" + .'- 3: low', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'ComplianceType' => ['description' => 'The compliance evaluation result. Valid values:'."\n" + ."\n" + .'- COMPLIANT: The resource is compliant.'."\n" + ."\n" + .'- NON\\_COMPLIANT: The resource is non-compliant.'."\n" + ."\n" + .'- NOT\\_APPLICABLE: The rule does not apply to the resource.'."\n" + ."\n" + .'- INSUFFICIENT\\_DATA: No data is available.'."\n" + ."\n" + .'- IGNORED: The evaluation result is ignored.', 'type' => 'string', 'example' => 'NON_COMPLIANT', 'title' => ''], + 'ResultRecordedTimestamp' => ['description' => 'The UNIX timestamp when the resource evaluation result was generated. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1622802307150', 'title' => ''], + 'Annotation' => ['description' => 'The supplementary information about the non-compliant resource. This may include the following information:'."\n" + ."\n" + .'- `configuration`: The current configuration of the resource, which is the non-compliant configuration.'."\n" + ."\n" + .'- `desiredValue`: The expected configuration of the resource, which is the compliant configuration.'."\n" + ."\n" + .'- `operator`: The comparison operator used to compare the current configuration with the expected configuration.'."\n" + ."\n" + .'- `property`: The JSON path of the current configuration in the resource property struct.'."\n" + ."\n" + .'- `reason`: The reason why the resource is non-compliant.', 'type' => 'string', 'example' => '{\\"configuration\\":\\"\\",\\"desiredValue\\":\\"\\",\\"operator\\":\\"IsNotStringEmpty\\",\\"property\\":\\"$.KeyPairName\\",\\"reason\\":\\"No property contains.\\"}', 'title' => ''], + 'ConfigRuleInvokedTimestamp' => ['description' => 'The UNIX timestamp when the rule was triggered for evaluation. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1622802307081', 'title' => ''], + 'InvokingEventMessageType' => ['description' => 'The trigger type of the rule. Valid values:'."\n" + ."\n" + .'- ConfigurationItemChangeNotification: The rule is triggered by a configuration change.'."\n" + ."\n" + .'- ScheduledNotification: The rule is triggered periodically.'."\n" + ."\n" + .'- Manual: The rule is triggered manually.', 'type' => 'string', 'example' => 'ConfigurationItemChangeNotification', 'title' => ''], 'EvaluationResultIdentifier' => [ 'description' => 'The identifier of the rule evaluation result.', 'type' => 'object', 'properties' => [ - 'OrderingTimestamp' => [ - 'description' => 'The UNIX timestamp displayed on the timeline. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1622802307081', - 'title' => '', - ], + 'OrderingTimestamp' => ['description' => 'The UNIX timestamp displayed on the timeline. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1622802307081', 'title' => ''], 'EvaluationResultQualifier' => [ 'description' => 'The resource information in the rule evaluation result.', 'type' => 'object', 'properties' => [ - 'ResourceOwnerId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resource belongs.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '120886317861****', - 'title' => '', - ], - 'ConfigRuleArn' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the rule.', - 'type' => 'string', - 'example' => 'acs:config::120886317861****:rule/cr-cac56457e0d900d3****', - 'title' => '', - ], - 'ResourceType' => [ - 'description' => 'The resource type.', - 'type' => 'string', - 'example' => 'ACS::ECS::Instance', - 'title' => '', - ], - 'ConfigRuleName' => [ - 'description' => 'The rule name.', - 'type' => 'string', - 'example' => 'ECS实例CPU核数满足最低要求', - 'title' => '', - ], - 'ResourceGroupId' => [ - 'description' => 'The ID of the resource group to which the resource belongs.', - 'type' => 'string', - 'required' => true, - 'example' => 'rg-aek3tprgnnc****', - 'title' => '', - ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.', - 'type' => 'string', - 'example' => 'cr-cac56457e0d900d3****', - 'title' => '', - ], - 'ResourceName' => [ - 'description' => 'The resource name.', - 'type' => 'string', - 'example' => 'iZuf6j91r34rnwawoox****', - 'title' => '', - ], - 'RegionId' => [ - 'description' => 'The ID of the region to which the resource belongs.', - 'type' => 'string', - 'example' => 'cn-hangzhou', - 'title' => '', - ], - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance package to which the rule belongs.', - 'type' => 'string', - 'example' => 'cp-bcc33457e0d900d5****', - 'title' => '', - ], - 'IgnoreDate' => [ - 'description' => 'The date when the ignored evaluation result is automatically resumed.'."\n" - ."\n" - .'> If this parameter is empty, the result is not automatically resumed. You must manually resume it.', - 'type' => 'string', - 'example' => '2022-06-01', - 'title' => '', - ], - 'ResourceId' => [ - 'description' => 'The resource ID.', - 'type' => 'string', - 'example' => 'i-hp3e4kvhzqn2s11t****', - 'title' => '', - ], + 'ResourceOwnerId' => ['description' => 'The ID of the Alibaba Cloud account to which the resource belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '120886317861****', 'title' => ''], + 'ConfigRuleArn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the rule.', 'type' => 'string', 'example' => 'acs:config::120886317861****:rule/cr-cac56457e0d900d3****', 'title' => ''], + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'ACS::ECS::Instance', 'title' => ''], + 'ConfigRuleName' => ['description' => 'The rule name.', 'type' => 'string', 'example' => 'ECS实例CPU核数满足最低要求', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The ID of the resource group to which the resource belongs.', 'type' => 'string', 'required' => true, 'example' => 'rg-aek3tprgnnc****', 'title' => ''], + 'ConfigRuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => 'cr-cac56457e0d900d3****', 'title' => ''], + 'ResourceName' => ['description' => 'The resource name.', 'type' => 'string', 'example' => 'iZuf6j91r34rnwawoox****', 'title' => ''], + 'RegionId' => ['description' => 'The ID of the region to which the resource belongs.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'CompliancePackId' => ['description' => 'The ID of the compliance package to which the rule belongs.', 'type' => 'string', 'example' => 'cp-bcc33457e0d900d5****', 'title' => ''], + 'IgnoreDate' => ['description' => 'The date when the ignored evaluation result is automatically resumed.'."\n" + ."\n" + .'> If this parameter is empty, the result is not automatically resumed. You must manually resume it.', 'type' => 'string', 'example' => '2022-06-01', 'title' => ''], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'example' => 'i-hp3e4kvhzqn2s11t****', 'title' => ''], ], 'title' => '', 'example' => '', @@ -26700,36 +15446,14 @@ 'title' => '', 'example' => '', ], - 'RemediationEnabled' => [ - 'description' => 'Indicates whether the remediation setting is enabled. Valid values:'."\n" - ."\n" - .'- true: The remediation setting is enabled.'."\n" - ."\n" - .'- false: The remediation setting is disabled.', - 'type' => 'boolean', - 'example' => 'false', - 'title' => '', - ], - 'EvaluationId' => [ - 'description' => 'The unique ID of the evaluation result.', - 'type' => 'string', - 'example' => '00000089-4e0d-58b5-a96a-8e54112110f3', - 'title' => '', - ], - 'LastNonCompliantRecordTimestamp' => [ - 'description' => 'The start time of the last non-compliance.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1744696665000', - 'title' => '', - ], - 'LastCompliantFixedTimestamp' => [ - 'description' => 'The time when the resource was last remediated to a compliant state. This value is not recorded when a new resource or rule is evaluated as compliant for the first time.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1768788515723', - 'title' => '', - ], + 'RemediationEnabled' => ['description' => 'Indicates whether the remediation setting is enabled. Valid values:'."\n" + ."\n" + .'- true: The remediation setting is enabled.'."\n" + ."\n" + .'- false: The remediation setting is disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'EvaluationId' => ['description' => 'The unique ID of the evaluation result.', 'type' => 'string', 'example' => '00000089-4e0d-58b5-a96a-8e54112110f3', 'title' => ''], + 'LastNonCompliantRecordTimestamp' => ['description' => 'The start time of the last non-compliance.', 'type' => 'integer', 'format' => 'int64', 'example' => '1744696665000', 'title' => ''], + 'LastCompliantFixedTimestamp' => ['description' => 'The time when the resource was last remediated to a compliant state. This value is not recorded when a new resource or rule is evaluated as compliant for the first time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1768788515723', 'title' => ''], ], 'title' => '', 'example' => '', @@ -26750,47 +15474,24 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], ], 404 => [ - [ - 'errorCode' => 'CloudConfigServiceRoleNotExisted', - 'errorMessage' => 'The CloudConfigServiceRole does not exist.', - 'description' => '', - ], - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'CloudConfigServiceRoleNotExisted', 'errorMessage' => 'The CloudConfigServiceRole does not exist.', 'description' => ''], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'ListConfigRuleEvaluationResults', 'summary' => 'Queries the compliance evaluation results of a rule.', 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '3000', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListConfigRuleEvaluationResults', - ], + ['threshold' => '3000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListConfigRuleEvaluationResults'], ], ], 'ramActions' => [ @@ -26801,12 +15502,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], 'additionalActions' => [], @@ -26816,14 +15512,8 @@ ], 'ListConfigRuleEvaluationStatistics' => [ 'summary' => 'Queries the statistics of compliance evaluation results of the current Alibaba Cloud account.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26835,9 +15525,7 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], @@ -26846,52 +15534,18 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4FF2B787-347E-5299-A196-2C0448DEA341', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '4FF2B787-347E-5299-A196-2C0448DEA341', 'title' => ''], 'EvaluationResults' => [ 'description' => 'The statistics of compliance evaluation results.'."\n", 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'NonCompliantResourceCnt' => [ - 'description' => 'The number of resources that are evaluated as non-compliant.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - 'title' => '', - ], - 'TotalResourceCnt' => [ - 'description' => 'The total number of resources.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '91', - 'title' => '', - ], - 'NonCompliantRuleCnt' => [ - 'description' => 'The number of rules based on which resources are evaluated as non-compliant.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - 'title' => '', - ], - 'TotalRuleCnt' => [ - 'description' => 'The total number of rules.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '13', - 'title' => '', - ], - 'StatisticDate' => [ - 'description' => 'The date on which the statistics are obtained.'."\n", - 'type' => 'string', - 'example' => '2023-06-27', - 'title' => '', - ], + 'NonCompliantResourceCnt' => ['description' => 'The number of resources that are evaluated as non-compliant.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'TotalResourceCnt' => ['description' => 'The total number of resources.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '91', 'title' => ''], + 'NonCompliantRuleCnt' => ['description' => 'The number of rules based on which resources are evaluated as non-compliant.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'TotalRuleCnt' => ['description' => 'The total number of rules.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '13', 'title' => ''], + 'StatisticDate' => ['description' => 'The date on which the statistics are obtained.'."\n", 'type' => 'string', 'example' => '2023-06-27', 'title' => ''], ], 'description' => '', 'title' => '', @@ -26909,18 +15563,10 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.ResourceOwnerId.Value', - 'errorMessage' => 'The specified ResourceOwnerId is invalid.', - 'description' => 'The specified ResourceOwnerId is invalid.', - ], + ['errorCode' => 'Invalid.ResourceOwnerId.Value', 'errorMessage' => 'The specified ResourceOwnerId is invalid.', 'description' => 'The specified ResourceOwnerId is invalid.'], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FF2B787-347E-5299-A196-2C0448DEA341\\",\\n \\"EvaluationResults\\": [\\n {\\n \\"NonCompliantResourceCnt\\": 30,\\n \\"TotalResourceCnt\\": 91,\\n \\"NonCompliantRuleCnt\\": 5,\\n \\"TotalRuleCnt\\": 13,\\n \\"StatisticDate\\": \\"2023-06-27\\"\\n }\\n ]\\n}","type":"json"}]', @@ -26934,36 +15580,21 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListConfigRuleEvaluationStatistics', - ], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListConfigRuleEvaluationStatistics'], ], ], ], 'ListConfigRuleOperators' => [ 'summary' => 'Lists the operators available for Cloud Config rules.', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26975,9 +15606,7 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], @@ -26988,12 +15617,7 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'title' => '', - 'example' => 'A68DD98C-DE65-46AC-B2D2-04A4A9AB****', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'A68DD98C-DE65-46AC-B2D2-04A4A9AB****'], 'Operators' => [ 'description' => 'A list of operators.', 'type' => 'array', @@ -27001,84 +15625,64 @@ 'description' => 'An operator.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the operator.', - 'type' => 'string', - 'example' => 'StringEquals', - 'title' => '', - ], - 'Operator' => [ - 'description' => 'The operator for the rule\'s input parameter. The available operators vary based on the data type retrieved using SelectPath.'."\n" - ."\n" - .'- If the data type is String, valid values are:'."\n" - ."\n" - .' - StringEquals: equals.'."\n" - ."\n" - .' - NotStringEquals: does not equal.'."\n" - ."\n" - .' - StringIn: is in.'."\n" - ."\n" - .' - NotStringIn: is not in.'."\n" - ."\n" - .' - StringContains: contains.'."\n" - ."\n" - .' - NotStringContains: does not contain.'."\n" - ."\n" - .'- If the data type is Number, valid values are:'."\n" - ."\n" - .' - Equals: equals.'."\n" - ."\n" - .' - NotEquals: does not equal.'."\n" - ."\n" - .' - Less: is less than.'."\n" - ."\n" - .' - LessOrEquals: is less than or equal to.'."\n" - ."\n" - .' - Greater: is greater than.'."\n" - ."\n" - .' - GreaterOrEquals: is greater than or equal to.'."\n" - ."\n" - .'- If the data type is a Base64-encoded string, valid values are:'."\n" - ."\n" - .' - Base64Contains: contains.'."\n" - ."\n" - .' - NotBase64Contains: does not contain.'."\n" - ."\n" - .' - Base64ContainsAll: contains all.'."\n" - ."\n" - .' - Base64ExcludeAll: excludes all.'."\n" - ."\n" - .'- If the data type is Array, valid values are:'."\n" - ."\n" - .' - Contains: contains.'."\n" - ."\n" - .' - NotContains: does not contain.'."\n" - ."\n" - .' - In: is in.'."\n" - ."\n" - .' - NotIn: is not in.'."\n" - ."\n" - .' - ContainsAll: contains all.'."\n" - ."\n" - .' - ExcludeAll: excludes all.'."\n" - ."\n" - .' - IsEmpty: is empty.', - 'type' => 'string', - 'example' => 'StringEquals', - 'title' => '', - ], - 'Description' => [ - 'description' => 'The description of the operator, which can be used to explain why a resource is non-compliant.', - 'type' => 'string', - 'example' => 'The current value must equal the target value (case insensitive)', - 'title' => '', - ], - 'DataType' => [ - 'description' => 'The data type that the operator applies to.', - 'type' => 'string', - 'example' => 'String', - 'title' => '', - ], + 'Name' => ['description' => 'The name of the operator.', 'type' => 'string', 'example' => 'StringEquals', 'title' => ''], + 'Operator' => ['description' => 'The operator for the rule\'s input parameter. The available operators vary based on the data type retrieved using SelectPath.'."\n" + ."\n" + .'- If the data type is String, valid values are:'."\n" + ."\n" + .' - StringEquals: equals.'."\n" + ."\n" + .' - NotStringEquals: does not equal.'."\n" + ."\n" + .' - StringIn: is in.'."\n" + ."\n" + .' - NotStringIn: is not in.'."\n" + ."\n" + .' - StringContains: contains.'."\n" + ."\n" + .' - NotStringContains: does not contain.'."\n" + ."\n" + .'- If the data type is Number, valid values are:'."\n" + ."\n" + .' - Equals: equals.'."\n" + ."\n" + .' - NotEquals: does not equal.'."\n" + ."\n" + .' - Less: is less than.'."\n" + ."\n" + .' - LessOrEquals: is less than or equal to.'."\n" + ."\n" + .' - Greater: is greater than.'."\n" + ."\n" + .' - GreaterOrEquals: is greater than or equal to.'."\n" + ."\n" + .'- If the data type is a Base64-encoded string, valid values are:'."\n" + ."\n" + .' - Base64Contains: contains.'."\n" + ."\n" + .' - NotBase64Contains: does not contain.'."\n" + ."\n" + .' - Base64ContainsAll: contains all.'."\n" + ."\n" + .' - Base64ExcludeAll: excludes all.'."\n" + ."\n" + .'- If the data type is Array, valid values are:'."\n" + ."\n" + .' - Contains: contains.'."\n" + ."\n" + .' - NotContains: does not contain.'."\n" + ."\n" + .' - In: is in.'."\n" + ."\n" + .' - NotIn: is not in.'."\n" + ."\n" + .' - ContainsAll: contains all.'."\n" + ."\n" + .' - ExcludeAll: excludes all.'."\n" + ."\n" + .' - IsEmpty: is empty.', 'type' => 'string', 'example' => 'StringEquals', 'title' => ''], + 'Description' => ['description' => 'The description of the operator, which can be used to explain why a resource is non-compliant.', 'type' => 'string', 'example' => 'The current value must equal the target value (case insensitive)', 'title' => ''], + 'DataType' => ['description' => 'The data type that the operator applies to.', 'type' => 'string', 'example' => 'String', 'title' => ''], ], 'title' => '', 'example' => '', @@ -27091,9 +15695,7 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'ListConfigRuleOperators', 'changeSet' => [], 'flowControl' => [ @@ -27107,12 +15709,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -27120,14 +15717,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A68DD98C-DE65-46AC-B2D2-04A4A9AB****\\",\\n \\"Operators\\": [\\n {\\n \\"Name\\": \\"StringEquals\\",\\n \\"Operator\\": \\"StringEquals\\",\\n \\"Description\\": \\"The current value must equal the target value (case insensitive)\\",\\n \\"DataType\\": \\"String\\"\\n }\\n ]\\n}","type":"json"}]', ], 'ListConfigRules' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -27139,9 +15730,7 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigNPMEKB', - ], + 'abilityTreeNodes' => ['FEATUREconfigNPMEKB'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -27149,13 +15738,7 @@ [ 'name' => 'ResourceTypes', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of resource evaluated by the rule.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'ACS::ECS::Instance', - ], + 'schema' => ['description' => 'The type of resource evaluated by the rule.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ACS::ECS::Instance'], ], [ 'name' => 'PageSize', @@ -27163,29 +15746,14 @@ 'schema' => [ 'description' => 'The number of entries to return on each page.'."\n" ."\n" - .'Valid values: 1 to 100. Default value: 10.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'exclusiveMaximum' => false, - 'minimum' => '1', - 'exclusiveMinimum' => false, - 'default' => '10', - 'title' => '', + .'Valid values: 1 to 100. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, 'default' => '10', 'title' => '', 'example' => '10', ], ], [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance package.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'cp-fe416457e0d90022****', - ], + 'schema' => ['description' => 'The ID of the compliance package.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cp-fe416457e0d90022****'], ], [ 'name' => 'ComplianceType', @@ -27202,13 +15770,7 @@ .'- INSUFFICIENT\\_DATA: Insufficient data.', 'type' => 'string', 'required' => false, - 'enum' => [ - 'COMPLIANT', - 'NON_COMPLIANT', - 'NOT_APPLICABLE', - 'INSUFFICIENT_DATA', - 'IGNORED', - ], + 'enum' => ['COMPLIANT', 'NON_COMPLIANT', 'NOT_APPLICABLE', 'INSUFFICIENT_DATA', 'IGNORED'], 'title' => '', 'example' => 'COMPLIANT', ], @@ -27216,34 +15778,16 @@ [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n" - ."\n" - .'The default value is 1.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'exclusiveMaximum' => false, - 'minimum' => '1', - 'exclusiveMinimum' => false, - 'default' => '1', - 'title' => '', - 'example' => '1', - ], + 'schema' => ['description' => 'The page number.'."\n" + ."\n" + .'The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, 'default' => '1', 'title' => '', 'example' => '1'], ], [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword for the fuzzy query.'."\n" - ."\n" - .'Supports fuzzy queries by rule ID, rule name, rule description, or rule template identifier.', - 'type' => 'string', - 'required' => false, - 'maxLength' => 1000, - 'title' => '', - 'example' => 'ecs', - ], + 'schema' => ['description' => 'The keyword for the fuzzy query.'."\n" + ."\n" + .'Supports fuzzy queries by rule ID, rule name, rule description, or rule template identifier.', 'type' => 'string', 'required' => false, 'maxLength' => 1000, 'title' => '', 'example' => 'ecs'], ], [ 'name' => 'ConfigRuleState', @@ -27260,12 +15804,7 @@ .'- INACTIVE: The rule is disabled.', 'type' => 'string', 'required' => false, - 'enum' => [ - 'ACTIVE', - 'DELETING', - 'EVALUATING', - 'INACTIVE', - ], + 'enum' => ['ACTIVE', 'DELETING', 'EVALUATING', 'INACTIVE'], 'title' => '', 'example' => 'ACTIVE', ], @@ -27273,43 +15812,24 @@ [ 'name' => 'ConfigRuleName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the rule.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'The name of the rule.', - ], + 'schema' => ['description' => 'The name of the rule.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'The name of the rule.'], ], [ 'name' => 'RiskLevel', 'in' => 'query', - 'schema' => [ - 'description' => 'The risk level of the rule. Valid values:'."\n" - ."\n" - .'- 1: High risk.'."\n" - ."\n" - .'- 2: Medium risk.'."\n" - ."\n" - .'- 3: Low risk.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'title' => '', - 'example' => '1', - ], + 'schema' => ['description' => 'The risk level of the rule. Valid values:'."\n" + ."\n" + .'- 1: High risk.'."\n" + ."\n" + .'- 2: Medium risk.'."\n" + ."\n" + .'- 3: Low risk.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '1'], ], [ 'name' => 'SortBy', 'in' => 'query', 'allowEmptyValue' => true, - 'schema' => [ - 'type' => 'string', - 'description' => 'The sorting method. This parameter is not required. Set the value to `CreateDate-Desc` to sort the rules by creation time in descending order.', - 'required' => false, - 'title' => '', - 'example' => 'CreateDate-Desc', - ], + 'schema' => ['type' => 'string', 'description' => 'The sorting method. This parameter is not required. Set the value to `CreateDate-Desc` to sort the rules by creation time in descending order.', 'required' => false, 'title' => '', 'example' => 'CreateDate-Desc'], ], [ 'name' => 'Tag', @@ -27326,20 +15846,8 @@ .'A maximum of 20 tags can be attached.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'key-1', - ], - 'Value' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'value-1', - ], + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'key-1'], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'value-1'], ], 'required' => false, 'title' => '', @@ -27357,12 +15865,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'AC3A7E12-72E6-5CC9-A5C1-D8D8919829A7', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'AC3A7E12-72E6-5CC9-A5C1-D8D8919829A7'], 'ConfigRules' => [ 'description' => 'The list of rules.', 'type' => 'object', @@ -27374,139 +15877,66 @@ 'description' => 'The details of the rules.', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => 'The risk level of the rule. Valid values:'."\n" - ."\n" - .'- 1: High risk.'."\n" - ."\n" - .'- 2: Medium risk.'."\n" - ."\n" - .'- 3: Low risk.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], - 'SourceOwner' => [ - 'description' => 'The owner of the rule. Valid values:'."\n" - ."\n" - .'- CUSTOM\\_FC: a custom rule created using a Function Compute (FC) function.'."\n" - ."\n" - .'- ALIYUN: a managed rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'ALIYUN', - ], - 'AccountId' => [ - 'description' => 'The ID of the account to which the rule belongs.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '100931896542****', - ], - 'ConfigRuleState' => [ - 'description' => 'The state of the rule. Valid values:'."\n" - ."\n" - .'- ACTIVE: The rule is enabled.'."\n" - ."\n" - .'- DELETING: The rule is being deleted.'."\n" - ."\n" - .'- EVALUATING: The rule is being evaluated.'."\n" - ."\n" - .'- INACTIVE: The rule is disabled.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACTIVE', - ], + 'RiskLevel' => ['description' => 'The risk level of the rule. Valid values:'."\n" + ."\n" + .'- 1: High risk.'."\n" + ."\n" + .'- 2: Medium risk.'."\n" + ."\n" + .'- 3: Low risk.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'SourceOwner' => ['description' => 'The owner of the rule. Valid values:'."\n" + ."\n" + .'- CUSTOM\\_FC: a custom rule created using a Function Compute (FC) function.'."\n" + ."\n" + .'- ALIYUN: a managed rule.', 'type' => 'string', 'title' => '', 'example' => 'ALIYUN'], + 'AccountId' => ['description' => 'The ID of the account to which the rule belongs.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '100931896542****'], + 'ConfigRuleState' => ['description' => 'The state of the rule. Valid values:'."\n" + ."\n" + .'- ACTIVE: The rule is enabled.'."\n" + ."\n" + .'- DELETING: The rule is being deleted.'."\n" + ."\n" + .'- EVALUATING: The rule is being evaluated.'."\n" + ."\n" + .'- INACTIVE: The rule is disabled.', 'type' => 'string', 'title' => '', 'example' => 'ACTIVE'], 'Compliance' => [ 'description' => 'The compliance aggregation results of the rule.', 'type' => 'object', 'properties' => [ - 'ComplianceType' => [ - 'description' => 'The summary of the compliance evaluation result. Valid values:'."\n" - ."\n" - .'- COMPLIANT: Compliant.'."\n" - ."\n" - .'- NON\\_COMPLIANT: Non-compliant.'."\n" - ."\n" - .'- NOT\\_APPLICABLE: Not applicable.'."\n" - ."\n" - .'- INSUFFICIENT\\_DATA: Insufficient data.', - 'type' => 'string', - 'title' => '', - 'example' => 'COMPLIANT', - ], - 'Count' => [ - 'description' => 'The number of evaluated resources that correspond to the compliance summary.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '2', - ], + 'ComplianceType' => ['description' => 'The summary of the compliance evaluation result. Valid values:'."\n" + ."\n" + .'- COMPLIANT: Compliant.'."\n" + ."\n" + .'- NON\\_COMPLIANT: Non-compliant.'."\n" + ."\n" + .'- NOT\\_APPLICABLE: Not applicable.'."\n" + ."\n" + .'- INSUFFICIENT\\_DATA: Insufficient data.', 'type' => 'string', 'title' => '', 'example' => 'COMPLIANT'], + 'Count' => ['description' => 'The number of evaluated resources that correspond to the compliance summary.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '2'], ], 'title' => '', 'example' => '', ], - 'SourceIdentifier' => [ - 'description' => 'The identifier of the rule.'."\n" - ."\n" - .'- If the rule is a managed rule, this parameter indicates the identifier of the managed rule.'."\n" - ."\n" - .'- If the rule is a custom rule, this parameter indicates the Alibaba Cloud Resource Name (ARN) of the function.', - 'type' => 'string', - 'title' => '', - 'example' => 'eip-bandwidth-limit', - ], - 'ConfigRuleArn' => [ - 'description' => 'The ARN of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'acs:config::100931896542****:rule/cr-fdc8626622af00f9****', - ], - 'Description' => [ - 'description' => 'The description of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'The description of the rule.', - ], + 'SourceIdentifier' => ['description' => 'The identifier of the rule.'."\n" + ."\n" + .'- If the rule is a managed rule, this parameter indicates the identifier of the managed rule.'."\n" + ."\n" + .'- If the rule is a custom rule, this parameter indicates the Alibaba Cloud Resource Name (ARN) of the function.', 'type' => 'string', 'title' => '', 'example' => 'eip-bandwidth-limit'], + 'ConfigRuleArn' => ['description' => 'The ARN of the rule.', 'type' => 'string', 'title' => '', 'example' => 'acs:config::100931896542****:rule/cr-fdc8626622af00f9****'], + 'Description' => ['description' => 'The description of the rule.', 'type' => 'string', 'title' => '', 'example' => 'The description of the rule.'], 'CreateBy' => [ 'description' => 'The information about the creator of the rule.', 'type' => 'object', 'properties' => [ - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance package.', - 'type' => 'string', - 'title' => '', - 'example' => 'cp-fdc8626622af00f9****', - ], - 'CompliancePackName' => [ - 'description' => 'The name of the compliance package.', - 'type' => 'string', - 'title' => '', - 'example' => 'The name of the compliance package.', - ], + 'CompliancePackId' => ['description' => 'The ID of the compliance package.', 'type' => 'string', 'title' => '', 'example' => 'cp-fdc8626622af00f9****'], + 'CompliancePackName' => ['description' => 'The name of the compliance package.', 'type' => 'string', 'title' => '', 'example' => 'The name of the compliance package.'], ], 'title' => '', 'example' => '', ], - 'AutomationType' => [ - 'description' => 'The remediation type. Only Operation Orchestration Service (OOS) is supported.', - 'type' => 'string', - 'title' => '', - 'example' => 'OOS', - ], - 'ConfigRuleName' => [ - 'description' => 'The name of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'The name of the rule.', - ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'cr-fdc8626622af00f9****', - ], + 'AutomationType' => ['description' => 'The remediation type. Only Operation Orchestration Service (OOS) is supported.', 'type' => 'string', 'title' => '', 'example' => 'OOS'], + 'ConfigRuleName' => ['description' => 'The name of the rule.', 'type' => 'string', 'title' => '', 'example' => 'The name of the rule.'], + 'ConfigRuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'title' => '', 'example' => 'cr-fdc8626622af00f9****'], 'Tags' => [ 'description' => 'The tags of the rule.', 'type' => 'array', @@ -27514,18 +15944,8 @@ 'description' => 'The tags of the rule.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'env', - ], - 'Value' => [ - 'description' => 'The tag value of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'prod', - ], + 'Key' => ['description' => 'The tag key of the rule.', 'type' => 'string', 'title' => '', 'example' => 'env'], + 'Value' => ['description' => 'The tag value of the rule.', 'type' => 'string', 'title' => '', 'example' => 'prod'], ], 'title' => '', 'example' => '', @@ -27533,19 +15953,8 @@ 'title' => '', 'example' => '', ], - 'ResourceTypesScope' => [ - 'description' => 'The types of resources evaluated by the rule. Multiple resource types are separated by commas (,).', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS::EIP::EipAddress', - ], - 'CreateDate' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'The time when the rule was created. The time is displayed in UTC+8.', - 'title' => '', - 'example' => '2025-09-19T15:51:00', - ], + 'ResourceTypesScope' => ['description' => 'The types of resources evaluated by the rule. Multiple resource types are separated by commas (,).', 'type' => 'string', 'title' => '', 'example' => 'ACS::EIP::EipAddress'], + 'CreateDate' => ['type' => 'string', 'required' => false, 'description' => 'The time when the rule was created. The time is displayed in UTC+8.', 'title' => '', 'example' => '2025-09-19T15:51:00'], ], 'title' => '', 'example' => '', @@ -27553,27 +15962,9 @@ 'title' => '', 'example' => '', ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => 'The page number.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], - 'TotalCount' => [ - 'description' => 'The total number of rules.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1', - ], + 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], + 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'TotalCount' => ['description' => 'The total number of rules.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'], ], 'title' => '', 'example' => '', @@ -27587,47 +15978,24 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'ListConfigRules', 'summary' => 'Queries a list of rules.', 'description' => '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.', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListConfigRules', - ], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListConfigRules'], ], ], 'ramActions' => [ @@ -27638,12 +16006,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Rule', - 'arn' => 'acs:config:*:{#accountId}:rule/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/*'], ], ], ], @@ -27652,14 +16015,8 @@ ], 'ListDiscoveredResources' => [ 'summary' => 'Queries a list of resources that are aggregated across regions in the current Alibaba Cloud account.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -27671,9 +16028,7 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6XGW41', - ], + 'abilityTreeNodes' => ['FEATUREconfig6XGW41'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -27681,135 +16036,68 @@ [ 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource ID.', - 'type' => 'string', - 'required' => false, - 'example' => 'eni-hp31cqoba96jagtz****', - 'title' => '', - ], + 'schema' => ['description' => 'The resource ID.', 'type' => 'string', 'required' => false, 'example' => 'eni-hp31cqoba96jagtz****', 'title' => ''], ], [ 'name' => 'ResourceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource name.', - 'type' => 'string', - 'required' => false, - 'example' => 'test-resource-name', - 'title' => '', - ], + 'schema' => ['description' => 'The resource name.', 'type' => 'string', 'required' => false, 'example' => 'test-resource-name', 'title' => ''], ], [ 'name' => 'ResourceDeleted', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the resource. Valid values:'."\n" - ."\n" - .'- 0: The resource is deleted. If you delete a resource in the corresponding Alibaba Cloud service, Cloud Config displays the resource as **Deleted**.'."\n" - ."\n" - .'- 1 (Default): The resource is active. If a resource is managed, Cloud Config displays the resource as **Active**.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The status of the resource. Valid values:'."\n" + ."\n" + .'- 0: The resource is deleted. If you delete a resource in the corresponding Alibaba Cloud service, Cloud Config displays the resource as **Deleted**.'."\n" + ."\n" + .'- 1 (Default): The resource is active. If a resource is managed, Cloud Config displays the resource as **Active**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries to return on each page. Valid values: 1 to 100.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'docRequired' => true, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '10', - 'title' => '', - ], + 'schema' => ['description' => 'The maximum number of entries to return on each page. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'title' => ''], ], [ 'name' => 'ResourceTypes', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type. Separate multiple resource types with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'ACS::ECS::NetworkInterface', - 'title' => '', - ], + 'schema' => ['description' => 'The resource type. Separate multiple resource types with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::NetworkInterface', 'title' => ''], ], [ 'name' => 'Regions', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region where the resource resides. Separate multiple region IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the region where the resource resides. Separate multiple region IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A pagination token. If the response is truncated, use this token in a subsequent request to retrieve the next page of results.', - 'type' => 'string', - 'required' => false, - 'example' => 'IWBjqMYSy0is7zSMGu16****', - 'title' => '', - ], + 'schema' => ['description' => 'A pagination token. If the response is truncated, use this token in a subsequent request to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'example' => 'IWBjqMYSy0is7zSMGu16****', 'title' => ''], ], [ 'name' => 'StartUpdateTimestamp', 'in' => 'query', - 'schema' => [ - 'description' => 'The start of the time range to query resources, specified as a UNIX timestamp in milliseconds. Note:'."\n" - ."\n" - .'- The value cannot be later than EndUpdateTimestamp.'."\n" - ."\n" - .'- The time interval between StartUpdateTimestamp and EndUpdateTimestamp cannot exceed 30 days.'."\n" - ."\n" - .'- Specify both StartUpdateTimestamp and EndUpdateTimestamp, or leave both blank.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1722441600000', - 'title' => '', - ], + 'schema' => ['description' => 'The start of the time range to query resources, specified as a UNIX timestamp in milliseconds. Note:'."\n" + ."\n" + .'- The value cannot be later than EndUpdateTimestamp.'."\n" + ."\n" + .'- The time interval between StartUpdateTimestamp and EndUpdateTimestamp cannot exceed 30 days.'."\n" + ."\n" + .'- Specify both StartUpdateTimestamp and EndUpdateTimestamp, or leave both blank.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1722441600000', 'title' => ''], ], [ 'name' => 'EndUpdateTimestamp', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query resources, specified as a UNIX timestamp in milliseconds. Note:'."\n" - ."\n" - .'- The value cannot be earlier than StartUpdateTimestamp.'."\n" - ."\n" - .'- The time interval between StartUpdateTimestamp and EndUpdateTimestamp cannot exceed 30 days.'."\n" - ."\n" - .'- Specify both StartUpdateTimestamp and EndUpdateTimestamp, or leave both blank.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1724947200000', - 'title' => '', - ], + 'schema' => ['description' => 'The end of the time range to query resources, specified as a UNIX timestamp in milliseconds. Note:'."\n" + ."\n" + .'- The value cannot be earlier than StartUpdateTimestamp.'."\n" + ."\n" + .'- The time interval between StartUpdateTimestamp and EndUpdateTimestamp cannot exceed 30 days.'."\n" + ."\n" + .'- Specify both StartUpdateTimestamp and EndUpdateTimestamp, or leave both blank.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1724947200000', 'title' => ''], ], [ 'name' => 'ExcludeResourceTypes', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource types to exclude. Separate multiple resource types with commas (,). This parameter takes precedence over the ResourceTypes parameter.', - 'type' => 'string', - 'required' => false, - 'example' => 'ACS::ECS::Instance,ACS::ECS::NetworkInterface', - 'title' => '', - ], + 'schema' => ['description' => 'The resource types to exclude. Separate multiple resource types with commas (,). This parameter takes precedence over the ResourceTypes parameter.', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance,ACS::ECS::NetworkInterface', 'title' => ''], ], ], 'responses' => [ @@ -27829,112 +16117,29 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'AccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resource belongs.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '161259599160****', - 'title' => '', - ], - 'AvailabilityZone' => [ - 'description' => 'The availability zone of the resource.', - 'type' => 'string', - 'example' => 'cn-hangzhou-h', - 'title' => '', - ], - 'Region' => [ - 'description' => 'The region ID.', - 'type' => 'string', - 'example' => 'cn-hangzhou', - 'title' => '', - ], - 'ResourceCreationTime' => [ - 'description' => 'The time when the resource was created. This is a UNIX timestamp in milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1618675206000', - 'title' => '', - ], - 'ResourceDeleted' => [ - 'description' => 'The status of the resource. Valid values:'."\n" - ."\n" - .'- 0: Deleted.'."\n" - ."\n" - .'- 1: Active.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'ResourceId' => [ - 'description' => 'The resource ID.', - 'type' => 'string', - 'example' => 'eni-hp31cqoba96jagtz****', - 'title' => '', - ], - 'ResourceName' => [ - 'description' => 'The resource name.', - 'type' => 'string', - 'example' => 'Cloud Firewall', - 'title' => '', - ], - 'ResourceStatus' => [ - 'description' => 'The status of the resource. The status is defined by the corresponding Alibaba Cloud service. This parameter can be empty. For example:'."\n" - ."\n" - .'- If the resource type is ACS::ECS::Instance, the resource is stateful. The value can be Running or Stopped.'."\n" - ."\n" - .'- If the resource type is ACS::OSS::Bucket, the resource is stateless. The value is empty.', - 'type' => 'string', - 'example' => 'InUse', - 'title' => '', - ], - 'ResourceType' => [ - 'description' => 'The resource type.', - 'type' => 'string', - 'example' => 'ACS::ECS::NetworkInterface', - 'title' => '', - ], - 'Tags' => [ - 'description' => 'The tags of the resource.', - 'type' => 'string', - 'example' => '{\\"key1\\":[\\"value2\\"]}', - 'title' => '', - ], - 'UpdateTime' => [ - 'description' => 'The time when the resource was last updated. This is a UNIX timestamp in milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1722441600000', - 'title' => '', - ], - 'Version' => [ - 'description' => 'The version of the resource change.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - 'title' => '', - ], - 'VpcId' => [ - 'description' => 'The ID of the virtual private cloud (VPC) to which the resource belongs. An empty string ("") is returned if the resource does not belong to a VPC.', - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-t4nhheyvay74fp7n0hxxx', - 'title' => '', - ], - 'VSwitchId' => [ - 'description' => 'The ID of the vSwitch to which the resource belongs. Multiple vSwitch IDs are separated by commas (,). An empty string ("") is returned if the resource does not belong to a vSwitch.', - 'type' => 'string', - 'required' => true, - 'example' => 'vsw-t4n7pokxxxxxxxxxxxxxx', - 'title' => '', - ], - 'ResourceGroupId' => [ - 'description' => 'The ID of the resource group to which the resource belongs. Example: rg-acfmvoh45rhxxxx', - 'type' => 'string', - 'required' => true, - 'example' => 'rg-acfmvoh45rhxxxx', - 'title' => '', - ], + 'AccountId' => ['description' => 'The ID of the Alibaba Cloud account to which the resource belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '161259599160****', 'title' => ''], + 'AvailabilityZone' => ['description' => 'The availability zone of the resource.', 'type' => 'string', 'example' => 'cn-hangzhou-h', 'title' => ''], + 'Region' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'ResourceCreationTime' => ['description' => 'The time when the resource was created. This is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1618675206000', 'title' => ''], + 'ResourceDeleted' => ['description' => 'The status of the resource. Valid values:'."\n" + ."\n" + .'- 0: Deleted.'."\n" + ."\n" + .'- 1: Active.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'example' => 'eni-hp31cqoba96jagtz****', 'title' => ''], + 'ResourceName' => ['description' => 'The resource name.', 'type' => 'string', 'example' => 'Cloud Firewall', 'title' => ''], + 'ResourceStatus' => ['description' => 'The status of the resource. The status is defined by the corresponding Alibaba Cloud service. This parameter can be empty. For example:'."\n" + ."\n" + .'- If the resource type is ACS::ECS::Instance, the resource is stateful. The value can be Running or Stopped.'."\n" + ."\n" + .'- If the resource type is ACS::OSS::Bucket, the resource is stateless. The value is empty.', 'type' => 'string', 'example' => 'InUse', 'title' => ''], + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'ACS::ECS::NetworkInterface', 'title' => ''], + 'Tags' => ['description' => 'The tags of the resource.', 'type' => 'string', 'example' => '{\\"key1\\":[\\"value2\\"]}', 'title' => ''], + 'UpdateTime' => ['description' => 'The time when the resource was last updated. This is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1722441600000', 'title' => ''], + 'Version' => ['description' => 'The version of the resource change.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'VpcId' => ['description' => 'The ID of the virtual private cloud (VPC) to which the resource belongs. An empty string ("") is returned if the resource does not belong to a VPC.', 'type' => 'string', 'required' => true, 'example' => 'vpc-t4nhheyvay74fp7n0hxxx', 'title' => ''], + 'VSwitchId' => ['description' => 'The ID of the vSwitch to which the resource belongs. Multiple vSwitch IDs are separated by commas (,). An empty string ("") is returned if the resource does not belong to a vSwitch.', 'type' => 'string', 'required' => true, 'example' => 'vsw-t4n7pokxxxxxxxxxxxxxx', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The ID of the resource group to which the resource belongs. Example: rg-acfmvoh45rhxxxx', 'type' => 'string', 'required' => true, 'example' => 'rg-acfmvoh45rhxxxx', 'title' => ''], ], 'title' => '', 'example' => '', @@ -27942,36 +16147,14 @@ 'title' => '', 'example' => '', ], - 'MaxResults' => [ - 'description' => 'The maximum number of entries returned on each page.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - 'title' => '', - ], - 'NextToken' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.', - 'type' => 'string', - 'example' => 'IWBjqMYSy0is7zSMGu16****', - 'title' => '', - ], - 'TotalCount' => [ - 'description' => 'The total number of resources.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - 'title' => '', - ], + 'MaxResults' => ['description' => 'The maximum number of entries returned on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'NextToken' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results.', 'type' => 'string', 'example' => 'IWBjqMYSy0is7zSMGu16****', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of resources.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''], ], 'title' => '', 'example' => '', ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2', 'title' => ''], ], 'title' => '', 'example' => '', @@ -27980,35 +16163,17 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], - [ - 'errorCode' => 'MemberNotBelongToMaster', - 'errorMessage' => 'The specified member does not belong to your organization.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], + ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DiscoveredResourceProfiles\\": {\\n \\"DiscoveredResourceProfileList\\": [\\n {\\n \\"AccountId\\": 0,\\n \\"AvailabilityZone\\": \\"cn-hangzhou-h\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"ResourceCreationTime\\": 1618675206000,\\n \\"ResourceDeleted\\": 1,\\n \\"ResourceId\\": \\"eni-hp31cqoba96jagtz****\\",\\n \\"ResourceName\\": \\"Cloud Firewall\\",\\n \\"ResourceStatus\\": \\"InUse\\",\\n \\"ResourceType\\": \\"ACS::ECS::NetworkInterface\\",\\n \\"Tags\\": \\"{\\\\\\\\\\\\\\"key1\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"value2\\\\\\\\\\\\\\"]}\\",\\n \\"UpdateTime\\": 1722441600000,\\n \\"Version\\": 1,\\n \\"VpcId\\": \\"vpc-t4nhheyvay74fp7n0hxxx\\",\\n \\"VSwitchId\\": \\"vsw-t4n7pokxxxxxxxxxxxxxx\\",\\n \\"ResourceGroupId\\": \\"rg-acfmvoh45rhxxxx\\"\\n }\\n ],\\n \\"MaxResults\\": 10,\\n \\"NextToken\\": \\"IWBjqMYSy0is7zSMGu16****\\",\\n \\"TotalCount\\": 8\\n },\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\"\\n}","type":"json"}]', 'title' => 'ListDiscoveredResources', 'description' => '### Limits'."\n" @@ -28022,12 +16187,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '4000', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListDiscoveredResources', - ], + ['threshold' => '4000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListDiscoveredResources'], ], ], 'ramActions' => [ @@ -28038,26 +16198,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListIntegratedService' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -28069,9 +16218,7 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigRIQA8M', - ], + 'abilityTreeNodes' => ['FEATUREconfigRIQA8M'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], @@ -28080,12 +16227,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '86DB52A5-0C25-505A-96D5-9BAE1EFA00B9', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '86DB52A5-0C25-505A-96D5-9BAE1EFA00B9', 'title' => ''], 'Data' => [ 'title' => 'data', 'description' => 'The information about the integrated services.', @@ -28094,52 +16236,27 @@ 'description' => 'The information about the integrated services.', 'type' => 'object', 'properties' => [ - 'ServiceName' => [ - 'description' => 'The name of the integrated service.', - 'type' => 'string', - 'title' => '', - 'example' => '云监控', - ], - 'ServiceCode' => [ - 'description' => 'The identifier of the integrable Alibaba Cloud service. Valid values:'."\n" - ."\n" - .'- eventbridge: EventBridge.'."\n" - ."\n" - .'- cms: Cloud Monitor.'."\n" - ."\n" - .'- bpstudio: Cloud Architect Design Tools.', - 'type' => 'string', - 'title' => '', - 'example' => 'cms', - ], - 'Status' => [ - 'description' => 'The integration status of the Alibaba Cloud service. Valid values:'."\n" - ."\n" - .'- true: The service is integrated.'."\n" - ."\n" - .'- false: The service is not integrated.', - 'type' => 'boolean', - 'title' => '', - 'example' => 'true', - ], - 'IntegratedTypes' => [ - 'description' => 'The event types for the integration. Separate multiple types with commas (,). Supported event types:'."\n" - ."\n" - .'- ConfigurationItemChangeNotification: resource change events.'."\n" - ."\n" - .'- NonCompliantNotification: non-compliance events.', - 'type' => 'string', - 'example' => 'NonCompliantNotification', - 'title' => '', - ], - 'AggregatorDeliveryDataType' => [ - 'description' => 'The event type for cross-account integration. Supported event types:'."\n" - ."\n" - .'- NonCompliantNotification: non-compliance events.', - 'type' => 'string', - 'example' => 'NonCompliantNotification', - 'title' => '', - ], + 'ServiceName' => ['description' => 'The name of the integrated service.', 'type' => 'string', 'title' => '', 'example' => '云监控'], + 'ServiceCode' => ['description' => 'The identifier of the integrable Alibaba Cloud service. Valid values:'."\n" + ."\n" + .'- eventbridge: EventBridge.'."\n" + ."\n" + .'- cms: Cloud Monitor.'."\n" + ."\n" + .'- bpstudio: Cloud Architect Design Tools.', 'type' => 'string', 'title' => '', 'example' => 'cms'], + 'Status' => ['description' => 'The integration status of the Alibaba Cloud service. Valid values:'."\n" + ."\n" + .'- true: The service is integrated.'."\n" + ."\n" + .'- false: The service is not integrated.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'IntegratedTypes' => ['description' => 'The event types for the integration. Separate multiple types with commas (,). Supported event types:'."\n" + ."\n" + .'- ConfigurationItemChangeNotification: resource change events.'."\n" + ."\n" + .'- NonCompliantNotification: non-compliance events.', 'type' => 'string', 'example' => 'NonCompliantNotification', 'title' => ''], + 'AggregatorDeliveryDataType' => ['description' => 'The event type for cross-account integration. Supported event types:'."\n" + ."\n" + .'- NonCompliantNotification: non-compliance events.', 'type' => 'string', 'example' => 'NonCompliantNotification', 'title' => ''], ], 'title' => '', 'example' => '', @@ -28155,11 +16272,7 @@ ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], ], 'title' => 'ListIntegratedService', @@ -28167,12 +16280,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ListIntegratedService', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIntegratedService'], ], ], 'ramActions' => [ @@ -28183,12 +16291,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -28196,14 +16299,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"86DB52A5-0C25-505A-96D5-9BAE1EFA00B9\\",\\n \\"Data\\": [\\n {\\n \\"ServiceName\\": \\"云监控\\",\\n \\"ServiceCode\\": \\"cms\\",\\n \\"Status\\": true,\\n \\"IntegratedTypes\\": \\"NonCompliantNotification\\",\\n \\"AggregatorDeliveryDataType\\": \\"NonCompliantNotification\\"\\n }\\n ]\\n}","type":"json"}]', ], 'ListManagedRules' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -28215,86 +16312,44 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigIPWFR3', - ], + 'abilityTreeNodes' => ['FEATUREconfigIPWFR3'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword of the rule template.', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'CDN', - 'title' => '', - ], + 'schema' => ['description' => 'The keyword of the rule template.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'CDN', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n" - ."\n" - .'Valid values: 1 to 100. Default value: 10.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '300', - 'minimum' => '1', - 'default' => '10', - 'example' => '10', - 'title' => '', - ], + 'schema' => ['description' => 'The number of entries to return on each page.'."\n" + ."\n" + .'Valid values: 1 to 100. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '300', 'minimum' => '1', 'default' => '10', 'example' => '10', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n" - ."\n" - .'The value must be greater than or equal to 1. Default value: 1.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '10000', - 'minimum' => '1', - 'default' => '1', - 'example' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The page number.'."\n" + ."\n" + .'The value must be greater than or equal to 1. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '10000', 'minimum' => '1', 'default' => '1', 'example' => '1', 'title' => ''], ], [ 'name' => 'RiskLevel', 'in' => 'query', - 'schema' => [ - 'description' => 'The risk level of the rule template. Valid values:'."\n" - ."\n" - .'- 1: high'."\n" - ."\n" - .'- 2: medium'."\n" - ."\n" - .'- 3: low', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The risk level of the rule template. Valid values:'."\n" + ."\n" + .'- 1: high'."\n" + ."\n" + .'- 2: medium'."\n" + ."\n" + .'- 3: low', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'ResourceTypes', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type that is evaluated by the rule.', - 'type' => 'string', - 'required' => false, - 'example' => 'ACS::ECS::Instance', - 'title' => '', - ], + 'schema' => ['description' => 'The resource type that is evaluated by the rule.', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', 'title' => ''], ], [ 'name' => 'FilterType', @@ -28304,10 +16359,7 @@ 'description' => 'The scope of the filter.', 'type' => 'string', 'default' => 'ALL', - 'enum' => [ - 'ALL', - 'UNCOVERED_RESOURCE', - ], + 'enum' => ['ALL', 'UNCOVERED_RESOURCE'], 'required' => false, 'example' => '托管规则筛选范围,可以筛选无资源覆盖的托管规则。取值:'."\n" .'- ALL 全部'."\n" @@ -28322,39 +16374,16 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'B3E605AB-63D5-1EE0-BFA6-0BAC247B0461', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B3E605AB-63D5-1EE0-BFA6-0BAC247B0461', 'title' => ''], 'ManagedRules' => [ 'description' => 'The rule templates.', 'type' => 'object', 'properties' => [ - 'PageSize' => [ - 'description' => 'The number of entries returned per page. Valid values: 1 to 500.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'PageNumber' => [ - 'description' => 'The page number of the returned page.'."\n" - ."\n" - .'The value must be greater than or equal to 1.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - 'title' => '', - ], - 'TotalCount' => [ - 'description' => 'The total number of rule templates.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '21', - 'title' => '', - ], + 'PageSize' => ['description' => 'The number of entries returned per page. Valid values: 1 to 500.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageNumber' => ['description' => 'The page number of the returned page.'."\n" + ."\n" + .'The value must be greater than or equal to 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of rule templates.', 'type' => 'integer', 'format' => 'int64', 'example' => '21', 'title' => ''], 'ManagedRuleList' => [ 'description' => 'The details of the rule templates.', 'type' => 'array', @@ -28362,55 +16391,24 @@ 'description' => 'The list of rule templates.', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => 'The risk level of the rule. Valid values:'."\n" - ."\n" - .'- 1: high'."\n" - ."\n" - .'- 2: medium'."\n" - ."\n" - .'- 3: low', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'title' => '', - ], - 'Description' => [ - 'description' => 'The description of the rule template.', - 'type' => 'string', - 'example' => 'CDN域名开启HTTPS协议加密,视为“合规”。', - 'title' => '', - ], + 'RiskLevel' => ['description' => 'The risk level of the rule. Valid values:'."\n" + ."\n" + .'- 1: high'."\n" + ."\n" + .'- 2: medium'."\n" + ."\n" + .'- 3: low', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Description' => ['description' => 'The description of the rule template.', 'type' => 'string', 'example' => 'CDN域名开启HTTPS协议加密,视为“合规”。', 'title' => ''], 'Labels' => [ 'description' => 'The list of labels of the rule template.', 'type' => 'array', - 'items' => [ - 'description' => 'The label of the rule template.', - 'type' => 'string', - 'example' => 'CDN', - 'title' => '', - ], + 'items' => ['description' => 'The label of the rule template.', 'type' => 'string', 'example' => 'CDN', 'title' => ''], 'title' => '', 'example' => '', ], - 'Identifier' => [ - 'description' => 'The unique identifier of the rule template.', - 'type' => 'string', - 'example' => 'cdn-domain-https-enabled', - 'title' => '', - ], - 'ConfigRuleName' => [ - 'description' => 'The name of the rule template.', - 'type' => 'string', - 'example' => 'CDN域名开启HTTPS加密', - 'title' => '', - ], - 'HelpUrls' => [ - 'description' => 'The URL of the document that provides remediation guidance.', - 'type' => 'string', - 'example' => 'https://example.aliyundoc.com', - 'title' => '', - ], + 'Identifier' => ['description' => 'The unique identifier of the rule template.', 'type' => 'string', 'example' => 'cdn-domain-https-enabled', 'title' => ''], + 'ConfigRuleName' => ['description' => 'The name of the rule template.', 'type' => 'string', 'example' => 'CDN域名开启HTTPS加密', 'title' => ''], + 'HelpUrls' => ['description' => 'The URL of the document that provides remediation guidance.', 'type' => 'string', 'example' => 'https://example.aliyundoc.com', 'title' => ''], 'Scope' => [ 'description' => 'The effective scope of the rule template.', 'type' => 'object', @@ -28418,12 +16416,7 @@ 'ComplianceResourceTypes' => [ 'description' => 'The types of resources that are evaluated based on the rule template.', 'type' => 'array', - 'items' => [ - 'description' => 'The type of resource that is evaluated based on the rule template.', - 'type' => 'string', - 'example' => 'ACS::CDN::Domain', - 'title' => '', - ], + 'items' => ['description' => 'The type of resource that is evaluated based on the rule template.', 'type' => 'string', 'example' => 'ACS::CDN::Domain', 'title' => ''], 'title' => '', 'example' => '', ], @@ -28431,28 +16424,13 @@ 'title' => '', 'example' => '', ], - 'SupportPreviewManagedRule' => [ - 'description' => 'Indicates whether the rule supports dry runs. Valid values:'."\n" - ."\n" - .'- true: The rule supports dry runs.'."\n" - ."\n" - .'- false: The rule does not support dry runs.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], - 'RemediationTemplateIdentifier' => [ - 'description' => 'The identifier of the supported remediation template.', - 'type' => 'string', - 'example' => 'ACS-CDN-SetDomainServerCertificate', - 'title' => '', - ], - 'RemediationTemplateName' => [ - 'description' => 'The name of the supported remediation template.', - 'type' => 'string', - 'example' => '开启CDN域名HTTPS监听', - 'title' => '', - ], + 'SupportPreviewManagedRule' => ['description' => 'Indicates whether the rule supports dry runs. Valid values:'."\n" + ."\n" + .'- true: The rule supports dry runs.'."\n" + ."\n" + .'- false: The rule does not support dry runs.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RemediationTemplateIdentifier' => ['description' => 'The identifier of the supported remediation template.', 'type' => 'string', 'example' => 'ACS-CDN-SetDomainServerCertificate', 'title' => ''], + 'RemediationTemplateName' => ['description' => 'The name of the supported remediation template.', 'type' => 'string', 'example' => '开启CDN域名HTTPS监听', 'title' => ''], ], 'title' => '', 'example' => '', @@ -28472,18 +16450,10 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'title' => 'ListManagedRules', @@ -28499,12 +16469,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListManagedRules', - ], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListManagedRules'], ], ], 'ramActions' => [ @@ -28515,12 +16480,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -28529,13 +16489,8 @@ ], 'ListPreManagedRules' => [ 'summary' => 'Queries the proactive rules supported by Cloud Config.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -28547,39 +16502,23 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigIPWFR3', - ], + 'abilityTreeNodes' => ['FEATUREconfigIPWFR3'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'formData', - 'schema' => [ - 'description' => 'The page number.'."\n" - ."\n" - .'The value starts from 1. The default value is 1.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The page number.'."\n" + ."\n" + .'The value starts from 1. The default value is 1.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n" - ."\n" - .'The default value is 10.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The number of entries to return on each page.'."\n" + ."\n" + .'The default value is 10.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'ResourceTypes', @@ -28588,13 +16527,7 @@ 'schema' => [ 'description' => 'A list of resource types.', 'type' => 'array', - 'items' => [ - 'description' => 'The resource type.', - 'type' => 'string', - 'required' => false, - 'example' => 'ACS::ECS::Instance', - 'title' => '', - ], + 'items' => ['description' => 'The resource type.', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', 'title' => ''], 'required' => false, 'title' => '', 'example' => '', @@ -28608,12 +16541,7 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'A2A9F1BE-0712-1B26-9899-D82F7DA8476C', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'A2A9F1BE-0712-1B26-9899-D82F7DA8476C'], 'ManagedRules' => [ 'description' => 'The list of proactive rules.', 'type' => 'array', @@ -28621,48 +16549,13 @@ 'description' => 'A proactive rule.', 'type' => 'object', 'properties' => [ - 'ResourceType' => [ - 'description' => 'The resource type.', - 'type' => 'string', - 'example' => 'ACS::ECS::Instance', - 'title' => '', - ], - 'Description' => [ - 'description' => 'The description of the rule.', - 'type' => 'string', - 'example' => 'ECS实例开启释放保护,视为“合规”。', - 'title' => '', - ], - 'OptionalInputParameterDetails' => [ - 'description' => 'The details of the optional input parameters for the rule.', - 'type' => 'object', - 'example' => '{}', - 'title' => '', - ], - 'Identifier' => [ - 'description' => 'The identifier of the rule.', - 'type' => 'string', - 'example' => 'ecs-instance-deletion-protection-enabled', - 'title' => '', - ], - 'ConfigRuleName' => [ - 'description' => 'The name of the rule.', - 'type' => 'string', - 'example' => 'ECS实例开启释放保护', - 'title' => '', - ], - 'HelpUrls' => [ - 'description' => 'The URL of the documentation that provides guidance on how to fix a non-compliant resource.', - 'type' => 'string', - 'example' => 'https://example.aliyundoc.com', - 'title' => '', - ], - 'CompulsoryInputParameterDetails' => [ - 'description' => 'The details of the required input parameters for the rule.', - 'type' => 'object', - 'example' => '{}', - 'title' => '', - ], + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'ACS::ECS::Instance', 'title' => ''], + 'Description' => ['description' => 'The description of the rule.', 'type' => 'string', 'example' => 'ECS实例开启释放保护,视为“合规”。', 'title' => ''], + 'OptionalInputParameterDetails' => ['description' => 'The details of the optional input parameters for the rule.', 'type' => 'object', 'example' => '{}', 'title' => ''], + 'Identifier' => ['description' => 'The identifier of the rule.', 'type' => 'string', 'example' => 'ecs-instance-deletion-protection-enabled', 'title' => ''], + 'ConfigRuleName' => ['description' => 'The name of the rule.', 'type' => 'string', 'example' => 'ECS实例开启释放保护', 'title' => ''], + 'HelpUrls' => ['description' => 'The URL of the documentation that provides guidance on how to fix a non-compliant resource.', 'type' => 'string', 'example' => 'https://example.aliyundoc.com', 'title' => ''], + 'CompulsoryInputParameterDetails' => ['description' => 'The details of the required input parameters for the rule.', 'type' => 'object', 'example' => '{}', 'title' => ''], ], 'title' => '', 'example' => '', @@ -28670,20 +16563,8 @@ 'title' => '', 'example' => '', ], - 'PageNumber' => [ - 'description' => 'The page number.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - 'title' => '', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned on each page.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - 'title' => '', - ], + 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned on each page.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], ], 'example' => '', ], @@ -28697,12 +16578,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ListPreManagedRules', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPreManagedRules'], ], ], 'ramActions' => [], @@ -28710,13 +16586,8 @@ ], 'ListRecommendManagedRules' => [ 'summary' => 'This operation obtains a list of recommended managed rules.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -28728,9 +16599,7 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -28738,104 +16607,49 @@ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '', - 'description' => 'The token that specifies the position from which to start the query. If this parameter is left empty, the query starts from the beginning.', - 'type' => 'string', - 'required' => false, - 'example' => 'IWBjqMYSy0is7zSMGu16****', - ], + 'schema' => ['title' => '', 'description' => 'The token that specifies the position from which to start the query. If this parameter is left empty, the query starts from the beginning.', 'type' => 'string', 'required' => false, 'example' => 'IWBjqMYSy0is7zSMGu16****'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '', - 'description' => 'The maximum number of entries to return on each page. Default value: 200.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '200', - ], + 'schema' => ['title' => '', 'description' => 'The maximum number of entries to return on each page. Default value: 200.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '200'], ], [ 'name' => 'RegionIdsScope', 'in' => 'query', - 'schema' => [ - 'description' => 'The scope of region IDs. Separate multiple region IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The scope of region IDs. Separate multiple region IDs with commas (,).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-hangzhou'], ], [ 'name' => 'ExcludeRegionIdsScope', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule does not take effect on resources in the specified regions. The resources in the specified regions are not evaluated. Separate multiple region IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => 'The rule does not take effect on resources in the specified regions. The resources in the specified regions are not evaluated. Separate multiple region IDs with commas (,).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cn-shanghai'], ], [ 'name' => 'ResourceGroupIdsScope', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule takes effect only on resources in the specified resource groups. Separate multiple resource group IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'rg-aekzc7r7rhx****', - ], + 'schema' => ['description' => 'The rule takes effect only on resources in the specified resource groups. Separate multiple resource group IDs with commas (,).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-aekzc7r7rhx****'], ], [ 'name' => 'ExcludeResourceGroupIdsScope', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule does not take effect on resources in the specified resource groups. The resources in the specified resource groups are not evaluated. Separate multiple resource group IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'rg-bnczc6r7rml****', - ], + 'schema' => ['description' => 'The rule does not take effect on resources in the specified resource groups. The resources in the specified resource groups are not evaluated. Separate multiple resource group IDs with commas (,).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-bnczc6r7rml****'], ], [ 'name' => 'ResourceIdsScope', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule takes effect on the specified resources. Separate multiple resource IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'lb-5cmbowstbkss9ta03****', - ], + 'schema' => ['description' => 'The rule takes effect on the specified resources. Separate multiple resource IDs with commas (,).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'lb-5cmbowstbkss9ta03****'], ], [ 'name' => 'ExcludeResourceIdsScope', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule does not take effect on the specified resources. The specified resources are not evaluated. Separate multiple resource IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '23642660635687****', - ], + 'schema' => ['description' => 'The rule does not take effect on the specified resources. The specified resources are not evaluated. Separate multiple resource IDs with commas (,).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '23642660635687****'], ], [ 'name' => 'SelectedManagedRuleIdentifiers', 'in' => 'query', - 'schema' => [ - 'description' => 'The managed rules that have been selected. Separate multiple rule identifiers with commas (,).'."\n" - .'The system does not recommend managed rules that are of the same resource type as the selected managed rules.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'ram-user-last-login-expired-check', - ], + 'schema' => ['description' => 'The managed rules that have been selected. Separate multiple rule identifiers with commas (,).'."\n" + .'The system does not recommend managed rules that are of the same resource type as the selected managed rules.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ram-user-last-login-expired-check'], ], ], 'responses' => [ @@ -28845,68 +16659,26 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '', - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'DC300244-FCE3-5061-8214-C27ECB66****', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'DC300244-FCE3-5061-8214-C27ECB66****'], 'RecommendedManagedRules' => [ 'description' => 'The list of rules.', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'The token that is used to initiate the next query.'."\n" - ."\n" - .'> If this parameter is left empty, no more results are returned.', - 'type' => 'string', - 'title' => '', - 'example' => 'zXZXbg4Mra0kOrhpwl21****', - ], - 'MaxResults' => [ - 'description' => 'The maximum number of entries returned for the request.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '200', - ], - 'TotalCount' => [ - 'description' => 'The total number of rules.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '39', - ], + 'NextToken' => ['description' => 'The token that is used to initiate the next query.'."\n" + ."\n" + .'> If this parameter is left empty, no more results are returned.', 'type' => 'string', 'title' => '', 'example' => 'zXZXbg4Mra0kOrhpwl21****'], + 'MaxResults' => ['description' => 'The maximum number of entries returned for the request.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + 'TotalCount' => ['description' => 'The total number of rules.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '39'], 'RecommendedManagedRuleList' => [ 'description' => 'The list of managed rules.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ResourceTypeScope' => [ - 'description' => 'The resource type.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS::OSS::Bucket', - ], - 'Identifier' => [ - 'description' => 'The rule identifier.', - 'type' => 'string', - 'title' => '', - 'example' => 'oss-bucket-referer-limit', - ], - 'Description' => [ - 'description' => 'The description of the managed rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'If the hotlink protection feature is enabled for the OSS bucket and the Referer is added to a specified whitelist, the configuration is considered compliant.', - ], - 'ConfigRuleName' => [ - 'description' => 'The rule name.', - 'type' => 'string', - 'title' => '', - 'example' => 'oss-bucket-referer-limit', - ], + 'ResourceTypeScope' => ['description' => 'The resource type.', 'type' => 'string', 'title' => '', 'example' => 'ACS::OSS::Bucket'], + 'Identifier' => ['description' => 'The rule identifier.', 'type' => 'string', 'title' => '', 'example' => 'oss-bucket-referer-limit'], + 'Description' => ['description' => 'The description of the managed rule.', 'type' => 'string', 'title' => '', 'example' => 'If the hotlink protection feature is enabled for the OSS bucket and the Referer is added to a specified whitelist, the configuration is considered compliant.'], + 'ConfigRuleName' => ['description' => 'The rule name.', 'type' => 'string', 'title' => '', 'example' => 'oss-bucket-referer-limit'], ], 'description' => '', 'title' => '', @@ -28926,16 +16698,10 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'ListRecommendManagedRules', 'changeSet' => [], 'flowControl' => [ @@ -28949,12 +16715,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], 'additionalActions' => [], @@ -28963,14 +16724,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DC300244-FCE3-5061-8214-C27ECB66****\\",\\n \\"RecommendedManagedRules\\": {\\n \\"NextToken\\": \\"zXZXbg4Mra0kOrhpwl21****\\",\\n \\"MaxResults\\": 200,\\n \\"TotalCount\\": 39,\\n \\"RecommendedManagedRuleList\\": [\\n {\\n \\"ResourceTypeScope\\": \\"ACS::OSS::Bucket\\",\\n \\"Identifier\\": \\"oss-bucket-referer-limit\\",\\n \\"Description\\": \\"If the hotlink protection feature is enabled for the OSS bucket and the Referer is added to a specified whitelist, the configuration is considered compliant.\\",\\n \\"ConfigRuleName\\": \\"oss-bucket-referer-limit\\"\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'ListRemediationExecutions' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -28978,59 +16733,30 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cr-5392626622af0000****', - ], + 'schema' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cr-5392626622af0000****'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'aVCjqNaSy0Ps7zSMGu25****', - ], + 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", 'type' => 'string', 'required' => false, 'example' => 'aVCjqNaSy0Ps7zSMGu25****'], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries to return for a single request. Valid values: 10 to 100.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '100', - 'exclusiveMaximum' => false, - 'minimum' => '10', - 'exclusiveMinimum' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The maximum number of entries to return for a single request. Valid values: 10 to 100.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'exclusiveMaximum' => false, 'minimum' => '10', 'exclusiveMinimum' => false, 'example' => '10'], ], [ 'name' => 'ExecutionStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the remediation. Valid values:'."\n" - ."\n" - .'* Success'."\n" - .'* Failed'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Success', - ], + 'schema' => ['description' => 'The status of the remediation. Valid values:'."\n" + ."\n" + .'* Success'."\n" + .'* Failed'."\n", 'type' => 'string', 'required' => false, 'example' => 'Success'], ], ], 'responses' => [ @@ -29038,11 +16764,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '13E67493-3165-529A-A961-BE9E4B11BA11', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '13E67493-3165-529A-A961-BE9E4B11BA11'], 'RemediationExecutionData' => [ 'description' => 'The queried remediation records.'."\n", 'type' => 'object', @@ -29053,57 +16775,20 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'ExecutionInvocationId' => [ - 'description' => 'The invocation ID of the remediation record.'."\n", - 'type' => 'string', - 'example' => 'exec-befded3781994ccf****', - ], - 'ExecutionStatus' => [ - 'description' => 'The status of the remediation record. Valid values:'."\n" - ."\n" - .'* Success'."\n" - .'* Failed'."\n", - 'type' => 'string', - 'example' => 'Success', - ], - 'ExecutionResourceType' => [ - 'description' => 'The resource type.'."\n", - 'type' => 'string', - 'example' => 'ACS::RDS::DBInstance', - ], - 'ExecutionCreateDate' => [ - 'description' => 'The time when the remediation record was created.'."\n", - 'type' => 'string', - 'example' => '2023-06-25T11:48:15Z', - ], - 'ExecutionStatusMessage' => [ - 'description' => 'The error message returned when the remediation fails.'."\n", - 'type' => 'string', - 'example' => 'Invocation time out.', - ], - 'ExecutionResourceIds' => [ - 'description' => 'The IDs of the resources to which the remediation belongs. Separate multiple resource IDs with commas (,).'."\n", - 'type' => 'string', - 'example' => 'rm-0jlk629z240l8****', - ], + 'ExecutionInvocationId' => ['description' => 'The invocation ID of the remediation record.'."\n", 'type' => 'string', 'example' => 'exec-befded3781994ccf****'], + 'ExecutionStatus' => ['description' => 'The status of the remediation record. Valid values:'."\n" + ."\n" + .'* Success'."\n" + .'* Failed'."\n", 'type' => 'string', 'example' => 'Success'], + 'ExecutionResourceType' => ['description' => 'The resource type.'."\n", 'type' => 'string', 'example' => 'ACS::RDS::DBInstance'], + 'ExecutionCreateDate' => ['description' => 'The time when the remediation record was created.'."\n", 'type' => 'string', 'example' => '2023-06-25T11:48:15Z'], + 'ExecutionStatusMessage' => ['description' => 'The error message returned when the remediation fails.'."\n", 'type' => 'string', 'example' => 'Invocation time out.'], + 'ExecutionResourceIds' => ['description' => 'The IDs of the resources to which the remediation belongs. Separate multiple resource IDs with commas (,).'."\n", 'type' => 'string', 'example' => 'rm-0jlk629z240l8****'], ], ], ], - 'NextToken' => [ - 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'example' => 'cMbjqNaYs0Ps7zSNiu37****', - ], - 'MaxResults' => [ - 'description' => 'The maximum number of entries to return for a single request.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'maximum' => '100', - 'exclusiveMaximum' => false, - 'minimum' => '10', - 'exclusiveMinimum' => false, - 'example' => '10', - ], + 'NextToken' => ['description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n", 'type' => 'string', 'example' => 'cMbjqNaYs0Ps7zSNiu37****'], + 'MaxResults' => ['description' => 'The maximum number of entries to return for a single request.'."\n", 'type' => 'integer', 'format' => 'int64', 'maximum' => '100', 'exclusiveMaximum' => false, 'minimum' => '10', 'exclusiveMinimum' => false, 'example' => '10'], ], ], ], @@ -29113,23 +16798,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"13E67493-3165-529A-A961-BE9E4B11BA11\\",\\n \\"RemediationExecutionData\\": {\\n \\"RemediationExecutions\\": [\\n {\\n \\"ExecutionInvocationId\\": \\"exec-befded3781994ccf****\\",\\n \\"ExecutionStatus\\": \\"Success\\",\\n \\"ExecutionResourceType\\": \\"ACS::RDS::DBInstance\\",\\n \\"ExecutionCreateDate\\": \\"2023-06-25T11:48:15Z\\",\\n \\"ExecutionStatusMessage\\": \\"Invocation time out.\\",\\n \\"ExecutionResourceIds\\": \\"rm-0jlk629z240l8****\\"\\n }\\n ],\\n \\"NextToken\\": \\"cMbjqNaYs0Ps7zSNiu37****\\",\\n \\"MaxResults\\": 10\\n }\\n}","type":"json"}]', 'title' => 'ListRemediationExecutions', 'summary' => 'Queries the remediation records of a rule.', @@ -29143,12 +16818,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], 'additionalActions' => [], @@ -29157,14 +16827,8 @@ ], 'ListRemediationTemplates' => [ 'summary' => 'Queries a list of remediation templates for a managed rule.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -29176,64 +16840,32 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6I2PFO', - ], + 'abilityTreeNodes' => ['FEATUREconfig6I2PFO'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'RemediationType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the remediation template. Valid value: OOS, which stands for Operation Orchestration Service.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'OOS', - 'title' => '', - ], + 'schema' => ['description' => 'The type of the remediation template. Valid value: OOS, which stands for Operation Orchestration Service.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'OOS', 'title' => ''], ], [ 'name' => 'ManagedRuleIdentifier', 'in' => 'query', 'allowEmptyValue' => true, - 'schema' => [ - 'description' => 'The identifier of the managed rule.'."\n" - ."\n" - .'You can call the [ListCompliancePackTemplates](~~261176~~) operation to obtain the managed rule identifier.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'oss-bucket-public-write-prohibited', - 'title' => '', - ], + 'schema' => ['description' => 'The identifier of the managed rule.'."\n" + ."\n" + .'You can call the [ListCompliancePackTemplates](~~261176~~) operation to obtain the managed rule identifier.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'oss-bucket-public-write-prohibited', 'title' => ''], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. Pages start from 1.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - 'default' => '1', - 'title' => '', - ], + 'schema' => ['description' => 'The page number. Pages start from 1.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'default' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '20', - 'default' => '20', - 'title' => '', - ], + 'schema' => ['description' => 'The number of entries per page. Valid values: 1 to 100.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20', 'default' => '20', 'title' => ''], ], ], 'responses' => [ @@ -29242,12 +16874,7 @@ 'description' => 'None.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'FC2C4750-7024-499C-A69F-763543D1CBE3', - 'title' => '', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'FC2C4750-7024-499C-A69F-763543D1CBE3', 'title' => ''], 'RemediationTemplates' => [ 'description' => 'The queried remediation templates.'."\n", 'type' => 'array', @@ -29255,36 +16882,11 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RemediationType' => [ - 'description' => 'The type of the remediation template. Valid value: OOS, which indicates Operation Orchestration Service.'."\n", - 'type' => 'string', - 'example' => 'OOS', - 'title' => '', - ], - 'TemplateIdentifier' => [ - 'description' => 'The ID of the remediation template.'."\n", - 'type' => 'string', - 'example' => 'ACS-OSS-PutBucketAcl', - 'title' => '', - ], - 'TemplateName' => [ - 'description' => 'The name of the remediation template.'."\n", - 'type' => 'string', - 'example' => '设置OSS Bucket的访问权限为私有。', - 'title' => '', - ], - 'TemplateDefinition' => [ - 'description' => 'The definition of the remediation template.'."\n", - 'type' => 'string', - 'example' => '{ "Parameters": { "bucketName": { "Default": "{resourceId}", "Description": { "zh-cn": "[Required]OSS Bucket名称。", "en": "[Required]OSS Bucket名称。" }, "Type": "String" }, "regionId": { "AssociationProperty": "RegionId", "Default": "{regionId}", "Description": { "zh-cn": "[Required]The id of target region.", "en": "[Required]The id of target region." }, "Type": "String" }, "permissionName": { "AllowValues": "[\\"public-read-write\\",\\"public-read\\",\\"private\\"]", "Default": "private", "Description": { "zh-cn": "[Required]ACL权限名称。", "en": "[Required]ACL权限名称。" }, "Type": "String" } } }', - 'title' => '', - ], - 'TemplateDescription' => [ - 'description' => 'The description of the remediation template.'."\n", - 'type' => 'string', - 'example' => '通过接口PutBucketACL,设置或修改存储空间(Bucket)的访问权限(ACL),请您知晓风险谨慎操作。', - 'title' => '', - ], + 'RemediationType' => ['description' => 'The type of the remediation template. Valid value: OOS, which indicates Operation Orchestration Service.'."\n", 'type' => 'string', 'example' => 'OOS', 'title' => ''], + 'TemplateIdentifier' => ['description' => 'The ID of the remediation template.'."\n", 'type' => 'string', 'example' => 'ACS-OSS-PutBucketAcl', 'title' => ''], + 'TemplateName' => ['description' => 'The name of the remediation template.'."\n", 'type' => 'string', 'example' => '设置OSS Bucket的访问权限为私有。', 'title' => ''], + 'TemplateDefinition' => ['description' => 'The definition of the remediation template.'."\n", 'type' => 'string', 'example' => '{ "Parameters": { "bucketName": { "Default": "{resourceId}", "Description": { "zh-cn": "[Required]OSS Bucket名称。", "en": "[Required]OSS Bucket名称。" }, "Type": "String" }, "regionId": { "AssociationProperty": "RegionId", "Default": "{regionId}", "Description": { "zh-cn": "[Required]The id of target region.", "en": "[Required]The id of target region." }, "Type": "String" }, "permissionName": { "AllowValues": "[\\"public-read-write\\",\\"public-read\\",\\"private\\"]", "Default": "private", "Description": { "zh-cn": "[Required]ACL权限名称。", "en": "[Required]ACL权限名称。" }, "Type": "String" } } }', 'title' => ''], + 'TemplateDescription' => ['description' => 'The description of the remediation template.'."\n", 'type' => 'string', 'example' => '通过接口PutBucketACL,设置或修改存储空间(Bucket)的访问权限(ACL),请您知晓风险谨慎操作。', 'title' => ''], ], 'title' => '', 'example' => '', @@ -29292,26 +16894,9 @@ 'title' => '', 'example' => '', ], - 'PageNumber' => [ - 'description' => 'The page number. Pages start from page 1.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - 'title' => '', - ], - 'PageSize' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 100.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - 'title' => '', - ], - 'TotalCount' => [ - 'description' => 'The total number of remediation templates.'."\n", - 'type' => 'string', - 'example' => '1', - 'title' => '', - ], + 'PageNumber' => ['description' => 'The page number. Pages start from page 1.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page. Valid values: 1 to 100.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of remediation templates.'."\n", 'type' => 'string', 'example' => '1', 'title' => ''], ], 'title' => '', 'example' => '', @@ -29320,18 +16905,10 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FC2C4750-7024-499C-A69F-763543D1CBE3\\",\\n \\"RemediationTemplates\\": [\\n {\\n \\"RemediationType\\": \\"OOS\\",\\n \\"TemplateIdentifier\\": \\"ACS-OSS-PutBucketAcl\\",\\n \\"TemplateName\\": \\"设置OSS Bucket的访问权限为私有。\\",\\n \\"TemplateDefinition\\": \\"{ \\\\\\"Parameters\\\\\\": { \\\\\\"bucketName\\\\\\": { \\\\\\"Default\\\\\\": \\\\\\"{resourceId}\\\\\\", \\\\\\"Description\\\\\\": { \\\\\\"zh-cn\\\\\\": \\\\\\"[Required]OSS Bucket名称。\\\\\\", \\\\\\"en\\\\\\": \\\\\\"[Required]OSS Bucket名称。\\\\\\" }, \\\\\\"Type\\\\\\": \\\\\\"String\\\\\\" }, \\\\\\"regionId\\\\\\": { \\\\\\"AssociationProperty\\\\\\": \\\\\\"RegionId\\\\\\", \\\\\\"Default\\\\\\": \\\\\\"{regionId}\\\\\\", \\\\\\"Description\\\\\\": { \\\\\\"zh-cn\\\\\\": \\\\\\"[Required]The id of target region.\\\\\\", \\\\\\"en\\\\\\": \\\\\\"[Required]The id of target region.\\\\\\" }, \\\\\\"Type\\\\\\": \\\\\\"String\\\\\\" }, \\\\\\"permissionName\\\\\\": { \\\\\\"AllowValues\\\\\\": \\\\\\"[\\\\\\\\\\\\\\"public-read-write\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"public-read\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"private\\\\\\\\\\\\\\"]\\\\\\", \\\\\\"Default\\\\\\": \\\\\\"private\\\\\\", \\\\\\"Description\\\\\\": { \\\\\\"zh-cn\\\\\\": \\\\\\"[Required]ACL权限名称。\\\\\\", \\\\\\"en\\\\\\": \\\\\\"[Required]ACL权限名称。\\\\\\" }, \\\\\\"Type\\\\\\": \\\\\\"String\\\\\\" } } }\\",\\n \\"TemplateDescription\\": \\"通过接口PutBucketACL,设置或修改存储空间(Bucket)的访问权限(ACL),请您知晓风险谨慎操作。\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": \\"1\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', @@ -29347,36 +16924,20 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListRemediationTemplates', - ], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListRemediationTemplates'], ], ], ], 'ListRemediations' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -29384,48 +16945,24 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ 'name' => 'ConfigRuleIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule IDs. Separate multiple rule IDs with commas (,).'."\n" - ."\n" - .'For more information about how to obtain the ID of a rule, see [ListConfigRules](~~169607~~).'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'cr-6b7c626622af00b4****', - ], + 'schema' => ['description' => 'The rule IDs. Separate multiple rule IDs with commas (,).'."\n" + ."\n" + .'For more information about how to obtain the ID of a rule, see [ListConfigRules](~~169607~~).'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cr-6b7c626622af00b4****'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. Pages start from page 1.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - ], + 'schema' => ['description' => 'The page number. Pages start from page 1.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 50.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '50', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'The number of entries per page. Valid values: 1 to 50.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'example' => '10', 'default' => '10'], ], ], 'responses' => [ @@ -29434,11 +16971,7 @@ 'description' => 'None'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0146963A-20C0-4E75-B93A-7D622B5FD7C8', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0146963A-20C0-4E75-B93A-7D622B5FD7C8'], 'Remediations' => [ 'description' => 'The converted configuration of the remediation template. This parameter is returned only for an OOS remediation template.'."\n", 'type' => 'array', @@ -29446,121 +16979,50 @@ 'description' => 'N/A.'."\n", 'type' => 'object', 'properties' => [ - 'LastSuccessfulInvocationType' => [ - 'description' => 'The mode of the last successful execution of the remediation template. Valid values:'."\n" - ."\n" - .'* NON_EXECUTION: The remediation template was not executed.'."\n" - .'* AUTO_EXECUTION: The remediation template was automatically executed.'."\n" - .'* MANUAL_EXECUTION: The remediation template was manually executed.'."\n" - .'* NOT_CONFIG: The execution mode was not specified.'."\n", - 'type' => 'string', - 'example' => 'AUTO_EXECUTION', - ], - 'RemediationTemplateId' => [ - 'description' => 'The ID of the remediation template.'."\n", - 'type' => 'string', - 'example' => 'ACS-OSS-PutBucketAcl', - ], - 'RemediationId' => [ - 'description' => 'The ID of the remediation template.'."\n", - 'type' => 'string', - 'example' => 'crr-6b7c626622af0026****', - ], - 'RemediationSourceType' => [ - 'description' => 'The source of remediation. Valid values:'."\n" - ."\n" - .'* ALIYUN: official template.'."\n" - .'* CUSTOM: custom template.'."\n" - .'* NONE: none.'."\n", - 'type' => 'string', - 'example' => 'ALIYUN', - ], - 'RemediationType' => [ - 'description' => 'The type of the remediation template. Valid values:'."\n" - ."\n" - .'* OOS: Operation Orchestration Service (official remediation)'."\n" - .'* FC: Function Compute (custom remediation)'."\n", - 'type' => 'string', - 'example' => 'OOS', - ], - 'LastSuccessfulInvocationId' => [ - 'description' => 'The ID of the last successful execution of the remediation template.'."\n", - 'type' => 'string', - 'example' => 'bd7629fb-cac8-42fe-bcb1-e362c5a6****', - ], - 'AccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resource belongs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100931896542****', - ], - 'InvokeType' => [ - 'description' => 'The execution mode of the remediation template. Valid values:'."\n" - ."\n" - .'* NON_EXECUTION: The remediation template was not executed.'."\n" - .'* AUTO_EXECUTION: The remediation template was automatically executed.'."\n" - .'* MANUAL_EXECUTION: The remediation template was manually executed.'."\n" - .'* NOT_CONFIG: The execution mode was not specified.'."\n", - 'type' => 'string', - 'example' => 'AUTO_EXECUTION', - ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.'."\n", - 'type' => 'string', - 'example' => 'cr-6b7c626622af00b4****', - ], - 'LastSuccessfulInvocationTime' => [ - 'description' => 'The timestamp of the last successful execution of the remediation template Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1625451393589', - ], - 'RemediationOriginParams' => [ - 'description' => 'The converted configuration of the remediation template. This parameter is available only for an OOS remediation template.'."\n", - 'type' => 'string', - 'example' => '{"bucketName": "{resourceId}", "regionId": "{regionId}", "permissionName": "private"}', - ], + 'LastSuccessfulInvocationType' => ['description' => 'The mode of the last successful execution of the remediation template. Valid values:'."\n" + ."\n" + .'* NON_EXECUTION: The remediation template was not executed.'."\n" + .'* AUTO_EXECUTION: The remediation template was automatically executed.'."\n" + .'* MANUAL_EXECUTION: The remediation template was manually executed.'."\n" + .'* NOT_CONFIG: The execution mode was not specified.'."\n", 'type' => 'string', 'example' => 'AUTO_EXECUTION'], + 'RemediationTemplateId' => ['description' => 'The ID of the remediation template.'."\n", 'type' => 'string', 'example' => 'ACS-OSS-PutBucketAcl'], + 'RemediationId' => ['description' => 'The ID of the remediation template.'."\n", 'type' => 'string', 'example' => 'crr-6b7c626622af0026****'], + 'RemediationSourceType' => ['description' => 'The source of remediation. Valid values:'."\n" + ."\n" + .'* ALIYUN: official template.'."\n" + .'* CUSTOM: custom template.'."\n" + .'* NONE: none.'."\n", 'type' => 'string', 'example' => 'ALIYUN'], + 'RemediationType' => ['description' => 'The type of the remediation template. Valid values:'."\n" + ."\n" + .'* OOS: Operation Orchestration Service (official remediation)'."\n" + .'* FC: Function Compute (custom remediation)'."\n", 'type' => 'string', 'example' => 'OOS'], + 'LastSuccessfulInvocationId' => ['description' => 'The ID of the last successful execution of the remediation template.'."\n", 'type' => 'string', 'example' => 'bd7629fb-cac8-42fe-bcb1-e362c5a6****'], + 'AccountId' => ['description' => 'The ID of the Alibaba Cloud account to which the resource belongs.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'], + 'InvokeType' => ['description' => 'The execution mode of the remediation template. Valid values:'."\n" + ."\n" + .'* NON_EXECUTION: The remediation template was not executed.'."\n" + .'* AUTO_EXECUTION: The remediation template was automatically executed.'."\n" + .'* MANUAL_EXECUTION: The remediation template was manually executed.'."\n" + .'* NOT_CONFIG: The execution mode was not specified.'."\n", 'type' => 'string', 'example' => 'AUTO_EXECUTION'], + 'ConfigRuleId' => ['description' => 'The rule ID.'."\n", 'type' => 'string', 'example' => 'cr-6b7c626622af00b4****'], + 'LastSuccessfulInvocationTime' => ['description' => 'The timestamp of the last successful execution of the remediation template Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1625451393589'], + 'RemediationOriginParams' => ['description' => 'The converted configuration of the remediation template. This parameter is available only for an OOS remediation template.'."\n", 'type' => 'string', 'example' => '{"bucketName": "{resourceId}", "regionId": "{regionId}", "permissionName": "private"}'], ], ], ], - 'PageNumber' => [ - 'description' => 'The page number. Pages start from page 1.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], - 'PageSize' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 50.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'The total number of remediation settings.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'PageNumber' => ['description' => 'The page number. Pages start from page 1.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'], + 'PageSize' => ['description' => 'The number of entries per page. Valid values: 1 to 50.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10'], + 'TotalCount' => ['description' => 'The total number of remediation settings.'."\n", 'type' => 'string', 'required' => true, 'example' => '1'], ], ], ], ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0146963A-20C0-4E75-B93A-7D622B5FD7C8\\",\\n \\"Remediations\\": [\\n {\\n \\"LastSuccessfulInvocationType\\": \\"AUTO_EXECUTION\\",\\n \\"RemediationTemplateId\\": \\"ACS-OSS-PutBucketAcl\\",\\n \\"RemediationId\\": \\"crr-6b7c626622af0026****\\",\\n \\"RemediationSourceType\\": \\"ALIYUN\\",\\n \\"RemediationType\\": \\"OOS\\",\\n \\"LastSuccessfulInvocationId\\": \\"bd7629fb-cac8-42fe-bcb1-e362c5a6****\\",\\n \\"AccountId\\": 0,\\n \\"InvokeType\\": \\"AUTO_EXECUTION\\",\\n \\"ConfigRuleId\\": \\"cr-6b7c626622af00b4****\\",\\n \\"LastSuccessfulInvocationTime\\": 1625451393589,\\n \\"RemediationOriginParams\\": \\"{\\\\\\"bucketName\\\\\\": \\\\\\"{resourceId}\\\\\\", \\\\\\"regionId\\\\\\": \\\\\\"{regionId}\\\\\\", \\\\\\"permissionName\\\\\\": \\\\\\"private\\\\\\"}\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": \\"1\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', @@ -29577,12 +17039,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -29590,13 +17047,8 @@ ], 'ListReportTemplates' => [ 'summary' => 'Queries the details of compliance report templates in batches.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -29608,50 +17060,26 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigZWSOST', - ], + 'abilityTreeNodes' => ['FEATUREconfigZWSOST'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'If the response is truncated, use NextToken to send another request and get results after the truncation point.', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'IWBjqMYSy0is7zSMGu16****', - 'title' => '', - ], + 'schema' => ['description' => 'If the response is truncated, use NextToken to send another request and get results after the truncation point.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'IWBjqMYSy0is7zSMGu16****', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return per page. Default value: 20.', - 'type' => 'integer', - 'format' => 'int32', - 'docRequired' => false, - 'required' => false, - 'example' => '20', - 'title' => '', - ], + 'schema' => ['description' => 'The number of entries to return per page. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'docRequired' => false, 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword for your search.'."\n" - ."\n" - .'You can perform a fuzzy query on template ID, template name, or template description.', - 'type' => 'string', - 'docRequired' => false, - 'required' => false, - 'example' => 'test-description', - 'title' => '', - ], + 'schema' => ['description' => 'The keyword for your search.'."\n" + ."\n" + .'You can perform a fuzzy query on template ID, template name, or template description.', 'type' => 'string', 'docRequired' => false, 'required' => false, 'example' => 'test-description', 'title' => ''], ], ], 'responses' => [ @@ -29660,32 +17088,10 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => '8195B664-9565-4685-89AC-8B5F04B44B92', - 'title' => '', - ], - 'TotalCount' => [ - 'description' => 'The total number of templates.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '7', - 'title' => '', - ], - 'MaxResults' => [ - 'description' => 'The maximum number of entries to return per page. Valid values: 1 to 50. Default value: 20.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - 'title' => '', - ], - 'NextToken' => [ - 'description' => 'If the response is truncated, use NextToken to send another request and get results after the truncation point.', - 'type' => 'string', - 'example' => 'aVCjqNaSy0Ps7zSMGu25****', - 'title' => '', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '8195B664-9565-4685-89AC-8B5F04B44B92', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of templates.', 'type' => 'integer', 'format' => 'int32', 'example' => '7', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of entries to return per page. Valid values: 1 to 50. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'NextToken' => ['description' => 'If the response is truncated, use NextToken to send another request and get results after the truncation point.', 'type' => 'string', 'example' => 'aVCjqNaSy0Ps7zSMGu25****', 'title' => ''], 'ReportTemplateList' => [ 'description' => 'The list of report templates.', 'type' => 'array', @@ -29693,80 +17099,45 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'ReportTemplateId' => [ - 'description' => 'The ID of the report template.', - 'type' => 'string', - 'example' => 'crt-xxx', - 'title' => '', - ], - 'ReportTemplateName' => [ - 'description' => 'The name of the report template.', - 'type' => 'string', - 'example' => 'test-name', - 'title' => '', - ], - 'ReportTemplateDescription' => [ - 'description' => 'The description of the report template.', - 'type' => 'string', - 'example' => 'test-description', - 'title' => '', - ], - 'ReportGranularity' => [ - 'description' => 'The aggregation granularity of the report.'."\n" - ."\n" - .'From the management account perspective, the following options are supported:'."\n" - ."\n" - .'- AllInOne: Aggregate all accounts in the template scope into one report.'."\n" - ."\n" - .'- GroupByAggregator: Generate reports by aggregator group. Output as one compressed file.'."\n" - ."\n" - .'- GroupByAccount: Generate separate reports for each account (default). Output as one compressed file.'."\n" - ."\n" - .'Member accounts support only GroupByAccount.', - 'type' => 'string', - 'example' => 'AllInOne', - 'title' => '', - ], - 'ReportFileFormats' => [ - 'description' => 'The format of the report. Only Excel is supported.', - 'type' => 'string', - 'example' => 'excel', - 'title' => '', - ], - 'ReportLanguage' => [ - 'description' => 'The language of the report. Valid values: zh-CN and en-US. Default value: en-US.', - 'type' => 'string', - 'example' => 'en-US', - 'title' => '', - ], - 'SubscriptionFrequency' => [ - 'description' => 'The subscription frequency of the report. If this parameter is specified, it must be a Quartz-formatted cron expression.'."\n" - ."\n" - .'The format is: second minute hour day month weekday. Common examples:'."\n" - ."\n" - .'- Run daily at 00:00: 0 0 0 \\* \\* ?'."\n" - ."\n" - .'- Run every Monday at 15:30: 0 30 15 ? \\* MON'."\n" - ."\n" - .'- Run on the first day of each month at 02:00: 0 0 2 1 \\* ?'."\n" - ."\n" - .'Where:'."\n" - ."\n" - .'- "\\*" means any value.'."\n" - ."\n" - .'- "?" means no specific value for day or weekday.'."\n" - ."\n" - .'- "MON" means Monday.'."\n" - ."\n" - .'> Times are in UTC+8. Adjust your cron expression based on your local time zone.'."\n" - ."\n" - .'> The system tries to run reports at the scheduled time, but delays may occur due to report generation. Each template can trigger at most one notification per day.'."\n" - ."\n" - .'> In Quartz, weekdays are numbered starting from Sunday: 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday.', - 'type' => 'string', - 'example' => '0 0 13 * * ?', - 'title' => '', - ], + 'ReportTemplateId' => ['description' => 'The ID of the report template.', 'type' => 'string', 'example' => 'crt-xxx', 'title' => ''], + 'ReportTemplateName' => ['description' => 'The name of the report template.', 'type' => 'string', 'example' => 'test-name', 'title' => ''], + 'ReportTemplateDescription' => ['description' => 'The description of the report template.', 'type' => 'string', 'example' => 'test-description', 'title' => ''], + 'ReportGranularity' => ['description' => 'The aggregation granularity of the report.'."\n" + ."\n" + .'From the management account perspective, the following options are supported:'."\n" + ."\n" + .'- AllInOne: Aggregate all accounts in the template scope into one report.'."\n" + ."\n" + .'- GroupByAggregator: Generate reports by aggregator group. Output as one compressed file.'."\n" + ."\n" + .'- GroupByAccount: Generate separate reports for each account (default). Output as one compressed file.'."\n" + ."\n" + .'Member accounts support only GroupByAccount.', 'type' => 'string', 'example' => 'AllInOne', 'title' => ''], + 'ReportFileFormats' => ['description' => 'The format of the report. Only Excel is supported.', 'type' => 'string', 'example' => 'excel', 'title' => ''], + 'ReportLanguage' => ['description' => 'The language of the report. Valid values: zh-CN and en-US. Default value: en-US.', 'type' => 'string', 'example' => 'en-US', 'title' => ''], + 'SubscriptionFrequency' => ['description' => 'The subscription frequency of the report. If this parameter is specified, it must be a Quartz-formatted cron expression.'."\n" + ."\n" + .'The format is: second minute hour day month weekday. Common examples:'."\n" + ."\n" + .'- Run daily at 00:00: 0 0 0 \\* \\* ?'."\n" + ."\n" + .'- Run every Monday at 15:30: 0 30 15 ? \\* MON'."\n" + ."\n" + .'- Run on the first day of each month at 02:00: 0 0 2 1 \\* ?'."\n" + ."\n" + .'Where:'."\n" + ."\n" + .'- "\\*" means any value.'."\n" + ."\n" + .'- "?" means no specific value for day or weekday.'."\n" + ."\n" + .'- "MON" means Monday.'."\n" + ."\n" + .'> Times are in UTC+8. Adjust your cron expression based on your local time zone.'."\n" + ."\n" + .'> The system tries to run reports at the scheduled time, but delays may occur due to report generation. Each template can trigger at most one notification per day.'."\n" + ."\n" + .'> In Quartz, weekdays are numbered starting from Sunday: 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday, 7 = Saturday.', 'type' => 'string', 'example' => '0 0 13 * * ?', 'title' => ''], 'ReportScope' => [ 'description' => 'An array that defines which rules appear in the audit report. Each ReportScope object uses OR logic (additive logic).'."\n" ."\n" @@ -29776,30 +17147,15 @@ 'description' => 'A report scope definition.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The key for the report scope. Supported values:'."\n" - ."\n" - .'- AggregatorId'."\n" - ."\n" - .'- CompliancePackId'."\n" - ."\n" - .'- RuleId', - 'type' => 'string', - 'example' => 'RuleId', - 'title' => '', - ], - 'Value' => [ - 'description' => 'The value for the report scope. For multiple values of the same type — such as multiple rule IDs — separate them with commas (,).', - 'type' => 'string', - 'example' => 'cr-1,cr-2', - 'title' => '', - ], - 'MatchType' => [ - 'description' => 'The matching logic. Only In is supported.', - 'type' => 'string', - 'example' => 'In', - 'title' => '', - ], + 'Key' => ['description' => 'The key for the report scope. Supported values:'."\n" + ."\n" + .'- AggregatorId'."\n" + ."\n" + .'- CompliancePackId'."\n" + ."\n" + .'- RuleId', 'type' => 'string', 'example' => 'RuleId', 'title' => ''], + 'Value' => ['description' => 'The value for the report scope. For multiple values of the same type — such as multiple rule IDs — separate them with commas (,).', 'type' => 'string', 'example' => 'cr-1,cr-2', 'title' => ''], + 'MatchType' => ['description' => 'The matching logic. Only In is supported.', 'type' => 'string', 'example' => 'In', 'title' => ''], ], 'title' => '', 'example' => '', @@ -29822,23 +17178,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ReportTemplateNotExist', - 'errorMessage' => 'Report template does not exist or invalid.', - 'description' => 'Report template does not exist, please check the input ReportTemplateId', - ], + ['errorCode' => 'ReportTemplateNotExist', 'errorMessage' => 'Report template does not exist or invalid.', 'description' => 'Report template does not exist, please check the input ReportTemplateId'], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Batch retrieve compliance report template details', 'changeSet' => [], 'flowControl' => [ @@ -29849,14 +17195,8 @@ ], 'ListResourceEvaluationResults' => [ 'summary' => 'Queries the evaluation results for a resource based on a rule.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -29867,69 +17207,38 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigJVB3GZ', - ], + 'abilityTreeNodes' => ['FEATUREconfigJVB3GZ'], ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource type.'."\n" - ."\n" - .'For more information, see [ListDiscoveredResources](~~169620~~).', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'title' => '', - 'example' => 'ACS::RAM::User', - ], + 'schema' => ['description' => 'The resource type.'."\n" + ."\n" + .'For more information, see [ListDiscoveredResources](~~169620~~).', 'type' => 'string', 'required' => false, 'docRequired' => false, 'title' => '', 'example' => 'ACS::RAM::User'], ], [ 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource ID.'."\n" - ."\n" - .'For more information, see [ListDiscoveredResources](~~169620~~).', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'title' => '', - 'example' => '23642660635396****', - ], + 'schema' => ['description' => 'The resource ID.'."\n" + ."\n" + .'For more information, see [ListDiscoveredResources](~~169620~~).', 'type' => 'string', 'required' => false, 'docRequired' => false, 'title' => '', 'example' => '23642660635396****'], ], [ 'name' => 'RiskLevel', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'docRequired' => false, - 'description' => 'The risk level of the rule. Valid values:'."\n" - ."\n" - .'- 1: High risk.'."\n" - ."\n" - .'- 2: Medium risk.'."\n" - ."\n" - .'- 3: Low risk.', - 'required' => false, - 'title' => '', - 'example' => '1', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'docRequired' => false, 'description' => 'The risk level of the rule. Valid values:'."\n" + ."\n" + .'- 1: High risk.'."\n" + ."\n" + .'- 2: Medium risk.'."\n" + ."\n" + .'- 3: Low risk.', 'required' => false, 'title' => '', 'example' => '1'], ], [ 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'description' => 'This parameter is optional. The only supported value is `LastNonCompliantRecordTimestamp-Asc`. This value sorts resources based on when they first became non-compliant, with the earliest appearing first. Use this parameter only when you set the `ComplianceType` parameter to `NON_COMPLIANT`.', - 'title' => '', - 'example' => 'LastNonCompliantRecordTimestamp-Asc', - ], + 'schema' => ['type' => 'string', 'required' => false, 'docRequired' => false, 'description' => 'This parameter is optional. The only supported value is `LastNonCompliantRecordTimestamp-Asc`. This value sorts resources based on when they first became non-compliant, with the earliest appearing first. Use this parameter only when you set the `ComplianceType` parameter to `NON_COMPLIANT`.', 'title' => '', 'example' => 'LastNonCompliantRecordTimestamp-Asc'], ], [ 'name' => 'ComplianceType', @@ -29948,14 +17257,7 @@ .'- IGNORED: The evaluation result is ignored.', 'type' => 'string', 'required' => false, - 'enum' => [ - 'COMPLIANT', - '', - 'NON_COMPLIANT', - 'NOT_APPLICABLE', - 'INSUFFICIENT_DATA', - 'IGNORED', - ], + 'enum' => ['COMPLIANT', '', 'NON_COMPLIANT', 'NOT_APPLICABLE', 'INSUFFICIENT_DATA', 'IGNORED'], 'title' => '', 'example' => 'NON_COMPLIANT', ], @@ -29963,43 +17265,19 @@ [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'If the response is truncated, pass the `NextToken` value in a subsequent request to retrieve the remaining results.', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'title' => '', - 'example' => 'IWBjqMYSy0is7zSMGu16****', - ], + 'schema' => ['description' => 'If the response is truncated, pass the `NextToken` value in a subsequent request to retrieve the remaining results.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'title' => '', 'example' => 'IWBjqMYSy0is7zSMGu16****'], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries to return for a single request. Valid values: 1 to 100.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '500', - 'minimum' => '1', - 'default' => '10', - 'title' => '', - 'example' => '10', - ], + 'schema' => ['description' => 'The maximum number of entries to return for a single request. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '500', 'minimum' => '1', 'default' => '10', 'title' => '', 'example' => '10'], ], [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region where the resource resides. For example, `global` indicates Global, and `cn-hangzhou` indicates China (Hangzhou).'."\n" - ."\n" - .'For more information, see [ListDiscoveredResources](~~169620~~).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'global', - ], + 'schema' => ['description' => 'The ID of the region where the resource resides. For example, `global` indicates Global, and `cn-hangzhou` indicates China (Hangzhou).'."\n" + ."\n" + .'For more information, see [ListDiscoveredResources](~~169620~~).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'global'], ], ], 'responses' => [ @@ -30008,29 +17286,13 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '25C89DDB-BB79-487D-88C3-4A561F21EFC4', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '25C89DDB-BB79-487D-88C3-4A561F21EFC4'], 'EvaluationResults' => [ 'description' => 'The resource evaluation results.', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => 'The token that is used to retrieve the next page of results.', - 'type' => 'string', - 'title' => '', - 'example' => 'IWBjqMYSy0is7zSMGu16****', - ], - 'MaxResults' => [ - 'description' => 'The maximum number of entries returned per page.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '10', - ], + 'NextToken' => ['description' => 'The token that is used to retrieve the next page of results.', 'type' => 'string', 'title' => '', 'example' => 'IWBjqMYSy0is7zSMGu16****'], + 'MaxResults' => ['description' => 'The maximum number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], 'EvaluationResultList' => [ 'description' => 'The list of resource evaluation results.', 'type' => 'array', @@ -30038,142 +17300,63 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => 'The risk level of the rule. Valid values:'."\n" - ."\n" - .'- 1: high risk.'."\n" - ."\n" - .'- 2: medium risk.'."\n" - ."\n" - .'- 3: low risk.', - 'type' => 'integer', - 'format' => 'int32', - 'title' => '', - 'example' => '1', - ], - 'ComplianceType' => [ - 'description' => 'The compliance evaluation result. Valid values:'."\n" - ."\n" - .'- COMPLIANT: The resource is compliant.'."\n" - ."\n" - .'- NON\\_COMPLIANT: The resource is non-compliant.'."\n" - ."\n" - .'- NOT\\_APPLICABLE: The rule does not apply to the resource.'."\n" - ."\n" - .'- INSUFFICIENT\\_DATA: The data is insufficient.'."\n" - ."\n" - .'- IGNORED: The evaluation result is ignored.', - 'type' => 'string', - 'title' => '', - 'example' => 'NON_COMPLIANT', - ], - 'ResultRecordedTimestamp' => [ - 'description' => 'The timestamp when the resource evaluation result was generated. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1624932227595', - ], - 'Annotation' => [ - 'description' => 'Additional information about the non-compliant resource. The value of this parameter can contain the following information:'."\n" - ."\n" - .'- `configuration`: The current configuration of the resource, which is the non-compliant configuration.'."\n" - ."\n" - .'- `desiredValue`: The expected configuration of the resource, which is the compliant configuration.'."\n" - ."\n" - .'- `operator`: The comparison operator that is used to compare the current configuration with the expected configuration.'."\n" - ."\n" - .'- `property`: The JSON path of the current configuration in the resource property struct.'."\n" - ."\n" - .'- `reason`: The reason why the resource is non-compliant.', - 'type' => 'string', - 'title' => '', - 'example' => '{\\"configuration\\":\\"false\\",\\"desiredValue\\":\\"True\\",\\"operator\\":\\"StringEquals\\",\\"property\\":\\"$.LoginProfile.MFABindRequired\\"}', - ], - 'ConfigRuleInvokedTimestamp' => [ - 'description' => 'The timestamp when the rule was triggered for evaluation. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1624932227157', - ], - 'InvokingEventMessageType' => [ - 'description' => 'The trigger type of the rule. Valid values:'."\n" - ."\n" - .'- ConfigurationItemChangeNotification: The rule is triggered by a configuration change.'."\n" - ."\n" - .'- ScheduledNotification: The rule is triggered periodically.'."\n" - ."\n" - .'- Manual: The rule is triggered manually.', - 'type' => 'string', - 'title' => '', - 'example' => 'ScheduledNotification', - ], + 'RiskLevel' => ['description' => 'The risk level of the rule. Valid values:'."\n" + ."\n" + .'- 1: high risk.'."\n" + ."\n" + .'- 2: medium risk.'."\n" + ."\n" + .'- 3: low risk.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'ComplianceType' => ['description' => 'The compliance evaluation result. Valid values:'."\n" + ."\n" + .'- COMPLIANT: The resource is compliant.'."\n" + ."\n" + .'- NON\\_COMPLIANT: The resource is non-compliant.'."\n" + ."\n" + .'- NOT\\_APPLICABLE: The rule does not apply to the resource.'."\n" + ."\n" + .'- INSUFFICIENT\\_DATA: The data is insufficient.'."\n" + ."\n" + .'- IGNORED: The evaluation result is ignored.', 'type' => 'string', 'title' => '', 'example' => 'NON_COMPLIANT'], + 'ResultRecordedTimestamp' => ['description' => 'The timestamp when the resource evaluation result was generated. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1624932227595'], + 'Annotation' => ['description' => 'Additional information about the non-compliant resource. The value of this parameter can contain the following information:'."\n" + ."\n" + .'- `configuration`: The current configuration of the resource, which is the non-compliant configuration.'."\n" + ."\n" + .'- `desiredValue`: The expected configuration of the resource, which is the compliant configuration.'."\n" + ."\n" + .'- `operator`: The comparison operator that is used to compare the current configuration with the expected configuration.'."\n" + ."\n" + .'- `property`: The JSON path of the current configuration in the resource property struct.'."\n" + ."\n" + .'- `reason`: The reason why the resource is non-compliant.', 'type' => 'string', 'title' => '', 'example' => '{\\"configuration\\":\\"false\\",\\"desiredValue\\":\\"True\\",\\"operator\\":\\"StringEquals\\",\\"property\\":\\"$.LoginProfile.MFABindRequired\\"}'], + 'ConfigRuleInvokedTimestamp' => ['description' => 'The timestamp when the rule was triggered for evaluation. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1624932227157'], + 'InvokingEventMessageType' => ['description' => 'The trigger type of the rule. Valid values:'."\n" + ."\n" + .'- ConfigurationItemChangeNotification: The rule is triggered by a configuration change.'."\n" + ."\n" + .'- ScheduledNotification: The rule is triggered periodically.'."\n" + ."\n" + .'- Manual: The rule is triggered manually.', 'type' => 'string', 'title' => '', 'example' => 'ScheduledNotification'], 'EvaluationResultIdentifier' => [ 'description' => 'The identifier of the resource evaluation result.', 'type' => 'object', 'properties' => [ - 'OrderingTimestamp' => [ - 'description' => 'The timestamp that is displayed on the timeline. Unit: milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'title' => '', - 'example' => '1624932227157', - ], + 'OrderingTimestamp' => ['description' => 'The timestamp that is displayed on the timeline. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1624932227157'], 'EvaluationResultQualifier' => [ 'description' => 'The resource information in the evaluation result.', 'type' => 'object', 'properties' => [ - 'ConfigRuleArn' => [ - 'description' => 'The ARN of the rule.', - 'type' => 'string', - 'title' => '', - 'example' => 'acs:config::100931896542****:rule/cr-7f7d626622af0041****', - ], - 'ResourceType' => [ - 'description' => 'The resource type.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS::RAM::User', - ], - 'ConfigRuleName' => [ - 'description' => 'The rule name.', - 'type' => 'string', - 'title' => '', - 'example' => 'ram-user-mfa-check', - ], - 'ResourceId' => [ - 'description' => 'The resource ID.', - 'type' => 'string', - 'title' => '', - 'example' => '23642660635396****', - ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'cr-7f7d626622af0041****', - ], - 'ResourceName' => [ - 'description' => 'The resource name.', - 'type' => 'string', - 'title' => '', - 'example' => 'Alice', - ], - 'RegionId' => [ - 'description' => 'The ID of the region where the resource resides.', - 'type' => 'string', - 'title' => '', - 'example' => 'global', - ], - 'IgnoreDate' => [ - 'description' => 'The date when the ignored evaluation result is automatically resumed.'."\n" - ."\n" - .'> If this parameter is empty, the evaluation result is not automatically resumed. You must manually resume the result.', - 'type' => 'string', - 'title' => '', - 'example' => '2022-06-01', - ], + 'ConfigRuleArn' => ['description' => 'The ARN of the rule.', 'type' => 'string', 'title' => '', 'example' => 'acs:config::100931896542****:rule/cr-7f7d626622af0041****'], + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'title' => '', 'example' => 'ACS::RAM::User'], + 'ConfigRuleName' => ['description' => 'The rule name.', 'type' => 'string', 'title' => '', 'example' => 'ram-user-mfa-check'], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => '23642660635396****'], + 'ConfigRuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'title' => '', 'example' => 'cr-7f7d626622af0041****'], + 'ResourceName' => ['description' => 'The resource name.', 'type' => 'string', 'title' => '', 'example' => 'Alice'], + 'RegionId' => ['description' => 'The ID of the region where the resource resides.', 'type' => 'string', 'title' => '', 'example' => 'global'], + 'IgnoreDate' => ['description' => 'The date when the ignored evaluation result is automatically resumed.'."\n" + ."\n" + .'> If this parameter is empty, the evaluation result is not automatically resumed. You must manually resume the result.', 'type' => 'string', 'title' => '', 'example' => '2022-06-01'], ], 'title' => '', 'example' => '', @@ -30182,29 +17365,13 @@ 'title' => '', 'example' => '', ], - 'RemediationEnabled' => [ - 'description' => 'Indicates whether the remediation setting is enabled. Valid values:'."\n" - ."\n" - .'- true: The remediation setting is enabled.'."\n" - ."\n" - .'- false: The remediation setting is not enabled.', - 'type' => 'boolean', - 'title' => '', - 'example' => 'true', - ], - 'EvaluationId' => [ - 'type' => 'string', - 'description' => 'The unique ID of the evaluation result.', - 'title' => '', - 'example' => '00000089-4e0d-58b5-a96a-8e54112110f3', - ], - 'LastNonCompliantRecordTimestamp' => [ - 'type' => 'integer', - 'format' => 'int64', - 'description' => 'The start time of the last non-compliance.', - 'title' => '', - 'example' => '1744696393000', - ], + 'RemediationEnabled' => ['description' => 'Indicates whether the remediation setting is enabled. Valid values:'."\n" + ."\n" + .'- true: The remediation setting is enabled.'."\n" + ."\n" + .'- false: The remediation setting is not enabled.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'EvaluationId' => ['type' => 'string', 'description' => 'The unique ID of the evaluation result.', 'title' => '', 'example' => '00000089-4e0d-58b5-a96a-8e54112110f3'], + 'LastNonCompliantRecordTimestamp' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The start time of the last non-compliance.', 'title' => '', 'example' => '1744696393000'], ], 'title' => '', 'example' => '', @@ -30224,30 +17391,14 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], ], 404 => [ - [ - 'errorCode' => 'CloudConfigServiceRoleNotExisted', - 'errorMessage' => 'The CloudConfigServiceRole does not exist.', - 'description' => '', - ], - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'CloudConfigServiceRoleNotExisted', 'errorMessage' => 'The CloudConfigServiceRole does not exist.', 'description' => ''], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"25C89DDB-BB79-487D-88C3-4A561F21EFC4\\",\\n \\"EvaluationResults\\": {\\n \\"NextToken\\": \\"IWBjqMYSy0is7zSMGu16****\\",\\n \\"MaxResults\\": 10,\\n \\"EvaluationResultList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"ComplianceType\\": \\"NON_COMPLIANT\\",\\n \\"ResultRecordedTimestamp\\": 1624932227595,\\n \\"Annotation\\": \\"{\\\\\\\\\\\\\\"configuration\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"false\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"desiredValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"True\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"StringEquals\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"property\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"$.LoginProfile.MFABindRequired\\\\\\\\\\\\\\"}\\",\\n \\"ConfigRuleInvokedTimestamp\\": 1624932227157,\\n \\"InvokingEventMessageType\\": \\"ScheduledNotification\\",\\n \\"EvaluationResultIdentifier\\": {\\n \\"OrderingTimestamp\\": 1624932227157,\\n \\"EvaluationResultQualifier\\": {\\n \\"ConfigRuleArn\\": \\"acs:config::100931896542****:rule/cr-7f7d626622af0041****\\",\\n \\"ResourceType\\": \\"ACS::RAM::User\\",\\n \\"ConfigRuleName\\": \\"ram-user-mfa-check\\",\\n \\"ResourceId\\": \\"23642660635396****\\",\\n \\"ConfigRuleId\\": \\"cr-7f7d626622af0041****\\",\\n \\"ResourceName\\": \\"Alice\\",\\n \\"RegionId\\": \\"global\\",\\n \\"IgnoreDate\\": \\"2022-06-01\\"\\n }\\n },\\n \\"RemediationEnabled\\": true,\\n \\"EvaluationId\\": \\"00000089-4e0d-58b5-a96a-8e54112110f3\\",\\n \\"LastNonCompliantRecordTimestamp\\": 1744696393000\\n }\\n ]\\n }\\n}","type":"json"}]', @@ -30256,12 +17407,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListResourceEvaluationResults', - ], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListResourceEvaluationResults'], ], ], 'ramActions' => [ @@ -30272,26 +17418,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListResourceRelations' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -30299,83 +17434,42 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'i-j6cajg9yrfoh4sas****', - ], + 'schema' => ['description' => 'The resource ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'i-j6cajg9yrfoh4sas****'], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the resource.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ACS::ECS::Instance', - ], + 'schema' => ['description' => 'The type of the resource.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ACS::ECS::Instance'], ], [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region in which the resource resides.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => 'The ID of the region in which the resource resides.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'C2DjqMYSy0is7zSMGf21****', - ], + 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", 'type' => 'string', 'required' => false, 'example' => 'C2DjqMYSy0is7zSMGf21****'], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries to return in a request. Valid values: 1 to 1000.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '1000', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'The maximum number of entries to return in a request. Valid values: 1 to 1000.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '10', 'default' => '10'], ], [ 'name' => 'TargetResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the resource that is associated with the object.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ACS::ECS::Disk', - ], + 'schema' => ['description' => 'The type of the resource that is associated with the object.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Disk'], ], [ 'name' => 'TargetResourceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the resource that is associated with the object.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'd-j6c8k731qbrc7fxi****', - ], + 'schema' => ['description' => 'The ID of the resource that is associated with the object.'."\n", 'type' => 'string', 'required' => false, 'example' => 'd-j6c8k731qbrc7fxi****'], ], [ 'name' => 'RelationType', @@ -30391,12 +17485,7 @@ .'* Contains: The object contains the resource.'."\n", 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'IsContained' => '', - 'IsAttachedTo' => '', - 'IsAssociatedIn' => '', - 'Contains' => '', - ], + 'enumValueTitles' => ['IsContained' => '', 'IsAttachedTo' => '', 'IsAssociatedIn' => '', 'Contains' => ''], 'example' => 'IsAttachedTo', ], ], @@ -30406,11 +17495,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '6525F8DE-5A8B-5AD3-A241-BBF5A259E5B2', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6525F8DE-5A8B-5AD3-A241-BBF5A259E5B2'], 'ResourceRelations' => [ 'description' => 'The result of the relationship.'."\n", 'type' => 'object', @@ -30422,37 +17507,12 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'AccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resource belongs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100931896542****', - ], - 'SourceResourceType' => [ - 'description' => 'The type of the resource.'."\n", - 'type' => 'string', - 'example' => 'ACS::ECS::Instance', - ], - 'SourceResourceRegionId' => [ - 'description' => 'The ID of the region in which the resource resides.'."\n", - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'SourceResourceId' => [ - 'description' => 'The resource ID.'."\n", - 'type' => 'string', - 'example' => 'i-j6cajg9yrfoh4sas****', - ], - 'TargetResourceType' => [ - 'description' => 'The type of the associated resource.'."\n", - 'type' => 'string', - 'example' => 'ACS::ECS::Disk', - ], - 'TargetResourceId' => [ - 'description' => 'The ID of the associated resource.'."\n", - 'type' => 'string', - 'example' => 'd-j6c8k731qbrc7fxi****', - ], + 'AccountId' => ['description' => 'The ID of the Alibaba Cloud account to which the resource belongs.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100931896542****'], + 'SourceResourceType' => ['description' => 'The type of the resource.'."\n", 'type' => 'string', 'example' => 'ACS::ECS::Instance'], + 'SourceResourceRegionId' => ['description' => 'The ID of the region in which the resource resides.'."\n", 'type' => 'string', 'example' => 'cn-shanghai'], + 'SourceResourceId' => ['description' => 'The resource ID.'."\n", 'type' => 'string', 'example' => 'i-j6cajg9yrfoh4sas****'], + 'TargetResourceType' => ['description' => 'The type of the associated resource.'."\n", 'type' => 'string', 'example' => 'ACS::ECS::Disk'], + 'TargetResourceId' => ['description' => 'The ID of the associated resource.'."\n", 'type' => 'string', 'example' => 'd-j6c8k731qbrc7fxi****'], 'RelationType' => [ 'description' => 'The type of the relationship between the resource and the object.'."\n" ."\n" @@ -30463,30 +17523,14 @@ .'* IsAssociatedIn: The object is associated with the resource.'."\n" .'* Contains: The object contains the resource.'."\n", 'type' => 'string', - 'enumValueTitles' => [ - 'IsContained' => '', - 'IsAttachedTo' => '', - 'IsAssociatedIn' => '', - 'Contains' => '', - ], + 'enumValueTitles' => ['IsContained' => '', 'IsAttachedTo' => '', 'IsAssociatedIn' => '', 'Contains' => ''], 'example' => 'IsAttachedTo', ], ], ], ], - 'NextToken' => [ - 'description' => 'The token that was used to initiate the next request.'."\n", - 'type' => 'string', - 'example' => 'C2DjqMYSy0is7zSMGf21****', - ], - 'MaxResults' => [ - 'description' => 'The maximum number of entries returned on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'maximum' => '100', - 'minimum' => '10', - 'example' => '10', - ], + 'NextToken' => ['description' => 'The token that was used to initiate the next request.'."\n", 'type' => 'string', 'example' => 'C2DjqMYSy0is7zSMGf21****'], + 'MaxResults' => ['description' => 'The maximum number of entries returned on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '10', 'example' => '10'], ], ], ], @@ -30496,30 +17540,14 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'MemberNotBelongToMaster', - 'errorMessage' => 'The specified member does not belong to your organization.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], + ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6525F8DE-5A8B-5AD3-A241-BBF5A259E5B2\\",\\n \\"ResourceRelations\\": {\\n \\"ResourceRelationList\\": [\\n {\\n \\"AccountId\\": 0,\\n \\"SourceResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"SourceResourceRegionId\\": \\"cn-shanghai\\",\\n \\"SourceResourceId\\": \\"i-j6cajg9yrfoh4sas****\\",\\n \\"TargetResourceType\\": \\"ACS::ECS::Disk\\",\\n \\"TargetResourceId\\": \\"d-j6c8k731qbrc7fxi****\\",\\n \\"RelationType\\": \\"IsAttachedTo\\"\\n }\\n ],\\n \\"NextToken\\": \\"C2DjqMYSy0is7zSMGf21****\\",\\n \\"MaxResults\\": 10\\n }\\n}","type":"json"}]', @@ -30537,12 +17565,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -30550,14 +17573,8 @@ ], 'ListResourcesByAdvancedSearch' => [ 'summary' => 'Obtains resources based on the fields in the resource properties by using a SELECT statement.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -30569,22 +17586,14 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigQ01U20', - ], + 'abilityTreeNodes' => ['FEATUREconfigQ01U20'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Sql', 'in' => 'query', - 'schema' => [ - 'description' => 'The SQL query statement.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'SELECT ResourceId, ResourceName WHERE Tags.Kvpair=\'business:online\'', - 'title' => '', - ], + 'schema' => ['description' => 'The SQL query statement.'."\n", 'type' => 'string', 'required' => true, 'example' => 'SELECT ResourceId, ResourceName WHERE Tags.Kvpair=\'business:online\'', 'title' => ''], ], ], 'responses' => [ @@ -30592,12 +17601,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'D241DEBF-67A2-56AF-88CF-57BF78F0A850', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'D241DEBF-67A2-56AF-88CF-57BF78F0A850', 'title' => ''], 'QueryResults' => [ 'description' => 'The query result.'."\n", 'type' => 'object', @@ -30609,24 +17613,14 @@ 'Columns' => [ 'description' => 'The field names.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The field name.'."\n", - 'type' => 'string', - 'example' => '["ResourceId", "ResourceName"]', - 'title' => '', - ], + 'items' => ['description' => 'The field name.'."\n", 'type' => 'string', 'example' => '["ResourceId", "ResourceName"]', 'title' => ''], 'title' => '', 'example' => '', ], 'Values' => [ 'description' => 'The resource data.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The resource data.'."\n", - 'type' => 'any', - 'example' => '["eni-2ze5lq7xaluy5kb5****", "test-resource"]', - 'title' => '', - ], + 'items' => ['description' => 'The resource data.'."\n", 'type' => 'any', 'example' => '["eni-2ze5lq7xaluy5kb5****", "test-resource"]', 'title' => ''], 'title' => '', 'example' => '', ], @@ -30647,23 +17641,13 @@ ], 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D241DEBF-67A2-56AF-88CF-57BF78F0A850\\",\\n \\"QueryResults\\": {\\n \\"QueryResultList\\": {\\n \\"Columns\\": [\\n \\"[\\\\\\"ResourceId\\\\\\", \\\\\\"ResourceName\\\\\\"]\\"\\n ],\\n \\"Values\\": [\\n \\"[\\\\\\"eni-2ze5lq7xaluy5kb5****\\\\\\", \\\\\\"test-resource\\\\\\"]\\"\\n ]\\n }\\n }\\n}","type":"json"}]', 'title' => 'ListResourcesByAdvancedSearch', 'description' => '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).'."\n" @@ -30684,12 +17668,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], 'additionalActions' => [], @@ -30697,24 +17676,14 @@ ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListResourcesByAdvancedSearch', - ], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListResourcesByAdvancedSearch'], ], ], ], 'ListSupportedProducts' => [ 'summary' => 'Queries the cloud services and resource types that are supported by Cloud Config.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -30726,39 +17695,21 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig8049ON', - ], + 'abilityTreeNodes' => ['FEATUREconfig8049ON'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.', - 'type' => 'string', - 'required' => false, - 'example' => 'D3AjqMNSy0ls7zBNCf3a****', - 'title' => '', - ], + 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.', 'type' => 'string', 'required' => false, 'example' => 'D3AjqMNSy0ls7zBNCf3a****', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum number of entries to return in a request.'."\n" - ."\n" - .'Valid values: 1 to 500. Default value: 200.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '500', - 'minimum' => '1', - 'default' => '200', - 'example' => '200', - 'title' => '', - ], + 'schema' => ['description' => 'The maximum number of entries to return in a request.'."\n" + ."\n" + .'Valid values: 1 to 500. Default value: 200.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'minimum' => '1', 'default' => '200', 'example' => '200', 'title' => ''], ], ], 'responses' => [ @@ -30773,42 +17724,17 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'ProductNameEn' => [ - 'description' => 'The English name of the Alibaba Cloud service.', - 'type' => 'string', - 'example' => 'Elastic Compute Service', - 'title' => '', - ], + 'ProductNameEn' => ['description' => 'The English name of the Alibaba Cloud service.', 'type' => 'string', 'example' => 'Elastic Compute Service', 'title' => ''], 'ResourceTypeList' => [ 'description' => 'The resource types that are supported by Cloud Config.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'ResourceType' => [ - 'description' => 'The identifier of the resource type.', - 'type' => 'string', - 'example' => 'ACS::ECS::Instance', - 'title' => '', - ], - 'TypeNameEn' => [ - 'description' => 'The English name of the resource type.', - 'type' => 'string', - 'example' => 'Ecs Instance', - 'title' => '', - ], - 'TypeNameZh' => [ - 'description' => 'The Chinese name of the resource type.', - 'type' => 'string', - 'example' => 'ECS实例', - 'title' => '', - ], - 'TypePageLink' => [ - 'description' => 'The URL of the resource type in the console.', - 'type' => 'string', - 'example' => 'https://ecs.console.aliyun.com/#/server/@{ResourceId}/detail?regionId=@{RegionId}', - 'title' => '', - ], + 'ResourceType' => ['description' => 'The identifier of the resource type.', 'type' => 'string', 'example' => 'ACS::ECS::Instance', 'title' => ''], + 'TypeNameEn' => ['description' => 'The English name of the resource type.', 'type' => 'string', 'example' => 'Ecs Instance', 'title' => ''], + 'TypeNameZh' => ['description' => 'The Chinese name of the resource type.', 'type' => 'string', 'example' => 'ECS实例', 'title' => ''], + 'TypePageLink' => ['description' => 'The URL of the resource type in the console.', 'type' => 'string', 'example' => 'https://ecs.console.aliyun.com/#/server/@{ResourceId}/detail?regionId=@{RegionId}', 'title' => ''], ], 'description' => '', 'title' => '', @@ -30817,12 +17743,7 @@ 'title' => '', 'example' => '', ], - 'ProductNameZh' => [ - 'description' => 'The Chinese name of the Alibaba Cloud service.', - 'type' => 'string', - 'example' => '云服务器ECS', - 'title' => '', - ], + 'ProductNameZh' => ['description' => 'The Chinese name of the Alibaba Cloud service.', 'type' => 'string', 'example' => '云服务器ECS', 'title' => ''], ], 'title' => '', 'example' => '', @@ -30830,24 +17751,9 @@ 'title' => '', 'example' => '', ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '610B0276-ABEE-57DF-9C13-C2415FADA7D6', - 'title' => '', - ], - 'NextToken' => [ - 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.', - 'type' => 'string', - 'example' => 'D99AjqMNSy0ls7zBNCfcs****', - 'title' => '', - ], - 'MaxResults' => [ - 'description' => 'The maximum number of entries to return for a single request. Valid values: 1 to 500.', - 'type' => 'string', - 'example' => '200', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '610B0276-ABEE-57DF-9C13-C2415FADA7D6', 'title' => ''], + 'NextToken' => ['description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.', 'type' => 'string', 'example' => 'D99AjqMNSy0ls7zBNCfcs****', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of entries to return for a single request. Valid values: 1 to 500.', 'type' => 'string', 'example' => '200', 'title' => ''], ], 'description' => '', 'title' => '', @@ -30857,11 +17763,7 @@ ], 'errorCodes' => [ 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'title' => 'ListSupportedProducts', @@ -30869,12 +17771,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListSupportedProducts', - ], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListSupportedProducts'], ], ], 'ramActions' => [], @@ -30882,13 +17779,8 @@ ], 'ListTagResources' => [ 'summary' => 'Queries the tags attached to resources in Cloud Config.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -30899,53 +17791,33 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigNPMEKB', - ], + 'abilityTreeNodes' => ['FEATUREconfigNPMEKB'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'formData', - 'schema' => [ - 'title' => '', - 'description' => 'The ID of the region to which the tags belong.', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-shanghai', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the region to which the tags belong.', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'NextToken', 'in' => 'formData', - 'schema' => [ - 'title' => '', - 'description' => 'The token to retrieve the next page of results.', - 'type' => 'string', - 'required' => false, - 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJ****', - ], + 'schema' => ['title' => '', 'description' => 'The token to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJ****'], ], [ 'name' => 'ResourceType', 'in' => 'formData', - 'schema' => [ - 'title' => '', - 'description' => 'The resource type in CloudConfig. Valid values:'."\n" - ."\n" - .'- `ACS::Config::Rule`: a rule for a single account.'."\n" - ."\n" - .'- `ACS::Config::AggregateConfigRule`: a rule for multiple accounts.'."\n" - ."\n" - .'- `ACS::Config::Aggregator`: an account group.'."\n" - ."\n" - .'- `ACS::Config::CompliancePack`: a compliance package for a single account.'."\n" - ."\n" - .'- `ACS::Config::AggregateCompliancePack`: a compliance package for multiple accounts.', - 'type' => 'string', - 'required' => true, - 'example' => 'ACS::Config::Rule', - ], + 'schema' => ['title' => '', 'description' => 'The resource type in CloudConfig. Valid values:'."\n" + ."\n" + .'- `ACS::Config::Rule`: a rule for a single account.'."\n" + ."\n" + .'- `ACS::Config::AggregateConfigRule`: a rule for multiple accounts.'."\n" + ."\n" + .'- `ACS::Config::Aggregator`: an account group.'."\n" + ."\n" + .'- `ACS::Config::CompliancePack`: a compliance package for a single account.'."\n" + ."\n" + .'- `ACS::Config::AggregateCompliancePack`: a compliance package for multiple accounts.', 'type' => 'string', 'required' => true, 'example' => 'ACS::Config::Rule'], ], [ 'name' => 'ResourceId', @@ -30957,15 +17829,9 @@ ."\n" .'You can query tags for a maximum of 50 resources.', 'type' => 'array', - 'items' => [ - 'description' => 'The resource ID.'."\n" - ."\n" - .'You can query tags for a maximum of 50 resources.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'cr-115b626622af0060****', - ], + 'items' => ['description' => 'The resource ID.'."\n" + ."\n" + .'You can query tags for a maximum of 50 resources.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cr-115b626622af0060****'], 'required' => false, 'maxItems' => 51, 'example' => '', @@ -30987,24 +17853,12 @@ .'You can filter resources by a maximum of 20 tags.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'title' => '', - 'description' => 'The tag key of the resource.'."\n" - ."\n" - .'You can specify a maximum of 20 tag keys.', - 'type' => 'string', - 'required' => false, - 'example' => 'Env', - ], - 'Value' => [ - 'title' => '', - 'description' => 'The tag value of the resource.'."\n" - ."\n" - .'You can specify a maximum of 20 tag values.', - 'type' => 'string', - 'required' => false, - 'example' => 'prod', - ], + 'Key' => ['title' => '', 'description' => 'The tag key of the resource.'."\n" + ."\n" + .'You can specify a maximum of 20 tag keys.', 'type' => 'string', 'required' => false, 'example' => 'Env'], + 'Value' => ['title' => '', 'description' => 'The tag value of the resource.'."\n" + ."\n" + .'You can specify a maximum of 20 tag values.', 'type' => 'string', 'required' => false, 'example' => 'prod'], ], 'required' => false, 'title' => '', @@ -31022,20 +17876,10 @@ 'description' => 'The query results.', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'title' => '', - 'description' => 'The token to retrieve the next page of results.'."\n" - ."\n" - .'> This parameter is empty when there are no more results to return.', - 'type' => 'string', - 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJ****', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'AB2E4317-06A6-5745-B7C3-E001E551****', - ], + 'NextToken' => ['title' => '', 'description' => 'The token to retrieve the next page of results.'."\n" + ."\n" + .'> This parameter is empty when there are no more results to return.', 'type' => 'string', 'example' => 'MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJ****'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'AB2E4317-06A6-5745-B7C3-E001E551****'], 'TagResources' => [ 'type' => 'object', 'itemNode' => true, @@ -31047,30 +17891,10 @@ 'description' => 'A list of tags that are attached to the resource.', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'title' => '', - 'example' => 'Env', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'title' => '', - 'example' => 'prod', - ], - 'ResourceId' => [ - 'description' => 'The resource ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'cr-115b626622af0060****', - ], - 'ResourceType' => [ - 'description' => 'The resource type.', - 'type' => 'string', - 'title' => '', - 'example' => 'ACS::Config::Rule', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'Env'], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'prod'], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'title' => '', 'example' => 'cr-115b626622af0060****'], + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'title' => '', 'example' => 'ACS::Config::Rule'], ], 'title' => '', 'example' => '', @@ -31094,12 +17918,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ListTagResources', - ], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'], ], ], 'ramActions' => [ @@ -31110,12 +17929,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -31123,12 +17937,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJ****\\",\\n \\"RequestId\\": \\"AB2E4317-06A6-5745-B7C3-E001E551****\\",\\n \\"TagResources\\": {\\n \\"TagResource\\": [\\n {\\n \\"TagKey\\": \\"Env\\",\\n \\"TagValue\\": \\"prod\\",\\n \\"ResourceId\\": \\"cr-115b626622af0060****\\",\\n \\"ResourceType\\": \\"ACS::Config::Rule\\"\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'PutEvaluations' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -31136,47 +17946,27 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Evaluations', 'in' => 'formData', - 'schema' => [ - 'description' => 'The evaluation results.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '[{"accountId":120886317861****,"annotation":"The flow log is not enabled.","complianceResourceId":"flowlog-o6wdfo1yvgo4i8****","complianceResourceType":"ACS::CEN::Flowlog","complianceRegionId":"cn-shanghai","complianceType":"NON_COMPLIANT","orderingTimestamp":1588907220408}]', - ], + 'schema' => ['description' => 'The evaluation results.'."\n", 'type' => 'string', 'required' => false, 'example' => '[{"accountId":120886317861****,"annotation":"The flow log is not enabled.","complianceResourceId":"flowlog-o6wdfo1yvgo4i8****","complianceResourceType":"ACS::CEN::Flowlog","complianceRegionId":"cn-shanghai","complianceType":"NON_COMPLIANT","orderingTimestamp":1588907220408}]'], ], [ 'name' => 'DeleteMode', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable the delete mode. Valid values:'."\n" - ."\n" - .'* true: enables the delete mode'."\n" - .'* false (default): disables the delete mode'."\n" - ."\n" - .'> This parameter is valid only when you manually trigger or periodically trigger custom rules to evaluate resources. If you enable the delete mode, the evaluation results that are not updated during the current evaluation are automatically deleted.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable the delete mode. Valid values:'."\n" + ."\n" + .'* true: enables the delete mode'."\n" + .'* false (default): disables the delete mode'."\n" + ."\n" + .'> This parameter is valid only when you manually trigger or periodically trigger custom rules to evaluate resources. If you enable the delete mode, the evaluation results that are not updated during the current evaluation are automatically deleted.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'ResultToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'The callback token. When Cloud Config triggers a custom rule to evaluate resources, the token information is sent to Function Compute as an input parameter. The token must be specified when you submit the evaluation results.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '=lAUbfkWp7GL9AFoQEIStinqBMc4FC8sHvip/1F1npkWUDNS2GEm6xwL6Zl/fSr0bbkWY+aiCLjTJxnp4H/yp/8p/Q8VCAtqG5uhRii4sfnYRnTPnE****', - ], + 'schema' => ['description' => 'The callback token. When Cloud Config triggers a custom rule to evaluate resources, the token information is sent to Function Compute as an input parameter. The token must be specified when you submit the evaluation results.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '=lAUbfkWp7GL9AFoQEIStinqBMc4FC8sHvip/1F1npkWUDNS2GEm6xwL6Zl/fSr0bbkWY+aiCLjTJxnp4H/yp/8p/Q8VCAtqG5uhRii4sfnYRnTPnE****'], ], ], 'responses' => [ @@ -31184,19 +17974,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'EDB324E2-A202-5FE4-A9BC-31E2C34F78A4', - ], - 'Result' => [ - 'description' => 'Indicates whether the evaluation results of the custom rule are submitted. Valid values:'."\n" - ."\n" - .'* true: The evaluation results are submitted.'."\n" - .'* false: The evaluation results fail to be submitted.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'EDB324E2-A202-5FE4-A9BC-31E2C34F78A4'], + 'Result' => ['description' => 'Indicates whether the evaluation results of the custom rule are submitted. Valid values:'."\n" + ."\n" + .'* true: The evaluation results are submitted.'."\n" + .'* false: The evaluation results fail to be submitted.'."\n", 'type' => 'boolean', 'example' => 'true'], ], 'description' => '', ], @@ -31204,30 +17986,16 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EDB324E2-A202-5FE4-A9BC-31E2C34F78A4\\",\\n \\"Result\\": true\\n}","type":"json"}]', 'title' => 'PutEvaluations', 'summary' => 'Submits the evaluation results of a rule from Function Compute.', @@ -31241,12 +18009,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], 'additionalActions' => [], @@ -31254,13 +18017,8 @@ ], ], 'RevertAggregateEvaluationResults' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -31268,20 +18026,12 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the rule in the account group.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cr-7e72626622af0051****', - ], + 'schema' => ['description' => 'The ID of the rule in the account group.'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-7e72626622af0051****'], ], [ 'name' => 'Resources', @@ -31294,39 +18044,18 @@ 'description' => 'The resources that you want to re-evaluate.'."\n", 'type' => 'object', 'properties' => [ - 'ResourceAccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resource belongs.'."\n" - ."\n" - .'> You must specify the ID of the current management account or a member in the account group of the management account.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '120886317861****', - ], - 'ResourceType' => [ - 'description' => 'The type of the resource.'."\n" - ."\n" - .'For more information about how to obtain the type of a resource, see [ListAggregateDiscoveredResources](~~265983~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ACS::SLB::LoadBalancer', - ], - 'Region' => [ - 'description' => 'The ID of the region in which your resources reside.'."\n" - ."\n" - .'For more information about how to obtain the ID of the region in which your resources reside, see [ListAggregateDiscoveredResources](~~265983~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-beijing', - ], - 'ResourceId' => [ - 'description' => 'The resource ID.'."\n" - ."\n" - .'For more information about how to obtain the ID of a resource, see [ListAggregateDiscoveredResources](~~265983~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'lb-hp3a3b4ztyfm2plgm****', - ], + 'ResourceAccountId' => ['description' => 'The ID of the Alibaba Cloud account to which the resource belongs.'."\n" + ."\n" + .'> You must specify the ID of the current management account or a member in the account group of the management account.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '120886317861****'], + 'ResourceType' => ['description' => 'The type of the resource.'."\n" + ."\n" + .'For more information about how to obtain the type of a resource, see [ListAggregateDiscoveredResources](~~265983~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'ACS::SLB::LoadBalancer'], + 'Region' => ['description' => 'The ID of the region in which your resources reside.'."\n" + ."\n" + .'For more information about how to obtain the ID of the region in which your resources reside, see [ListAggregateDiscoveredResources](~~265983~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'], + 'ResourceId' => ['description' => 'The resource ID.'."\n" + ."\n" + .'For more information about how to obtain the ID of a resource, see [ListAggregateDiscoveredResources](~~265983~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'lb-hp3a3b4ztyfm2plgm****'], ], 'required' => false, ], @@ -31336,14 +18065,9 @@ [ 'name' => 'AggregatorId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ca-5b6c626622af008f****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'ca-5b6c626622af008f****'], ], ], 'responses' => [ @@ -31351,34 +18075,18 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BB11CBF2-0B0B-59F2-9E84-07B38267AD12', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'BB11CBF2-0B0B-59F2-9E84-07B38267AD12'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BB11CBF2-0B0B-59F2-9E84-07B38267AD12\\"\\n}","type":"json"}]', @@ -31401,25 +18109,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'RevertEvaluationResults' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -31431,23 +18129,15 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule ID.'."\n" - ."\n" - .'For more information about how to obtain the ID of a rule, see [ListConfigRules](~~169607~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cr-7e72626622af0051****', - ], + 'schema' => ['description' => 'The rule ID.'."\n" + ."\n" + .'For more information about how to obtain the ID of a rule, see [ListConfigRules](~~169607~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-7e72626622af0051****'], ], [ 'name' => 'Resources', @@ -31460,37 +18150,16 @@ 'description' => 'The resources that are to be re-evaluated.'."\n", 'type' => 'object', 'properties' => [ - 'ResourceAccountId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resource belongs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '100931896542****', - ], - 'ResourceType' => [ - 'description' => 'The resource type.'."\n" - ."\n" - .'For more information about how to query the type of a resource, see [ListDiscoveredResources](~~169620~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ACS::SLB::LoadBalancer', - ], - 'Region' => [ - 'description' => 'The ID of the region in which the resource resides.'."\n" - ."\n" - .'For more information about how to obtain the ID of the region in which a resource resides, see [ListDiscoveredResources](~~169620~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-beijing', - ], - 'ResourceId' => [ - 'description' => 'The resource ID.'."\n" - ."\n" - .'For more information about how to obtain the ID of a resource, see [ListDiscoveredResources](~~169620~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'lb-hp3a3b4ztyfm2plgm****', - ], + 'ResourceAccountId' => ['description' => 'The ID of the Alibaba Cloud account to which the resource belongs.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '100931896542****'], + 'ResourceType' => ['description' => 'The resource type.'."\n" + ."\n" + .'For more information about how to query the type of a resource, see [ListDiscoveredResources](~~169620~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'ACS::SLB::LoadBalancer'], + 'Region' => ['description' => 'The ID of the region in which the resource resides.'."\n" + ."\n" + .'For more information about how to obtain the ID of the region in which a resource resides, see [ListDiscoveredResources](~~169620~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'], + 'ResourceId' => ['description' => 'The resource ID.'."\n" + ."\n" + .'For more information about how to obtain the ID of a resource, see [ListDiscoveredResources](~~169620~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'lb-hp3a3b4ztyfm2plgm****'], ], 'required' => false, ], @@ -31503,29 +18172,17 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '01ACCBF2-0B0B-59F2-9E84-07B38267BCA1', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '01ACCBF2-0B0B-59F2-9E84-07B38267BCA1'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"01ACCBF2-0B0B-59F2-9E84-07B38267BCA1\\"\\n}","errorExample":""},{"type":"xml","example":"<RevertEvaluationResultsResponse>\\n <RequestId>01ACCBF2-0B0B-59F2-9E84-07B38267BCA1</RequestId>\\n</RevertEvaluationResultsResponse>","errorExample":""}]', @@ -31548,26 +18205,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'StartAggregateConfigRuleEvaluation' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -31579,65 +18225,41 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule ID.'."\n" - ."\n" - .'For more information about how to query the ID of a rule, see [ListAggregateConfigRules](~~264148~~).'."\n" - ."\n" - .'> You must configure either the `CompliancePackId` or `ConfigRuleId` parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'cr-c169626622af009f****', - ], + 'schema' => ['description' => 'The rule ID.'."\n" + ."\n" + .'For more information about how to query the ID of a rule, see [ListAggregateConfigRules](~~264148~~).'."\n" + ."\n" + .'> You must configure either the `CompliancePackId` or `ConfigRuleId` parameter.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cr-c169626622af009f****'], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-3a58626622af0005****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-3a58626622af0005****'], ], [ 'name' => 'RevertEvaluation', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to re-evaluate the ignored non-compliant resource. Valid values:'."\n" - ."\n" - .'* true: re-evaluates the ignored non-compliant resource based on the rule.'."\n" - .'* false (default): does not re-evaluate the ignored non-compliant resource based on the rule.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to re-evaluate the ignored non-compliant resource. Valid values:'."\n" + ."\n" + .'* true: re-evaluates the ignored non-compliant resource based on the rule.'."\n" + .'* false (default): does not re-evaluate the ignored non-compliant resource based on the rule.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance package.'."\n" - ."\n" - .'For more information about how to obtain the ID of a compliance package, see [ListAggregateCompliancePacks](~~262059~~).'."\n" - ."\n" - .'> You must configure either the `CompliancePackId` or `ConfigRuleId` parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cp-ac16626622af0053****', - ], + 'schema' => ['description' => 'The ID of the compliance package.'."\n" + ."\n" + .'For more information about how to obtain the ID of a compliance package, see [ListAggregateCompliancePacks](~~262059~~).'."\n" + ."\n" + .'> You must configure either the `CompliancePackId` or `ConfigRuleId` parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cp-ac16626622af0053****'], ], ], 'responses' => [ @@ -31646,61 +18268,29 @@ 'description' => 'N/A.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'ABC0FFF8-0B44-40C6-8BBF-3A185EFDD212', - ], - 'Result' => [ - 'description' => 'Indicates whether the involved resources were evaluated. Valid values:'."\n" - ."\n" - .'* true: The involved resources were evaluated.'."\n" - .'* false: The involved resources were not evaluated'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'ABC0FFF8-0B44-40C6-8BBF-3A185EFDD212'], + 'Result' => ['description' => 'Indicates whether the involved resources were evaluated. Valid values:'."\n" + ."\n" + .'* true: The involved resources were evaluated.'."\n" + .'* false: The involved resources were not evaluated'."\n", 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConfigRuleNotExists', - 'errorMessage' => 'The ConfigRule does not exist.', - 'description' => '', - ], - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => '', - ], + ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => ''], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'AggregatorMemberNoPermission', - 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', - 'description' => '', - ], + ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => ''], ], [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ABC0FFF8-0B44-40C6-8BBF-3A185EFDD212\\",\\n \\"Result\\": true\\n}","errorExample":""},{"type":"xml","example":"<StartAggregateConfigRuleEvaluationResponse>\\n <RequestId>ABC0FFF8-0B44-40C6-8BBF-3A185EFDD212</RequestId>\\n <Result>true</Result>\\n</StartAggregateConfigRuleEvaluationResponse>","errorExample":""}]', @@ -31719,26 +18309,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'StartAggregateRemediation' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -31750,103 +18329,85 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule ID.'."\n" - ."\n" - .'For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cr-6b7c626622af00b4****', - ], + 'schema' => ['description' => 'The ID of the rule.'."\n" + ."\n" + .'To get the rule ID, see [ListAggregateConfigRules](~~264148~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-6b7c626622af00b4****', 'title' => ''], ], [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-6b4a626622af0012****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'To get the account group ID, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-6b4a626622af0012****', 'title' => ''], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'example' => 'vpc-xxx', 'description' => '', 'title' => ''], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'example' => 'ACS::VPC::VPC', 'description' => '', 'title' => ''], + ], + [ + 'name' => 'ResourceRegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'example' => 'cn-hangzhou', 'description' => '', 'title' => ''], ], [ 'name' => 'ResourceAccountId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the resources to be remediated belong. If this parameter is left empty, non-compliant resources of all accounts in the account group are remediated.'."\n" - ."\n" - .'> You must specify the ID of the current management account or a member account in the account group of the management account.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100271897542****', - ], + 'schema' => ['description' => 'The ID of the Alibaba Cloud account to which the resources to be remediated belong. If this parameter is left empty, non-compliant resources of all accounts in the account group are remediated.'."\n" + ."\n" + .'> You must specify the ID of the current management account or a member account in the account group of the management account.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100271897542****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'None'."\n", + 'description' => 'None', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2', - ], - 'Data' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2', 'title' => ''], + 'Data' => ['description' => 'Indicates whether the operation succeeded. Valid values:'."\n" + ."\n" + .'- true: The operation succeeded.'."\n" + ."\n" + .'- false: The operation failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\",\\n \\"Data\\": true\\n}","errorExample":""},{"type":"xml","example":"<StartAggregateRemediationResponse>\\n <RequestId>C7817373-78CB-4F9A-8AFA-E7A88E9D64A2</RequestId>\\n <Data>true</Data>\\n</StartAggregateRemediationResponse>","errorExample":""}]', 'title' => 'StartAggregateRemediation', - 'summary' => 'Performs a remediation operation by using a rule in an account group.', - 'description' => 'This topic provides an example on how to manually perform a remediation operation by using the rule whose ID is `cr-6b7c626622af00b4****` in the account group whose ID is `ca-6b4a626622af0012****`. The return result shows that the manual execution is successful.'."\n", - 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n", + 'summary' => 'Manually run remediation for a specified account group rule.', + 'description' => '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.', + 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).', 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartAggregateRemediation'], + ], + ], 'ramActions' => [ [ 'operationType' => 'none', @@ -31855,25 +18416,16 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\",\\n \\"Data\\": true\\n}","type":"json"}]', ], 'StartConfigRuleEvaluation' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -31885,56 +18437,35 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the rule.'."\n" - ."\n" - .'For more information, see [ListConfigRules](~~609222~~).'."\n" - ."\n" - .'> Specify either `CompliancePackId` or `ConfigRuleId`.', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'cr-9920626622af0035****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the rule.'."\n" + ."\n" + .'For more information, see [ListConfigRules](~~609222~~).'."\n" + ."\n" + .'> Specify either `CompliancePackId` or `ConfigRuleId`.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'cr-9920626622af0035****', 'title' => ''], ], [ 'name' => 'RevertEvaluation', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to restore evaluation results that were ignored. Valid values:'."\n" - ."\n" - .'- true: Restores ignored evaluation results.'."\n" - ."\n" - .'- false (default): Does not restore ignored evaluation results.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to restore evaluation results that were ignored. Valid values:'."\n" + ."\n" + .'- true: Restores ignored evaluation results.'."\n" + ."\n" + .'- false (default): Does not restore ignored evaluation results.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'CompliancePackId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the compliance package.'."\n" - ."\n" - .'For more information, see [ListCompliancePacks](~~606968~~).'."\n" - ."\n" - .'> Specify either `CompliancePackId` or `ConfigRuleId`.', - 'type' => 'string', - 'required' => false, - 'example' => 'cp-ac16626622af0053****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the compliance package.'."\n" + ."\n" + .'For more information, see [ListCompliancePacks](~~606968~~).'."\n" + ."\n" + .'> Specify either `CompliancePackId` or `ConfigRuleId`.', 'type' => 'string', 'required' => false, 'example' => 'cp-ac16626622af0053****', 'title' => ''], ], ], 'responses' => [ @@ -31942,22 +18473,12 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'D31EEAD7-BF1E-5927-977A-AFF9342A7273', - 'title' => '', - ], - 'Result' => [ - 'description' => 'The result of the request. Valid values:'."\n" - ."\n" - .'- true: The request is successful.'."\n" - ."\n" - .'- false: The request failed.', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'D31EEAD7-BF1E-5927-977A-AFF9342A7273', 'title' => ''], + 'Result' => ['description' => 'The result of the request. Valid values:'."\n" + ."\n" + .'- true: The request is successful.'."\n" + ."\n" + .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'description' => '', 'title' => '', @@ -31967,23 +18488,11 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConfigRuleNotExists', - 'errorMessage' => 'The ConfigRule does not exist.', - 'description' => 'The rule does not exist.', - ], - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], + ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => 'The rule does not exist.'], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'title' => 'StartConfigRuleEvaluation', @@ -31992,12 +18501,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'StartConfigRuleEvaluation', - ], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartConfigRuleEvaluation'], ], ], 'ramActions' => [ @@ -32008,12 +18512,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -32022,13 +18521,8 @@ ], 'StartConfigRuleEvaluationByResource' => [ 'summary' => 'Starts a re-evaluation of a single resource.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -32036,25 +18530,14 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'description' => 'The ID of the resource.'."\n" - ."\n" - .'For more information about how to obtain the resource ID, see [ListDiscoveredResources](~~169620~~).', - 'title' => '', - 'example' => 'i-bp151g9tpto890zr****', - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true, 'description' => 'The ID of the resource.'."\n" + ."\n" + .'For more information about how to obtain the resource ID, see [ListDiscoveredResources](~~169620~~).', 'title' => '', 'example' => 'i-bp151g9tpto890zr****'], ], ], 'responses' => [ @@ -32062,20 +18545,10 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ConfigRuleId' => [ - 'type' => 'string', - 'description' => 'The ID of the rule.'."\n" - ."\n" - .'For more information about how to obtain the rule ID, see [ListConfigRules](~~169607~~).', - 'title' => '', - 'example' => 'cr-2da35180a8d1008e****', - ], - 'RequestId' => [ - 'type' => 'string', - 'description' => 'The ID of the request.', - 'title' => '', - 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7', - ], + 'ConfigRuleId' => ['type' => 'string', 'description' => 'The ID of the rule.'."\n" + ."\n" + .'For more information about how to obtain the rule ID, see [ListConfigRules](~~169607~~).', 'title' => '', 'example' => 'cr-2da35180a8d1008e****'], + 'RequestId' => ['type' => 'string', 'description' => 'The ID of the request.', 'title' => '', 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7'], ], 'description' => '', 'title' => '', @@ -32085,40 +18558,18 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ExceedMaxRuleCount', - 'errorMessage' => 'The maximum number of rules is exceeded.', - 'description' => '', - ], - [ - 'errorCode' => 'ConfigRuleNotExists', - 'errorMessage' => 'The ConfigRule does not exist.', - 'description' => 'The rule does not exist.', - ], - [ - 'errorCode' => 'ConfigRuleExists', - 'errorMessage' => 'The ConfigRule already exists.', - 'description' => '', - ], + ['errorCode' => 'ExceedMaxRuleCount', 'errorMessage' => 'The maximum number of rules is exceeded.', 'description' => ''], + ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => 'The rule does not exist.'], + ['errorCode' => 'ConfigRuleExists', 'errorMessage' => 'The ConfigRule already exists.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'StartConfigRuleEvaluationByResource', 'changeSet' => [], 'flowControl' => [ @@ -32132,12 +18583,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], 'additionalActions' => [], @@ -32146,12 +18592,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ConfigRuleId\\": \\"cr-2da35180a8d1008e****\\",\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7\\"\\n}","type":"json"}]', ], 'StartConfigurationRecorder' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -32163,9 +18605,7 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigI0TIO6', - ], + 'abilityTreeNodes' => ['FEATUREconfigI0TIO6'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], @@ -32174,74 +18614,59 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4D994662-6B27-536F-B320-38F4B3D58705', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4D994662-6B27-536F-B320-38F4B3D58705', 'title' => ''], 'ConfigurationRecorder' => [ - 'description' => 'The details of the configuration recorder.'."\n", + 'description' => 'The details of the configuration recorder.', 'type' => 'object', 'properties' => [ - 'ConfigurationRecorderStatus' => [ - 'description' => 'The status of the configuration recorder. Valid values:'."\n" - ."\n" - .'* REGISTRABLE: The configuration recorder has not been registered.'."\n" - .'* BUILDING: The configuration recorder is being deployed.'."\n" - .'* REGISTERED: The configuration recorder has been registered.'."\n" - .'* REBUILDING: The configuration recorder is being redeployed.'."\n", - 'type' => 'string', - 'example' => 'REGISTERED', - ], + 'ConfigurationRecorderStatus' => ['description' => 'The status of the configuration recorder. Valid values:'."\n" + ."\n" + .'- REGISTRABLE: The configuration recorder has not been registered.'."\n" + ."\n" + .'- BUILDING: The configuration recorder is being deployed.'."\n" + ."\n" + .'- REGISTERED: The configuration recorder has been registered.'."\n" + ."\n" + .'- REBUILDING: The configuration recorder is being redeployed.', 'type' => 'string', 'example' => 'REGISTERED', 'title' => ''], 'ResourceTypes' => [ - 'description' => 'The types of the resources that are monitored by Cloud Config.'."\n", + 'description' => 'The types of the resources that are monitored by Cloud Config.', 'type' => 'array', - 'items' => [ - 'description' => 'The type of the resource that is monitored by Cloud Config.'."\n", - 'type' => 'string', - 'example' => 'ACS::ECS::Instance', - ], + 'items' => ['description' => 'The type of the resource that is monitored by Cloud Config.', 'type' => 'string', 'example' => 'ACS::ECS::Instance', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => '', - ], - [ - 'errorCode' => 'ProcessIsRunning', - 'errorMessage' => 'The process is running.', - 'description' => '', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], + ['errorCode' => 'ProcessIsRunning', 'errorMessage' => 'The process is running.', 'description' => 'The process is running.'], ], 500 => [ - [ - 'errorCode' => 'CreateSLRFail', - 'errorMessage' => 'Failed to create SLR.', - 'description' => '', - ], + ['errorCode' => 'CreateSLRFail', 'errorMessage' => 'Failed to create SLR.', 'description' => 'Failed to create SLR.'], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => '', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D994662-6B27-536F-B320-38F4B3D58705\\",\\n \\"ConfigurationRecorder\\": {\\n \\"ConfigurationRecorderStatus\\": \\"REGISTERED\\",\\n \\"ResourceTypes\\": [\\n \\"ACS::ECS::Instance\\"\\n ]\\n }\\n}","type":"json"}]', 'title' => 'StartConfigurationRecorder', 'summary' => 'Enables Cloud Config to monitor the resources of your Alibaba Cloud account.', - 'description' => 'This topic provides an example on how to enable Cloud Config to monitor the resources of your Alibaba Cloud account.'."\n", + 'description' => 'This topic provides an example on how to enable Cloud Config to monitor the resources of your Alibaba Cloud account.', 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartConfigurationRecorder'], + ], + ], 'ramActions' => [ [ 'operationType' => 'create', @@ -32250,26 +18675,16 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D994662-6B27-536F-B320-38F4B3D58705\\",\\n \\"ConfigurationRecorder\\": {\\n \\"ConfigurationRecorderStatus\\": \\"REGISTERED\\",\\n \\"ResourceTypes\\": [\\n \\"ACS::ECS::Instance\\"\\n ]\\n }\\n}","type":"json"}]', ], 'StartRemediation' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -32281,75 +18696,69 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'ConfigRuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule ID.'."\n" - ."\n" - .'For more information about how to obtain the ID of a rule, see [ListConfigRules](~~169607~~).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cr-8a973ac2e2be00a2****', - ], + 'schema' => ['description' => 'The rule ID.'."\n" + ."\n" + .'For information about how to obtain the rule ID, see [ListConfigRules](~~169607~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-8a973ac2e2be00a2****', 'title' => ''], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'example' => 'vpc-xxx', 'description' => '', 'title' => ''], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'example' => 'ACS::VPC::VPC', 'description' => '', 'title' => ''], + ], + [ + 'name' => 'ResourceRegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'example' => 'cn-hangzhou', 'description' => '', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'N/A.'."\n", + 'description' => 'None', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2', - ], - 'Data' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true: The request was successful.'."\n" - .'* false: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2', 'title' => ''], + 'Data' => ['description' => 'Indicates whether the operation was successful. Valid values:'."\n" + ."\n" + .'- true: The operation was successful.'."\n" + ."\n" + .'- false: The operation failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'RemediationTemplateNotExist', - 'errorMessage' => 'The remediation template does not exist or is invalid.', - 'description' => '', - ], - [ - 'errorCode' => 'RemediationInputParamInConsistentWithRule', - 'errorMessage' => 'The remediation parameter does not match the rule parameter.', - 'description' => '', - ], + ['errorCode' => 'RemediationTemplateNotExist', 'errorMessage' => 'The remediation template does not exist or is invalid.', 'description' => 'The remediation template does not exist or is invalid.'], + ['errorCode' => 'RemediationInputParamInConsistentWithRule', 'errorMessage' => 'The remediation parameter does not match the rule parameter.', 'description' => 'The remediation parameter does not match the rule parameter.'], ], 403 => [ - [ - 'errorCode' => 'NoPermissionCreateRemediationSLR', - 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.', - 'description' => '', - ], + ['errorCode' => 'NoPermissionCreateRemediationSLR', 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.', 'description' => 'You have no permission to create the service-linked role: AliyunServiceRoleForConfigRemediation.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\",\\n \\"Data\\": true\\n}","errorExample":""},{"type":"xml","example":"<StartRemediationResponse>\\n <RequestId>C7817373-78CB-4F9A-8AFA-E7A88E9D64A2</RequestId>\\n <Data>true</Data>\\n</StartRemediationResponse>","errorExample":""}]', 'title' => 'StartRemediation', - 'summary' => 'Performs a remediation operation based on a rule.', - 'description' => 'This topic provides an example on how to perform a remediation operation by using the rule whose ID is `cr-8a973ac2e2be00a2****`. The returned result shows that the manual execution is successful.'."\n", - 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n", + 'summary' => 'Manually execute the specified rule remediation.', + 'description' => 'This topic provides an example of a manual remediation for rule `cr-8a973ac2e2be00a2****`. The returned result indicates a successful manual remediation.', + 'requestParamsDescription' => 'For more information about common request parameters, see [Common Parameters](~~251751~~).', 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartRemediation'], + ], + ], 'ramActions' => [ [ 'operationType' => 'none', @@ -32358,25 +18767,16 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\",\\n \\"Data\\": true\\n}","type":"json"}]', ], 'StopConfigurationRecorder' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -32388,9 +18788,7 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigI0TIO6', - ], + 'abilityTreeNodes' => ['FEATUREconfigI0TIO6'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], @@ -32399,40 +18797,20 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'AB2E892E-8A43-5B0F-8FE3-B53ADA53CB2D', - ], - 'StopConfigurationRecorderResult' => [ - 'description' => 'Indicates whether the request was successful. Valid values:'."\n" - ."\n" - .'* true: The request was successful.'."\n" - .'* false: The request failed.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'AB2E892E-8A43-5B0F-8FE3-B53ADA53CB2D'], + 'StopConfigurationRecorderResult' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'* true: The request was successful.'."\n" + .'* false: The request failed.'."\n", 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'AdminStopSLRFail', - 'errorMessage' => 'The administrator account is prohibited from closing the service without completely removing the aggregators.', - 'description' => '', - ], - [ - 'errorCode' => 'MemberStopSLRFail', - 'errorMessage' => 'The member exists in the aggregator, and it is forbidden to close the service.', - 'description' => '', - ], - [ - 'errorCode' => 'StopSLRFail', - 'errorMessage' => 'Stop config service fail.', - 'description' => '', - ], + ['errorCode' => 'AdminStopSLRFail', 'errorMessage' => 'The administrator account is prohibited from closing the service without completely removing the aggregators.', 'description' => ''], + ['errorCode' => 'MemberStopSLRFail', 'errorMessage' => 'The member exists in the aggregator, and it is forbidden to close the service.', 'description' => ''], + ['errorCode' => 'StopSLRFail', 'errorMessage' => 'Stop config service fail.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AB2E892E-8A43-5B0F-8FE3-B53ADA53CB2D\\",\\n \\"StopConfigurationRecorderResult\\": true\\n}","errorExample":""},{"type":"xml","example":"<StopConfigurationRecorderResponse>\\n <RequestId>AB2E892E-8A43-5B0F-8FE3-B53ADA53CB2D</RequestId>\\n <StopConfigurationRecorderResult>true</StopConfigurationRecorderResult>\\n</StopConfigurationRecorderResponse>","errorExample":""}]', @@ -32449,12 +18827,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -32462,13 +18835,8 @@ ], 'TagResources' => [ 'summary' => 'Attaches tags to CloudConfig rules, account groups, and compliance packages.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -32479,42 +18847,28 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig6XGW41', - ], + 'abilityTreeNodes' => ['FEATUREconfig6XGW41'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'formData', - 'schema' => [ - 'title' => '', - 'description' => 'The ID of the region.', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-shanghai', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the region.', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ResourceType', 'in' => 'formData', - 'schema' => [ - 'title' => '', - 'description' => 'The type of the resource in CloudConfig. Valid values:'."\n" - ."\n" - .'- `ACS::Config::Rule`: a rule for a single account.'."\n" - ."\n" - .'- `ACS::Config::AggregateConfigRule`: a rule for multiple accounts.'."\n" - ."\n" - .'- `ACS::Config::Aggregator`: an account group.'."\n" - ."\n" - .'- `ACS::Config::CompliancePack`: a compliance package for a single account.'."\n" - ."\n" - .'- `ACS::Config::AggregateCompliancePack`: a compliance package for multiple accounts.', - 'type' => 'string', - 'required' => true, - 'example' => 'ACS::Config::Rule', - ], + 'schema' => ['title' => '', 'description' => 'The type of the resource in CloudConfig. Valid values:'."\n" + ."\n" + .'- `ACS::Config::Rule`: a rule for a single account.'."\n" + ."\n" + .'- `ACS::Config::AggregateConfigRule`: a rule for multiple accounts.'."\n" + ."\n" + .'- `ACS::Config::Aggregator`: an account group.'."\n" + ."\n" + .'- `ACS::Config::CompliancePack`: a compliance package for a single account.'."\n" + ."\n" + .'- `ACS::Config::AggregateCompliancePack`: a compliance package for multiple accounts.', 'type' => 'string', 'required' => true, 'example' => 'ACS::Config::Rule'], ], [ 'name' => 'ResourceId', @@ -32524,15 +18878,9 @@ 'title' => '', 'description' => 'The resource ID.', 'type' => 'array', - 'items' => [ - 'description' => 'The resource ID.'."\n" - ."\n" - .'The value of N ranges from 1 to 50.', - 'type' => 'string', - 'required' => true, - 'title' => '', - 'example' => 'cr-115b626622af0060****', - ], + 'items' => ['description' => 'The resource ID.'."\n" + ."\n" + .'The value of N ranges from 1 to 50.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cr-115b626622af0060****'], 'required' => true, 'maxItems' => 51, 'example' => '', @@ -32554,24 +18902,12 @@ .'You can attach a maximum of 20 tags.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'title' => '', - 'description' => 'The tag key of the resource.'."\n" - ."\n" - .'You can attach a maximum of 20 tag keys.', - 'type' => 'string', - 'required' => false, - 'example' => 'Env', - ], - 'Value' => [ - 'title' => '', - 'description' => 'The tag value of the resource.'."\n" - ."\n" - .'You can attach a maximum of 20 tag values.', - 'type' => 'string', - 'required' => false, - 'example' => 'prod', - ], + 'Key' => ['title' => '', 'description' => 'The tag key of the resource.'."\n" + ."\n" + .'You can attach a maximum of 20 tag keys.', 'type' => 'string', 'required' => false, 'example' => 'Env'], + 'Value' => ['title' => '', 'description' => 'The tag value of the resource.'."\n" + ."\n" + .'You can attach a maximum of 20 tag values.', 'type' => 'string', 'required' => false, 'example' => 'prod'], ], 'required' => false, 'title' => '', @@ -32589,12 +18925,7 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'AB2E4317-06A6-5745-B7C3-E001E551B380', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'AB2E4317-06A6-5745-B7C3-E001E551B380'], ], 'title' => '', 'example' => '', @@ -32606,12 +18937,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'TagResources', - ], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'], ], ], 'ramActions' => [ @@ -32622,12 +18948,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -32636,12 +18957,8 @@ ], 'TriggerReportSend' => [ 'summary' => 'Sends a real-time test notification.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -32653,21 +18970,13 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'ReportTemplateId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The report template ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'crt-xxx', - 'title' => '', - ], + 'schema' => ['description' => 'The report template ID.', 'type' => 'string', 'required' => true, 'example' => 'crt-xxx', 'title' => ''], ], ], 'responses' => [ @@ -32676,12 +18985,7 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'DE9FFFE5-FCAD-4B24-9546-BF49273C562B', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DE9FFFE5-FCAD-4B24-9546-BF49273C562B', 'title' => ''], ], 'title' => '', 'example' => '', @@ -32690,11 +18994,7 @@ ], 'errorCodes' => [ 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'title' => 'Latest report on completed real-time Testing Notifications by template ID', @@ -32707,13 +19007,8 @@ ], 'UntagResources' => [ 'summary' => 'Detaches tags from resources in Cloud Config.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -32724,42 +19019,28 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigWLDOIT', - ], + 'abilityTreeNodes' => ['FEATUREconfigWLDOIT'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'formData', - 'schema' => [ - 'title' => '', - 'description' => 'The ID of the region.', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-shanghai', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the region.', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ 'name' => 'ResourceType', 'in' => 'formData', - 'schema' => [ - 'title' => '', - 'description' => 'The type of the CloudConfig resource. Valid values:'."\n" - ."\n" - .'- `ACS::Config::Rule`: a rule for a single account.'."\n" - ."\n" - .'- `ACS::Config::AggregateConfigRule`: a rule for multiple accounts.'."\n" - ."\n" - .'- `ACS::Config::Aggregator`: an account group.'."\n" - ."\n" - .'- `ACS::Config::CompliancePack`: a compliance package for a single account.'."\n" - ."\n" - .'- `ACS::Config::AggregateCompliancePack`: a compliance package for multiple accounts.', - 'type' => 'string', - 'required' => true, - 'example' => 'ACS::Config::Rule', - ], + 'schema' => ['title' => '', 'description' => 'The type of the CloudConfig resource. Valid values:'."\n" + ."\n" + .'- `ACS::Config::Rule`: a rule for a single account.'."\n" + ."\n" + .'- `ACS::Config::AggregateConfigRule`: a rule for multiple accounts.'."\n" + ."\n" + .'- `ACS::Config::Aggregator`: an account group.'."\n" + ."\n" + .'- `ACS::Config::CompliancePack`: a compliance package for a single account.'."\n" + ."\n" + .'- `ACS::Config::AggregateCompliancePack`: a compliance package for multiple accounts.', 'type' => 'string', 'required' => true, 'example' => 'ACS::Config::Rule'], ], [ 'name' => 'ResourceId', @@ -32771,13 +19052,7 @@ ."\n" .'You can detach tags from up to 50 resources at a time.', 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the resource.', - 'type' => 'string', - 'required' => true, - 'title' => '', - 'example' => 'cr-115b626622af0060****', - ], + 'items' => ['description' => 'The ID of the resource.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cr-115b626622af0060****'], 'required' => true, 'maxItems' => 51, 'example' => '', @@ -32790,13 +19065,7 @@ 'schema' => [ 'description' => 'The tag keys of the tags to detach.', 'type' => 'array', - 'items' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'Env', - ], + 'items' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Env'], 'required' => false, 'maxItems' => 21, 'minItems' => 0, @@ -32807,17 +19076,11 @@ [ 'name' => 'All', 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to detach all tags from the resources. Valid values:'."\n" - ."\n" - .'- true: Detach all tags from the resources.'."\n" - ."\n" - .'- false (default): Detach the specified tags.', - 'type' => 'boolean', - 'required' => false, - 'title' => '', - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to detach all tags from the resources. Valid values:'."\n" + ."\n" + .'- true: Detach all tags from the resources.'."\n" + ."\n" + .'- false (default): Detach the specified tags.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], ], 'responses' => [ @@ -32825,12 +19088,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'title' => '', - 'example' => 'AB2E4317-06A6-5745-B7C3-E001E551B380', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'AB2E4317-06A6-5745-B7C3-E001E551B380'], ], 'description' => '', 'title' => '', @@ -32843,12 +19101,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'UntagResources', - ], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'], ], ], 'ramActions' => [ @@ -32859,12 +19112,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -32873,13 +19121,8 @@ ], 'UpdateAggregateCompliancePack' => [ 'summary' => 'Updates a compliance pack in a specified account group.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -32891,36 +19134,20 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigX57QP8', - ], + 'abilityTreeNodes' => ['FEATUREconfigX57QP8'], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the compliance pack.'."\n" - ."\n" - .'For more information, see [ListAggregateCompliancePacks](~~262059~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'cp-fdc8626622af00f9****', - ], + 'schema' => ['description' => 'The ID of the compliance pack.'."\n" + ."\n" + .'For more information, see [ListAggregateCompliancePacks](~~262059~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-fdc8626622af00f9****', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'formData', - 'schema' => [ - 'description' => 'The description of the compliance pack.', - 'type' => 'string', - 'required' => false, - 'maxLength' => 500, - 'title' => '', - 'example' => '基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。', - ], + 'schema' => ['description' => 'The description of the compliance pack.', 'type' => 'string', 'maxLength' => 500, 'required' => false, 'example' => '基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。', 'title' => ''], ], [ 'name' => 'RiskLevel', @@ -32935,18 +19162,14 @@ .'- 3: low risk.', 'type' => 'integer', 'format' => 'int32', - 'required' => false, 'maximum' => '3', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, - 'enum' => [ - '1', - '2', - '3', - ], - 'title' => '', + 'enum' => ['1', '2', '3'], + 'required' => false, 'example' => '1', + 'title' => '', ], ], [ @@ -32962,15 +19185,9 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'ManagedRuleIdentifier' => [ - 'description' => 'The identifier of the rule template. CloudConfig automatically creates a rule based on the rule template identifier and adds the rule to the compliance pack.'."\n" - ."\n" - .'You must specify either `ManagedRuleIdentifier` or `ConfigRuleId`. If you specify both parameters, `ConfigRuleId` takes precedence. For more information, see [ListCompliancePackTemplates](~~261176~~).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'eip-bandwidth-limit', - ], + 'ManagedRuleIdentifier' => ['description' => 'The identifier of the rule template. CloudConfig automatically creates a rule based on the rule template identifier and adds the rule to the compliance pack.'."\n" + ."\n" + .'You must specify either `ManagedRuleIdentifier` or `ConfigRuleId`. If you specify both parameters, `ConfigRuleId` takes precedence. For more information, see [ListCompliancePackTemplates](~~261176~~).', 'type' => 'string', 'required' => false, 'example' => 'eip-bandwidth-limit', 'title' => ''], 'ConfigRuleParameters' => [ 'description' => 'The parameters of the rule.', 'type' => 'array', @@ -32978,24 +19195,12 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'ParameterName' => [ - 'description' => 'The name of the rule parameter.'."\n" - ."\n" - .'You must specify `ParameterName` and `ParameterValue` together, or leave both empty. If a rule template has a parameter without a default value, you must specify the parameter. For more information, see [ListCompliancePackTemplates](~~261176~~).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'bandwidth', - ], - 'ParameterValue' => [ - 'description' => 'The value of the rule parameter.'."\n" - ."\n" - .'You must specify `ParameterName` and `ParameterValue` together, or leave both empty. If a rule template has a parameter without a default value, you must specify the parameter. For more information, see [ListCompliancePackTemplates](~~261176~~).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '20', - ], + 'ParameterName' => ['description' => 'The name of the rule parameter.'."\n" + ."\n" + .'You must specify `ParameterName` and `ParameterValue` together, or leave both empty. If a rule template has a parameter without a default value, you must specify the parameter. For more information, see [ListCompliancePackTemplates](~~261176~~).', 'type' => 'string', 'required' => false, 'example' => 'bandwidth', 'title' => ''], + 'ParameterValue' => ['description' => 'The value of the rule parameter.'."\n" + ."\n" + .'You must specify `ParameterName` and `ParameterValue` together, or leave both empty. If a rule template has a parameter without a default value, you must specify the parameter. For more information, see [ListCompliancePackTemplates](~~261176~~).', 'type' => 'string', 'required' => false, 'example' => '20', 'title' => ''], ], 'required' => false, 'title' => '', @@ -33005,43 +19210,18 @@ 'title' => '', 'example' => '', ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID. CloudConfig adds the existing rule to the compliance pack.'."\n" - ."\n" - .'You must specify either `ManagedRuleIdentifier` or `ConfigRuleId`. If you specify both parameters, `ConfigRuleId` takes precedence. For more information, see [ListAggregateConfigRules](~~264148~~).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'cr-e918626622af000f****', - ], - 'ConfigRuleName' => [ - 'description' => 'The name of the rule.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '检测闲置弹性公网IP', - ], - 'Description' => [ - 'description' => 'The description of the rule.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '弹性公网已绑定到ECS或者NAT实例,非闲置状态,视为“合规”。', - ], - 'RiskLevel' => [ - 'description' => 'The risk level of the rule. Valid values:'."\n" - ."\n" - .'- 1: high risk.'."\n" - ."\n" - .'- 2: medium risk.'."\n" - ."\n" - .'- 3: low risk.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'title' => '', - 'example' => '1', - ], + 'ConfigRuleId' => ['description' => 'The rule ID. CloudConfig adds the existing rule to the compliance pack.'."\n" + ."\n" + .'You must specify either `ManagedRuleIdentifier` or `ConfigRuleId`. If you specify both parameters, `ConfigRuleId` takes precedence. For more information, see [ListAggregateConfigRules](~~264148~~).', 'type' => 'string', 'required' => false, 'example' => 'cr-e918626622af000f****', 'title' => ''], + 'ConfigRuleName' => ['description' => 'The name of the rule.', 'type' => 'string', 'required' => false, 'example' => '检测闲置弹性公网IP', 'title' => ''], + 'Description' => ['description' => 'The description of the rule.', 'type' => 'string', 'required' => false, 'example' => '弹性公网已绑定到ECS或者NAT实例,非闲置状态,视为“合规”。', 'title' => ''], + 'RiskLevel' => ['description' => 'The risk level of the rule. Valid values:'."\n" + ."\n" + .'- 1: high risk.'."\n" + ."\n" + .'- 2: medium risk.'."\n" + ."\n" + .'- 3: low risk.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], 'required' => false, 'title' => '', @@ -33055,130 +19235,63 @@ [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'A client token. It is used to ensure the idempotence of the request. Generate a value that is unique among different requests. The `ClientToken` parameter can contain only ASCII characters and cannot exceed 64 characters in length.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', - ], + 'schema' => ['description' => 'A client token. It is used to ensure the idempotence of the request. Generate a value that is unique among different requests. The `ClientToken` parameter can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', 'title' => ''], ], [ 'name' => 'AggregatorId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'ca-f632626622af0079****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-f632626622af0079****', 'title' => ''], ], [ 'name' => 'CompliancePackName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the compliance pack.'."\n" - ."\n" - .'For more information, see [ListAggregateCompliancePacks](~~262059~~).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '等保三级预检合规包', - ], + 'schema' => ['description' => 'The name of the compliance pack.'."\n" + ."\n" + .'For more information, see [ListAggregateCompliancePacks](~~262059~~).', 'type' => 'string', 'required' => false, 'example' => '等保三级预检合规包', 'title' => ''], ], [ 'name' => 'RegionIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack is effective only for resources in the specified regions. Separate multiple region IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The compliance pack is effective only for resources in the specified regions. Separate multiple region IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ExcludeRegionIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rules are not effective for resources in the specified regions. Resources in these regions are not evaluated. Separate multiple region IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => 'The rules are not effective for resources in the specified regions. Resources in these regions are not evaluated. Separate multiple region IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ExcludeResourceIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack is not effective for the specified resources. The specified resources are not evaluated. Separate multiple resource IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'eip-8vbf3x310fn56ijfd****', - ], + 'schema' => ['description' => 'The compliance pack is not effective for the specified resources. The specified resources are not evaluated. Separate multiple resource IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'eip-8vbf3x310fn56ijfd****', 'title' => ''], ], [ 'name' => 'ResourceIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rules are effective only for the specified resources. Separate multiple resource IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'lb-5cmbowstbkss9ta03****', - ], + 'schema' => ['description' => 'The rules are effective only for the specified resources. Separate multiple resource IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'lb-5cmbowstbkss9ta03****', 'title' => ''], ], [ 'name' => 'ResourceGroupIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack is effective only for resources in the specified resource groups. Separate multiple resource group IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'rg-aekzc7r7rhx****', - ], + 'schema' => ['description' => 'The compliance pack is effective only for resources in the specified resource groups. Separate multiple resource group IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzc7r7rhx****', 'title' => ''], ], [ 'name' => 'ExcludeResourceGroupIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rules are not effective for resources in the specified resource groups. Resources in these resource groups are not evaluated. Separate multiple resource group IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'rg-bnczc6r7rml****', - ], + 'schema' => ['description' => 'The rules are not effective for resources in the specified resource groups. Resources in these resource groups are not evaluated. Separate multiple resource group IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'rg-bnczc6r7rml****', 'title' => ''], ], [ 'name' => 'TagKeyScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack is effective only for resources that have the specified tag key.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'ECS', - ], + 'schema' => ['description' => 'The compliance pack is effective only for resources that have the specified tag key.', 'type' => 'string', 'required' => false, 'example' => 'ECS', 'title' => ''], ], [ 'name' => 'TagValueScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack is effective only for resources that have the specified tag key and tag value.'."\n" - ."\n" - .'> You must specify TagValueScope together with TagKeyScope.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'test', - ], + 'schema' => ['description' => 'The compliance pack is effective only for resources that have the specified tag key and tag value.'."\n" + ."\n" + .'> You must specify TagValueScope together with TagKeyScope.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'TagsScope', @@ -33190,20 +19303,8 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'key-1', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'value-1', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'key-1', 'title' => ''], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value-1', 'title' => ''], ], 'required' => false, 'description' => 'TagsScope', @@ -33226,20 +19327,8 @@ 'description' => 'The excluded tag scope.', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'key-2', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'value-2', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'key-2', 'title' => ''], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value-2', 'title' => ''], ], 'required' => false, 'title' => '', @@ -33265,24 +19354,12 @@ .'You can add up to 20 tags.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key of the resource.'."\n" - ."\n" - .'You can add up to 20 tag keys.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'key-1', - ], - 'Value' => [ - 'description' => 'The tag value of the resource.'."\n" - ."\n" - .'You can add up to 20 tag values.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'value-1', - ], + 'Key' => ['description' => 'The tag key of the resource.'."\n" + ."\n" + .'You can add up to 20 tag keys.', 'type' => 'string', 'required' => false, 'example' => 'key-1', 'title' => ''], + 'Value' => ['description' => 'The tag value of the resource.'."\n" + ."\n" + .'You can add up to 20 tag values.', 'type' => 'string', 'required' => false, 'example' => 'value-1', 'title' => ''], ], 'required' => false, 'title' => '', @@ -33302,18 +19379,8 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance pack.', - 'type' => 'string', - 'title' => '', - 'example' => 'ca-f632626622af0079****', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], + 'CompliancePackId' => ['description' => 'The ID of the compliance pack.', 'type' => 'string', 'example' => 'ca-f632626622af0079****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', 'title' => ''], ], 'title' => '', 'example' => '', @@ -33322,85 +19389,33 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], - [ - 'errorCode' => 'Invalid.CompliancePackId.Value', - 'errorMessage' => 'The specified CompliancePackId does not exist.', - 'description' => 'The specified compliance pack ID does not exist.', - ], - [ - 'errorCode' => 'CompliancePackExceedMaxCount', - 'errorMessage' => 'The maximum number of compliance pack is exceeded.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.ConfigRules.Empty', - 'errorMessage' => 'You must specify ConfigRules.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.ConfigRules.Value', - 'errorMessage' => 'The specified ConfigRules is invalid.', - 'description' => 'The specified ConfigRules is invalid.', - ], - [ - 'errorCode' => 'ConfigRuleExceedMaxRuleCount', - 'errorMessage' => 'The maximum number of config rules is exceeded.', - 'description' => '', - ], - [ - 'errorCode' => 'CompliancePackAlreadyPending', - 'errorMessage' => 'The compliance pack has a pending operation and cannot be updated.', - 'description' => 'The compliance pack has a pending operation and cannot be updated.', - ], - [ - 'errorCode' => 'CompliancePackExists', - 'errorMessage' => 'The compliance pack already exists.', - 'description' => 'The compliance pack name already exists.', - ], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], + ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => 'The specified compliance pack ID does not exist.'], + ['errorCode' => 'CompliancePackExceedMaxCount', 'errorMessage' => 'The maximum number of compliance pack is exceeded.', 'description' => ''], + ['errorCode' => 'Invalid.ConfigRules.Empty', 'errorMessage' => 'You must specify ConfigRules.', 'description' => ''], + ['errorCode' => 'Invalid.ConfigRules.Value', 'errorMessage' => 'The specified ConfigRules is invalid.', 'description' => 'The specified ConfigRules is invalid.'], + ['errorCode' => 'ConfigRuleExceedMaxRuleCount', 'errorMessage' => 'The maximum number of config rules is exceeded.', 'description' => ''], + ['errorCode' => 'CompliancePackAlreadyPending', 'errorMessage' => 'The compliance pack has a pending operation and cannot be updated.', 'description' => 'The compliance pack has a pending operation and cannot be updated.'], + ['errorCode' => 'CompliancePackExists', 'errorMessage' => 'The compliance pack already exists.', 'description' => 'The compliance pack name already exists.'], ], 403 => [ - [ - 'errorCode' => 'AggregatorMemberNoPermission', - 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', - 'description' => 'The aggregator member is not authorized to perform the operation.', - ], + ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => 'The aggregator member is not authorized to perform the operation.'], ], [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CompliancePackId\\": \\"ca-f632626622af0079****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'UpdateAggregateCompliancePack', 'description' => '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.', 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'UpdateAggregateCompliancePack', - ], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAggregateCompliancePack'], ], ], 'ramActions' => [ @@ -33411,26 +19426,16 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'], ], ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CompliancePackId\\": \\"ca-f632626622af0079****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","type":"json"}]', ], 'UpdateAggregateConfigDeliveryChannel' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -33442,209 +19447,133 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigRIQA8M', - ], + 'abilityTreeNodes' => ['FEATUREconfigRIQA8M'], ], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ca-a4e5626622af0079****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of the account group, see [ListAggregators](~~255797~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'ca-a4e5626622af0079****'], ], [ 'name' => 'DeliveryChannelId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the delivery channel.'."\n" - ."\n" - .'For more information about how to obtain the ID of a delivery channel, see [ListAggregateConfigDeliveryChannels](~~429842~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cdc-8e45ff4e06a3a8****', - ], + 'schema' => ['description' => 'The ID of the delivery channel.'."\n" + ."\n" + .'For more information about how to obtain the ID of a delivery channel, see [ListAggregateConfigDeliveryChannels](~~429842~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'cdc-8e45ff4e06a3a8****'], ], [ 'name' => 'DeliveryChannelName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the delivery channel.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'testoss', - ], + 'schema' => ['description' => 'The name of the delivery channel.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'testoss'], ], [ 'name' => 'DeliveryChannelTargetArn', 'in' => 'query', - 'schema' => [ - 'description' => 'The ARN of the delivery destination. Valid values:'."\n" - ."\n" - .'* `acs:oss:{RegionId}:{accountId}:{bucketName}` if your delivery destination is an OSS bucket. Example: `acs:oss:cn-shanghai:100931896542****:new-bucket`.'."\n" - .'* `acs:mns:{RegionId}:{accountId}:/topics/{topicName}` if your delivery destination is an MNS topic. Example: `acs:mns:cn-shanghai:100931896542****:/topics/topic1`.'."\n" - .'* `acs:log:{RegionId}:{accountId}:project/{projectName}/logstore/{logstoreName}` if your delivery destination is a Log Service Logstore. Example: `acs:log:cn-shanghai:100931896542****:project/project1/logstore/logstore1`.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket', - ], + 'schema' => ['description' => 'The ARN of the delivery destination. Valid values:'."\n" + ."\n" + .'* `acs:oss:{RegionId}:{accountId}:{bucketName}` if your delivery destination is an OSS bucket. Example: `acs:oss:cn-shanghai:100931896542****:new-bucket`.'."\n" + .'* `acs:mns:{RegionId}:{accountId}:/topics/{topicName}` if your delivery destination is an MNS topic. Example: `acs:mns:cn-shanghai:100931896542****:/topics/topic1`.'."\n" + .'* `acs:log:{RegionId}:{accountId}:project/{projectName}/logstore/{logstoreName}` if your delivery destination is a Log Service Logstore. Example: `acs:log:cn-shanghai:100931896542****:project/project1/logstore/logstore1`.'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket'], ], [ 'name' => 'DeliveryChannelCondition', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule that is attached to the delivery channel. This parameter is available when you deliver data of all types to MNS or deliver snapshots to Log Service.'."\n" - ."\n" - .'* If the value of the DeliveryChannelType parameter is MNS, take note of the following settings of the lowest risk level and resource types of the events to which you subscribed:'."\n" - ."\n" - .' * The lowest risk level of the events to which you want to subscribe is in the following format: `{"filterType":"RuleRiskLevel","value":"1","multiple":false}`.'."\n" - ."\n" - .' The `value` field indicates the lowest risk level of the events to which you subscribed. Valid values: 1, 2, and 3, where 1 indicates the high risk level, 2 indicates the medium risk level, and 3 indicates the low risk level.'."\n" - ."\n" - .' * The setting of the resource types of the events to which you want to subscribe is in the following format: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" - ."\n" - .' The `values` field indicates the resource types of the events to which you subscribed. The value of the field is a JSON array. Examples:'."\n" - ."\n" - .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n" - ."\n" - .'* If you set the DeliveryChannelType parameter to SLS, the setting of the resource types of the snapshots to which you want to deliver is in the following format: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" - ."\n" - .' The `values` field specifies the resource types of the snapshots to which you want to deliver. The value of the field is a JSON array. Examples:'."\n" - ."\n" - .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]', - ], + 'schema' => ['description' => 'The rule that is attached to the delivery channel. This parameter is available when you deliver data of all types to MNS or deliver snapshots to Log Service.'."\n" + ."\n" + .'* If the value of the DeliveryChannelType parameter is MNS, take note of the following settings of the lowest risk level and resource types of the events to which you subscribed:'."\n" + ."\n" + .' * The lowest risk level of the events to which you want to subscribe is in the following format: `{"filterType":"RuleRiskLevel","value":"1","multiple":false}`.'."\n" + ."\n" + .' The `value` field indicates the lowest risk level of the events to which you subscribed. Valid values: 1, 2, and 3, where 1 indicates the high risk level, 2 indicates the medium risk level, and 3 indicates the low risk level.'."\n" + ."\n" + .' * The setting of the resource types of the events to which you want to subscribe is in the following format: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" + ."\n" + .' The `values` field indicates the resource types of the events to which you subscribed. The value of the field is a JSON array. Examples:'."\n" + ."\n" + .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n" + ."\n" + .'* If you set the DeliveryChannelType parameter to SLS, the setting of the resource types of the snapshots to which you want to deliver is in the following format: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" + ."\n" + .' The `values` field specifies the resource types of the snapshots to which you want to deliver. The value of the field is a JSON array. Examples:'."\n" + ."\n" + .'`[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n", 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]'], ], [ 'name' => 'OversizedDataOSSTargetArn', 'in' => 'query', - 'schema' => [ - 'description' => 'The ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the specified upper limit of the delivery channel. Format: `acs:oss:{RegionId}:{accountId}:{bucketName}`.'."\n" - ."\n" - .'If you do not configure this parameter, Cloud Config delivers only summary data.'."\n" - ."\n" - .'> This parameter is available only for delivery channels of the SLS or MNS type. The upper limit on the storage size of delivery channels of the SLS type is 1 MB, and the upper limit on the storage size of delivery channels of the MNS type is 64 KB.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket', - ], + 'schema' => ['description' => 'The ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the specified upper limit of the delivery channel. Format: `acs:oss:{RegionId}:{accountId}:{bucketName}`.'."\n" + ."\n" + .'If you do not configure this parameter, Cloud Config delivers only summary data.'."\n" + ."\n" + .'> This parameter is available only for delivery channels of the SLS or MNS type. The upper limit on the storage size of delivery channels of the SLS type is 1 MB, and the upper limit on the storage size of delivery channels of the MNS type is 64 KB.'."\n", 'type' => 'string', 'required' => false, 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket'], ], [ 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the delivery channel.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'My OSS delivery.', - ], + 'schema' => ['description' => 'The description of the delivery channel.'."\n", 'type' => 'string', 'required' => false, 'example' => 'My OSS delivery.'], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests.'."\n" - ."\n" - .'The `token` can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [Ensure idempotence](~~25693~~)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests.'."\n" + ."\n" + .'The `token` can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [Ensure idempotence](~~25693~~)'."\n", 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'], ], [ 'name' => 'ConfigurationSnapshot', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to deliver scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots at `04:00Z` and `16:00Z` to OSS, MNS, or Log Service every day. The time is displayed in UTC. Valid values:'."\n" - ."\n" - .'* true: Cloud Config delivers scheduled resource snapshots.'."\n" - .'* false (default): Cloud Config does not deliver scheduled resource snapshots.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to deliver scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots at `04:00Z` and `16:00Z` to OSS, MNS, or Log Service every day. The time is displayed in UTC. Valid values:'."\n" + ."\n" + .'* true: Cloud Config delivers scheduled resource snapshots.'."\n" + .'* false (default): Cloud Config does not deliver scheduled resource snapshots.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'CompliantSnapshot', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to deliver scheduled compliant snapshots. Cloud Config delivers scheduled compliant snapshots at `04:00Z` and `16:00Z` to Log Service every day. The time is displayed in UTC. Valid values:'."\n" - ."\n" - .'* true: Cloud Config delivers scheduled compliant snapshots.'."\n" - .'* false (default): Cloud Config does not deliver scheduled compliant snapshots.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to deliver scheduled compliant snapshots. Cloud Config delivers scheduled compliant snapshots at `04:00Z` and `16:00Z` to Log Service every day. The time is displayed in UTC. Valid values:'."\n" + ."\n" + .'* true: Cloud Config delivers scheduled compliant snapshots.'."\n" + .'* false (default): Cloud Config does not deliver scheduled compliant snapshots.', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'ConfigurationItemChangeNotification', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to deliver resource change logs. If you set this parameter to true, Cloud Config delivers resource change logs to OSS, Log Service, or MNS when the configurations of the resources change. Valid values:'."\n" - ."\n" - .'* true: Cloud Config delivers resource change logs.'."\n" - .'* false (default): Cloud Config does not deliver resource change logs.'."\n" - ."\n" - .'> This parameter is available for delivery channels of the OSS, SLS, and MNS types.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to deliver resource change logs. If you set this parameter to true, Cloud Config delivers resource change logs to OSS, Log Service, or MNS when the configurations of the resources change. Valid values:'."\n" + ."\n" + .'* true: Cloud Config delivers resource change logs.'."\n" + .'* false (default): Cloud Config does not deliver resource change logs.'."\n" + ."\n" + .'> This parameter is available for delivery channels of the OSS, SLS, and MNS types.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'NonCompliantNotification', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to deliver resource non-compliance events. If you set this parameter to true, Cloud Config delivers resource non-compliance events to Log Service or MNS when resources are considered non-compliant. Valid values:'."\n" - ."\n" - .'* true: Cloud Config delivers resource non-compliance events.'."\n" - .'* false (default): Cloud Config does not deliver resource non-compliance events.'."\n" - ."\n" - .'> This parameter is available only for delivery channels of the SLS or MNS type.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to deliver resource non-compliance events. If you set this parameter to true, Cloud Config delivers resource non-compliance events to Log Service or MNS when resources are considered non-compliant. Valid values:'."\n" + ."\n" + .'* true: Cloud Config delivers resource non-compliance events.'."\n" + .'* false (default): Cloud Config does not deliver resource non-compliance events.'."\n" + ."\n" + .'> This parameter is available only for delivery channels of the SLS or MNS type.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the delivery channel. Valid values:'."\n" - ."\n" - .'* 0: The delivery channel is disabled. Cloud Config retains the most recent delivery configuration and stops resource data delivery.'."\n" - .'* 1 (default): The delivery channel is enabled.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'Specifies whether to enable the delivery channel. Valid values:'."\n" + ."\n" + .'* 0: The delivery channel is disabled. Cloud Config retains the most recent delivery configuration and stops resource data delivery.'."\n" + .'* 1 (default): The delivery channel is enabled.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'], ], [ 'name' => 'DeliverySnapshotTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when Cloud Config delivers scheduled resources snapshots every day.'."\n" - ."\n" - .'Format: `HH:mmZ`. This time is displayed in UTC.'."\n" - ."\n" - .'> When you enable the scheduled resource delivery feature, you can specify a custom delivery time for this parameter. If you do not configure this parameter, Cloud Config automatically delivers scheduled resource snapshots at `04:00Z` and `16:00Z` every day.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '09:10Z', - ], + 'schema' => ['description' => 'The time when Cloud Config delivers scheduled resources snapshots every day.'."\n" + ."\n" + .'Format: `HH:mmZ`. This time is displayed in UTC.'."\n" + ."\n" + .'> When you enable the scheduled resource delivery feature, you can specify a custom delivery time for this parameter. If you do not configure this parameter, Cloud Config automatically delivers scheduled resource snapshots at `04:00Z` and `16:00Z` every day.'."\n", 'type' => 'string', 'required' => false, 'example' => '09:10Z'], ], ], 'responses' => [ @@ -33653,74 +19582,26 @@ 'description' => 'N/A.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG', - ], - 'DeliveryChannelId' => [ - 'description' => 'The ID of the delivery channel.'."\n", - 'type' => 'string', - 'example' => 'cdc-8e45ff4e06a3a8****', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG'], + 'DeliveryChannelId' => ['description' => 'The ID of the delivery channel.'."\n", 'type' => 'string', 'example' => 'cdc-8e45ff4e06a3a8****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'DeliveryChannelNotExists', - 'errorMessage' => 'The delivery channel does not exist.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', - 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.DeliveryChannelTargetArn.Format', - 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.DeliveryChannelCondition.Format', - 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.', - 'description' => '', - ], - [ - 'errorCode' => 'MemberNotBelongToMaster', - 'errorMessage' => 'The specified member does not belong to your organization.', - 'description' => '', - ], - [ - 'errorCode' => 'DeliveryChannelAccountNotSupport', - 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.', - 'description' => '', - ], - [ - 'errorCode' => 'DeliveryChannelMnsUnreachable', - 'errorMessage' => 'The MNS topic is unreachable.', - 'description' => '', - ], - [ - 'errorCode' => 'DeliveryChannelOssUnreachable', - 'errorMessage' => 'The OSS bucket is unreachable.', - 'description' => '', - ], - [ - 'errorCode' => 'DeliveryChannelSlsUnreachable', - 'errorMessage' => 'SLS logstore is unreachable.', - 'description' => '', - ], + ['errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => ''], + ['errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', 'description' => ''], + ['errorCode' => 'Invalid.DeliveryChannelTargetArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.', 'description' => ''], + ['errorCode' => 'Invalid.DeliveryChannelCondition.Format', 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.', 'description' => ''], + ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''], + ['errorCode' => 'DeliveryChannelAccountNotSupport', 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.', 'description' => ''], + ['errorCode' => 'DeliveryChannelMnsUnreachable', 'errorMessage' => 'The MNS topic is unreachable.', 'description' => ''], + ['errorCode' => 'DeliveryChannelOssUnreachable', 'errorMessage' => 'The OSS bucket is unreachable.', 'description' => ''], + ['errorCode' => 'DeliveryChannelSlsUnreachable', 'errorMessage' => 'SLS logstore is unreachable.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG\\",\\n \\"DeliveryChannelId\\": \\"cdc-8e45ff4e06a3a8****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateAggregateConfigDeliveryChannelResponse>\\n <RequestId>A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG</RequestId>\\n <DeliveryChannelId>cdc-8e45ff4e06a3a8****</DeliveryChannelId>\\n</UpdateAggregateConfigDeliveryChannelResponse>","errorExample":""}]', @@ -33737,25 +19618,16 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateDelivery', - 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}'], ], ], ], ], ], 'UpdateAggregateConfigRule' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Modifies the description, input parameters, and risk level of a rule in a specified account group.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -33767,9 +19639,7 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigQMX28I', - ], + 'abilityTreeNodes' => ['FEATUREconfigQMX28I'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -33777,45 +19647,26 @@ [ 'name' => 'ConfigRuleId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule ID.'."\n" - ."\n" - .'For more information, see [ListAggregateConfigRules](~~264148~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cr-4e3d626622af0080****', - 'title' => '', - ], + 'schema' => ['description' => 'The rule ID.'."\n" + ."\n" + .'For more information, see [ListAggregateConfigRules]().', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-4e3d626622af0080****', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'formData', - 'schema' => [ - 'description' => 'The description of the rule.', - 'type' => 'string', - 'required' => false, - 'example' => '最多可以定义6组标签。如果资源同时具有指定的所有标签,则视为“合规”。', - 'title' => '', - ], + 'schema' => ['description' => 'The description of the rule.', 'type' => 'string', 'required' => false, 'example' => '最多可以定义6组标签。如果资源同时具有指定的所有标签,则视为“合规”。', 'title' => ''], ], [ 'name' => 'InputParameters', 'in' => 'formData', 'style' => 'json', - 'schema' => [ - 'description' => 'The input parameters of the rule.', - 'type' => 'object', - 'required' => false, - 'example' => '{"tag1Key":"ECS","tag1Value":"test"}', - 'title' => '', - ], + 'schema' => ['description' => 'The rule parameters.', 'type' => 'object', 'required' => false, 'example' => '{"tag1Key":"ECS","tag1Value":"test"}', 'title' => ''], ], [ 'name' => 'MaximumExecutionFrequency', 'in' => 'formData', 'schema' => [ - 'description' => 'The frequency at which the rule is run. Valid values:'."\n" + 'description' => 'The frequency at which the rule runs. Valid values:'."\n" ."\n" .'- One\\_Hour: 1 hour.'."\n" ."\n" @@ -33829,13 +19680,7 @@ ."\n" .'> This parameter is required if you set `ConfigRuleTriggerTypes` to `ScheduledNotification`.', 'type' => 'string', - 'enum' => [ - 'One_Hour', - 'Three_Hours', - 'Six_Hours', - 'Twelve_Hours', - 'TwentyFour_Hours', - ], + 'enum' => ['One_Hour', 'Three_Hours', 'Six_Hours', 'Twelve_Hours', 'TwentyFour_Hours'], 'required' => false, 'example' => 'One_Hour', 'title' => '', @@ -33848,13 +19693,7 @@ 'schema' => [ 'description' => 'The resource types that the rule evaluates. Separate multiple resource types with a comma (,).', 'type' => 'array', - 'items' => [ - 'description' => 'The resource types that the rule evaluates. Separate multiple resource types with a comma (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'ACS::ECS::Instance', - 'title' => '', - ], + 'items' => ['description' => 'The type of the resource evaluated by the rule. Multiple resource types are separated with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', 'title' => ''], 'required' => false, 'example' => 'ACS::ECS::Instance', 'title' => '', @@ -33877,11 +19716,7 @@ 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, - 'enum' => [ - '1', - '2', - '3', - ], + 'enum' => ['1', '2', '3'], 'required' => false, 'example' => '3', 'title' => '', @@ -33890,148 +19725,79 @@ [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'A client token used to ensure the idempotence of the request. Make sure that the client token is unique for each request. The `ClientToken` can contain only ASCII characters and cannot exceed 64 characters in length.', - 'type' => 'string', - 'required' => false, - 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', - 'title' => '', - ], + 'schema' => ['description' => 'A client token used to ensure the idempotence of the request. Make sure that the client token is unique for each request. The `ClientToken` can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', 'title' => ''], ], [ 'name' => 'RegionIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule applies only to resources in the specified regions. Separate multiple region IDs with a comma (,).'."\n" - ."\n" - .'> This parameter applies only to rule templates.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'title' => '', - ], + 'schema' => ['description' => 'The rule applies only to resources in the specified region IDs. Separate multiple region IDs with a comma (,).'."\n" + ."\n" + .'> This parameter applies only to rule templates.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ExcludeRegionIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The regions to exclude. The rule does not apply to resources in these regions. Separate multiple region IDs with a comma (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - 'title' => '', - ], + 'schema' => ['description' => 'The regions to exclude. The rule does not apply to resources in these regions. Separate multiple region IDs with a comma (,).', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ExcludeResourceIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The resources to exclude. The rule does not apply to these resources. Separate multiple resource IDs with a comma (,).'."\n" - ."\n" - .'> This parameter applies only to rule templates.', - 'type' => 'string', - 'required' => false, - 'example' => 'lb-t4nbowvtbkss7t326****', - 'title' => '', - ], + 'schema' => ['description' => 'The resources to exclude. The rule does not apply to these resources. Separate multiple resource IDs with a comma (,).'."\n" + ."\n" + .'> This parameter applies only to rule templates.', 'type' => 'string', 'required' => false, 'example' => 'lb-t4nbowvtbkss7t326****', 'title' => ''], ], [ 'name' => 'ResourceIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule applies only to the specified resources. Separate multiple resource IDs with a comma (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'lb-5cmbowstbkss9ta03****', - 'title' => '', - ], + 'schema' => ['description' => 'The rule applies only to the specified resource IDs. Separate multiple resource IDs with a comma (,).', 'type' => 'string', 'required' => false, 'example' => 'lb-5cmbowstbkss9ta03****', 'title' => ''], ], [ 'name' => 'ConfigRuleTriggerTypes', 'in' => 'formData', - 'schema' => [ - 'description' => 'The trigger type of the rule. Valid values:'."\n" - ."\n" - .'- ConfigurationItemChangeNotification: The rule is triggered by configuration changes.'."\n" - ."\n" - .'- ScheduledNotification: The rule is triggered on a regular basis.'."\n" - ."\n" - .'> You can modify this parameter only for custom rules.', - 'type' => 'string', - 'required' => false, - 'example' => 'ConfigurationItemChangeNotification', - 'title' => '', - ], + 'schema' => ['description' => 'The trigger mechanism of the rule. Valid values:'."\n" + ."\n" + .'- ConfigurationItemChangeNotification: Configuration changes.'."\n" + ."\n" + .'- ScheduledNotification: Scheduled execution.'."\n" + ."\n" + .'> You can modify this parameter only for custom rules.', 'type' => 'string', 'required' => false, 'example' => 'ConfigurationItemChangeNotification', 'title' => ''], ], [ 'name' => 'AggregatorId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-a4e5626622af0079****', - 'title' => '', - ], + 'schema' => ['description' => 'The account group ID.'."\n" + ."\n" + .'For more information, see [ListAggregators]().', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-a4e5626622af0079****', 'title' => ''], ], [ 'name' => 'ResourceGroupIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule applies only to resources in the specified resource groups. Separate multiple resource group IDs with a comma (,).'."\n" - ."\n" - .'> This parameter applies only to rule templates.', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aekzc7r7rhx****', - 'title' => '', - ], + 'schema' => ['description' => 'The rule applies only to resources in the specified resource group IDs. Separate multiple resource group IDs with a comma (,).'."\n" + ."\n" + .'> This parameter applies only to rule templates.', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzc7r7rhx****', 'title' => ''], ], [ 'name' => 'ExcludeResourceGroupIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The resource groups to exclude. The rule does not apply to resources in these resource groups. Separate multiple resource group IDs with a comma (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-bnczc6r7rml****', - 'title' => '', - ], + 'schema' => ['description' => 'The resource groups to exclude. The rule does not apply to resources in these resource groups. Separate multiple resource group IDs with a comma (,).', 'type' => 'string', 'required' => false, 'example' => 'rg-bnczc6r7rml****', 'title' => ''], ], [ 'name' => 'TagKeyScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" - ."\n" - .'The rule applies only to resources that have the specified tag.'."\n" - ."\n" - .'> This parameter applies only to rule templates. You must specify both `TagKeyScope` and `TagValueScope`.', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => 'ECS', - 'title' => '', - ], + 'schema' => ['description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" + ."\n" + .'The rule applies only to resources with the specified tag.'."\n" + ."\n" + .'> This parameter applies only to rule templates. You must specify both `TagKeyScope` and `TagValueScope`.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'ECS', 'title' => ''], ], [ 'name' => 'TagValueScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" - ."\n" - .'The rule applies only to resources that have the specified tag.'."\n" - ."\n" - .'> This parameter applies only to rule templates. You must specify both `TagKeyScope` and `TagValueScope`.', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => 'test', - 'title' => '', - ], + 'schema' => ['description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" + ."\n" + .'The rule applies only to resources with the specified tag.'."\n" + ."\n" + .'> This parameter applies only to rule templates. You must specify both `TagKeyScope` and `TagValueScope`.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'TagsScope', @@ -34043,20 +19809,8 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'required' => false, - 'example' => 'key-1', - 'title' => '', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'required' => false, - 'example' => 'value-1', - 'title' => '', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'key-1', 'title' => ''], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value-1', 'title' => ''], ], 'required' => false, 'description' => '', @@ -34078,20 +19832,8 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'required' => false, - 'example' => 'key-2', - 'title' => '', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'required' => false, - 'example' => 'value-2', - 'title' => '', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'key-2', 'title' => ''], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value-2', 'title' => ''], ], 'required' => false, 'description' => '', @@ -34106,15 +19848,9 @@ [ 'name' => 'ConfigRuleName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the rule.'."\n" - ."\n" - .'For more information, see [ListAggregateConfigRules](~~264148~~).', - 'type' => 'string', - 'required' => false, - 'example' => '存在所有指定标签', - 'title' => '', - ], + 'schema' => ['description' => 'The rule name.'."\n" + ."\n" + .'For more information, see [ListAggregateConfigRules]().', 'type' => 'string', 'required' => false, 'example' => '存在所有指定标签', 'title' => ''], ], [ 'name' => 'TagKeyLogicScope', @@ -34122,23 +19858,17 @@ 'schema' => [ 'description' => 'The logical relationship for multiple tags in the `TagsScope` parameter. For example, if you set the `TagsScope` parameter to `"TagsScope.1.TagKey":"a","TagsScope.1.TagValue":"a","TagsScope.2.TagKey":"b","TagsScope.2.TagValue":"b"` and set this parameter to `AND`, the rule applies only to resources that have both the `a:a` and `b:b` tags. If you do not set this parameter, the default value is `OR`.'."\n" ."\n" - .'This parameter also works with the deprecated `TagKeyScope` parameter. For example, if you set the `TagKeyScope` parameter to `ECS,OSS` and set this parameter to `AND`, the rule applies only to resources that have both the `ECS` and `OSS` tags.'."\n" + .'This parameter also works with the deprecated `TagKeyScope` parameter (not recommended). For example, if you set the `TagKeyScope` parameter to `ECS,OSS` and set this parameter to `AND`, the rule applies only to resources that have both the `ECS` and `OSS` tags.'."\n" ."\n" .'Valid values:'."\n" ."\n" - .'- AND'."\n" + .'- AND: Logical AND.'."\n" ."\n" - .'- OR', - 'enumValueTitles' => [ - 'OR' => 'OR', - 'AND' => 'AND', - ], + .'- OR: Logical OR.', + 'enumValueTitles' => ['OR' => 'OR', 'AND' => 'AND'], 'type' => 'string', 'deprecated' => false, - 'enum' => [ - 'AND', - 'OR', - ], + 'enum' => ['AND', 'OR'], 'required' => false, 'example' => 'AND', 'title' => '', @@ -34147,76 +19877,53 @@ [ 'name' => 'FolderIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule applies only to resources of member accounts in the specified folders.'."\n" - ."\n" - .'> - This parameter applies only to rules in a global account group.'."\n" - .'>'."\n" - .'> - This parameter applies only to rule templates.', - 'type' => 'string', - 'required' => false, - 'example' => 'fd-ZtHsRH****', - 'title' => '', - ], + 'schema' => ['description' => 'The rule applies only to resources of member accounts in the specified resource directory IDs.'."\n" + ."\n" + .'> - This parameter applies only to rules in a global account group.'."\n" + .'>'."\n" + .'> - This parameter applies only to rule templates.', 'type' => 'string', 'required' => false, 'example' => 'fd-ZtHsRH****', 'title' => ''], ], [ 'name' => 'ExcludeFolderIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The folders to exclude. The rule does not apply to resources of member accounts in these folders. Separate multiple folder IDs with a comma (,).'."\n" - ."\n" - .'> - This parameter applies only to rules in a global account group.'."\n" - .'>'."\n" - .'> - This parameter applies only to rule templates.', - 'type' => 'string', - 'required' => false, - 'example' => 'fd-pWmkqZ****', - 'title' => '', - ], + 'schema' => ['description' => 'The folders to exclude. The rule does not apply to resources of member accounts in these folders. Separate multiple folder IDs with a comma (,).'."\n" + ."\n" + .'> - This parameter applies only to rules in a global account group.'."\n" + .'>'."\n" + .'> - This parameter applies only to rule templates.', 'type' => 'string', 'required' => false, 'example' => 'fd-pWmkqZ****', 'title' => ''], ], [ 'name' => 'ExcludeAccountIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The member accounts to exclude. The rule does not apply to resources of these member accounts. Separate multiple member account IDs with a comma (,).'."\n" - ."\n" - .'> This parameter applies only to rule templates.', - 'type' => 'string', - 'required' => false, - 'example' => '120886317861****', - 'title' => '', - ], + 'schema' => ['description' => 'The member accounts to exclude. The rule does not apply to resources of these member accounts. Separate multiple member account IDs with a comma (,).'."\n" + ."\n" + .'> This parameter applies only to rule templates.', 'type' => 'string', 'required' => false, 'example' => '120886317861****', 'title' => ''], ], [ 'name' => 'AccountIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule applies only to resources of the specified member accounts. Separate multiple member account IDs with a comma (,).'."\n" - ."\n" - .'> This parameter applies only to rule templates.', - 'type' => 'string', - 'required' => false, - 'example' => '115748125982****', - 'title' => '', - ], + 'schema' => ['description' => 'The rule applies only to resources of the specified member accounts. Separate multiple member account IDs with a comma (,).'."\n" + ."\n" + .'> This parameter applies only to rule templates.', 'type' => 'string', 'required' => false, 'example' => '115748125982****', 'title' => ''], + ], + [ + 'name' => 'Conditions', + 'in' => 'formData', + 'schema' => ['description' => 'The conditions for the custom rule, specified in JSON format.', 'type' => 'string', 'example' => '{"ComplianceConditions":"{\\"operator\\":\\"and\\",\\"children\\":[{\\"operator\\":\\"StringEquals\\",\\"featurePath\\":\\"$.Status\\",\\"desired\\":\\"1\\",\\"featureSource\\":\\"CONFIGURATION\\"}]}"}', 'required' => false, 'title' => ''], ], [ 'name' => 'ResourceNameScope', 'in' => 'formData', 'schema' => [ - 'description' => 'The rule applies only to resources with the specified name.', + 'description' => 'The rule applies only to resources with the specified resource name.', 'items' => [ 'description' => 'The tags of the resource.'."\n" .'You can add up to 20 tags.', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key of the resource.'."\n" - .'You can add up to 20 tag keys.', - ], - 'Value' => [ - 'description' => 'The tag value of the resource.'."\n" - .'You can add up to 20 tag values.', - ], + 'Key' => ['description' => 'The tag key of the resource.'."\n" + .'You can add up to 20 tag keys.'], + 'Value' => ['description' => 'The tag value of the resource.'."\n" + .'You can add up to 20 tag values.'], ], ], 'type' => 'string', @@ -34230,31 +19937,17 @@ 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => 'The tags of the resource. This input parameter is deprecated and is ignored if specified.'."\n" - ."\n" - .'A maximum of 20 tags can be attached.', + 'description' => 'The rule applies only to resources with the specified resource name.', 'type' => 'array', 'items' => [ 'description' => 'The tags of the resource.'."\n" .'You can add up to 20 tags.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key of the resource.'."\n" - .'You can add up to 20 tag keys.', - 'type' => 'string', - 'required' => false, - 'example' => 'key-1', - 'title' => '', - ], - 'Value' => [ - 'description' => 'The tag value of the resource.'."\n" - .'You can add up to 20 tag values.', - 'type' => 'string', - 'required' => false, - 'example' => 'value-1', - 'title' => '', - ], + 'Key' => ['description' => 'The tag key of the resource.'."\n" + .'You can add up to 20 tag keys.', 'type' => 'string', 'required' => false, 'example' => 'key-1', 'title' => ''], + 'Value' => ['description' => 'The tag value of the resource.'."\n" + .'You can add up to 20 tag values.', 'type' => 'string', 'required' => false, 'example' => 'value-1', 'title' => ''], ], 'required' => false, 'title' => '', @@ -34274,18 +19967,8 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'ConfigRuleId' => [ - 'description' => 'The rule ID.', - 'type' => 'string', - 'example' => 'cr-4e3d626622af0080****', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - 'title' => '', - ], + 'ConfigRuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => 'cr-4e3d626622af0080****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', 'title' => ''], ], 'title' => '', 'example' => '', @@ -34294,65 +19977,29 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ExceedMaxRuleCount', - 'errorMessage' => 'The maximum number of rules is exceeded.', - 'description' => '', - ], - [ - 'errorCode' => 'ConfigRuleNotExists', - 'errorMessage' => 'The ConfigRule does not exist.', - 'description' => 'The rule does not exist.', - ], - [ - 'errorCode' => 'ConfigRuleExists', - 'errorMessage' => 'The ConfigRule already exists.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], + ['errorCode' => 'ExceedMaxRuleCount', 'errorMessage' => 'The maximum number of rules is exceeded.', 'description' => ''], + ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => 'The rule does not exist.'], + ['errorCode' => 'ConfigRuleExists', 'errorMessage' => 'The ConfigRule already exists.', 'description' => ''], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], ], 403 => [ - [ - 'errorCode' => 'AggregatorMemberNoPermission', - 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', - 'description' => 'The aggregator member is not authorized to perform the operation.', - ], + ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => 'The aggregator member is not authorized to perform the operation.'], ], [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'UpdateAggregateConfigRule', - 'summary' => 'Modifies the description, input parameters, and risk level of a rule in a specified account group.', 'description' => '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).', - 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).', + 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters]().', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'UpdateAggregateConfigRule', - ], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAggregateConfigRule'], ], ], 'ramActions' => [ @@ -34363,12 +20010,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateConfigRule', - 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}'], ], ], ], @@ -34376,13 +20018,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ConfigRuleId\\": \\"cr-4e3d626622af0080****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","type":"json"}]', ], 'UpdateAggregateRemediation' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -34394,116 +20031,67 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'RemediationId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the remediation setting.'."\n" - ."\n" - .'For more information, see [ListAggregateRemediations](~~270036~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'crr-909ba2d4716700eb****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the remediation setting.'."\n" + ."\n" + .'For more information, see [ListAggregateRemediations](~~270036~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-909ba2d4716700eb****', 'title' => ''], ], [ 'name' => 'RemediationType', 'in' => 'formData', - 'schema' => [ - 'description' => 'The type of the remediation. Valid values:'."\n" - ."\n" - .'- OOS: Operation Orchestration Service (OOS) (template-based remediation).'."\n" - ."\n" - .'- FC: Function Compute (FC) (custom remediation).', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'OOS', - 'title' => '', - ], + 'schema' => ['description' => 'The type of the remediation. Valid values:'."\n" + ."\n" + .'- OOS: Operation Orchestration Service (OOS) (template-based remediation).'."\n" + ."\n" + .'- FC: Function Compute (FC) (custom remediation).', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'OOS', 'title' => ''], ], [ 'name' => 'RemediationTemplateId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the remediation template.'."\n" - ."\n" - .'For more information, see [ListRemediationTemplates](~~270066~~).', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'ACS-OSS-PutBucketAcl', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the remediation template.'."\n" + ."\n" + .'For more information, see [ListRemediationTemplates](~~270066~~).', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'ACS-OSS-PutBucketAcl', 'title' => ''], ], [ 'name' => 'InvokeType', 'in' => 'formData', - 'schema' => [ - 'description' => 'The execution mode of the remediation. Valid values:'."\n" - ."\n" - .'- NON\\_EXECUTION: The remediation is not executed.'."\n" - ."\n" - .'- AUTO\\_EXECUTION: The remediation is automatically executed.'."\n" - ."\n" - .'- MANUAL\\_EXECUTION: The remediation is manually executed.'."\n" - ."\n" - .'- NOT\\_CONFIG: The execution mode is not specified.', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'AUTO_EXECUTION', - 'title' => '', - ], + 'schema' => ['description' => 'The execution mode of the remediation. Valid values:'."\n" + ."\n" + .'- NON\\_EXECUTION: The remediation is not executed.'."\n" + ."\n" + .'- AUTO\\_EXECUTION: The remediation is automatically executed.'."\n" + ."\n" + .'- MANUAL\\_EXECUTION: The remediation is manually executed.'."\n" + ."\n" + .'- NOT\\_CONFIG: The execution mode is not specified.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'AUTO_EXECUTION', 'title' => ''], ], [ 'name' => 'SourceType', 'in' => 'formData', - 'schema' => [ - 'description' => 'The source of the rule for which the remediation is performed. Valid values:'."\n" - ."\n" - .'- ALIYUN: rule template.'."\n" - ."\n" - .'- CUSTOM: custom remediation.'."\n" - ."\n" - .'- NONE: none.', - 'type' => 'string', - 'required' => false, - 'example' => 'ALIYUN', - 'title' => '', - ], + 'schema' => ['description' => 'The source of the rule for which the remediation is performed. Valid values:'."\n" + ."\n" + .'- ALIYUN: rule template.'."\n" + ."\n" + .'- CUSTOM: custom remediation.'."\n" + ."\n" + .'- NONE: none.', 'type' => 'string', 'required' => false, 'example' => 'ALIYUN', 'title' => ''], ], [ 'name' => 'Params', 'in' => 'formData', - 'schema' => [ - 'description' => 'The parameters of the remediation setting.', - 'type' => 'string', - 'required' => false, - 'example' => '{"properties":[{"name":"regionId","type":"STRING","value":"{regionId}","allowedValues":[]},{"name":"bucketName","type":"STRING","value":"{resourceId}","allowedValues":[],"description":"OSS Bucket名称。"},{"name":"permissionName","type":"STRING","value":"private","allowedValues":["public-read-write","public-read","private"],"description":"ACL权限名称。"}]}', - 'title' => '', - ], + 'schema' => ['description' => 'The parameters of the remediation setting.', 'type' => 'string', 'required' => false, 'example' => '{"properties":[{"name":"regionId","type":"STRING","value":"{regionId}","allowedValues":[]},{"name":"bucketName","type":"STRING","value":"{resourceId}","allowedValues":[],"description":"OSS Bucket名称。"},{"name":"permissionName","type":"STRING","value":"private","allowedValues":["public-read-write","public-read","private"],"description":"ACL权限名称。"}]}', 'title' => ''], ], [ 'name' => 'AggregatorId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ca-6b4a626622af0012****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ca-6b4a626622af0012****', 'title' => ''], ], ], 'responses' => [ @@ -34512,18 +20100,8 @@ 'description' => 'No data is returned.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2', - 'title' => '', - ], - 'RemediationId' => [ - 'description' => 'The ID of the remediation setting.', - 'type' => 'string', - 'example' => 'crr-909ba2d4716700eb****', - 'title' => '', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2', 'title' => ''], + 'RemediationId' => ['description' => 'The ID of the remediation setting.', 'type' => 'string', 'example' => 'crr-909ba2d4716700eb****', 'title' => ''], ], 'title' => '', 'example' => '', @@ -34532,40 +20110,16 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConfigRuleNotExists', - 'errorMessage' => 'The ConfigRule does not exist.', - 'description' => 'The rule does not exist.', - ], - [ - 'errorCode' => 'RDMemberNoPermission', - 'errorMessage' => 'You are not authorized to perform the operation. The reasons include: 1. You have not enabled the resource directory service. 2. You are not using the administrator account of resource directory.', - 'description' => 'You are not authorized to perform the operation. The reasons include:'."\n" - .'1. You have not enabled the resource directory service.'."\n" - .'2. You are not using the administrator account of resource directory.', - ], - [ - 'errorCode' => 'RemediationInputParamInConsistentWithRule', - 'errorMessage' => 'The remediation parameter does not match the rule parameter.', - 'description' => 'The remediation parameter does not match the rule parameter.', - ], - [ - 'errorCode' => 'RemediationTemplateNotExist', - 'errorMessage' => 'The remediation template does not exist or is invalid.', - 'description' => 'The remediation template does not exist or is invalid.', - ], - [ - 'errorCode' => 'Invalid.Params.Value', - 'errorMessage' => 'The specified parameter value is invalid.', - 'description' => 'The specified parameter value is invalid.', - ], + ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => 'The rule does not exist.'], + ['errorCode' => 'RDMemberNoPermission', 'errorMessage' => 'You are not authorized to perform the operation. The reasons include: 1. You have not enabled the resource directory service. 2. You are not using the administrator account of resource directory.', 'description' => 'You are not authorized to perform the operation. The reasons include:'."\n" + .'1. You have not enabled the resource directory service.'."\n" + .'2. You are not using the administrator account of resource directory.'], + ['errorCode' => 'RemediationInputParamInConsistentWithRule', 'errorMessage' => 'The remediation parameter does not match the rule parameter.', 'description' => 'The remediation parameter does not match the rule parameter.'], + ['errorCode' => 'RemediationTemplateNotExist', 'errorMessage' => 'The remediation template does not exist or is invalid.', 'description' => 'The remediation template does not exist or is invalid.'], + ['errorCode' => 'Invalid.Params.Value', 'errorMessage' => 'The specified parameter value is invalid.', 'description' => 'The specified parameter value is invalid.'], ], 403 => [ - [ - 'errorCode' => 'NoPermissionCreateRemediationSLR', - 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.', - 'description' => 'You have no permission to create the service-linked role: AliyunServiceRoleForConfigRemediation.', - ], + ['errorCode' => 'NoPermissionCreateRemediationSLR', 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.', 'description' => 'You have no permission to create the service-linked role: AliyunServiceRoleForConfigRemediation.'], ], ], 'title' => 'UpdateAggregateRemediation', @@ -34575,12 +20129,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'UpdateAggregateRemediation', - ], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAggregateRemediation'], ], ], 'ramActions' => [ @@ -34591,12 +20140,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -34605,13 +20149,8 @@ ], 'UpdateAggregator' => [ 'summary' => '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.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -34623,64 +20162,34 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigB2MNLG', - ], + 'abilityTreeNodes' => ['FEATUREconfigB2MNLG'], ], 'parameters' => [ [ 'name' => 'AggregatorId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the account group.'."\n" - ."\n" - .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'ca-dacf86d8314e00eb****', - ], + 'schema' => ['description' => 'The ID of the account group.'."\n" + ."\n" + .'For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'ca-dacf86d8314e00eb****'], ], [ 'name' => 'AggregatorName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the account group.'."\n" - ."\n" - .'For more information about how to obtain the name of an account group, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'title' => '', - 'example' => 'Test_Group', - ], + 'schema' => ['description' => 'The name of the account group.'."\n" + ."\n" + .'For more information about how to obtain the name of an account group, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => false, 'docRequired' => false, 'title' => '', 'example' => 'Test_Group'], ], [ 'name' => 'FolderId', 'in' => 'formData', - 'schema' => [ - 'title' => '', - 'description' => 'The ID of the folder. You can enter multiple folder IDs. Separate the IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'fd-brHdgv****,fd-brHdgk****', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the folder. You can enter multiple folder IDs. Separate the IDs with commas (,).', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'fd-brHdgv****,fd-brHdgk****'], ], [ 'name' => 'Description', 'in' => 'formData', - 'schema' => [ - 'description' => 'The description of the account group.'."\n" - ."\n" - .'For more information about how to obtain the description of an account group, see [ListAggregators](~~255797~~).', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'title' => '', - 'example' => '测试组', - ], + 'schema' => ['description' => 'The description of the account group.'."\n" + ."\n" + .'For more information about how to obtain the description of an account group, see [ListAggregators](~~255797~~).', 'type' => 'string', 'required' => false, 'docRequired' => false, 'title' => '', 'example' => '测试组'], ], [ 'name' => 'AggregatorAccounts', @@ -34695,38 +20204,19 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'AccountId' => [ - 'description' => 'The ID of the member.'."\n" - ."\n" - .'For more information about how to obtain the ID of a member, see [ListAccounts](~~160016~~).'."\n" - ."\n" - .'> To update the member list, you must specify both `AccountId` and `AccountType`.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'title' => '', - 'example' => '173808452267****', - ], - 'AccountName' => [ - 'description' => 'The name of the member.'."\n" - ."\n" - .'For more information about how to obtain the name of a member, see [ListAccounts](~~160016~~).'."\n" - ."\n" - .'> To update the member list, you must specify both `AccountId` and `AccountType`.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'Tony', - ], - 'AccountType' => [ - 'description' => 'The affiliation of the member. Only ResourceDirectory is supported.'."\n" - ."\n" - .'> To update the member list, you must specify both `AccountId` and `AccountType`.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'ResourceDirectory', - ], + 'AccountId' => ['description' => 'The ID of the member.'."\n" + ."\n" + .'For more information about how to obtain the ID of a member, see [ListAccounts](~~160016~~).'."\n" + ."\n" + .'> To update the member list, you must specify both `AccountId` and `AccountType`.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '173808452267****'], + 'AccountName' => ['description' => 'The name of the member.'."\n" + ."\n" + .'For more information about how to obtain the name of a member, see [ListAccounts](~~160016~~).'."\n" + ."\n" + .'> To update the member list, you must specify both `AccountId` and `AccountType`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Tony'], + 'AccountType' => ['description' => 'The affiliation of the member. Only ResourceDirectory is supported.'."\n" + ."\n" + .'> To update the member list, you must specify both `AccountId` and `AccountType`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ResourceDirectory'], ], 'required' => false, 'title' => '', @@ -34741,13 +20231,7 @@ [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'A client token that ensures the idempotence of the request. Generate a unique token for each request. The token can contain only ASCII characters and must be no more than 64 characters in length.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', - ], + 'schema' => ['description' => 'A client token that ensures the idempotence of the request. Generate a unique token for each request. The token can contain only ASCII characters and must be no more than 64 characters in length.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****'], ], [ 'name' => 'Tag', @@ -34764,22 +20248,10 @@ .'You can attach up to 20 tags.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The key of the tag. A tag key cannot be an empty string.'."\n" - ."\n" - .'The tag key can be up to 64 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'key-1', - ], - 'Value' => [ - 'description' => 'The tag value can be up to 128 characters in length. It cannot start with `acs:` and cannot contain `http://` or `https://`.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'value-1', - ], + 'Key' => ['description' => 'The key of the tag. A tag key cannot be an empty string.'."\n" + ."\n" + .'The tag key can be up to 64 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'key-1'], + 'Value' => ['description' => 'The tag value can be up to 128 characters in length. It cannot start with `acs:` and cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'value-1'], ], 'required' => false, 'title' => '', @@ -34799,18 +20271,8 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'title' => '', - 'example' => '8195B664-9565-4685-89AC-8B5F04B44B92', - ], - 'AggregatorId' => [ - 'description' => 'The ID of the account group.', - 'type' => 'string', - 'title' => '', - 'example' => 'ca-dacf86d8314e00eb****', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '8195B664-9565-4685-89AC-8B5F04B44B92'], + 'AggregatorId' => ['description' => 'The ID of the account group.', 'type' => 'string', 'title' => '', 'example' => 'ca-dacf86d8314e00eb****'], ], 'title' => '', 'example' => '', @@ -34819,77 +20281,25 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.AggregatorAccounts.Empty', - 'errorMessage' => 'You must specify AggregatorAccounts.', - 'description' => 'You must specify AggregatorAccounts.', - ], - [ - 'errorCode' => 'AggregatorAccountExceedMaxCount', - 'errorMessage' => 'The maximum number of aggregator account is exceeded.', - 'description' => 'The maximum number of aggregator account is exceeded.', - ], - [ - 'errorCode' => 'AggregatorAccountListDuplicated', - 'errorMessage' => 'The aggregator account list is duplicated.', - 'description' => 'The aggregator account list is duplicated.', - ], - [ - 'errorCode' => 'AggregatorAccountListItemDuplicated', - 'errorMessage' => 'The aggregator account list item is duplicated.', - 'description' => 'The aggregator account list item is duplicated.', - ], - [ - 'errorCode' => 'AggregatorAlreadyPending', - 'errorMessage' => 'The aggregator has a pending operation and cannot be updated.', - 'description' => 'The aggregator has a pending operation and cannot be updated.', - ], - [ - 'errorCode' => 'AggregatorNameDuplicated', - 'errorMessage' => 'The aggregator name is duplicated.', - 'description' => 'The aggregator name is duplicated.', - ], - [ - 'errorCode' => 'DefaultAggregatorDeleteNotSupport', - 'errorMessage' => 'The default aggregator cannot be deleted.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.AggregatorId.Value', - 'errorMessage' => 'The specified AggregatorId is invalid.', - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], - [ - 'errorCode' => 'Invalid.AccountType.Value', - 'errorMessage' => 'The specified AccountType is invalid.', - 'description' => 'The specified account type is invalid.', - ], - [ - 'errorCode' => 'Invalid.AggregatorAccounts.Value', - 'errorMessage' => 'The specified AggregatorAccounts is invalid.', - 'description' => 'The specified AggregatorAccounts is invalid.', - ], + ['errorCode' => 'Invalid.AggregatorAccounts.Empty', 'errorMessage' => 'You must specify AggregatorAccounts.', 'description' => 'You must specify AggregatorAccounts.'], + ['errorCode' => 'AggregatorAccountExceedMaxCount', 'errorMessage' => 'The maximum number of aggregator account is exceeded.', 'description' => 'The maximum number of aggregator account is exceeded.'], + ['errorCode' => 'AggregatorAccountListDuplicated', 'errorMessage' => 'The aggregator account list is duplicated.', 'description' => 'The aggregator account list is duplicated.'], + ['errorCode' => 'AggregatorAccountListItemDuplicated', 'errorMessage' => 'The aggregator account list item is duplicated.', 'description' => 'The aggregator account list item is duplicated.'], + ['errorCode' => 'AggregatorAlreadyPending', 'errorMessage' => 'The aggregator has a pending operation and cannot be updated.', 'description' => 'The aggregator has a pending operation and cannot be updated.'], + ['errorCode' => 'AggregatorNameDuplicated', 'errorMessage' => 'The aggregator name is duplicated.', 'description' => 'The aggregator name is duplicated.'], + ['errorCode' => 'DefaultAggregatorDeleteNotSupport', 'errorMessage' => 'The default aggregator cannot be deleted.', 'description' => ''], + ['errorCode' => 'Invalid.AggregatorId.Value', 'errorMessage' => 'The specified AggregatorId is invalid.', 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], + ['errorCode' => 'Invalid.AccountType.Value', 'errorMessage' => 'The specified AccountType is invalid.', 'description' => 'The specified account type is invalid.'], + ['errorCode' => 'Invalid.AggregatorAccounts.Value', 'errorMessage' => 'The specified AggregatorAccounts is invalid.', 'description' => 'The specified AggregatorAccounts is invalid.'], ], 403 => [ - [ - 'errorCode' => 'AggregatorMemberNoPermission', - 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', - 'description' => 'The aggregator member is not authorized to perform the operation.', - ], + ['errorCode' => 'AggregatorMemberNoPermission', 'errorMessage' => 'The aggregator member is not authorized to perform the operation.', 'description' => 'The aggregator member is not authorized to perform the operation.'], ], [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8195B664-9565-4685-89AC-8B5F04B44B92\\",\\n \\"AggregatorId\\": \\"ca-dacf86d8314e00eb****\\"\\n}","type":"json"}]', @@ -34899,12 +20309,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'UpdateAggregator', - ], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAggregator'], ], ], 'ramActions' => [ @@ -34915,26 +20320,15 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Aggregator', - 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}'], ], ], ], ], ], 'UpdateCompliancePack' => [ - 'summary' => 'Updates the configuration of a specified compliance pack in the current account.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -34946,36 +20340,20 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigX57QP8', - ], + 'abilityTreeNodes' => ['FEATUREconfigX57QP8'], ], 'parameters' => [ [ 'name' => 'CompliancePackId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the compliance pack.'."\n" - ."\n" - .'For more information, see [ListCompliancePacks](~~263332~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'cp-a8a8626622af0082****', - ], + 'schema' => ['description' => 'The ID of the compliance pack.'."\n" + ."\n" + .'For more information, see [ListCompliancePacks](~~263332~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cp-a8a8626622af0082****', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'formData', - 'schema' => [ - 'description' => 'The description of the compliance pack.', - 'type' => 'string', - 'required' => false, - 'maxLength' => 500, - 'title' => '', - 'example' => '基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。', - ], + 'schema' => ['description' => 'The description of the compliance pack.', 'type' => 'string', 'maxLength' => 500, 'required' => false, 'example' => '基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。', 'title' => ''], ], [ 'name' => 'RiskLevel', @@ -34990,18 +20368,14 @@ .'- 3: Low risk.', 'type' => 'integer', 'format' => 'int32', - 'required' => false, 'maximum' => '3', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, - 'enum' => [ - '1', - '2', - '3', - ], - 'title' => '', + 'enum' => ['1', '2', '3'], + 'required' => false, 'example' => '1', + 'title' => '', ], ], [ @@ -35017,15 +20391,9 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'ManagedRuleIdentifier' => [ - 'description' => 'The identifier of the rule template. CloudConfig automatically creates a rule based on this identifier and adds the rule to the compliance pack.'."\n" - ."\n" - .'You must specify either `ManagedRuleIdentifier` or `ConfigRuleId`. If you specify both parameters, `ConfigRuleId` takes precedence. For more information, see [ListCompliancePackTemplates](~~261176~~).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'eip-bandwidth-limit', - ], + 'ManagedRuleIdentifier' => ['description' => 'The identifier of the rule template. CloudConfig automatically creates a rule based on this identifier and adds the rule to the compliance pack.'."\n" + ."\n" + .'You must specify either `ManagedRuleIdentifier` or `ConfigRuleId`. If you specify both parameters, `ConfigRuleId` takes precedence. For more information, see [ListCompliancePackTemplates](~~261176~~).', 'type' => 'string', 'required' => false, 'example' => 'eip-bandwidth-limit', 'title' => ''], 'ConfigRuleParameters' => [ 'description' => 'The parameters of the rule.', 'type' => 'array', @@ -35033,24 +20401,12 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'ParameterName' => [ - 'description' => 'The name of the rule parameter.'."\n" - ."\n" - .'You must specify `ParameterName` and `ParameterValue` together, or leave them both empty. If a rule template has a parameter without a default value, you must specify this parameter. For more information, see [ListCompliancePackTemplates](~~261176~~).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'bandwidth', - ], - 'ParameterValue' => [ - 'description' => 'The value of the rule parameter.'."\n" - ."\n" - .'You must specify `ParameterName` and `ParameterValue` together, or leave them both empty. If a rule template has a parameter without a default value, you must specify this parameter. For more information, see [ListCompliancePackTemplates](~~261176~~).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '20', - ], + 'ParameterName' => ['description' => 'The name of the rule parameter.'."\n" + ."\n" + .'You must specify `ParameterName` and `ParameterValue` together, or leave them both empty. If a rule template has a parameter without a default value, you must specify this parameter. For more information, see [ListCompliancePackTemplates](~~261176~~).', 'type' => 'string', 'required' => false, 'example' => 'bandwidth', 'title' => ''], + 'ParameterValue' => ['description' => 'The value of the rule parameter.'."\n" + ."\n" + .'You must specify `ParameterName` and `ParameterValue` together, or leave them both empty. If a rule template has a parameter without a default value, you must specify this parameter. For more information, see [ListCompliancePackTemplates](~~261176~~).', 'type' => 'string', 'required' => false, 'example' => '20', 'title' => ''], ], 'required' => false, 'title' => '', @@ -35060,43 +20416,18 @@ 'title' => '', 'example' => '', ], - 'ConfigRuleId' => [ - 'description' => 'The rule ID. CloudConfig adds an existing rule to the compliance pack.'."\n" - ."\n" - .'You must specify either `ManagedRuleIdentifier` or `ConfigRuleId`. If you specify both parameters, `ConfigRuleId` takes precedence. For more information, see [ListConfigRules](~~169607~~).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'cr-e918626622af000f****', - ], - 'ConfigRuleName' => [ - 'description' => 'The name of the rule.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '检测闲置弹性公网IP', - ], - 'Description' => [ - 'description' => 'The description of the rule.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '弹性公网已绑定到ECS或者NAT实例,非闲置状态,视为“合规”。', - ], - 'RiskLevel' => [ - 'description' => 'The risk level of the rule. Valid values:'."\n" - ."\n" - .'- 1: High risk.'."\n" - ."\n" - .'- 2: Medium risk.'."\n" - ."\n" - .'- 3: Low risk.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'title' => '', - 'example' => '1', - ], + 'ConfigRuleId' => ['description' => 'The rule ID. CloudConfig adds an existing rule to the compliance pack.'."\n" + ."\n" + .'You must specify either `ManagedRuleIdentifier` or `ConfigRuleId`. If you specify both parameters, `ConfigRuleId` takes precedence. For more information, see [ListConfigRules](~~169607~~).', 'type' => 'string', 'required' => false, 'example' => 'cr-e918626622af000f****', 'title' => ''], + 'ConfigRuleName' => ['description' => 'The name of the rule.', 'type' => 'string', 'required' => false, 'example' => '检测闲置弹性公网IP', 'title' => ''], + 'Description' => ['description' => 'The description of the rule.', 'type' => 'string', 'required' => false, 'example' => '弹性公网已绑定到ECS或者NAT实例,非闲置状态,视为“合规”。', 'title' => ''], + 'RiskLevel' => ['description' => 'The risk level of the rule. Valid values:'."\n" + ."\n" + .'- 1: High risk.'."\n" + ."\n" + .'- 2: Medium risk.'."\n" + ."\n" + .'- 3: Low risk.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], 'required' => false, 'title' => '', @@ -35110,116 +20441,56 @@ [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'A client token to ensure the idempotence of the request. Generate a unique token for each request. The `ClientToken` value can contain only ASCII characters and must be no more than 64 characters long.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', - ], + 'schema' => ['description' => 'A client token to ensure the idempotence of the request. Generate a unique token for each request. The `ClientToken` value can contain only ASCII characters and must be no more than 64 characters long.', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', 'title' => ''], ], [ 'name' => 'CompliancePackName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the compliance pack.'."\n" - ."\n" - .'For more information, see [ListCompliancePacks](~~263332~~).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '等保三级预检合规包', - ], + 'schema' => ['description' => 'The name of the compliance pack.'."\n" + ."\n" + .'For more information, see [ListCompliancePacks](~~263332~~).', 'type' => 'string', 'required' => false, 'example' => '等保三级预检合规包', 'title' => ''], ], [ 'name' => 'RegionIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack evaluates only resources in the specified regions. Separate multiple region IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The compliance pack evaluates only resources in the specified regions. Separate multiple region IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ExcludeRegionIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack does not evaluate resources in the specified regions. Separate multiple region IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => 'The compliance pack does not evaluate resources in the specified regions. Separate multiple region IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ExcludeResourceIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack does not evaluate the specified resources. Separate multiple resource IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '23642660635687****', - ], + 'schema' => ['description' => 'The compliance pack does not evaluate the specified resources. Separate multiple resource IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => '23642660635687****', 'title' => ''], ], [ 'name' => 'ResourceIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack evaluates only the specified resources. Separate multiple resource IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'lb-5cmbowstbkss9ta03****', - ], + 'schema' => ['description' => 'The compliance pack evaluates only the specified resources. Separate multiple resource IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'lb-5cmbowstbkss9ta03****', 'title' => ''], ], [ 'name' => 'ResourceGroupIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack evaluates only resources in the specified resource groups. Separate multiple resource group IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'rg-aekzdibsjjc****', - ], + 'schema' => ['description' => 'The compliance pack evaluates only resources in the specified resource groups. Separate multiple resource group IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzdibsjjc****', 'title' => ''], ], [ 'name' => 'ExcludeResourceGroupIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack does not evaluate resources in the specified resource groups. Separate multiple resource group IDs with commas (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'rg-bnczc6r7rml****', - ], + 'schema' => ['description' => 'The compliance pack does not evaluate resources in the specified resource groups. Separate multiple resource group IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'rg-bnczc6r7rml****', 'title' => ''], ], [ 'name' => 'TagKeyScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack evaluates only resources that have the specified tag key.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'ECS', - ], + 'schema' => ['description' => 'The compliance pack evaluates only resources that have the specified tag key.', 'type' => 'string', 'required' => false, 'example' => 'ECS', 'title' => ''], ], [ 'name' => 'TagValueScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The compliance pack evaluates only resources that have the specified tag key and value.'."\n" - ."\n" - .'> You must use TagValueScope with TagKeyScope.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'test', - ], + 'schema' => ['description' => 'The compliance pack evaluates only resources that have the specified tag key and value.'."\n" + ."\n" + .'> You must use TagValueScope with TagKeyScope.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'TagsScope', @@ -35232,20 +20503,8 @@ 'description' => 'The effective tags.', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'key-1', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'value-1', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'key-1', 'title' => ''], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value-1', 'title' => ''], ], 'required' => false, 'title' => '', @@ -35267,20 +20526,8 @@ 'description' => 'The excluded tags.', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'key-2', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'value-2', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'key-2', 'title' => ''], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value-2', 'title' => ''], ], 'required' => false, 'title' => '', @@ -35306,26 +20553,14 @@ .'You can add up to 20 tags.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key of the resource.'."\n" - ."\n" - .'If you specify this parameter, it cannot be an empty string. The tag key can be up to 64 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https:// `.'."\n" - ."\n" - .'You can specify the tag keys of up to 20 tags at a time.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'key-1', - ], - 'Value' => [ - 'description' => 'The tag value of the resource. You can specify up to 20 tag values. If you specify this parameter, it can be an empty string.'."\n" - ."\n" - .'The tag value can be up to 128 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'value-1', - ], + 'Key' => ['description' => 'The tag key of the resource.'."\n" + ."\n" + .'If you specify this parameter, it cannot be an empty string. The tag key can be up to 64 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https:// `.'."\n" + ."\n" + .'You can specify the tag keys of up to 20 tags at a time.', 'type' => 'string', 'required' => false, 'example' => 'key-1', 'title' => ''], + 'Value' => ['description' => 'The tag value of the resource. You can specify up to 20 tag values. If you specify this parameter, it can be an empty string.'."\n" + ."\n" + .'The tag value can be up to 128 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'value-1', 'title' => ''], ], 'required' => false, 'title' => '', @@ -35345,18 +20580,8 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'CompliancePackId' => [ - 'description' => 'The ID of the compliance pack.', - 'type' => 'string', - 'title' => '', - 'example' => 'cp-a8a8626622af0082****', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], + 'CompliancePackId' => ['description' => 'The ID of the compliance pack.', 'type' => 'string', 'example' => 'cp-a8a8626622af0082****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', 'title' => ''], ], 'title' => '', 'example' => '', @@ -35365,73 +20590,30 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Invalid.CompliancePackId.Value', - 'errorMessage' => 'The specified CompliancePackId does not exist.', - 'description' => 'The specified compliance pack ID does not exist.', - ], - [ - 'errorCode' => 'CompliancePackExceedMaxCount', - 'errorMessage' => 'The maximum number of compliance pack is exceeded.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.ConfigRules.Empty', - 'errorMessage' => 'You must specify ConfigRules.', - 'description' => '', - ], - [ - 'errorCode' => 'Invalid.ConfigRules.Value', - 'errorMessage' => 'The specified ConfigRules is invalid.', - 'description' => 'The specified ConfigRules is invalid.', - ], - [ - 'errorCode' => 'ConfigRuleExceedMaxRuleCount', - 'errorMessage' => 'The maximum number of config rules is exceeded.', - 'description' => '', - ], - [ - 'errorCode' => 'CompliancePackAlreadyPending', - 'errorMessage' => 'The compliance pack has a pending operation and cannot be updated.', - 'description' => 'The compliance pack has a pending operation and cannot be updated.', - ], - [ - 'errorCode' => 'CompliancePackExists', - 'errorMessage' => 'The compliance pack already exists.', - 'description' => 'The compliance pack name already exists.', - ], + ['errorCode' => 'Invalid.CompliancePackId.Value', 'errorMessage' => 'The specified CompliancePackId does not exist.', 'description' => 'The specified compliance pack ID does not exist.'], + ['errorCode' => 'CompliancePackExceedMaxCount', 'errorMessage' => 'The maximum number of compliance pack is exceeded.', 'description' => ''], + ['errorCode' => 'Invalid.ConfigRules.Empty', 'errorMessage' => 'You must specify ConfigRules.', 'description' => ''], + ['errorCode' => 'Invalid.ConfigRules.Value', 'errorMessage' => 'The specified ConfigRules is invalid.', 'description' => 'The specified ConfigRules is invalid.'], + ['errorCode' => 'ConfigRuleExceedMaxRuleCount', 'errorMessage' => 'The maximum number of config rules is exceeded.', 'description' => ''], + ['errorCode' => 'CompliancePackAlreadyPending', 'errorMessage' => 'The compliance pack has a pending operation and cannot be updated.', 'description' => 'The compliance pack has a pending operation and cannot be updated.'], + ['errorCode' => 'CompliancePackExists', 'errorMessage' => 'The compliance pack already exists.', 'description' => 'The compliance pack name already exists.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CompliancePackId\\": \\"cp-a8a8626622af0082****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'UpdateCompliancePack', + 'summary' => 'Updates the configuration of a specified compliance pack in the current account.', 'description' => '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****`.', 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '30', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'UpdateCompliancePack', - ], + ['threshold' => '30', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateCompliancePack'], ], ], 'ramActions' => [ @@ -35442,27 +20624,17 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'CompliancePack', - 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'], ], ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CompliancePackId\\": \\"cp-a8a8626622af0082****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","type":"json"}]', ], 'UpdateConfigDeliveryChannel' => [ 'summary' => 'This operation modifies a delivery channel for the current account.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -35474,217 +20646,133 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigL91U0A', - ], + 'abilityTreeNodes' => ['FEATUREconfigL91U0A'], ], 'parameters' => [ [ 'name' => 'DeliveryChannelId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the delivery channel.'."\n" - ."\n" - .'For more information about how to obtain the delivery channel ID, see [ListConfigDeliveryChannels](~~429841~~).', - 'type' => 'string', - 'required' => true, - 'example' => 'cdc-8e45ff4e06a3a8****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the delivery channel.'."\n" + ."\n" + .'For more information about how to obtain the delivery channel ID, see [ListConfigDeliveryChannels](~~429841~~).', 'type' => 'string', 'required' => true, 'example' => 'cdc-8e45ff4e06a3a8****', 'title' => ''], ], [ 'name' => 'DeliveryChannelName', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the delivery channel.', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'testoss', - 'title' => '', - ], + 'schema' => ['description' => 'The name of the delivery channel.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'testoss', 'title' => ''], ], [ 'name' => 'DeliveryChannelTargetArn', 'in' => 'query', - 'schema' => [ - 'description' => 'The Alibaba Cloud Resource Name (ARN) of the delivery destination. Valid values:'."\n" - ."\n" - .'- If the delivery channel is Object Storage Service (OSS), the value is in the format of `acs:oss:{RegionId}:{accountId}:{bucketName}`. Example: `acs:oss:cn-shanghai:100931896542****:new-bucket`.'."\n" - ."\n" - .'- If the delivery channel is MNS, the value is in the format of `acs:mns:{RegionId}:{accountId}:/topics/{topicName}`. Example: `acs:mns:cn-shanghai:100931896542****:/topics/topic1`.'."\n" - ."\n" - .'- If the delivery channel is Simple Log Service (SLS), the value is in the format of `acs:log:{RegionId}:{accountId}:project/{projectName}/logstore/{logstoreName}`. Example: `acs:log:cn-shanghai:100931896542****:project/project1/logstore/logstore1`.', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket', - 'title' => '', - ], + 'schema' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the delivery destination. Valid values:'."\n" + ."\n" + .'- If the delivery channel is Object Storage Service (OSS), the value is in the format of `acs:oss:{RegionId}:{accountId}:{bucketName}`. Example: `acs:oss:cn-shanghai:100931896542****:new-bucket`.'."\n" + ."\n" + .'- If the delivery channel is MNS, the value is in the format of `acs:mns:{RegionId}:{accountId}:/topics/{topicName}`. Example: `acs:mns:cn-shanghai:100931896542****:/topics/topic1`.'."\n" + ."\n" + .'- If the delivery channel is Simple Log Service (SLS), the value is in the format of `acs:log:{RegionId}:{accountId}:project/{projectName}/logstore/{logstoreName}`. Example: `acs:log:cn-shanghai:100931896542****:project/project1/logstore/logstore1`.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket', 'title' => ''], ], [ 'name' => 'DeliveryChannelCondition', 'in' => 'query', - 'schema' => [ - 'description' => 'The rule that is attached to the delivery channel. This parameter is applicable to all deliveries to MNS and snapshot deliveries to SLS.'."\n" - ."\n" - .'- If you specify the minimum risk level of events and the resource types for an MNS subscription, use the following formats:'."\n" - ."\n" - .' - The minimum risk level of the subscribed events: `{"filterType":"RuleRiskLevel","value":"1","multiple":false}`.'."\n" - ."\n" - .' `value` specifies the risk level. Valid values: 1 (high risk), 2 (medium risk), and 3 (low risk).'."\n" - ."\n" - .' - The resource types of the subscribed events: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" - ."\n" - .' `values` specifies the resource types of the subscribed events. The value is a JSON array.'."\n" - .' Example:'."\n" - .' `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n" - ."\n" - .'- If you specify the resource types of snapshots delivered to SLS, use the following format: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" - ."\n" - .' `values` specifies the resource types of the snapshots to deliver. The value is a JSON array.'."\n" - .' Example:'."\n" - .' `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]', - 'title' => '', - ], + 'schema' => ['description' => 'The rule that is attached to the delivery channel. This parameter is applicable to all deliveries to MNS and snapshot deliveries to SLS.'."\n" + ."\n" + .'- If you specify the minimum risk level of events and the resource types for an MNS subscription, use the following formats:'."\n" + ."\n" + .' - The minimum risk level of the subscribed events: `{"filterType":"RuleRiskLevel","value":"1","multiple":false}`.'."\n" + ."\n" + .' `value` specifies the risk level. Valid values: 1 (high risk), 2 (medium risk), and 3 (low risk).'."\n" + ."\n" + .' - The resource types of the subscribed events: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" + ."\n" + .' `values` specifies the resource types of the subscribed events. The value is a JSON array.'."\n" + .' Example:'."\n" + .' `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`'."\n" + ."\n" + .'- If you specify the resource types of snapshots delivered to SLS, use the following format: `{"filterType":"ResourceType","values":["ACS::ACK::Cluster","ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage"],"multiple":true}`.'."\n" + ."\n" + .' `values` specifies the resource types of the snapshots to deliver. The value is a JSON array.'."\n" + .' Example:'."\n" + .' `[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]`', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}]', 'title' => ''], ], [ 'name' => 'OversizedDataOSSTargetArn', 'in' => 'query', - 'schema' => [ - 'description' => 'The ARN of the OSS bucket where data is delivered when the data size exceeds the limit of the delivery channel. The value is in the format of `acs:oss:{RegionId}:{accountId}:{bucketName}`.'."\n" - ."\n" - .'If you do not specify this parameter, Cloud Config delivers only the summary of the data.'."\n" - ."\n" - .'> This parameter is available only for delivery channels of the SLS and MNS types. The maximum size of data that can be delivered to SLS is 1 MB. The maximum size of data that can be delivered to MNS is 64 KB.', - 'type' => 'string', - 'required' => false, - 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket', - 'title' => '', - ], + 'schema' => ['description' => 'The ARN of the OSS bucket where data is delivered when the data size exceeds the limit of the delivery channel. The value is in the format of `acs:oss:{RegionId}:{accountId}:{bucketName}`.'."\n" + ."\n" + .'If you do not specify this parameter, Cloud Config delivers only the summary of the data.'."\n" + ."\n" + .'> This parameter is available only for delivery channels of the SLS and MNS types. The maximum size of data that can be delivered to SLS is 1 MB. The maximum size of data that can be delivered to MNS is 64 KB.', 'type' => 'string', 'required' => false, 'example' => 'acs:oss:cn-shanghai:100931896542****:new-bucket', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the delivery channel.', - 'type' => 'string', - 'required' => false, - 'example' => 'My OSS delivery.', - 'title' => '', - ], + 'schema' => ['description' => 'The description of the delivery channel.', 'type' => 'string', 'required' => false, 'example' => 'My OSS delivery.', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'A client token used to ensure the idempotence of the request. Use a client to generate the token, and make sure that the token is unique among different requests.'."\n" - ."\n" - .'The `ClientToken` parameter can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).', - 'type' => 'string', - 'required' => false, - 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', - 'title' => '', - ], + 'schema' => ['description' => 'A client token used to ensure the idempotence of the request. Use a client to generate the token, and make sure that the token is unique among different requests.'."\n" + ."\n" + .'The `ClientToken` parameter can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', 'title' => ''], ], [ 'name' => 'ConfigurationSnapshot', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to deliver scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots to OSS or SLS at `04:00Z` and `16:00Z` (UTC) every day. Valid values:'."\n" - ."\n" - .'- true: The scheduled resource snapshots are delivered.'."\n" - ."\n" - .'- false (default): The scheduled resource snapshots are not delivered.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to deliver scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots to OSS or SLS at `04:00Z` and `16:00Z` (UTC) every day. Valid values:'."\n" + ."\n" + .'- true: The scheduled resource snapshots are delivered.'."\n" + ."\n" + .'- false (default): The scheduled resource snapshots are not delivered.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'CompliantSnapshot', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to deliver resource compliance snapshots. Cloud Config delivers resource compliance and non-compliance information to SLS. Valid values:'."\n" - ."\n" - .'- true: The resource compliance snapshots are delivered.'."\n" - ."\n" - .'- false: The resource compliance snapshots are not delivered.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to deliver resource compliance snapshots. Cloud Config delivers resource compliance and non-compliance information to SLS. Valid values:'."\n" + ."\n" + .'- true: The resource compliance snapshots are delivered.'."\n" + ."\n" + .'- false: The resource compliance snapshots are not delivered.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'ConfigurationItemChangeNotification', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to deliver the resource configuration history. Cloud Config delivers the resource configuration history to OSS, SLS, or MNS when the configuration of a resource changes. Valid values:'."\n" - ."\n" - .'- true: The resource configuration history is delivered.'."\n" - ."\n" - .'- false (default): The resource configuration history is not delivered.'."\n" - ."\n" - .'> This parameter is available for delivery channels of the OSS, SLS, and MNS types.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to deliver the resource configuration history. Cloud Config delivers the resource configuration history to OSS, SLS, or MNS when the configuration of a resource changes. Valid values:'."\n" + ."\n" + .'- true: The resource configuration history is delivered.'."\n" + ."\n" + .'- false (default): The resource configuration history is not delivered.'."\n" + ."\n" + .'> This parameter is available for delivery channels of the OSS, SLS, and MNS types.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'NonCompliantNotification', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to deliver resource non-compliance events. Cloud Config delivers resource non-compliance events to SLS or MNS when a resource is evaluated as non-compliant. Valid values:'."\n" - ."\n" - .'- true: The resource non-compliance events are delivered.'."\n" - ."\n" - .'- false (default): The resource non-compliance events are not delivered.'."\n" - ."\n" - .'> This parameter is available only for delivery channels of the SLS and MNS types.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'title' => '', - ], + 'schema' => ['description' => 'Specifies whether to deliver resource non-compliance events. Cloud Config delivers resource non-compliance events to SLS or MNS when a resource is evaluated as non-compliant. Valid values:'."\n" + ."\n" + .'- true: The resource non-compliance events are delivered.'."\n" + ."\n" + .'- false (default): The resource non-compliance events are not delivered.'."\n" + ."\n" + .'> This parameter is available only for delivery channels of the SLS and MNS types.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the delivery channel. Valid values:'."\n" - ."\n" - .'- 0: The delivery channel is disabled. Cloud Config retains the most recent delivery configuration and stops delivering resource data.'."\n" - ."\n" - .'- 1 (default): The delivery channel is enabled.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', - 'title' => '', - ], + 'schema' => ['description' => 'The status of the delivery channel. Valid values:'."\n" + ."\n" + .'- 0: The delivery channel is disabled. Cloud Config retains the most recent delivery configuration and stops delivering resource data.'."\n" + ."\n" + .'- 1 (default): The delivery channel is enabled.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'title' => ''], ], [ 'name' => 'DeliverySnapshotTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The time of day when the scheduled resource snapshot is delivered.'."\n" - ."\n" - .'The value is in the `HH:mmZ` format. The time is in UTC.'."\n" - ."\n" - .'> If you enable scheduled delivery of resource snapshots, use this parameter to specify a delivery time. If you do not specify this parameter, Cloud Config delivers the scheduled resource snapshots at `04:00Z` and `16:00Z` by default.', - 'type' => 'string', - 'required' => false, - 'example' => '09:10Z', - 'title' => '', - ], + 'schema' => ['description' => 'The time of day when the scheduled resource snapshot is delivered.'."\n" + ."\n" + .'The value is in the `HH:mmZ` format. The time is in UTC.'."\n" + ."\n" + .'> If you enable scheduled delivery of resource snapshots, use this parameter to specify a delivery time. If you do not specify this parameter, Cloud Config delivers the scheduled resource snapshots at `04:00Z` and `16:00Z` by default.', 'type' => 'string', 'required' => false, 'example' => '09:10Z', 'title' => ''], ], ], 'responses' => [ @@ -35693,18 +20781,8 @@ 'description' => 'None.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG', - 'title' => '', - ], - 'DeliveryChannelId' => [ - 'description' => 'The ID of the delivery channel.', - 'type' => 'string', - 'example' => 'cdc-8e45ff4e06a3a8****', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG', 'title' => ''], + 'DeliveryChannelId' => ['description' => 'The ID of the delivery channel.', 'type' => 'string', 'example' => 'cdc-8e45ff4e06a3a8****', 'title' => ''], ], 'title' => '', 'example' => '', @@ -35713,58 +20791,18 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'DeliveryChannelNotExists', - 'errorMessage' => 'The delivery channel does not exist.', - 'description' => 'The delivery channel does not exist.', - ], - [ - 'errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', - 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', - 'description' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', - ], - [ - 'errorCode' => 'Invalid.DeliveryChannelTargetArn.Format', - 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.', - 'description' => 'The specified format of DeliveryChannelTargetArn is invalid.', - ], - [ - 'errorCode' => 'Invalid.DeliveryChannelCondition.Format', - 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.', - 'description' => 'The specified format of DeliveryChannelCondition is invalid.', - ], - [ - 'errorCode' => 'MemberNotBelongToMaster', - 'errorMessage' => 'The specified member does not belong to your organization.', - 'description' => '', - ], - [ - 'errorCode' => 'DeliveryChannelAccountNotSupport', - 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.', - 'description' => 'Cross-account delivery that is not in the RD is not supported.', - ], - [ - 'errorCode' => 'DeliveryChannelMnsUnreachable', - 'errorMessage' => 'The MNS topic is unreachable.', - 'description' => 'The MNS topic is unreachable.', - ], - [ - 'errorCode' => 'DeliveryChannelOssUnreachable', - 'errorMessage' => 'The OSS bucket is unreachable.', - 'description' => 'The OSS bucket is unreachable.', - ], - [ - 'errorCode' => 'DeliveryChannelSlsUnreachable', - 'errorMessage' => 'SLS logstore is unreachable.', - 'description' => '', - ], + ['errorCode' => 'DeliveryChannelNotExists', 'errorMessage' => 'The delivery channel does not exist.', 'description' => 'The delivery channel does not exist.'], + ['errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', 'description' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.'], + ['errorCode' => 'Invalid.DeliveryChannelTargetArn.Format', 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.', 'description' => 'The specified format of DeliveryChannelTargetArn is invalid.'], + ['errorCode' => 'Invalid.DeliveryChannelCondition.Format', 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.', 'description' => 'The specified format of DeliveryChannelCondition is invalid.'], + ['errorCode' => 'MemberNotBelongToMaster', 'errorMessage' => 'The specified member does not belong to your organization.', 'description' => ''], + ['errorCode' => 'DeliveryChannelAccountNotSupport', 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.', 'description' => 'Cross-account delivery that is not in the RD is not supported.'], + ['errorCode' => 'DeliveryChannelMnsUnreachable', 'errorMessage' => 'The MNS topic is unreachable.', 'description' => 'The MNS topic is unreachable.'], + ['errorCode' => 'DeliveryChannelOssUnreachable', 'errorMessage' => 'The OSS bucket is unreachable.', 'description' => 'The OSS bucket is unreachable.'], + ['errorCode' => 'DeliveryChannelSlsUnreachable', 'errorMessage' => 'SLS logstore is unreachable.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG\\",\\n \\"DeliveryChannelId\\": \\"cdc-8e45ff4e06a3a8****\\"\\n}","type":"json"}]', @@ -35774,12 +20812,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'UpdateConfigDeliveryChannel', - ], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateConfigDeliveryChannel'], ], ], 'ramActions' => [ @@ -35790,25 +20823,16 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Delivery', - 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}'], ], ], ], ], ], 'UpdateConfigRule' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Modifies the description, input parameters, and risk level of a rule.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -35820,9 +20844,7 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigQMX28I', - ], + 'abilityTreeNodes' => ['FEATUREconfigQMX28I'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -35830,45 +20852,26 @@ [ 'name' => 'ConfigRuleId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The rule ID.'."\n" - ."\n" - .'For more information, see [ListConfigRules](~~169607~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'title' => '', - 'example' => 'cr-a260626622af0005****', - ], + 'schema' => ['description' => 'The rule ID.'."\n" + ."\n" + .'For more information, see [ListConfigRules](~~169607~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cr-a260626622af0005****', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'formData', - 'schema' => [ - 'description' => 'The description of the rule. The description can be up to 500 characters in length.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '最多可以定义6组标签。如果资源同时具有指定的所有标签,则视为“合规”。', - ], + 'schema' => ['description' => 'The rule description. The description can be up to 500 characters long.', 'type' => 'string', 'required' => false, 'example' => '最多可以定义6组标签。如果资源同时具有指定的所有标签,则视为“合规”。', 'title' => ''], ], [ 'name' => 'InputParameters', 'in' => 'formData', 'style' => 'json', - 'schema' => [ - 'description' => 'The input parameters of the rule.', - 'type' => 'object', - 'required' => false, - 'title' => '', - 'example' => '{"tag1Key":"ECS","tag1Value":"test"}', - ], + 'schema' => ['description' => 'The rule parameters.', 'type' => 'object', 'required' => false, 'example' => '{"tag1Key":"ECS","tag1Value":"test"}', 'title' => ''], ], [ 'name' => 'MaximumExecutionFrequency', 'in' => 'formData', 'schema' => [ - 'description' => 'The frequency at which the rule is run. Valid values:'."\n" + 'description' => 'The frequency at which the rule runs. Valid values:'."\n" ."\n" .'- One\\_Hour: 1 hour.'."\n" ."\n" @@ -35880,18 +20883,12 @@ ."\n" .'- TwentyFour\\_Hours (default): 24 hours.'."\n" ."\n" - .'> This parameter is required when `ConfigRuleTriggerTypes` is set to `ScheduledNotification`.', + .'> Set this parameter when `ConfigRuleTriggerTypes` is set to `ScheduledNotification`.', 'type' => 'string', + 'enum' => ['One_Hour', 'Three_Hours', 'Six_Hours', 'Twelve_Hours', 'TwentyFour_Hours'], 'required' => false, - 'enum' => [ - 'One_Hour', - 'Three_Hours', - 'Six_Hours', - 'Twelve_Hours', - 'TwentyFour_Hours', - ], - 'title' => '', 'example' => 'One_Hour', + 'title' => '', ], ], [ @@ -35901,13 +20898,7 @@ 'schema' => [ 'description' => 'The resource types that the rule evaluates. To specify multiple resource types, separate them with a comma (,).', 'type' => 'array', - 'items' => [ - 'description' => 'The resource types that the rule evaluates. To specify multiple resource types, separate them with a comma (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'ACS::ECS::Instance', - ], + 'items' => ['description' => 'The resource types that the rule evaluates. To specify multiple resource types, separate them with a comma (,).', 'type' => 'string', 'required' => false, 'example' => 'ACS::ECS::Instance', 'title' => ''], 'required' => false, 'example' => 'ACS::ECS::Instance', 'title' => '', @@ -35926,178 +20917,106 @@ .'- 3: low risk.', 'type' => 'integer', 'format' => 'int32', - 'required' => false, 'maximum' => '3', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, - 'enum' => [ - '1', - '2', - '3', - ], - 'title' => '', + 'enum' => ['1', '2', '3'], + 'required' => false, 'example' => '3', + 'title' => '', ], ], [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'A client token used to ensure the idempotence of the request. You can use a client to generate the token, but you must make sure that the token is unique for different requests. The `ClientToken` parameter can contain only ASCII characters and cannot be more than 64 characters in length.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', - ], + 'schema' => ['description' => 'A client token used to ensure the idempotence of the request. Generate a unique token on your client for each request. The `ClientToken` parameter supports only ASCII characters and must not exceed 64 characters in length.', 'type' => 'string', 'required' => false, 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****', 'title' => ''], ], [ 'name' => 'RegionIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The regions where the rule is effective. The rule evaluates only resources in these regions. To specify multiple region IDs, separate them with a comma (,).'."\n" - ."\n" - .'> This parameter applies only to managed rules.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The regions where the rule applies. To specify multiple region IDs, separate them with a comma (,).'."\n" + ."\n" + .'> This parameter applies only to managed rules.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ExcludeRegionIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The regions where the rule is not effective. The system does not evaluate resources in these regions. To specify multiple region IDs, separate them with a comma (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => 'The regions where the rule does not apply. To specify multiple region IDs, separate them with a comma (,).', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'ExcludeResourceIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The resources that are not evaluated by the rule. The system does not evaluate these resources. To specify multiple resource IDs, separate them with a comma (,).'."\n" - ."\n" - .'> This parameter applies only to managed rules.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'lb-t4nbowvtbkss7t326****', - ], + 'schema' => ['description' => 'The resources that the rule does not evaluate. To specify multiple resource IDs, separate them with a comma (,).'."\n" + ."\n" + .'> This parameter applies only to managed rules.', 'type' => 'string', 'required' => false, 'example' => 'lb-t4nbowvtbkss7t326****', 'title' => ''], ], [ 'name' => 'ResourceIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The resources that the rule evaluates. To specify multiple resource IDs, separate them with a comma (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'lb-5cmbowstbkss9ta03****', - ], + 'schema' => ['description' => 'The resources that the rule evaluates. To specify multiple resource IDs, separate them with a comma (,).', 'type' => 'string', 'required' => false, 'example' => 'lb-5cmbowstbkss9ta03****', 'title' => ''], ], [ 'name' => 'ConfigRuleTriggerTypes', 'in' => 'formData', - 'schema' => [ - 'description' => 'The trigger type of the rule. Valid values:'."\n" - ."\n" - .'- ConfigurationItemChangeNotification: The rule is triggered by configuration changes.'."\n" - ."\n" - .'- ScheduledNotification: The rule is triggered on a regular basis.'."\n" - ."\n" - .'> This parameter can be modified only for custom rules.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'ConfigurationItemChangeNotification', - ], + 'schema' => ['description' => 'The trigger type of the rule. Valid values:'."\n" + ."\n" + .'- ConfigurationItemChangeNotification: The rule triggers on configuration changes.'."\n" + ."\n" + .'- ScheduledNotification: The rule triggers on a schedule.'."\n" + ."\n" + .'> You can modify this parameter only for custom rules.', 'type' => 'string', 'required' => false, 'example' => 'ConfigurationItemChangeNotification', 'title' => ''], ], [ 'name' => 'ResourceGroupIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The resource groups where the rule is effective. The rule evaluates only resources in these resource groups. To specify multiple resource group IDs, separate them with a comma (,).'."\n" - ."\n" - .'> This parameter applies only to managed rules.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'rg-aekzc7r7rhx****', - ], + 'schema' => ['description' => 'The resource groups where the rule applies. To specify multiple resource group IDs, separate them with a comma (,).'."\n" + ."\n" + .'> This parameter applies only to managed rules.', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzc7r7rhx****', 'title' => ''], ], [ 'name' => 'ExcludeResourceGroupIdsScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The resource groups where the rule is not effective. The system does not evaluate resources in these resource groups. To specify multiple resource group IDs, separate them with a comma (,).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'rg-bnczc6r7rml****', - ], + 'schema' => ['description' => 'The resource groups where the rule does not apply. To specify multiple resource group IDs, separate them with a comma (,).', 'type' => 'string', 'required' => false, 'example' => 'rg-bnczc6r7rml****', 'title' => ''], ], [ 'name' => 'TagKeyScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" - ."\n" - .'The rule is effective only for resources that have the specified tag.'."\n" - ."\n" - .'> This parameter applies only to managed rules. The `TagKeyScope` and `TagValueScope` parameters must be specified at the same time.', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'title' => '', - 'example' => 'ECS', - ], + 'schema' => ['description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" + ."\n" + .'The rule applies only to resources that have the specified tag.'."\n" + ."\n" + .'> This parameter applies only to managed rules. You must specify both `TagKeyScope` and `TagValueScope`.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'ECS', 'title' => ''], ], [ 'name' => 'TagValueScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" - ."\n" - .'The rule is effective only for resources that have the specified tag.'."\n" - ."\n" - .'> This parameter applies only to managed rules. The `TagKeyScope` and `TagValueScope` parameters must be specified at the same time.', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'title' => '', - 'example' => 'test', - ], + 'schema' => ['description' => 'This parameter is deprecated. Use the `TagsScope` parameter instead.'."\n" + ."\n" + .'The rule applies only to resources that have the specified tag.'."\n" + ."\n" + .'> This parameter applies only to managed rules. You must specify both `TagKeyScope` and `TagValueScope`.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'TagKeyLogicScope', 'in' => 'formData', 'schema' => [ - 'description' => 'The logical relationship for the tags that you specify for the `TagsScope` parameter. For example, if you set the `TagsScope` parameter to `"TagsScope.1.TagKey":"a","TagsScope.1.TagValue":"a","TagsScope.2.TagKey":"b","TagsScope.2.TagValue":"b"` and set this parameter to `AND`, the rule applies only to resources that have both the `a:a` and `b:b` tags. If you do not specify this parameter, the `OR` logic is used by default.'."\n" + 'description' => 'The logical relationship between tags in the `TagsScope` parameter. For example, if you set `TagsScope` to `"TagsScope.1.TagKey":"a","TagsScope.1.TagValue":"a","TagsScope.2.TagKey":"b","TagsScope.2.TagValue":"b"` and set this parameter to `AND`, the rule applies only to resources that have both the `a:a` and `b:b` tags. If you omit this parameter, the default logic is `OR`.'."\n" ."\n" - .'This parameter also applies to the deprecated `TagKeyScope` parameter, but this is not recommended. For example, if you set the `TagKeyScope` parameter to `ECS,OSS` and set this parameter to `AND`, the rule applies only to resources that have both the `ECS` and `OSS` tags.'."\n" + .'This parameter also works with the deprecated `TagKeyScope` parameter, but this is not recommended. For example, if you set `TagKeyScope` to `ECS,OSS` and set this parameter to `AND`, the rule applies only to resources that have both the `ECS` and `OSS` tags.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'- AND'."\n" ."\n" .'- OR', + 'enumValueTitles' => ['OR' => 'OR', 'AND' => 'AND'], 'type' => 'string', 'deprecated' => false, + 'enum' => ['AND', 'OR'], 'required' => false, - 'enumValueTitles' => [ - 'OR' => 'OR', - 'AND' => 'AND', - ], - 'enum' => [ - 'AND', - 'OR', - ], - 'title' => '', 'example' => 'AND', + 'title' => '', ], ], [ @@ -36105,25 +21024,13 @@ 'in' => 'formData', 'style' => 'flat', 'schema' => [ - 'description' => 'The tags that are used to filter resources.', + 'description' => 'Scope of the tag', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'key-1', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'value-1', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'key-1', 'title' => ''], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value-1', 'title' => ''], ], 'required' => false, 'description' => '', @@ -36140,25 +21047,13 @@ 'in' => 'formData', 'style' => 'flat', 'schema' => [ - 'description' => 'The tags that are used to exclude resources.', + 'description' => 'The tags used to exclude resources.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'key-2', - ], - 'TagValue' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'value-2', - ], + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'key-2', 'title' => ''], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value-2', 'title' => ''], ], 'required' => false, 'description' => '', @@ -36173,25 +21068,32 @@ [ 'name' => 'ConfigRuleName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the rule.'."\n" - ."\n" - .'For more information, see [ListAggregateConfigRules](~~264148~~).', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => '存在所有指定标签', - ], + 'schema' => ['description' => 'The name of the rule.'."\n" + ."\n" + .'For more information, see [ListAggregateConfigRules](~~264148~~).', 'type' => 'string', 'required' => false, 'example' => '存在所有指定标签', 'title' => ''], + ], + [ + 'name' => 'Conditions', + 'in' => 'formData', + 'schema' => ['description' => 'The condition for a custom conditional rule, in JSON format.', 'type' => 'string', 'example' => '{"ComplianceConditions":"{\\"operator\\":\\"and\\",\\"children\\":[{\\"operator\\":\\"StringEquals\\",\\"featurePath\\":\\"$.Status\\",\\"desired\\":\\"1\\",\\"featureSource\\":\\"CONFIGURATION\\"}]}"}', 'required' => false, 'title' => ''], ], [ 'name' => 'ExtendContent', 'in' => 'formData', 'schema' => [ - 'description' => 'The extended content. This parameter is optional. You can use this parameter with a 24-hour trigger period to set the trigger time.', + 'description' => 'Optional. Extended content used with a 24-hour trigger period to set the trigger time.', + 'items' => [ + 'description' => 'The tags of the resource.'."\n" + .'You can add up to 20 tags.', + 'properties' => [ + 'Key' => ['description' => 'The tag key.'], + 'Value' => ['description' => 'The tag value.'], + ], + ], 'type' => 'string', 'required' => false, - 'title' => '', 'example' => '{"fixedHour":"12"}', + 'title' => '', ], ], [ @@ -36199,30 +21101,17 @@ 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => 'The tags of the resource. This parameter is deprecated. The value that you specify for this parameter does not take effect.'."\n" + 'description' => 'The tags of the resource. This parameter is deprecated. Ignore it. Values passed for this parameter have no effect.'."\n" ."\n" .'You can add up to 20 tags.', 'type' => 'array', 'items' => [ 'description' => 'The tags of the resource.'."\n" - ."\n" .'You can add up to 20 tags.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The tag key.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'key-1', - ], - 'Value' => [ - 'description' => 'The tag value.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'value-1', - ], + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'key-1', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'value-1', 'title' => ''], ], 'required' => false, 'title' => '', @@ -36238,13 +21127,9 @@ [ 'name' => 'ResourceNameScope', 'in' => 'formData', - 'schema' => [ - 'description' => 'The names of the resources that the rule evaluates.', - 'type' => 'string', - 'required' => false, - 'title' => '', - 'example' => 'i-xxx', - ], + 'schema' => ['description' => 'The tags of the resource. This parameter is deprecated. Ignore it. Values passed for this parameter have no effect.'."\n" + ."\n" + .'You can add up to 20 tags.', 'type' => 'string', 'required' => false, 'example' => 'i-xxx', 'title' => ''], ], ], 'responses' => [ @@ -36253,18 +21138,8 @@ 'description' => 'None', 'type' => 'object', 'properties' => [ - 'ConfigRuleId' => [ - 'description' => 'The rule ID.', - 'type' => 'string', - 'title' => '', - 'example' => 'cr-a260626622af0005****', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'title' => '', - 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', - ], + 'ConfigRuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => 'cr-a260626622af0005****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751', 'title' => ''], ], 'title' => '', 'example' => '', @@ -36273,53 +21148,25 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ExceedMaxRuleCount', - 'errorMessage' => 'The maximum number of rules is exceeded.', - 'description' => '', - ], - [ - 'errorCode' => 'ConfigRuleNotExists', - 'errorMessage' => 'The ConfigRule does not exist.', - 'description' => 'The rule does not exist.', - ], - [ - 'errorCode' => 'ConfigRuleExists', - 'errorMessage' => 'The ConfigRule already exists.', - 'description' => '', - ], + ['errorCode' => 'ExceedMaxRuleCount', 'errorMessage' => 'The maximum number of rules is exceeded.', 'description' => ''], + ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => 'The rule does not exist.'], + ['errorCode' => 'ConfigRuleExists', 'errorMessage' => 'The ConfigRule already exists.', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'UpdateConfigRule', - 'summary' => 'Modifies the description, input parameters, and risk level of a rule.', - 'description' => 'This topic provides an example of how to change the risk level of the rule `cr-a260626622af0005****` to `3` (low risk).', + 'description' => 'This topic shows how to change the risk level of rule `cr-a260626622af0005****` to `3`, which indicates low risk.', 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'UpdateConfigRule', - ], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateConfigRule'], ], ], 'ramActions' => [ @@ -36330,12 +21177,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Rule', - 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}'], ], ], ], @@ -36344,13 +21186,8 @@ ], 'UpdateConfigurationRecorder' => [ 'summary' => 'Modifies the resource monitoring scope of the current account.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -36362,24 +21199,14 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfig56XT35', - 'FEATUREconfigI0TIO6', - ], + 'abilityTreeNodes' => ['FEATUREconfig56XT35', 'FEATUREconfigI0TIO6'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ResourceTypes', 'in' => 'formData', - 'schema' => [ - 'description' => 'The resource types. Separate multiple resource types with commas (,).'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ACS::ECS::Instance', - 'title' => '', - ], + 'schema' => ['description' => 'The resource types. Separate multiple resource types with commas (,).'."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ACS::ECS::Instance', 'title' => ''], ], ], 'responses' => [ @@ -36387,36 +21214,21 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '2A1D5095-D1F9-56B6-A712-EA495608E79A', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '2A1D5095-D1F9-56B6-A712-EA495608E79A', 'title' => ''], 'ConfigurationRecorder' => [ 'description' => 'The details of the configuration recorder.'."\n", 'type' => 'object', 'properties' => [ - 'ConfigurationRecorderStatus' => [ - 'description' => 'The status of the configuration recorder. Valid values:'."\n" - ."\n" - .'* REGISTRABLE: The configuration recorder has not been registered.'."\n" - .'* BUILDING: The configuration recorder is being deployed.'."\n" - .'* REGISTERED: The configuration recorder has been registered.'."\n" - .'* REBUILDING: The configuration recorder is being redeployed.'."\n", - 'type' => 'string', - 'example' => 'REGISTERED', - 'title' => '', - ], + 'ConfigurationRecorderStatus' => ['description' => 'The status of the configuration recorder. Valid values:'."\n" + ."\n" + .'* REGISTRABLE: The configuration recorder has not been registered.'."\n" + .'* BUILDING: The configuration recorder is being deployed.'."\n" + .'* REGISTERED: The configuration recorder has been registered.'."\n" + .'* REBUILDING: The configuration recorder is being redeployed.'."\n", 'type' => 'string', 'example' => 'REGISTERED', 'title' => ''], 'ResourceTypes' => [ 'description' => 'The types of the resources that are monitored by Cloud Config.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The resource type.'."\n", - 'type' => 'string', - 'example' => 'ACS::ECS::Instance', - 'title' => '', - ], + 'items' => ['description' => 'The resource type.'."\n", 'type' => 'string', 'example' => 'ACS::ECS::Instance', 'title' => ''], 'title' => '', 'example' => '', ], @@ -36433,28 +21245,12 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation.', - 'description' => 'You are not authorized to perform this operation.', - ], - [ - 'errorCode' => 'Invalid.ResourceTypes.Value', - 'errorMessage' => 'The specified resourceTypes is invalid.', - 'description' => 'The specified resourceTypes is invalid.', - ], - [ - 'errorCode' => 'ProcessIsRunning', - 'errorMessage' => 'The process is running.', - 'description' => 'The process is running.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => 'You are not authorized to perform this operation.'], + ['errorCode' => 'Invalid.ResourceTypes.Value', 'errorMessage' => 'The specified resourceTypes is invalid.', 'description' => 'The specified resourceTypes is invalid.'], + ['errorCode' => 'ProcessIsRunning', 'errorMessage' => 'The process is running.', 'description' => 'The process is running.'], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2A1D5095-D1F9-56B6-A712-EA495608E79A\\",\\n \\"ConfigurationRecorder\\": {\\n \\"ConfigurationRecorderStatus\\": \\"REGISTERED\\",\\n \\"ResourceTypes\\": [\\n \\"ACS::ECS::Instance\\"\\n ]\\n }\\n}","type":"json"}]', @@ -36469,36 +21265,21 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'UpdateConfigurationRecorder', - ], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateConfigurationRecorder'], ], ], ], 'UpdateIntegratedServiceStatus' => [ 'summary' => 'Enables or disables the integration of a cloud service.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -36510,69 +21291,41 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigL91U0A', - ], + 'abilityTreeNodes' => ['FEATUREconfigL91U0A'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ServiceCode', 'in' => 'formData', - 'schema' => [ - 'title' => '', - 'description' => 'The identity of the cloud service that is integrated with Cloud Config. Valid values:'."\n" - ."\n" - .'* eventbridge: EventBridge'."\n" - .'* cms: CloudMonitor'."\n" - .'* bpstudio: Cloud Architect Design Tools'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => false, - 'example' => 'bpstudio', - ], + 'schema' => ['title' => '', 'description' => 'The identity of the cloud service that is integrated with Cloud Config. Valid values:'."\n" + ."\n" + .'* eventbridge: EventBridge'."\n" + .'* cms: CloudMonitor'."\n" + .'* bpstudio: Cloud Architect Design Tools'."\n", 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'bpstudio'], ], [ 'name' => 'Status', 'in' => 'formData', - 'schema' => [ - 'title' => '', - 'description' => 'Specifies whether you want the product to be integrated. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'required' => true, - 'docRequired' => false, - 'example' => 'true', - ], + 'schema' => ['title' => '', 'description' => 'Specifies whether you want the product to be integrated. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", 'type' => 'boolean', 'required' => true, 'docRequired' => false, 'example' => 'true'], ], [ 'name' => 'IntegratedTypes', 'in' => 'formData', - 'schema' => [ - 'description' => 'The types of the integrated events. Separate multiple event types with commas (,). Valid values:'."\n" - ."\n" - .'* ConfigurationItemChangeNotification: resource change event'."\n" - .'* NonCompliantNotification: non-compliance event'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'NonCompliantNotification', - 'title' => '', - ], + 'schema' => ['description' => 'The types of the integrated events. Separate multiple event types with commas (,). Valid values:'."\n" + ."\n" + .'* ConfigurationItemChangeNotification: resource change event'."\n" + .'* NonCompliantNotification: non-compliance event'."\n", 'type' => 'string', 'required' => false, 'example' => 'NonCompliantNotification', 'title' => ''], ], [ 'name' => 'AggregatorDeliveryDataType', 'in' => 'formData', - 'schema' => [ - 'description' => 'The type of the event that is integrated across accounts. Valid values:'."\n" - ."\n" - .'* NonCompliantNotification: non-compliance event'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'NonCompliantNotification', - 'title' => '', - ], + 'schema' => ['description' => 'The type of the event that is integrated across accounts. Valid values:'."\n" + ."\n" + .'* NonCompliantNotification: non-compliance event'."\n", 'type' => 'string', 'required' => false, 'example' => 'NonCompliantNotification', 'title' => ''], ], ], 'responses' => [ @@ -36580,12 +21333,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '02EB7638-B029-5ABB-93F5-A2ABEEAC282D', - 'title' => '', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '02EB7638-B029-5ABB-93F5-A2ABEEAC282D', 'title' => ''], ], 'description' => '', 'title' => '', @@ -36595,18 +21343,10 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'IntegratedDeliveryNotSupported', - 'errorMessage' => 'Current integrated delivery channels only support delivering content NonCompliantNotification via cms or eventbridge.', - 'description' => 'Current integrated delivery channels only support delivering content NonCompliantNotification via cms or eventbridge.', - ], + ['errorCode' => 'IntegratedDeliveryNotSupported', 'errorMessage' => 'Current integrated delivery channels only support delivering content NonCompliantNotification via cms or eventbridge.', 'description' => 'Current integrated delivery channels only support delivering content NonCompliantNotification via cms or eventbridge.'], ], 404 => [ - [ - 'errorCode' => 'AccountNotExisted', - 'errorMessage' => 'Your account does not exist.', - 'description' => '', - ], + ['errorCode' => 'AccountNotExisted', 'errorMessage' => 'Your account does not exist.', 'description' => ''], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"02EB7638-B029-5ABB-93F5-A2ABEEAC282D\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateIntegratedServiceStatusResponse>\\n <RequestId>02EB7638-B029-5ABB-93F5-A2ABEEAC282D</RequestId>\\n</UpdateIntegratedServiceStatusResponse>","errorExample":""}]', @@ -36615,12 +21355,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'UpdateIntegratedServiceStatus', - ], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateIntegratedServiceStatus'], ], ], 'ramActions' => [ @@ -36631,12 +21366,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -36644,13 +21374,8 @@ ], 'UpdateRemediation' => [ 'summary' => 'Updates the specified remediation setting.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -36662,113 +21387,65 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigOH65M0', - ], + 'abilityTreeNodes' => ['FEATUREconfigOH65M0'], ], 'parameters' => [ [ 'name' => 'RemediationId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the remediation setting.'."\n" - ."\n" - .'For more information about how to obtain the ID of a remediation setting, see [ListRemediations](~~270772~~).', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'crr-909ba2d4716700eb****', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the remediation setting.'."\n" + ."\n" + .'For more information about how to obtain the ID of a remediation setting, see [ListRemediations](~~270772~~).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'crr-909ba2d4716700eb****', 'title' => ''], ], [ 'name' => 'RemediationType', 'in' => 'formData', - 'schema' => [ - 'description' => 'The type of the remediation. Valid values:'."\n" - ."\n" - .'- OOS: Operation Orchestration Service (template-based remediation).'."\n" - ."\n" - .'- FC: Function Compute (custom remediation).', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'OOS', - 'title' => '', - ], + 'schema' => ['description' => 'The type of the remediation. Valid values:'."\n" + ."\n" + .'- OOS: Operation Orchestration Service (template-based remediation).'."\n" + ."\n" + .'- FC: Function Compute (custom remediation).', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'OOS', 'title' => ''], ], [ 'name' => 'RemediationTemplateId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the remediation template.'."\n" - ."\n" - .'For more information about how to obtain the ID of a remediation template, see [ListRemediationTemplates](~~270066~~).', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'ACS-OSS-PutBucketAcl', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the remediation template.'."\n" + ."\n" + .'For more information about how to obtain the ID of a remediation template, see [ListRemediationTemplates](~~270066~~).', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'ACS-OSS-PutBucketAcl', 'title' => ''], ], [ 'name' => 'InvokeType', 'in' => 'formData', - 'schema' => [ - 'description' => 'The execution mode of the remediation. Valid values:'."\n" - ."\n" - .'- NON\\_EXECUTION: The remediation is not executed.'."\n" - ."\n" - .'- AUTO\\_EXECUTION: The remediation is automatically executed.'."\n" - ."\n" - .'- MANUAL\\_EXECUTION: The remediation is manually executed.'."\n" - ."\n" - .'- NOT\\_CONFIG: The execution mode is not specified.', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'AUTO_EXECUTION', - 'title' => '', - ], + 'schema' => ['description' => 'The execution mode of the remediation. Valid values:'."\n" + ."\n" + .'- NON\\_EXECUTION: The remediation is not executed.'."\n" + ."\n" + .'- AUTO\\_EXECUTION: The remediation is automatically executed.'."\n" + ."\n" + .'- MANUAL\\_EXECUTION: The remediation is manually executed.'."\n" + ."\n" + .'- NOT\\_CONFIG: The execution mode is not specified.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'AUTO_EXECUTION', 'title' => ''], ], [ 'name' => 'SourceType', 'in' => 'formData', - 'schema' => [ - 'description' => 'The source of the remediation. Valid values:'."\n" - ."\n" - .'- ALIYUN: official remediation.'."\n" - ."\n" - .'- CUSTOM: custom remediation.'."\n" - ."\n" - .'- NONE: none.', - 'type' => 'string', - 'required' => false, - 'example' => 'ALIYUN', - 'title' => '', - ], + 'schema' => ['description' => 'The source of the remediation. Valid values:'."\n" + ."\n" + .'- ALIYUN: official remediation.'."\n" + ."\n" + .'- CUSTOM: custom remediation.'."\n" + ."\n" + .'- NONE: none.', 'type' => 'string', 'required' => false, 'example' => 'ALIYUN', 'title' => ''], ], [ 'name' => 'Params', 'in' => 'formData', - 'schema' => [ - 'description' => 'The parameters of the remediation setting.', - 'type' => 'string', - 'required' => false, - 'example' => '{"properties":[{"name":"regionId","type":"STRING","value":"{regionId}","allowedValues":[]},{"name":"bucketName","type":"STRING","value":"{resourceId}","allowedValues":[],"description":"OSS Bucket名称。"},{"name":"permissionName","type":"STRING","value":"private","allowedValues":["public-read-write","public-read","private"],"description":"ACL权限名称。"}]}', - 'title' => '', - ], + 'schema' => ['description' => 'The parameters of the remediation setting.', 'type' => 'string', 'required' => false, 'example' => '{"properties":[{"name":"regionId","type":"STRING","value":"{regionId}","allowedValues":[]},{"name":"bucketName","type":"STRING","value":"{resourceId}","allowedValues":[],"description":"OSS Bucket名称。"},{"name":"permissionName","type":"STRING","value":"private","allowedValues":["public-read-write","public-read","private"],"description":"ACL权限名称。"}]}', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => 'A client token that is used to ensure the idempotence of the request. Generate a token that is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.', - 'type' => 'string', - 'title' => '', - 'required' => false, - 'example' => '2014295338-e7361358-5822-4276-8d30-b5183fac****', - ], + 'schema' => ['description' => 'A client token that is used to ensure the idempotence of the request. Generate a token that is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2014295338-e7361358-5822-4276-8d30-b5183fac****'], ], ], 'responses' => [ @@ -36777,18 +21454,8 @@ 'description' => 'No content is returned.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2', - 'title' => '', - ], - 'RemediationId' => [ - 'description' => 'The ID of the remediation setting.', - 'type' => 'string', - 'example' => 'crr-7c2ba2d0236700a3****', - 'title' => '', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2', 'title' => ''], + 'RemediationId' => ['description' => 'The ID of the remediation setting.', 'type' => 'string', 'example' => 'crr-7c2ba2d0236700a3****', 'title' => ''], ], 'title' => '', 'example' => '', @@ -36797,40 +21464,16 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConfigRuleNotExists', - 'errorMessage' => 'The ConfigRule does not exist.', - 'description' => 'The rule does not exist.', - ], - [ - 'errorCode' => 'RDMemberNoPermission', - 'errorMessage' => 'You are not authorized to perform the operation. The reasons include: 1. You have not enabled the resource directory service. 2. You are not using the administrator account of resource directory.', - 'description' => 'You are not authorized to perform the operation. The reasons include:'."\n" - .'1. You have not enabled the resource directory service.'."\n" - .'2. You are not using the administrator account of resource directory.', - ], - [ - 'errorCode' => 'RemediationInputParamInConsistentWithRule', - 'errorMessage' => 'The remediation parameter does not match the rule parameter.', - 'description' => 'The remediation parameter does not match the rule parameter.', - ], - [ - 'errorCode' => 'RemediationTemplateNotExist', - 'errorMessage' => 'The remediation template does not exist or is invalid.', - 'description' => 'The remediation template does not exist or is invalid.', - ], - [ - 'errorCode' => 'Invalid.Params.Value', - 'errorMessage' => 'The specified parameter value is invalid.', - 'description' => 'The specified parameter value is invalid.', - ], + ['errorCode' => 'ConfigRuleNotExists', 'errorMessage' => 'The ConfigRule does not exist.', 'description' => 'The rule does not exist.'], + ['errorCode' => 'RDMemberNoPermission', 'errorMessage' => 'You are not authorized to perform the operation. The reasons include: 1. You have not enabled the resource directory service. 2. You are not using the administrator account of resource directory.', 'description' => 'You are not authorized to perform the operation. The reasons include:'."\n" + .'1. You have not enabled the resource directory service.'."\n" + .'2. You are not using the administrator account of resource directory.'], + ['errorCode' => 'RemediationInputParamInConsistentWithRule', 'errorMessage' => 'The remediation parameter does not match the rule parameter.', 'description' => 'The remediation parameter does not match the rule parameter.'], + ['errorCode' => 'RemediationTemplateNotExist', 'errorMessage' => 'The remediation template does not exist or is invalid.', 'description' => 'The remediation template does not exist or is invalid.'], + ['errorCode' => 'Invalid.Params.Value', 'errorMessage' => 'The specified parameter value is invalid.', 'description' => 'The specified parameter value is invalid.'], ], 403 => [ - [ - 'errorCode' => 'NoPermissionCreateRemediationSLR', - 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.', - 'description' => 'You have no permission to create the service-linked role: AliyunServiceRoleForConfigRemediation.', - ], + ['errorCode' => 'NoPermissionCreateRemediationSLR', 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.', 'description' => 'You have no permission to create the service-linked role: AliyunServiceRoleForConfigRemediation.'], ], ], 'title' => 'UpdateRemediation', @@ -36839,12 +21482,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'UpdateRemediation', - ], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateRemediation'], ], ], 'ramActions' => [ @@ -36855,12 +21493,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -36869,12 +21502,8 @@ ], 'UpdateReportTemplate' => [ 'summary' => 'Updates a compliance report template.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -36886,124 +21515,75 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREconfigZWSOST', - ], + 'abilityTreeNodes' => ['FEATUREconfigZWSOST'], ], 'parameters' => [ [ 'name' => 'ReportTemplateName', 'in' => 'formData', - 'schema' => [ - 'description' => 'The name of the report template.', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'maxLength' => 100, - 'example' => 'test-name', - 'title' => '', - ], + 'schema' => ['description' => 'The name of the report template.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'maxLength' => 100, 'example' => 'test-name', 'title' => ''], ], [ 'name' => 'ReportTemplateId', 'in' => 'formData', - 'schema' => [ - 'description' => 'The ID of the report template.', - 'type' => 'string', - 'required' => true, - 'docRequired' => false, - 'example' => 'crt-xxx', - 'title' => '', - ], + 'schema' => ['description' => 'The ID of the report template.', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'crt-xxx', 'title' => ''], ], [ 'name' => 'ReportTemplateDescription', 'in' => 'formData', - 'schema' => [ - 'description' => 'The description of the report template.', - 'type' => 'string', - 'maxLength' => 500, - 'required' => false, - 'example' => 'test-description', - 'title' => '', - ], + 'schema' => ['description' => 'The description of the report template.', 'type' => 'string', 'maxLength' => 500, 'required' => false, 'example' => 'test-description', 'title' => ''], ], [ 'name' => 'ReportLanguage', 'in' => 'formData', - 'schema' => [ - 'description' => 'The language of the report. Valid values: zh-CN and en-US. If you leave this parameter empty, the default value en-US is used.', - 'type' => 'string', - 'maxLength' => 500, - 'required' => false, - 'example' => 'en-US', - 'title' => '', - ], + 'schema' => ['description' => 'The language of the report. Valid values: zh-CN and en-US. If you leave this parameter empty, the default value en-US is used.', 'type' => 'string', 'maxLength' => 500, 'required' => false, 'example' => 'en-US', 'title' => ''], ], [ 'name' => 'ReportGranularity', 'in' => 'formData', - 'schema' => [ - 'description' => 'The aggregation granularity of the report.'."\n" - ."\n" - .'For a management account, the following values are supported:'."\n" - ."\n" - .'- AllInOne: A single report is generated for all accounts within the template scope.'."\n" - ."\n" - .'- GroupByAggregator: Reports are aggregated by account group. A compressed file is generated.'."\n" - ."\n" - .'- GroupByAccount: A separate report is generated for each account. This is the default value. A compressed file is generated.'."\n" - ."\n" - .'For a member account, only GroupByAccount is supported.', - 'type' => 'string', - 'required' => false, - 'example' => 'AllInOne', - 'title' => '', - ], + 'schema' => ['description' => 'The aggregation granularity of the report.'."\n" + ."\n" + .'For a management account, the following values are supported:'."\n" + ."\n" + .'- AllInOne: A single report is generated for all accounts within the template scope.'."\n" + ."\n" + .'- GroupByAggregator: Reports are aggregated by account group. A compressed file is generated.'."\n" + ."\n" + .'- GroupByAccount: A separate report is generated for each account. This is the default value. A compressed file is generated.'."\n" + ."\n" + .'For a member account, only GroupByAccount is supported.', 'type' => 'string', 'required' => false, 'example' => 'AllInOne', 'title' => ''], ], [ 'name' => 'ReportFileFormats', 'in' => 'formData', - 'schema' => [ - 'description' => 'The format of the report.', - 'type' => 'string', - 'required' => false, - 'example' => 'excel', - 'title' => '', - ], + 'schema' => ['description' => 'The format of the report.', 'type' => 'string', 'required' => false, 'example' => 'excel', 'title' => ''], ], [ 'name' => 'SubscriptionFrequency', 'in' => 'formData', - 'schema' => [ - 'description' => 'The frequency for subscribing to the report. If this parameter is not empty, it specifies a cron expression in the Quartz format that triggers a subscription notification.'."\n" - ."\n" - .'The format is: Second Minute Hour Day Month Week. The following list provides common examples of cron expressions:'."\n" - ."\n" - .'- To run at 00:00 every day: 0 0 0 \\* \\* ?'."\n" - ."\n" - .'- To run at 15:30 every Monday: 0 30 15 ? \\* MON'."\n" - ."\n" - .'- To run at 02:00 on the first day of every month: 0 0 2 1 \\* ?'."\n" - ."\n" - .'Where:'."\n" - ."\n" - .'- "\\*" indicates any value.'."\n" - ."\n" - .'- ? is used in the Day and Week fields and indicates that no specific value is specified.'."\n" - ."\n" - .'- MON indicates Monday.'."\n" - ."\n" - .'> The trigger time is in UTC+8. You can convert the cron expression based on your time zone.'."\n" - ."\n" - .'> The system attempts to trigger the notification at the time specified by the cron expression. However, a delay may occur due to the report generation status. The cron expression limits the notification for the same template to a maximum of once per day.'."\n" - ."\n" - .'> In addition to using MON for Monday, you can also use numbers. In the Quartz framework, 1 represents Sunday, 2 represents Monday, 3 represents Tuesday, 4 represents Wednesday, 5 represents Thursday, 6 represents Friday, and 7 represents Saturday.', - 'type' => 'string', - 'required' => false, - 'example' => '0 0 0 * * ?', - 'title' => '', - ], + 'schema' => ['description' => 'The frequency for subscribing to the report. If this parameter is not empty, it specifies a cron expression in the Quartz format that triggers a subscription notification.'."\n" + ."\n" + .'The format is: Second Minute Hour Day Month Week. The following list provides common examples of cron expressions:'."\n" + ."\n" + .'- To run at 00:00 every day: 0 0 0 \\* \\* ?'."\n" + ."\n" + .'- To run at 15:30 every Monday: 0 30 15 ? \\* MON'."\n" + ."\n" + .'- To run at 02:00 on the first day of every month: 0 0 2 1 \\* ?'."\n" + ."\n" + .'Where:'."\n" + ."\n" + .'- "\\*" indicates any value.'."\n" + ."\n" + .'- ? is used in the Day and Week fields and indicates that no specific value is specified.'."\n" + ."\n" + .'- MON indicates Monday.'."\n" + ."\n" + .'> The trigger time is in UTC+8. You can convert the cron expression based on your time zone.'."\n" + ."\n" + .'> The system attempts to trigger the notification at the time specified by the cron expression. However, a delay may occur due to the report generation status. The cron expression limits the notification for the same template to a maximum of once per day.'."\n" + ."\n" + .'> In addition to using MON for Monday, you can also use numbers. In the Quartz framework, 1 represents Sunday, 2 represents Monday, 3 represents Tuesday, 4 represents Wednesday, 5 represents Thursday, 6 represents Friday, and 7 represents Saturday.', 'type' => 'string', 'required' => false, 'example' => '0 0 0 * * ?', 'title' => ''], ], [ 'name' => 'ReportScope', @@ -37019,33 +21599,15 @@ 'description' => 'The report scope.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => 'The key of the report scope. Supported values:'."\n" - ."\n" - .'- AggregatorId'."\n" - ."\n" - .'- CompliancePackId'."\n" - ."\n" - .'- RuleId', - 'type' => 'string', - 'required' => false, - 'example' => 'RuleId', - 'title' => '', - ], - 'Value' => [ - 'description' => 'The value of the report scope. To specify multiple items of the same type, such as multiple rule IDs, separate them with commas (,).', - 'type' => 'string', - 'required' => false, - 'example' => 'cr-1,cr-2', - 'title' => '', - ], - 'MatchType' => [ - 'description' => 'The matching logic. Only In is supported.', - 'type' => 'string', - 'required' => false, - 'example' => 'In', - 'title' => '', - ], + 'Key' => ['description' => 'The key of the report scope. Supported values:'."\n" + ."\n" + .'- AggregatorId'."\n" + ."\n" + .'- CompliancePackId'."\n" + ."\n" + .'- RuleId', 'type' => 'string', 'required' => false, 'example' => 'RuleId', 'title' => ''], + 'Value' => ['description' => 'The value of the report scope. To specify multiple items of the same type, such as multiple rule IDs, separate them with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'cr-1,cr-2', 'title' => ''], + 'MatchType' => ['description' => 'The matching logic. Only In is supported.', 'type' => 'string', 'required' => false, 'example' => 'In', 'title' => ''], ], 'required' => false, 'title' => '', @@ -37063,18 +21625,8 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'ReportTemplateId' => [ - 'description' => 'The ID of the report template.', - 'type' => 'string', - 'example' => 'crt-xxx', - 'title' => '', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7', - 'title' => '', - ], + 'ReportTemplateId' => ['description' => 'The ID of the report template.', 'type' => 'string', 'example' => 'crt-xxx', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7', 'title' => ''], ], 'title' => '', 'example' => '', @@ -37083,16 +21635,10 @@ ], 'errorCodes' => [ 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - 'description' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => 'The request has failed due to a temporary failure of the server.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Update Compliance Report template', 'changeSet' => [], 'flowControl' => [ @@ -37103,1450 +21649,257 @@ ], ], 'endpoints' => [ - [ - 'regionId' => 'ap-southeast-1', - 'regionName' => 'Singapore', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'config.ap-southeast-1.aliyuncs.com', - 'endpoint' => 'config.ap-southeast-1.aliyuncs.com', - 'vpc' => 'config-vpc.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'regionName' => 'China (Shanghai)', - 'areaId' => 'asiaPacific', - 'areaName' => 'Asia Pacific', - 'public' => 'config.cn-shanghai.aliyuncs.com', - 'endpoint' => 'config.cn-shanghai.aliyuncs.com', - 'vpc' => 'config-vpc.cn-shanghai.aliyuncs.com', - ], + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'config.cn-shanghai.aliyuncs.com', 'endpoint' => 'config.cn-shanghai.aliyuncs.com', 'vpc' => 'config-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'config.ap-southeast-1.aliyuncs.com', 'endpoint' => 'config.ap-southeast-1.aliyuncs.com', 'vpc' => 'config-vpc.ap-southeast-1.aliyuncs.com'], ], 'errorCodes' => [ - [ - 'code' => 'AccountNotExisted', - 'message' => 'Your account is not existed.', - 'http_code' => 400, - 'description' => 'Your account does not exist.', - ], - [ - 'code' => 'AdminStopSLRFail', - 'message' => 'The administrator account is prohibited from closing the service without completely removing the aggregators.', - 'http_code' => 400, - 'description' => 'The administrator account is not allowed to deactivate the service if the account group is not completely deleted.', - ], - [ - 'code' => 'AggregatorAccountExceedMaxCount', - 'message' => 'The maximum number of aggregator account is exceeded.', - 'http_code' => 400, - 'description' => 'The maximum number of aggregator account is exceeded.', - ], - [ - 'code' => 'AggregatorAccountListDuplicated', - 'message' => 'The aggregator account list is duplicated.', - 'http_code' => 400, - 'description' => 'The aggregator account list is duplicated.', - ], - [ - 'code' => 'AggregatorAccountListItemDuplicated', - 'message' => 'The aggregator account list item is duplicated.', - 'http_code' => 400, - 'description' => 'The aggregator account list item is duplicated.', - ], - [ - 'code' => 'AggregatorAlreadyPending', - 'message' => 'The aggregator has a pending operation and cannot be updated.', - 'http_code' => 400, - 'description' => 'The aggregator has a pending operation and cannot be updated.', - ], - [ - 'code' => 'AggregatorExceedMaxCount', - 'message' => 'The maximum number of aggregator is exceeded.', - 'http_code' => 400, - 'description' => 'The maximum number of aggregator is exceeded.', - ], - [ - 'code' => 'AggregatorMemberNoPermission', - 'message' => 'The aggregator member is not authorized to perform the operation.', - 'http_code' => 403, - 'description' => 'The aggregator member is not authorized to perform the operation.', - ], - [ - 'code' => 'AggregatorNameDuplicated', - 'message' => 'The aggregator name is duplicated.', - 'http_code' => 400, - 'description' => 'The aggregator name is duplicated.', - ], - [ - 'code' => 'CompliancePackAlreadyPending', - 'message' => 'The compliance pack has a pending operation and cannot be updated.', - 'http_code' => 400, - 'description' => 'The compliance pack has a pending operation and cannot be updated.', - ], - [ - 'code' => 'CompliancePackCopyLimit', - 'message' => 'The number of replication compliance packages must be less or equal than 5.', - 'http_code' => 400, - 'description' => 'The number of copies of compliance packages must be less than or equal to 5.', - ], - [ - 'code' => 'CompliancePackExists', - 'message' => 'The compliance pack already exists.', - 'http_code' => 400, - 'description' => 'The compliance pack name already exists.', - ], - [ - 'code' => 'ConfigExceedMaxQuotaCount', - 'message' => 'Exceed max quota, need to modify in quota center .', - 'http_code' => 400, - 'description' => 'Quota exceeded limit, need to modify in quota center', - ], - [ - 'code' => 'ConfigRuleCopyLimit', - 'message' => 'The number of replication config rule must be less or equal than 100.', - 'http_code' => 400, - 'description' => 'The number of times that you can copy a rule is equal to or less than 100.', - ], - [ - 'code' => 'ConfigRuleNotExists', - 'message' => 'The ConfigRule does not exist.', - 'http_code' => 400, - 'description' => 'The rule does not exist.', - ], - [ - 'code' => 'ConfigRulePendingCanNotUpdate', - 'message' => 'ConfigRule is pending and cannot be updated.', - 'http_code' => 400, - 'description' => 'ConfigRule is pending and cannot be updated.', - ], - [ - 'code' => 'ConfigRuleReportCreating', - 'message' => 'The config rule report is being created.', - 'http_code' => 400, - 'description' => 'The config rule report is being created.', - ], - [ - 'code' => 'ConfigRuleStatusNotActive', - 'message' => 'The ConfigRule is inactive.', - 'http_code' => 400, - 'description' => 'The ConfigRule is inactive.', - ], - [ - 'code' => 'ConfigRuleStatusNotActive', - 'message' => 'The status of the config rule is not active.', - 'http_code' => 400, - 'description' => 'The status of the config rule is not active.', - ], - [ - 'code' => 'ConfigRuleStatusNotInActive', - 'message' => 'The status of the config rule is not inactive.', - 'http_code' => 400, - 'description' => 'The status of the config rule is not inactive.', - ], - [ - 'code' => 'ConfigServiceNotEnabled', - 'message' => 'The Cloud Config service is not activated.', - 'http_code' => 404, - 'description' => 'The Cloud Config service is not activated.', - ], - [ - 'code' => 'CreateSLRFail', - 'message' => 'Failed to create SLR.', - 'http_code' => 500, - 'description' => 'Failed to create SLR.', - ], - [ - 'code' => 'DeliveryChannelAccountNotSupport', - 'message' => 'Cross-account delivery that is not in the RD is not supported.', - 'http_code' => 400, - 'description' => 'Cross-account delivery that is not in the RD is not supported.', - ], - [ - 'code' => 'DeliveryChannelMnsUnreachable', - 'message' => 'The MNS topic is unreachable.', - 'http_code' => 400, - 'description' => 'The MNS topic is unreachable.', - ], - [ - 'code' => 'DeliveryChannelNotExists', - 'message' => 'The delivery channel does not exist.', - 'http_code' => 400, - 'description' => 'The delivery channel does not exist.', - ], - [ - 'code' => 'DeliveryChannelOssUnreachable', - 'message' => 'The OSS bucket is unreachable.', - 'http_code' => 400, - 'description' => 'The OSS bucket is unreachable.', - ], - [ - 'code' => 'DeliveryChannelTargetAlreadyUsed', - 'message' => 'Delivery channel target already used.', - 'http_code' => 400, - 'description' => 'Target delivery channel already in use', - ], - [ - 'code' => 'EnterpriseEditionAllResourceTypesDefault', - 'message' => 'The Enterprise Edition monitor all resource types by default.', - 'http_code' => 400, - 'description' => 'The Enterprise Edition monitors all resource types by default.', - ], - [ - 'code' => 'ExistsChannelResourcesInAggregator', - 'message' => 'Exists some channel resources in the aggregator.', - 'http_code' => 400, - 'description' => 'There are some channel rules in the account group', - ], - [ - 'code' => 'IntegratedDeliveryNotSupported', - 'message' => 'Current integrated delivery channels only support delivering content NonCompliantNotification via cms or eventbridge.', - 'http_code' => 400, - 'description' => 'Current integrated delivery channels only support delivering content NonCompliantNotification via cms or eventbridge.', - ], - [ - 'code' => 'Invalid.AccountType.Value', - 'message' => 'The specified AccountType is invalid.', - 'http_code' => 400, - 'description' => 'The specified account type is invalid.', - ], - [ - 'code' => 'Invalid.AggregatorAccounts.Empty', - 'message' => 'You must specify AggregatorAccounts.', - 'http_code' => 400, - 'description' => 'You must specify AggregatorAccounts.', - ], - [ - 'code' => 'Invalid.AggregatorAccounts.SizeExceed', - 'message' => 'The maximum number of AggregatorAccounts is 200.', - 'http_code' => 400, - 'description' => 'The maximum number of AggregatorAccounts is 200.', - ], - [ - 'code' => 'Invalid.AggregatorAccounts.Value', - 'message' => 'The specified AggregatorAccounts is invalid.', - 'http_code' => 400, - 'description' => 'The specified AggregatorAccounts is invalid.', - ], - [ - 'code' => 'Invalid.AggregatorId.Value', - 'message' => 'The specified AggregatorId is invalid.', - 'http_code' => 400, - 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.', - ], - [ - 'code' => 'Invalid.AggregatorIds.Empty', - 'message' => 'You must specify AggregatorIds.', - 'http_code' => 400, - 'description' => 'You must specify AggregatorIds.', - ], - [ - 'code' => 'Invalid.AggregatorIds.SizeExceed', - 'message' => 'The maximum number of AggregatorIds is 5.', - 'http_code' => 400, - 'description' => 'The maximum number of AggregatorIds is 5.', - ], - [ - 'code' => 'Invalid.Api.Value', - 'message' => 'Specified Api value is not valid.', - 'http_code' => 400, - 'description' => 'The request parameter that you specified for the API operation is invalid.', - ], - [ - 'code' => 'Invalid.Arn.Format', - 'message' => 'Your ARN is not in the correct format.', - 'http_code' => 400, - 'description' => 'Your ARN is not in the correct format.', - ], - [ - 'code' => 'Invalid.AssumeRoleArn.Empty', - 'message' => 'You must specify AssumeRoleArn.', - 'http_code' => 400, - 'description' => 'You must specify AssumeRoleArn.', - ], - [ - 'code' => 'Invalid.AssumeRoleArn.Format', - 'message' => 'The specified format of AssumeRoleArn is invalid.', - 'http_code' => 400, - 'description' => 'The specified format of AssumeRoleArn is invalid.', - ], - [ - 'code' => 'Invalid.ClientToken.Value', - 'message' => 'Your ClientToken field value is not valid.', - 'http_code' => 400, - 'description' => 'Your ClientToken field value is not valid.', - ], - [ - 'code' => 'Invalid.CompliancePackId.Value', - 'message' => 'The specified CompliancePackId does not exist.', - 'http_code' => 400, - 'description' => 'The specified compliance pack ID does not exist.', - ], - [ - 'code' => 'Invalid.CompliancePackIds.SizeExceed', - 'message' => 'The maximum number of CompliancePackIds is 5.', - 'http_code' => 400, - 'description' => 'The maximum number of compliance pack ID is 5.', - ], - [ - 'code' => 'Invalid.CompliancePackName.Empty', - 'message' => 'You must specify CompliancePackName.', - 'http_code' => 400, - 'description' => 'You must specify compliance pack name.', - ], - [ - 'code' => 'Invalid.CompliancePackName.Value', - 'message' => 'The specified CompliancePackName is invalid.', - 'http_code' => 400, - 'description' => 'The specified compliance pack name is invalid.', - ], - [ - 'code' => 'Invalid.CompliancePackTemplateId.Value', - 'message' => 'The specified CompliancePackTemplateId does not exist.', - 'http_code' => 400, - 'description' => 'The specified compliance pack template ID does not exist.', - ], - [ - 'code' => 'Invalid.ConfigRuleId.Value', - 'message' => 'Your ConfigRuleId is incorrect.', - 'http_code' => 400, - 'description' => 'You have entered an incorrect ConfigRuleId value.', - ], - [ - 'code' => 'Invalid.ConfigRuleIds.SizeExceed', - 'message' => 'The maximum number of ConfigRuleIds cannot exceed 20.', - 'http_code' => 400, - 'description' => 'The maximum number of ConfigRuleIds cannot exceed 20.', - ], - [ - 'code' => 'Invalid.ConfigRules.Value', - 'message' => 'The specified ConfigRules is invalid.', - 'http_code' => 400, - 'description' => 'The specified ConfigRules is invalid.', - ], - [ - 'code' => 'Invalid.ConfigRuleTriggerTypes.Value', - 'message' => 'Your ConfigRuleTriggerTypes error.', - 'http_code' => 400, - 'description' => 'Rule trigger type error', - ], - [ - 'code' => 'Invalid.Date.Value', - 'message' => 'Specified Date value is not valid.', - 'http_code' => 400, - 'description' => 'The Date parameter that you specified is invalid.', - ], - [ - 'code' => 'Invalid.DeliveryChannelAssumeRoleArn.Empty', - 'message' => 'You must specify DeliveryChannelAssumeRoleArn.', - 'http_code' => 400, - 'description' => 'You must specify DeliveryChannelAssumeRoleArn.', - ], - [ - 'code' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', - 'message' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', - 'http_code' => 400, - 'description' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', - ], - [ - 'code' => 'Invalid.DeliveryChannelCondition.Format', - 'message' => 'The specified format of DeliveryChannelCondition is invalid.', - 'http_code' => 400, - 'description' => 'The specified format of DeliveryChannelCondition is invalid.', - ], - [ - 'code' => 'Invalid.DeliveryChannelTargetArn.Empty', - 'message' => 'You must specify DeliveryChannelTargetArn.', - 'http_code' => 400, - 'description' => 'You must specify DeliveryChannelTargetArn.', - ], - [ - 'code' => 'Invalid.DeliveryChannelTargetArn.Format', - 'message' => 'The specified format of DeliveryChannelTargetArn is invalid.', - 'http_code' => 400, - 'description' => 'The specified format of DeliveryChannelTargetArn is invalid.', - ], - [ - 'code' => 'Invalid.DeliveryChannelTargetArn.Value', - 'message' => 'The target delivery channel ARN value is incorrect.', - 'http_code' => 400, - 'description' => 'The target delivery channel ARN value is incorrect.', - ], - [ - 'code' => 'Invalid.DeliveryChannelType.Empty', - 'message' => 'You must specify DeliveryChannelType.', - 'http_code' => 400, - 'description' => 'You must specify DeliveryChannelType.', - ], - [ - 'code' => 'Invalid.InputParameters.Value', - 'message' => 'The specified parameter is invalid.', - 'http_code' => 400, - 'description' => 'The specified parameter is invalid.', - ], - [ - 'code' => 'Invalid.InputParameters.Value', - 'message' => 'Input parameter error.', - 'http_code' => 400, - 'description' => 'Input parameter error.', - ], - [ - 'code' => 'Invalid.MaximumExecutionFrequency.Empty', - 'message' => 'The maximum rule execution frequency is empty.', - 'http_code' => 400, - 'description' => 'The maximum rule execution frequency is empty.', - ], - [ - 'code' => 'Invalid.MnsArn.Format', - 'message' => 'The specified format of MnsArn is invalid.', - 'http_code' => 400, - 'description' => 'The specified format of MnsArn is invalid.', - ], - [ - 'code' => 'Invalid.MnsFilter.Format', - 'message' => 'The specified format of MnsFilter is invalid.', - 'http_code' => 400, - 'description' => 'The specified format of MnsFilter is invalid.', - ], - [ - 'code' => 'Invalid.OssArn.Format', - 'message' => 'The specified format of OssArn is invalid.', - 'http_code' => 400, - 'description' => 'The specified format of OssArn is invalid.', - ], - [ - 'code' => 'Invalid.OssBucketName.Value', - 'message' => 'The specified OssBucketName does not exist.', - 'http_code' => 400, - 'description' => 'The specified OssBucketName does not exist.', - ], - [ - 'code' => 'Invalid.Params.Value', - 'message' => 'The specified parameter value is invalid.', - 'http_code' => 400, - 'description' => 'The specified parameter value is invalid.', - ], - [ - 'code' => 'Invalid.region.Value', - 'message' => 'Region information is not valid.', - 'http_code' => 400, - 'description' => 'Region information is not valid.', - ], - [ - 'code' => 'Invalid.ResourceAccountId.Empty', - 'message' => 'The resource account ID is empty.', - 'http_code' => 400, - 'description' => 'The resource account ID is empty.', - ], - [ - 'code' => 'Invalid.ResourceId.Value', - 'message' => 'The specified resourceId is invalid.', - 'http_code' => 400, - 'description' => 'The specified resourceId is invalid. ', - ], - [ - 'code' => 'Invalid.ResourceOwnerId.Value', - 'message' => 'The specified ResourceOwnerId is invalid.', - 'http_code' => 400, - 'description' => 'The specified ResourceOwnerId is invalid.', - ], - [ - 'code' => 'Invalid.ResourceType.Empty', - 'message' => 'The resource type cannot be empty.', - 'http_code' => 400, - 'description' => 'The resource type cannot be empty.', - ], - [ - 'code' => 'Invalid.ResourceTypes.Value', - 'message' => 'The specified resourceTypes is invalid.', - 'http_code' => 400, - 'description' => 'The specified resourceTypes is invalid.', - ], - [ - 'code' => 'Invalid.ResourceTypesScope.Value', - 'message' => 'The resource type range value is not valid.', - 'http_code' => 400, - 'description' => 'The resource type range value is not valid.', - ], - [ - 'code' => 'Invalid.SlsArn.Format', - 'message' => 'The specified format of SlsArn is invalid.', - 'http_code' => 400, - 'description' => 'The specified format of SlsArn is invalid.', - ], - [ - 'code' => 'MemberStopSLRFail', - 'message' => 'The member exists in the aggregator, and it is forbidden to close the service.', - 'http_code' => 400, - 'description' => 'The member account exists in the account group. Therefore, Cloud Config cannot be deactivated.', - ], - [ - 'code' => 'NoChannelPermission', - 'message' => 'The current operation has no channel permission.', - 'http_code' => 400, - 'description' => 'The current action is not allowed by the channel.', - ], - [ - 'code' => 'NoData', - 'message' => 'not found data.', - 'http_code' => 404, - 'description' => 'No data', - ], - [ - 'code' => 'NoPermission', - 'message' => 'You are not authorized to perform this operation.', - 'http_code' => 400, - 'description' => 'You are not authorized to perform this operation.', - ], - [ - 'code' => 'NoPermissionCreateAggregator', - 'message' => 'You are not authorized to create the aggregator.', - 'http_code' => 403, - 'description' => 'You are not authorized to create the aggregator.', - ], - [ - 'code' => 'NoPermissionCreateRemediationSLR', - 'message' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.', - 'http_code' => 403, - 'description' => 'You have no permission to create the service-linked role: AliyunServiceRoleForConfigRemediation.', - ], - [ - 'code' => 'ProcessIsRunning', - 'message' => 'The process is running.', - 'http_code' => 400, - 'description' => 'The process is running.', - ], - [ - 'code' => 'RDAggregatorAlreadyExist', - 'message' => 'The resource directory aggregator already exists.', - 'http_code' => 400, - 'description' => 'The resource directory aggregator already exists.', - ], - [ - 'code' => 'RDAggregatorUpdateNotSupport', - 'message' => 'The resource directory aggregator cannot be updated.', - 'http_code' => 400, - 'description' => 'The resource directory aggregator cannot be updated.', - ], - [ - 'code' => 'RDEnableConfigAccessFail', - 'message' => 'Failed to enable Config access Resource Directory.', - 'http_code' => 400, - 'description' => 'Failed to integrate resource directory when activating Enterprise Edition CloudConfig.', - ], - [ - 'code' => 'RDMemberNoPermission', - 'message' => 'You are not authorized to perform the operation. The reasons include: 1. You have not enabled the resource directory service. 2. You are not using the administrator account of resource directory.', - 'http_code' => 400, - 'description' => 'You are not authorized to perform the operation. The reasons include:'."\n" - .'1. You have not enabled the resource directory service.'."\n" - .'2. You are not using the administrator account of resource directory.', - ], - [ - 'code' => 'RemediationInputParamInConsistentWithRule', - 'message' => 'The remediation parameter does not match the rule parameter.', - 'http_code' => 400, - 'description' => 'The remediation parameter does not match the rule parameter.', - ], - [ - 'code' => 'RemediationTemplateNotExist', - 'message' => 'The remediation template does not exist or is invalid.', - 'http_code' => 400, - 'description' => 'The remediation template does not exist or is invalid.', - ], - [ - 'code' => 'RuleInputParametersAreInvalid', - 'message' => 'Rule input parameters are invalid.', - 'http_code' => 400, - 'description' => 'Incorrect rule input parameters', - ], - [ - 'code' => 'ServiceUnavailable', - 'message' => 'The request has failed due to a temporary failure of the server.', - 'http_code' => 503, - 'description' => 'The request has failed due to a temporary failure of the server.', - ], - [ - 'code' => 'StopSLRFail', - 'message' => 'Stop config service fail.', - 'http_code' => 400, - 'description' => 'Failed to deactivate Cloud Config.', - ], - [ - 'code' => 'TagNotMatch', - 'message' => 'Your specific tags are not match any resource.', - 'http_code' => 404, - 'description' => 'The tag you specified did not match to any resource.', - ], - [ - 'code' => 'TemplateContentFormatError', - 'message' => 'Cause Reason: %s.', - 'http_code' => 400, - 'description' => 'TemplateContent the presence of outliers in the JSON message', - ], - [ - 'code' => 'TimelineQueryPageNumberExceedMaxCount', - 'message' => 'Page number exceed max count', - 'http_code' => 404, - 'description' => 'The page number exceeds the limit.', - ], - [ - 'code' => 'TokenInvalid', - 'message' => 'The token is invalid.', - 'http_code' => 400, - 'description' => 'The token is invalid.', - ], - [ - 'code' => 'ReportTemplateNotExist', - 'message' => 'Report template does not exist or invalid.', - 'http_code' => 400, - 'description' => 'Report template does not exist, please check the input ReportTemplateId', - ], - [ - 'code' => 'RemediationNotExist', - 'message' => 'Remediation does not exist or invalid.', - 'http_code' => 400, - 'description' => 'Remediation configuration does not exist', - ], + ['code' => 'AccountNotExisted', 'message' => 'Your account is not existed.', 'http_code' => 400, 'description' => 'Your account does not exist.'], + ['code' => 'AdminStopSLRFail', 'message' => 'The administrator account is prohibited from closing the service without completely removing the aggregators.', 'http_code' => 400, 'description' => 'The administrator account is not allowed to deactivate the service if the account group is not completely deleted.'], + ['code' => 'AggregatorAccountExceedMaxCount', 'message' => 'The maximum number of aggregator account is exceeded.', 'http_code' => 400, 'description' => 'The maximum number of aggregator account is exceeded.'], + ['code' => 'AggregatorAccountListDuplicated', 'message' => 'The aggregator account list is duplicated.', 'http_code' => 400, 'description' => 'The aggregator account list is duplicated.'], + ['code' => 'AggregatorAccountListItemDuplicated', 'message' => 'The aggregator account list item is duplicated.', 'http_code' => 400, 'description' => 'The aggregator account list item is duplicated.'], + ['code' => 'AggregatorAlreadyPending', 'message' => 'The aggregator has a pending operation and cannot be updated.', 'http_code' => 400, 'description' => 'The aggregator has a pending operation and cannot be updated.'], + ['code' => 'AggregatorExceedMaxCount', 'message' => 'The maximum number of aggregator is exceeded.', 'http_code' => 400, 'description' => 'The maximum number of aggregator is exceeded.'], + ['code' => 'AggregatorMemberNoPermission', 'message' => 'The aggregator member is not authorized to perform the operation.', 'http_code' => 403, 'description' => 'The aggregator member is not authorized to perform the operation.'], + ['code' => 'AggregatorNameDuplicated', 'message' => 'The aggregator name is duplicated.', 'http_code' => 400, 'description' => 'The aggregator name is duplicated.'], + ['code' => 'CompliancePackAlreadyPending', 'message' => 'The compliance pack has a pending operation and cannot be updated.', 'http_code' => 400, 'description' => 'The compliance pack has a pending operation and cannot be updated.'], + ['code' => 'CompliancePackCopyLimit', 'message' => 'The number of replication compliance packages must be less or equal than 5.', 'http_code' => 400, 'description' => 'The number of copies of compliance packages must be less than or equal to 5.'], + ['code' => 'CompliancePackExists', 'message' => 'The compliance pack already exists.', 'http_code' => 400, 'description' => 'The compliance pack name already exists.'], + ['code' => 'ConfigExceedMaxQuotaCount', 'message' => 'Exceed max quota, need to modify in quota center .', 'http_code' => 400, 'description' => 'Quota exceeded limit, need to modify in quota center'], + ['code' => 'ConfigRuleCopyLimit', 'message' => 'The number of replication config rule must be less or equal than 100.', 'http_code' => 400, 'description' => 'The number of times that you can copy a rule is equal to or less than 100.'], + ['code' => 'ConfigRuleNotExists', 'message' => 'The ConfigRule does not exist.', 'http_code' => 400, 'description' => 'The rule does not exist.'], + ['code' => 'ConfigRulePendingCanNotUpdate', 'message' => 'ConfigRule is pending and cannot be updated.', 'http_code' => 400, 'description' => 'ConfigRule is pending and cannot be updated.'], + ['code' => 'ConfigRuleReportCreating', 'message' => 'The config rule report is being created.', 'http_code' => 400, 'description' => 'The config rule report is being created.'], + ['code' => 'ConfigRuleStatusNotActive', 'message' => 'The ConfigRule is inactive.', 'http_code' => 400, 'description' => 'The ConfigRule is inactive.'], + ['code' => 'ConfigRuleStatusNotActive', 'message' => 'The status of the config rule is not active.', 'http_code' => 400, 'description' => 'The status of the config rule is not active.'], + ['code' => 'ConfigRuleStatusNotInActive', 'message' => 'The status of the config rule is not inactive.', 'http_code' => 400, 'description' => 'The status of the config rule is not inactive.'], + ['code' => 'ConfigServiceNotEnabled', 'message' => 'The Cloud Config service is not activated.', 'http_code' => 404, 'description' => 'The Cloud Config service is not activated.'], + ['code' => 'CreateSLRFail', 'message' => 'Failed to create SLR.', 'http_code' => 500, 'description' => 'Failed to create SLR.'], + ['code' => 'DeliveryChannelAccountNotSupport', 'message' => 'Cross-account delivery that is not in the RD is not supported.', 'http_code' => 400, 'description' => 'Cross-account delivery that is not in the RD is not supported.'], + ['code' => 'DeliveryChannelMnsUnreachable', 'message' => 'The MNS topic is unreachable.', 'http_code' => 400, 'description' => 'The MNS topic is unreachable.'], + ['code' => 'DeliveryChannelNotExists', 'message' => 'The delivery channel does not exist.', 'http_code' => 400, 'description' => 'The delivery channel does not exist.'], + ['code' => 'DeliveryChannelOssUnreachable', 'message' => 'The OSS bucket is unreachable.', 'http_code' => 400, 'description' => 'The OSS bucket is unreachable.'], + ['code' => 'DeliveryChannelTargetAlreadyUsed', 'message' => 'Delivery channel target already used.', 'http_code' => 400, 'description' => 'Target delivery channel already in use'], + ['code' => 'EnterpriseEditionAllResourceTypesDefault', 'message' => 'The Enterprise Edition monitor all resource types by default.', 'http_code' => 400, 'description' => 'The Enterprise Edition monitors all resource types by default.'], + ['code' => 'ExistsChannelResourcesInAggregator', 'message' => 'Exists some channel resources in the aggregator.', 'http_code' => 400, 'description' => 'There are some channel rules in the account group'], + ['code' => 'IntegratedDeliveryNotSupported', 'message' => 'Current integrated delivery channels only support delivering content NonCompliantNotification via cms or eventbridge.', 'http_code' => 400, 'description' => 'Current integrated delivery channels only support delivering content NonCompliantNotification via cms or eventbridge.'], + ['code' => 'Invalid.AccountType.Value', 'message' => 'The specified AccountType is invalid.', 'http_code' => 400, 'description' => 'The specified account type is invalid.'], + ['code' => 'Invalid.AggregatorAccounts.Empty', 'message' => 'You must specify AggregatorAccounts.', 'http_code' => 400, 'description' => 'You must specify AggregatorAccounts.'], + ['code' => 'Invalid.AggregatorAccounts.SizeExceed', 'message' => 'The maximum number of AggregatorAccounts is 200.', 'http_code' => 400, 'description' => 'The maximum number of AggregatorAccounts is 200.'], + ['code' => 'Invalid.AggregatorAccounts.Value', 'message' => 'The specified AggregatorAccounts is invalid.', 'http_code' => 400, 'description' => 'The specified AggregatorAccounts is invalid.'], + ['code' => 'Invalid.AggregatorId.Value', 'message' => 'The specified AggregatorId is invalid.', 'http_code' => 400, 'description' => 'The specified aggregator ID does not exist or you are not authorized to use the aggregator.'], + ['code' => 'Invalid.AggregatorIds.Empty', 'message' => 'You must specify AggregatorIds.', 'http_code' => 400, 'description' => 'You must specify AggregatorIds.'], + ['code' => 'Invalid.AggregatorIds.SizeExceed', 'message' => 'The maximum number of AggregatorIds is 5.', 'http_code' => 400, 'description' => 'The maximum number of AggregatorIds is 5.'], + ['code' => 'Invalid.Api.Value', 'message' => 'Specified Api value is not valid.', 'http_code' => 400, 'description' => 'The request parameter that you specified for the API operation is invalid.'], + ['code' => 'Invalid.Arn.Format', 'message' => 'Your ARN is not in the correct format.', 'http_code' => 400, 'description' => 'Your ARN is not in the correct format.'], + ['code' => 'Invalid.AssumeRoleArn.Empty', 'message' => 'You must specify AssumeRoleArn.', 'http_code' => 400, 'description' => 'You must specify AssumeRoleArn.'], + ['code' => 'Invalid.AssumeRoleArn.Format', 'message' => 'The specified format of AssumeRoleArn is invalid.', 'http_code' => 400, 'description' => 'The specified format of AssumeRoleArn is invalid.'], + ['code' => 'Invalid.ClientToken.Value', 'message' => 'Your ClientToken field value is not valid.', 'http_code' => 400, 'description' => 'Your ClientToken field value is not valid.'], + ['code' => 'Invalid.CompliancePackId.Value', 'message' => 'The specified CompliancePackId does not exist.', 'http_code' => 400, 'description' => 'The specified compliance pack ID does not exist.'], + ['code' => 'Invalid.CompliancePackIds.SizeExceed', 'message' => 'The maximum number of CompliancePackIds is 5.', 'http_code' => 400, 'description' => 'The maximum number of compliance pack ID is 5.'], + ['code' => 'Invalid.CompliancePackName.Empty', 'message' => 'You must specify CompliancePackName.', 'http_code' => 400, 'description' => 'You must specify compliance pack name.'], + ['code' => 'Invalid.CompliancePackName.Value', 'message' => 'The specified CompliancePackName is invalid.', 'http_code' => 400, 'description' => 'The specified compliance pack name is invalid.'], + ['code' => 'Invalid.CompliancePackTemplateId.Value', 'message' => 'The specified CompliancePackTemplateId does not exist.', 'http_code' => 400, 'description' => 'The specified compliance pack template ID does not exist.'], + ['code' => 'Invalid.ConfigRuleId.Value', 'message' => 'Your ConfigRuleId is incorrect.', 'http_code' => 400, 'description' => 'You have entered an incorrect ConfigRuleId value.'], + ['code' => 'Invalid.ConfigRuleIds.SizeExceed', 'message' => 'The maximum number of ConfigRuleIds cannot exceed 20.', 'http_code' => 400, 'description' => 'The maximum number of ConfigRuleIds cannot exceed 20.'], + ['code' => 'Invalid.ConfigRules.Value', 'message' => 'The specified ConfigRules is invalid.', 'http_code' => 400, 'description' => 'The specified ConfigRules is invalid.'], + ['code' => 'Invalid.ConfigRuleTriggerTypes.Value', 'message' => 'Your ConfigRuleTriggerTypes error.', 'http_code' => 400, 'description' => 'Rule trigger type error'], + ['code' => 'Invalid.Date.Value', 'message' => 'Specified Date value is not valid.', 'http_code' => 400, 'description' => 'The Date parameter that you specified is invalid.'], + ['code' => 'Invalid.DeliveryChannelAssumeRoleArn.Empty', 'message' => 'You must specify DeliveryChannelAssumeRoleArn.', 'http_code' => 400, 'description' => 'You must specify DeliveryChannelAssumeRoleArn.'], + ['code' => 'Invalid.DeliveryChannelAssumeRoleArn.Format', 'message' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.', 'http_code' => 400, 'description' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.'], + ['code' => 'Invalid.DeliveryChannelCondition.Format', 'message' => 'The specified format of DeliveryChannelCondition is invalid.', 'http_code' => 400, 'description' => 'The specified format of DeliveryChannelCondition is invalid.'], + ['code' => 'Invalid.DeliveryChannelTargetArn.Empty', 'message' => 'You must specify DeliveryChannelTargetArn.', 'http_code' => 400, 'description' => 'You must specify DeliveryChannelTargetArn.'], + ['code' => 'Invalid.DeliveryChannelTargetArn.Format', 'message' => 'The specified format of DeliveryChannelTargetArn is invalid.', 'http_code' => 400, 'description' => 'The specified format of DeliveryChannelTargetArn is invalid.'], + ['code' => 'Invalid.DeliveryChannelTargetArn.Value', 'message' => 'The target delivery channel ARN value is incorrect.', 'http_code' => 400, 'description' => 'The target delivery channel ARN value is incorrect.'], + ['code' => 'Invalid.DeliveryChannelType.Empty', 'message' => 'You must specify DeliveryChannelType.', 'http_code' => 400, 'description' => 'You must specify DeliveryChannelType.'], + ['code' => 'Invalid.InputParameters.Value', 'message' => 'The specified parameter is invalid.', 'http_code' => 400, 'description' => 'The specified parameter is invalid.'], + ['code' => 'Invalid.InputParameters.Value', 'message' => 'Input parameter error.', 'http_code' => 400, 'description' => 'Input parameter error.'], + ['code' => 'Invalid.MaximumExecutionFrequency.Empty', 'message' => 'The maximum rule execution frequency is empty.', 'http_code' => 400, 'description' => 'The maximum rule execution frequency is empty.'], + ['code' => 'Invalid.MnsArn.Format', 'message' => 'The specified format of MnsArn is invalid.', 'http_code' => 400, 'description' => 'The specified format of MnsArn is invalid.'], + ['code' => 'Invalid.MnsFilter.Format', 'message' => 'The specified format of MnsFilter is invalid.', 'http_code' => 400, 'description' => 'The specified format of MnsFilter is invalid.'], + ['code' => 'Invalid.OssArn.Format', 'message' => 'The specified format of OssArn is invalid.', 'http_code' => 400, 'description' => 'The specified format of OssArn is invalid.'], + ['code' => 'Invalid.OssBucketName.Value', 'message' => 'The specified OssBucketName does not exist.', 'http_code' => 400, 'description' => 'The specified OssBucketName does not exist.'], + ['code' => 'Invalid.Params.Value', 'message' => 'The specified parameter value is invalid.', 'http_code' => 400, 'description' => 'The specified parameter value is invalid.'], + ['code' => 'Invalid.region.Value', 'message' => 'Region information is not valid.', 'http_code' => 400, 'description' => 'Region information is not valid.'], + ['code' => 'Invalid.ResourceAccountId.Empty', 'message' => 'The resource account ID is empty.', 'http_code' => 400, 'description' => 'The resource account ID is empty.'], + ['code' => 'Invalid.ResourceId.Value', 'message' => 'The specified resourceId is invalid.', 'http_code' => 400, 'description' => 'The specified resourceId is invalid. '], + ['code' => 'Invalid.ResourceOwnerId.Value', 'message' => 'The specified ResourceOwnerId is invalid.', 'http_code' => 400, 'description' => 'The specified ResourceOwnerId is invalid.'], + ['code' => 'Invalid.ResourceType.Empty', 'message' => 'The resource type cannot be empty.', 'http_code' => 400, 'description' => 'The resource type cannot be empty.'], + ['code' => 'Invalid.ResourceTypes.Value', 'message' => 'The specified resourceTypes is invalid.', 'http_code' => 400, 'description' => 'The specified resourceTypes is invalid.'], + ['code' => 'Invalid.ResourceTypesScope.Value', 'message' => 'The resource type range value is not valid.', 'http_code' => 400, 'description' => 'The resource type range value is not valid.'], + ['code' => 'Invalid.SlsArn.Format', 'message' => 'The specified format of SlsArn is invalid.', 'http_code' => 400, 'description' => 'The specified format of SlsArn is invalid.'], + ['code' => 'MemberStopSLRFail', 'message' => 'The member exists in the aggregator, and it is forbidden to close the service.', 'http_code' => 400, 'description' => 'The member account exists in the account group. Therefore, Cloud Config cannot be deactivated.'], + ['code' => 'NoChannelPermission', 'message' => 'The current operation has no channel permission.', 'http_code' => 400, 'description' => 'The current action is not allowed by the channel.'], + ['code' => 'NoData', 'message' => 'not found data.', 'http_code' => 404, 'description' => 'No data'], + ['code' => 'NoPermission', 'message' => 'You are not authorized to perform this operation.', 'http_code' => 400, 'description' => 'You are not authorized to perform this operation.'], + ['code' => 'NoPermissionCreateAggregator', 'message' => 'You are not authorized to create the aggregator.', 'http_code' => 403, 'description' => 'You are not authorized to create the aggregator.'], + ['code' => 'NoPermissionCreateRemediationSLR', 'message' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.', 'http_code' => 403, 'description' => 'You have no permission to create the service-linked role: AliyunServiceRoleForConfigRemediation.'], + ['code' => 'ProcessIsRunning', 'message' => 'The process is running.', 'http_code' => 400, 'description' => 'The process is running.'], + ['code' => 'RDAggregatorAlreadyExist', 'message' => 'The resource directory aggregator already exists.', 'http_code' => 400, 'description' => 'The resource directory aggregator already exists.'], + ['code' => 'RDAggregatorUpdateNotSupport', 'message' => 'The resource directory aggregator cannot be updated.', 'http_code' => 400, 'description' => 'The resource directory aggregator cannot be updated.'], + ['code' => 'RDEnableConfigAccessFail', 'message' => 'Failed to enable Config access Resource Directory.', 'http_code' => 400, 'description' => 'Failed to integrate resource directory when activating Enterprise Edition CloudConfig.'], + ['code' => 'RDMemberNoPermission', 'message' => 'You are not authorized to perform the operation. The reasons include: 1. You have not enabled the resource directory service. 2. You are not using the administrator account of resource directory.', 'http_code' => 400, 'description' => 'You are not authorized to perform the operation. The reasons include:'."\n" + .'1. You have not enabled the resource directory service.'."\n" + .'2. You are not using the administrator account of resource directory.'], + ['code' => 'RemediationInputParamInConsistentWithRule', 'message' => 'The remediation parameter does not match the rule parameter.', 'http_code' => 400, 'description' => 'The remediation parameter does not match the rule parameter.'], + ['code' => 'RemediationTemplateNotExist', 'message' => 'The remediation template does not exist or is invalid.', 'http_code' => 400, 'description' => 'The remediation template does not exist or is invalid.'], + ['code' => 'RuleInputParametersAreInvalid', 'message' => 'Rule input parameters are invalid.', 'http_code' => 400, 'description' => 'Incorrect rule input parameters'], + ['code' => 'ServiceUnavailable', 'message' => 'The request has failed due to a temporary failure of the server.', 'http_code' => 503, 'description' => 'The request has failed due to a temporary failure of the server.'], + ['code' => 'StopSLRFail', 'message' => 'Stop config service fail.', 'http_code' => 400, 'description' => 'Failed to deactivate Cloud Config.'], + ['code' => 'TagNotMatch', 'message' => 'Your specific tags are not match any resource.', 'http_code' => 404, 'description' => 'The tag you specified did not match to any resource.'], + ['code' => 'TemplateContentFormatError', 'message' => 'Cause Reason: %s.', 'http_code' => 400, 'description' => 'TemplateContent the presence of outliers in the JSON message'], + ['code' => 'TimelineQueryPageNumberExceedMaxCount', 'message' => 'Page number exceed max count', 'http_code' => 404, 'description' => 'The page number exceeds the limit.'], + ['code' => 'TokenInvalid', 'message' => 'The token is invalid.', 'http_code' => 400, 'description' => 'The token is invalid.'], + ['code' => 'ReportTemplateNotExist', 'message' => 'Report template does not exist or invalid.', 'http_code' => 400, 'description' => 'Report template does not exist, please check the input ReportTemplateId'], + ['code' => 'RemediationNotExist', 'message' => 'Remediation does not exist or invalid.', 'http_code' => 400, 'description' => 'Remediation configuration does not exist'], ], 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '300', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DeleteAggregateConfigRules', - ], - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListConfigRules', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ListPreManagedRules', - ], - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'UntagResources', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateConfigRulesReport', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'GetResourceInventory', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateResourceComplianceGroupByResourceType', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregateRemediations', - ], - [ - 'threshold' => '500', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregator', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'GetRemediationTemplate', - ], - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateAggregateConfigDeliveryChannel', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetSupportedResourceRelationConfig', - ], - [ - 'threshold' => '3000', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListConfigRuleEvaluationResults', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'CreateAdvancedSearchFile', - ], - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DeleteCompliancePacks', - ], - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DeleteConfigDeliveryChannel', - ], - [ - 'threshold' => '120', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregators', - ], - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateCompliancePack', - ], - [ - 'threshold' => '3000', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'PutEvaluations', - ], - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GenerateConfigRulesReport', - ], - [ - 'threshold' => '500', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ActiveAggregateConfigRules', - ], - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'GetIntegratedServiceStatus', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'UpdateRemediation', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregateResourcesByAdvancedSearch', - ], - [ - 'threshold' => '600', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateAccountComplianceByPack', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregateRemediationExecutions', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListResourcesByAdvancedSearch', - ], - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DeleteAggregators', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'CreateRemediation', - ], - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetCompliancePack', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetResourceConfigurationTimeline', - ], - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'CreateAggregator', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GenerateAggregateResourceInventory', - ], - [ - 'threshold' => '180', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregateConfigRules', - ], - [ - 'threshold' => '500', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'IgnoreEvaluationResults', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'CreateAggregateConfigRule', - ], - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'StartConfigurationRecorder', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'StartAggregateConfigRuleEvaluation', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'StartConfigRuleEvaluation', - ], - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateConfigDeliveryChannel', - ], - [ - 'threshold' => '10', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GenerateAggregateCompliancePackReport', - ], - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetCompliancePackReport', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListResourceEvaluationResults', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregateResourceEvaluationResults', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'GetConfigRule', - ], - [ - 'threshold' => '500', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DeactiveConfigRules', - ], - [ - 'threshold' => '10', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'CreateCompliancePack', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DetachAggregateConfigRuleToCompliancePack', - ], - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'UpdateConfigurationRecorder', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DryRunConfigRule', - ], - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ListIntegratedService', - ], - [ - 'threshold' => '500', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'IgnoreAggregateEvaluationResults', - ], - [ - 'threshold' => '10', - 'countWindow' => 86400, - 'regionId' => '*', - 'api' => 'StopConfigurationRecorder', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeRemediation', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListSupportedProducts', - ], - [ - 'threshold' => '500', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateResourceComplianceTimeline', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'UpdateAggregateConfigRule', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateResourceCountsGroupByResourceType', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetConfigRuleSummaryByRiskLevel', - ], - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'TagResources', - ], - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'UpdateConfigDeliveryChannel', - ], - [ - 'threshold' => '10', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GenerateCompliancePackReport', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListConfigRuleEvaluationStatistics', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'StartAggregateRemediation', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'AttachAggregateConfigRuleToCompliancePack', - ], - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'UpdateAggregator', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetResourceComplianceGroupByResourceType', - ], - [ - 'threshold' => '500', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DeactiveAggregateConfigRules', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateComplianceSummary', - ], - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ListTagResources', - ], - [ - 'threshold' => '600', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregateConfigRuleEvaluationResults', - ], - [ - 'threshold' => '1000', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetManagedRule', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateResourceComplianceGroupByRegion', - ], - [ - 'threshold' => '500', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetResourceComplianceTimeline', - ], - [ - 'threshold' => '500', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'RevertAggregateEvaluationResults', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'UpdateIntegratedServiceStatus', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregateConfigRuleEvaluationStatistics', - ], - [ - 'threshold' => '10', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GenerateAggregateConfigRulesReport', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DetachConfigRuleToCompliancePack', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'AttachConfigRuleToCompliancePack', - ], - [ - 'threshold' => '180', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregateCompliancePacks', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListRemediationTemplates', - ], - [ - 'threshold' => '3000', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregateResourceRelations', - ], - [ - 'threshold' => '10', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'CopyConfigRules', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'UpdateAggregateRemediation', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetResourceComplianceGroupByRegion', - ], - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DeleteAggregateCompliancePacks', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'EvaluatePreConfigRules', - ], - [ - 'threshold' => '10', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'UpdateAggregateCompliancePack', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DeleteAggregateRemediations', - ], - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'UpdateAggregateConfigDeliveryChannel', - ], - [ - 'threshold' => '600', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateResourceComplianceByPack', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'DeleteRemediations', - ], - [ - 'threshold' => '180', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListCompliancePacks', - ], - [ - 'threshold' => '180', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregateConfigDeliveryChannels', - ], - [ - 'threshold' => '600', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetResourceComplianceByPack', - ], - [ - 'threshold' => '4000', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetDiscoveredResource', - ], - [ - 'threshold' => '50', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListCompliancePackTemplates', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'CreateConfigRule', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateResourceConfigurationTimeline', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GenerateResourceInventory', - ], - [ - 'threshold' => '10', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'CopyCompliancePacks', - ], - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetConfigRulesReport', - ], - [ - 'threshold' => '500', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'RevertEvaluationResults', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetDiscoveredResourceCountsGroupByResourceType', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAdvancedSearchFile', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'CreateAggregateRemediation', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateAdvancedSearchFile', - ], - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'GetConfigDeliveryChannel', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetConfigurationRecorder', - ], - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'GetAggregateConfigDeliveryChannel', - ], - [ - 'threshold' => '180', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListConfigDeliveryChannels', - ], - [ - 'threshold' => '3000', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateDiscoveredResource', - ], - [ - 'threshold' => '200', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'GetResourceComplianceByConfigRule', - ], - [ - 'threshold' => '30', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'UpdateCompliancePack', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListManagedRules', - ], - [ - 'threshold' => '4000', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListDiscoveredResources', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetDiscoveredResourceCountsGroupByRegion', - ], - [ - 'threshold' => '50', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DeleteAggregateConfigDeliveryChannel', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListAggregateDiscoveredResources', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListRemediationExecutions', - ], - [ - 'threshold' => '600', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateConfigRuleComplianceByPack', - ], - [ - 'threshold' => '600', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateResourceComplianceByConfigRule', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateConfigRuleSummaryByRiskLevel', - ], - [ - 'threshold' => '500', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ActiveConfigRules', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'GetAggregateResourceInventory', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'UpdateConfigRule', - ], - [ - 'threshold' => '50', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'CreateAggregateAdvancedSearchFile', - ], - [ - 'threshold' => '300', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ListResourceRelations', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateCompliancePackReport', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetComplianceSummary', - ], - [ - 'threshold' => '60', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'CreateAggregateCompliancePack', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'GetAggregateConfigRule', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetAggregateResourceCountsGroupByRegion', - ], - [ - 'threshold' => '600', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'GetConfigRuleComplianceByPack', - ], - [ - 'threshold' => '100', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'StartRemediation', - ], - [ - 'threshold' => '300', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DeleteConfigRules', - ], - [ - 'threshold' => '300', - 'countWindow' => 60, - 'regionId' => '*', - 'api' => 'ListRemediations', - ], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAggregateConfigRules'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListConfigRules'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPreManagedRules'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateConfigRulesReport'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceInventory'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceComplianceGroupByResourceType'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateRemediations'], + ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregator'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRemediationTemplate'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAggregateConfigDeliveryChannel'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetSupportedResourceRelationConfig'], + ['threshold' => '3000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListConfigRuleEvaluationResults'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAdvancedSearchFile'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteCompliancePacks'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteConfigDeliveryChannel'], + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregators'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateCompliancePack'], + ['threshold' => '3000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'PutEvaluations'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateConfigRulesReport'], + ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ActiveAggregateConfigRules'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIntegratedServiceStatus'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateRemediation'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateResourcesByAdvancedSearch'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateAccountComplianceByPack'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateRemediationExecutions'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListResourcesByAdvancedSearch'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteAggregators'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateRemediation'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetCompliancePack'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetResourceConfigurationTimeline'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregator'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateAggregateResourceInventory'], + ['threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateConfigRules'], + ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'IgnoreEvaluationResults'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregateConfigRule'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartConfigurationRecorder'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartAggregateConfigRuleEvaluation'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartConfigRuleEvaluation'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateConfigDeliveryChannel'], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateAggregateCompliancePackReport'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetCompliancePackReport'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListResourceEvaluationResults'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateResourceEvaluationResults'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetConfigRule'], + ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeactiveConfigRules'], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateCompliancePack'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DetachAggregateConfigRuleToCompliancePack'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateConfigurationRecorder'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DryRunConfigRule'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIntegratedService'], + ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'IgnoreAggregateEvaluationResults'], + ['threshold' => '10', 'countWindow' => 86400, 'regionId' => '*', 'api' => 'StopConfigurationRecorder'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRemediation'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListSupportedProducts'], + ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceComplianceTimeline'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAggregateConfigRule'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceCountsGroupByResourceType'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetConfigRuleSummaryByRiskLevel'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateConfigDeliveryChannel'], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateCompliancePackReport'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListConfigRuleEvaluationStatistics'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartAggregateRemediation'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AttachAggregateConfigRuleToCompliancePack'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAggregator'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetResourceComplianceGroupByResourceType'], + ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeactiveAggregateConfigRules'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateComplianceSummary'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateConfigRuleEvaluationResults'], + ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetManagedRule'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceComplianceGroupByRegion'], + ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetResourceComplianceTimeline'], + ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RevertAggregateEvaluationResults'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateIntegratedServiceStatus'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateConfigRuleEvaluationStatistics'], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateAggregateConfigRulesReport'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DetachConfigRuleToCompliancePack'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AttachConfigRuleToCompliancePack'], + ['threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateCompliancePacks'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListRemediationTemplates'], + ['threshold' => '3000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateResourceRelations'], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CopyConfigRules'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAggregateRemediation'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetResourceComplianceGroupByRegion'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteAggregateCompliancePacks'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EvaluatePreConfigRules'], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAggregateCompliancePack'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteAggregateRemediations'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAggregateConfigDeliveryChannel'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceComplianceByPack'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteRemediations'], + ['threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListCompliancePacks'], + ['threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateConfigDeliveryChannels'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetResourceComplianceByPack'], + ['threshold' => '4000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetDiscoveredResource'], + ['threshold' => '50', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListCompliancePackTemplates'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateConfigRule'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceConfigurationTimeline'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GenerateResourceInventory'], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CopyCompliancePacks'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetConfigRulesReport'], + ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RevertEvaluationResults'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetDiscoveredResourceCountsGroupByResourceType'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAdvancedSearchFile'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregateRemediation'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateAdvancedSearchFile'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetConfigDeliveryChannel'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetConfigurationRecorder'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAggregateConfigDeliveryChannel'], + ['threshold' => '180', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListConfigDeliveryChannels'], + ['threshold' => '3000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateDiscoveredResource'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceComplianceByConfigRule'], + ['threshold' => '30', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateCompliancePack'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListManagedRules'], + ['threshold' => '4000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListDiscoveredResources'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetDiscoveredResourceCountsGroupByRegion'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAggregateConfigDeliveryChannel'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAggregateDiscoveredResources'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListRemediationExecutions'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateConfigRuleComplianceByPack'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceComplianceByConfigRule'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateConfigRuleSummaryByRiskLevel'], + ['threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ActiveConfigRules'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAggregateResourceInventory'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateConfigRule'], + ['threshold' => '50', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregateAdvancedSearchFile'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceRelations'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateCompliancePackReport'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetComplianceSummary'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateAggregateCompliancePack'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAggregateConfigRule'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAggregateResourceCountsGroupByRegion'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetConfigRuleComplianceByPack'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'StartRemediation'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteConfigRules'], + ['threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListRemediations'], ], ], 'ram' => [ 'productCode' => 'Config', 'productName' => 'CloudConfig', - 'ramCodes' => [ - 'config', - ], + 'ramCodes' => ['config'], 'ramLevel' => 'RESOURCE', 'ramConditions' => [], 'ramActions' => [ @@ -38559,12 +21912,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Aggregator', - 'arn' => 'acs:config:*:{#accountId}:aggregator/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/*'], ], ], ], @@ -38577,12 +21925,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*'], ], ], ], @@ -38596,12 +21939,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -38615,12 +21953,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -38633,12 +21966,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -38651,12 +21979,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -38669,12 +21992,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -38687,12 +22005,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregateCompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregateCompliancePackId}'], ], ], ], @@ -38706,12 +22019,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -38725,12 +22033,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -38743,12 +22046,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -38761,12 +22059,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -38779,12 +22072,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -38797,12 +22085,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -38815,12 +22098,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -38833,12 +22111,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateDelivery', - 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}'], ], ], ], @@ -38851,12 +22124,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'], ], ], ], @@ -38869,12 +22137,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -38887,12 +22150,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -38905,12 +22163,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -38923,12 +22176,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -38941,12 +22189,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -38959,12 +22202,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -38977,12 +22215,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateConfigRule', - 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*'], ], ], ], @@ -38995,12 +22228,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Rule', - 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}'], ], ], ], @@ -39013,12 +22241,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'], ], ], ], @@ -39031,12 +22254,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39049,12 +22267,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateDelivery', - 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/*'], ], ], ], @@ -39068,12 +22281,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39086,12 +22294,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39104,12 +22307,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Rule', - 'arn' => 'acs:config:*:{#accountId}:rule/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/*'], ], ], ], @@ -39122,12 +22320,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39140,12 +22333,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39158,12 +22346,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39176,12 +22359,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39194,12 +22372,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39212,12 +22385,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39230,12 +22398,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*'], ], ], ], @@ -39248,12 +22411,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39266,12 +22424,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39284,12 +22437,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39302,12 +22450,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39320,12 +22463,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateConfigRule', - 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}'], ], ], ], @@ -39338,12 +22476,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39356,12 +22489,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39374,12 +22502,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Aggregator', - 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}'], ], ], ], @@ -39392,12 +22515,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39410,12 +22528,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39428,12 +22541,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39446,12 +22554,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39464,12 +22567,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39483,12 +22581,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39501,12 +22594,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39519,12 +22607,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39537,12 +22620,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Delivery', - 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}'], ], ], ], @@ -39555,12 +22633,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39573,12 +22646,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'CompliancePack', - 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'], ], ], ], @@ -39591,12 +22659,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Rule', - 'arn' => 'acs:config:*:{#accountId}:rule/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/*'], ], ], ], @@ -39610,12 +22673,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39628,12 +22686,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39647,12 +22700,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39665,12 +22713,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateDelivery', - 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}'], ], ], ], @@ -39683,12 +22726,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'], ], ], ], @@ -39701,12 +22739,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39719,12 +22752,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39737,12 +22765,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39756,12 +22779,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39775,12 +22793,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39793,12 +22806,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Rule', - 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}'], ], ], ], @@ -39812,12 +22820,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39830,12 +22833,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39848,12 +22846,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39866,12 +22859,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39884,12 +22872,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateConfigRule', - 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}'], ], ], ], @@ -39902,12 +22885,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39921,12 +22899,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -39939,12 +22912,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'], ], ], ], @@ -39957,12 +22925,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'CompliancePack', - 'arn' => 'acs:config:*:{#accountId}:compliancepack/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/*'], ], ], ], @@ -39975,12 +22938,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'], ], ], ], @@ -39993,12 +22951,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Resource', - 'arn' => 'acs:config:*:{#accountId}:resource/{#ResourceId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Resource', 'arn' => 'acs:config:*:{#accountId}:resource/{#ResourceId}'], ], ], ], @@ -40012,12 +22965,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40030,12 +22978,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40048,12 +22991,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateConfigRule', - 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*'], ], ], ], @@ -40066,12 +23004,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Delivery', - 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}'], ], ], ], @@ -40084,12 +23017,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Aggregator', - 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}'], ], ], ], @@ -40102,12 +23030,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40121,12 +23044,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40139,12 +23057,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40157,12 +23070,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40175,12 +23083,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'CompliancePack', - 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'], ], ], ], @@ -40193,12 +23096,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40212,12 +23110,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40230,12 +23123,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40248,12 +23136,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40266,12 +23149,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Delivery', - 'arn' => 'acs:config:*:{#accountId}:delivery/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/*'], ], ], ], @@ -40284,12 +23162,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40302,12 +23175,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'CompliancePack', - 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'], ], ], ], @@ -40320,12 +23188,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'CompliancePack', - 'arn' => 'acs:config:*:{#accountId}:compliancepack/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/*'], ], ], ], @@ -40338,12 +23201,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'], ], ], ], @@ -40356,12 +23214,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40374,12 +23227,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40392,12 +23240,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40410,12 +23253,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40429,12 +23267,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40447,12 +23280,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40465,12 +23293,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40483,12 +23306,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40501,12 +23319,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'CompliancePack', - 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'], ], ], ], @@ -40519,12 +23332,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40537,12 +23345,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40555,12 +23358,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40573,12 +23371,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40591,12 +23384,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40609,12 +23397,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40627,12 +23410,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40645,12 +23423,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40663,12 +23436,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40681,12 +23449,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40699,12 +23462,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40717,12 +23475,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40735,12 +23488,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Aggregator', - 'arn' => 'acs:config:*:{#accountId}:aggregator/*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/*'], ], ], ], @@ -40753,12 +23501,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40771,12 +23514,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'], ], ], ], @@ -40789,12 +23527,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateDelivery', - 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}'], ], ], ], @@ -40808,12 +23541,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40827,12 +23555,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40845,12 +23568,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40863,12 +23581,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40881,12 +23594,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40899,12 +23607,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40917,12 +23620,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Rule', - 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}'], ], ], ], @@ -40935,12 +23633,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'CompliancePack', - 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'], ], ], ], @@ -40953,12 +23646,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40972,12 +23660,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -40990,12 +23673,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'CompliancePack', - 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'], ], ], ], @@ -41008,12 +23686,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -41026,12 +23699,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'AggregateConfigRule', - 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}'], ], ], ], @@ -41044,12 +23712,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Aggregator', - 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}'], ], ], ], @@ -41062,12 +23725,7 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'CompliancePack', - 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'], ], ], ], @@ -41080,12 +23738,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -41098,12 +23751,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'All Resource', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], @@ -41116,102 +23764,29 @@ 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'Config', - 'resourceType' => 'Delivery', - 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}', - ], + ['validationType' => 'always', 'product' => 'Config', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}'], ], ], ], ], 'resourceTypes' => [ - [ - 'validationType' => 'always', - 'resourceType' => 'Aggregator', - 'arn' => 'acs:config:*:{#accountId}:aggregator/*', - ], - [ - 'validationType' => 'always', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*', - ], - [ - 'validationType' => 'always', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregateCompliancePackId}', - ], - [ - 'validationType' => 'always', - 'resourceType' => 'AggregateDelivery', - 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}', - ], - [ - 'validationType' => 'always', - 'resourceType' => 'AggregateCompliancePack', - 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}', - ], - [ - 'validationType' => 'always', - 'resourceType' => 'AggregateConfigRule', - 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*', - ], - [ - 'validationType' => 'always', - 'resourceType' => 'Rule', - 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}', - ], - [ - 'validationType' => 'always', - 'resourceType' => 'AggregateDelivery', - 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/*', - ], - [ - 'validationType' => 'always', - 'resourceType' => 'Rule', - 'arn' => 'acs:config:*:{#accountId}:rule/*', - ], - [ - 'validationType' => 'always', - 'resourceType' => 'AggregateConfigRule', - 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}', - ], - [ - 'validationType' => 'conditional', - 'resourceType' => 'Aggregator', - 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregtorId}', - ], - [ - 'validationType' => 'conditional', - 'resourceType' => 'CompliancePack', - 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}', - ], - [ - 'validationType' => 'always', - 'resourceType' => 'Aggregator', - 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}', - ], - [ - 'validationType' => 'always', - 'resourceType' => 'Delivery', - 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}', - ], - [ - 'validationType' => 'always', - 'resourceType' => 'Delivery', - 'arn' => 'acs:config:*:{#accountId}:delivery/*', - ], - [ - 'validationType' => 'always', - 'resourceType' => 'CompliancePack', - 'arn' => 'acs:config:*:{#accountId}:compliancepack/*', - ], - [ - 'validationType' => 'always', - 'resourceType' => 'Resource', - 'arn' => 'acs:config:*:{#accountId}:resource/{#ResourceId}', - ], + ['validationType' => 'always', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/*'], + ['validationType' => 'always', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*'], + ['validationType' => 'always', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregateCompliancePackId}'], + ['validationType' => 'always', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}'], + ['validationType' => 'always', 'resourceType' => 'AggregateCompliancePack', 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}'], + ['validationType' => 'always', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*'], + ['validationType' => 'always', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}'], + ['validationType' => 'always', 'resourceType' => 'AggregateDelivery', 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/*'], + ['validationType' => 'always', 'resourceType' => 'Rule', 'arn' => 'acs:config:*:{#accountId}:rule/*'], + ['validationType' => 'always', 'resourceType' => 'AggregateConfigRule', 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}'], + ['validationType' => 'conditional', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregtorId}'], + ['validationType' => 'conditional', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}'], + ['validationType' => 'always', 'resourceType' => 'Aggregator', 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}'], + ['validationType' => 'always', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}'], + ['validationType' => 'always', 'resourceType' => 'Delivery', 'arn' => 'acs:config:*:{#accountId}:delivery/*'], + ['validationType' => 'always', 'resourceType' => 'CompliancePack', 'arn' => 'acs:config:*:{#accountId}:compliancepack/*'], + ['validationType' => 'always', 'resourceType' => 'Resource', 'arn' => 'acs:config:*:{#accountId}:resource/{#ResourceId}'], ], ], ]; |
