summaryrefslogtreecommitdiff
path: root/data/en_us/config
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/config')
-rw-r--r--data/en_us/config/2019-01-08/api-docs.php5051
-rw-r--r--data/en_us/config/2020-09-07/api-docs.php41217
2 files changed, 46268 insertions, 0 deletions
diff --git a/data/en_us/config/2019-01-08/api-docs.php b/data/en_us/config/2019-01-08/api-docs.php
new file mode 100644
index 0000000..ac27ede
--- /dev/null
+++ b/data/en_us/config/2019-01-08/api-docs.php
@@ -0,0 +1,5051 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'Config',
+ 'version' => '2019-01-08',
+ ],
+ 'directories' => [
+ [
+ 'id' => 238069,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'GetDiscoveredResourceCounts',
+ 'ListDiscoveredResources',
+ 'DescribeDiscoveredResource',
+ 'GetResourceComplianceTimeline',
+ 'GetResourceConfigurationTimeline',
+ 'GetDiscoveredResourceSummary',
+ 'GetSupportedResourceTypes',
+ ],
+ ],
+ [
+ 'id' => 238077,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'DeleteConfigRules',
+ 'StartConfigRuleEvaluation',
+ 'StopConfigRules',
+ 'ListConfigRules',
+ 'DescribeEvaluationResults',
+ 'DescribeCompliance',
+ 'DescribeComplianceSummary',
+ 'DescribeConfigRule',
+ 'PutConfigRule',
+ 'PutEvaluations',
+ 'ActiveConfigRules',
+ ],
+ ],
+ [
+ 'id' => 238089,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'StartConfigurationRecorder',
+ 'DescribeConfigurationRecorder',
+ 'PutConfigurationRecorder',
+ ],
+ ],
+ [
+ 'id' => 238093,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'DescribeDeliveryChannels',
+ 'PutDeliveryChannel',
+ ],
+ ],
+ [
+ 'id' => 238096,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'GetAggregateDiscoveredResource',
+ 'ListAggregateDiscoveredResources',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'GetDiscoveredResourceCounts' => [
+ 'summary' => 'Queries the number of resources of the current account.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfig6XGW41',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupByKey',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The dimension by which resources are grouped. Valid values:'."\n"
+ ."\n"
+ .'* ResourceType: specifies that resources are grouped by type.'."\n"
+ .'* Region: specifies that resources are grouped by region.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ResourceType',
+ ],
+ ],
+ [
+ 'name' => 'MultiAccount',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is unavailable since 00:00:00 on June 30, 2021. Account group-related operations are provided as an alternative after 00:00:00 on May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related operations after 00:00:00 on May 30, 2021. For more information about account groups, see [Overview](~~211534~~).'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'default' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'MemberId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter has been removed from 00:00:00, June 30, 2021. Account group-related operations are provided as an alternative after 00:00:00, May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related operations after 00:00:00, May 30, 2021. For more information about account groups, see [Overview](~~211534~~).'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '120886317861****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'GroupedResourceCounts' => [
+ 'description' => 'The returned information about resources.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'GroupByKey' => [
+ 'description' => 'The dimension by which resources are grouped.'."\n",
+ 'type' => 'string',
+ 'example' => 'ResourceType',
+ ],
+ 'GroupedResourceCountList' => [
+ 'description' => 'The information about resources in a specific group.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'GroupName' => [
+ 'description' => 'The name of the resource group.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACS::ECS::SecurityGroup',
+ ],
+ 'ResourceCount' => [
+ 'description' => 'The number of resources in the group.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '54BFA4FB-6E08-4D58-9E83-1A8A3EC80247',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ [
+ 'errorCode' => 'MemberNotBelongToMaster',
+ 'errorMessage' => 'The specified member does not belong to your organization.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"GroupedResourceCounts\\": {\\n \\"GroupByKey\\": \\"ResourceType\\",\\n \\"GroupedResourceCountList\\": [\\n {\\n \\"GroupName\\": \\"ACS::ECS::SecurityGroup\\",\\n \\"ResourceCount\\": 10\\n }\\n ]\\n },\\n \\"RequestId\\": \\"54BFA4FB-6E08-4D58-9E83-1A8A3EC80247\\"\\n}","errorExample":""},{"type":"xml","example":"<GetDiscoveredResourceCountsResponse>\\n\\t<RequestId>54BFA4FB-6E08-4D58-9E83-1A8A3EC80247</RequestId>\\n\\t<GroupedResourceCounts>\\n\\t\\t<GroupedResourceCountList>\\n\\t\\t\\t<GroupName>ACS::ECS::NetworkInterface</GroupName>\\n\\t\\t\\t<ResourceCount>13</ResourceCount>\\n\\t\\t</GroupedResourceCountList>\\n\\t\\t<GroupedResourceCountList>\\n\\t\\t\\t<GroupName>ACS::ECS::SecurityGroup</GroupName>\\n\\t\\t\\t<ResourceCount>10</ResourceCount>\\n\\t\\t</GroupedResourceCountList>\\n\\t\\t<GroupByKey>ResourceType</GroupByKey>\\n\\t</GroupedResourceCounts>\\n</GetDiscoveredResourceCountsResponse>","errorExample":""}]',
+ 'title' => 'GetDiscoveredResourceCounts',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListDiscoveredResources' => [
+ 'summary' => 'Queries the resources of the current Alibaba Cloud account.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfig6XGW41',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eni-hp31cqoba96jagtz****',
+ ],
+ ],
+ [
+ 'name' => 'ResourceDeleted',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The status of the resource. Valid values:'."\n"
+ ."\n"
+ .'* 0: The resource is deleted.'."\n"
+ .'* 1 (default): The resource is retained.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries per page. Valid values: 1 to 100.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '100',
+ 'minimum' => '1',
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The page number. Pages start from 1.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'minimum' => '1',
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'ResourceTypes',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource types. Separate multiple resource types with commas (,).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ACS::ECS::NetworkInterface',
+ ],
+ ],
+ [
+ 'name' => 'Regions',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region IDs. Separate multiple regions IDs with commas (,).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-huhehaote',
+ ],
+ ],
+ [
+ 'name' => 'MultiAccount',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is unavailable since 00:00:00 on June 30, 2021. Account group-related operations are provided as an alternative after 00:00:00 on May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related operations after 00:00:00 on May 30, 2021. For more information about account groups, see [Overview](~~211534~~).'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'MemberId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is unavailable since 00:00:00 on June 30, 2021. Account group-related operations are provided as an alternative after 00:00:00 on May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related operations after 00:00:00 on May 30, 2021. For information about account groups, see [Overview](~~211534~~).'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '120886341261****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DiscoveredResourceProfiles' => [
+ 'description' => 'The queried resources.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DiscoveredResourceProfileList' => [
+ 'description' => 'The queried resource.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'description' => 'The ID of the Alibaba Cloud account.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '120886317861****',
+ ],
+ 'Region' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-huhehaote',
+ ],
+ 'ResourceCreationTime' => [
+ 'description' => 'The time when the resource was created.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1618675206000',
+ ],
+ 'ResourceDeleted' => [
+ 'description' => 'Indicates whether the resource was deleted. Valid values:'."\n"
+ ."\n"
+ .'* 1: The resource was not deleted.'."\n"
+ .'* 0: The resource was deleted.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ResourceId' => [
+ 'description' => 'The resource ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'eni-hp31cqoba96jagtz****',
+ ],
+ 'ResourceName' => [
+ 'description' => 'The resource name.'."\n",
+ 'type' => 'string',
+ 'example' => 'Cloud Firewall',
+ ],
+ 'ResourceStatus' => [
+ 'description' => 'The status of the resource. The value of this parameter varies with the resource type and may be empty. Examples:'."\n"
+ ."\n"
+ .'* If the value of the ResourceType parameter is ACS::ECS::Instance, the resource is an Elastic Compute Service (ECS) instance that is in a specific state. In this case, the valid values of this parameter are Running and Stopped.'."\n"
+ .'* If the value of 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 empty.'."\n",
+ 'type' => 'string',
+ 'example' => 'InUse',
+ ],
+ 'ResourceType' => [
+ 'description' => 'The resource type.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACS::ECS::NetworkInterface',
+ ],
+ 'Tags' => [
+ 'description' => 'The tags of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => '{\\"key1\\":[\\"value2\\"]}',
+ ],
+ ],
+ ],
+ ],
+ 'PageNumber' => [
+ 'description' => 'The page number. Pages start from 1.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'PageSize' => [
+ 'description' => 'The number of entries per page. Valid values: 1 to 100.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of resources.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '129',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ [
+ 'errorCode' => 'MemberNotBelongToMaster',
+ 'errorMessage' => 'The specified member does not belong to your organization.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"DiscoveredResourceProfiles\\": {\\n \\"DiscoveredResourceProfileList\\": [\\n {\\n \\"AccountId\\": 0,\\n \\"Region\\": \\"cn-huhehaote\\",\\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 }\\n ],\\n \\"PageNumber\\": 10,\\n \\"PageSize\\": 1,\\n \\"TotalCount\\": 129\\n },\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\"\\n}","errorExample":""},{"type":"xml","example":"<ListDiscoveredResourcesResponse>\\r\\n\\t<DiscoveredResourceProfiles>\\r\\n\\t\\t<TotalCount>129</TotalCount>\\r\\n\\t\\t<PageSize>1</PageSize>\\r\\n\\t\\t<PageNumber>10</PageNumber>\\r\\n\\t\\t<DiscoveredResourceProfileList>\\r\\n\\t\\t\\t<AccountId>120886317861****</AccountId>\\r\\n\\t\\t\\t<ResourceCreationTime>1618675206000</ResourceCreationTime>\\r\\n\\t\\t\\t<ResourceId>eni-hp31cqoba96jagtz****</ResourceId>\\r\\n\\t\\t\\t<ResourceName>Cloud Firewall</ResourceName>\\r\\n\\t\\t\\t<Region>cn-huhehaote</Region>\\r\\n\\t\\t\\t<ResourceStatus>InUse</ResourceStatus>\\r\\n\\t\\t\\t<ResourceType>ACS::ECS::NetworkInterface</ResourceType>\\r\\n\\t\\t\\t<ResourceDeleted>1</ResourceDeleted>\\r\\n\\t\\t\\t<Tags>{\\\\\\"key1\\\\\\":[\\\\\\"value2\\\\\\"]}</Tags>\\r\\n\\t\\t</DiscoveredResourceProfileList>\\r\\n\\t</DiscoveredResourceProfiles>\\r\\n\\t<RequestId>C7817373-78CB-4F9A-8AFA-E7A88E9D64A2</RequestId>\\r\\n</ListDiscoveredResourcesResponse>\\t","errorExample":""}]',
+ 'title' => 'ListDiscoveredResources',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DescribeDiscoveredResource' => [
+ 'summary' => 'Queries the configuration of a resource.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfig6XGW41',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the resource.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'adaf.zhilon****',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the resource.'."\n"
+ ."\n"
+ .'> You can call the GetSupportedResourceTypes operation to query the resource types supported by Cloud Config. For more information, see [GetSupportedResourceTypes](~~169618~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'ACS::CDN::Domain',
+ ],
+ ],
+ [
+ 'name' => 'Region',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'MultiAccount',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is unavailable since 00:00:00 on June 30, 2021. Account group-related operations are provided as an alternative after 00:00:00 on May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related operations after 00:00:00 on May 30, 2021. For more information about account groups, see [Overview](~~211534~~).'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'default' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'MemberId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is scheduled to be removed before 00:00:00, June 30, 2021. Account group-related APIs will be provided as an alternative before 00:00:00, May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related APIs after 00:00:00, May 30, 2021. For more information, see [Account groups](~~211534~~).'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123456789',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DiscoveredResourceDetail' => [
+ 'description' => 'The information about the resource.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'description' => 'The ID of your Alibaba Cloud account.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '987654321',
+ ],
+ 'AvailabilityZone' => [
+ 'description' => 'The zone where the resource resides.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou-h',
+ ],
+ 'Configuration' => [
+ 'description' => 'The configuration of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => '{\\"Description\\":\\"\\",\\"SslProtocol\\":\\"off\\",\\"DomainName\\":\\"adaf.zhilong****\\",\\"GmtModified\\":\\"2019-04-10T03:11Z\\",\\"CdnType\\":\\"web\\",\\"GmtCreated\\":\\"2016-03-03T01:31:35Z\\",\\"Cname\\":\\"adaf.zhilong.me.w.kun****.com\\",\\"Sources\\":{\\"Source\\":[{\\"Type\\":\\"oss\\",\\"Content\\":\\"test2-mh.oss-cn-hangzhou.aliyuncs.com\\",\\"Priority\\":\\"20\\",\\"Port\\":80,\\"Weight\\":\\"10\\"}]},\\"DomainStatus\\":\\"offline\\",\\"Sandbox\\":\\"\\"}',
+ ],
+ 'Region' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'ResourceCreationTime' => [
+ 'description' => 'The timestamp when the resource was created.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1456968695000',
+ ],
+ 'ResourceDeleted' => [
+ 'description' => 'Indicates whether the resource is deleted. Valid values:'."\n"
+ ."\n"
+ .'* 1: The resource is not deleted.'."\n"
+ .'* 0: The resource is deleted.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ResourceId' => [
+ 'description' => 'The ID of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'adaf.zhilon****',
+ ],
+ 'ResourceName' => [
+ 'description' => 'The name of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'test-resource-name',
+ ],
+ 'ResourceStatus' => [
+ 'description' => 'The status of the resource. The parameter value varies with the resource type and may be left empty. Examples:'."\n"
+ ."\n"
+ .'* If ResourceType is set to ACS::ECS::Instance, the resource is an Elastic Compute Service (ECS) instance which has a specific state. In this case, valid values of this parameter include Running and Stopped.'."\n"
+ .'* If ResourceType is set to ACS::OSS::Bucket, the resource is an Object Storage Service (OSS) bucket which does not have a specific state. In this case, this parameter is left empty.'."\n",
+ 'type' => 'string',
+ 'example' => 'offline',
+ ],
+ 'ResourceType' => [
+ 'description' => 'The type of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACS::CDN::Domain',
+ ],
+ 'Tags' => [
+ 'description' => 'The tags of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'E4D71ACE-6B0A-46E0-8352-56952378CC7F',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ [
+ 'errorCode' => 'MemberNotBelongToMaster',
+ 'errorMessage' => 'The specified member does not belong to your organization.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"DiscoveredResourceDetail\\": {\\n \\"AccountId\\": 987654321,\\n \\"AvailabilityZone\\": \\"cn-hangzhou-h\\",\\n \\"Configuration\\": \\"{\\\\\\\\\\\\\\"Description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"SslProtocol\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"off\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DomainName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"adaf.zhilong****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"GmtModified\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2019-04-10T03:11Z\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CdnType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"web\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"GmtCreated\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2016-03-03T01:31:35Z\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Cname\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"adaf.zhilong.me.w.kun****.com\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Sources\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"Source\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"Type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"oss\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Content\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"test2-mh.oss-cn-hangzhou.aliyuncs.com\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Priority\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"20\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Port\\\\\\\\\\\\\\":80,\\\\\\\\\\\\\\"Weight\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"10\\\\\\\\\\\\\\"}]},\\\\\\\\\\\\\\"DomainStatus\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"offline\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Sandbox\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"}\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"ResourceCreationTime\\": 1456968695000,\\n \\"ResourceDeleted\\": 1,\\n \\"ResourceId\\": \\"adaf.zhilon****\\",\\n \\"ResourceName\\": \\"test-resource-name\\",\\n \\"ResourceStatus\\": \\"offline\\",\\n \\"ResourceType\\": \\"ACS::CDN::Domain\\",\\n \\"Tags\\": \\"{\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"hc\\\\\\\\\\\\\\"\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"value2\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"]}\\"\\n },\\n \\"RequestId\\": \\"E4D71ACE-6B0A-46E0-8352-56952378CC7F\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeDiscoveredResourceResponse>\\r\\n\\t<RequestId>E4D71ACE-6B0A-46E0-8352-56952378CC7F</RequestId>\\r\\n\\t<DiscoveredResourceDetail>\\r\\n\\t\\t<accountId>987654321</accountId>\\r\\n\\t\\t<resourceId>adaf.zhilon****</resourceId>\\r\\n\\t\\t<resourceStatus>offline</resourceStatus>\\r\\n\\t\\t<configuration>{\\\\\\"Description\\\\\\":\\\\\\"\\\\\\",\\\\\\"SslProtocol\\\\\\":\\\\\\"off\\\\\\",\\\\\\"DomainName\\\\\\":\\\\\\"adaf.zhilong****\\\\\\",\\\\\\"GmtModified\\\\\\":\\\\\\"2019-04-10T03:11Z\\\\\\",\\\\\\"CdnType\\\\\\":\\\\\\"web\\\\\\",\\\\\\"GmtCreated\\\\\\":\\\\\\"2016-03-03T01:31:35Z\\\\\\",\\\\\\"Cname\\\\\\":\\\\\\"adaf.zhilong.me.w.kun****.com\\\\\\",\\\\\\"Sources\\\\\\":{\\\\\\"Source\\\\\\":[{\\\\\\"Type\\\\\\":\\\\\\"oss\\\\\\",\\\\\\"Content\\\\\\":\\\\\\"test2-mh.oss-cn-hangzhou.aliyuncs.com\\\\\\",\\\\\\"Priority\\\\\\":\\\\\\"20\\\\\\",\\\\\\"Port\\\\\\":80,\\\\\\"Weight\\\\\\":\\\\\\"10\\\\\\"}]},\\\\\\"DomainStatus\\\\\\":\\\\\\"offline\\\\\\",\\\\\\"Sandbox\\\\\\":\\\\\\"\\\\\\"}</configuration>\\r\\n\\t\\t<resourceDeleted>1</resourceDeleted>\\r\\n\\t\\t<resourceName>test-resource-name</resourceName>\\r\\n\\t\\t<region>cn-hangzhou</region>\\r\\n\\t\\t<availabilityZone>cn-hangzhou-h</availabilityZone>\\r\\n\\t\\t<resourceCreationTime>1456968695000</resourceCreationTime>\\r\\n\\t\\t<tags>{\\\\\\"\\\\\\"hc\\\\\\"\\\\\\":[\\\\\\"\\\\\\"value2\\\\\\"\\\\\\"]}</tags>\\r\\n\\t\\t<resourceType>ACS::CDN::Domain</resourceType>\\r\\n\\t</DiscoveredResourceDetail>\\r\\n</DescribeDiscoveredResourceResponse>\\t","errorExample":""}]',
+ 'title' => 'DescribeDiscoveredResource',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetResourceComplianceTimeline' => [
+ 'summary' => 'Queries the compliance timeline of a resource.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfig6XGW41',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource type.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'ACS::ECS::Instance',
+ ],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'i-uf6072y75i2cevjq****',
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The beginning of the time range to query. By default, Cloud Config retrieves the configuration changes in the last 30 days for the specified resource.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1593599340010',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The end of the time range to query. By default, the value is the time when the GetResourceConfigurationTimeline operation is called.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1593599342230',
+ ],
+ ],
+ [
+ 'name' => 'Limit',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 10.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'maximum' => '100',
+ 'minimum' => '1',
+ 'example' => '10',
+ 'default' => '10',
+ ],
+ ],
+ [
+ 'name' => 'MultiAccount',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is unavailable since 00:00:00 on June 30, 2021. Account group-related operations are provided as an alternative after 00:00:00 on May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related operations after 00:00:00 on May 30, 2021. For more information about account groups, see [Overview](~~211534~~).'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'default' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'MemberId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is unavailable since 00:00:00 on June 30, 2021. Account group-related operations are provided as an alternative after 00:00:00 on May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related operations after 00:00:00 on May 30, 2021. For information about account groups, see [Overview](~~211534~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '123456789',
+ ],
+ ],
+ [
+ 'name' => 'Region',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ '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. You do not need to specify this parameter for the first request.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'caeba0bbb2be03f84eb48b699f0a****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'DE9FFFE5-FCAD-4B24-9546-BF49273C562B',
+ ],
+ 'ResourceComplianceTimeline' => [
+ 'description' => 'The information about the compliance timeline.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceList' => [
+ 'description' => 'The compliance evaluation records on the compliance timeline.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'description' => 'The ID of the Alibaba Cloud account.'."\n",
+ 'type' => 'string',
+ 'example' => '120390217529****',
+ ],
+ 'AvailabilityZone' => [
+ 'description' => 'The ID of the zone in which the resource resides.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou-f',
+ ],
+ 'CaptureTime' => [
+ 'description' => 'The time when the compliance of the resource was evaluated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1203902175292305',
+ ],
+ 'Configuration' => [
+ 'description' => 'The rules associated with the resource and the compliance details of the rules.'."\n",
+ 'type' => 'string',
+ 'example' => '{\\"managetest-required-tags\\":[{},{\\"configRuleId\\":\\"cr-656d5180a8d1009c****\\",\\"configRuleArn\\":\\"acs:config::120390217529****:config-rule/cr-656d5180a8d1009c****\\",\\"configRuleName\\":\\"managetest-required-tags\\",\\"complianceType\\":\\"NON_COMPLIANT\\",\\"riskLevel\\":1,\\"annotation\\":\\"{\\\\\\"desiredValue\\\\\\":\\\\\\"key1\\\\\\",\\\\\\"reason\\\\\\":\\\\\\"No tag with name key1\\\\\\"}\\",\\"invokingEventMessageType\\":\\"ConfigurationItemChangeNotification\\"}]}',
+ ],
+ 'ConfigurationDiff' => [
+ 'description' => 'The information about the changes to the compliance evaluation results, including the information about the triggered rules.'."\n",
+ 'type' => 'string',
+ 'example' => '{\\"Compliance\\":{\\"complianceType\\":\\"NON_COMPLIANT\\",\\"count\\":2},\\"ConfigRuleList\\":[{\\"configRuleId\\":\\"cr-7b6e5180a8d100cc****\\",\\"configRuleArn\\":\\"acs:config::120390217529****:config-rule/cr-7b6e5180a8d100cc****\\",\\"configRuleName\\":\\"required-tags\\",\\"complianceType\\":\\"COMPLIANT\\",\\"riskLevel\\":1,\\"invokingEventMessageType\\":\\"ConfigurationItemChangeNotification\\"}]}',
+ ],
+ 'Region' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'ResourceCreateTime' => [
+ 'description' => 'The time when the resource was created.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1203902175293610',
+ ],
+ 'ResourceId' => [
+ 'description' => 'The resource ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'i-uf6072y75i2cevjq****',
+ ],
+ 'ResourceName' => [
+ 'description' => 'The resource name.'."\n",
+ 'type' => 'string',
+ 'example' => 'test-resource',
+ ],
+ 'ResourceStatus' => [
+ 'description' => 'The status of the resource. The parameter value varies with the resource type and may be left empty. Examples:'."\n"
+ ."\n"
+ .'* If the value of the ResourceType parameter is ACS::ECS::Instance, the resource is an Elastic Compute Service (ECS) instance that is in a specific state. In this case, the valid values of this parameter are Running and Stopped.'."\n"
+ .'* If the value of 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 empty.'."\n",
+ 'type' => 'string',
+ 'example' => 'Running',
+ ],
+ 'ResourceType' => [
+ 'description' => 'The resource type.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACS::ECS::Instance',
+ ],
+ 'Tags' => [
+ 'description' => 'The tags of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => '{\\"project\\":[\\"efg\\"]}',
+ ],
+ ],
+ ],
+ ],
+ 'Limit' => [
+ 'description' => 'The number of entries per page. Valid values: 1 to 100.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ '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' => 'caeba0bbb2be03f84eb48b699f0a****',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of the compliance evaluations for the specified resource.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DE9FFFE5-FCAD-4B24-9546-BF49273C562B\\",\\n \\"ResourceComplianceTimeline\\": {\\n \\"ComplianceList\\": [\\n {\\n \\"AccountId\\": \\"120390217529****\\",\\n \\"AvailabilityZone\\": \\"cn-hangzhou-f\\",\\n \\"CaptureTime\\": 1203902175292305,\\n \\"Configuration\\": \\"{\\\\\\\\\\\\\\"managetest-required-tags\\\\\\\\\\\\\\":[{},{\\\\\\\\\\\\\\"configRuleId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cr-656d5180a8d1009c****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"configRuleArn\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"acs:config::120390217529****:config-rule/cr-656d5180a8d1009c****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"configRuleName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"managetest-required-tags\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"complianceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NON_COMPLIANT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"riskLevel\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"annotation\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"desiredValue\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"key1\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"reason\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"No tag with name key1\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"}\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"invokingEventMessageType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ConfigurationItemChangeNotification\\\\\\\\\\\\\\"}]}\\",\\n \\"ConfigurationDiff\\": \\"{\\\\\\\\\\\\\\"Compliance\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"complianceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NON_COMPLIANT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"count\\\\\\\\\\\\\\":2},\\\\\\\\\\\\\\"ConfigRuleList\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"configRuleId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cr-7b6e5180a8d100cc****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"configRuleArn\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"acs:config::120390217529****:config-rule/cr-7b6e5180a8d100cc****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"configRuleName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"required-tags\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"complianceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"COMPLIANT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"riskLevel\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"invokingEventMessageType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ConfigurationItemChangeNotification\\\\\\\\\\\\\\"}]}\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"ResourceCreateTime\\": 1203902175293610,\\n \\"ResourceId\\": \\"i-uf6072y75i2cevjq****\\",\\n \\"ResourceName\\": \\"test-resource\\",\\n \\"ResourceStatus\\": \\"Running\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"Tags\\": \\"{\\\\\\\\\\\\\\"project\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"efg\\\\\\\\\\\\\\"]}\\"\\n }\\n ],\\n \\"Limit\\": 10,\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a****\\",\\n \\"TotalCount\\": 100\\n }\\n}","errorExample":""},{"type":"xml","example":"<ResourceComplianceTimelineResponse>\\n <NextToken>caeba0bbb2be03f84eb48b699f0a****</NextToken>\\n <ComplianceList>\\n <AccountId>120390217529****</AccountId>\\n <CaptureTime>1203902175292305</CaptureTime>\\n <ConfigurationDiff>{\\\\\\"Compliance\\\\\\":{\\\\\\"complianceType\\\\\\":\\\\\\"NON_COMPLIANT\\\\\\",\\\\\\"count\\\\\\":2},\\\\\\"ConfigRuleList\\\\\\":[{\\\\\\"configRuleId\\\\\\":\\\\\\"cr-7b6e5180a8d100cc****\\\\\\",\\\\\\"configRuleArn\\\\\\":\\\\\\"acs:config::120390217529****:config-rule/cr-7b6e5180a8d100cc****\\\\\\",\\\\\\"configRuleName\\\\\\":\\\\\\"required-tags\\\\\\",\\\\\\"complianceType\\\\\\":\\\\\\"COMPLIANT\\\\\\",\\\\\\"riskLevel\\\\\\":1,\\\\\\"invokingEventMessageType\\\\\\":\\\\\\"ConfigurationItemChangeNotification\\\\\\"}]}</ConfigurationDiff>\\n <Configuration>{\\\\\\"managetest-required-tags\\\\\\":[{},{\\\\\\"configRuleId\\\\\\":\\\\\\"cr-656d5180a8d1009c****\\\\\\",\\\\\\"configRuleArn\\\\\\":\\\\\\"acs:config::120390217529****:config-rule/cr-656d5180a8d1009c****\\\\\\",\\\\\\"configRuleName\\\\\\":\\\\\\"managetest-required-tags\\\\\\",\\\\\\"complianceType\\\\\\":\\\\\\"NON_COMPLIANT\\\\\\",\\\\\\"riskLevel\\\\\\":1,\\\\\\"annotation\\\\\\":\\\\\\"{\\\\\\\\\\\\\\"desiredValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"key1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"reason\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"No tag with name key1\\\\\\\\\\\\\\"}\\\\\\",\\\\\\"invokingEventMessageType\\\\\\":\\\\\\"ConfigurationItemChangeNotification\\\\\\"}]}</Configuration>\\n <ResourceId>i-uf6072y75i2cevjq****</ResourceId>\\n <ResourceName>test-resource</ResourceName>\\n <AvailabilityZone>cn-hangzhou-f</AvailabilityZone>\\n <Region>cn-hangzhou</Region>\\n <ResourceStatus>Running</ResourceStatus>\\n <ResourceType>ACS::ECS::Instance</ResourceType>\\n <ResourceCreateTime>1203902175293610</ResourceCreateTime>\\n <Tags>{\\\\\\"project\\\\\\":[\\\\\\"efg\\\\\\"]}</Tags>\\n </ComplianceList>\\n <Limit>10</Limit>\\n <RequestId>DE9FFFE5-FCAD-4B24-9546-BF49273C562B</RequestId>\\n</ResourceComplianceTimelineResponse>","errorExample":""}]',
+ 'title' => 'GetResourceComplianceTimeline',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetResourceConfigurationTimeline' => [
+ 'summary' => 'Queries the configuration timeline of a resource.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfig6XGW41',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the resource.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'i-bp19xem7lt97h973****',
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The timestamp that specifies the beginning of the time range to query. By default, Cloud Config retrieves the configuration changes in the last 30 days for the specified resource.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1605489195000',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The timestamp that specifies the end of the time range to query. By default, the value is the time when the GetResourceConfigurationTimeline operation is called.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1605489235000',
+ ],
+ ],
+ [
+ 'name' => 'Limit',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 10.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'maximum' => '100',
+ 'minimum' => '1',
+ 'example' => '10',
+ 'default' => '10',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the resource.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'ACS::ECS::Instance',
+ ],
+ ],
+ [
+ 'name' => 'Region',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'MultiAccount',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is unavailable since 00:00:00 on June 30, 2021. Account group-related operations are provided as an alternative after 00:00:00 on May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related operations after 00:00:00 on May 30, 2021. For more information about account groups, see [Overview](~~211534~~).'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'default' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'MemberId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is scheduled to be removed before 00:00:00, June 30, 2021. Account group-related APIs will be provided as an alternative before 00:00:00, May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related APIs after 00:00:00, May 30, 2021. For more information, see [Account groups](~~211534~~).'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123456789',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The token that is used to start the next query.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'caeba0bbb2be03f84eb48b699f0a****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'ED9CD1B3-286C-4E05-A765-5E1E0B9BC2AB',
+ ],
+ 'ResourceConfigurationTimeline' => [
+ 'description' => 'The information of the configuration timeline.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ConfigurationList' => [
+ 'description' => 'The configuration changes of the configuration timeline.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'description' => 'The ID of your Alibaba Cloud account.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '987654321',
+ ],
+ 'AvailabilityZone' => [
+ 'description' => 'The ID of the zone.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou-h',
+ ],
+ 'CaptureTime' => [
+ 'description' => 'The timestamp when the configuration change occurred.'."\n",
+ 'type' => 'string',
+ 'example' => '1605316711000',
+ ],
+ 'ConfigurationDiff' => [
+ 'description' => 'The information of the changes to the configuration of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => '{\\"ExpiredTime\\":[\\"2020-10-26T16:00Z\\",\\"2020-11-26T16:00Z\\"]}',
+ ],
+ 'Region' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'ResourceCreateTime' => [
+ 'description' => 'The time when the resource was created.'."\n",
+ 'type' => 'string',
+ 'example' => '1605237751000',
+ ],
+ 'ResourceEventType' => [
+ 'description' => 'The type of the resource change event. Valid values:'."\n"
+ ."\n"
+ .'* DISCOVERED: A resource was created.'."\n"
+ .'* MODIFY: A resource was modified.'."\n"
+ .'* REMOVE: A resource is deleted.'."\n",
+ 'type' => 'string',
+ 'example' => 'DISCOVERED',
+ ],
+ 'ResourceId' => [
+ 'description' => 'The ID of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'i-bp19xem7lt97h973****',
+ ],
+ 'ResourceName' => [
+ 'description' => 'The name of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'ECS-test',
+ ],
+ 'ResourceType' => [
+ 'description' => 'The type of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACS::ECS::Instance',
+ ],
+ 'Tags' => [
+ 'description' => 'The tags of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => '"{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}"',
+ ],
+ ],
+ ],
+ ],
+ 'Limit' => [
+ 'description' => 'The number of entries returned on each page. Valid values: 1 to 100.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'NextToken' => [
+ 'description' => 'The token that was returned for the next query.'."\n",
+ 'type' => 'string',
+ 'example' => 'caeba0bbb2be03f84eb48b699f0a****',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of configuration changes for the specified resource.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ [
+ 'errorCode' => 'MemberNotBelongToMaster',
+ 'errorMessage' => 'The specified member does not belong to your organization.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ED9CD1B3-286C-4E05-A765-5E1E0B9BC2AB\\",\\n \\"ResourceConfigurationTimeline\\": {\\n \\"ConfigurationList\\": [\\n {\\n \\"AccountId\\": 987654321,\\n \\"AvailabilityZone\\": \\"cn-hangzhou-h\\",\\n \\"CaptureTime\\": \\"1605316711000\\",\\n \\"ConfigurationDiff\\": \\"{\\\\\\\\\\\\\\"ExpiredTime\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"2020-10-26T16:00Z\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"2020-11-26T16:00Z\\\\\\\\\\\\\\"]}\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"ResourceCreateTime\\": \\"1605237751000\\",\\n \\"ResourceEventType\\": \\"DISCOVERED\\",\\n \\"ResourceId\\": \\"i-bp19xem7lt97h973****\\",\\n \\"ResourceName\\": \\"ECS-test\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"Tags\\": \\"\\\\\\"{\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"hc\\\\\\\\\\\\\\"\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"value2\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"]}\\\\\\"\\"\\n }\\n ],\\n \\"Limit\\": 10,\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a****\\",\\n \\"TotalCount\\": 100\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetResourceConfigurationTimelineResponse>\\r\\n\\t\\t<RequestId>ED9CD1B3-286C-4E05-A765-5E1E0B9BC2AB</RequestId>\\r\\n\\t\\t<ResourceConfigurationTimeline>\\r\\n\\t\\t\\t<ConfigurationList>\\r\\n\\t\\t\\t\\t<AccountId>987654321</AccountId>\\r\\n\\t\\t\\t\\t<ResourceCreateTime>1605237751000</ResourceCreateTime>\\r\\n\\t\\t\\t\\t<resourceEventType>DISCOVERED</resourceEventType>\\r\\n <CaptureTime>1605316711000</CaptureTime>\\r\\n\\t\\t\\t\\t<ConfigurationDiff>{\\\\\\"ExpiredTime\\\\\\":[\\\\\\"2020-10-26T16:00Z\\\\\\",\\\\\\"2020-11-26T16:00Z\\\\\\"]}</ConfigurationDiff>\\r\\n\\t\\t\\t\\t<ResourceId>i-bp19xem7lt97h973****</ResourceId>\\r\\n\\t\\t\\t\\t<ResourceName>ECS-test</ResourceName>\\r\\n\\t\\t\\t\\t<Region>cn-hangzhou</Region>\\r\\n\\t\\t\\t\\t<AvailabilityZone>cn-hangzhou-h</AvailabilityZone>\\r\\n\\t\\t\\t\\t<ResourceType>ACS::ECS::Instance</ResourceType>\\r\\n\\t\\t\\t\\t<Tags>{\\\\\\"\\\\\\"hc\\\\\\"\\\\\\":[\\\\\\"\\\\\\"value2\\\\\\"\\\\\\"]}</Tags>\\r\\n\\t\\t\\t</ConfigurationList>\\r\\n\\t\\t\\t<Limit>10</Limit>\\r\\n\\t\\t\\t<NextToken>caeba0bbb2be03f84eb48b699f0a****</NextToken>\\r\\n\\t\\t</ResourceConfigurationTimeline>\\r\\n</GetResourceConfigurationTimelineResponse>","errorExample":""}]',
+ 'title' => 'GetResourceConfigurationTimeline',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetDiscoveredResourceSummary' => [
+ 'summary' => 'Queries the statistics of the resources monitored by Cloud Config.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfig6XGW41',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MultiAccount',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is unavailable since 00:00:00 on June 30, 2021. Account group-related operations are provided as an alternative after 00:00:00 on May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related operations after 00:00:00 on May 30, 2021. For more information about account groups, see [Overview](~~211534~~).'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'MemberId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is unavailable since 00:00:00 on June 30, 2021. Account group-related operations are provided as an alternative after 00:00:00 on May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related operations after 00:00:00 on May 30, 2021. For information about account groups, see [Overview](~~211534~~).'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123456789',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DiscoveredResourceSummary' => [
+ 'description' => 'The statistics of the resources monitored by Cloud Config.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RegionCount' => [
+ 'description' => 'The number of the regions involved in the monitoring.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '6',
+ ],
+ 'ResourceCount' => [
+ 'description' => 'The number of the resources monitored by Cloud Config.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '7',
+ ],
+ 'ResourceTypeCount' => [
+ 'description' => 'The number of the resource types monitored by Cloud Config.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '45',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '2A8FA4FB-2E08-4D28-8F83-1A8A3EC80B1C',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ [
+ 'errorCode' => 'MemberNotBelongToMaster',
+ 'errorMessage' => 'The specified member does not belong to your organization.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"DiscoveredResourceSummary\\": {\\n \\"RegionCount\\": 6,\\n \\"ResourceCount\\": 7,\\n \\"ResourceTypeCount\\": 45\\n },\\n \\"RequestId\\": \\"2A8FA4FB-2E08-4D28-8F83-1A8A3EC80B1C\\"\\n}","errorExample":""},{"type":"xml","example":"<GetDiscoveredResourceSummaryResponse>\\n <DiscoveredResourceSummary>\\n <ResourceTypeCount>45</ResourceTypeCount>\\n <ResourceCount>7</ResourceCount>\\n <RegionCount>6</RegionCount>\\n </DiscoveredResourceSummary>\\n <RequestId>2A8FA4FB-2E08-4D28-8F83-1A8A3EC80B1C</RequestId>\\n</GetDiscoveredResourceSummaryResponse>","errorExample":""}]',
+ 'title' => 'GetDiscoveredResourceSummary',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetSupportedResourceTypes' => [
+ 'summary' => 'Queries the resource types that are supported by Cloud Config.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfig56XT35',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '6CE4ABA1-9A57-41A9-8EA9-E8B17D4671CD',
+ ],
+ 'ResourceTypes' => [
+ 'description' => 'The types of resources that are supported by Cloud Config.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '["ACS::ECS::Instance","ACS::ECS::NetworkInterface"]',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6CE4ABA1-9A57-41A9-8EA9-E8B17D4671CE\\",\\n \\"ResourceTypes\\": [\\n \\"[\\\\\\"ACS::ECS::Instance\\\\\\",\\\\\\"ACS::ECS::NetworkInterface\\\\\\"]\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetSupportedResourceTypesResponse>\\r\\n\\t\\t<ResourceTypes>ACS::ECS::Instance</ResourceTypes>\\r\\n\\t\\t<ResourceTypes>ACS::ECS::NetworkInterface</ResourceTypes>\\r\\n\\t\\t<RequestId>3A0D65E8-D5C0-4664-B257-950F7A5E33C3</RequestId>\\r\\n</GetSupportedResourceTypesResponse>","errorExample":""}]',
+ 'title' => 'GetSupportedResourceTypes',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DeleteConfigRules' => [
+ 'summary' => 'Deletes multiple rules at a time.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ConfigRuleIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The IDs of the rules. Separate multiple rule IDs with commas (,). You can specify a maximum of 20 rule IDs at a time.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cr-2da35180a8d1008e****,cr-2da35180a8d1008e****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'OperateRuleResult' => [
+ 'description' => 'The result information about the operation.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'OperateRuleItemList' => [
+ 'description' => 'The result information about each rule.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ConfigRuleId' => [
+ 'description' => 'The ID of the rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'cr-2da35180a8d1008e****',
+ ],
+ 'ErrorCode' => [
+ 'description' => 'The error code.'."\n"
+ ."\n"
+ .'* If the rule is deleted, no error code is returned.'."\n"
+ .'* If you fail to delete the rule, an error code is returned. For more information, visit the [API Error Center](https://error-center.alibabacloud.com/status/product/Config).'."\n",
+ 'type' => 'string',
+ 'example' => 'ConfigRuleCanNotDelete',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the rule is deleted. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '49C1A88F-D163-46DF-84A6-F300229F37AE',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ [
+ 'errorCode' => 'ConfigRuleCanNotDelete',
+ 'errorMessage' => 'The config rule cannot be deleted.',
+ ],
+ [
+ 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed',
+ 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"49C1A88F-D163-46DF-84A6-F300229F37AE\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ConfigRuleId\\": \\"cr-2da35180a8d1008e****\\",\\n \\"ErrorCode\\": \\"ConfigRuleCanNotDelete\\",\\n \\"Success\\": false\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DeleteConfigRulesResponse>\\n <OperateRuleResult>\\n <OperateRuleItemList>\\n <ConfigRuleId>cr-2da35180a8d1008e****</ConfigRuleId>\\n <ErrorCode>ConfigRuleCanNotDelete</ErrorCode>\\n <Success>false</Success>\\n </OperateRuleItemList>\\n <OperateRuleItemList>\\n <ConfigRuleId>cr-2da351800131233a****</ConfigRuleId>\\n <ErrorCode/>\\n <Success>true</Success>\\n </OperateRuleItemList>\\n <RequestId>49C1A88F-D163-46DF-84A6-F300229F37AE</RequestId>\\n </OperateRuleResult>\\n</DeleteConfigRulesResponse>","errorExample":""}]',
+ 'title' => 'DeleteConfigRules',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'StartConfigRuleEvaluation' => [
+ 'summary' => 'Re-evaluates the compliance of resources based on a rule or compliance package.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ '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 [ListConfigRules](~~169607~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'cr-bdb6626622af0012****',
+ ],
+ ],
+ [
+ 'name' => 'RevertEvaluation',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to reevaluate a non-compliant resource that is ignored. Valid values:'."\n"
+ ."\n"
+ .'* true: reevaluates a non-compliant resource that is ignored.'."\n"
+ .'* false: continues to ignore a non-compliant resource.'."\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 [ListCompliancePacks](~~263332~~).'."\n"
+ ."\n"
+ .'> You must set one of the `CompliancePackId` and `ConfigRuleId` parameters.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cp-ac16626622af0053****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'C32EEAD7-BF64-5927-977A-AFF9342B7275',
+ ],
+ 'Result' => [
+ 'description' => 'Indicates whether the operation is successful. Valid values:'."\n"
+ ."\n"
+ .'* true: The operation is successful.'."\n"
+ .'* false: The operation fails.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ConfigRuleNotExists',
+ 'errorMessage' => 'The ConfigRule does not exist.',
+ ],
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C32EEAD7-BF64-5927-977A-AFF9342B7275\\",\\n \\"Result\\": true\\n}","errorExample":""},{"type":"xml","example":"<StartConfigRuleEvaluationResponse>\\n <RequestId>C32EEAD7-BF64-5927-977A-AFF9342B7275</RequestId>\\n <Result>true</Result>\\n</StartConfigRuleEvaluationResponse>","errorExample":""}]',
+ 'title' => 'StartConfigRuleEvaluation',
+ 'description' => '> After you call this operation, the compliance evaluation is performed only once. To query the compliance evaluation results returned by the specified rule or compliance package, call the ListConfigRuleEvaluationResults operation. For more information, see [ListConfigRuleEvaluationResults](~~267503~~).'."\n"
+ ."\n"
+ .'In this example, the `cr-bdb6626622af0012****` rule is used.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~169575~~).'."\n",
+ ],
+ 'StopConfigRules' => [
+ 'summary' => 'Disables multiple rules at a time so that the rules enter the INACTIVE state.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ConfigRuleIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The rule IDs. Separate multiple rule IDs with commas (,). You can specify a maximum of 20 rule IDs at a time.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cr-2da35180a8d1008e****,cr-2da35180a8d1008e****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'OperateRuleResult' => [
+ 'description' => 'The result information about the operation.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'OperateRuleItemList' => [
+ 'description' => 'The result information about the operation.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ConfigRuleId' => [
+ 'description' => 'The rule ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'cr-2da35180a8d1008e****',
+ ],
+ 'ErrorCode' => [
+ 'description' => 'The error code.'."\n"
+ ."\n"
+ .'* If the rule is disabled, no error code is returned.'."\n"
+ .'*'."\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' => 'ConfigRuleStatusNotActive',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the rule is disabled. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '49C1A88F-D163-46DF-84A6-F300229F37AE',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ [
+ 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed',
+ 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.',
+ ],
+ [
+ 'errorCode' => 'ConfigRuleStatusNotActive',
+ 'errorMessage' => 'The status of the config rule is not active.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"49C1A88F-D163-46DF-84A6-F300229F37AE\\",\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ConfigRuleId\\": \\"cr-2da35180a8d1008e****\\",\\n \\"ErrorCode\\": \\"ConfigRuleStatusNotActive\\",\\n \\"Success\\": false\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<StopConfigRulesResponse>\\r\\n\\t\\t<OperateRuleResult>\\r\\n\\t\\t\\t<OperateRuleItemList>\\r\\n\\t\\t\\t\\t<ConfigRuleId>cr-2da35180a8d1008e****</ConfigRuleId>\\r\\n\\t\\t\\t\\t<ErrorCode>ConfigRuleStatusNotActive</ErrorCode>\\r\\n\\t\\t\\t\\t<Success>false</Success>\\r\\n\\t\\t\\t</OperateRuleItemList>\\r\\n\\t\\t\\t<OperateRuleItemList>\\r\\n\\t\\t\\t\\t<ConfigRuleId>cr-2da351800131233a****</ConfigRuleId>\\r\\n\\t\\t\\t\\t<ErrorCode></ErrorCode>\\r\\n\\t\\t\\t\\t<Success>true</Success>\\r\\n\\t\\t\\t</OperateRuleItemList>\\r\\n\\t\\t\\t<RequestId>49C1A88F-D163-46DF-84A6-F300229F37AE</RequestId>\\r\\n\\t\\t</OperateRuleResult>\\r\\n</StopConfigRulesResponse>","errorExample":""}]',
+ 'title' => 'StopConfigRules',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListConfigRules' => [
+ 'summary' => 'Queries the list of rules that belong to the current Alibaba Cloud account.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigNPMEKB',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ConfigRuleState',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The status of the rule. Valid values:'."\n"
+ ."\n"
+ .'* ACTIVE: The rule is enabled.'."\n"
+ .'* EVALUATING: The rule is being used to evaluate resource configurations.'."\n"
+ .'* INACTIVE: The rule is disabled.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'ACTIVE',
+ 'enum' => [
+ 'ACTIVE',
+ 'DELETING',
+ 'EVALUATING',
+ 'INACTIVE',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'ComplianceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The compliance evaluation result of the resource. 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: The resource data is insufficient.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'COMPLIANT',
+ 'enum' => [
+ 'COMPLIANT',
+ 'NON_COMPLIANT',
+ 'NOT_APPLICABLE',
+ 'INSUFFICIENT_DATA',
+ 'IGNORED',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'RiskLevel',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The risk level of the resources that are not compliant with the rule. Valid values:'."\n"
+ ."\n"
+ .'* 1: high'."\n"
+ .'* 2: medium'."\n"
+ .'* 3: low'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The page number. Pages start from page 1.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => true,
+ 'minimum' => '1',
+ 'example' => '1',
+ 'default' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries per page. Valid values: 1 to 100.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => true,
+ 'maximum' => '100',
+ 'minimum' => '1',
+ 'example' => '20',
+ 'default' => '10',
+ ],
+ ],
+ [
+ 'name' => 'MultiAccount',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is unavailable since 00:00:00 on June 30, 2021. Account group-related operations are provided as an alternative after 00:00:00 on May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related operations after 00:00:00 on May 30, 2021. For more information about account groups, see [Overview](~~211534~~).'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'default' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'MemberId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is unavailable since 00:00:00 on June 30, 2021. Account group-related operations are provided as an alternative after 00:00:00 on May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related operations after 00:00:00 on May 30, 2021. For information about account groups, see [Overview](~~211534~~).'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123456789',
+ ],
+ ],
+ [
+ 'name' => 'ConfigRuleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the monitoring rule.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Best practices for OSS compliance management-OSS bucket ACL prohibits public read access',
+ ],
+ ],
+ [
+ 'name' => 'CompliancePackId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the compliance package to which the rule belongs.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cp-8d5c6457e0d9002a****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ConfigRules' => [
+ 'description' => 'The rules.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ConfigRuleList' => [
+ 'description' => 'The rules.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'N/A.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'description' => 'The ID of the Alibaba Cloud account that owns the rule.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '987654321',
+ ],
+ 'AutomationType' => [
+ 'description' => 'The type of the remediation template. The value is fixed to LC.'."\n"
+ ."\n"
+ .'> LC stands for Logic Composer.'."\n",
+ 'type' => 'string',
+ 'example' => 'LC',
+ ],
+ 'Compliance' => [
+ 'description' => 'The statistics about the compliance evaluation results based on the rule.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceType' => [
+ 'description' => 'The compliance evaluation result of the resources. 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: The resource data is insufficient.'."\n",
+ 'type' => 'string',
+ 'example' => 'COMPLIANT',
+ ],
+ 'Count' => [
+ 'description' => 'The number of resources with the specified compliance evaluation result.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '161',
+ ],
+ ],
+ ],
+ 'CompliancePackId' => [
+ 'description' => 'The ID of the compliance package to which the rule belongs.'."\n",
+ 'type' => 'string',
+ 'example' => 'cp-8d5c6457e0d9002a****',
+ ],
+ 'ConfigRuleArn' => [
+ 'description' => 'The ARN of the rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'acs:config::120886317861****:rule/cr-8d5c6457e0d9002a****',
+ ],
+ 'ConfigRuleId' => [
+ 'description' => 'The ID of the rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'cr-8d5c6457e0d9002a****',
+ ],
+ 'ConfigRuleName' => [
+ 'description' => 'The name of the rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'Best practices for OSS compliance management-OSS bucket ACL prohibits public read access',
+ ],
+ 'ConfigRuleState' => [
+ 'description' => 'The status of the rule. Valid values:'."\n"
+ ."\n"
+ .'* ACTIVE: The rule is enabled.'."\n"
+ .'* EVALUATING: The rule is triggered and is being used to monitor resource configurations.'."\n"
+ .'* INACTIVE: The rule is disabled.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACTIVE',
+ ],
+ 'CreateBy' => [
+ 'description' => 'The information about how the rule is created.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'CompliancePackId' => [
+ 'description' => 'The ID of the compliance package.'."\n",
+ 'type' => 'string',
+ 'example' => 'cp-8d5c6457e0d9002a****',
+ ],
+ 'CompliancePackName' => [
+ 'description' => 'The name of the compliance package.'."\n",
+ 'type' => 'string',
+ 'example' => 'Best practices for OSS Compliance Management',
+ ],
+ ],
+ ],
+ 'Description' => [
+ 'description' => 'The description of the rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'The ACL policy for OSS buckets prohibits public read access and is considered compliant ',
+ ],
+ 'RiskLevel' => [
+ 'description' => 'The risk level of the resources that are not compliant with the rule. Valid values:'."\n"
+ ."\n"
+ .'* 1: high risk level'."\n"
+ .'* 2: medium risk level'."\n"
+ .'* 3: low risk level'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'SourceIdentifier' => [
+ 'description' => 'The identifier of the rule.'."\n"
+ ."\n"
+ .'* If the rule was created based on a managed rule, the value of this parameter is the name of the managed rule.'."\n"
+ .'* If the rule is a custom rule, the value of this parameter is the Alibaba Cloud Resource Name (ARN) of the relevant function in Function Compute.'."\n",
+ 'type' => 'string',
+ 'example' => 'oss-bucket-public-read-prohibited',
+ ],
+ 'SourceOwner' => [
+ 'description' => 'The method that is used to create the rule. Valid values:'."\n"
+ ."\n"
+ .'* CUSTOM_FC: The rule is a custom rule.'."\n"
+ .'* ALIYUN: The rule is created based on a managed rule of Alibaba Cloud.'."\n",
+ 'type' => 'string',
+ 'example' => 'ALIYUN',
+ ],
+ 'Tags' => [
+ 'description' => 'The tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The tag key.'."\n",
+ 'type' => 'string',
+ 'example' => 'Key1',
+ ],
+ 'Value' => [
+ 'description' => 'The value of the tag.'."\n",
+ 'type' => 'string',
+ 'example' => 'Value1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'PageNumber' => [
+ 'description' => 'The page number of the returned page. A minimum of one entry can be returned on each page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => 'The number of entries per page. Valid values: 1 to 100.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of cluster defense rules.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '8195B664-9565-4685-89AC-8B5F04B44B92',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConfigRules\\": {\\n \\"ConfigRuleList\\": [\\n {\\n \\"AccountId\\": 987654321,\\n \\"AutomationType\\": \\"LC\\",\\n \\"Compliance\\": {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"Count\\": 161\\n },\\n \\"CompliancePackId\\": \\"cp-8d5c6457e0d9002a****\\",\\n \\"ConfigRuleArn\\": \\"acs:config::120886317861****:rule/cr-8d5c6457e0d9002a****\\",\\n \\"ConfigRuleId\\": \\"cr-8d5c6457e0d9002a****\\",\\n \\"ConfigRuleName\\": \\"OSS合规管理最佳实践-OSS存储空间ACL禁止公共读访问\\",\\n \\"ConfigRuleState\\": \\"ACTIVE\\",\\n \\"CreateBy\\": {\\n \\"CompliancePackId\\": \\"cp-8d5c6457e0d9002a****\\",\\n \\"CompliancePackName\\": \\"OSS合规管理最佳实践\\"\\n },\\n \\"Description\\": \\"OSS存储空间的ACL策略禁止公共读访问,视为“合规”。\\",\\n \\"RiskLevel\\": 1,\\n \\"SourceIdentifier\\": \\"oss-bucket-public-read-prohibited\\",\\n \\"SourceOwner\\": \\"ALIYUN\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"Key1\\",\\n \\"Value\\": \\"Value1\\"\\n }\\n ]\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 1\\n },\\n \\"RequestId\\": \\"8195B664-9565-4685-89AC-8B5F04B44B92\\"\\n}","errorExample":""},{"type":"xml","example":"<ListConfigRulesResponse>\\r\\n\\t<RequestId>8195B664-9565-4685-89AC-8B5F04B44B92</RequestId>\\r\\n\\t<ConfigRules>\\r\\n\\t\\t<TotalCount>1</TotalCount>\\r\\n\\t\\t<PageSize>20</PageSize>\\r\\n\\t\\t<PageNumber>1</PageNumber>\\r\\n\\t\\t<ConfigRuleList>\\r\\n\\t\\t\\t<CompliancePackId>cp-8d5c6457e0d9002a****</CompliancePackId>\\r\\n\\t\\t\\t<ConfigRuleId>cr-8d5c6457e0d9002a****</ConfigRuleId>\\r\\n\\t\\t\\t<AccountId>987654321</AccountId>\\r\\n\\t\\t\\t<Description>OSS存储空间的ACL策略禁止公共读访问,视为“合规”。</Description>\\r\\n\\t\\t\\t<Compliance>\\r\\n\\t\\t\\t\\t<ComplianceType>COMPLIANT</ComplianceType>\\r\\n\\t\\t\\t\\t<Count>161</Count>\\r\\n\\t\\t\\t</Compliance>\\r\\n\\t\\t\\t<ConfigRuleArn>acs:config::120886317861****:rule/cr-8d5c6457e0d9002a****</ConfigRuleArn>\\r\\n\\t\\t\\t<SourceOwner>ALIYUN</SourceOwner>\\r\\n\\t\\t\\t<SourceIdentifier>oss-bucket-public-read-prohibited</SourceIdentifier>\\r\\n\\t\\t\\t<CreateBy>\\r\\n\\t\\t\\t\\t<CompliancePackId>cp-8d5c6457e0d9002a628b</CompliancePackId>\\r\\n\\t\\t\\t\\t<CompliancePackName>OSS合规管理最佳实践</CompliancePackName>\\r\\n\\t\\t\\t\\t<CreatorId>1208863178612953</CreatorId>\\r\\n\\t\\t\\t</CreateBy>\\r\\n\\t\\t\\t<ConfigRuleName>OSS合规管理最佳实践-OSS存储空间ACL禁止公共读访问</ConfigRuleName>\\r\\n\\t\\t\\t<RiskLevel>1</RiskLevel>\\r\\n\\t\\t\\t<ConfigRuleState>ACTIVE</ConfigRuleState>\\r\\n\\t\\t</ConfigRuleList>\\r\\n\\t</ConfigRules>\\r\\n</ListConfigRulesResponse>\\t","errorExample":""}]',
+ 'title' => 'ListConfigRules',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DescribeEvaluationResults' => [
+ 'summary' => 'Queries the evaluation results of a rule.',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of resource. If you query the compliance evaluation results of resources by resource type, you must specify this parameter.'."\n"
+ ."\n"
+ .'You can call the GetSupportedResourceTypes operation to query the resource types supported by Cloud Config. For more information, see [GetSupportedResourceTypes](~~169618~~).'."\n"
+ ."\n"
+ .'> You must specify the ResourceType or ConfigRuleId parameter.',
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'ACS::ECS::Instance',
+ ],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource ID. If you query the compliance evaluation results of resources by resource type, you must specify this parameter.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'i-bp151g9tpto890zr****',
+ ],
+ ],
+ [
+ 'name' => 'ComplianceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The compliance 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: The resource data is insufficient.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'COMPLIANT',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of the page to return. Pages start from page 1.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'minimum' => '1',
+ 'example' => '1',
+ 'default' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries to return per page. Valid values: 1 to 100.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'maximum' => '100',
+ 'minimum' => '1',
+ 'example' => '10',
+ 'default' => '10',
+ ],
+ ],
+ [
+ 'name' => 'ConfigRuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The rule ID. If you query the compliance evaluation results of resources by rule, you must specify this parameter.'."\n"
+ ."\n"
+ .'> You must specify the ResourceType or ConfigRuleId parameter.',
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'cr-2da35180a8d1008e****',
+ ],
+ ],
+ [
+ 'name' => 'MultiAccount',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is unavailable since 00:00:00 on June 30, 2021. Account group-related operations are provided as an alternative after 00:00:00 on May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related operations after 00:00:00 on May 30, 2021. For information about account groups, see [Overview](~~211534~~).'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'MemberId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is unavailable since 00:00:00 on June 30, 2021. Account group-related operations are provided as an alternative after 00:00:00 on May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related operations after 00:00:00 on May 30, 2021. For information about account groups, see [Overview](~~211534~~).'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123456789',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'N/A.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'EvaluationResults' => [
+ 'description' => 'The information about the compliance evaluation results returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'EvaluationResultList' => [
+ 'description' => 'Indicates whether remediation is enabled. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Annotation' => [
+ 'description' => 'The annotation to the resource that is evaluated to be non-compliant.'."\n",
+ 'type' => 'string',
+ 'example' => '{"operator": "StringEquals", "property": "$.SslProtocol", "desiredValue": "on", "configuration": "[\'off\']"}',
+ ],
+ 'ComplianceType' => [
+ 'description' => 'The compliance evaluation result of the resource. Valid values:'."\n"
+ ."\n"
+ .'* COMPLIANT: The resource is evaluated to be compliant.'."\n"
+ .'* NON_COMPLIANT: The resource is evaluated to be non-compliant.'."\n"
+ .'* NOT_APPLICABLE: The rule does not apply to the resource.'."\n"
+ .'* INSUFFICIENT_DATA: The resource data is insufficient.'."\n",
+ 'type' => 'string',
+ 'example' => 'COMPLIANT',
+ ],
+ 'ConfigRuleInvokedTimestamp' => [
+ 'description' => 'The timestamp that was generated when the rule was triggered.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1589941923258',
+ ],
+ 'EvaluationResultIdentifier' => [
+ 'description' => 'The identifier of the compliance evaluation result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'EvaluationResultQualifier' => [
+ 'description' => 'The information of the rule and the evaluated resource.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ConfigRuleArn' => [
+ 'description' => 'The Alibaba Cloud Resource Name (ARN) of the rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'acs:config::120390217529****:config-rule/cr-2da35180a8d1008e****',
+ ],
+ 'ConfigRuleId' => [
+ 'description' => 'The ID of the rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'cr-2da35180a8d1008e****',
+ ],
+ 'ConfigRuleName' => [
+ 'description' => 'The name of the rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'test-rule-name',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'ResourceId' => [
+ 'description' => 'The ID of the evaluated resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'i-bp151g9tpto890zr****',
+ ],
+ 'ResourceName' => [
+ 'description' => 'The type of the evaluated resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'launch-advisor-20200330',
+ ],
+ 'ResourceType' => [
+ 'description' => 'The type of the evaluated resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACS::ECS::Instance',
+ ],
+ ],
+ ],
+ 'OrderingTimestamp' => [
+ 'description' => 'The timestamp that was generated when the compliance evaluation was performed.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1589941923117',
+ ],
+ ],
+ ],
+ 'InvokingEventMessageType' => [
+ 'description' => 'The trigger type of the rule. Valid values:'."\n"
+ ."\n"
+ .'* ConfigurationItemChangeNotification: The rule is triggered by configuration changes.'."\n"
+ .'* ScheduledNotification: The rule is triggered as scheduled.'."\n",
+ 'type' => 'string',
+ 'example' => 'ConfigurationItemChangeNotification',
+ ],
+ 'RemediationEnabled' => [
+ 'description' => 'Specifies whether to enable the remediation template. Valid values:'."\n"
+ ."\n"
+ .'* **true**'."\n"
+ .'* **false**',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'ResultRecordedTimestamp' => [
+ 'description' => 'The timestamp that was generated when the compliance evaluation result was recorded.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1589941923432',
+ ],
+ 'RiskLevel' => [
+ 'description' => 'The risk level of the non-compliant resource. Valid values:'."\n"
+ ."\n"
+ .'* 1: high risk'."\n"
+ .'* 2: medium risk'."\n"
+ .'* 3: low risk'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ 'PageNumber' => [
+ 'description' => 'The page number of the returned page. Pages start from page 1.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => 'The number of entries returned per page. Valid values: 1 to 100.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of compliance evaluation results.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'D296EE41-1143-4B13-83BB-909008100130',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'CloudConfigServiceRoleNotExisted',
+ 'errorMessage' => 'The CloudConfigServiceRole does not exist.',
+ ],
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"EvaluationResults\\": {\\n \\"EvaluationResultList\\": [\\n {\\n \\"Annotation\\": \\"{\\\\\\"operator\\\\\\": \\\\\\"StringEquals\\\\\\", \\\\\\"property\\\\\\": \\\\\\"$.SslProtocol\\\\\\", \\\\\\"desiredValue\\\\\\": \\\\\\"on\\\\\\", \\\\\\"configuration\\\\\\": \\\\\\"[\'off\']\\\\\\"}\\",\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"ConfigRuleInvokedTimestamp\\": 1589941923258,\\n \\"EvaluationResultIdentifier\\": {\\n \\"EvaluationResultQualifier\\": {\\n \\"ConfigRuleArn\\": \\"acs:config::120390217529****:config-rule/cr-2da35180a8d1008e****\\",\\n \\"ConfigRuleId\\": \\"cr-2da35180a8d1008e****\\",\\n \\"ConfigRuleName\\": \\"ECS实例开启释放保护\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceId\\": \\"i-bp151g9tpto890zr****\\",\\n \\"ResourceName\\": \\"launch-advisor-20200330\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\"\\n },\\n \\"OrderingTimestamp\\": 1589941923117\\n },\\n \\"InvokingEventMessageType\\": \\"ConfigurationItemChangeNotification\\",\\n \\"RemediationEnabled\\": false,\\n \\"ResultRecordedTimestamp\\": 1589941923432,\\n \\"RiskLevel\\": 1\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 2\\n },\\n \\"RequestId\\": \\"D296EE41-1143-4B13-83BB-909008100130\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeEvaluationResultsResponse>\\r\\n\\t<RequestId>D296EE41-1143-4B13-83BB-909008100130</RequestId>\\r\\n\\t<EvaluationResults>\\r\\n\\t\\t<EvaluationResultList>\\r\\n\\t\\t\\t<ConfigRuleInvokedTimestamp>1608262263084</ConfigRuleInvokedTimestamp>\\r\\n\\t\\t\\t<ComplianceType>COMPLIANT</ComplianceType>\\r\\n\\t\\t\\t<ResultRecordedTimestamp>1608262263321</ResultRecordedTimestamp>\\r\\n\\t\\t\\t<InvokingEventMessageType>ConfigurationItemChangeNotification</InvokingEventMessageType>\\r\\n\\t\\t\\t<EvaluationResultIdentifier>\\r\\n\\t\\t\\t\\t<EvaluationResultQualifier>\\r\\n\\t\\t\\t\\t\\t<ConfigRuleId>cr-22726457e0d90078****</ConfigRuleId>\\r\\n\\t\\t\\t\\t\\t<ConfigRuleArn>acs:config::120886317861****:config-rule/cr-22726457e0d90078****</ConfigRuleArn>\\r\\n\\t\\t\\t\\t\\t<ResourceId>i-t4n0piq1mkfo1d27****</ResourceId>\\r\\n\\t\\t\\t\\t\\t<ConfigRuleName>ECS实例开启释放保护</ConfigRuleName>\\r\\n\\t\\t\\t\\t\\t<ResourceType>ACS::ECS::Instance</ResourceType>\\r\\n\\t\\t\\t\\t\\t<RegionId>cn-hangzhou</RegionId>\\r\\n\\t\\t\\t\\t</EvaluationResultQualifier>\\r\\n\\t\\t\\t\\t<OrderingTimestamp>1608262263084</OrderingTimestamp>\\r\\n\\t\\t\\t</EvaluationResultIdentifier>\\r\\n\\t\\t\\t<RiskLevel>3</RiskLevel>\\r\\n\\t\\t\\t<RemediationEnabled>true</RemediationEnabled>\\r\\n\\t\\t\\t<Annotation></Annotation>\\r\\n\\t\\t</EvaluationResultList>\\r\\n\\t\\t<EvaluationResultList>\\r\\n\\t\\t\\t<ConfigRuleInvokedTimestamp>1608262263084</ConfigRuleInvokedTimestamp>\\r\\n\\t\\t\\t<ComplianceType>COMPLIANT</ComplianceType>\\r\\n\\t\\t\\t<ResultRecordedTimestamp>1608262263326</ResultRecordedTimestamp>\\r\\n\\t\\t\\t<InvokingEventMessageType>ConfigurationItemChangeNotification</InvokingEventMessageType>\\r\\n\\t\\t\\t<EvaluationResultIdentifier>\\r\\n\\t\\t\\t\\t<EvaluationResultQualifier>\\r\\n\\t\\t\\t\\t\\t<ConfigRuleId>cr-22726457e0d90078****</ConfigRuleId>\\r\\n\\t\\t\\t\\t\\t<ConfigRuleArn>acs:config::120886317861****:config-rule/cr-22726457e0d90078****</ConfigRuleArn>\\r\\n\\t\\t\\t\\t\\t<ResourceId>i-2ze5o2beycwbvqnx****</ResourceId>\\r\\n\\t\\t\\t\\t\\t<ConfigRuleName>ECS实例开启释放保护</ConfigRuleName>\\r\\n\\t\\t\\t\\t\\t<ResourceType>ACS::ECS::Instance</ResourceType>\\r\\n\\t\\t\\t\\t\\t<RegionId>cn-hangzhou</RegionId>\\r\\n\\t\\t\\t\\t</EvaluationResultQualifier>\\r\\n\\t\\t\\t\\t<OrderingTimestamp>1608262263084</OrderingTimestamp>\\r\\n\\t\\t\\t</EvaluationResultIdentifier>\\r\\n\\t\\t\\t<RiskLevel>3</RiskLevel>\\r\\n\\t\\t\\t<RemediationEnabled>false</RemediationEnabled>\\r\\n\\t\\t\\t<Annotation></Annotation>\\r\\n\\t\\t</EvaluationResultList>\\r\\n\\t\\t<TotalCount>52</TotalCount>\\r\\n\\t\\t<PageSize>10</PageSize>\\r\\n\\t\\t<PageNumber>1</PageNumber>\\r\\n\\t</EvaluationResults>\\r\\n</DescribeEvaluationResultsResponse>\\t","errorExample":""}]',
+ 'title' => 'DescribeEvaluationResults',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DescribeCompliance' => [
+ 'summary' => 'Queries the statistics of compliance evaluation results.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the resource.'."\n"
+ ."\n"
+ .'If you query compliance evaluation results by resource, you must specify the ResourceType and ResourceId parameters.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'ACS::ECS::Instance',
+ ],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the resource.'."\n"
+ ."\n"
+ .'If you query compliance evaluation results by resource, you must specify the ResourceType and ResourceId parameters.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'i-bp151g9tpto890zr****',
+ ],
+ ],
+ [
+ 'name' => 'ComplianceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The compliance evaluation result of the resource. Valid values:'."\n"
+ ."\n"
+ .'* COMPLIANT: The resource is evaluated to be compliant.'."\n"
+ .'* NON_COMPLIANT: The resource is evaluated to be non-compliant.'."\n"
+ .'* NOT_APPLICABLE: The rule does not apply to the resource.'."\n"
+ .'* INSUFFICIENT_DATA: The resource data is insufficient.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'COMPLIANT',
+ 'enum' => [
+ 'COMPLIANT',
+ 'NON_COMPLIANT',
+ 'NOT_APPLICABLE',
+ 'INSUFFICIENT_DATA',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'ConfigRuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the rule.'."\n"
+ ."\n"
+ .'If you query compliance evaluation results by resource, you must specify the ConfigRuleId, ResourceType, and ResourceId parameters. Otherwise, the ConfigRuleId parameter becomes invalid.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cr-12b398b633820012****',
+ ],
+ ],
+ [
+ 'name' => 'MultiAccount',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is scheduled to be removed before 00:00:00, June 30, 2021. Account group-related APIs will be provided as an alternative before 00:00:00, May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related APIs after 00:00:00, May 30, 2021. For more information, see [Account groups](~~211534~~).'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'MemberId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is scheduled to be removed before 00:00:00, June 30, 2021. Account group-related APIs will be provided as an alternative before 00:00:00, May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related APIs after 00:00:00, May 30, 2021. For more information, see [Account groups](~~211534~~).'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1234567',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceResult' => [
+ 'description' => 'The statistics of compliance evaluations.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Compliances' => [
+ 'description' => 'The compliance evaluation results based on compliance types.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceType' => [
+ 'description' => 'The compliance evaluation result of the resource. Valid values:'."\n"
+ ."\n"
+ .'* COMPLIANT: The resource is evaluated to be compliant.'."\n"
+ .'* NON_COMPLIANT: The resource is evaluated to be non-compliant.'."\n"
+ .'* NOT_APPLICABLE: The rule does not apply to the resource.'."\n"
+ .'* INSUFFICIENT_DATA: The resource data is insufficient.'."\n",
+ 'type' => 'string',
+ 'example' => 'COMPLIANT',
+ ],
+ 'Count' => [
+ 'description' => 'The number of compliance evaluations with the corresponding result.'."\n"
+ ."\n"
+ .'* This parameter returns the total number of evaluated resources if you set the ResourceId parameter in the request.'."\n"
+ .'* This parameter returns the total number of triggered rules if you set the ConfigRuleId parameter in the request.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '13',
+ ],
+ ],
+ ],
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of compliance evaluations.'."\n"
+ ."\n"
+ .'* This parameter returns the total number of evaluated resources if you set the ResourceId parameter in the request.'."\n"
+ .'* This parameter returns the total number of triggered rules if you set the ConfigRuleId parameter in the request.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '13',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '17306AB1-34E0-468F-BD7B-68D8AEAB754F',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ComplianceResult\\": {\\n \\"Compliances\\": [\\n {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"Count\\": 12\\n }\\n ],\\n \\"TotalCount\\": 12\\n },\\n \\"RequestId\\": \\"17306AB1-34E0-468F-BD7B-68D8AEAB754F\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeComplianceResponse>\\n <RequestId>17306AB1-34E0-468F-BD7B-68D8AEAB754F</RequestId>\\n <Compliances>\\n <Compliances>\\n <ComplianceType>NOT_APPLICABLE</ComplianceType>\\n <Count>0</Count>\\n </Compliances>\\n <Compliances>\\n <ComplianceType>NON_COMPLIANT</ComplianceType>\\n <Count>5</Count>\\n </Compliances>\\n <Compliances>\\n <ComplianceType>INSUFFICIENT_DATA</ComplianceType>\\n <Count>0</Count>\\n </Compliances>\\n <Compliances>\\n <ComplianceType>COMPLIANT</ComplianceType>\\n <Count>13</Count>\\n </Compliances>\\n </CompliancesResponse>\\n</DescribeCompliance>","errorExample":""}]',
+ 'title' => 'DescribeCompliance',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DescribeComplianceSummary' => [
+ 'summary' => 'Queries the summary of compliance evaluations of the current Alibaba Cloud account.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MultiAccount',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is scheduled to be removed before 00:00:00, June 30, 2021. Account group-related APIs will be provided as an alternative before 00:00:00, May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related APIs after 00:00:00, May 30, 2021. For more information, see [Account groups](~~211534~~).'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'MemberId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is scheduled to be removed before 00:00:00, June 30, 2021. Account group-related APIs will be provided as an alternative before 00:00:00, May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related APIs after 00:00:00, May 30, 2021. For more information, see [Account groups](~~211534~~).'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123456789',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceSummary' => [
+ 'description' => 'The summary of compliance evaluations.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceSummaryByConfigRule' => [
+ 'description' => 'The summary of compliance evaluations from the rule dimension.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceSummaryTimestamp' => [
+ 'description' => 'The timestamp when the summary was recorded.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1589853712165',
+ ],
+ 'CompliantCount' => [
+ 'description' => 'The number of rules whose evaluation results are compliant.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '111',
+ ],
+ 'NonCompliantCount' => [
+ 'description' => 'The number of rules whose evaluation results are non-compliant.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of rules.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ ],
+ ],
+ 'ComplianceSummaryByResource' => [
+ 'description' => 'The summary of compliance evaluations from the resource dimension.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceSummaryTimestamp' => [
+ 'description' => 'The timestamp when the summary was recorded.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1589853712165',
+ ],
+ 'CompliantCount' => [
+ 'description' => 'The number of resources evaluated as compliant.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'NonCompliantCount' => [
+ 'description' => 'The number of resources evaluated as non-compliant.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of resources.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '13',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'CAEE6F34-DEDC-4AAA-AA8C-946D5D008735',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ComplianceSummary\\": {\\n \\"ComplianceSummaryByConfigRule\\": {\\n \\"ComplianceSummaryTimestamp\\": 1589853712165,\\n \\"CompliantCount\\": 101,\\n \\"NonCompliantCount\\": 12,\\n \\"TotalCount\\": 113\\n },\\n \\"ComplianceSummaryByResource\\": {\\n \\"ComplianceSummaryTimestamp\\": 1589853712165,\\n \\"CompliantCount\\": 1,\\n \\"NonCompliantCount\\": 12,\\n \\"TotalCount\\": 13\\n }\\n },\\n \\"RequestId\\": \\"CAEE6F34-DEDC-4AAA-AA8C-946D5D008735\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeComplianceSummaryResponse>\\n <RequestId>CAEE6F34-DEDC-4AAA-AA8C-946D5D008735</RequestId>\\n <ComplianceSummary>\\n <ComplianceSummaryByResource>\\n <CompliantCount>29</CompliantCount>\\n <NonCompliantCount>581</NonCompliantCount>\\n <ComplianceSummaryTimestamp>1589853712165</ComplianceSummaryTimestamp>\\n </ComplianceSummaryByResource>\\n <ComplianceSummaryByConfigRule>\\n <TotalCount>79</TotalCount>\\n <CompliantCount>1</CompliantCount>\\n <NonCompliantCount>34</NonCompliantCount>\\n <ComplianceSummaryTimestamp>1589853712128</ComplianceSummaryTimestamp>\\n </ComplianceSummaryByConfigRule>\\n </ComplianceSummary>\\n <HttpStatusCode>200</HttpStatusCode>\\n <Success>true</Success>\\n</DescribeComplianceSummaryResponse>","errorExample":""}]',
+ 'title' => 'DescribeComplianceSummary',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DescribeConfigRule' => [
+ 'summary' => 'Queries the details of a rule.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ConfigRuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the rule. You can call the [ListConfigRules](~~169607~~) operation to obtain the rule ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cr-7bc06457e0d90041****',
+ ],
+ ],
+ [
+ 'name' => 'MultiAccount',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is unavailable since 00:00:00 on June 30, 2021. Account group-related operations are provided as an alternative after 00:00:00 on May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related operations after 00:00:00 on May 30, 2021. For information about account groups, see [Overview](~~211534~~).'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'MemberId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is unavailable since 00:00:00 on June 30, 2021. Account group-related operations are provided as an alternative after 00:00:00 on May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related operations after 00:00:00 on May 30, 2021. For information about account groups, see [Overview](~~211534~~).'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123456789',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ConfigRule' => [
+ 'description' => 'The details of the rule.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ConfigRuleArn' => [
+ 'description' => 'The Alibaba Cloud Resource Name (ARN) of the rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'acs:config::120886317861****:rule/cr-7bc06457e0d90041****',
+ ],
+ 'ConfigRuleEvaluationStatus' => [
+ 'description' => 'The information about compliance evaluations performed by the rule.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'FirstActivatedTimestamp' => [
+ 'description' => 'The timestamp when the rule was first triggered.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1618901952341',
+ ],
+ 'FirstEvaluationStarted' => [
+ 'description' => 'Indicates whether resources were evaluated based on the rule. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'LastErrorCode' => [
+ 'description' => 'The error code returned for the last failed compliance evaluation.'."\n",
+ 'type' => 'string',
+ 'example' => 'FunctionNotFound',
+ ],
+ 'LastErrorMessage' => [
+ 'description' => 'The error message returned for the last failed compliance evaluation.'."\n",
+ 'type' => 'string',
+ 'example' => 'function \'funtionName\' does not exist in service \'serviceName\'',
+ ],
+ 'LastFailedEvaluationTimestamp' => [
+ 'description' => 'The timestamp when the last failed compliance evaluation of the rule ended.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1602819143913',
+ ],
+ 'LastFailedInvocationTimestamp' => [
+ 'description' => 'The timestamp when the last failed compliance evaluation of the rule started.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1602819143910',
+ ],
+ 'LastSuccessfulEvaluationTimestamp' => [
+ 'description' => 'The timestamp when the last successful compliance evaluation of the rule ended.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1618901957876',
+ ],
+ 'LastSuccessfulInvocationTimestamp' => [
+ 'description' => 'The timestamp when the last successful compliance evaluation of the rule started.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1618901957395',
+ ],
+ ],
+ ],
+ 'ConfigRuleId' => [
+ 'description' => 'The ID of the rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'cr-7bc06457e0d90041****',
+ ],
+ 'ConfigRuleName' => [
+ 'description' => 'The name of the evaluation rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'governance-guardrail-rds-public-access-check',
+ ],
+ 'ConfigRuleState' => [
+ 'description' => 'The status of the rule. Valid values:'."\n"
+ ."\n"
+ .'* ACTIVE: The rule is enabled.'."\n"
+ .'* EVALUATING: The rule was triggered and is being used to monitor resource configurations.'."\n"
+ .'* INACTIVE: The rule was disabled.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACTIVE',
+ ],
+ 'CreateTimestamp' => [
+ 'description' => 'The timestamp when the rule was created.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1602818964884',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the system defense rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'The number of CPU cores of the RDS instance is greater than or equal to the set threshold, which is considered as compliance.',
+ ],
+ 'InputParameters' => [
+ 'description' => 'The input parameters of the rule.'."\n",
+ 'type' => 'object',
+ 'example' => '{"cpuCount": "2" }',
+ ],
+ 'ManagedRule' => [
+ 'description' => 'The details of the managed rule.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'CompulsoryInputParameterDetails' => [
+ 'description' => 'The settings of the required input parameters for the managed rule.'."\n",
+ 'type' => 'object',
+ 'example' => '{"cpuCount": {"defaultValue": "2","type": "integer"}',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the managed rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'The number of CPU cores of the RDS instance is greater than or equal to the set threshold, which is considered as compliance.',
+ ],
+ 'Identifier' => [
+ 'description' => 'The identifier of the managed rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'rds-cpu-min-count-limit',
+ ],
+ 'Labels' => [
+ 'description' => 'The labels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tags of the managed rule.'."\n",
+ 'type' => 'string',
+ 'example' => '["RDS","CPU"]',
+ ],
+ ],
+ 'ManagedRuleName' => [
+ 'description' => 'The name of the managed rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'rds-cpu-min-count-limit',
+ ],
+ 'OptionalInputParameterDetails' => [
+ 'description' => 'The settings of the optional input parameters for the managed rule.'."\n",
+ 'type' => 'object',
+ 'example' => '{"tag1Value":{"type":"string","defaultValue":""},"tag2Key":{"type":"string","defaultValue":""}}',
+ ],
+ 'SourceDetails' => [
+ 'description' => 'The intervals at which the rule is triggered. Valid values:'."\n"
+ ."\n"
+ .'* One_Hour: 1 hour'."\n"
+ .'* Three_Hours: 3 hours'."\n"
+ .'* Six_Hours: 6 hours'."\n"
+ .'* Twelve_Hours: 12 hours.'."\n"
+ .'* TwentyFour_Hours: 24 hours.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'EventSource' => [
+ 'description' => 'The event source of the managed rule.'."\n"
+ ."\n"
+ .'> Only events related to Cloud Config are supported. The value is fixed to aliyun.config.'."\n",
+ 'type' => 'string',
+ 'example' => 'aliyun.config',
+ ],
+ 'MaximumExecutionFrequency' => [
+ 'description' => 'The intervals at which the managed rule is triggered. Valid values:'."\n"
+ ."\n"
+ .'* One_Hour: 1 hour.'."\n"
+ .'* Three_Hours: 3 hours.'."\n"
+ .'* Six_Hours: 6 hours.'."\n"
+ .'* Twelve_Hours: 12 hours.'."\n"
+ .'* TwentyFour_Hours: 24 hours.'."\n",
+ 'type' => 'string',
+ 'example' => 'Six_Hours',
+ ],
+ 'MessageType' => [
+ 'description' => 'The trigger type of the managed rule. Valid values:'."\n"
+ ."\n"
+ .'* ConfigurationItemChangeNotification: The managed rule is triggered by configuration changes.'."\n"
+ .'* ScheduledNotification: The managed rule is triggered as scheduled.'."\n",
+ 'type' => 'string',
+ 'example' => 'ConfigurationItemChangeNotification',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'MaximumExecutionFrequency' => [
+ 'description' => 'The intervals at which the rule is triggered. Valid values:'."\n"
+ ."\n"
+ .'* One_Hour: 1 hour'."\n"
+ .'* Three_Hours: 3 hours'."\n"
+ .'* Six_Hours: 6 hours'."\n"
+ .'* Twelve_Hours: 12 hours.'."\n"
+ .'* TwentyFour_Hours: 24 hours.'."\n",
+ 'type' => 'string',
+ 'example' => 'Six_Hours',
+ ],
+ 'ModifiedTimestamp' => [
+ 'description' => 'The timestamp when the rule was last modified.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1602992721000',
+ ],
+ 'RiskLevel' => [
+ 'description' => 'The risk level of the resources that are not compliant with the rule. Valid values:'."\n"
+ ."\n"
+ .'* 1: high'."\n"
+ .'* 2: medium'."\n"
+ .'* 3: low'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '3',
+ ],
+ 'Scope' => [
+ 'description' => 'The monitoring scope of the rule.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceResourceId' => [
+ 'description' => 'The ID of the resource to be evaluated.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-6weoy5flv41pj4wvr****',
+ ],
+ 'ComplianceResourceTypes' => [
+ 'description' => 'The types of the resources to be evaluated.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The type of the resource to be evaluated against the rule.'."\n",
+ 'type' => 'string',
+ 'example' => '["ACS::RDS::DBInstance"]',
+ ],
+ ],
+ ],
+ ],
+ 'Source' => [
+ 'description' => 'The information about the trigger of the rule.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Identifier' => [
+ 'description' => 'The identifier of the rule.'."\n"
+ ."\n"
+ .'* If the rule was created based on a managed rule, the value of this parameter is the name of the managed rule.'."\n"
+ .'* If the rule is a custom rule, the value of this parameter is the Alibaba Cloud Resource Name (ARN) of the relevant function in Function Compute.'."\n",
+ 'type' => 'string',
+ 'example' => 'rds-cpu-min-count-limit',
+ ],
+ 'Owner' => [
+ 'description' => 'The way in which the rule was created. Valid values:'."\n"
+ ."\n"
+ .'* CUSTOM_FC: The rule is a custom rule.'."\n"
+ .'* ALIYUN: The rule was created based on a managed rule of Alibaba Cloud.'."\n",
+ 'type' => 'string',
+ 'example' => 'ALIYUN',
+ ],
+ 'SourceConditions' => [
+ 'description' => 'The name of the input parameter for the rule.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DesiredValue' => [
+ 'description' => 'The expected value of the input parameter.'."\n",
+ 'type' => 'string',
+ 'example' => '2',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the input parameter for the rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'cpuCount',
+ ],
+ 'Operator' => [
+ 'description' => 'The operator used to compare the actual value against the expected value of the input parameter. The operator varies based on the type of data returned for the SelectPath parameter.'."\n"
+ ."\n"
+ .'* Valid values for the String data type:'."\n"
+ ."\n"
+ .' * StringEquals: The actual value is equal to the expected value.'."\n"
+ .' * NotStringEquals: The actual value is not equal to the expected value.'."\n"
+ .' * StringIn: The actual value exists in the expected value.'."\n"
+ .' * NotStringIn: The actual value does not exist in the expected value.'."\n"
+ .' * StringContains: The actual value contains the expected value.'."\n"
+ .' * NotStringContains: The actual value does not contain the expected value.'."\n"
+ ."\n"
+ .'* Valid values for the Number data type:'."\n"
+ ."\n"
+ .' * Equals: The actual value is equal to the expected value.'."\n"
+ .' * NotEquals: The actual value is not equal to the expected value.'."\n"
+ .' * Less: The actual value is less than the expected value.'."\n"
+ .' * LessOrEquals: The actual value is less than or equal to the expected value.'."\n"
+ .' * Greater: The actual value is greater than the expected value.'."\n"
+ .' * GreaterOrEquals: The actual value is greater than or equal to the expected value.'."\n"
+ ."\n"
+ .'* Valid values for the Base64String data type that indicates a Base64-encoded string:'."\n"
+ ."\n"
+ .' * Base64Contains: The actual value contains the expected value.'."\n"
+ .' * NotBase64Contains: The actual value does not contain the expected value.'."\n"
+ .' * Base64ContainsAll: The actual value contains all characters in the expected value.'."\n"
+ .' * Base64ExcludeAll: The actual value excludes all characters in the expected value.'."\n"
+ ."\n"
+ .'* Valid values for the Array data type:'."\n"
+ ."\n"
+ .' * Contains: The actual value contains the expected value.'."\n"
+ .' * NotContains: The actual value does not contain the expected value.'."\n"
+ .' * In: The actual value exists in the expected value.'."\n"
+ .' * NotIn: The actual value does not exist in the expected value.'."\n"
+ .' * ContainsAll: The actual value contains all elements of the expected value.'."\n"
+ .' * ExcludeAll: The actual value excludes all elements of the expected value.'."\n"
+ .' * IsEmpty: The actual value is null.'."\n",
+ 'type' => 'string',
+ 'example' => 'GreaterOrEquals',
+ ],
+ 'Tips' => [
+ 'description' => 'The description of the input parameter.'."\n",
+ 'type' => 'string',
+ 'example' => 'You are not logged in or your login token has expired.',
+ ],
+ ],
+ ],
+ ],
+ 'SourceDetails' => [
+ 'description' => 'The intervals at which the rule is triggered. Valid values:'."\n"
+ ."\n"
+ .'* One_Hour: 1 hour'."\n"
+ .'* Three_Hours: 3 hours'."\n"
+ .'* Six_Hours: 6 hours'."\n"
+ .'* Twelve_Hours: 12 hours.'."\n"
+ .'* TwentyFour_Hours: 24 hours.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'EventSource' => [
+ 'description' => 'The event source of the rule.'."\n"
+ ."\n"
+ .'> Only events related to Cloud Config are supported. The value is fixed to aliyun.config.'."\n",
+ 'type' => 'string',
+ 'example' => 'aliyun.config',
+ ],
+ 'MaximumExecutionFrequency' => [
+ 'description' => 'The intervals at which the rule is triggered. Valid values:'."\n"
+ ."\n"
+ .'* One_Hour: 1 hour.'."\n"
+ .'* Three_Hours: 3 hours.'."\n"
+ .'* Six_Hours: 6 hours.'."\n"
+ .'* Twelve_Hours: 12 hours.'."\n"
+ .'* TwentyFour_Hours: 24 hours.'."\n",
+ 'type' => 'string',
+ 'example' => 'Six_Hours',
+ ],
+ 'MessageType' => [
+ 'description' => 'The trigger type of the rule. Valid values:'."\n"
+ ."\n"
+ .'* ConfigurationItemChangeNotification: The rule is triggered by configuration changes.'."\n"
+ .'* ScheduledNotification: The rule is triggered as scheduled.'."\n",
+ 'type' => 'string',
+ 'example' => 'ConfigurationItemChangeNotification',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'A68DD98C-DE65-46AC-B2D2-04A4A9AB5B99',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ConfigRuleNotExists',
+ 'errorMessage' => 'The ConfigRule does not exist.',
+ ],
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConfigRule\\": {\\n \\"ConfigRuleArn\\": \\"acs:config::120886317861****:rule/cr-7bc06457e0d90041****\\",\\n \\"ConfigRuleEvaluationStatus\\": {\\n \\"FirstActivatedTimestamp\\": 1618901952341,\\n \\"FirstEvaluationStarted\\": true,\\n \\"LastErrorCode\\": \\"FunctionNotFound\\",\\n \\"LastErrorMessage\\": \\"function \'funtionName\' does not exist in service \'serviceName\'\\",\\n \\"LastFailedEvaluationTimestamp\\": 1602819143913,\\n \\"LastFailedInvocationTimestamp\\": 1602819143910,\\n \\"LastSuccessfulEvaluationTimestamp\\": 1618901957876,\\n \\"LastSuccessfulInvocationTimestamp\\": 1618901957395\\n },\\n \\"ConfigRuleId\\": \\"cr-7bc06457e0d90041****\\",\\n \\"ConfigRuleName\\": \\"RDS实例CPU核数满足最低要求\\",\\n \\"ConfigRuleState\\": \\"ACTIVE\\",\\n \\"CreateTimestamp\\": 1602818964884,\\n \\"Description\\": \\"RDS实例的CPU核数大于等于设置的阈值,视为“合规”。\\",\\n \\"InputParameters\\": {\\n \\"cpuCount\\": \\"2\\"\\n },\\n \\"ManagedRule\\": {\\n \\"CompulsoryInputParameterDetails\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Description\\": \\"RDS实例的CPU核数大于等于设置的阈值,视为“合规”。\\",\\n \\"Identifier\\": \\"rds-cpu-min-count-limit\\",\\n \\"Labels\\": [\\n \\"[\\\\\\"RDS\\\\\\",\\\\\\"CPU\\\\\\"]\\"\\n ],\\n \\"ManagedRuleName\\": \\"rds-cpu-min-count-limit\\",\\n \\"OptionalInputParameterDetails\\": {\\n \\"tag1Value\\": {\\n \\"type\\": \\"string\\",\\n \\"defaultValue\\": \\"\\"\\n },\\n \\"tag2Key\\": {\\n \\"type\\": \\"string\\",\\n \\"defaultValue\\": \\"\\"\\n }\\n },\\n \\"SourceDetails\\": [\\n {\\n \\"EventSource\\": \\"aliyun.config\\",\\n \\"MaximumExecutionFrequency\\": \\"Six_Hours\\",\\n \\"MessageType\\": \\"ConfigurationItemChangeNotification\\"\\n }\\n ]\\n },\\n \\"MaximumExecutionFrequency\\": \\"Six_Hours\\",\\n \\"ModifiedTimestamp\\": 1602992721000,\\n \\"RiskLevel\\": 3,\\n \\"Scope\\": {\\n \\"ComplianceResourceId\\": \\"vpc-6weoy5flv41pj4wvr****\\",\\n \\"ComplianceResourceTypes\\": [\\n \\"[\\\\\\"ACS::RDS::DBInstance\\\\\\"]\\"\\n ]\\n },\\n \\"Source\\": {\\n \\"Identifier\\": \\"rds-cpu-min-count-limit\\",\\n \\"Owner\\": \\"ALIYUN\\",\\n \\"SourceConditions\\": [\\n {\\n \\"DesiredValue\\": \\"2\\",\\n \\"Name\\": \\"cpuCount\\",\\n \\"Operator\\": \\"GreaterOrEquals\\",\\n \\"Tips\\": \\"实例的状态\\"\\n }\\n ],\\n \\"SourceDetails\\": [\\n {\\n \\"EventSource\\": \\"aliyun.config\\",\\n \\"MaximumExecutionFrequency\\": \\"Six_Hours\\",\\n \\"MessageType\\": \\"ConfigurationItemChangeNotification\\"\\n }\\n ]\\n }\\n },\\n \\"RequestId\\": \\"A68DD98C-DE65-46AC-B2D2-04A4A9AB5B99\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeConfigRuleResponse>\\r\\n\\t<RequestId>A68DD98C-DE65-46AC-B2D2-04A4A9AB5B99</RequestId>\\r\\n\\t<ConfigRule>\\r\\n\\t\\t<ManagedRule>\\r\\n\\t\\t\\t<ManagedRuleName>rds-cpu-min-count-limit</ManagedRuleName>\\r\\n\\t\\t\\t<OptionalInputParameterDetails />\\r\\n\\t\\t\\t<Description>RDS实例的CPU核数大于等于设置的阈值,视为“合规”。</Description>\\r\\n\\t\\t\\t<Identifier>rds-cpu-min-count-limit</Identifier>\\r\\n\\t\\t\\t<CompulsoryInputParameterDetails>\\r\\n\\t\\t\\t\\t<cpuCount>\\r\\n\\t\\t\\t\\t\\t<defaultValue>2</defaultValue>\\r\\n\\t\\t\\t\\t\\t<type>integer</type>\\r\\n\\t\\t\\t\\t</cpuCount>\\r\\n\\t\\t\\t</CompulsoryInputParameterDetails>\\r\\n\\t\\t\\t<Labels>RDS</Labels>\\r\\n\\t\\t\\t<Labels>CPU</Labels>\\r\\n\\t\\t\\t<SourceDetails>\\r\\n\\t\\t\\t\\t<EventSource>aliyun.config</EventSource>\\r\\n\\t\\t\\t\\t<MessageType>ConfigurationItemChangeNotification</MessageType>\\r\\n\\t\\t\\t</SourceDetails>\\r\\n\\t\\t</ManagedRule>\\r\\n\\t\\t<ConfigRuleEvaluationStatus>\\r\\n\\t\\t\\t<FirstActivatedTimestamp>1618901952341</FirstActivatedTimestamp>\\r\\n\\t\\t\\t<LastSuccessfulEvaluationTimestamp>1618901957876</LastSuccessfulEvaluationTimestamp>\\r\\n\\t\\t\\t<FirstEvaluationStarted>true</FirstEvaluationStarted>\\r\\n\\t\\t\\t<LastSuccessfulInvocationTimestamp>1618901957395</LastSuccessfulInvocationTimestamp>\\r\\n\\t\\t</ConfigRuleEvaluationStatus>\\r\\n\\t\\t<ConfigRuleState>ACTIVE</ConfigRuleState>\\r\\n\\t\\t<Source>\\r\\n\\t\\t\\t<Owner>ALIYUN</Owner>\\r\\n\\t\\t\\t<Identifier>rds-cpu-min-count-limit</Identifier>\\r\\n\\t\\t\\t<SourceConditions>\\r\\n\\t\\t\\t\\t<Operator>GreaterOrEquals</Operator>\\r\\n\\t\\t\\t\\t<DesiredValue>2</DesiredValue>\\r\\n\\t\\t\\t\\t<Required>true</Required>\\r\\n\\t\\t\\t\\t<SelectPath>$.DBInstanceCPU</SelectPath>\\r\\n\\t\\t\\t</SourceConditions>\\r\\n\\t\\t\\t<SourceDetails>\\r\\n\\t\\t\\t\\t<EventSource>aliyun.config</EventSource>\\r\\n\\t\\t\\t\\t<MessageType>ConfigurationItemChangeNotification</MessageType>\\r\\n\\t\\t\\t</SourceDetails>\\r\\n\\t\\t</Source>\\r\\n\\t\\t<OrganizationRule>false</OrganizationRule>\\r\\n\\t\\t<ConfigRuleId>cr-7bc06457e0d90041****</ConfigRuleId>\\r\\n\\t\\t<Scope>\\r\\n\\t\\t\\t<ComplianceResourceTypes>ACS::RDS::DBInstance</ComplianceResourceTypes>\\r\\n\\t\\t</Scope>\\r\\n\\t\\t<ConfigRuleArn>acs:config::120886317861****:rule/cr-7bc06457e0d90041****</ConfigRuleArn>\\r\\n\\t\\t<ConfigRuleName>RDS实例CPU核数满足最低要求</ConfigRuleName>\\r\\n\\t\\t<RiskLevel>3</RiskLevel>\\r\\n\\t\\t<InputParameters>\\r\\n\\t\\t\\t<cpuCount>2</cpuCount>\\r\\n\\t\\t</InputParameters>\\r\\n\\t</ConfigRule>\\r\\n</DescribeConfigRuleResponse>\\t","errorExample":""}]',
+ 'title' => 'DescribeConfigRule',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'PutConfigRule' => [
+ 'summary' => 'Creates or modifies a rule for the current account.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => true,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ConfigRuleId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the rule.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'cr-2a914fcf617e00c9****',
+ ],
+ ],
+ [
+ 'name' => 'ConfigRuleName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The name of the rule.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The description of the rule.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'InputParameters',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The settings of the input parameters for the rule.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"cpuCount": "2"}',
+ ],
+ ],
+ [
+ 'name' => 'SourceOwner',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Indicates whether you or Alibaba Cloud owns and manages the rule. Valid values:'."\n"
+ ."\n"
+ .'* CUSTOM_FC: The rule is a custom rule that you own.'."\n"
+ .'* ALIYUN: The rule is a managed rule of Alibaba Cloud.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'ALIYUN',
+ 'enum' => [
+ 'ALIYUN',
+ 'CUSTOM_FC',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'SourceIdentifier',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The identifier of the rule.'."\n"
+ ."\n"
+ .'* For a managed rule, the value is the name of the managed rule.'."\n"
+ .'* For a custom rule, the value is the Alibaba Cloud Resource Name (ARN) of the custom rule.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'rds-cpu-min-count-limit',
+ ],
+ ],
+ [
+ 'name' => 'SourceDetailMessageType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The trigger type of the rule. Valid values:'."\n"
+ ."\n"
+ .'* ConfigurationItemChangeNotification: The rule is triggered by configuration changes.'."\n"
+ .'* ScheduledNotification: The rule is triggered as scheduled.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'ConfigurationItemChangeNotification',
+ ],
+ ],
+ [
+ 'name' => 'SourceMaximumExecutionFrequency',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The frequency at which the rule is executed. Valid values:'."\n"
+ ."\n"
+ .'* One_Hour: 1 hour'."\n"
+ .'* Three_Hours: 3 hours'."\n"
+ .'* Six_Hours: 6 hours'."\n"
+ .'* Twelve_Hours: 12 hours'."\n"
+ .'* TwentyFour_Hours: 24 hours'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Twelve_Hours',
+ 'enum' => [
+ 'One_Hour',
+ 'Three_Hours',
+ 'Six_Hours',
+ 'Twelve_Hours',
+ 'TwentyFour_Hours',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'ScopeComplianceResourceId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the resource to be evaluated.'."\n"
+ ."\n"
+ .'* If you do not set this parameter, the rule evaluates resources of all the types specified by ScopeComplianceResourceTypes.'."\n"
+ .'* If you specify a resource ID, the rule evaluates the resource identified by the ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vpc-6weoy5flv41pj4wvr****',
+ ],
+ ],
+ [
+ 'name' => 'ScopeComplianceResourceTypes',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The types of the resources to be evaluated.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '["ACS::RDS::DBInstance"]',
+ ],
+ ],
+ [
+ 'name' => 'RiskLevel',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The risk level of the non-compliant resource. Valid values:'."\n"
+ ."\n"
+ .'* 1: high risk'."\n"
+ .'* 2: medium risk'."\n"
+ .'* 3: low risk'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '1',
+ 'enum' => [
+ '1',
+ '2',
+ '3',
+ ],
+ ],
+ ],
+ [
+ '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 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' => 'MultiAccount',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is scheduled to be removed before 00:00:00, June 30, 2021. Account group-related APIs will be provided as an alternative before 00:00:00, May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related APIs after 00:00:00, May 30, 2021. For more information, see [Account groups](~~211534~~).'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'MemberId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is scheduled to be removed before 00:00:00, June 30, 2021. Account group-related APIs will be provided as an alternative before 00:00:00, May 30, 2021. If you are using this parameter, we recommend that you switch to account group-related APIs after 00:00:00, May 30, 2021. For more information, see [Account groups](~~211534~~).'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123456789',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ConfigRuleId' => [
+ 'description' => 'The ID of the rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'cr-76ac4fcfb57e00c9****',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ExceedMaxRuleCount',
+ 'errorMessage' => 'The maximum number of rules is exceeded.',
+ ],
+ [
+ 'errorCode' => 'ConfigRuleNotExists',
+ 'errorMessage' => 'The ConfigRule does not exist.',
+ ],
+ [
+ 'errorCode' => 'ConfigRuleExists',
+ 'errorMessage' => 'The ConfigRule already exists.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'substitutions' => [
+ 'Config::2020-09-07::CreateConfigRule',
+ 'Config::2020-09-07::CreateAggregateConfigRule',
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConfigRuleId\\": \\"cr-76ac4fcfb57e00c9****\\",\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7\\"\\n}","errorExample":""},{"type":"xml","example":"<PutConfigRuleResponse>\\n\\t<ConfigRuleId>cr-76ac4fcfb57e00c9****</ConfigRuleId>\\n\\t<RequestId>A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7</RequestId>\\n</PutConfigRuleResponse>","errorExample":""}]',
+ 'title' => 'PutConfigRule',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'PutEvaluations' => [
+ 'summary' => 'Submits the compliance evaluation results.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => true,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResultToken',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The token used to return the response.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '=lAUbfkWp7GL9AFoQEIStinqBMc4FC8sHvip/1F1npkWUDNS2GEm6xwL6Zl/fSr0bbkWY+aiCLjTJxnp4H/yp/8p/Q8VCAtqG5uhRii4sfnYRnTPnE****',
+ ],
+ ],
+ [
+ 'name' => 'Evaluations',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The compliance evaluation results.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"annotation":"Resource type is ACS::CEN::Flowlog, not in ACS::ECS::Instance,ACS::ECS::NetworkInterface.","complianceResourceId":"flowlog-o6wdfo1yvgo4i8****","complianceResourceType":"ACS::CEN::Flowlog","complianceType":"NOT_APPLICABLE","orderingTimestamp":1588907220408}]',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7',
+ ],
+ 'Result' => [
+ 'description' => 'Indicates whether the operation was successful. Valid values:'."\n"
+ ."\n"
+ .'* true: The operation was successful.'."\n"
+ .'* false: The operation failed.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'substitutions' => [
+ 'Config::2020-09-07::PutEvaluations',
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Result\\": true,\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7\\"\\n}","errorExample":""},{"type":"xml","example":"<PutEvaluationsResponse>\\n <RequestId>A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7</RequestId>\\n <Result>true</Result>\\n</PutEvaluationsResponse>","errorExample":""}]',
+ 'title' => 'PutEvaluations',
+ 'description' => '****',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ActiveConfigRules' => [
+ 'summary' => 'Enables multiple rules at a time so that the rules enter the ACTIVE state.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => true,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ConfigRuleIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The rule IDs. Separate multiple rule IDs with commas (,). You can specify a maximum of 20 rule IDs at a time.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cr-2da35180a8d1008e****,cr-2da35180a8d1008e****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'OperateRuleResult' => [
+ 'description' => 'The result information about the operation.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'OperateRuleItemList' => [
+ 'description' => 'The result information about the operation.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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"
+ .'*'."\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',
+ 'example' => 'ConfigRuleStatusNotInActive',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the rule is enabled. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '49C1A88F-D163-46DF-84A6-F300229F37AE',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ [
+ 'errorCode' => 'Invalid.ConfigRuleIds.SizeExceed',
+ 'errorMessage' => 'The maximum number of ConfigRuleIds cannot exceed 20.',
+ ],
+ [
+ 'errorCode' => 'ConfigRuleStatusNotInActive',
+ 'errorMessage' => 'The status of the config rule is not inactive.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'substitutions' => [
+ 'Config::2020-09-07::ActiveConfigRules',
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperateRuleResult\\": {\\n \\"OperateRuleItemList\\": [\\n {\\n \\"ConfigRuleId\\": \\"cr-2da35180a8d1008e****\\",\\n \\"ErrorCode\\": \\"ConfigRuleStatusNotInActive\\",\\n \\"Success\\": false\\n }\\n ]\\n },\\n \\"RequestId\\": \\"49C1A88F-D163-46DF-84A6-F300229F37AE\\"\\n}","errorExample":""},{"type":"xml","example":"<ActiveConfigRulesResponse>\\n <OperateRuleResult>\\n <OperateRuleItemList>\\n <ConfigRuleId>cr-2da35180a8d1008e****</ConfigRuleId>\\n <ErrorCode>ConfigRuleStatusNotInActive</ErrorCode>\\n <Success>false</Success>\\n </OperateRuleItemList>\\n <OperateRuleItemList>\\n <ConfigRuleId>cr-2da351800131233a****</ConfigRuleId>\\n <ErrorCode/>\\n <Success>true</Success>\\n </OperateRuleItemList>\\n <RequestId>49C1A88F-D163-46DF-84A6-F300229F37AE</RequestId>\\n </OperateRuleResult>\\n</ActiveConfigRulesResponse>","errorExample":""}]',
+ 'title' => 'ActiveConfigRules',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'StartConfigurationRecorder' => [
+ 'summary' => 'Specifies the resource monitoring scope of the current account.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigI0TIO6',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'EnterpriseEdition',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Specifies whether to upgrade Cloud Config for Enterprise. Default value: false. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n"
+ ."\n"
+ .'> Cloud Config for Enterprise is upgraded to the account group feature. For more information, see [Announcement: Enterprise Edition Cloud Config Upgrade to Account Group](~~213433~~).'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ConfigurationRecorder' => [
+ 'description' => 'The details of the configuration recorder that monitors resources.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'description' => 'The ID of your Alibaba Cloud account.'."\n"
+ ."\n"
+ .'> This parameter is returned only when the operation was called by an ordinary account.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123456789',
+ ],
+ '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' => 'REGISTRABLE',
+ ],
+ 'OrganizationEnableStatus' => [
+ 'description' => 'The upgrade status of Cloud Config for Enterprise. Valid values:'."\n"
+ ."\n"
+ .'* REGISTRABLE: Cloud Config for Enterprise is not upgraded.'."\n"
+ .'* BUILDING: Cloud Config for Enterprise is being upgraded.'."\n"
+ .'* REGISTERED: Cloud Config for Enterprise is upgraded.'."\n",
+ 'type' => 'string',
+ 'example' => 'REGISTRABLE',
+ ],
+ 'OrganizationMasterId' => [
+ 'description' => 'The ID of the management account.'."\n"
+ ."\n"
+ .'> This parameter is returned only when the operation was called by a management account.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '987654321',
+ ],
+ 'ResourceTypes' => [
+ 'description' => 'The types of resources that are monitored by Cloud Config.'."\n"
+ ."\n"
+ .'> By default, Cloud Config returns all resource types. In the following sample responses, `ACS::ECS::Instance` and `ACS::ECS::NetworkInterface` are returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '["ACS::ECS::Instance","ACS::ECS::NetworkInterface"]',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'A3601178-A6A2-4636-BE56-1116F73C0B0C',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ [
+ 'errorCode' => 'ProcessIsRunning',
+ 'errorMessage' => 'The process is running.',
+ ],
+ [
+ '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.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'CreateSLRFail',
+ 'errorMessage' => 'Failed to create SLR.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A3601178-A6A2-4636-BE56-1116F73C0B0C\\",\\n \\"ConfigurationRecorder\\": {\\n \\"OrganizationEnableStatus\\": \\"REGISTRABLE\\",\\n \\"ConfigurationRecorderStatus\\": \\"REGISTRABLE\\",\\n \\"OrganizationMasterId\\": 0,\\n \\"AccountId\\": 0,\\n \\"ResourceTypes\\": [\\n \\"[\\\\\\"ACS::ECS::Instance\\\\\\",\\\\\\"ACS::ECS::NetworkInterface\\\\\\"]\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<StartConfigurationRecorderResponse>\\n <RequestId>A3601178-A6A2-4636-BE56-1116F73C0B0C</RequestId>\\n <ConfigurationRecorder>\\n <ResourceTypes>ACS::ECS::Instance</ResourceTypes>\\n <ResourceTypes>ACS::ECS::NetworkInterface</ResourceTypes>\\n <AccountId>120886317861****</AccountId>\\n <ConfigurationRecorderStatus>REGISTRABLE</ConfigurationRecorderStatus>\\n </ConfigurationRecorder>\\n</StartConfigurationRecorderResponse>","errorExample":""}]',
+ 'title' => 'StartConfigurationRecorder',
+ 'description' => 'Ordinary accounts and management accounts have the following differences when you use them to call the StartConfigurationRecorder operation:'."\n"
+ ."\n"
+ .'* If you are using an ordinary account, you can call the StartConfigurationRecorder operation to activate Cloud Config for the current account. You can also view the resources of the current account and manage the compliance rules of the current account.'."\n"
+ .'* If you are using the management account of a resource directory and set the `EnterpriseEdition` parameter to `true`, you can activate Cloud Config for all member accounts. In addition, a global account group that includes all member accounts is created by default. You can view the resources of all member accounts in the account group and manage the compliance rules of all member accounts.'."\n"
+ ."\n"
+ .'In this topic, an ordinary account is used as an example to show how to activate Cloud Config and monitor the resources of the current account.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~169575~~).'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DescribeConfigurationRecorder' => [
+ 'summary' => 'Queries the types of resources that are monitored by Cloud Config.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigI0TIO6',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ConfigurationRecorder' => [
+ 'description' => 'The details of the configuration recorder that monitors resources.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'description' => 'The ID of your Alibaba Cloud account.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100931896542****',
+ ],
+ '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',
+ ],
+ 'OrganizationEnableStatus' => [
+ 'description' => 'Indicates whether Cloud Config is upgraded to Cloud Config for Enterprise. Valid values:'."\n"
+ ."\n"
+ .'* REGISTRABLE: Cloud Config is not upgraded to Cloud Config for Enterprise.'."\n"
+ .'* BUILDING: Cloud Config is being upgraded to Cloud Config for Enterprise.'."\n"
+ .'* REGISTERED: Cloud Config is upgraded to Cloud Config for Enterprise.'."\n",
+ 'type' => 'string',
+ 'example' => 'REGISTRABLE',
+ ],
+ 'OrganizationMasterId' => [
+ 'description' => 'The ID of the management account.'."\n"
+ ."\n"
+ .'> This parameter is returned only when the operation is called by a management account.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '120886317861****',
+ ],
+ 'ResourceTypes' => [
+ 'description' => 'The types of resources that are monitored by Cloud Config.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '["ACS::ECS::Instance","ACS::ECS::NetworkInterface"]',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'A3601178-A6A2-4636-BE56-1116F73C0B0C',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConfigurationRecorder\\": {\\n \\"AccountId\\": 0,\\n \\"ConfigurationRecorderStatus\\": \\"REGISTERED\\",\\n \\"OrganizationEnableStatus\\": \\"REGISTRABLE\\",\\n \\"OrganizationMasterId\\": 0,\\n \\"ResourceTypes\\": [\\n \\"[\\\\\\"ACS::ECS::Instance\\\\\\",\\\\\\"ACS::ECS::NetworkInterface\\\\\\"]\\"\\n ]\\n },\\n \\"RequestId\\": \\"A3601178-A6A2-4636-BE56-1116F73C0B0C\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeConfigurationRecorderResponse>\\n\\t\\t<RequestId>A3601178-A6A2-4636-BE56-1116F73C0B0C</RequestId>\\n\\t\\t<ConfigurationRecorder>\\n\\t\\t\\t<ResourceTypes>ACS::ECS::Instance</ResourceTypes>\\n\\t\\t\\t<ResourceTypes>ACS::ECS::NetworkInterface</ResourceTypes>\\n\\t\\t\\t<AccountId>100931896542****</AccountId>\\n\\t\\t\\t<ConfigurationRecorderStatus>REGISTERED</ConfigurationRecorderStatus>\\n\\t\\t</ConfigurationRecorder>\\n</DescribeConfigurationRecorderResponse>","errorExample":""}]',
+ 'title' => 'DescribeConfigurationRecorder',
+ 'description' => 'In this example, the Alibaba Cloud account `100931896542****` is used. The return result shows that two types of resources are monitored: `ACS::ECS::Instance` and `ACS::ECS::NetworkInterface`. The status of the configuration recorder is `REGISTERED`.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~169575~~).'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'PutConfigurationRecorder' => [
+ 'summary' => 'Adds or modifies the types of resources that are monitored by Cloud Config.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => true,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfig56XT35',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceTypes',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The types of the resources that you want Cloud Config to monitor. Separate multiple resource types with commas (,).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'ACS::ECS::Instance,ACS::ECS::Disk',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ConfigurationRecorder' => [
+ 'description' => 'The details of the configuration recorder that monitors resources.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'description' => 'The ID of your Alibaba Cloud account.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123456789',
+ ],
+ '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',
+ ],
+ 'ResourceTypes' => [
+ 'description' => 'The types of resources that are monitored by Cloud Config.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '["ACS::ECS::Instance","ACS::ECS::NetworkInterface"]',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '7C189ED2-30C1-492E-82B6-0D828B556ED9',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ [
+ 'errorCode' => 'Invalid.ResourceTypes.Value',
+ 'errorMessage' => 'The specified resourceTypes is invalid.',
+ ],
+ [
+ 'errorCode' => 'ProcessIsRunning',
+ 'errorMessage' => 'The process is running.',
+ ],
+ [
+ '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.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'substitutions' => [
+ 'Config::2020-09-07::UpdateConfigurationRecorder',
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConfigurationRecorder\\": {\\n \\"AccountId\\": 123456789,\\n \\"ConfigurationRecorderStatus\\": \\"REGISTERED\\",\\n \\"ResourceTypes\\": [\\n \\"[\\\\\\"ACS::ECS::Instance\\\\\\",\\\\\\"ACS::ECS::NetworkInterface\\\\\\"]\\"\\n ]\\n },\\n \\"RequestId\\": \\"7C189ED2-30C1-492E-82B6-0D828B556ED9\\"\\n}","errorExample":""},{"type":"xml","example":"<PutConfigurationRecorderResponse>\\r\\n\\t\\t<RequestId>7C189ED2-30C1-492E-82B6-0D828B556ED9</RequestId>\\r\\n\\t\\t<ConfigurationRecorder>\\r\\n\\t\\t\\t<ConfigurationRecorderStatus>REBUILDING</ConfigurationRecorderStatus>\\r\\n\\t\\t\\t<ResourceTypes>ACS::ECS::Instance</ResourceTypes>\\r\\n\\t\\t\\t<ResourceTypes>ACS::ECS::Disk</ResourceTypes>\\r\\n\\t\\t\\t<AccountId>123456789</AccountId>\\r\\n\\t\\t</ConfigurationRecorder>\\r\\n</PutConfigurationRecorderResponse>","errorExample":""}]',
+ 'title' => 'PutConfigurationRecorder',
+ 'description' => 'This operation is valid only for the current Alibaba Cloud account. For more information, see [Alibaba Cloud services that support Cloud Config](~~127411~~).'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DescribeDeliveryChannels' => [
+ 'summary' => 'Queries the information about delivery channels.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => true,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigRIQA8M',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DeliveryChannelIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the delivery channel. Separate multiple IDs with commas (,).'."\n"
+ ."\n"
+ .'For more information about how to obtain the ID of a delivery channel, see [PutDeliveryChannel](~~174253~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cdc-d9106457e0d900b1****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => [
+ 'description' => 'The information about the delivery channels.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryChannels' => [
+ 'description' => 'The information about the delivery channels.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the delivery channels.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ConfigurationItemChangeNotification' => [
+ 'description' => 'Indicates whether the resource change logs are received by the specified destination. If you set this parameter to 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 resource change logs are received by the specified destination.'."\n"
+ .'* false: The resource change logs are not received by the specified destination.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ConfigurationSnapshot' => [
+ 'description' => 'Indicates whether the scheduled resource snapshots are received by the OSS bucket. If you set this parameter to true, Cloud Config delivers the scheduled resource snapshots to the specified OSS bucket at 00:00:00 and 12:00:00 every day. Valid values:'."\n"
+ ."\n"
+ .'* true: The scheduled resource snapshots are received by the specified OSS bucket.'."\n"
+ .'* false: The scheduled resource snapshots are not received by the specified OSS bucket.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'DeliveryChannelAssumeRoleArn' => [
+ 'description' => 'The Alibaba Cloud Resource Name (ARN) of the role assumed by the delivery channel.'."\n",
+ 'type' => 'string',
+ 'example' => 'acs:ram::120886317861****:role/aliyunserviceroleforconfig',
+ ],
+ 'DeliveryChannelCondition' => [
+ 'description' => 'The rule attached to the delivery channel. This parameter is applicable only to delivery channels of the MNS type.'."\n"
+ ."\n"
+ .'This parameter indicates the lowest risk level for the events to subscribe to and the resource types for which you subscribe to events.'."\n"
+ ."\n"
+ .'* The setting of the lowest risk level for the events to subscribe to is in the following format: `{"filterType":"RuleRiskLevel","value":"1","multiple":false}`.'."\n"
+ ."\n"
+ .' The value field indicates the lowest risk level. Valid values: 1, 2, and 3. A value of 1 indicates the high risk level. A value of 2 indicates the medium risk level. A value of 3 indicates the low risk level.'."\n"
+ ."\n"
+ .'* The setting of the resource types for which you subscribe to events 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 for which you subscribe to events. Its value is a JSON array.'."\n"
+ ."\n"
+ .' 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}]`'."\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}]',
+ ],
+ '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',
+ ],
+ 'DeliveryChannelTargetArn' => [
+ 'description' => 'The ARN of the delivery destination.'."\n"
+ ."\n"
+ .'* If the DeliveryChannelType parameter is set to OSS, the value of this parameter is the ARN of the destination OSS bucket.'."\n"
+ .'* If the DeliveryChannelType parameter is set to MNS, the value of this parameter is the ARN of the destination MNS topic.'."\n"
+ .'* If the DeliveryChannelType parameter is set to SLS, the value is the ARN of the destination Log Service Logstore.'."\n",
+ 'type' => 'string',
+ 'example' => 'acs:oss:cn-shanghai:120886317861****:new-bucket',
+ ],
+ 'DeliveryChannelType' => [
+ 'description' => 'The type of the delivery channel. Valid values:'."\n"
+ ."\n"
+ .'* OSS: Object Storage Service (OSS)'."\n"
+ .'* MNS: Simple Message Queue (formerly MNS)'."\n"
+ .'* SLS: Simple Log Service (SLS)'."\n",
+ 'type' => 'string',
+ 'example' => 'OSS',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the delivery channel.'."\n",
+ 'type' => 'string',
+ 'example' => 'My OSS delivery.',
+ ],
+ 'NonCompliantNotification' => [
+ 'description' => 'Indicates whether the resource non-compliance events are received by the specified destination. If you set this parameter to 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 resource non-compliance events are received by the specified destination.'."\n"
+ .'* false: The resource non-compliance events are not received by the specified destination.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ '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',
+ ],
+ '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',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DeliveryChannelNotExists',
+ 'errorMessage' => 'The delivery channel does not exist.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'substitutions' => [
+ 'Config::2020-09-07::ListConfigDeliveryChannels',
+ 'Config::2020-09-07::ListAggregateConfigDeliveryChannels',
+ ],
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"DeliveryChannels\\": [\\n {\\n \\"ConfigurationItemChangeNotification\\": true,\\n \\"ConfigurationSnapshot\\": false,\\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 \\"DeliveryChannelId\\": \\"cdc-d9106457e0d900b1****\\",\\n \\"DeliveryChannelName\\": \\"myDeliveryChannel\\",\\n \\"DeliveryChannelTargetArn\\": \\"acs:oss:cn-shanghai:120886317861****:new-bucket\\",\\n \\"DeliveryChannelType\\": \\"OSS\\",\\n \\"Description\\": \\"My OSS delivery.\\",\\n \\"NonCompliantNotification\\": false,\\n \\"OversizedDataOSSTargetArn\\": \\"acs:oss:cn-shanghai:100931896542****:new-bucket\\",\\n \\"Status\\": 1\\n }\\n ],\\n \\"RequestId\\": \\"DC300244-FCE3-5061-8214-C27ECB668487\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeDeliveryChannelsResponse>\\n\\t<DeliveryChannels>\\n\\t\\t<Status>1</Status>\\n\\t\\t<ConfigurationSnapshot>false</ConfigurationSnapshot>\\n\\t\\t<OversizedDataOSSTargetArn></OversizedDataOSSTargetArn>\\n\\t\\t<Description>My OSS delivery.</Description>\\n\\t\\t<DeliveryChannelName>myDeliveryChannel</DeliveryChannelName>\\n\\t\\t<DeliveryChannelId>cdc-d9106457e0d900b1****</DeliveryChannelId>\\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<ConfigurationItemChangeNotification>true</ConfigurationItemChangeNotification>\\n\\t\\t<DeliveryChannelType>OSS</DeliveryChannelType>\\n\\t\\t<DeliveryChannelCondition></DeliveryChannelCondition>\\n\\t\\t<NonCompliantNotification>false</NonCompliantNotification>\\n\\t</DeliveryChannels>\\n\\t<RequestId>DC300244-FCE3-5061-8214-C27ECB668487</RequestId>\\n</DescribeDeliveryChannelsResponse>\\t","errorExample":""}]',
+ 'title' => 'DescribeDeliveryChannels',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'PutDeliveryChannel' => [
+ 'summary' => 'Creates or modifies a delivery channel for the current account.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => true,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigL91U0A',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ '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 make sure that the value is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '1594295238-f9361358-5843-4294-8d30-b5183fac****',
+ ],
+ ],
+ [
+ 'name' => 'DeliveryChannelId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the delivery channel. This parameter is required when you modify a delivery channel.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cdc-193f6457e0d90080****',
+ ],
+ ],
+ [
+ 'name' => 'DeliveryChannelName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The name of the delivery channel.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'testoss',
+ ],
+ ],
+ [
+ 'name' => 'DeliveryChannelType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The type of the delivery channel. This parameter is required when you create a delivery channel. Valid values:'."\n"
+ ."\n"
+ .'* OSS: Object Storage Service (OSS)'."\n"
+ .'* MNS: Simple Message Queue (formerly MNS)'."\n"
+ .'* SLS: Simple Log Service'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'OSS',
+ 'enum' => [
+ 'OSS',
+ 'MNS',
+ 'SLS',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'DeliveryChannelTargetArn',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The Alibaba Cloud Resource Name (ARN) of the delivery destination. This parameter is required when you create a delivery channel. Valid values:'."\n"
+ ."\n"
+ .'* If your delivery destination is an OSS bucket, specify the value in the `acs:oss:{RegionId}:{Aliuid}:{bucketName}` format.'."\n"
+ .'* If your delivery destination is a SMQ topic, specify the value in the `acs:mns:{RegionId}:{Aliuid}:/topics/{topicName}` format.'."\n"
+ .'* If your delivery destination is a Simple Log Service Logstore, specify the value in the `acs:log:{RegionId}:{Aliuid}:project/{projectName}/logstore/{logstoreName}` format.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'acs:oss:cn-hangzhou:100931896542****:20171130--1',
+ ],
+ ],
+ [
+ 'name' => 'DeliveryChannelAssumeRoleArn',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ARN of the role that you want to assign to the delivery channel. This parameter is required when you create a delivery channel.'."\n"
+ ."\n"
+ .'> If you assign the service-linked role of Cloud Config to the delivery channel, you can specify the ARN in the format of the provided example and replace the account ID with the ID of your Alibaba Cloud account.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'acs:ram::100931896542****:role/aliyunserviceroleforconfig',
+ ],
+ ],
+ [
+ 'name' => 'DeliveryChannelCondition',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The rule that is attached to the delivery channel. This parameter is applicable only to delivery channels of the MNS type.'."\n"
+ ."\n"
+ .'This parameter specifies the lowest risk level and the resource types for the events to which you want to subscribe.'."\n"
+ ."\n"
+ .'* The setting of the lowest risk level for the events to subscribe to is in the following format: `{"filterType":"RuleRiskLevel","value":"1","multiple":false}`.'."\n"
+ ."\n"
+ .' The value field indicates the lowest risk level. Valid values: 1, 2, and 3. The value 1 indicates the high risk level. The value 2 indicates the medium risk level. The value 3 indicates the low risk level.'."\n"
+ ."\n"
+ .'* The setting of the resource types for the events to which you subscribed 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 for which you subscribe to events. The value is a JSON array. 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}]`'."\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' => 'Description',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The description of the delivery channel.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'My OSS delivery.',
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the delivery channel. Valid values:'."\n"
+ ."\n"
+ .'* 0: The delivery channel is disabled.'."\n"
+ .'* 1 (default): The delivery channel is enabled.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryChannelId' => [
+ 'description' => 'The ID of the delivery channel that you created or the updated ID of the delivery channel that you modified.'."\n",
+ 'type' => 'string',
+ 'example' => 'cdc-ee0f626622af0069****',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '0D6B9E0A-AD53-4732-922B-0F584ECA5FAB',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'DeliveryChannelNotExists',
+ 'errorMessage' => 'The delivery channel does not exist.',
+ ],
+ [
+ 'errorCode' => 'Invalid.DeliveryChannelName.Empty',
+ 'errorMessage' => 'You must specify DeliveryChannelName.',
+ ],
+ [
+ 'errorCode' => 'Invalid.DeliveryChannelType.Empty',
+ 'errorMessage' => 'You must specify DeliveryChannelType.',
+ ],
+ [
+ 'errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Empty',
+ 'errorMessage' => 'You must specify DeliveryChannelAssumeRoleArn.',
+ ],
+ [
+ 'errorCode' => 'Invalid.DeliveryChannelAssumeRoleArn.Format',
+ 'errorMessage' => 'The specified format of DeliveryChannelAssumeRoleArn is invalid.',
+ ],
+ [
+ 'errorCode' => 'Invalid.DeliveryChannelTargetArn.Empty',
+ 'errorMessage' => 'You must specify DeliveryChannelTargetArn.',
+ ],
+ [
+ 'errorCode' => 'Invalid.DeliveryChannelTargetArn.Format',
+ 'errorMessage' => 'The specified format of DeliveryChannelTargetArn is invalid.',
+ ],
+ [
+ 'errorCode' => 'Invalid.DeliveryChannelCondition.Format',
+ 'errorMessage' => 'The specified format of DeliveryChannelCondition is invalid.',
+ ],
+ [
+ 'errorCode' => 'MemberNotBelongToMaster',
+ 'errorMessage' => 'The specified member does not belong to your organization.',
+ ],
+ [
+ 'errorCode' => 'DeliveryChannelAccountNotSupport',
+ 'errorMessage' => 'Cross-account delivery that is not in the RD is not supported.',
+ ],
+ [
+ 'errorCode' => 'DeliveryChannelMnsUnreachable',
+ 'errorMessage' => 'The MNS topic is unreachable.',
+ ],
+ [
+ 'errorCode' => 'DeliveryChannelOssUnreachable',
+ 'errorMessage' => 'The OSS bucket is unreachable.',
+ ],
+ [
+ 'errorCode' => 'DeliveryChannelSlsUnreachable',
+ 'errorMessage' => 'SLS logstore is unreachable.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'substitutions' => [
+ 'Config::2020-09-07::CreateConfigDeliveryChannel',
+ 'Config::2020-09-07::CreateAggregateConfigDeliveryChannel',
+ ],
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"DeliveryChannelId\\": \\"cdc-ee0f626622af0069****\\",\\n \\"RequestId\\": \\"0D6B9E0A-AD53-4732-922B-0F584ECA5FAB\\"\\n}","errorExample":""},{"type":"xml","example":"<PutDeliveryChannelResponse>\\n <RequestId>0D6B9E0A-AD53-4732-922B-0F584ECA5FAB</RequestId>\\n <DeliveryChannelId>cdc-ee0f626622af0069****</DeliveryChannelId>\\n</PutDeliveryChannelResponse>","errorExample":""}]',
+ 'title' => 'PutDeliveryChannel',
+ 'description' => '****',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetAggregateDiscoveredResource' => [
+ 'summary' => 'Queries the details of a resource in an account group.',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => true,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the resource.'."\n"
+ ."\n"
+ .'For more information about how to obtain the ID of a resource, see [ListAggregateDiscoveredResources](~~265983~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'new-bucket',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ '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,
+ 'docRequired' => true,
+ 'example' => 'ACS::OSS::Bucket',
+ ],
+ ],
+ [
+ '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 a resource, see [ListAggregateDiscoveredResources](~~265983~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ '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-5885626622af0008****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'DiscoveredResourceDetail' => [
+ 'description' => 'The information about the resource.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'description' => 'The ID of the Alibaba Cloud account to which the resource belongs.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100931896542****',
+ ],
+ 'AvailabilityZone' => [
+ 'description' => 'The zone where the resource resides.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou-h',
+ ],
+ 'Configuration' => [
+ 'description' => 'The configuration of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => '{\\"AccessControlList\\":{\\"Grant\\":\\"private\\"},\\"ServerSideEncryptionRule\\":{\\"SSEAlgorithm\\":\\"None\\"},\\"Comment\\":\\"\\",\\"CreationDate\\":\\"2021-06-29T10:05:12.000Z\\",\\"Owner\\":{\\"DisplayName\\":\\"100931896542****\\",\\"ID\\":\\"100931896542****\\"},\\"StorageClass\\":\\"Standard\\",\\"DataRedundancyType\\":\\"LRS\\",\\"AllowEmptyReferer\\":\\"true\\",\\"Name\\":\\"new-bucket\\",\\"BucketPolicy\\":{\\"LogPrefix\\":\\"\\",\\"LogBucket\\":\\"\\"},\\"ExtranetEndpoint\\":\\"oss-cn-hangzhou.aliyuncs.com\\",\\"IntranetEndpoint\\":\\"oss-cn-hangzhou-internal.aliyuncs.com\\",\\"Location\\":\\"oss-cn-hangzhou\\"}',
+ ],
+ 'Region' => [
+ 'description' => 'The ID of the region where the resource resides.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'ResourceCreationTime' => [
+ 'description' => 'The timestamp when the resource was created.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1624961112000',
+ ],
+ 'ResourceDeleted' => [
+ 'description' => 'Indicates whether the resource is deleted. Valid values:'."\n"
+ ."\n"
+ .'* 1: The resource is retained.'."\n"
+ .'* 0: The resource is deleted.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ResourceId' => [
+ 'description' => 'The ID of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'new-bucket',
+ ],
+ 'ResourceName' => [
+ 'description' => 'The name of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'new-bucket',
+ ],
+ 'ResourceStatus' => [
+ 'description' => 'The status of the resource. The parameter value varies with the resource type and may be left empty. Examples:'."\n"
+ ."\n"
+ .'* If the ResourceType parameter is set to ACS::ECS::Instance, the resource is an Elastic Compute Service (ECS) instance that has a specific state. In this case, valid values of this parameter include Running and Stopped.'."\n"
+ .'* If the ResourceType parameter is set to ACS::OSS::Bucket, the resource is an Object Storage Service (OSS) bucket that does not have a specific state. In this case, this parameter is left empty.'."\n",
+ 'type' => 'string',
+ 'example' => 'offline',
+ ],
+ 'ResourceType' => [
+ 'description' => 'The type of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACS::OSS::BucketACS::CDN::Domain',
+ ],
+ 'Tags' => [
+ 'description' => 'The tags of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => '{\\"\\"hc\\"\\":[\\"\\"value2\\"\\"]}',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'E4D71ACE-6B0A-46E0-8352-56952378CC7F',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ [
+ 'errorCode' => 'MemberNotBelongToMaster',
+ 'errorMessage' => 'The specified member does not belong to your organization.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'substitutions' => [
+ 'Config::2020-09-07::GetAggregateDiscoveredResource',
+ ],
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"DiscoveredResourceDetail\\": {\\n \\"AccountId\\": 0,\\n \\"AvailabilityZone\\": \\"cn-hangzhou-h\\",\\n \\"Configuration\\": \\"{\\\\\\\\\\\\\\"AccessControlList\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"Grant\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"private\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"ServerSideEncryptionRule\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"SSEAlgorithm\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"None\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"Comment\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CreationDate\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2021-06-29T10:05:12.000Z\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Owner\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"DisplayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"100931896542****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ID\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"100931896542****\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"StorageClass\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Standard\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DataRedundancyType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"LRS\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AllowEmptyReferer\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"true\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"new-bucket\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"BucketPolicy\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"LogPrefix\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"LogBucket\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"ExtranetEndpoint\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"oss-cn-hangzhou.aliyuncs.com\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"IntranetEndpoint\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"oss-cn-hangzhou-internal.aliyuncs.com\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Location\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"oss-cn-hangzhou\\\\\\\\\\\\\\"}\\",\\n \\"Region\\": \\"cn-hangzhou\\",\\n \\"ResourceCreationTime\\": 1624961112000,\\n \\"ResourceDeleted\\": 1,\\n \\"ResourceId\\": \\"new-bucket\\",\\n \\"ResourceName\\": \\"new-bucket\\",\\n \\"ResourceStatus\\": \\"offline\\",\\n \\"ResourceType\\": \\"ACS::OSS::BucketACS::CDN::Domain\\",\\n \\"Tags\\": \\"{\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"hc\\\\\\\\\\\\\\"\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"value2\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"]}\\"\\n },\\n \\"RequestId\\": \\"E4D71ACE-6B0A-46E0-8352-56952378CC7F\\"\\n}","errorExample":""},{"type":"xml","example":"<GetAggregateDiscoveredResourceResponse>\\n\\t<RequestId>E4D71ACE-6B0A-46E0-8352-56952378CC7F</RequestId>\\n\\t<DiscoveredResourceDetail>\\n\\t\\t<AccountId>100931896542****</AccountId>\\n\\t\\t<ResourceCreationTime>1624961112000</ResourceCreationTime>\\n\\t\\t<Configuration>{\\\\\\"AccessControlList\\\\\\":{\\\\\\"Grant\\\\\\":\\\\\\"private\\\\\\"},\\\\\\"ServerSideEncryptionRule\\\\\\":{\\\\\\"SSEAlgorithm\\\\\\":\\\\\\"None\\\\\\"},\\\\\\"Comment\\\\\\":\\\\\\"\\\\\\",\\\\\\"CreationDate\\\\\\":\\\\\\"2021-06-29T10:05:12.000Z\\\\\\",\\\\\\"Owner\\\\\\":{\\\\\\"DisplayName\\\\\\":\\\\\\"100931896542****\\\\\\",\\\\\\"ID\\\\\\":\\\\\\"100931896542****\\\\\\"},\\\\\\"StorageClass\\\\\\":\\\\\\"Standard\\\\\\",\\\\\\"DataRedundancyType\\\\\\":\\\\\\"LRS\\\\\\",\\\\\\"AllowEmptyReferer\\\\\\":\\\\\\"true\\\\\\",\\\\\\"Name\\\\\\":\\\\\\"new-bucket\\\\\\",\\\\\\"BucketPolicy\\\\\\":{\\\\\\"LogPrefix\\\\\\":\\\\\\"\\\\\\",\\\\\\"LogBucket\\\\\\":\\\\\\"\\\\\\"},\\\\\\"ExtranetEndpoint\\\\\\":\\\\\\"oss-cn-hangzhou.aliyuncs.com\\\\\\",\\\\\\"IntranetEndpoint\\\\\\":\\\\\\"oss-cn-hangzhou-internal.aliyuncs.com\\\\\\",\\\\\\"Location\\\\\\":\\\\\\"oss-cn-hangzhou\\\\\\"}</Configuration>\\n\\t\\t<ResourceId>new-bucket</ResourceId>\\n\\t\\t<ResourceName>new-bucket</ResourceName>\\n\\t\\t<Region>cn-hangzhou</Region>\\n\\t\\t<AvailabilityZone>cn-hangzhou-h</AvailabilityZone>\\n\\t\\t<ResourceStatus></ResourceStatus>\\n\\t\\t<ResourceType>ACS::OSS::Bucket</ResourceType>\\n\\t\\t<ResourceDeleted>1</ResourceDeleted>\\n\\t\\t<Tags>{\\\\\\"\\\\\\"hc\\\\\\"\\\\\\":[\\\\\\"\\\\\\"value2\\\\\\"\\\\\\"]}</Tags>\\n\\t</DiscoveredResourceDetail>\\n</GetAggregateDiscoveredResourceResponse>\\t","errorExample":""}]',
+ 'title' => 'GetAggregateDiscoveredResource',
+ 'description' => 'In this topic, the `new-bucket` resource in the `ca-5885626622af0008****` account group is used as an example.'."\n",
+ 'requestParamsDescription' => 'For information about common request parameters, see [Common parameters](~~169575~~).'."\n",
+ ],
+ 'ListAggregateDiscoveredResources' => [
+ 'summary' => 'Queries a list of resources in an account group.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => true,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfig6XGW41',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eni-hp31cqoba96jagtz****',
+ ],
+ ],
+ [
+ 'name' => 'ResourceDeleted',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The status of the resource. Valid values:'."\n"
+ ."\n"
+ .'* 0: The resource is deleted.'."\n"
+ .'* 1 (default): The resource is retained.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries per page.'."\n"
+ ."\n"
+ .'Valid values: 1 to 100. Minimum value: 1. Default value: 10.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '100',
+ 'minimum' => '1',
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The page number.'."\n"
+ ."\n"
+ .'Pages start from page 1. Default value: 1.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '100000',
+ 'minimum' => '1',
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'ResourceTypes',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource types. Separate multiple resource types with commas (,).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ACS::ECS::NetworkInterface',
+ ],
+ ],
+ [
+ 'name' => 'Regions',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the region in which the resource resides. Separate multiple region IDs with commas (,).'."\n"
+ ."\n"
+ .'For more information about how to obtain the region ID of a resource, see [ListAggregateDiscoveredResources](~~265983~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ '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~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'ca-c560626622af0005****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DiscoveredResourceProfiles' => [
+ 'description' => 'The queried resources.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DiscoveredResourceProfileList' => [
+ 'description' => 'The queried resource.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'description' => 'The ID of the Alibaba Cloud account to which the resource belongs.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '161259599160****',
+ ],
+ 'Region' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-huhehaote',
+ ],
+ 'ResourceCreationTime' => [
+ 'description' => 'The time when the resource was created. Unit: milliseconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1618675206000',
+ ],
+ 'ResourceDeleted' => [
+ 'description' => 'The status of the resource. Valid values:'."\n"
+ ."\n"
+ .'* 0: The resource is deleted.'."\n"
+ .'* 1: The resource is retained.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ResourceId' => [
+ 'description' => 'The resource ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'eni-hp31cqoba96jagtz****',
+ ],
+ 'ResourceName' => [
+ 'description' => 'The resource name.'."\n",
+ 'type' => 'string',
+ 'example' => 'Cloud Firewall',
+ ],
+ 'ResourceOwnerId' => [
+ 'description' => 'The ID of the Alibaba Cloud account to which the resource belongs.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '161259599160****',
+ ],
+ 'ResourceStatus' => [
+ 'description' => 'The status of the resource. The value of this parameter varies with the resource type and may be empty. Examples:'."\n"
+ ."\n"
+ .'* If the value of the ResourceType parameter is ACS::ECS::Instance, the resource is an Elastic Compute Service (ECS) instance that is in a specific state. In this case, the valid values of this parameter are Running and Stopped.'."\n"
+ .'* If the value of 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 empty.'."\n",
+ 'type' => 'string',
+ 'example' => 'InUse',
+ ],
+ 'ResourceType' => [
+ 'description' => 'The resource type.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACS::ECS::NetworkInterface',
+ ],
+ 'Tags' => [
+ 'description' => 'The tags of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => '{\\"key1\\":[\\"value2\\"]}',
+ ],
+ ],
+ ],
+ ],
+ 'PageNumber' => [
+ 'description' => 'The page number. Pages start from page 1.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => 'The number of entries per page. Valid values: 1 to 100.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The total number of resources.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8',
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ ],
+ [
+ 'errorCode' => 'MemberNotBelongToMaster',
+ 'errorMessage' => 'The specified member does not belong to your organization.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'substitutions' => [
+ 'Config::2020-09-07::ListAggregateDiscoveredResources',
+ ],
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"DiscoveredResourceProfiles\\": {\\n \\"DiscoveredResourceProfileList\\": [\\n {\\n \\"AccountId\\": 0,\\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 }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 8\\n },\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\"\\n}","errorExample":""},{"type":"xml","example":"<ListAggregateDiscoveredResourcesResponse>\\n\\t<DiscoveredResourceProfiles>\\n\\t\\t<DiscoveredResourceProfileList>\\n\\t\\t\\t<ResourceType>ACS::ECS::NetworkInterface</ResourceType>\\n\\t\\t\\t<Region>cn-huhehaote</Region>\\n\\t\\t\\t<ResourceCreationTime>1618675206000</ResourceCreationTime>\\n\\t\\t\\t<Tags>{\\\\\\"key1\\\\\\":[\\\\\\"value2\\\\\\"]}</Tags>\\n\\t\\t\\t<ResourceId>eni-hp31cqoba96jagtz****</ResourceId>\\n\\t\\t\\t<ResourceName>Cloud Firewall</ResourceName>\\n\\t\\t\\t<ResourceDeleted>1</ResourceDeleted>\\n\\t\\t\\t<ResourceStatus>InUse</ResourceStatus>\\n\\t\\t</DiscoveredResourceProfileList>\\n\\t\\t<PageNumber>1</PageNumber>\\n\\t\\t<PageSize>10</PageSize>\\n\\t\\t<TotalCount>8</TotalCount>\\n\\t</DiscoveredResourceProfiles>\\n\\t<RequestId>C7817373-78CB-4F9A-8AFA-E7A88E9D64A2</RequestId>\\n</ListAggregateDiscoveredResourcesResponse>\\t","errorExample":""}]',
+ 'title' => 'ListAggregateDiscoveredResources',
+ 'description' => 'This topic provides an example on how to query a list of resources in the `ca-c560626622af0005****` account group. The response shows that eight resources exist in the account group.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~169575~~).'."\n",
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'config.cn-shanghai.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-1',
+ 'endpoint' => 'config.ap-southeast-1.aliyuncs.com',
+ ],
+ ],
+];
diff --git a/data/en_us/config/2020-09-07/api-docs.php b/data/en_us/config/2020-09-07/api-docs.php
new file mode 100644
index 0000000..a100be4
--- /dev/null
+++ b/data/en_us/config/2020-09-07/api-docs.php
@@ -0,0 +1,41217 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'Config',
+ 'version' => '2020-09-07',
+ ],
+ 'directories' => [
+ [
+ 'children' => [
+ 'CreateAggregator',
+ 'UpdateAggregator',
+ 'GetAggregator',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Account Groups',
+ ],
+ [
+ 'children' => [
+ [
+ 'children' => [
+ 'ListDiscoveredResources',
+ 'GetDiscoveredResource',
+ 'GetResourceConfigurationTimeline',
+ 'GetResourceComplianceTimeline',
+ 'GenerateResourceInventory',
+ 'GetResourceInventory',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Single-account',
+ ],
+ [
+ 'children' => [
+ 'ListAggregateDiscoveredResources',
+ 'GetAggregateDiscoveredResource',
+ 'GetAggregateResourceConfigurationTimeline',
+ 'GetAggregateResourceComplianceTimeline',
+ 'ListAggregateResourcesByAdvancedSearch',
+ 'CreateAggregateAdvancedSearchFile',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Multi-account',
+ ],
+ 'GetSupportedResourceRelationConfig',
+ 'ListSupportedProducts',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Resources',
+ ],
+ [
+ 'children' => [
+ [
+ 'children' => [
+ 'CreateConfigRule',
+ 'UpdateConfigRule',
+ 'ListConfigRules',
+ 'GetConfigRule',
+ 'ListConfigRuleEvaluationResults',
+ 'ListResourceEvaluationResults',
+ 'StartConfigRuleEvaluation',
+ 'IgnoreEvaluationResults',
+ 'GetConfigRuleSummaryByRiskLevel',
+ 'GetComplianceSummary',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Single-account',
+ ],
+ [
+ 'children' => [
+ 'CreateAggregateConfigRule',
+ 'UpdateAggregateConfigRule',
+ 'ListAggregateConfigRules',
+ 'GetAggregateConfigRule',
+ 'ListAggregateConfigRuleEvaluationResults',
+ 'ListAggregateResourceEvaluationResults',
+ 'GetAggregateComplianceSummary',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Multi-account',
+ ],
+ 'ListManagedRules',
+ 'GetManagedRule',
+ 'ListPreManagedRules',
+ 'EvaluatePreConfigRules',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Rules',
+ ],
+ [
+ 'children' => [
+ [
+ 'children' => [
+ 'UpdateCompliancePack',
+ 'ListCompliancePacks',
+ 'GetCompliancePack',
+ 'GetConfigRuleComplianceByPack',
+ 'GetResourceComplianceByPack',
+ 'DetachConfigRuleToCompliancePack',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Single-account',
+ ],
+ [
+ 'children' => [
+ 'CreateAggregateCompliancePack',
+ 'UpdateAggregateCompliancePack',
+ 'ListAggregateCompliancePacks',
+ 'GetAggregateCompliancePack',
+ 'GenerateAggregateCompliancePackReport',
+ 'GetAggregateResourceComplianceByPack',
+ 'GetAggregateConfigRuleComplianceByPack',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Multi-account',
+ ],
+ 'ListCompliancePackTemplates',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Compliance Package',
+ ],
+ [
+ 'children' => [
+ [
+ 'children' => [
+ 'CreateRemediation',
+ 'UpdateRemediation',
+ 'DeleteRemediations',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Single-account',
+ ],
+ [
+ 'children' => [
+ 'CreateAggregateRemediation',
+ 'UpdateAggregateRemediation',
+ 'ListAggregateRemediations',
+ 'DeleteAggregateRemediations',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Multi-account',
+ ],
+ 'GetRemediationTemplate',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Remediation templates',
+ ],
+ [
+ 'children' => [
+ [
+ 'children' => [
+ 'CreateConfigDeliveryChannel',
+ 'UpdateConfigDeliveryChannel',
+ 'ListConfigDeliveryChannels',
+ 'GetConfigDeliveryChannel',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Single-account',
+ ],
+ [
+ 'children' => [
+ 'CreateAggregateConfigDeliveryChannel',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Multi-account',
+ ],
+ ],
+ 'type' => 'directory',
+ 'title' => 'Deliveries',
+ ],
+ [
+ 'children' => [
+ 'ListTagResources',
+ 'TagResources',
+ 'UntagResources',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Tags',
+ ],
+ [
+ 'children' => [
+ 'ListIntegratedService',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Service integration',
+ ],
+ [
+ 'children' => [
+ 'GetConfigurationRecorder',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Service settings',
+ ],
+ [
+ 'children' => [
+ 'CreateReportTemplate',
+ 'GetReportTemplate',
+ 'UpdateReportTemplate',
+ 'ListReportTemplates',
+ 'DeleteReportTemplate',
+ 'GenerateReportFromTemplate',
+ 'GetReportFromTemplate',
+ 'TriggerReportSend',
+ ],
+ 'type' => 'directory',
+ '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',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Others',
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'ActiveAggregateConfigRules' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigOH65M0',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ 'name' => 'CompliancePackId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The rule ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cp-fe416457e0d90022****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
+ ],
+ 'OperateRuleResult' => [
+ 'description' => 'The results of the operations.',
+ 'type' => 'object',
+ 'properties' => [
+ 'OperateRuleItemList' => [
+ 'description' => 'The result information about the operation.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ '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****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AggregatorMemberNoPermission',
+ 'errorMessage' => 'The aggregator member is not authorized to perform the operation.',
+ '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' => '',
+ ],
+ ],
+ ],
+ '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.',
+ 'description' => '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.'."\n",
+ 'requestParamsDescription' => '### [](#)Prerequisites'."\n"
+ ."\n"
+ .'The rule is in the `INACTIVE` state.'."\n"
+ ."\n"
+ .'### [](#)Description'."\n"
+ ."\n"
+ .'This topic provides an example on how to enable the `cr-5772ba41209e007b****` rule in the `ca-a4e5626622af0079****` account group.'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:ActiveAggregateConfigRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ActiveConfigRules' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigOH65M0',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ '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**** ',
+ ],
+ ],
+ [
+ 'name' => 'CompliancePackId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the compliance package.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cp-fe416457e0d90022****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '61C1A88F-D163-40DF-84A6-F200229F37B2',
+ ],
+ 'OperateRuleResult' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'OperateRuleItemList' => [
+ 'description' => 'The returned results.'."\n",
+ 'type' => 'array',
+ '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****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ '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.',
+ 'description' => '### [](#)Prerequisites'."\n"
+ ."\n"
+ .'The rule is in the `INACTIVE` state.'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:ActiveConfigRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'AttachAggregateConfigRuleToCompliancePack' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ 'properties' => [
+ 'OperateRuleItemList' => [
+ 'description' => 'The result of the operation to add the rule.'."\n",
+ 'type' => 'array',
+ '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****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'AttachAggregateConfigRuleToCompliancePack',
+ 'summary' => 'Adds one or more rules in an account group to a compliance package.',
+ 'description' => 'The sample request in this topic shows you how to add the `cr-6cc4626622af00e7****` rule in the `ca-75b4626622af00c3****` account group to the `cp-5bb1626622af00bd****` compliance package.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [API Reference](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:AttachAggregateConfigRuleToCompliancePack',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'AttachConfigRuleToCompliancePack' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ 'properties' => [
+ 'OperateRuleItemList' => [
+ 'description' => 'The result of the operation to add the rule.'."\n",
+ 'type' => 'array',
+ '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****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'AttachConfigRuleToCompliancePack',
+ 'summary' => 'Adds one or more rules to a compliance package.',
+ 'description' => 'This topic provides an example on how to add the `cr-6cc4626622af00e7****` rule to the `cp-5bb1626622af00bd****` compliance package.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:AttachConfigRuleToCompliancePack',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CopyCompliancePacks' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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":""}]',
+ 'title' => 'CopyCompliancePacks',
+ 'summary' => 'Replicates compliance packages.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CopyCompliancePacks',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CopyConfigRules' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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":""}]',
+ 'title' => 'CopyConfigRules',
+ 'summary' => 'Replicates rules.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:CopyConfigRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreateAdvancedSearchFile' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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\'',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'D231366D-E2AD-559E-9C29-58FF7F4B1F5D',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D231366D-E2AD-559E-9C29-58FF7F4B1F5D\\"\\n}","type":"json"}]',
+ 'title' => 'CreateAdvancedSearchFile',
+ 'summary' => 'Creates a downloadable resource file for the current Alibaba Cloud account.',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateAdvancedSearchFile',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreateAggregateAdvancedSearchFile' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => '5F290373-2BE6-534B-8724-A33F1116958B',
+ 'title' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => 'CreateAggregateAdvancedSearchFile',
+ 'summary' => 'Creates a downloadable file of advanced search results for resources in an account group.',
+ 'description' => 'This topic provides an example of how to query for ECS instances in the account group `ca-edd3626622af00b3****` and create a downloadable file of the search results.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '50',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'CreateAggregateAdvancedSearchFile',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateAggregateAdvancedSearchFile',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'CompliancePackName',
+ 'in' => 'formData',
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'RiskLevel',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The risk level of the compliance pack. Valid values:'."\n"
+ ."\n"
+ .'- 1: High'."\n"
+ ."\n"
+ .'- 2 (default): Medium'."\n"
+ ."\n"
+ .'- 3: Low',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'maximum' => '3',
+ 'exclusiveMaximum' => false,
+ 'minimum' => '1',
+ 'exclusiveMinimum' => false,
+ 'enum' => [
+ '1',
+ '2',
+ '3',
+ ],
+ 'required' => false,
+ 'example' => '2',
+ '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-f632626622af0079****',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'ConfigRules',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The rules in the compliance pack.'."\n"
+ ."\n"
+ .'> Specify either this parameter or `TemplateContent`.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ 'ConfigRuleParameters' => [
+ 'description' => 'The parameters of the rule.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ '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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'TagsScope',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The effective tags.',
+ 'type' => 'array',
+ '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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'ExcludeTagsScope',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The excluded tags.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags of the resource.'."\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 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' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 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' => '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.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'CreateAggregateCompliancePack',
+ '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"
+ ."\n"
+ .'A compliance pack template is a collection of rules created by CloudConfig for a specific compliance scenario.'."\n"
+ ."\n"
+ .'This topic provides an example of how to create a compliance pack for the account group `ca-f632626622af0079****` using the compliance pack template `ClassifiedProtectionPreCheck` (Classified Protection Level 3 Pre-check).',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '60',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'CreateAggregateCompliancePack',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateAggregateCompliancePack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateCompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CompliancePackId\\": \\"cp-fc56626622af00f9****\\",\\n \\"RequestId\\": \\"CC0CE5EB-E51E-48EB-B4AB-9A9E131ECC0F\\"\\n}","type":"json"}]',
+ ],
+ 'CreateAggregateConfigDeliveryChannel' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'DeliveryChannelType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the delivery channel. Valid values:'."\n"
+ ."\n"
+ .'- OSS: Object Storage Service'."\n"
+ ."\n"
+ .'- MNS: Simple Message Queue'."\n"
+ ."\n"
+ .'- SLS: Simple Log Service',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'enum' => [
+ 'OSS',
+ 'MNS',
+ 'SLS',
+ ],
+ 'example' => 'OSS',
+ 'title' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => 'CreateAggregateConfigDeliveryChannel',
+ 'summary' => 'Creates a delivery channel for a specified account group to deliver resource data to Simple Log Service (SLS), Object Storage Service (OSS), or Simple Message Queue (formerly MNS).',
+ 'description' => '### Background information'."\n"
+ ."\n"
+ .'- Deliver to Simple Log Service (SLS)'."\n"
+ ."\n"
+ .' To deliver configuration history, non-compliance events, and scheduled resource snapshots to a Logstore in Simple Log Service (SLS), you must first create a log project and a Logstore. This lets you query and analyze logs. For examples of the content in JSON format, see [Example of resource configuration change history](~~308347~~), [Example of resource non-compliance event](~~307122~~), and [Example of scheduled resource snapshot](~~611894~~).'."\n"
+ ."\n"
+ .'- Deliver to Object Storage Service (OSS)'."\n"
+ ."\n"
+ .' To deliver scheduled resource snapshots or configuration history to a specified location in Object Storage Service (OSS), you must first create a bucket. This lets you view or download files in JSON format. For examples of the content in JSON format, see [Example of scheduled resource snapshot](~~305669~~) and [Example of resource configuration change history](~~189738~~).'."\n"
+ ."\n"
+ .'- Deliver to Simple Message Queue (MNS)'."\n"
+ ."\n"
+ .' To deliver resource configuration change history and resource non-compliance events to a specified topic in Simple Message Queue (formerly MNS), you must first create a topic. This lets you configure the push method and content for the topic. For examples of the content in JSON format, see [Example of resource configuration change history](~~309462~~) and [Example of resource non-compliance event](~~309463~~).'."\n"
+ ."\n"
+ .'### Limits'."\n"
+ ."\n"
+ .'You can create a maximum of five delivery channels for each account group.'."\n"
+ ."\n"
+ .'### Usage notes'."\n"
+ ."\n"
+ .'This example shows how to create a delivery channel of the `OSS` type for the account group `ca-a4e5626622af0079****`. The Amazon Resource Name (ARN) of the delivery destination is `acs:oss:cn-shanghai:100931896542****:new-bucket`. The response shows that the delivery channel is created and its ID is `cdc-8e45ff4e06a3a8****`.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '50',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'CreateAggregateConfigDeliveryChannel',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateAggregateConfigDeliveryChannel',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateDelivery',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDERTHG\\",\\n \\"DeliveryChannelId\\": \\"cdc-8e45ff4e06a3a8****\\"\\n}","type":"json"}]',
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigQMX28I',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ConfigRuleName',
+ 'in' => 'formData',
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'InputParameters',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The input parameters of 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' => '',
+ ],
+ ],
+ [
+ 'name' => 'MaximumExecutionFrequency',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The frequency at which the rule is run. 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 (default): 24 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,
+ 'example' => 'One_Hour',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceTypesScope',
+ 'in' => 'formData',
+ 'style' => 'simple',
+ 'schema' => [
+ 'description' => 'The resource types to be evaluated by the rule. 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,
+ 'example' => 'ACS::ECS::Instance',
+ 'title' => '',
+ ],
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'ACS::ECS::Instance',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'RiskLevel',
+ 'in' => 'formData',
+ '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' => true,
+ 'docRequired' => true,
+ 'enum' => [
+ '1',
+ '2',
+ '3',
+ ],
+ 'example' => '1',
+ 'title' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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"
+ ."\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"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'- AND'."\n"
+ ."\n"
+ .'- OR',
+ 'enumValueTitles' => [
+ 'OR' => 'OR',
+ 'AND' => 'AND',
+ ],
+ 'type' => 'string',
+ 'deprecated' => false,
+ 'enum' => [
+ 'AND',
+ 'OR',
+ ],
+ 'required' => false,
+ 'example' => 'AND',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'TagsScope',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The scope of the tags.',
+ '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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'docRequired' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'ExcludeTagsScope',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The scope of the tags to be excluded.',
+ '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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'docRequired' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'SourceOwner',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The type of the rule. Valid values:'."\n"
+ ."\n"
+ .'- ALIYUN: rule template'."\n"
+ ."\n"
+ .'- CUSTOM\\_FC: custom rule',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'enum' => [
+ 'ALIYUN',
+ 'CUSTOM_FC',
+ 'CUSTOM_CONFIGURATION',
+ ],
+ 'example' => 'ALIYUN',
+ 'title' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags to add to the rule. You can add up to 20 tags.',
+ '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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 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' => '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.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'CreateAggregateConfigRule',
+ 'description' => '### Limits'."\n"
+ ."\n"
+ .'Each management account and delegated administrator account can have a maximum of 200 rules.'."\n"
+ ."\n"
+ .'### Background information'."\n"
+ ."\n"
+ .'Cloud Config supports the following methods for creating rules:'."\n"
+ ."\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"
+ ."\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"
+ ."\n"
+ .'### Usage notes'."\n"
+ ."\n"
+ .'This example shows how to create a rule for the account group `ca-a4e5626622af0079****` using the \\`required-tags\\` template. The response shows that the rule is created with the ID `cr-4e3d626622af0080****`.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '300',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'CreateAggregateConfigRule',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateAggregateConfigRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 403 => [
+ [
+ '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"}]',
+ 'title' => 'CreateAggregateRemediation',
+ 'description' => '### Background information'."\n"
+ ."\n"
+ .'- Template-based remediation: Uses public templates provided by Operation Orchestration Service (OOS) to quickly remediate non-compliant resources.'."\n"
+ ."\n"
+ .' Only one remediation can be created for a rule. This type of remediation is supported only for rules that are created from specific templates.'."\n"
+ ."\n"
+ .'- Custom remediation: Runs custom code in Function Compute (FC) to quickly remediate non-compliant resources.'."\n"
+ ."\n"
+ .' Only one remediation can be created for a rule. This type of remediation is supported for rules created from templates and for custom rules.'."\n"
+ ."\n"
+ .'### Usage notes'."\n"
+ ."\n"
+ .'This topic provides an example of how to create a remediation for the rule `cr-6b7c626622af00b4****` in the account group `ca-6b4a626622af0012****`. The response shows that the remediation is created and its ID is `crr-909ba2d4716700eb****`.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '300',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'CreateAggregateRemediation',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateAggregateRemediation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'AggregatorAccounts',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The member accounts of the account group.'."\n"
+ ."\n"
+ .'> - If you set `AggregatorType` to \\`RD, you can leave this parameter empty. This indicates that all members in the resource directory are added to the global account group.'."\n"
+ .'>'."\n"
+ .'> - If you set `AggregatorType` to `FOLDER`, you can leave this parameter empty. This indicates that all members in a specific folder in the resource directory are added to the folder account group.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'You can attach a maximum of 20 tags.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 403 => [
+ [
+ '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' => '',
+ ],
+ ],
+ 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.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'CreateAggregator',
+ 'description' => '### Limits'."\n"
+ ."\n"
+ .'A management account or a delegated administrator account can create a maximum of 5 account groups. Each account group can contain a maximum of 200 member accounts.'."\n"
+ ."\n"
+ .'### Background information'."\n"
+ ."\n"
+ .'For more information about account groups, including their concepts, use cases, and the impact of member account changes on Cloud Config, see [Overview](~~211534~~).'."\n"
+ ."\n"
+ .'Cloud Config supports the following types of account groups:'."\n"
+ ."\n"
+ .'- Global account group: A global account group contains all members in a resource directory and automatically synchronizes member changes. A management account or a delegated administrator account can create only one global account group.'."\n"
+ ."\n"
+ .'- Custom account group: To create a custom account group, a management account or a delegated administrator account selects some or all member accounts from the resource directory.'."\n"
+ ."\n"
+ .' - If a new member is added to the resource directory, the change is not automatically synchronized. The management account or delegated administrator account must manually add the new member to the account group.'."\n"
+ ."\n"
+ .' - If a member is removed from the resource directory, the management account or delegated administrator account loses the permissions to manage that member\'s compliance. The custom account group automatically detects this change and removes the member from the group.'."\n"
+ ."\n"
+ .'- Folder account group: When an account group is created from a folder, it automatically detects and synchronizes changes to the members within that folder. The members in a folder account group are always consistent with the members in the selected folder.'."\n"
+ ."\n"
+ .' A management account or a delegated administrator account can select only one non-empty folder to create a folder account group.'."\n"
+ ."\n"
+ .'### Usage notes'."\n"
+ ."\n"
+ .'This topic provides an example of how to use a management account to create a custom account group of the `CUSTOM` type. The account group is named `Test_Group` and has the description `Test Group`. The member accounts are as follows:'."\n"
+ ."\n"
+ .'- The member account ID is `171322098523****` and the member account name is `Alice`.'."\n"
+ ."\n"
+ .'- The member account ID is `100532098349****` and the member account name is `Tom`.',
+ 'requestParamsDescription' => 'For information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '60',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'CreateAggregator',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateAggregator',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Aggregator',
+ 'arn' => 'acs:config:*:{#accountId}:aggregator/*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'CompliancePackName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The name of the compliance package.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '等保三级预检合规包',
+ 'maxLength' => 100,
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The description of the compliance package.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '等保三级预检合规包',
+ 'maxLength' => 500,
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'RiskLevel',
+ 'in' => 'formData',
+ '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",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '3',
+ 'exclusiveMaximum' => false,
+ 'minimum' => '1',
+ 'exclusiveMinimum' => false,
+ 'example' => '2',
+ 'enum' => [
+ '1',
+ '2',
+ '3',
+ ],
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'ConfigRules',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The rules in the compliance package. You must specify either this parameter or TemplateContent.'."\n",
+ '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' => '',
+ ],
+ 'ConfigRuleParameters' => [
+ 'description' => 'The input parameters of the rule.'."\n",
+ '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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ '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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'ExcludeRegionIdsScope',
+ 'in' => 'formData',
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceIdsScope',
+ 'in' => 'formData',
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'ExcludeResourceGroupIdsScope',
+ 'in' => 'formData',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'TagsScope',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'TagsScope',
+ 'type' => 'array',
+ '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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'ExcludeTagsScope',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'ExcludeTagsScope',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tags that are excluded.'."\n",
+ '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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'You can add up to 20 tags to a resource.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'You can add up to 20 tags to a resource.'."\n",
+ '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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'CreateCompliancePack',
+ '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",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateCompliancePack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'CompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:compliancepack/*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '10',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'CreateCompliancePack',
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'DeliveryChannelType',
+ 'in' => 'query',
+ 'schema' => [
+ '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',
+ 'required' => true,
+ 'docRequired' => true,
+ 'enum' => [
+ 'OSS',
+ 'MNS',
+ 'SLS',
+ ],
+ 'example' => 'OSS',
+ 'title' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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"}]',
+ 'title' => 'CreateConfigDeliveryChannel',
+ 'description' => '### Background information'."\n"
+ ."\n"
+ .'- Deliver to Simple Log Service (SLS)'."\n"
+ ."\n"
+ .' When you deliver resource configuration histories, non-compliant events, and scheduled snapshots to a Logstore in SLS, you must first create a project and a Logstore. This lets you query and analyze logs. For examples of the content of the JSON files, see [Resource configuration history examples](~~308347~~), [Non-compliant event examples](~~307122~~), and [Scheduled resource snapshot examples](~~611894~~).'."\n"
+ ."\n"
+ .'- Deliver to Object Storage Service (OSS)'."\n"
+ ."\n"
+ .' When you deliver scheduled resource snapshots or configuration histories to a specified location in OSS, you must first create a bucket. This lets you view or download the JSON files. For examples of the content of the JSON files, see [Scheduled resource snapshot examples](~~305669~~) and [Resource configuration history examples](~~189738~~).'."\n"
+ ."\n"
+ .'- Deliver to Simple Message Queue (formerly MNS)'."\n"
+ ."\n"
+ .' When you deliver resource configuration histories and non-compliant events to a specified topic in MNS, you must first create a topic. This lets you set the push method and content for the topic. For examples of the content of the JSON files, see [Resource configuration history examples](~~309462~~) and [Non-compliant event examples](~~309463~~).'."\n"
+ ."\n"
+ .'### Limits'."\n"
+ ."\n"
+ .'You can create a maximum of 5 delivery channels.'."\n"
+ ."\n"
+ .'### Usage notes'."\n"
+ ."\n"
+ .'This topic provides an example of how to create a delivery channel. In this example, the channel type is `OSS` and the destination ARN is `acs:oss:cn-shanghai:100931896542****:new-bucket`. The response shows that a delivery channel with the ID `cdc-8e45ff4e06a3a8****` is created.',
+ 'requestParamsDescription' => 'For information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '50',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'CreateConfigDeliveryChannel',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateConfigDeliveryChannel',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Delivery',
+ 'arn' => 'acs:config:*:{#accountId}:delivery/*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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"
+ ."\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"
+ ."\n"
+ .'- OR: The OR logic applies.',
+ 'type' => 'string',
+ 'deprecated' => false,
+ 'required' => false,
+ 'enum' => [
+ 'AND',
+ 'OR',
+ ],
+ 'title' => '',
+ 'example' => 'AND',
+ ],
+ ],
+ [
+ 'name' => 'TagsScope',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The scope of the tags.',
+ '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',
+ ],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'ExcludeTagsScope',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The scope of the tags to exclude.',
+ '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',
+ ],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The description of the rule.',
+ 'type' => 'string',
+ 'required' => false,
+ 'title' => '',
+ 'example' => '最多可以定义6组标签。如果资源同时具有指定的所有标签,则视为“合规”。',
+ ],
+ ],
+ [
+ 'name' => 'SourceOwner',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The type of the rule to create. Valid values:'."\n"
+ ."\n"
+ .'- ALIYUN: rule template.'."\n"
+ ."\n"
+ .'- CUSTOM\\_FC: custom rule.',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'enum' => [
+ 'ALIYUN',
+ 'CUSTOM_FC',
+ 'CUSTOM_CONFIGURATION',
+ ],
+ 'title' => '',
+ 'example' => 'ALIYUN',
+ ],
+ ],
+ [
+ 'name' => 'MaximumExecutionFrequency',
+ 'in' => 'formData',
+ 'schema' => [
+ '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 (default): 24 hours.'."\n"
+ ."\n"
+ .'> This parameter is required if you set ConfigRuleTriggerTypes to ScheduledNotification.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => [
+ 'One_Hour',
+ 'Three_Hours',
+ 'Six_Hours',
+ 'Twelve_Hours',
+ 'TwentyFour_Hours',
+ ],
+ 'title' => '',
+ 'example' => 'One_Hour',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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"}',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'ConfigRuleName',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The name of the rule.',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'title' => '',
+ 'example' => '存在所有指定标签',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ 'name' => 'ResourceTypesScope',
+ 'in' => 'formData',
+ 'style' => 'simple',
+ 'schema' => [
+ 'description' => 'The resource types to be evaluated by the rule. 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',
+ ],
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'ACS::ECS::Instance',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'RiskLevel',
+ 'in' => 'formData',
+ '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' => true,
+ 'docRequired' => true,
+ 'maximum' => '3',
+ 'exclusiveMaximum' => false,
+ 'minimum' => '1',
+ 'exclusiveMinimum' => false,
+ 'enum' => [
+ '1',
+ '2',
+ '3',
+ ],
+ 'title' => '',
+ 'example' => '1',
+ ],
+ ],
+ [
+ '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"}',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建出的规则的标签',
+ 'description' => 'The tags of the rule to be created.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'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',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'example' => '',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'CreateConfigRule',
+ 'description' => '### Limits'."\n"
+ ."\n"
+ .'You can create up to 200 rules for each account.'."\n"
+ ."\n"
+ .'### Background information'."\n"
+ ."\n"
+ .'You can create rules in Cloud Config in the following 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"
+ ."\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"
+ ."\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****`.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '300',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'CreateConfigRule',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateConfigRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 403 => [
+ [
+ '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"}]',
+ 'title' => 'CreateRemediation',
+ 'description' => '### Background information'."\n"
+ ."\n"
+ .'- Template-based remediation: Uses public templates from Operation Orchestration Service (OOS) to remediate non-compliant resources.'."\n"
+ ."\n"
+ .' Each rule supports only one remediation. This remediation type is available only for rules created from specific templates.'."\n"
+ ."\n"
+ .'- Custom remediation: Uses custom code in Function Compute (FC) to remediate non-compliant resources.'."\n"
+ ."\n"
+ .' Each rule supports only one remediation. This remediation type is available for rules created from templates and custom rules.'."\n"
+ ."\n"
+ .'### Usage notes'."\n"
+ ."\n"
+ .'In this example, a remediation is created for the rule `cr-8a973ac2e2be00a2****`. The sample response shows that the remediation is created and has the ID `crr-909ba2d4716700eb****`.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '100',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'CreateRemediation',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateRemediation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreateReportTemplate' => [
+ 'summary' => 'Create a compliance report template for the current UID.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'ReportTemplateDescription',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Report template description',
+ 'type' => 'string',
+ 'maxLength' => 500,
+ 'required' => false,
+ 'example' => 'test-report-description',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'ReportGranularity',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Report aggregation granularity.'."\n"
+ ."\n"
+ .'Supported for management accounts:'."\n"
+ ."\n"
+ .'- AllInOne (All accounts within the template scope are aggregated into one report)'."\n"
+ ."\n"
+ .'- GroupByAggregator (Reports are aggregated by account group, generating a compressed file)'."\n"
+ ."\n"
+ .'- 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',
+ ],
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'GroupByAccount',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'ReportFileFormats',
+ 'in' => 'formData',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'ReportScope',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'An array of report scopes, used to select the range of rules included in the audit report. The logic between each ReportScope in the array is OR, which means additive logic.'."\n"
+ ."\n"
+ .'> For example, if the array size is 2, the first ReportScope specifies rule In cr-1, and the second ReportScope specifies rule In cr-2, then the rule scope defined by this report is cr-1 and cr-2.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Report scope',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The key for the report scope. Currently supports:'."\n"
+ ."\n"
+ .'- AggregatorId'."\n"
+ ."\n"
+ .'- CompliancePackId'."\n"
+ ."\n"
+ .'- RuleId',
+ '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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'Create Report Template',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ReportTemplateId\\": \\"crt-xxx\\",\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDFXXX\\"\\n}","type":"json"}]',
+ ],
+ 'DeactiveAggregateConfigRules' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigOH65M0',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ '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' => 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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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',
+ ],
+ 'OperateRuleResult' => [
+ 'description' => 'The results of the operations that are performed to disable the specified rules.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'OperateRuleItemList' => [
+ 'description' => 'The operations that are performed to disable the rule.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ '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****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AggregatorMemberNoPermission',
+ 'errorMessage' => 'The aggregator member is not authorized to perform the operation.',
+ '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' => '',
+ ],
+ ],
+ ],
+ '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.',
+ 'description' => '### [](#)Prerequisites'."\n"
+ ."\n"
+ .'The status of the rule is `ACTIVE`.'."\n"
+ ."\n"
+ .'### [](#)Description'."\n"
+ ."\n"
+ .'This topic provides an example on how to disable the `cr-5772ba41209e007b****` rule in the `ca-04b3fd170e340007****` account group.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:DeactiveAggregateConfigRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeactiveConfigRules' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigOH65M0',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ 'properties' => [
+ 'OperateRuleItemList' => [
+ 'description' => 'The operations that are performed to disable the rule.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ '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****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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.',
+ 'description' => '### [](#)Prerequisites'."\n"
+ ."\n"
+ .'The status of the rule is `ACTIVE`.'."\n"
+ ."\n"
+ .'### [](#)Description'."\n"
+ ."\n"
+ .'This topic provides an example on how to disable the `cr-19a56457e0d90058****` rule.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:DeactiveConfigRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteAggregateCompliancePacks' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'N/A.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
+ ],
+ 'OperateCompliancePacksResult' => [
+ 'description' => 'The results of the delete operations.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'OperateCompliancePacks' => [
+ 'description' => 'An array that contains the deleted compliance packages.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'N/A.'."\n",
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AggregatorMemberNoPermission',
+ 'errorMessage' => 'The aggregator member is not authorized to perform the operation.',
+ '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' => '',
+ ],
+ ],
+ ],
+ '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",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'config:DeleteAggregateCompliancePacks',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateCompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregateCompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteAggregateConfigDeliveryChannel' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigL91U0A',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AggregatorId',
+ 'in' => 'query',
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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":""}]',
+ 'title' => 'DeleteAggregateConfigDeliveryChannel',
+ 'summary' => 'Deletes a delivery channel from an account group.',
+ 'description' => 'This topic provides an example on how to delete the `cdc-38c3013b46c9002c****` delivery channel from the `ca-23c6626622af0041****` account group. The returned result shows that the `cdc-38c3013b46c9002c****` delivery channel is deleted.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'config:DeleteAggregateConfigDeliveryChannel',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateDelivery',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteAggregateConfigRules' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'N/A.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ 'properties' => [
+ 'OperateRuleItemList' => [
+ 'description' => 'The details of the result.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ '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****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AggregatorMemberNoPermission',
+ 'errorMessage' => 'The aggregator member is not authorized to perform the operation.',
+ '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' => '',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'DeleteAggregateConfigRules',
+ 'summary' => 'Deletes one or more rules from an account group. You can delete a rule in the Cloud Config console. After you delete the rule, the configurations of the rule are deleted.',
+ 'description' => 'This topic provides an example on how to delete the `cr-4e3d626622af0080****` rule from the `ca-a4e5626622af0079****` account group.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'config:DeleteAggregateConfigRules',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateConfigRule',
+ 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteAggregateRemediations' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ 'title' => 'DeleteAggregateRemediations',
+ 'summary' => 'Deletes the remediation settings for a rule in a specified account group.',
+ 'description' => 'This topic provides an example of how to delete the remediation setting `crr-909ba2d4716700eb****` for a rule in the account group `ca-6b4a626622af0012****`. The response shows that the remediation setting is deleted.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '100',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'DeleteAggregateRemediations',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'config:DeleteAggregateRemediations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'N/A.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '8195B664-9565-4685-89AC-8B5F04B44B92',
+ ],
+ 'OperateAggregatorsResult' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'OperateAggregators' => [
+ 'description' => 'The details of the account group.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ '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****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AggregatorMemberNoPermission',
+ 'errorMessage' => 'The aggregator member is not authorized to perform the operation.',
+ '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' => '',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'DeleteAggregators',
+ 'summary' => 'The management account or delegated administrator account of a resource directory can delete an account group.',
+ 'description' => '### [](#)Background information'."\n"
+ ."\n"
+ .'After you delete an account group, the following changes occur to Cloud Config:'."\n"
+ ."\n"
+ .'* The rules and compliance packages of the account group are deleted and cannot be recovered.'."\n"
+ .'* All compliance results generated in the account group are automatically deleted and cannot be recovered.'."\n"
+ .'* Service-linked roles for Cloud Config of member accounts in the account group are retained.'."\n"
+ .'* If the account groups to which a member belongs are all deleted, the member account uses Cloud Config as an independent Alibaba Cloud account.'."\n"
+ ."\n"
+ .'### [](#)Description'."\n"
+ ."\n"
+ .'This topic provides an example on how to delete the account group whose ID is `ca-9190626622af00a9****`.'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'config:DeleteAggregators',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Aggregator',
+ 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteCompliancePacks' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'N/A.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
+ ],
+ 'OperateCompliancePacksResult' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'OperateCompliancePacks' => [
+ 'description' => 'An array that contains compliance packages that are deleted.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'N/A.'."\n",
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'config:DeleteCompliancePacks',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'CompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteConfigDeliveryChannel' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ '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****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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":""}]',
+ 'title' => 'DeleteConfigDeliveryChannel',
+ 'summary' => 'Deletes a delivery channel.',
+ 'description' => 'This topic provides an example on how to delete the `cdc-38c3013b46c9002c****` delivery channel. The returned result shows that the `cdc-38c3013b46c9002c****` delivery channel is deleted.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'config:DeleteConfigDeliveryChannel',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Delivery',
+ 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteConfigRules' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ 'properties' => [
+ 'OperateRuleItemList' => [
+ 'description' => 'The result of the delete operation.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ '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****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'DeleteConfigRules',
+ 'summary' => 'Deletes rules.',
+ 'description' => 'In this example, the rule whose ID is cr-9908626622af0035\\*\\*\\*\\* is deleted.'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'config:DeleteConfigRules',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Rule',
+ 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteRemediations' => [
+ 'summary' => 'Deletes specified remediation settings.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => '4BE28FB1-616A-5586-82E4-F34FB2AF7441',
+ ],
+ 'RemediationDeleteResults' => [
+ 'description' => 'The result of the delete operation.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ 'title' => 'DeleteRemediations',
+ 'description' => 'This topic provides an example of how to delete a remediation setting for a rule. In this example, the remediation setting with the ID `crr-909ba2d4716700eb****` is deleted. The response indicates that the operation is successful.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '100',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'DeleteRemediations',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'config:DeleteRemediations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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"}]',
+ ],
+ 'DeleteReportTemplate' => [
+ 'summary' => 'Deletes a compliance report template.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'Delete a Compliance Report template',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ReportTemplateId\\": \\"crt-xxx\\",\\n \\"RequestId\\": \\"DE9FFFE5-FCAD-4B24-9546-BF49273C562B\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeDiscoveredResourceBatch' => [
+ 'summary' => 'This operation retrieves the details of multiple resources in a batch.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => '6CE4ABA1-9A57-41A9-8EA9-E8B17D46****',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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' => '',
+ ],
+ ],
+ 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.',
+ ],
+ ],
+ ],
+ 'title' => 'DescribeDiscoveredResourceBatch',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:DescribeDiscoveredResourceBatch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6CE4ABA1-9A57-41A9-8EA9-E8B17D46****\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeIntegratedServiceStatus' => [
+ 'summary' => 'Queries the authorization status of an integrated cloud service.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigRIQA8M',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The code of the cloud service.',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => false,
+ 'example' => 'cadt',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ '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',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => 'DescribeIntegratedServiceStatus',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:DescribeIntegratedServiceStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ConfigRuleId',
+ 'in' => 'query',
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"79BE07A7-46A5-5D3C-B378-0ACDA979****\\",\\n \\"Remediation\\": {\\n \\"LastSuccessfulInvocationType\\": \\"AUTO_EXECUTION\\",\\n \\"RemediationTemplateId\\": \\"ACS-OSS-PutBucketAcl\\",\\n \\"RemediationOriginParams\\": \\"{\\\\\\"bucketName\\\\\\": \\\\\\"{resourceId}\\\\\\", \\\\\\"regionId\\\\\\": \\\\\\"{regionId}\\\\\\", \\\\\\"permissionName\\\\\\": \\\\\\"private\\\\\\"}\\",\\n \\"RemediationId\\": \\"crr-f381cf0c1c2f004e****\\",\\n \\"RemediationSourceType\\": \\"ALIYUN\\",\\n \\"RemediationType\\": \\"OOS\\",\\n \\"LastSuccessfulInvocationId\\": \\"bd7629fb-cac8-42fe-bcb1-e362c5a6****\\",\\n \\"AccountId\\": 0,\\n \\"InvokeType\\": \\"AUTO_EXECUTION\\",\\n \\"ConfigRuleId\\": \\"cr-3184626622af003****\\",\\n \\"LastSuccessfulInvocationTime\\": 1625451393589\\n }\\n}","type":"json"}]',
+ 'title' => 'DescribeRemediation',
+ 'summary' => 'This topic provides an example on how to query the details of a remediation configuration whose ID is crr-f381cf0c1c2f004e\\\\*\\\\*\\\\*\\\\*.',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:DescribeRemediation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DetachAggregateConfigRuleToCompliancePack' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ 'properties' => [
+ 'OperateRuleItemList' => [
+ 'description' => 'The result of the operation to remove the rule.'."\n",
+ 'type' => 'array',
+ '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****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'DetachAggregateConfigRuleToCompliancePack',
+ 'summary' => 'Removes one or more rules in an account group from a compliance package.',
+ 'description' => '### Prerequisites'."\n"
+ ."\n"
+ .'One or more rules are added to a compliance package.'."\n"
+ ."\n"
+ .'### Usage notes'."\n"
+ ."\n"
+ .'The sample request in this topic shows you how to remove the `cr-6cc4626622af00e7****` rule in the `ca-75b4626622af00c3****` account group from the `cp-5bb1626622af00bd****` compliance package.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:DetachAggregateConfigRuleToCompliancePack',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DetachConfigRuleToCompliancePack' => [
+ 'summary' => 'This operation detaches one or more rules from a compliance package.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ 'properties' => [
+ 'OperateRuleItemList' => [
+ 'description' => 'A list of the results of the operation to detach rules.',
+ 'type' => 'array',
+ '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****',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'DetachConfigRuleToCompliancePack',
+ 'description' => '### Prerequisites'."\n"
+ ."\n"
+ .'Make sure that the destination compliance package contains rules.'."\n"
+ ."\n"
+ .'### Usage notes'."\n"
+ ."\n"
+ .'This topic provides an example of detaching the rule `cr-6cc4626622af00e7****` from the compliance package `cp-5bb1626622af00bd****`.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '100',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'DetachConfigRuleToCompliancePack',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:DetachConfigRuleToCompliancePack',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DryRunConfigRule' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The resource type that is evaluated by the rule.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ACS::ECS::Instance',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ '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' => '',
+ ],
+ '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' => '数据不充分',
+ ],
+ 'type' => 'string',
+ 'example' => 'COMPLIANT',
+ 'title' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'DryRunConfigRule',
+ 'summary' => 'This API performs a dry run on rules for proactive compliance pre-checks.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '100',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'DryRunConfigRule',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'config:DryRunConfigRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C32EEAD7-BF64-5927-977A-AFF9342B****\\",\\n \\"RuleConditionContext\\": \\"{\\\\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}\\",\\n \\"ComplianceType\\": \\"COMPLIANT\\"\\n}","type":"json"}]',
+ ],
+ 'EvaluatePreConfigRules' => [
+ 'summary' => 'Executes evaluation rules to perform compliance pre-checks on resources.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigOH65M0',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceTypeFormat',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '下一个查询开始Token',
+ 'description' => 'The query start token',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ros',
+ ],
+ ],
+ [
+ 'name' => 'ResourceEvaluateItems',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'An array that contains the resources that you want to evaluate.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ 'Rules' => [
+ 'description' => 'An array that contains the evaluation rules.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 200,
+ '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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => true,
+ 'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ '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',
+ ],
+ 'ResourceEvaluations' => [
+ 'description' => 'The array that contains the compliance evaluation results.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ 'Rules' => [
+ 'description' => 'The evaluation rules.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ '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"
+ .'After you create an evaluation rule, a managed rule with the same settings is created. This managed rule can continuously check the compliance of resources after they are created.',
+ 'requestParamsDescription' => 'For more information, see [Common parameters](~~251751~~).',
+ 'responseParamsDescription' => 'For more information, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '100',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'EvaluatePreConfigRules',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:EvaluatePreConfigRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"129ECF1C-7897-1131-BD0F-4B588AC05400\\",\\n \\"ResourceEvaluations\\": [\\n {\\n \\"ResourceLogicalId\\": \\"ResourceLogicId-test\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"Rules\\": [\\n {\\n \\"Identifier\\": \\"ecs-instance-deletion-protection-enabled\\",\\n \\"ComplianceType\\": \\"NON_COMPLIANT\\",\\n \\"Annotation\\": \\"{\\\\\\\\\\\\\\"configuration\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"false\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"desiredValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"True\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"StringEquals\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"property\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"$.DeletionProtection\\\\\\\\\\\\\\"}\\",\\n \\"HelpUrl\\": \\"https://example.aliyundoc.com\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GenerateAggregateCompliancePackReport' => [
+ 'summary' => 'Generates an assessment report for a specified compliance package in a specified account group.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CompliancePackId\\": \\"cp-fdc8626622af00f9****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","type":"json"}]',
+ 'title' => 'GenerateAggregateCompliancePackReport',
+ 'description' => '> This operation only generates the latest assessment report. You need to call the GetAggregateCompliancePackReport operation to download the assessment report. For more information, see [GetAggregateCompliancePackReport](~~262699~~).'."\n"
+ ."\n"
+ .'This topic provides an example that shows how to generate an assessment report for the compliance package `cp-fdc8626622af00f9****` in the account group `ca-f632626622af0079****`.',
+ 'requestParamsDescription' => 'For more information about common parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:GenerateAggregateCompliancePackReport',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateCompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '10',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'GenerateAggregateCompliancePackReport',
+ ],
+ ],
+ ],
+ ],
+ 'GenerateAggregateConfigRulesReport' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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' => '',
+ ],
+ ],
+ 503 => [
+ [
+ '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":""}]',
+ 'title' => 'GenerateAggregateConfigRulesReport',
+ 'summary' => 'Generates a compliance evaluation report for the rules in a specified account group.',
+ 'description' => '> You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetAggregateConfigRulesReport operation. For more information, see [GetAggregateConfigRulesReport](~~262706~~).'."\n"
+ ."\n"
+ .'The topic provides an example on how to generate a compliance evaluation report based on all rules in the `ca-f632626622af0079****` account group.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:GenerateAggregateConfigRulesReport',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GenerateAggregateResourceInventory' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'AggregatorId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the account group.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ca-a91d626622af0035****',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceDeleted',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Indicates whether the resource is deleted. Valid values:'."\n"
+ ."\n"
+ .'* 1 (default): The resource is retained.'."\n"
+ .'* 0: The resource is deleted.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ 'default' => '1',
+ 'enum' => [
+ '0',
+ '1',
+ ],
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '5111CBA6-6485-57EB-BCDD-85D8BB31E7A7',
+ 'title' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ResourceInventoryExceedMaxLimit',
+ 'errorMessage' => 'Exceed max resource inventory item max limit 200000.',
+ 'description' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'config:GenerateAggregateResourceInventory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5111CBA6-6485-57EB-BCDD-85D8BB31E7A7\\"\\n}","type":"json"}]',
+ ],
+ 'GenerateCompliancePackReport' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'GenerateCompliancePackReport',
+ 'summary' => 'Generates a compliance evaluation report based on a compliance package.',
+ 'description' => '> You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetCompliancePackReport operation. For more information, see [GetCompliancePackReport](~~263347~~).'."\n"
+ ."\n"
+ .'This topic provides an example on how to generate a compliance evaluation report based on the `cp-a8a8626622af0082****` compliance package.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:GenerateCompliancePackReport',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'CompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GenerateConfigRulesReport' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ConfigRuleReportCreating',
+ 'errorMessage' => 'The config rule report is being created.',
+ 'description' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'GenerateConfigRulesReport',
+ 'summary' => 'Generates a compliance evaluation report for a rule.',
+ 'description' => '> You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetConfigRulesReport operation. For more information, see [GetConfigRulesReport](~~263608~~).'."\n"
+ ."\n"
+ .'This topic provides an example of how to generate a compliance evaluation report based on all existing rules.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GenerateConfigRulesReport',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GenerateReportFromTemplate' => [
+ 'summary' => 'Generate a report ID from a report template.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigOH65M0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ReportTemplateId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Report template ID.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'crt-xxx',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => '6CE4ABA1-9A57-41A9-8EA9-E8B17D4671CD',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ ],
+ 'title' => 'Generate a report based on a report template',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6CE4ABA1-9A57-41A9-8EA9-E8B17D4671CD\\"\\n}","type":"json"}]',
+ ],
+ 'GenerateResourceInventory' => [
+ 'summary' => 'Generates a downloadable inventory of global resources.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceTypes',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource types. Separate multiple resource types with commas (,).',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ACS::ECS::Instance',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceDeleted',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource status. Valid values:'."\n"
+ ."\n"
+ .'- 1 (default): The resource is retained.'."\n"
+ ."\n"
+ .'- 0: The resource is deleted.',
+ 'enumValueTitles' => [
+ 'Deleted',
+ 'Retained',
+ ],
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'default' => '1',
+ 'enum' => [
+ '0',
+ '1',
+ ],
+ 'required' => false,
+ 'example' => '1',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'E1225EEA-B5F8-538F-8E37-A943986B6290',
+ 'title' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ResourceInventoryExceedMaxLimit',
+ 'errorMessage' => 'Exceed max resource inventory item max limit 200000.',
+ 'description' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'config:GenerateResourceInventory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E1225EEA-B5F8-538F-8E37-A943986B6290\\"\\n}","type":"json"}]',
+ ],
+ 'GetAdvancedSearchFile' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigQ01U20',
+ ],
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'GetAdvancedSearchFile',
+ 'summary' => 'Obtains the last resource advanced search file that is generated within the current account. You can call this operation to obtain the URL of the resource advanced search file.',
+ 'description' => '### [](#)Prerequisites'."\n"
+ ."\n"
+ .'You must call the [CreateAdvancedSearchFile](~~2511967~~) operation to create a resource advanced search file. Then, you can call this operation to obtain the URL of the resource advanced search file.'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAdvancedSearchFile',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetAggregateAccountComplianceByPack' => [
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'N/A.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ 'AccountCompliances' => [
+ 'description' => 'The compliance evaluation result of member accounts.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'GetAggregateAccountComplianceByPack',
+ 'summary' => 'Queries the compliance evaluation results of member accounts for which a compliance package takes effect in an account group.',
+ 'description' => 'This topic provides an example on how to query the compliance evaluation results of member accounts for which the `cp-541e626622af0087****` compliance package takes effect in the `ca-04b3fd170e340007****` account group. The returned result shows that two member accounts are monitored by the compliance package and they are both evaluated as compliant.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateAccountComplianceByPack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateCompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetAggregateAdvancedSearchFile' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'GetAggregateAdvancedSearchFile',
+ 'summary' => 'Obtains the most recently generated resource advanced search file within a specific account group.',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateAdvancedSearchFile',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetAggregateCompliancePack' => [
+ 'summary' => 'Queries the details of a compliance pack in a specified account group.',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags of the resource. This parameter is deprecated and no longer takes effect.'."\n"
+ ."\n"
+ .'You can attach up to 20 tags to a resource.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'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',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'deprecated' => true,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None',
+ 'type' => 'object',
+ 'properties' => [
+ '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三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。',
+ ],
+ 'ConfigRules' => [
+ 'description' => 'The list of rules in the compliance pack.',
+ 'type' => 'array',
+ 'items' => [
+ '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****',
+ ],
+ 'ConfigRuleParameters' => [
+ 'description' => 'The input parameters of the rule.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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',
+ ],
+ '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****',
+ ],
+ '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',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ExcludeTagsScope' => [
+ 'description' => 'The excluded tag scope.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Tags' => [
+ 'description' => 'The tags of the resource.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateCompliancePack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateCompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetAggregateCompliancePackReport' => [
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'N/A.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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****&amp;OSSAccessKeyId=LTAIs86R8H59****&amp;Signature=RqvJZtaxQ2HfqRcl0Ic2HG8oo****</ReportUrl>\\n\\t\\t<ReportStatus>COMPLETE</ReportStatus>\\n\\t\\t<ReportCreateTimestamp>1624330246640</ReportCreateTimestamp>\\n\\t</CompliancePackReport>\\n</GetAggregateCompliancePackReportResponse>\\t","errorExample":""}]',
+ 'title' => 'GetAggregateCompliancePackReport',
+ 'summary' => 'Queries the compliance evaluation report that is generated based on a compliance package of an account group.',
+ 'description' => '> Before you call this operation, you must call the GenerateAggregateCompliancePackReport operation to generate the latest compliance evaluation report based on a compliance package. For more information, see [GenerateAggregateCompliancePackReport](~~262687~~).'."\n"
+ ."\n"
+ .'This topic provides an example on how to query the compliance evaluation report that is generated based on the `cp-fdc8626622af00f9****` compliance package in the `ca-f632626622af0079****` account group.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateCompliancePackReport',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateCompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetAggregateComplianceSummary' => [
+ 'summary' => 'Queries the compliance summary for a specified account group.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => '929B8360-BD57-54FF-96DB-AD1D9B476769',
+ ],
+ 'ComplianceSummary' => [
+ 'description' => 'The compliance summary.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceSummaryByResource' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ComplianceSummaryByConfigRule' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 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.',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'GetAggregateComplianceSummary',
+ 'description' => 'This topic provides an example of how to query the compliance summary by resource and by rule for the account group ca-a91d626622af0035\\*\\*\\*\\*.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '300',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'GetAggregateComplianceSummary',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateComplianceSummary',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetAggregateConfigDeliveryChannel' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'N/A.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryChannel' => [
+ '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',
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'GetAggregateConfigDeliveryChannel',
+ 'summary' => 'Queries the information about a delivery channel in an account group.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateConfigDeliveryChannel',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateDelivery',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetAggregateConfigRule' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigNPMEKB',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags.'."\n"
+ .'This parameter is deprecated. If you specify this parameter, the value does not take effect.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tags of the resource. This parameter is deprecated. If you specify this parameter, the value does not take effect.'."\n"
+ ."\n"
+ .'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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 20,
+ 'deprecated' => true,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.',
+ 'type' => 'object',
+ 'properties' => [
+ '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' => '',
+ ],
+ 'Source' => [
+ 'description' => 'The source of the rule.',
+ 'type' => 'object',
+ 'properties' => [
+ 'SourceDetails' => [
+ 'description' => 'The details of the rule source.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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' => '',
+ ],
+ ],
+ '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' => '',
+ ],
+ 'ManagedRule' => [
+ 'description' => 'The details of the managed rule.',
+ 'type' => 'object',
+ 'properties' => [
+ 'SourceDetails' => [
+ 'description' => 'The details of the managed rule source.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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' => '',
+ ],
+ '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' => '',
+ ],
+ ],
+ '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' => '',
+ ],
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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' => '',
+ ],
+ ],
+ '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' => '',
+ ],
+ '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' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ExcludeTagsScope' => [
+ 'description' => 'The excluded scope of the tags.',
+ 'type' => 'array',
+ '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' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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' => '',
+ ],
+ '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' => '',
+ ],
+ ],
+ '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' => '',
+ ],
+ 'Tags' => [
+ 'description' => 'The resource tags.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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****`.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '100',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'GetAggregateConfigRule',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateConfigRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateConfigRule',
+ 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"811234F4-C3AB-4D15-B90B-F55016D1B5AA\\",\\n \\"ConfigRule\\": {\\n \\"RiskLevel\\": 1,\\n \\"InputParameters\\": {\\n \\"tag1Key\\": \\"ECS\\",\\n \\"tag1Value\\": \\"test\\"\\n },\\n \\"Source\\": {\\n \\"SourceDetails\\": [\\n {\\n \\"MessageType\\": \\"ConfigurationItemChangeNotification\\",\\n \\"EventSource\\": \\"aliyun.config\\",\\n \\"MaximumExecutionFrequency\\": \\"One_Hour\\"\\n }\\n ],\\n \\"Owner\\": \\"ALIYUN\\",\\n \\"Identifier\\": \\"acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/specific-config\\"\\n },\\n \\"ConfigRuleState\\": \\"ACTIVE\\",\\n \\"MaximumExecutionFrequency\\": \\"One_Hour\\",\\n \\"ManagedRule\\": {\\n \\"SourceDetails\\": [\\n {\\n \\"MessageType\\": \\"ConfigurationItemChangeNotification\\",\\n \\"EventSource\\": \\"aliyun.config\\",\\n \\"MaximumExecutionFrequency\\": \\"One_Hour\\"\\n }\\n ],\\n \\"Description\\": \\"ECS磁盘未因欠费或安全等原因而被锁定,视为“合规”。\\",\\n \\"Labels\\": [\\n \\"[\\\\\\"RAM\\\\\\",\\\\\\"USer\\\\\\"]\\"\\n ],\\n \\"Identifier\\": \\"ram-user-mfa-check\\",\\n \\"OptionalInputParameterDetails\\": {},\\n \\"ManagedRuleName\\": \\"RAM用户开启MFA\\",\\n \\"CompulsoryInputParameterDetails\\": {}\\n },\\n \\"ConfigRuleArn\\": \\"acs:config::100931896542****:rule/cr-7f7d626622af0041****\\",\\n \\"Description\\": \\"RAM用户开启MFA,视为“合规”。\\",\\n \\"CreateBy\\": {\\n \\"CompliancePackId\\": \\"cp-541e626622af008****\\",\\n \\"AggregatorName\\": \\"Test_Group\\",\\n \\"CompliancePackName\\": \\"OSS合规基线\\",\\n \\"CreatorName\\": \\"Alice\\",\\n \\"CreatorType\\": \\"AGGREGATOR\\",\\n \\"CreatorId\\": \\"100931896542****\\",\\n \\"AggregatorId\\": \\"ca-04b3fd170e340007****\\"\\n },\\n \\"ConfigRuleName\\": \\"RAM用户开启MFA\\",\\n \\"ConfigRuleEvaluationStatus\\": {\\n \\"LastErrorCode\\": \\"TimeOut\\",\\n \\"LastSuccessfulEvaluationTimestamp\\": 1624932227486,\\n \\"FirstActivatedTimestamp\\": 1624932221993,\\n \\"FirstEvaluationStarted\\": true,\\n \\"LastSuccessfulInvocationTimestamp\\": 1624932227476,\\n \\"LastErrorMessage\\": \\"time out\\",\\n \\"LastFailedEvaluationTimestamp\\": 1614687022000,\\n \\"LastFailedInvocationTimestamp\\": 1614687022000\\n },\\n \\"ConfigRuleId\\": \\"cr-7f7d626622af0041****\\",\\n \\"ModifiedTimestamp\\": 1614687022000,\\n \\"CreateTimestamp\\": 1604684022000,\\n \\"ResourceTypesScope\\": \\"ACS::RAM::User\\",\\n \\"ExcludeRegionIdsScope\\": \\"cn-hangzhou\\",\\n \\"RegionIdsScope\\": \\"global\\",\\n \\"ExcludeResourceIdsScope\\": \\"23642660635687****\\",\\n \\"ResourceIdsScope\\": \\"eip-8vbf3x310fn56ijfd****\\\\n\\",\\n \\"ResourceGroupIdsScope\\": \\"rg-aekzdibsjjc****\\",\\n \\"ExcludeResourceGroupIdsScope\\": \\"rg-aekzdibsjjc****\\",\\n \\"TagKeyScope\\": \\"RAM\\",\\n \\"TagValueScope\\": \\"MFA\\",\\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 \\"ConfigRuleTriggerTypes\\": \\"ConfigurationItemChangeNotification\\",\\n \\"TagKeyLogicScope\\": \\"AND\\",\\n \\"FolderIdsScope\\": \\"fd-ZtHsRH****\\",\\n \\"ExcludeFolderIdsScope\\": \\"fd-pWmkqZ****\\",\\n \\"ExcludeAccountIdsScope\\": \\"120886317861****\\",\\n \\"ResourceNameScope\\": \\"i-xxx\\",\\n \\"Compliance\\": {\\n \\"ComplianceType\\": \\"NON_COMPLIANT\\",\\n \\"Count\\": 3\\n },\\n \\"AccountId\\": 0,\\n \\"ExtendContent\\": \\"{\\\\\\"fixedHour\\\\\\":\\\\\\"12\\\\\\"}\\",\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ],\\n \\"AccountIdsScope\\": \\"120886317861****\\\\n\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetAggregateConfigRuleComplianceByPack' => [
+ 'summary' => 'Queries the compliance results of rules in a specified compliance pack within a specified account group.',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'No data is returned.',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ 'ConfigRuleCompliances' => [
+ 'description' => 'A list of rule compliance results.',
+ 'type' => 'array',
+ 'items' => [
+ '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****',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'GetAggregateConfigRuleComplianceByPack',
+ 'description' => 'This topic provides an example of how to query the compliance results of rules in the compliance pack `cp-541e626622af0087****` for the account group `ca-04b3fd170e340007****`. The response returns a total of `1` rule and `0` non-compliant rules.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '600',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'GetAggregateConfigRuleComplianceByPack',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateConfigRuleComplianceByPack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateCompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetAggregateConfigRuleSummaryByRiskLevel' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ConfigRuleSummaries' => [
+ 'description' => 'The summary of compliance evaluation results by rule risk level.'."\n",
+ 'type' => 'array',
+ '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',
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ '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.',
+ 'description' => 'This topic provides an example on how to query the summary of compliance evaluation results by rule risk level in the `ca-3a58626622af0005****` account group. The returned result shows four rules that are specified with the high risk level. One of the rules detects non-compliant resources, and the resources evaluated by the remaining three are compliant.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateConfigRuleSummaryByRiskLevel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetAggregateConfigRulesReport' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ 'name' => 'ReportId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the compliance evaluation report.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'crp-88176457e0d900c9****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ '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****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'Invalid.AggregatorId.Value',
+ 'errorMessage' => 'The specified AggregatorId is invalid.',
+ 'description' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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****&amp;OSSAccessKeyId=LTAIs86R8H59****&amp;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":""}]',
+ 'title' => 'GetAggregateConfigRulesReport',
+ 'summary' => 'Downloads the compliance evaluation report in the Excel format to your on-premises machine. This allows you to assign tasks and modify incompliant resource configurations.',
+ 'description' => '> Before you call this operation, you must call the GenerateAggregateConfigRulesReport operation to generate the latest compliance evaluation report based on all rules in an account group. For more information, see [GenerateAggregateConfigRulesReport](~~262701~~).'."\n"
+ ."\n"
+ .'This topic provides an example on how to query the compliance evaluation report that is generated based on all rules in the `ca-f632626622af0079****` account group.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateConfigRulesReport',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetAggregateDiscoveredResource' => [
+ 'summary' => 'Queries the details of a specific resource in an account group.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ 'name' => 'ComplianceOption',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to query the compliance results of the resource. Valid values:'."\n"
+ ."\n"
+ .'- 0 (default): does not query the compliance results of the resource.'."\n"
+ ."\n"
+ .'- 1: queries the compliance results of the resource.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'enum' => [
+ '0',
+ '1',
+ ],
+ 'title' => '',
+ 'example' => '0',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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****`.',
+ 'requestParamsDescription' => 'For more information, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '3000',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'GetAggregateDiscoveredResource',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateDiscoveredResource',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Resource',
+ 'arn' => 'acs:config:*:{#accountId}:resource/{#ResourceId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetAggregateResourceComplianceByConfigRule' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ComplianceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The compliance evaluation result of the resources. Valid values:'."\n"
+ ."\n"
+ .'* COMPLIANT: The resource is evaluated as compliant.'."\n"
+ .'* NON_COMPLIANT: The resource is evaluated as incompliant.'."\n"
+ .'* NOT_APPLICABLE: The rule does not apply to your resources.'."\n"
+ .'* INSUFFICIENT_DATA: No resource data is available.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'COMPLIANT',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'N/A.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceResult' => [
+ 'description' => 'The compliance result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'description' => 'The total number of evaluated resources.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '5',
+ ],
+ 'Compliances' => [
+ 'description' => 'The compliance list result.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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.',
+ 'description' => 'This topic provides an example on how to query the compliance evaluation results based on the `cr-d369626622af008e****` rule in the `ca-a4e5626622af0079****` account group. The returned result shows that a total of 10 resources are evaluated by the rule and five of them are evaluated as compliant.'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateResourceComplianceByConfigRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ ],
+ 'GetAggregateResourceComplianceByPack' => [
+ 'summary' => 'Queries the compliance statistics for resources in a specified compliance package within a specified account group.',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceComplianceResult' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'GetAggregateResourceComplianceByPack',
+ 'description' => 'This topic provides an example of how to query the compliance results for resources in the compliance package `cp-fdc8626622af00f9****` within the account group `ca-f632626622af0079****`. The response shows that of a total of `10` resources, `7` are non-compliant.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '600',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'GetAggregateResourceComplianceByPack',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateResourceComplianceByPack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateCompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetAggregateResourceComplianceGroupByRegion' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ 'name' => 'AggregatorId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the account group.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ca-d6c9626622af0052****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceResult' => [
+ 'description' => 'The queried evaluation results.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceResultList' => [
+ 'description' => 'The evaluation results grouped by region.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'GetAggregateResourceComplianceGroupByRegion',
+ 'summary' => 'Queries the evaluation results grouped by resource type for an account group rule.',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateResourceComplianceGroupByRegion',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetAggregateResourceComplianceGroupByResourceType' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ 'name' => 'AggregatorId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the account group.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ca-cdbd626622af0042****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceResult' => [
+ 'description' => 'The queried evaluation results.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceResultList' => [
+ 'description' => 'The evaluation results grouped by resource type.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'GetAggregateResourceComplianceGroupByResourceType',
+ 'summary' => 'Queries the evaluation results grouped by resource type for an account group rule.',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateResourceComplianceGroupByResourceType',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ 'ComplianceList' => [
+ 'description' => 'A list of compliance timeline entries.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'GetAggregateResourceComplianceTimeline',
+ 'description' => 'In Cloud Config, each resource has its own compliance timeline, which is composed of compliance evaluation records. A record is generated each time a rule is triggered to evaluate the resource. Rules can be triggered by configuration changes, periodic executions, or manual executions.'."\n"
+ ."\n"
+ .'This topic provides an example of how to query the compliance timeline for the resource `new-bucket` (an OSS bucket). The resource is in the `cn-hangzhou` region and belongs to the member account `100931896542****` within the account group `ca-5885626622af0008****`. The response shows that the resource\'s compliance timeline includes records with the timestamps `1625200295276` (UTC+8: 2021-07-02 12:31:35) and `1625200228510` (UTC+8: 2021-07-02 12:30:28).',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '500',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'GetAggregateResourceComplianceTimeline',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateResourceComplianceTimeline',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ 'ConfigurationList' => [
+ 'description' => 'A list of configuration changes.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'GetAggregateResourceConfigurationTimeline',
+ 'description' => 'Cloud Config provides a configuration history for each resource within the monitoring scope:'."\n"
+ ."\n"
+ .'- For resources that already exist when you enable Cloud Config, the configuration history begins when the service is enabled.'."\n"
+ ."\n"
+ .'- For resources that are created after you enable Cloud Config, the configuration history begins when the resources are created. Cloud Config records resource configuration changes every 10 minutes. When the configuration of a resource changes, a node appears in the configuration history. This node contains the resource configuration details, change details, and the related management event.'."\n"
+ ."\n"
+ .'This topic provides an example of how to query the configuration history of an OSS bucket named `new-bucket`. The bucket is in the `cn-hangzhou` region, belongs to the member account `100931896542****`, and is part of the account group `ca-5885626622af0008****`. The returned result indicates that a configuration change for the resource was recorded at the UNIX timestamp `1624961112000` (UTC+8: 2021-06-29 18:05:12).',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '300',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'GetAggregateResourceConfigurationTimeline',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateResourceConfigurationTimeline',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetAggregateResourceCountsGroupByRegion' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ 'items' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'GetAggregateResourceCountsGroupByRegion',
+ 'summary' => 'Queries the statistics on the resources in an account group by region.',
+ 'description' => 'This topic provides an example on how to query the statistics on the resources in an account group named `ca-a260626622af0005****` by region. The returned result shows that a total of `10` resources exist in the `cn-hangzhou` region.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [API Reference](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateResourceCountsGroupByRegion',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetAggregateResourceCountsGroupByResourceType' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfig6XGW41',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Region',
+ 'in' => 'query',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ 'items' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'GetAggregateResourceCountsGroupByResourceType',
+ 'summary' => 'Queries the statistics on the resources in an account group by resource type.',
+ 'description' => 'This topic provides an example on how to query the statistics on the resources in an account group whose ID is `ca-a260626622af0005****` by resource type. The returned result shows that the account group has a total of `seven` resources of the `ACS::RAM::Role` resource type.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateResourceCountsGroupByResourceType',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetAggregateResourceInventory' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'GetAggregateResourceInventory',
+ 'summary' => 'Obtains the last resource inventory that is generated on the Global Resources page within the current account group.',
+ 'description' => '### [](#)Prerequisites'."\n"
+ ."\n"
+ .'The [GenerateAggregateResourceInventory](~~2398353~~) operation is called to generate a resource inventory. Then, this operation is called to obtain the URL of the resource inventory.'."\n"
+ ."\n"
+ .'### [](#)Description'."\n"
+ ."\n"
+ .'This topic provides an example on how to obtain the last resource inventory that is generated within the account group ca-a91d626622af0035\\*\\*\\*\\*.'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateResourceInventory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetAggregator' => [
+ 'summary' => 'Queries the name, creation time, members, and type of an account group.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigB2MNLG',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AggregatorId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the account group.',
+ 'type' => 'string',
+ 'required' => true,
+ 'title' => '',
+ 'example' => 'ca-88ea626622af0055****',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags of the resource. This parameter is deprecated and is not in use.'."\n"
+ ."\n"
+ .'A maximum of 20 tags can be attached.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'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',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'title' => '',
+ 'deprecated' => true,
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ 'AggregatorAccounts' => [
+ 'description' => 'The information about the members in the account group.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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',
+ ],
+ 'Tags' => [
+ 'description' => 'The resource tags.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'FolderId' => [
+ 'description' => 'The ID of the folder to which the folder account group is attached.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'fd-brHdgv****',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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).',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '500',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'GetAggregator',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregator',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Aggregator',
+ 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetCompliancePack' => [
+ 'summary' => 'Queries the details of a specific compliance package.',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags of the resource. This parameter is deprecated and takes no effect if it is specified.'."\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 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' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'deprecated' => true,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.',
+ 'type' => 'object',
+ 'properties' => [
+ '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三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。',
+ ],
+ 'ConfigRules' => [
+ 'description' => 'The list of rules in the compliance package.',
+ 'type' => 'array',
+ 'items' => [
+ '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****',
+ ],
+ 'ConfigRuleParameters' => [
+ 'description' => 'The information about the rule parameters.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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',
+ ],
+ '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',
+ ],
+ 'TagsScope' => [
+ 'description' => 'The tag scope.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => true,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ExcludeTagsScope' => [
+ 'description' => 'The excluded tag scope.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => true,
+ '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****',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Tags' => [
+ 'description' => 'The resource tags.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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' => '',
+ ],
+ ],
+ 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.',
+ ],
+ ],
+ ],
+ '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',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetCompliancePack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'CompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetCompliancePackReport' => [
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'N/A.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'Invalid.CompliancePackId.Value',
+ 'errorMessage' => 'The specified CompliancePackId does not exist.',
+ 'description' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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****&amp;OSSAccessKeyId=LTAIs86R8H59****&amp;Signature=sWmz4fq7eJEyDoho%2FoDOReZ3s****</ReportUrl>\\n\\t\\t<ReportStatus>COMPLETE</ReportStatus>\\n\\t\\t<ReportCreateTimestamp>1624329965857</ReportCreateTimestamp>\\n\\t</CompliancePackReport>\\n</GetCompliancePackReportResponse>\\t","errorExample":""}]',
+ 'title' => 'GetCompliancePackReport',
+ 'summary' => 'Queries the compliance evaluation report that is generated based on a compliance package.',
+ 'description' => '> Before you call this operation, you must call the GenerateCompliancePackReport operation to generate the latest compliance evaluation report based on a compliance package. For more information, see [GenerateCompliancePackReport](~~263525~~).'."\n"
+ ."\n"
+ .'This topic provides an example on how to query the compliance evaluation report that is generated based on the `cp-fdc8626622af00f9****` compliance package.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetCompliancePackReport',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'CompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetComplianceSummary' => [
+ 'summary' => 'Queries the compliance summary for the current account.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigJVB3GZ',
+ ],
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'CAEE6F34-DEDC-4BAA-AA8C-946D5D008737',
+ ],
+ 'ComplianceSummary' => [
+ 'description' => 'The compliance summary.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceSummaryByResource' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ComplianceSummaryByConfigRule' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'GetComplianceSummary',
+ 'description' => 'This topic provides an example of how to query the compliance summary by resource and rule for an account group.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '300',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'GetComplianceSummary',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetComplianceSummary',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetConfigDeliveryChannel' => [
+ 'summary' => 'Queries the details of a specified delivery channel.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryChannel' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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' => '',
+ ],
+ ],
+ 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.',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'GetConfigDeliveryChannel',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '50',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'GetConfigDeliveryChannel',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetConfigDeliveryChannel',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Delivery',
+ 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetConfigRule' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags of the resource. This parameter is deprecated and has no effect.'."\n"
+ ."\n"
+ .'You can add a maximum of 20 tags to a resource.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'deprecated' => true,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ConfigRule' => [
+ '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****',
+ ],
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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',
+ ],
+ ],
+ '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',
+ ],
+ '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',
+ ],
+ ],
+ '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****',
+ ],
+ 'ExcludeTagsScope' => [
+ 'description' => 'The tags of the resources that are not evaluated by the rule.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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',
+ ],
+ 'Labels' => [
+ 'description' => 'The list of rule labels.',
+ 'type' => 'array',
+ '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' => '{}',
+ ],
+ 'SourceDetails' => [
+ 'description' => 'The source details of the managed rule.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ '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',
+ ],
+ 'Scope' => [
+ 'description' => 'The effective scope of the rule.',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Source' => [
+ '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',
+ ],
+ 'SourceDetails' => [
+ 'description' => 'The source details.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ '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',
+ ],
+ 'TagsScope' => [
+ 'description' => 'The tag-based scope.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Tags' => [
+ 'description' => 'The tags of the resource.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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"}',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => '811234F4-C3AB-4D15-B90B-F55016D1B5AA',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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****`.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '100',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'GetConfigRule',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetConfigRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Rule',
+ 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ConfigRule\\": {\\n \\"AccountId\\": 0,\\n \\"Compliance\\": {\\n \\"ComplianceType\\": \\"NON_COMPLIANT\\",\\n \\"Count\\": 3\\n },\\n \\"ConfigRuleArn\\": \\"acs:config::100931896542****:rule/cr-7f7d626622af0041****\\",\\n \\"ConfigRuleEvaluationStatus\\": {\\n \\"FirstActivatedTimestamp\\": 1624932221993,\\n \\"FirstEvaluationStarted\\": true,\\n \\"LastErrorCode\\": \\"TimeOut\\",\\n \\"LastErrorMessage\\": \\"Time out\\",\\n \\"LastFailedEvaluationTimestamp\\": 1614687022000,\\n \\"LastFailedInvocationTimestamp\\": 1614687022000,\\n \\"LastSuccessfulEvaluationTimestamp\\": 1624932227486,\\n \\"LastSuccessfulInvocationTimestamp\\": 1624932227476\\n },\\n \\"ConfigRuleId\\": \\"cr-7f7d626622af0041****\\",\\n \\"ConfigRuleName\\": \\"RAM用户开启MFA\\",\\n \\"ConfigRuleState\\": \\"ACTIVE\\",\\n \\"ConfigRuleTriggerTypes\\": \\"ConfigurationItemChangeNotification\\",\\n \\"CreateBy\\": {\\n \\"CompliancePackId\\": \\"cp-541e626622af008****\\",\\n \\"CompliancePackName\\": \\"OSS合规基线\\",\\n \\"CreatorId\\": \\"100931896542****\\",\\n \\"CreatorName\\": \\"Alice\\"\\n },\\n \\"CreateTimestamp\\": 1604684022000,\\n \\"Description\\": \\"RAM用户开启MFA,视为“合规”。\\",\\n \\"ExcludeRegionIdsScope\\": \\"cn-hangzhou\\",\\n \\"ExcludeResourceGroupIdsScope\\": \\"rg-aekzdibsjjc****\\",\\n \\"ExcludeResourceIdsScope\\": \\"23642660635687****\\",\\n \\"ExcludeTagsScope\\": [\\n {\\n \\"TagKey\\": \\"key-2\\",\\n \\"TagValue\\": \\"value-2\\"\\n }\\n ],\\n \\"InputParameters\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"ManagedRule\\": {\\n \\"CompulsoryInputParameterDetails\\": {},\\n \\"Description\\": \\"ECS磁盘未因欠费或安全等原因而被锁定,视为“合规”。\\",\\n \\"Identifier\\": \\"ram-user-mfa-check\\",\\n \\"Labels\\": [\\n \\"[\\\\\\"RAM\\\\\\",\\\\\\"User\\\\\\"]\\"\\n ],\\n \\"ManagedRuleName\\": \\"RAM用户开启MFA\\",\\n \\"OptionalInputParameterDetails\\": {},\\n \\"SourceDetails\\": [\\n {\\n \\"EventSource\\": \\"aliyun.config\\",\\n \\"MaximumExecutionFrequency\\": \\"One_Hour\\",\\n \\"MessageType\\": \\"ConfigurationItemChangeNotification\\"\\n }\\n ]\\n },\\n \\"MaximumExecutionFrequency\\": \\"One_Hour\\",\\n \\"ModifiedTimestamp\\": 1614687022000,\\n \\"RegionIdsScope\\": \\"global\\",\\n \\"ResourceGroupIdsScope\\": \\"rg-aekzdibsjjc****\\",\\n \\"ResourceIdsScope\\": \\"eip-8vbf3x310fn56ijfd****\\\\n\\",\\n \\"ResourceTypesScope\\": \\"ACS::RAM::User\\",\\n \\"RiskLevel\\": 1,\\n \\"Scope\\": {\\n \\"ComplianceResourceTypes\\": [\\n \\"ACS::RAM::User\\"\\n ]\\n },\\n \\"Source\\": {\\n \\"Identifier\\": \\"acs:fc:cn-hangzhou:100931896542****:services/ConfigService.LATEST/functions/specific-config\\",\\n \\"Owner\\": \\"ALIYUN\\",\\n \\"SourceDetails\\": [\\n {\\n \\"EventSource\\": \\"aliyun.config\\",\\n \\"MaximumExecutionFrequency\\": \\"One_Hour\\",\\n \\"MessageType\\": \\"ConfigurationItemChangeNotification\\"\\n }\\n ]\\n },\\n \\"TagKeyLogicScope\\": \\"OR\\",\\n \\"TagKeyScope\\": \\"RAM\\",\\n \\"TagValueScope\\": \\"MFA\\",\\n \\"TagsScope\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ],\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"key-1\\",\\n \\"TagValue\\": \\"value-1\\"\\n }\\n ],\\n \\"ResourceNameScope\\": \\"i-xxx\\",\\n \\"ExtendContent\\": \\"{\\\\\\"fixedHour\\\\\\":\\\\\\"12\\\\\\"}\\"\\n },\\n \\"RequestId\\": \\"811234F4-C3AB-4D15-B90B-F55016D1B5AA\\"\\n}","type":"json"}]',
+ ],
+ 'GetConfigRuleComplianceByPack' => [
+ 'summary' => 'Queries the compliance statistics for rules in a specified compliance package.',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ 'ConfigRuleCompliances' => [
+ 'description' => 'The list of rules in the compliance package and their compliance results.',
+ 'type' => 'array',
+ 'items' => [
+ '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****',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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' => '',
+ ],
+ ],
+ 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.',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'GetConfigRuleComplianceByPack',
+ 'description' => 'This example shows how to query the compliance results for rules in the compliance package `cp-541e626622af0087****`. The response shows that the total number of rules is 1 and the number of non-compliant rules is 0.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '600',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'GetConfigRuleComplianceByPack',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetConfigRuleComplianceByPack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'CompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetConfigRuleSummaryByRiskLevel' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigOH65M0',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ConfigRuleSummaries' => [
+ 'description' => 'The summary of compliance evaluation results by rule risk level.',
+ 'type' => 'array',
+ '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' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.',
+ 'type' => 'string',
+ 'example' => 'A3CED98C-DE65-46AC-B2D2-04A4A9AB5B36',
+ 'title' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ ],
+ '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.',
+ 'requestParamsDescription' => 'For information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '100',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'GetConfigRuleSummaryByRiskLevel',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetConfigRuleSummaryByRiskLevel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigOH65M0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ReportId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the compliance evaluation report.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'crp-88176457e0d900c9****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ '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****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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****&amp;OSSAccessKeyId=LTAIs86R8H59****&amp;Signature=yT8jn6ZQSX3dyCwVKL5EOJhGJ****</ReportUrl>\\n <ReportCreateTimestamp>1614687022000</ReportCreateTimestamp>\\n <ReportId>crp-88176457e0d900c9****</ReportId>\\n </ConfigRulesReport>\\n</GetConfigRulesReportResponse>","errorExample":""}]',
+ 'title' => 'GetConfigRulesReport',
+ 'summary' => 'Downloads the compliance evaluation report in the Excel format to your on-premises machine. This allows you to assign tasks and modify incompliant resource configurations.',
+ 'description' => '> Before you call this operation, you must call the GenerateConfigRulesReport operation to generate the latest compliance evaluation report based on all existing rules. For more information, see [GenerateConfigRulesReport](~~263601~~).'."\n"
+ ."\n"
+ .'This topic provides an example of how to query the compliance evaluation report that is generated based on all existing rules.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetConfigRulesReport',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetConfigurationRecorder' => [
+ 'summary' => 'Queries the status of the Cloud Config service and the resource monitoring scope for the current account.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfig56XT35',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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' => '',
+ ],
+ 'ResourceTypes' => [
+ 'description' => 'A list of monitored resource types.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The resource type.',
+ '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' => 'You are not authorized to perform this operation.',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ 'title' => 'GetConfigurationRecorder',
+ 'description' => 'This topic provides an example of how to query the status of the Cloud Config service and the resource monitoring scope for the current account.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '300',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'GetConfigurationRecorder',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetConfigurationRecorder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AE43696A-B3AF-5E55-9845-11393127E6D3\\",\\n \\"ConfigurationRecorder\\": {\\n \\"ConfigurationRecorderStatus\\": \\"REGISTERED\\",\\n \\"ResourceTypes\\": [\\n \\"ACS::ECS::Instance\\"\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GetDiscoveredResource' => [
+ 'summary' => 'Queries the details of a specific resource.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'ComplianceOption',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to query the compliance results of the resource. Valid values:'."\n"
+ ."\n"
+ .'- 0 (default): The compliance results are not queried.'."\n"
+ ."\n"
+ .'- 1: The compliance results are queried.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'enumValueTitles' => [],
+ 'default' => '0',
+ 'title' => '',
+ 'example' => '0',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '4000',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'GetDiscoveredResource',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetDiscoveredResource',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ ],
+ 'GetDiscoveredResourceCountsGroupByRegion' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '399BD94C-D20C-4D27-88D4-89E8D75C0595',
+ ],
+ 'DiscoveredResourceCountsSummary' => [
+ 'description' => 'The statistics on the resources.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'GetDiscoveredResourceCountsGroupByRegion',
+ 'summary' => 'Queries the statistics on resources by region.',
+ 'description' => 'This topic provides an example to demonstrate how to query the statistics on resources by region. The returned result shows that a total of 10 resources exist in the `cn-hangzhou` region.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [API Reference](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetDiscoveredResourceCountsGroupByRegion',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetDiscoveredResourceCountsGroupByResourceType' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfig6XGW41',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Region',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'AC9BD94C-D20C-4D27-88D4-89E8D75C051B',
+ ],
+ 'DiscoveredResourceCountsSummary' => [
+ 'description' => 'The statistics on the resources.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'GetDiscoveredResourceCountsGroupByResourceType',
+ 'summary' => 'Queries the statistics on resources by resource type.',
+ 'description' => 'This topic describes how to query the statistics on resources by resource type. The returned result shows that a total of 10 resources of the `ACS::ECS::Instance` resource type exist.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetDiscoveredResourceCountsGroupByResourceType',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetIntegratedServiceStatus' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigRIQA8M',
+ ],
+ ],
+ '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 (CADT)'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => false,
+ 'enumValueTitles' => [
+ 'bpstudio' => 'bpstudio',
+ 'eventbridge' => 'eventbridge',
+ 'cms' => 'cms',
+ ],
+ 'example' => 'cadt',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ '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',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'GetIntegratedServiceStatus',
+ 'summary' => 'Queries the integration status of a specific cloud service.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetIntegratedServiceStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetManagedRule' => [
+ 'summary' => 'Queries the details of a specified rule template.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ManagedRule' => [
+ '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',
+ ],
+ 'Labels' => [
+ 'description' => 'The labels of the rule template.',
+ 'type' => 'array',
+ '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' => '{}',
+ ],
+ 'SourceDetails' => [
+ 'description' => 'The trigger methods for the rule.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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加密',
+ ],
+ 'Scope' => [
+ 'description' => 'The effective scope of the rule template.',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => '7E6DDC09-87C1-5310-A924-3491EAAE6F90',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 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.',
+ ],
+ ],
+ ],
+ 'title' => 'GetManagedRule',
+ 'description' => 'This topic provides an example of how to query the details of the rule template `cdn-domain-https-enabled`.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '1000',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'GetManagedRule',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetManagedRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ManagedRule\\": {\\n \\"RiskLevel\\": 1,\\n \\"Labels\\": [\\n \\"CDN\\"\\n ],\\n \\"OptionalInputParameterDetails\\": {},\\n \\"Identifier\\": \\"cdn-domain-https-enabled\\",\\n \\"CompulsoryInputParameterDetails\\": {},\\n \\"SourceDetails\\": [\\n {\\n \\"MessageType\\": \\"ConfigurationItemChangeNotification\\",\\n \\"MaximumExecutionFrequency\\": \\"TwentyFour_Hours\\"\\n }\\n ],\\n \\"Description\\": \\"CDN域名开启HTTPS协议加密,视为“合规”。\\",\\n \\"ConfigRuleName\\": \\"CDN域名开启HTTPS加密\\",\\n \\"Scope\\": {\\n \\"ComplianceResourceTypes\\": [\\n \\"ACS::CDN::Domain\\"\\n ]\\n },\\n \\"HelpUrls\\": \\"https://example.aliyundoc.com\\"\\n },\\n \\"RequestId\\": \\"7E6DDC09-87C1-5310-A924-3491EAAE6F90\\"\\n}","type":"json"}]',
+ ],
+ 'GetRemediationTemplate' => [
+ 'summary' => 'Queries the details of an automatic remediation template.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfig6I2PFO',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ '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',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetRemediationTemplate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E232FC35-BD40-51E3-B2EB-09416A23****\\",\\n \\"RemediationTemplates\\": [\\n {\\n \\"RemediationType\\": \\"OOS\\",\\n \\"TemplateIdentifier\\": \\"ACS-ALB-BulkyEnableDeletionProtection\\",\\n \\"TemplateName\\": \\"Enable ALB instance deletion protection\\",\\n \\"TemplateDefinition\\": \\"{\\\\\\\\\\\\\\"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\\\\\\\\\\\\\\"}}}\\",\\n \\"ManagedRuleIdentifier\\": \\"alb-delete-protection-enabled\\",\\n \\"TemplateDescription\\": \\"Call the EnableDeletionProtection interface to enable ALB instance deletion protection. Be aware of the risks and exercise caution.\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetReportFromTemplate' => [
+ 'summary' => 'Retrieves a report generated from a report template.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigOH65M0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ReportTemplateId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the report template.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'crt-xxx',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ ],
+ 'title' => 'Obtain the latest report generated based on a report template.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DE9FFFE5-FCAD-4B24-9546-BF49273C562B\\",\\n \\"TemplateReport\\": {\\n \\"AccountId\\": 0,\\n \\"ReportTemplateId\\": \\"crt-xxx\\",\\n \\"TemplateReportId\\": \\"crtr-xxx\\",\\n \\"Status\\": \\"COMPLETE\\",\\n \\"ReportCreateStartTimestamp\\": 1763540421815,\\n \\"ReportCreateEndTimestamp\\": 1763540426815,\\n \\"ReportUrl\\": \\"https://xxx\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetReportTemplate' => [
+ 'summary' => 'Retrieve details of a compliance report template.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigZWSOST',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ReportTemplateId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'ID of the report template.',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => false,
+ 'example' => 'crt-xxx',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ReportTemplate' => [
+ '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' => '',
+ ],
+ '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"
+ .'> If the array has two items, and the first specifies RuleId cr-1 while the second specifies RuleId cr-2, then the report covers both cr-1 and cr-2.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => 'A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'Retrieve Compliance Report Template Details ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigOH65M0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ComplianceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The compliance 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 data is available.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'COMPLIANT',
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceResult' => [
+ 'description' => 'The compliance result.',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ 'description' => 'N/A.'."\n",
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ '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.',
+ 'description' => 'In this topic, the `cr-d369626622af008e****` rule is used as an example. The return result shows that a total of 10 resources are evaluated by the rule and `five` of them are evaluated as compliant.'."\n",
+ 'requestParamsDescription' => 'For information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetResourceComplianceByConfigRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ ],
+ 'GetResourceComplianceByPack' => [
+ 'summary' => 'Queries the compliance results for resources in a compliance package.',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceComplianceResult' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => '6EC7AED1-172F-42AE-9C12-295BC2ADB751',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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' => '',
+ ],
+ ],
+ 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.',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'GetResourceComplianceByPack',
+ 'description' => 'This topic provides an example of how to query the compliance results for resources in the compliance package `cp-541e626622af0087****`. The response shows that 7 of the 10 resources are non-compliant.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '600',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'GetResourceComplianceByPack',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetResourceComplianceByPack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'CompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetResourceComplianceGroupByRegion' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceResult' => [
+ 'description' => 'The queried evaluation results.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceResultList' => [
+ 'description' => 'The evaluation results grouped by region.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '0FDF8006-34A0-5334-8C79-48F64EAB34F1',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'Invalid.AggregatorId.Value',
+ 'errorMessage' => 'The specified AggregatorId is invalid.',
+ 'description' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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.',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetResourceComplianceGroupByRegion',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ ],
+ 'GetResourceComplianceGroupByResourceType' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceResult' => [
+ 'description' => 'The queried evaluation results.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ComplianceResultList' => [
+ 'description' => 'The evaluation results grouped by resource type.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'GetResourceComplianceGroupByResourceType',
+ 'summary' => 'Queries compliance evaluation results of resources based on a rule and displays the evaluation results grouped by resource type.',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetResourceComplianceGroupByResourceType',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'Region',
+ 'in' => 'query',
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ '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',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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' => '',
+ ],
+ ],
+ 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.',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'GetResourceComplianceTimeline',
+ 'description' => 'In Cloud Config, each resource has its own compliance evaluation history. A compliance evaluation record is generated when a rule is triggered to evaluate a resource. The collection of these records forms the compliance evaluation history of the resource. Rules can be triggered by configuration changes, periodic execution, or manual execution.'."\n"
+ ."\n"
+ .'This topic provides an example of how to query the compliance evaluation history of the resource `new-bucket`, which is an Object Storage Service (OSS) bucket in the `cn-hangzhou` region. The returned result shows that the compliance evaluation history of the resource includes records with the timestamps `1625200295276` (UTC+8: 2021-07-02 12:31:35) and `1625200228510` (UTC+8: 2021-07-02 12:30:28).',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '500',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'GetResourceComplianceTimeline',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:GetResourceComplianceTimeline',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetResourceConfigurationSample' => [
+ 'summary' => 'This operation obtains configuration samples for a specified resource type.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ '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\\"}',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'GetResourceConfigurationSample',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'config:GetResourceConfigurationSample',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DC300244-FCE3-5061-8214-C27ECB66****\\",\\n \\"Sample\\": {\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"Configuration\\": \\"{\\\\\\\\\\\\\\"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\\\\\\\\\\\\\\"}\\",\\n \\"ResourceId\\": \\"i-bp1aaegapahkh880****\\",\\n \\"ResourceName\\": \\"my-ecs\\",\\n \\"ResourceStatus\\": \\"Running\\",\\n \\"ResourceDeleted\\": \\"1\\",\\n \\"ResourceCreationTime\\": \\"1646362560000\\",\\n \\"Region\\": \\"cn-shanghai\\",\\n \\"Version\\": \\"5\\",\\n \\"AvailabilityZone\\": \\"cn-shanghai-g\\",\\n \\"AccountId\\": \\"101339776561****\\",\\n \\"Tags\\": \\"{\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\"}\\"\\n }\\n}","type":"json"}]',
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'Region',
+ 'in' => 'query',
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ 'ConfigurationList' => [
+ 'description' => 'A list of configuration history records for the resource.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '""',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'GetResourceConfigurationTimeline',
+ 'description' => 'Cloud Config provides a configuration history for each resource that it monitors. The details are as follows:'."\n"
+ ."\n"
+ .'- For existing resources, the configuration history starts when you enable the Cloud Config service.'."\n"
+ ."\n"
+ .'- For new resources created after you enable the service, the configuration history starts when the resource is created. Cloud Config records configuration changes every 10 minutes. When a configuration changes, a new node appears in the history. This node contains the resource configuration details, change details, and the associated management event.'."\n"
+ ."\n"
+ .'This topic provides an example of how to query the configuration history for a resource named `new-bucket`. The resource is a bucket in the `cn-hangzhou` region. The response shows that the creation time of the resource is `1624961112000` (18:05:12 on June 29, 2021, UTC+8).',
+ 'requestParamsDescription' => 'For more information, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '300',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'GetResourceConfigurationTimeline',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:GetResourceConfigurationTimeline',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetResourceInventory' => [
+ 'summary' => 'Queries information about the most recently generated global resource inventory for the current account.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfig6XGW41',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ 'title' => 'GetResourceInventory',
+ 'description' => '### Prerequisites'."\n"
+ ."\n"
+ .'You can call the [GenerateResourceInventory](~~2398354~~) operation to generate a global resource inventory. You can then call this operation to obtain the URL of the global resource inventory.'."\n"
+ ."\n"
+ .'### Usage notes'."\n"
+ ."\n"
+ .'This topic provides an example of how to query the most recently generated global resource inventory for the current account.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '100',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'GetResourceInventory',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetResourceInventory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"89E2F38F-4EE4-545A-BD56-92E007ECFEE9\\",\\n \\"ResourceInventory\\": {\\n \\"DownloadUrl\\": \\"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****\\",\\n \\"Status\\": \\"COMPLETE\\",\\n \\"ResourceInventoryGenerateTime\\": 1687674634220\\n }\\n}","type":"json"}]',
+ ],
+ 'GetResourceTypeProperties' => [
+ 'summary' => 'This operation retrieves the property descriptions for a specified resource type.',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ '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' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'GetResourceTypeProperties',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'config:GetResourceTypeProperties',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigWLDOIT',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => [
+ 'description' => 'The resource type.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ACS::ECS::Instance',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceRelationConfigList' => [
+ 'description' => 'The list of resource relations.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => '409D022F-394C-5AAB-A74A-2F1DC9F6375E',
+ 'title' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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' => '',
+ ],
+ ],
+ 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.',
+ ],
+ ],
+ ],
+ 'title' => 'GetSupportedResourceRelationConfig',
+ 'summary' => 'Queries the supported resource relations for a specified resource type.',
+ 'description' => 'This topic provides an example of how to query the resource relations supported by the ACS::ECS::Instance resource type.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ '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****',
+ ],
+ ],
+ [
+ 'name' => 'Resources',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The resources to be ignored.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ '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****',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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.',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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' => '',
+ ],
+ ],
+ 503 => [
+ [
+ '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":""}]',
+ 'title' => 'IgnoreAggregateEvaluationResults',
+ 'summary' => 'Ignores the evaluation results of some resources in an account group based on a specific rule. You can also specify a time period for ignoring the evaluation results. After the period elapses, the evaluation results of the resources based on the rule are automatically displayed.',
+ 'description' => 'After you ignore a resource that is evaluated as incompliant by using a rule, the resource is still evaluated by using the rule, but the compliance result is Ignored.'."\n"
+ ."\n"
+ .'This example shows how to ignore the `lb-hp3a3b4ztyfm2plgm****` incompliant resource that is evaluated by using the `cr-7e72626622af0051***` rule in the `120886317861****` member account of the `ca-5b6c626622af008f****` account group. The ID of the region where the resource resides is `cn-beijing`, and the type of the resource is `ACS::SLB::LoadBalancer`.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:IgnoreAggregateEvaluationResults',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ 'name' => 'Resources',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The list of resources to be ignored.',
+ 'type' => 'array',
+ 'items' => [
+ '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****',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => true,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'Reason',
+ 'in' => 'formData',
+ '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',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => '1840CBF2-0B0B-59F2-9E84-07B38267A279',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1840CBF2-0B0B-59F2-9E84-07B38267A279\\"\\n}","type":"json"}]',
+ 'title' => 'IgnoreEvaluationResults',
+ 'description' => 'After a non-compliant resource is ignored, the rule still evaluates the resource. The evaluation result is Ignored.'."\n"
+ ."\n"
+ .'This topic provides an example of how to ignore the evaluation results of the rule `cr-7e72626622af0051****` for a specified non-compliant resource in the Alibaba Cloud account `100931896542****`. The region ID of the resource is `cn-beijing`, the resource type is `ACS::SLB::LoadBalancer`, and the resource ID is `lb-hp3a3b4ztyfm2plgm****`.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '500',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'IgnoreEvaluationResults',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:IgnoreEvaluationResults',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListAggregateCompliancePacks' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'You can add up to 20 tags to a resource.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A tag of the resource.'."\n"
+ ."\n"
+ .'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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'B5806142-3090-4F86-A84E-12B3FE52C1C4',
+ 'title' => '',
+ ],
+ 'CompliancePacksResult' => [
+ 'description' => 'The results of the query.',
+ 'type' => 'object',
+ 'properties' => [
+ 'CompliancePacks' => [
+ 'description' => 'The compliance packs.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ 'Tags' => [
+ 'description' => 'The tag of the resource.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ 'title' => 'ListAggregateCompliancePacks',
+ 'summary' => 'Queries the compliance packs in a specified account group.',
+ 'description' => 'This topic provides an example of how to query the compliance packs in the account group `ca-f632626622af0079****`. The response shows that the account group contains the compliance pack `cp-fdc8626622af00f9****`.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '180',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'ListAggregateCompliancePacks',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateCompliancePacks',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateCompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'N/A.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryChannels' => [
+ 'description' => 'The information about the delivery channels.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'ListAggregateConfigDeliveryChannels',
+ 'summary' => 'Queries the information about all delivery channels in an account group.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateConfigDeliveryChannels',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListAggregateConfigRuleEvaluationResults' => [
+ 'summary' => 'Queries the evaluation results of a rule for resources in a specified account group.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigNPMEKB',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ComplianceType',
+ 'in' => 'query',
+ 'schema' => [
+ '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.',
+ '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',
+ ],
+ 'required' => false,
+ 'example' => 'NON_COMPLIANT',
+ 'title' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceTypes',
+ 'in' => 'query',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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' => '',
+ ],
+ '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' => '',
+ ],
+ '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' => '',
+ ],
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateConfigRuleEvaluationResults',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A6662516-D056-4325-B6A7-CD3E89C97C39\\",\\n \\"EvaluationResults\\": {\\n \\"NextToken\\": \\"IWBjqMYSy0is7zSMGu16****\\",\\n \\"MaxResults\\": 10,\\n \\"EvaluationResultList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"ComplianceType\\": \\"NON_COMPLIANT\\",\\n \\"ResultRecordedTimestamp\\": 1624869013065,\\n \\"Annotation\\": \\"{\\\\\\\\\\\\\\"configuration\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"LRS\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"desiredValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ZRS\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"StringEquals\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"property\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"$.DataRedundancyType\\\\\\\\\\\\\\"}\\",\\n \\"ConfigRuleInvokedTimestamp\\": 1624869012713,\\n \\"InvokingEventMessageType\\": \\"ScheduledNotification\\",\\n \\"EvaluationResultIdentifier\\": {\\n \\"OrderingTimestamp\\": 1624869012713,\\n \\"EvaluationResultQualifier\\": {\\n \\"ResourceOwnerId\\": 0,\\n \\"ConfigRuleArn\\": \\"acs:config::100931896542****:rule/cr-888f626622af00ae****\\",\\n \\"ResourceType\\": \\"ACS::OSS::Bucket\\",\\n \\"ConfigRuleName\\": \\"OSS存储空间开启同城冗余存储\\",\\n \\"ResourceGroupId\\": \\"rg-acfm26cicib****\\",\\n \\"ConfigRuleId\\": \\"cr-888f626622af00ae****\\",\\n \\"ResourceName\\": \\"Bucket-test\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"CompliancePackId\\": \\"cr-7263fd26622af00bc****\\",\\n \\"IgnoreDate\\": \\"2022-06-01\\",\\n \\"ResourceId\\": \\"Bucket-test\\"\\n }\\n },\\n \\"RemediationEnabled\\": false,\\n \\"EvaluationId\\": \\"00000089-4e0d-58b5-a96a-8e54112110f3\\",\\n \\"LastNonCompliantRecordTimestamp\\": 1744696393000,\\n \\"LastCompliantFixedTimestamp\\": 1768788515723\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListAggregateConfigRuleEvaluationStatistics' => [
+ 'summary' => 'Queries the statistics of compliance evaluation results of an account group.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 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.',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'ListAggregateConfigRuleEvaluationStatistics',
+ 'description' => 'This topic provides an example on how to query the statistics of compliance evaluation results of an account group whose ID is ca-edd3626622af00b3\\*\\*\\*\\*.'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateConfigRuleEvaluationStatistics',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '300',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'ListAggregateConfigRuleEvaluationStatistics',
+ ],
+ ],
+ ],
+ ],
+ 'ListAggregateConfigRules' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigNPMEKB',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ConfigRuleState',
+ 'in' => 'query',
+ 'schema' => [
+ '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',
+ 'required' => false,
+ 'docRequired' => false,
+ 'enum' => [
+ 'ACTIVE',
+ 'DELETING',
+ 'EVALUATING',
+ 'INACTIVE',
+ ],
+ 'example' => 'ACTIVE',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'ComplianceType',
+ 'in' => 'query',
+ 'schema' => [
+ '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',
+ 'required' => false,
+ 'docRequired' => false,
+ 'enum' => [
+ 'COMPLIANT',
+ 'NON_COMPLIANT',
+ 'NOT_APPLICABLE',
+ 'INSUFFICIENT_DATA',
+ 'IGNORED',
+ ],
+ 'example' => 'COMPLIANT',
+ 'title' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'CompliancePackId',
+ 'in' => 'query',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'You can add a maximum of 20 tags.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceTypes',
+ 'in' => 'query',
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.',
+ 'type' => 'string',
+ 'example' => '22EF8287-2C9A-4F1F-80A6-CEFA7612689D',
+ 'title' => '',
+ ],
+ 'ConfigRules' => [
+ 'description' => 'The rules.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ConfigRuleList' => [
+ 'description' => 'The details of the rules.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ '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' => '',
+ ],
+ ],
+ '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' => '',
+ ],
+ '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' => '',
+ ],
+ ],
+ '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' => '',
+ ],
+ 'Tags' => [
+ 'description' => 'The tags of the rule.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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`.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '180',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'ListAggregateConfigRules',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateConfigRules',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateConfigRule',
+ 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"22EF8287-2C9A-4F1F-80A6-CEFA7612689D\\",\\n \\"ConfigRules\\": {\\n \\"ConfigRuleList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"SourceOwner\\": \\"ALIYUN\\",\\n \\"AccountId\\": 0,\\n \\"ConfigRuleState\\": \\"ACTIVE\\",\\n \\"Compliance\\": {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"Count\\": 2\\n },\\n \\"SourceIdentifier\\": \\"eip-bandwidth-limit\\",\\n \\"ConfigRuleArn\\": \\"acs:config::100931896542****:rule/cr-fdc8626622af00f9****\\",\\n \\"Description\\": \\"The description of the rule.\\",\\n \\"CreateBy\\": {\\n \\"CompliancePackId\\": \\"cp-fdc8626622af00f9****\\",\\n \\"AggregatorName\\": \\"Test_Group\\",\\n \\"CompliancePackName\\": \\"The name of the compliance package.\\\\n\\",\\n \\"CreatorName\\": \\"Alice\\",\\n \\"CreatorType\\": \\"AGGREGATOR\\",\\n \\"CreatorId\\": \\"100931896542****\\",\\n \\"AggregatorId\\": \\"ca-f632626622af0079****\\"\\n },\\n \\"AutomationType\\": \\"OOS\\",\\n \\"ConfigRuleName\\": \\"The name of the rule.\\",\\n \\"ConfigRuleId\\": \\"cr-fdc8626622af00f9****\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"env\\",\\n \\"Value\\": \\"prod\\"\\n }\\n ],\\n \\"CreateDate\\": \\"2025-09-19T15:51:00\\",\\n \\"ResourceTypesScope\\": \\"ACS::EIP::EipAddress\\"\\n }\\n ],\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1\\n }\\n}","type":"json"}]',
+ ],
+ 'ListAggregateDiscoveredResources' => [
+ 'summary' => 'Queries the resources in a specified account group.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfig6XGW41',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ 'name' => 'ResourceTypes',
+ 'in' => 'query',
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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",
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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",
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DiscoveredResourceProfiles' => [
+ 'description' => 'The list of resources.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DiscoveredResourceProfileList' => [
+ 'description' => 'The details of the resources.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ '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',
+ ],
+ ],
+ 'title' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2',
+ ],
+ ],
+ 'title' => '',
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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"
+ ."\n"
+ .'The resource checklist displays only some of your resources because Cloud Config supports only specific Alibaba Cloud services and resource types. For more information about the supported services and resource types, see [Supported resource types and resource relationships](~~127411~~).'."\n"
+ ."\n"
+ .'### Usage notes'."\n"
+ ."\n"
+ .'This topic provides an example of how to query the resources of a member with the ID `100931896542****` in the account group `ca-c560626622af0005****`. The response indicates that there are eight resources in total.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '300',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'ListAggregateDiscoveredResources',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateDiscoveredResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListAggregateRecommendManagedRules' => [
+ 'summary' => 'This operation retrieves the list of recommended managed rules for an account group.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigNPMEKB',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RecommendedManagedRules' => [
+ '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****',
+ ],
+ 'RecommendedManagedRuleList' => [
+ 'description' => 'The list of managed rules.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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****',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ ],
+ '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"
+ .'Dry run rules and rule templates are based on the same underlying rule definitions. After you create a resource, a dry run rule continuously checks the resource for compliance.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateRecommendManagedRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ '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',
+ ],
+ 'RemediationExecutionData' => [
+ 'description' => 'The queried remediation records.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RemediationExecutions' => [
+ 'description' => 'The queried remediation records.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ '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****',
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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.',
+ 'description' => 'This topic provides an example on how to query the remediation records of the `cr-d04a626622af00af****` rule in the `ca-edd3626622af00b3****` account group.'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateRemediationExecutions',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ ],
+ 'ListAggregateRemediations' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => '0146963A-20C0-4E75-B93A-7D622B5FD7C8',
+ ],
+ 'Remediations' => [
+ 'description' => 'The remediation settings.',
+ 'type' => 'array',
+ 'items' => [
+ '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"}',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ 'title' => 'ListAggregateRemediations',
+ 'summary' => 'Queries the remediations in a specified account group.',
+ 'description' => 'This topic provides an example of how to query the remediation settings for the rule `cr-6b7c626622af00b4****` in the account group `ca-6b4a626622af0012****`.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '300',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'ListAggregateRemediations',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateRemediations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0146963A-20C0-4E75-B93A-7D622B5FD7C8\\",\\n \\"Remediations\\": [\\n {\\n \\"RemediationTemplateId\\": \\"ACS-OSS-PutBucketAcl\\",\\n \\"RemediationSourceType\\": \\"ALIYUN\\",\\n \\"RemediationType\\": \\"OOS\\",\\n \\"LastSuccessfulInvocationId\\": \\"bd7629fb-cac8-42fe-bcb1-e362c5a6****\\",\\n \\"AccountId\\": 0,\\n \\"AggregatorId\\": \\"ca-6b4a626622af0012****\\",\\n \\"LastSuccessfulInvocationType\\": \\"AUTO_EXECUTION\\",\\n \\"RemediationId\\": \\"crr-6b7c626622af0026****\\",\\n \\"InvokeType\\": \\"AUTO_EXECUTION\\",\\n \\"ConfigRuleId\\": \\"cr-6b7c626622af00b4****\\",\\n \\"LastSuccessfulInvocationTime\\": 1625451393589,\\n \\"RemediaitonOriginParams\\": \\"{\\\\\\"bucketName\\\\\\": \\\\\\"{resourceId}\\\\\\", \\\\\\"regionId\\\\\\": \\\\\\"{regionId}\\\\\\", \\\\\\"permissionName\\\\\\": \\\\\\"private\\\\\\"}\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListAggregateResourceEvaluationResults' => [
+ 'summary' => 'Queries the rule evaluation results for resources in a specified account group.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'ComplianceType',
+ 'in' => 'query',
+ 'schema' => [
+ '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',
+ 'required' => false,
+ 'enum' => [
+ 'COMPLIANT',
+ '',
+ 'NON_COMPLIANT',
+ 'NOT_APPLICABLE',
+ 'INSUFFICIENT_DATA',
+ 'IGNORED',
+ ],
+ 'title' => '',
+ 'example' => 'NON_COMPLIANT',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ 'EvaluationResultList' => [
+ 'description' => 'A list of resource evaluation results.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ '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',
+ ],
+ '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****',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'ListAggregateResourceEvaluationResults',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '300',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'ListAggregateResourceEvaluationResults',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateResourceEvaluationResults',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListAggregateResourceRelations' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfig6XGW41',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'Region',
+ 'in' => 'query',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ 'name' => 'RelationType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the relationship between the resource and the object.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* IsContained: The object is included as part of the resource.'."\n"
+ .'* IsAttachedTo: The object is added to the resource.'."\n"
+ .'* IsAssociatedIn: The object is associated with the resource.'."\n"
+ .'* Contains: The object contains the resource.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'IsContained' => '',
+ 'IsAttachedTo' => '',
+ 'IsAssociatedIn' => '',
+ 'Contains' => '',
+ ],
+ 'example' => 'IsAttachedTo',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '7A25F9DE-4C8B-5AD3-A241-FFF5A259E5A1',
+ ],
+ 'ResourceRelations' => [
+ 'description' => 'The result of the relationship.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceRelationList' => [
+ 'description' => 'An array that contains the relationships.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ '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****',
+ ],
+ 'RelationType' => [
+ 'description' => 'The type of the relationship between the resource and the object.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* IsContained: The object is included as part of the resource.'."\n"
+ .'* IsAttachedTo: The object is added to the resource.'."\n"
+ .'* IsAssociatedIn: The object is associated with the resource.'."\n"
+ .'* Contains: The object contains the resource.'."\n",
+ 'type' => 'string',
+ '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',
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'ListAggregateResourceRelations',
+ 'summary' => 'Queries a list of the resources of a specific resource in an account group.',
+ 'description' => 'This topic provides an example on how to query the disks that are associated with an Elastic Compute Service (ECS) instance in an account group.'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateResourceRelations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'AggregatorId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the account group.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ca-4b05626622af000c****',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'B0DBF868-460F-5E7C-8F76-1ACE2FCCE153',
+ 'title' => '',
+ ],
+ 'QueryResults' => [
+ 'description' => 'The query results.',
+ 'type' => 'object',
+ 'properties' => [
+ 'QueryResultList' => [
+ 'description' => 'The list of resources returned by the query. A maximum of 1,000 entries are returned. To view more data, download the search file.',
+ 'type' => 'object',
+ 'properties' => [
+ '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' => '',
+ ],
+ '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' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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"
+ .'> - The resource property files contain all resource types that are supported by Cloud Config. These files are named after their corresponding resource types. For example, the property file for the `ACS::ECS::Instance` resource type is `ACS_ECS_Instance.properties.json`. The path to the property files is `config/properties/resource-types`.'."\n"
+ .'>'."\n"
+ .'> - For more information about SQL search examples and limits, see [SQL search examples](~~398718~~) and [Limits of SQL search](~~398750~~).'."\n"
+ ."\n"
+ .'This topic provides an example of an advanced search query. The query finds all resources in the account group `ca-4b05626622af000c****` that have a tag key of `business` and a tag value of `online`.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '100',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'ListAggregateResourcesByAdvancedSearch',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateResourcesByAdvancedSearch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B0DBF868-460F-5E7C-8F76-1ACE2FCCE153\\",\\n \\"QueryResults\\": {\\n \\"QueryResultList\\": {\\n \\"Columns\\": [\\n \\"[\\\\\\"ResourceId\\\\\\", \\\\\\"ResourceName\\\\\\"]\\"\\n ],\\n \\"Values\\": [\\n \\"[\\\\n \\\\\\"eni-2ze5lq7xaluy5kb5****\\\\\\",\\\\n \\\\\\"test-resource\\\\\\"\\\\n]\\"\\n ]\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'ListAggregators' => [
+ 'summary' => 'Queries all account groups within the current management account or delegated administrator account.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ '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',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'You can add up to 20 tags to a resource.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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' => '',
+ ],
+ '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' => '',
+ ],
+ 'Aggregators' => [
+ 'description' => 'The list of the account groups.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ 'Tags' => [
+ 'description' => 'tags',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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' => '',
+ ],
+ ],
+ 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.',
+ ],
+ ],
+ ],
+ '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",
+ 'requestParamsDescription' => 'For information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregators',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Aggregator',
+ 'arn' => 'acs:config:*:{#accountId}:aggregator/*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'FilterType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The field used to filter the query results.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'LAW',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.',
+ 'type' => 'object',
+ 'properties' => [
+ 'CompliancePackTemplatesResult' => [
+ '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',
+ ],
+ 'CompliancePackTemplates' => [
+ 'description' => 'A list of compliance pack templates.',
+ 'type' => 'array',
+ 'items' => [
+ '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.',
+ ],
+ 'ConfigRules' => [
+ 'description' => 'A list of default rules in the compliance pack.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ 'ConfigRuleParameters' => [
+ 'description' => 'The parameters of the managed rule.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'D67FC82F-25AE-4268-A94C-3348340748F9',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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' => '',
+ ],
+ ],
+ 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.',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'ListCompliancePackTemplates',
+ 'description' => 'A compliance pack template is a collection of rules customized by CloudConfig for compliance scenarios.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '50',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'ListCompliancePackTemplates',
+ ],
+ ],
+ ],
+ 'ramActions' => [],
+ ],
+ 'ListCompliancePacks' => [
+ 'summary' => 'Lists the compliance packs for the current account.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'You can attach up to 20 tags to a resource.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'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',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ 'properties' => [
+ 'CompliancePacks' => [
+ 'description' => 'A list of compliance packs.',
+ 'type' => 'array',
+ 'items' => [
+ '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****',
+ ],
+ 'Tags' => [
+ 'description' => 'The tags of the resource.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CreateTimestamp' => [
+ 'description' => 'The timestamp when the compliance pack was created. Unit: milliseconds.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'title' => '',
+ 'example' => '1621325046000',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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' => '',
+ ],
+ ],
+ 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.',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'ListCompliancePacks',
+ 'description' => 'This topic provides an example of how to list compliance packs. The response returns one compliance pack record: `cp-fdc8626622af00f9****`.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '180',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'ListCompliancePacks',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListCompliancePacks',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'CompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:compliancepack/*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListConfigDeliveryChannels' => [
+ 'summary' => 'Returns a list of delivery channels.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryChannels' => [
+ 'description' => 'A list of delivery channels.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'DC300244-FCE3-5061-8214-C27ECB668487',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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' => '',
+ ],
+ ],
+ 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.',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'ListConfigDeliveryChannels',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '180',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'ListConfigDeliveryChannels',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListConfigDeliveryChannels',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListConfigRuleEvaluationResults' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigOH65M0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ComplianceType',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => [
+ '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',
+ 'enum' => [
+ 'COMPLIANT',
+ 'NON_COMPLIANT',
+ 'NOT_APPLICABLE',
+ 'INSUFFICIENT_DATA',
+ 'IGNORED',
+ ],
+ 'required' => false,
+ 'example' => 'NON_COMPLIANT',
+ 'title' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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' => '',
+ ],
+ 'EvaluationResultList' => [
+ 'description' => 'The list of rule evaluation results.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ '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' => '',
+ ],
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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' => '',
+ ],
+ ],
+ 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.',
+ ],
+ ],
+ ],
+ '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',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListConfigRuleEvaluationResults',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2A4A33BD-8186-4D60-91B9-42174EED75B5\\",\\n \\"EvaluationResults\\": {\\n \\"NextToken\\": \\"IWBjqMYSy0is7zSMGu16****\\",\\n \\"MaxResults\\": 10,\\n \\"EvaluationResultList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"ComplianceType\\": \\"NON_COMPLIANT\\",\\n \\"ResultRecordedTimestamp\\": 1622802307150,\\n \\"Annotation\\": \\"{\\\\\\\\\\\\\\"configuration\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"desiredValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"IsNotStringEmpty\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"property\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"$.KeyPairName\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"reason\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"No property contains.\\\\\\\\\\\\\\"}\\",\\n \\"ConfigRuleInvokedTimestamp\\": 1622802307081,\\n \\"InvokingEventMessageType\\": \\"ConfigurationItemChangeNotification\\",\\n \\"EvaluationResultIdentifier\\": {\\n \\"OrderingTimestamp\\": 1622802307081,\\n \\"EvaluationResultQualifier\\": {\\n \\"ResourceOwnerId\\": 0,\\n \\"ConfigRuleArn\\": \\"acs:config::120886317861****:rule/cr-cac56457e0d900d3****\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"ConfigRuleName\\": \\"ECS实例CPU核数满足最低要求\\",\\n \\"ResourceGroupId\\": \\"rg-aek3tprgnnc****\\",\\n \\"ConfigRuleId\\": \\"cr-cac56457e0d900d3****\\",\\n \\"ResourceName\\": \\"iZuf6j91r34rnwawoox****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"CompliancePackId\\": \\"cp-bcc33457e0d900d5****\\",\\n \\"IgnoreDate\\": \\"2022-06-01\\",\\n \\"ResourceId\\": \\"i-hp3e4kvhzqn2s11t****\\"\\n }\\n },\\n \\"RemediationEnabled\\": false,\\n \\"EvaluationId\\": \\"00000089-4e0d-58b5-a96a-8e54112110f3\\",\\n \\"LastNonCompliantRecordTimestamp\\": 1744696665000,\\n \\"LastCompliantFixedTimestamp\\": 1768788515723\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListConfigRuleEvaluationStatistics' => [
+ 'summary' => 'Queries the statistics of compliance evaluation results of the current Alibaba Cloud account.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigOH65M0',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'ListConfigRuleEvaluationStatistics',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListConfigRuleEvaluationStatistics',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '300',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'ListConfigRuleEvaluationStatistics',
+ ],
+ ],
+ ],
+ ],
+ 'ListConfigRuleOperators' => [
+ 'summary' => 'Lists the operators available for Cloud Config rules.',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigOH65M0',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'A68DD98C-DE65-46AC-B2D2-04A4A9AB****',
+ ],
+ 'Operators' => [
+ 'description' => 'A list of operators.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'ListConfigRuleOperators',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'config:ListConfigRuleOperators',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigNPMEKB',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceTypes',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of resource evaluated by the rule.',
+ 'type' => 'string',
+ 'required' => false,
+ 'title' => '',
+ 'example' => 'ACS::ECS::Instance',
+ ],
+ ],
+ [
+ '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' => '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****',
+ ],
+ ],
+ [
+ 'name' => 'ComplianceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The compliance evaluation result 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.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => [
+ 'COMPLIANT',
+ 'NON_COMPLIANT',
+ 'NOT_APPLICABLE',
+ 'INSUFFICIENT_DATA',
+ 'IGNORED',
+ ],
+ 'title' => '',
+ 'example' => 'COMPLIANT',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'ConfigRuleState',
+ 'in' => 'query',
+ 'schema' => [
+ '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',
+ 'required' => false,
+ 'enum' => [
+ 'ACTIVE',
+ 'DELETING',
+ 'EVALUATING',
+ 'INACTIVE',
+ ],
+ 'title' => '',
+ 'example' => 'ACTIVE',
+ ],
+ ],
+ [
+ 'name' => 'ConfigRuleName',
+ 'in' => 'query',
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'A maximum of 20 tags can be attached.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'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',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'AC3A7E12-72E6-5CC9-A5C1-D8D8919829A7',
+ ],
+ 'ConfigRules' => [
+ 'description' => 'The list of rules.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ConfigRuleList' => [
+ 'description' => 'The details of the rules.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ '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',
+ ],
+ ],
+ '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.',
+ ],
+ '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.',
+ ],
+ ],
+ '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****',
+ ],
+ 'Tags' => [
+ 'description' => 'The tags of the rule.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListConfigRules',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Rule',
+ 'arn' => 'acs:config:*:{#accountId}:rule/*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AC3A7E12-72E6-5CC9-A5C1-D8D8919829A7\\",\\n \\"ConfigRules\\": {\\n \\"ConfigRuleList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"SourceOwner\\": \\"ALIYUN\\",\\n \\"AccountId\\": 0,\\n \\"ConfigRuleState\\": \\"ACTIVE\\",\\n \\"Compliance\\": {\\n \\"ComplianceType\\": \\"COMPLIANT\\",\\n \\"Count\\": 2\\n },\\n \\"SourceIdentifier\\": \\"eip-bandwidth-limit\\",\\n \\"ConfigRuleArn\\": \\"acs:config::100931896542****:rule/cr-fdc8626622af00f9****\\",\\n \\"Description\\": \\"The description of the rule.\\",\\n \\"CreateBy\\": {\\n \\"CompliancePackId\\": \\"cp-fdc8626622af00f9****\\",\\n \\"CompliancePackName\\": \\"The name of the compliance package.\\"\\n },\\n \\"AutomationType\\": \\"OOS\\",\\n \\"ConfigRuleName\\": \\"The name of the rule.\\",\\n \\"ConfigRuleId\\": \\"cr-fdc8626622af00f9****\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"env\\",\\n \\"Value\\": \\"prod\\"\\n }\\n ],\\n \\"ResourceTypesScope\\": \\"ACS::EIP::EipAddress\\",\\n \\"CreateDate\\": \\"2025-09-19T15:51:00\\"\\n }\\n ],\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1\\n }\\n}","type":"json"}]',
+ ],
+ 'ListDiscoveredResources' => [
+ 'summary' => 'Queries a list of resources that are aggregated across regions in the current Alibaba Cloud account.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfig6XGW41',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceTypes',
+ 'in' => 'query',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'No data is returned.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DiscoveredResourceProfiles' => [
+ 'description' => 'The list of resources.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DiscoveredResourceProfileList' => [
+ 'description' => 'The details of the resources.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'C7817373-78CB-4F9A-8AFA-E7A88E9D64A2',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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"
+ ."\n"
+ .'Cloud Config supports only specific Alibaba Cloud services and resource types. The returned resource list includes only these supported resources. For more information about supported services and resource types, see [Supported resource types and resource relationships](~~127411~~).'."\n"
+ ."\n"
+ .'### Usage notes'."\n"
+ ."\n"
+ .'This topic provides an example of how to query the resources in your account. The sample response shows that eight resources are returned.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '4000',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'ListDiscoveredResources',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListDiscoveredResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListIntegratedService' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigRIQA8M',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => '86DB52A5-0C25-505A-96D5-9BAE1EFA00B9',
+ 'title' => '',
+ ],
+ 'Data' => [
+ 'title' => 'data',
+ 'description' => 'The information about the integrated services.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ [
+ 'errorCode' => 'AccountNotExisted',
+ 'errorMessage' => 'Your account does not exist.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => 'ListIntegratedService',
+ 'summary' => 'Queries the services integrated with CloudConfig and their statuses.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '50',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListIntegratedService',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListIntegratedService',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceTypes',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource type that is evaluated by the rule.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ACS::ECS::Instance',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'FilterType',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => [
+ 'description' => 'The scope of the filter.',
+ 'type' => 'string',
+ 'default' => 'ALL',
+ 'enum' => [
+ 'ALL',
+ 'UNCOVERED_RESOURCE',
+ ],
+ 'required' => false,
+ 'example' => '托管规则筛选范围,可以筛选无资源覆盖的托管规则。取值:'."\n"
+ .'- ALL 全部'."\n"
+ .'- UNCOVERED_RESOURCE 筛选有资源未覆盖的托管规则',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.',
+ 'type' => 'object',
+ 'properties' => [
+ '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' => '',
+ ],
+ 'ManagedRuleList' => [
+ 'description' => 'The details of the rule templates.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ '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' => '',
+ ],
+ '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' => '',
+ ],
+ 'Scope' => [
+ 'description' => 'The effective scope of the rule template.',
+ 'type' => 'object',
+ 'properties' => [
+ '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' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ 'title' => 'ListManagedRules',
+ 'summary' => 'Queries the rule templates that are supported by Cloud Config.',
+ 'description' => '### Background information'."\n"
+ ."\n"
+ .'For more information about rule definitions, working principles, and templates, see [Definition and working principles of rules](~~128273~~).'."\n"
+ ."\n"
+ .'### Usage notes'."\n"
+ ."\n"
+ .'This topic provides an example of how to query all rule templates that contain the keyword `CDN`. The sample response shows that a total of 21 rule templates are returned.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '300',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'ListManagedRules',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:ListManagedRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B3E605AB-63D5-1EE0-BFA6-0BAC247B0461\\",\\n \\"ManagedRules\\": {\\n \\"PageSize\\": 1,\\n \\"PageNumber\\": 10,\\n \\"TotalCount\\": 21,\\n \\"ManagedRuleList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"Description\\": \\"CDN域名开启HTTPS协议加密,视为“合规”。\\",\\n \\"Labels\\": [\\n \\"CDN\\"\\n ],\\n \\"Identifier\\": \\"cdn-domain-https-enabled\\",\\n \\"ConfigRuleName\\": \\"CDN域名开启HTTPS加密\\",\\n \\"HelpUrls\\": \\"https://example.aliyundoc.com\\",\\n \\"Scope\\": {\\n \\"ComplianceResourceTypes\\": [\\n \\"ACS::CDN::Domain\\"\\n ]\\n },\\n \\"SupportPreviewManagedRule\\": true,\\n \\"RemediationTemplateIdentifier\\": \\"ACS-CDN-SetDomainServerCertificate\\",\\n \\"RemediationTemplateName\\": \\"开启CDN域名HTTPS监听\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListPreManagedRules' => [
+ 'summary' => 'Queries the proactive rules supported by Cloud Config.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceTypes',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'A list of resource types.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The resource type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ACS::ECS::Instance',
+ 'title' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'None.',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'ListPreManagedRules',
+ 'description' => 'For more information about the concepts, working principles, and integration procedure of proactive rules, see [Definitions and working principles of proactive rules](~~470802~~).'."\n"
+ ."\n"
+ .'Proactive rules and rule templates originate from the same source rules. After you create resources, proactive rules continuously check your resources for compliance.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '100',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListPreManagedRules',
+ ],
+ ],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A2A9F1BE-0712-1B26-9899-D82F7DA8476C\\",\\n \\"ManagedRules\\": [\\n {\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"Description\\": \\"ECS实例开启释放保护,视为“合规”。\\",\\n \\"OptionalInputParameterDetails\\": {},\\n \\"Identifier\\": \\"ecs-instance-deletion-protection-enabled\\",\\n \\"ConfigRuleName\\": \\"ECS实例开启释放保护\\",\\n \\"HelpUrls\\": \\"https://example.aliyundoc.com\\",\\n \\"CompulsoryInputParameterDetails\\": {}\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 1\\n}","type":"json"}]',
+ ],
+ 'ListRecommendManagedRules' => [
+ 'summary' => 'This operation obtains a list of recommended managed rules.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigOH65M0',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ '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',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => 'You are not authorized to perform this operation.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'ListRecommendManagedRules',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListRecommendManagedRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '13E67493-3165-529A-A961-BE9E4B11BA11',
+ ],
+ 'RemediationExecutionData' => [
+ 'description' => 'The queried remediation records.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RemediationExecutions' => [
+ 'description' => 'The queried remediation records.'."\n",
+ 'type' => 'array',
+ '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****',
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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.',
+ 'description' => 'This topic provides an example on how to query the remediation records of the rule cr-5392626622af0000\\*\\*\\*\\*.'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListRemediationExecutions',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ ],
+ 'ListRemediationTemplates' => [
+ 'summary' => 'Queries a list of remediation templates for a managed rule.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'ListRemediationTemplates',
+ 'description' => 'In this topic, the `oss-bucket-public-write-prohibited` managed rule is used as an example. The return result shows the details of the remediation template of the `OOS` type for the managed rule. OOS represents Operation Orchestration Service.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:ListRemediationTemplates',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '300',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'ListRemediationTemplates',
+ ],
+ ],
+ ],
+ ],
+ 'ListRemediations' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ 'items' => [
+ '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"}',
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 503 => [
+ [
+ '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":""}]',
+ 'title' => 'ListRemediations',
+ 'summary' => 'Queries the information about the execution of remediation templates.',
+ 'description' => 'This topic provides an example on how to query the remediation templates for the rule whose ID is `cr-6b7c626622af00b4****`.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListRemediations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListReportTemplates' => [
+ 'summary' => 'Queries the details of compliance report templates in batches.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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' => '',
+ ],
+ 'ReportTemplateList' => [
+ 'description' => 'The list of report templates.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ 'ReportScope' => [
+ 'description' => 'An array that defines which rules appear in the audit report. Each ReportScope object uses OR logic (additive logic).'."\n"
+ ."\n"
+ .'> For example, if the array has two items — the first specifies RuleId cr-1 and the second specifies RuleId cr-2 — then the report covers both cr-1 and cr-2.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'Batch retrieve compliance report template details',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8195B664-9565-4685-89AC-8B5F04B44B92\\",\\n \\"TotalCount\\": 7,\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"aVCjqNaSy0Ps7zSMGu25****\\",\\n \\"ReportTemplateList\\": [\\n {\\n \\"ReportTemplateId\\": \\"crt-xxx\\",\\n \\"ReportTemplateName\\": \\"test-name\\",\\n \\"ReportTemplateDescription\\": \\"test-description\\",\\n \\"ReportGranularity\\": \\"AllInOne\\",\\n \\"ReportFileFormats\\": \\"excel\\",\\n \\"ReportLanguage\\": \\"en-US\\",\\n \\"SubscriptionFrequency\\": \\"0 0 13 * * ?\\",\\n \\"ReportScope\\": [\\n {\\n \\"Key\\": \\"RuleId\\",\\n \\"Value\\": \\"cr-1,cr-2\\",\\n \\"MatchType\\": \\"In\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListResourceEvaluationResults' => [
+ 'summary' => 'Queries the evaluation results for a resource based on a rule.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'ComplianceType',
+ 'in' => 'query',
+ 'schema' => [
+ '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',
+ 'required' => false,
+ 'enum' => [
+ 'COMPLIANT',
+ '',
+ 'NON_COMPLIANT',
+ 'NOT_APPLICABLE',
+ 'INSUFFICIENT_DATA',
+ 'IGNORED',
+ ],
+ 'title' => '',
+ 'example' => 'NON_COMPLIANT',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ 'EvaluationResultList' => [
+ 'description' => 'The list of resource evaluation results.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ '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',
+ ],
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ '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' => '',
+ ],
+ ],
+ 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.',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'ListResourceEvaluationResults',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '300',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'ListResourceEvaluationResults',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListResourceEvaluationResults',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListResourceRelations' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'Region',
+ 'in' => 'query',
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ 'name' => 'RelationType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the relationship between the resource and the object.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* IsContained: The object is included as part of the resource.'."\n"
+ .'* IsAttachedTo: The object is added to the resource.'."\n"
+ .'* IsAssociatedIn: The object is associated with the resource.'."\n"
+ .'* Contains: The object contains the resource.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'IsContained' => '',
+ 'IsAttachedTo' => '',
+ 'IsAssociatedIn' => '',
+ 'Contains' => '',
+ ],
+ 'example' => 'IsAttachedTo',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '6525F8DE-5A8B-5AD3-A241-BBF5A259E5B2',
+ ],
+ 'ResourceRelations' => [
+ 'description' => 'The result of the relationship.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceRelationList' => [
+ 'description' => 'An array that contains the relationships.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ '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****',
+ ],
+ 'RelationType' => [
+ 'description' => 'The type of the relationship between the resource and the object.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'* IsContained: The object is included as part of the resource.'."\n"
+ .'* IsAttachedTo: The object is added to the resource.'."\n"
+ .'* IsAssociatedIn: The object is associated with the resource.'."\n"
+ .'* Contains: The object contains the resource.'."\n",
+ 'type' => 'string',
+ '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',
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'ListResourceRelations',
+ 'summary' => 'Queries a list of resources that associate with a specific resource.',
+ 'description' => 'For information about the Alibaba Cloud services and resource types supported by Cloud Config, see [Alibaba Cloud services and resource types supported by Cloud Config](~~127411~~).'."\n"
+ ."\n"
+ .'This topic provides an example on how to query the information about the disks that are attached to an Elastic Compute Service (ECS) instance named `i-j6cajg9yrfoh4sas****` that is created by the current Alibaba Cloud account in the China (Shanghai) region.'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:ListResourceRelations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListResourcesByAdvancedSearch' => [
+ 'summary' => 'Obtains resources based on the fields in the resource properties by using a SELECT statement.',
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'D241DEBF-67A2-56AF-88CF-57BF78F0A850',
+ 'title' => '',
+ ],
+ 'QueryResults' => [
+ 'description' => 'The query result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'QueryResultList' => [
+ 'description' => 'The queried resources. A maximum of 1,000 data records can be returned. To view more data, use the download URL of the resource file.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Columns' => [
+ 'description' => 'The field names.'."\n",
+ 'type' => 'array',
+ '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' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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"
+ ."\n"
+ .'> '."\n"
+ ."\n"
+ .'* Each resource type supported by Cloud Config has a property file. Property files are named based on the related resource types. For example, the property file of the `ACS::ECS::Instance` resource type is named `ACS_ECS_Instance.properties.json`. Property files of different resource types are placed under the `config/properties/resource-types` path.'."\n"
+ ."\n"
+ .'* For more information about the examples and limits on SQL query statements, see [Examples of SQL query statements](~~398718~~) and [Limits on SQL query statements](~~398750~~).'."\n"
+ ."\n"
+ .'This topic provides an example on how to obtain all resources whose tag key is `business` and whose tag value is `online` within the current account by using the advanced search feature.',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListResourcesByAdvancedSearch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Products' => [
+ 'description' => 'The cloud services that are supported by Cloud Config.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ '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' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ProductNameZh' => [
+ 'description' => 'The Chinese name of the Alibaba Cloud service.',
+ 'type' => 'string',
+ 'example' => '云服务器ECS',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ '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' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ ],
+ 'title' => 'ListSupportedProducts',
+ 'description' => 'This topic provides an example on how to query the Alibaba Cloud services and resource types supported by a Cloud Config.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '300',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'ListSupportedProducts',
+ ],
+ ],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Products\\": [\\n {\\n \\"ProductNameEn\\": \\"Elastic Compute Service\\",\\n \\"ResourceTypeList\\": [\\n {\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"TypeNameEn\\": \\"Ecs Instance\\",\\n \\"TypeNameZh\\": \\"ECS实例\\",\\n \\"TypePageLink\\": \\"https://ecs.console.aliyun.com/#/server/@{ResourceId}/detail?regionId=@{RegionId}\\"\\n }\\n ],\\n \\"ProductNameZh\\": \\"云服务器ECS\\"\\n }\\n ],\\n \\"RequestId\\": \\"610B0276-ABEE-57DF-9C13-C2415FADA7D6\\",\\n \\"NextToken\\": \\"D99AjqMNSy0ls7zBNCfcs****\\",\\n \\"MaxResults\\": \\"200\\"\\n}","type":"json"}]',
+ ],
+ 'ListTagResources' => [
+ 'summary' => 'Queries the tags attached to resources in Cloud Config.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'formData',
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The resource ID.'."\n"
+ ."\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****',
+ ],
+ 'required' => false,
+ 'maxItems' => 51,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'You can filter resources by a maximum of 20 tags.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'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',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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****',
+ ],
+ 'TagResources' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'TagResource' => [
+ 'description' => 'A list of tags that are attached to the resource.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'ListTagResources',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '1000',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListTagResources',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:ListTagResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ '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}]',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ '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',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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.',
+ 'description' => 'For more information about the definition, use scenarios, and execution of custom function rules, see [Definition and execution of custom function rules](~~127405~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'config:PutEvaluations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ ],
+ 'RevertAggregateEvaluationResults' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ '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****',
+ ],
+ ],
+ [
+ 'name' => 'Resources',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The resources that you want to re-evaluate.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ '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****',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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' => '',
+ ],
+ ],
+ 503 => [
+ [
+ '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"}]',
+ 'title' => 'RevertAggregateEvaluationResults',
+ 'summary' => 'Re-evaluates resources that are evaluated based on a rule after the evaluation results on some resources of an ignored rule in an account group are resumed.',
+ 'description' => '### [](#)Prerequisites'."\n"
+ ."\n"
+ .'One or more non-compliant resources that are evaluated by a rule are ignored. For more information, see [IgnoreAggregateEvaluationResults](~~607054~~).'."\n"
+ ."\n"
+ .'### [](#)Description'."\n"
+ ."\n"
+ .'This topic provides an example on how to re-evaluate the non-compliant resource that is evaluated by the `cr-7e72626622af0051****` rule of the `120886317861****` member in the `ca-5b6c626622af008f****` group account. The ID of the region in which the resource resides is `cn-beijing`, the type of the resource is `ACS::SLB::LoadBalancer`, and the ID of the resource is `lb-hp3a3b4ztyfm2plgm****`.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:RevertAggregateEvaluationResults',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RevertEvaluationResults' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ 'name' => 'Resources',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The resources that are to be re-evaluated.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ '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****',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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' => '',
+ ],
+ ],
+ 503 => [
+ [
+ '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":""}]',
+ 'title' => 'RevertEvaluationResults',
+ 'summary' => 'Re-evaluates resources that are evaluated based on a rule after the evaluation results on some resources of an ignored rule are resumed.',
+ 'description' => '### [](#)Prerequisites'."\n"
+ ."\n"
+ .'One or more non-compliant resources that are evaluated by a rule are ignored. For more information, see [IgnoreEvaluationResults](~~606990~~).'."\n"
+ ."\n"
+ .'### [](#)Description'."\n"
+ ."\n"
+ .'This topic provides an example on how to re-evaluate the `lb-hp3a3b4ztyfm2plgm****` non-compliant resource that is evaluated by the `cr-7e72626622af0051****` rule. The ID of the region in which the resource resides is`cn-beijing`, the type of the resource is `ACS::SLB::LoadBalancer`, and the ID of the resource is `lb-hp3a3b4ztyfm2plgm****`.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [API Reference](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:RevertEvaluationResults',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'StartAggregateConfigRuleEvaluation' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AggregatorMemberNoPermission',
+ 'errorMessage' => 'The aggregator member is not authorized to perform the operation.',
+ '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' => '',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'StartAggregateConfigRuleEvaluation',
+ 'summary' => 'Re-evaluates the compliance of resources based on a rule or based on all rules in a compliance package in a specific account group.',
+ 'description' => '> After you call this operation, the compliance evaluation is performed only once. To query the compliance evaluation results returned by the rule, call the ListAggregateConfigRuleEvaluationResults operation. For more information, see [ListAggregateConfigRuleEvaluationResults](~~265979~~).'."\n"
+ ."\n"
+ .'The sample request in this topic shows how to use the `cr-c169626622af009f****` rule in the `ca-3a58626622af0005****` account group to evaluate resources.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'config:StartAggregateConfigRuleEvaluation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'StartAggregateRemediation' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None'."\n",
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ '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",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'config:StartAggregateRemediation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'StartConfigRuleEvaluation' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ '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' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 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.',
+ ],
+ ],
+ ],
+ 'title' => 'StartConfigRuleEvaluation',
+ 'summary' => 'Re-evaluates a specific rule or all rules in a compliance package.',
+ 'description' => 'This topic provides an example of how to re-evaluate the rule cr-9920626622af0035\\*\\*\\*\\*.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '300',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'StartConfigRuleEvaluation',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'config:StartConfigRuleEvaluation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D31EEAD7-BF1E-5927-977A-AFF9342A7273\\",\\n \\"Result\\": true\\n}","type":"json"}]',
+ ],
+ 'StartConfigRuleEvaluationByResource' => [
+ 'summary' => 'Starts a re-evaluation of a single resource.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ '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',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'StartConfigRuleEvaluationByResource',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'config:StartConfigRuleEvaluationByResource',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ConfigRuleId\\": \\"cr-2da35180a8d1008e****\\",\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7\\"\\n}","type":"json"}]',
+ ],
+ 'StartConfigurationRecorder' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigI0TIO6',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '4D994662-6B27-536F-B320-38F4B3D58705',
+ ],
+ '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',
+ ],
+ 'ResourceTypes' => [
+ 'description' => 'The types of the resources that are monitored by Cloud Config.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The type of the resource that is monitored by Cloud Config.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACS::ECS::Instance',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'ProcessIsRunning',
+ 'errorMessage' => 'The process is running.',
+ 'description' => '',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'CreateSLRFail',
+ 'errorMessage' => 'Failed to create SLR.',
+ 'description' => '',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => 'ServiceUnavailable',
+ 'errorMessage' => 'The request has failed due to a temporary failure of the server.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ '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",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:StartConfigurationRecorder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'StartRemediation' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'N/A.'."\n",
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'NoPermissionCreateRemediationSLR',
+ 'errorMessage' => 'No permission to create service linked role: AliyunServiceRoleForConfigRemediation.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ '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",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'config:StartRemediation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'StopConfigurationRecorder' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigI0TIO6',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ ],
+ '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":""}]',
+ 'title' => 'StopConfigurationRecorder',
+ 'summary' => 'Deactivates Cloud Config.',
+ 'description' => '> After you deactivate Cloud Config, the resource configurations, created rules, and compliance evaluation results that are stored in Cloud Config are automatically cleared and cannot be restored. Proceed with caution.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:StopConfigurationRecorder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'TagResources' => [
+ 'summary' => 'Attaches tags to CloudConfig rules, account groups, and compliance packages.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfig6XGW41',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'formData',
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ '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****',
+ ],
+ 'required' => true,
+ 'maxItems' => 51,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'You can attach a maximum of 20 tags.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'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',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => true,
+ 'maxItems' => 21,
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'None.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'AB2E4317-06A6-5745-B7C3-E001E551B380',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'TagResources',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '1000',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'TagResources',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:TagResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AB2E4317-06A6-5745-B7C3-E001E551B380\\"\\n}","type":"json"}]',
+ ],
+ 'TriggerReportSend' => [
+ 'summary' => 'Sends a real-time test notification.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigOH65M0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ReportTemplateId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The report template ID.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'crt-xxx',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'DE9FFFE5-FCAD-4B24-9546-BF49273C562B',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ ],
+ 'title' => 'Latest report on completed real-time Testing Notifications by template ID',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DE9FFFE5-FCAD-4B24-9546-BF49273C562B\\"\\n}","type":"json"}]',
+ ],
+ 'UntagResources' => [
+ 'summary' => 'Detaches tags from resources in Cloud Config.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigWLDOIT',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'formData',
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The IDs of the resources. You can specify a maximum of 50 resource IDs.'."\n"
+ ."\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****',
+ ],
+ 'required' => true,
+ 'maxItems' => 51,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'TagKey',
+ 'in' => 'formData',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The tag keys of the tags to detach.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag key.',
+ 'type' => 'string',
+ 'required' => false,
+ 'title' => '',
+ 'example' => 'Env',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'minItems' => 0,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'AB2E4317-06A6-5745-B7C3-E001E551B380',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'UntagResources',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '1000',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'UntagResources',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UntagResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AB2E4317-06A6-5745-B7C3-E001E551B380\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateAggregateCompliancePack' => [
+ 'summary' => 'Updates a compliance pack in a specified account group.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The description of the compliance pack.',
+ 'type' => 'string',
+ 'required' => false,
+ 'maxLength' => 500,
+ 'title' => '',
+ 'example' => '基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。',
+ ],
+ ],
+ [
+ 'name' => 'RiskLevel',
+ 'in' => 'formData',
+ 'schema' => [
+ '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',
+ 'required' => false,
+ 'maximum' => '3',
+ 'exclusiveMaximum' => false,
+ 'minimum' => '1',
+ 'exclusiveMinimum' => false,
+ 'enum' => [
+ '1',
+ '2',
+ '3',
+ ],
+ 'title' => '',
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'ConfigRules',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The rules in the compliance pack.'."\n"
+ ."\n"
+ .'If you leave this parameter empty when you modify the compliance pack, the existing rules are not changed. If you specify new rules, the new rules replace the existing ones.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ 'ConfigRuleParameters' => [
+ 'description' => 'The parameters of the rule.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ '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',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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' => '等保三级预检合规包',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'TagsScope',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The tag scope.',
+ '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',
+ ],
+ ],
+ 'required' => false,
+ 'description' => 'TagsScope',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'ExcludeTagsScope',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The excluded tag scope.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags of the resource. This parameter is deprecated and no longer takes 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 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',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'deprecated' => true,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 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' => '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.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CompliancePackId\\": \\"ca-f632626622af0079****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","type":"json"}]',
+ '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',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateAggregateCompliancePack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateCompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpdateAggregateConfigDeliveryChannel' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ 'name' => 'DeliveryChannelName',
+ 'in' => 'query',
+ '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',
+ ],
+ ],
+ [
+ '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}]',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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":""}]',
+ 'title' => 'UpdateAggregateConfigDeliveryChannel',
+ 'summary' => 'Modifies a delivery channel in an account group.',
+ 'description' => 'This topic provides an example on how to disable a delivery channel in an account group. The ID of the account group is `ca-a4e5626622af0079****`, and the ID of the delivery channel is `cdc-8e45ff4e06a3a8****`. The Status parameter is set to `0`. After the delivery channel is disabled, Cloud Config retains the most recent delivery configuration and stops resource data delivery.'."\n",
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateAggregateConfigDeliveryChannel',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateDelivery',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpdateAggregateConfigRule' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigQMX28I',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'formData',
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'MaximumExecutionFrequency',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The frequency at which the rule is run. 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 required if you set `ConfigRuleTriggerTypes` to `ScheduledNotification`.',
+ 'type' => 'string',
+ 'enum' => [
+ 'One_Hour',
+ 'Three_Hours',
+ 'Six_Hours',
+ 'Twelve_Hours',
+ 'TwentyFour_Hours',
+ ],
+ 'required' => false,
+ 'example' => 'One_Hour',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceTypesScope',
+ 'in' => 'formData',
+ 'style' => 'simple',
+ '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' => '',
+ ],
+ 'required' => false,
+ 'example' => 'ACS::ECS::Instance',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'RiskLevel',
+ 'in' => 'formData',
+ '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',
+ 'maximum' => '3',
+ 'exclusiveMaximum' => false,
+ 'minimum' => '1',
+ 'exclusiveMinimum' => false,
+ '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. 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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'TagsScope',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The tag scope.',
+ 'type' => 'array',
+ '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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'ExcludeTagsScope',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The excluded tag scope.',
+ 'type' => 'array',
+ '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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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. 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"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'- AND'."\n"
+ ."\n"
+ .'- OR',
+ 'enumValueTitles' => [
+ 'OR' => 'OR',
+ 'AND' => 'AND',
+ ],
+ 'type' => 'string',
+ 'deprecated' => false,
+ 'enum' => [
+ 'AND',
+ 'OR',
+ ],
+ 'required' => false,
+ 'example' => 'AND',
+ 'title' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceNameScope',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The rule applies only to resources with the specified 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.',
+ ],
+ ],
+ ],
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'i-xxx',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ '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.',
+ '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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'deprecated' => true,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 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' => '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.',
+ ],
+ ],
+ ],
+ '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~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '100',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'UpdateAggregateConfigRule',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateAggregateConfigRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateConfigRule',
+ 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ConfigRuleId\\": \\"cr-4e3d626622af0080****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateAggregateRemediation' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 403 => [
+ [
+ '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',
+ 'summary' => 'Updates a specified rule remediation.',
+ 'description' => 'This topic provides an example of how to change the execution mode of the remediation `crr-909ba2d4716700eb****` to `AUTO_EXECUTION` (automatic execution) for a rule in the account group `ca-6b4a626622af0012****`.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '100',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'UpdateAggregateRemediation',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateAggregateRemediation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\",\\n \\"RemediationId\\": \\"crr-909ba2d4716700eb****\\"\\n}","type":"json"}]',
+ ],
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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' => '测试组',
+ ],
+ ],
+ [
+ 'name' => 'AggregatorAccounts',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The members in the account group.'."\n"
+ ."\n"
+ .'> You can leave this parameter empty to skip updating the member list. To update the member list, you must specify both `AccountId` and `AccountType`.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'docRequired' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags of the resource. This parameter is deprecated and no longer takes effect. Ignore this parameter.'."\n"
+ ."\n"
+ .'You can attach up to 20 tags.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tags of the resource.'."\n"
+ ."\n"
+ .'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',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'deprecated' => true,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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****',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 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' => '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.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8195B664-9565-4685-89AC-8B5F04B44B92\\",\\n \\"AggregatorId\\": \\"ca-dacf86d8314e00eb****\\"\\n}","type":"json"}]',
+ 'title' => 'UpdateAggregator',
+ 'description' => 'This topic provides an example of how to add a member to the account group `ca-dacf86d8314e00eb****`. The member has an ID of `173808452267****`, a name of `Tony`, and an account type of `ResourceDirectory`.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '60',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'UpdateAggregator',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateAggregator',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ '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',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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****',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The description of the compliance pack.',
+ 'type' => 'string',
+ 'required' => false,
+ 'maxLength' => 500,
+ 'title' => '',
+ 'example' => '基于等保2.0三级标准,提供持续检测合规性的建议模板,帮助您提前自检并修复问题,以便快速通过正式检测。',
+ ],
+ ],
+ [
+ 'name' => 'RiskLevel',
+ 'in' => 'formData',
+ 'schema' => [
+ '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',
+ 'required' => false,
+ 'maximum' => '3',
+ 'exclusiveMaximum' => false,
+ 'minimum' => '1',
+ 'exclusiveMinimum' => false,
+ 'enum' => [
+ '1',
+ '2',
+ '3',
+ ],
+ 'title' => '',
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'ConfigRules',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The rules in the compliance pack.'."\n"
+ ."\n"
+ .'If you leave this parameter empty when you modify the compliance pack, the original rules are retained. If you specify new rules, they replace the original rules.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ 'ConfigRuleParameters' => [
+ 'description' => 'The parameters of the rule.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ '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',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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' => '等保三级预检合规包',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'TagsScope',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The tag scope.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'ExcludeTagsScope',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The excluded tag scope.',
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The tags of the resource. This parameter is deprecated. Ignore this parameter because it is no longer valid.'."\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 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',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'deprecated' => true,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CompliancePackId\\": \\"cp-a8a8626622af0082****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","type":"json"}]',
+ 'title' => 'UpdateCompliancePack',
+ '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',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateCompliancePack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'CompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpdateConfigDeliveryChannel' => [
+ 'summary' => 'This operation modifies a delivery channel for the current account.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'DeliveryChannelName',
+ 'in' => 'query',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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"}]',
+ 'title' => 'UpdateConfigDeliveryChannel',
+ 'description' => 'This topic provides an example of how to change the status of the delivery channel `cdc-8e45ff4e06a3a8****` to `0` (disabled). After you disable the delivery channel, Cloud Config retains the most recent delivery configuration and stops delivering resource data.',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '50',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'UpdateConfigDeliveryChannel',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateConfigDeliveryChannel',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Delivery',
+ 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpdateConfigRule' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREconfigQMX28I',
+ ],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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组标签。如果资源同时具有指定的所有标签,则视为“合规”。',
+ ],
+ ],
+ [
+ 'name' => 'InputParameters',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The input parameters of the rule.',
+ 'type' => 'object',
+ 'required' => false,
+ 'title' => '',
+ 'example' => '{"tag1Key":"ECS","tag1Value":"test"}',
+ ],
+ ],
+ [
+ 'name' => 'MaximumExecutionFrequency',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The frequency at which the rule is run. 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 (default): 24 hours.'."\n"
+ ."\n"
+ .'> This parameter is required when `ConfigRuleTriggerTypes` is set to `ScheduledNotification`.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => [
+ 'One_Hour',
+ 'Three_Hours',
+ 'Six_Hours',
+ 'Twelve_Hours',
+ 'TwentyFour_Hours',
+ ],
+ 'title' => '',
+ 'example' => 'One_Hour',
+ ],
+ ],
+ [
+ 'name' => 'ResourceTypesScope',
+ 'in' => 'formData',
+ 'style' => 'simple',
+ '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',
+ ],
+ 'required' => false,
+ 'example' => 'ACS::ECS::Instance',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'RiskLevel',
+ 'in' => 'formData',
+ '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,
+ 'maximum' => '3',
+ 'exclusiveMaximum' => false,
+ 'minimum' => '1',
+ 'exclusiveMinimum' => false,
+ 'enum' => [
+ '1',
+ '2',
+ '3',
+ ],
+ 'title' => '',
+ 'example' => '3',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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"
+ ."\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"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'- AND'."\n"
+ ."\n"
+ .'- OR',
+ 'type' => 'string',
+ 'deprecated' => false,
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'OR' => 'OR',
+ 'AND' => 'AND',
+ ],
+ 'enum' => [
+ 'AND',
+ 'OR',
+ ],
+ 'title' => '',
+ 'example' => 'AND',
+ ],
+ ],
+ [
+ 'name' => 'TagsScope',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The tags that are used to filter resources.',
+ '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',
+ ],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'ExcludeTagsScope',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The tags that are 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',
+ ],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ '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' => '存在所有指定标签',
+ ],
+ ],
+ [
+ '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.',
+ 'type' => 'string',
+ 'required' => false,
+ 'title' => '',
+ 'example' => '{"fixedHour":"12"}',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ '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"
+ ."\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',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 20,
+ 'deprecated' => true,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceNameScope',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The names of the resources that the rule evaluates.',
+ 'type' => 'string',
+ 'required' => false,
+ 'title' => '',
+ 'example' => 'i-xxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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' => '',
+ ],
+ ],
+ 404 => [
+ [
+ '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.',
+ ],
+ ],
+ ],
+ '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).',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '100',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'UpdateConfigRule',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateConfigRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Rule',
+ 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ConfigRuleId\\": \\"cr-a260626622af0005****\\",\\n \\"RequestId\\": \\"6EC7AED1-172F-42AE-9C12-295BC2ADB751\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateConfigurationRecorder' => [
+ 'summary' => 'Modifies the resource monitoring scope of the current account.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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' => '',
+ ],
+ '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' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 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.',
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => 'UpdateConfigurationRecorder',
+ 'description' => 'This topic provides an example on how to change the resource monitoring scope of the current account to ACS::ECS::Instance.'."\n",
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateConfigurationRecorder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '60',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'UpdateConfigurationRecorder',
+ ],
+ ],
+ ],
+ ],
+ 'UpdateIntegratedServiceStatus' => [
+ 'summary' => 'Enables or disables the integration of a cloud service.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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',
+ ],
+ ],
+ [
+ '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',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '02EB7638-B029-5ABB-93F5-A2ABEEAC282D',
+ 'title' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 404 => [
+ [
+ '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":""}]',
+ 'title' => 'UpdateIntegratedServiceStatus',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).'."\n",
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '100',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'UpdateIntegratedServiceStatus',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateIntegratedServiceStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpdateRemediation' => [
+ 'summary' => 'Updates the specified remediation setting.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ 403 => [
+ [
+ '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',
+ 'description' => 'This topic provides an example of how to change the execution mode for the remediation setting `crr-909ba2d4716700eb****` to `AUTO_EXECUTION` (automatic execution).',
+ 'requestParamsDescription' => 'For more information about common request parameters, see [Common parameters](~~251751~~).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '100',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'UpdateRemediation',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateRemediation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C7817373-78CB-4F9A-8AFA-E7A88E9D64A2\\",\\n \\"RemediationId\\": \\"crr-7c2ba2d0236700a3****\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateReportTemplate' => [
+ 'summary' => 'Updates a compliance report template.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'ReportTemplateId',
+ 'in' => 'formData',
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'ReportFileFormats',
+ 'in' => 'formData',
+ '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' => '',
+ ],
+ ],
+ [
+ 'name' => 'ReportScope',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'minItems' => 0,
+ 'description' => 'An array that specifies the report scope. It is used to select the range of rules to include in the audit report. The logical relationship between multiple ReportScope objects in the array is OR. This means the scopes are added together.'."\n"
+ ."\n"
+ .'> For example, if the array contains two ReportScope objects, where the first specifies the rule In cr-1 and the second specifies the rule In cr-2, the report scope includes both cr-1 and cr-2.',
+ 'type' => 'array',
+ 'items' => [
+ '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' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ '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' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'Update Compliance Report template',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ReportTemplateId\\": \\"crt-xxx\\",\\n \\"RequestId\\": \\"A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7\\"\\n}","type":"json"}]',
+ ],
+ ],
+ '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',
+ ],
+ ],
+ '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',
+ ],
+ ],
+ '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',
+ ],
+ ],
+ ],
+ 'ram' => [
+ 'productCode' => 'Config',
+ 'productName' => 'CloudConfig',
+ 'ramCodes' => [
+ 'config',
+ ],
+ 'ramLevel' => 'RESOURCE',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'ListAggregators',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregators',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Aggregator',
+ 'arn' => 'acs:config:*:{#accountId}:aggregator/*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateAggregateCompliancePack',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateAggregateCompliancePack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateCompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListConfigRuleEvaluationResults',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'config:ListConfigRuleEvaluationResults',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetDiscoveredResource',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'config:GetDiscoveredResource',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'IgnoreEvaluationResults',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:IgnoreEvaluationResults',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeactiveConfigRules',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:DeactiveConfigRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregateResourceInventory',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateResourceInventory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteAggregateCompliancePacks',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'config:DeleteAggregateCompliancePacks',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateCompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregateCompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GenerateAggregateResourceInventory',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'config:GenerateAggregateResourceInventory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetResourceTypeProperties',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'config:GetResourceTypeProperties',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'StopConfigurationRecorder',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:StopConfigurationRecorder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregateResourceCountsGroupByResourceType',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateResourceCountsGroupByResourceType',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteRemediations',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'config:DeleteRemediations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateRemediation',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateRemediation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'AttachAggregateConfigRuleToCompliancePack',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:AttachAggregateConfigRuleToCompliancePack',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateAggregateConfigDeliveryChannel',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateAggregateConfigDeliveryChannel',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateDelivery',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregateCompliancePackReport',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateCompliancePackReport',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateCompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAdvancedSearchFile',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAdvancedSearchFile',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListDiscoveredResources',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListDiscoveredResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListResourceEvaluationResults',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListResourceEvaluationResults',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetResourceConfigurationTimeline',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:GetResourceConfigurationTimeline',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'IgnoreAggregateEvaluationResults',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:IgnoreAggregateEvaluationResults',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetManagedRule',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetManagedRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateAggregateConfigRule',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateAggregateConfigRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateConfigRule',
+ 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteConfigRules',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'config:DeleteConfigRules',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Rule',
+ 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregateConfigRuleComplianceByPack',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateConfigRuleComplianceByPack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateCompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteAggregateRemediations',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'config:DeleteAggregateRemediations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateAggregateConfigDeliveryChannel',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateAggregateConfigDeliveryChannel',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateDelivery',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetResourceComplianceByConfigRule',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'config:GetResourceComplianceByConfigRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListAggregateRecommendManagedRules',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateRecommendManagedRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateConfigRule',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateConfigRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Rule',
+ 'arn' => 'acs:config:*:{#accountId}:rule/*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListAggregateDiscoveredResources',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateDiscoveredResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetResourceComplianceGroupByResourceType',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetResourceComplianceGroupByResourceType',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregateResourceConfigurationTimeline',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateResourceConfigurationTimeline',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregateResourceComplianceGroupByRegion',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateResourceComplianceGroupByRegion',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetComplianceSummary',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetComplianceSummary',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GenerateConfigRulesReport',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GenerateConfigRulesReport',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListAggregateCompliancePacks',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateCompliancePacks',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateCompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListConfigRuleOperators',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'config:ListConfigRuleOperators',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListConfigRuleEvaluationStatistics',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListConfigRuleEvaluationStatistics',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateAggregateAdvancedSearchFile',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateAggregateAdvancedSearchFile',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDiscoveredResourceBatch',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:DescribeDiscoveredResourceBatch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregateConfigRule',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateConfigRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateConfigRule',
+ 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListAggregateConfigRuleEvaluationStatistics',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateConfigRuleEvaluationStatistics',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UntagResources',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UntagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregator',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregator',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Aggregator',
+ 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetConfigurationRecorder',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetConfigurationRecorder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregateResourceComplianceTimeline',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateResourceComplianceTimeline',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateIntegratedServiceStatus',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateIntegratedServiceStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'StartConfigRuleEvaluation',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'config:StartConfigRuleEvaluation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetConfigRulesReport',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetConfigRulesReport',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetResourceConfigurationSample',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'config:GetResourceConfigurationSample',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DetachAggregateConfigRuleToCompliancePack',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:DetachAggregateConfigRuleToCompliancePack',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListAggregateResourceEvaluationResults',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateResourceEvaluationResults',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetConfigDeliveryChannel',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetConfigDeliveryChannel',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Delivery',
+ 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetIntegratedServiceStatus',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetIntegratedServiceStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetCompliancePack',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetCompliancePack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'CompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListConfigRules',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListConfigRules',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Rule',
+ 'arn' => 'acs:config:*:{#accountId}:rule/*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'PutEvaluations',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'config:PutEvaluations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetDiscoveredResourceCountsGroupByRegion',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetDiscoveredResourceCountsGroupByRegion',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GenerateResourceInventory',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'config:GenerateResourceInventory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteAggregateConfigDeliveryChannel',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'config:DeleteAggregateConfigDeliveryChannel',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateDelivery',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregateCompliancePack',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateCompliancePack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateCompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateAdvancedSearchFile',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateAdvancedSearchFile',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeactiveAggregateConfigRules',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:DeactiveAggregateConfigRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'RevertAggregateEvaluationResults',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:RevertAggregateEvaluationResults',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListAggregateResourcesByAdvancedSearch',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateResourcesByAdvancedSearch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListAggregateRemediationExecutions',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateRemediationExecutions',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetConfigRule',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetConfigRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Rule',
+ 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListRemediationExecutions',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'config:ListRemediationExecutions',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListResourceRelations',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:ListResourceRelations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregateAdvancedSearchFile',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateAdvancedSearchFile',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListConfigDeliveryChannels',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListConfigDeliveryChannels',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteAggregateConfigRules',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'config:DeleteAggregateConfigRules',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateConfigRule',
+ 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregateConfigRulesReport',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateConfigRulesReport',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregateResourceComplianceByConfigRule',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateResourceComplianceByConfigRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregateAccountComplianceByPack',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateAccountComplianceByPack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateCompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListCompliancePacks',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListCompliancePacks',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'CompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:compliancepack/*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateAggregateCompliancePack',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateAggregateCompliancePack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateCompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregateDiscoveredResource',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateDiscoveredResource',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Resource',
+ 'arn' => 'acs:config:*:{#accountId}:resource/{#ResourceId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'EvaluatePreConfigRules',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'config:EvaluatePreConfigRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'StartConfigurationRecorder',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:StartConfigurationRecorder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListAggregateConfigRules',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateConfigRules',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateConfigRule',
+ 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateConfigDeliveryChannel',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateConfigDeliveryChannel',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Delivery',
+ 'arn' => 'acs:config:*:{#accountId}:delivery/{#DeliveryChannelId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateAggregator',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateAggregator',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Aggregator',
+ 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregateResourceComplianceGroupByResourceType',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateResourceComplianceGroupByResourceType',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetResourceComplianceGroupByRegion',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'config:GetResourceComplianceGroupByRegion',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListIntegratedService',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListIntegratedService',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregateConfigRuleSummaryByRiskLevel',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateConfigRuleSummaryByRiskLevel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetResourceComplianceByPack',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetResourceComplianceByPack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'CompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregateComplianceSummary',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateComplianceSummary',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'StartConfigRuleEvaluationByResource',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'config:StartConfigRuleEvaluationByResource',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'StartAggregateConfigRuleEvaluation',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'config:StartAggregateConfigRuleEvaluation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'StartRemediation',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'config:StartRemediation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateConfigDeliveryChannel',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateConfigDeliveryChannel',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Delivery',
+ 'arn' => 'acs:config:*:{#accountId}:delivery/*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateConfigurationRecorder',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateConfigurationRecorder',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteCompliancePacks',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'config:DeleteCompliancePacks',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'CompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateCompliancePack',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateCompliancePack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'CompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:compliancepack/*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregateResourceComplianceByPack',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateResourceComplianceByPack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateCompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateAggregateRemediation',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateAggregateRemediation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'TagResources',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:TagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'StartAggregateRemediation',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'config:StartAggregateRemediation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CopyConfigRules',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:CopyConfigRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetRemediationTemplate',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'config:GetRemediationTemplate',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateRemediation',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateRemediation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListRemediations',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListRemediations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListTagResources',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:ListTagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetCompliancePackReport',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetCompliancePackReport',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'CompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregateResourceCountsGroupByRegion',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateResourceCountsGroupByRegion',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListRemediationTemplates',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:ListRemediationTemplates',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetResourceInventory',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetResourceInventory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeIntegratedServiceStatus',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:DescribeIntegratedServiceStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GenerateAggregateConfigRulesReport',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:GenerateAggregateConfigRulesReport',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ActiveAggregateConfigRules',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:ActiveAggregateConfigRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListAggregateConfigDeliveryChannels',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateConfigDeliveryChannels',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DryRunConfigRule',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'config:DryRunConfigRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ActiveConfigRules',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:ActiveConfigRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateAggregateRemediation',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateAggregateRemediation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetConfigRuleSummaryByRiskLevel',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetConfigRuleSummaryByRiskLevel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CopyCompliancePacks',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CopyCompliancePacks',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateAggregator',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:CreateAggregator',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Aggregator',
+ 'arn' => 'acs:config:*:{#accountId}:aggregator/*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeRemediation',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:DescribeRemediation',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GenerateAggregateCompliancePackReport',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:GenerateAggregateCompliancePackReport',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateCompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatecompliancepack/{#AggregatorCompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetAggregateConfigDeliveryChannel',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetAggregateConfigDeliveryChannel',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateDelivery',
+ 'arn' => 'acs:config:*:{#accountId}:aggregatedelivery/{#DeliveryChannelId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListResourcesByAdvancedSearch',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'config:ListResourcesByAdvancedSearch',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListRecommendManagedRules',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'config:ListRecommendManagedRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListManagedRules',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:ListManagedRules',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetResourceComplianceTimeline',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:GetResourceComplianceTimeline',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DetachConfigRuleToCompliancePack',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:DetachConfigRuleToCompliancePack',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListAggregateResourceRelations',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateResourceRelations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateConfigRule',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateConfigRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Rule',
+ 'arn' => 'acs:config:*:{#accountId}:rule/{#ConfigRuleId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetConfigRuleComplianceByPack',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetConfigRuleComplianceByPack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'CompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'AttachConfigRuleToCompliancePack',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:AttachConfigRuleToCompliancePack',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListAggregateConfigRuleEvaluationResults',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateConfigRuleEvaluationResults',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GenerateCompliancePackReport',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'config:GenerateCompliancePackReport',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'CompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'RevertEvaluationResults',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:RevertEvaluationResults',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateAggregateConfigRule',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateAggregateConfigRule',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'AggregateConfigRule',
+ 'arn' => 'acs:config:*:{#accountId}:aggregateconfigrule/{#ConfigRuleId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteAggregators',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'config:DeleteAggregators',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'Aggregator',
+ 'arn' => 'acs:config:*:{#accountId}:aggregator/{#AggregatorId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateCompliancePack',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'config:UpdateCompliancePack',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'CompliancePack',
+ 'arn' => 'acs:config:*:{#accountId}:compliancepack/{#CompliancePackId}',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetDiscoveredResourceCountsGroupByResourceType',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'config:GetDiscoveredResourceCountsGroupByResourceType',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListAggregateRemediations',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'config:ListAggregateRemediations',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'Config',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteConfigDeliveryChannel',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'config:DeleteConfigDeliveryChannel',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ '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}',
+ ],
+ ],
+ ],
+];