summaryrefslogtreecommitdiff
path: root/data/en_us/config/2019-01-08
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/config/2019-01-08')
-rw-r--r--data/en_us/config/2019-01-08/api-docs.php5051
1 files changed, 5051 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',
+ ],
+ ],
+];