summaryrefslogtreecommitdiff
path: root/data/en_us/resourcecenter
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
committerZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
commit7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch)
tree0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/resourcecenter
downloadacs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.tar.gz
acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.zip
Diffstat (limited to 'data/en_us/resourcecenter')
-rw-r--r--data/en_us/resourcecenter/2022-12-01/api-docs.php12226
1 files changed, 12226 insertions, 0 deletions
diff --git a/data/en_us/resourcecenter/2022-12-01/api-docs.php b/data/en_us/resourcecenter/2022-12-01/api-docs.php
new file mode 100644
index 0000000..3b7bf76
--- /dev/null
+++ b/data/en_us/resourcecenter/2022-12-01/api-docs.php
@@ -0,0 +1,12226 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'ResourceCenter',
+ 'version' => '2022-12-01',
+ ],
+ 'directories' => [
+ [
+ 'children' => [
+ 'EnableResourceCenter',
+ 'GetResourceCenterServiceStatus',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Manage Resource Center',
+ ],
+ [
+ 'children' => [
+ 'SearchResources',
+ 'ListResourceTypes',
+ 'GetResourceCounts',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Resource search',
+ ],
+ [
+ 'children' => [
+ 'SearchMultiAccountResources',
+ 'GetMultiAccountResourceConfiguration',
+ 'ListMultiAccountResourceGroups',
+ 'ListMultiAccountTagKeys',
+ 'GetMultiAccountResourceCounts',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Cross-account resource search',
+ ],
+ [
+ 'children' => [
+ 'ListExampleQueries',
+ 'CreateSavedQuery',
+ 'GetSavedQuery',
+ 'ListSavedQueries',
+ 'UpdateSavedQuery',
+ 'DeleteSavedQuery',
+ 'ExecuteSQLQuery',
+ 'ExecuteMultiAccountSQLQuery',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Advanced search',
+ ],
+ [
+ 'children' => [
+ 'CreateDeliveryChannel',
+ 'DeleteDeliveryChannel',
+ 'GetDeliveryChannel',
+ 'GetDeliveryChannelStatistics',
+ 'ListDeliveryChannels',
+ 'UpdateDeliveryChannel',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Resource delivery',
+ ],
+ [
+ 'children' => [
+ 'CreateMultiAccountDeliveryChannel',
+ 'DeleteMultiAccountDeliveryChannel',
+ 'GetMultiAccountDeliveryChannel',
+ 'GetMultiAccountDeliveryChannelStatistics',
+ 'ListMultiAccountDeliveryChannels',
+ 'UpdateMultiAccountDeliveryChannel',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Cross-account resource delivery',
+ ],
+ [
+ 'children' => [
+ 'AssociateDefaultFilter',
+ 'BatchGetResourceConfigurations',
+ 'CreateFilter',
+ 'DeleteFilter',
+ 'DisableMultiAccountResourceCenter',
+ 'DisableResourceCenter',
+ 'DisassociateDefaultFilter',
+ 'EnableMultiAccountResourceCenter',
+ 'GetExampleQuery',
+ 'GetMultiAccountResourceCenterServiceStatus',
+ 'GetResourceConfiguration',
+ 'ListFilters',
+ 'ListMultiAccountResourceRelationships',
+ 'ListMultiAccountTagValues',
+ 'ListResourceRelationships',
+ 'ListTagKeys',
+ 'ListTagValues',
+ 'UpdateFilter',
+ ],
+ 'title' => 'Others',
+ 'type' => 'directory',
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'AssociateDefaultFilter' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREentconsoleOXO8QS',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'FilterName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the filter.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '所有ECS实例资源',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => '54673B22-2001-556A-B394-B8697AA9670B',
+ 'title' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 409 => [
+ [
+ 'errorCode' => 'NotExists.FilterName',
+ 'errorMessage' => 'The filter name of current user not exists.',
+ 'description' => 'The object indicated by the FilterName parameter does not exist.',
+ ],
+ [
+ 'errorCode' => 'LengthExceedLimit.FilterName',
+ 'errorMessage' => 'The length of parameter FilterName exceed limit.',
+ 'description' => 'The length of the value specified for the FilterName parameter exceeds the upper limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'AssociateDefaultFilter',
+ 'summary' => 'Sets a default filter.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'AssociateDefaultFilter',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:AssociateDefaultFilter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54673B22-2001-556A-B394-B8697AA9670B\\"\\n}","type":"json"}]',
+ ],
+ 'BatchGetResourceConfigurations' => [
+ 'summary' => 'Queries the configurations of multiple resources in your account.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Resources',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RegionId' => [
+ 'description' => 'The region ID of the resource.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ 'title' => '',
+ ],
+ 'ResourceId' => [
+ 'description' => 'The resource ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eip-bp1kyg72m****',
+ 'title' => '',
+ ],
+ 'ResourceType' => [
+ 'description' => 'The resource type.'."\n"
+ ."\n"
+ .'For a list of resource types supported by Resource Center, see [Alibaba Cloud services and resource types that are supported by Resource Center](~~477798~~).',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ACS::VPC::RouteTable',
+ 'title' => '',
+ ],
+ ],
+ 'description' => 'The resource.',
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'maxItems' => 100,
+ 'minItems' => 1,
+ 'description' => 'The list of resources.',
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'F1CE0D52-32DA-531A-87A4-B9A5B68*****',
+ ],
+ 'Resources' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'description' => 'The ID of the Alibaba Cloud account.',
+ 'type' => 'string',
+ 'example' => '151266687691****',
+ 'title' => '',
+ ],
+ 'Configuration' => [
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'description' => 'The details of the resource configuration.',
+ 'type' => 'any',
+ 'example' => '{\\"uid\\":\\"191432722631****\\",\\"groupId\\":\\"MtxXXli4FfphQJyH9R3p00****\\"}',
+ 'title' => '',
+ ],
+ 'description' => 'The details of the resource configuration.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the resource was created.',
+ 'type' => 'string',
+ 'example' => '2021-06-30T09:20:08Z',
+ 'title' => '',
+ ],
+ 'ExpireTime' => [
+ 'description' => 'The expiration time of the resource.',
+ 'type' => 'string',
+ 'example' => '2021-07-30T09:20:08Z',
+ 'title' => '',
+ ],
+ 'IpAddressAttributes' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'IpAddress' => [
+ 'description' => 'The IP address.',
+ 'type' => 'string',
+ 'example' => '192.168.1.2',
+ 'title' => '',
+ ],
+ 'NetworkType' => [
+ 'description' => 'The network type. Valid values:'."\n"
+ ."\n"
+ .'- **Public**: Internet.'."\n"
+ ."\n"
+ .'- **Private**: Private network.',
+ 'type' => 'string',
+ 'example' => 'Public',
+ 'title' => '',
+ ],
+ 'Version' => [
+ 'description' => 'The version of the IP address.',
+ 'type' => 'string',
+ 'example' => 'Ipv4',
+ 'title' => '',
+ ],
+ ],
+ 'description' => 'The properties of the IP address.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => 'The properties of the IP addresses.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'IpAddresses' => [
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The IP address.',
+ 'type' => 'string',
+ 'example' => '192.168.1.2',
+ 'title' => '',
+ ],
+ 'description' => 'The IP addresses.'."\n"
+ ."\n"
+ .'> Whether this parameter is returned depends on the Alibaba Cloud service to which the resource belongs.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RegionId' => [
+ 'description' => 'The region ID of the resource.',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ 'title' => '',
+ ],
+ 'ResourceGroupId' => [
+ 'description' => 'The resource group ID.',
+ 'type' => 'string',
+ 'example' => 'rg-acfmzawhxxc****',
+ 'title' => '',
+ ],
+ 'ResourceId' => [
+ 'description' => 'The resource ID.',
+ 'type' => 'string',
+ 'example' => 'eip-wz9gdtce0q6h48h*****',
+ 'title' => '',
+ ],
+ 'ResourceName' => [
+ 'description' => 'The resource name.',
+ 'type' => 'string',
+ 'example' => 'group1',
+ 'title' => '',
+ ],
+ 'ResourceType' => [
+ 'description' => 'The resource type.',
+ 'type' => 'string',
+ 'example' => 'ACS::ECS::Instance',
+ 'title' => '',
+ ],
+ 'Tags' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The tag key.',
+ 'type' => 'string',
+ 'example' => 'test_key',
+ 'title' => '',
+ ],
+ 'Value' => [
+ 'description' => 'The tag value.',
+ 'type' => 'string',
+ 'example' => 'test_value',
+ 'title' => '',
+ ],
+ ],
+ 'description' => 'The tag.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => 'The tags.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ZoneId' => [
+ 'description' => 'The zone ID.',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou-k',
+ 'title' => '',
+ ],
+ ],
+ 'description' => 'The resource.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => 'The list of resources.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'description' => 'The response parameters.',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'ServiceNotEnabled',
+ 'errorMessage' => 'ResourceCenter Service is not enabled.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceType',
+ 'errorMessage' => 'The specified parameter ResourceType is missing.',
+ 'description' => 'The specified parameter ResourceType is missing.'."\n",
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'NoPermission.Resource',
+ 'errorMessage' => 'The operator is not permitted for this resource.',
+ 'description' => 'You are not authorized to perform operations on the resource.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'BatchGetResourceConfigurations',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetResourceConfiguration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F1CE0D52-32DA-531A-87A4-B9A5B68*****\\",\\n \\"Resources\\": [\\n {\\n \\"AccountId\\": \\"151266687691****\\",\\n \\"Configuration\\": {\\n \\"key\\": \\"{\\\\\\\\\\\\\\"uid\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"191432722631****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"groupId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"MtxXXli4FfphQJyH9R3p00****\\\\\\\\\\\\\\"}\\"\\n },\\n \\"CreateTime\\": \\"2021-06-30T09:20:08Z\\",\\n \\"ExpireTime\\": \\"2021-07-30T09:20:08Z\\",\\n \\"IpAddressAttributes\\": [\\n {\\n \\"IpAddress\\": \\"192.168.1.2\\",\\n \\"NetworkType\\": \\"Public\\",\\n \\"Version\\": \\"Ipv4\\"\\n }\\n ],\\n \\"IpAddresses\\": [\\n \\"192.168.1.2\\"\\n ],\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzawhxxc****\\",\\n \\"ResourceId\\": \\"eip-wz9gdtce0q6h48h*****\\",\\n \\"ResourceName\\": \\"group1\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"test_key\\",\\n \\"Value\\": \\"test_value\\"\\n }\\n ],\\n \\"ZoneId\\": \\"cn-hangzhou-k\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'CreateDeliveryChannel' => [
+ 'summary' => 'Creates a resource delivery channel for the current account.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DeliveryChannelName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the delivery channel.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test-delivery',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'DeliveryChannelDescription',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the delivery channel.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '测试投递',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceSnapshotDelivery',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The scheduled delivery of resource snapshots.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryTime' => [
+ 'description' => 'The delivery time.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '09:00Z',
+ 'title' => '',
+ ],
+ 'TargetArn' => [
+ 'description' => 'The Alibaba Cloud Resource Name (ARN) of the destination. Valid values:'."\n"
+ ."\n"
+ .'- If you set `TargetType` to `OSS`, set `TargetArn` to the ARN of an Object Storage Service (OSS) bucket that has the `resourcecenter-` prefix. Example: `acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss`.'."\n"
+ ."\n"
+ .'- If you set `TargetType` to `SLS`, set `TargetArn` to the ARN of a Simple Log Service (SLS) Logstore that has the `resourcecenter-` prefix. Example: `acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls`.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls',
+ 'title' => '',
+ ],
+ 'TargetType' => [
+ 'description' => 'The type of the destination. Valid values:'."\n"
+ ."\n"
+ .'- For standard scheduled delivery, set this parameter to `OSS`.'."\n"
+ ."\n"
+ .'- For custom scheduled delivery, set this parameter to `OSS` or `SLS`.',
+ 'enumValueTitles' => [
+ 'SLS' => 'SLS',
+ 'OSS' => 'OSS',
+ ],
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'OSS',
+ 'title' => '',
+ ],
+ 'CustomExpression' => [
+ 'description' => 'The custom expression.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'select * from resources limit 100;',
+ 'title' => '',
+ ],
+ 'SlsProperties' => [
+ 'description' => 'The SLS configurations.',
+ 'type' => 'object',
+ 'properties' => [
+ 'OversizedDataOssTargetArn' => [
+ 'description' => 'The ARN of the destination OSS bucket for oversized files.'."\n"
+ ."\n"
+ .'If the size of a resource configuration change event exceeds 1 MB, the event is delivered as an OSS object. Set this parameter to the ARN of an OSS bucket that has the `resourcecenter-` prefix.'."\n"
+ ."\n"
+ .'> This parameter is valid only for custom scheduled delivery. You do not need to specify this parameter for standard scheduled delivery.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss',
+ 'title' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceChangeDelivery',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The delivery of resource configuration changes.',
+ 'type' => 'object',
+ 'properties' => [
+ 'SlsProperties' => [
+ 'description' => 'The SLS configurations.',
+ 'type' => 'object',
+ 'properties' => [
+ 'OversizedDataOssTargetArn' => [
+ 'description' => 'The ARN of the destination OSS bucket for oversized files.'."\n"
+ ."\n"
+ .'If the size of a resource configuration change event exceeds 1 MB, the event is delivered as an OSS object. Set this parameter to the ARN of an OSS bucket that has the `resourcecenter-` prefix.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss',
+ 'title' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'TargetArn' => [
+ 'description' => 'The ARN of the destination. Valid values:'."\n"
+ ."\n"
+ .'- If you set `TargetType` to `OSS`, set `TargetArn` to the ARN of an OSS bucket that has the `resourcecenter-` prefix.'."\n"
+ ."\n"
+ .'- If you set `TargetType` to `SLS`, set `TargetArn` to the ARN of an SLS Logstore that has the `resourcecenter-` prefix.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls',
+ 'title' => '',
+ ],
+ 'TargetType' => [
+ 'description' => 'The type of the destination.'."\n"
+ ."\n"
+ .'Valid value: `SLS`.',
+ 'enumValueTitles' => [
+ 'SLS' => 'SLS',
+ ],
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SLS',
+ 'title' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'DeliveryChannelFilter',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The effective scope of the delivery channel.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceTypes' => [
+ 'description' => 'The list of resource types to be delivered.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The resource type to be delivered. For more information, see [Services that work with Resource Center](~~477798~~).'."\n"
+ ."\n"
+ .'To deliver all resource types supported by Resource Center, enter `ALL`.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ACS::VPC::VPC',
+ 'title' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'required' => true,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryChannelId' => [
+ 'description' => 'The ID of the delivery channel.',
+ 'type' => 'string',
+ 'example' => 'dc-0bzhsqpn****',
+ 'title' => '',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => '42A89312-0616-591E-B614-07BC87D3D',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission.ServiceLinkedRole',
+ 'errorMessage' => 'The current user does not have permission to create servicelinkedrole. Please contact the Alibaba Cloud account or administrator to authorize custom policy: Service Name: rmc.resourcemanager.aliyuncs.com, Action: ram:CreateServiceLinkedRole.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetArn',
+ 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is not valid.',
+ 'description' => 'The specified parameter ResourceChangeDelivery.TargetArn is not valid.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'ExceedLimit.DeliveryChannelQuota',
+ 'errorMessage' => 'The number of delivery channels exceeds the limit.',
+ 'description' => 'The number of delivery channels exceeds the limit.',
+ ],
+ [
+ 'errorCode' => 'NoPermission.ResourceType',
+ 'errorMessage' => 'The operator is not permitted for this resource type.',
+ 'description' => 'The operator is not permitted for this resource type.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'MissingParameter.DeliveryName',
+ 'errorMessage' => 'The specified parameter DeliveryName is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.OverSizedDataOssTargetArn',
+ 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.DeliveryFilter',
+ 'errorMessage' => 'The specified parameter DeliveryFilter is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.DeliveryFilter.AccountScopes',
+ 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetType',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetArn',
+ 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetType',
+ 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetArn',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceDeliveryConfiguration',
+ 'errorMessage' => 'The parameter ResourceSnapshotDelivery or ResourceChangeDelivery must be specified.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.CustomExpression',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.CustomExpression is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.DeliveryTime',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.DeliveryConfiguration',
+ 'errorMessage' => 'The parameter ConfigurationSnapshotDelivery or ConfigurationChangeDelivery must be specified.',
+ 'description' => 'You must configure the ConfigurationSnapshotDelivery or ConfigurationChangeDelivery parameter.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'AlreadyExists.DeliveryName',
+ 'errorMessage' => 'The DeliveryName Name already exists.',
+ 'description' => 'The delivery name already exists.',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryName',
+ 'errorMessage' => 'The specified parameter DeliveryName is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryDescription',
+ 'errorMessage' => 'The specified parameter DeliveryDescription is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.OverSizedDataOssTargetArn',
+ 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryFilter.AccountScopes',
+ 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is not valid.',
+ 'description' => 'The specified parameter DeliveryFilter.AccountScopes is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryFilter.ResourceTypes',
+ 'errorMessage' => 'The specified parameter DeliveryFilter.ResourceTypes is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ConfigurationSnapshotDelivery.TargetType',
+ 'errorMessage' => 'The specified parameter ConfigurationSnapshotDelivery.TargetType is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetArn',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.DeliveryTime',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetType',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetType',
+ 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.CustomExpression',
+ 'errorMessage' => 'Error: %s.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'CreateDeliveryChannel',
+ 'description' => 'Resource delivery supports the scheduled delivery of resource snapshots and the delivery of resource configuration changes.'."\n"
+ ."\n"
+ .'Scheduled delivery of resource snapshots supports two scenarios:'."\n"
+ ."\n"
+ .'- Standard delivery: Leave the `ResourceSnapshotDelivery.CustomExpression` parameter empty.'."\n"
+ ."\n"
+ .'- Custom delivery: Set the `ResourceSnapshotDelivery.CustomExpression` parameter to an appropriate value.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:CreateDeliveryChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannelId\\": \\"dc-0bzhsqpn****\\",\\n \\"RequestId\\": \\"42A89312-0616-591E-B614-07BC87D3D\\"\\n}","type":"json"}]',
+ ],
+ 'CreateFilter' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'FilterName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the filter.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '我的筛选条件。',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'FilterConfiguration',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configurations of the filter.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '{'."\n"
+ .' "regions": [],'."\n"
+ .' "tagFilters": ['."\n"
+ .' [{ "type": "notContainTagKey", "tagKey": "xxx", "tagValue": "" }],'."\n"
+ .' [{ "tagKey": "xxx", "tagValue": "xxx" }]'."\n"
+ .' ],'."\n"
+ .' "resourceTypes": ['."\n"
+ .' "ACS::ECS::AutoSnapshotPolicy"'."\n"
+ .' ]'."\n"
+ .'}'."\n",
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'EEF1EE1F-50F6-5494-B3DA-8F597DEB31BF',
+ 'title' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.FilterConfiguration',
+ 'errorMessage' => 'The specified parameter FilterConfiguration is not valid.',
+ 'description' => 'The FilterConfiguration parameter is invalid.',
+ ],
+ [
+ 'errorCode' => 'AlreadyExists.FilterName',
+ 'errorMessage' => 'The filter name of current user already exists.',
+ 'description' => 'The name specified in the FilterName parameter already exists.',
+ ],
+ [
+ 'errorCode' => 'LengthExceedLimit.FilterConfiguration',
+ 'errorMessage' => 'The length of parameter FilterConfiguration exceed limit.',
+ 'description' => 'The length of the value specified for the FilterConfiguration parameter exceeds the upper limit.',
+ ],
+ [
+ 'errorCode' => 'LengthExceedLimit.FilterName',
+ 'errorMessage' => 'The length of parameter FilterName exceed limit.',
+ 'description' => 'The length of the value specified for the FilterName parameter exceeds the upper limit.',
+ ],
+ [
+ 'errorCode' => 'ExceedLimit.User.Filter',
+ 'errorMessage' => 'The maximum number of Filters is exceeded.',
+ 'description' => 'The number of specified filters exceeds the upper limit.',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.FilterName',
+ 'errorMessage' => 'The specified parameter FilterName is not valid.',
+ 'description' => 'The FilterName parameter is invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'CreateFilter',
+ 'summary' => 'Creates a filter.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'CreateFilter',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:CreateFilter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EEF1EE1F-50F6-5494-B3DA-8F597DEB31BF\\"\\n}","type":"json"}]',
+ ],
+ 'CreateMultiAccountDeliveryChannel' => [
+ 'summary' => 'Creates a multi-account delivery channel.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DeliveryChannelName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the delivery channel.',
+ 'type' => 'string',
+ 'required' => true,
+ 'title' => '',
+ 'example' => 'test-multi-account-delivery',
+ ],
+ ],
+ [
+ 'name' => 'DeliveryChannelDescription',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the delivery channel.',
+ 'type' => 'string',
+ 'required' => false,
+ 'title' => '',
+ 'example' => 'This is a description.',
+ ],
+ ],
+ [
+ 'name' => 'ResourceSnapshotDelivery',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The configurations for scheduled delivery of resource snapshots.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryTime' => [
+ 'description' => 'The delivery time.',
+ 'type' => 'string',
+ 'required' => false,
+ 'title' => '',
+ 'example' => '09:00Z',
+ ],
+ 'TargetArn' => [
+ 'description' => 'The Alibaba Cloud Resource Name (ARN) of the delivery destination. Valid values:'."\n"
+ ."\n"
+ .'- If you set `TargetType` to `OSS`, you must set `TargetArn` to the ARN of a OSS bucket that has a prefix of `resourcecenter-`. Example: `acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss`.'."\n"
+ .'- If you set `TargetType` to `SLS`, you must set `TargetArn` to the ARN of a SLS Logstore that has a prefix of `resourcecenter-`. Example: `acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls`.',
+ 'type' => 'string',
+ 'required' => false,
+ 'title' => '',
+ 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss',
+ ],
+ 'TargetType' => [
+ 'description' => 'The type of the delivery destination. Valid values:'."\n"
+ ."\n"
+ .'- `OSS` for standard delivery'."\n"
+ .'- `OSS` or `SLS` for custom delivery',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'SLS' => 'SLS',
+ 'OSS' => 'OSS',
+ ],
+ 'title' => '',
+ 'example' => 'OSS',
+ ],
+ 'CustomExpression' => [
+ 'description' => 'The custom expression.',
+ 'type' => 'string',
+ 'required' => false,
+ 'title' => '',
+ 'example' => 'select * from resources limit 100;'."\n",
+ ],
+ 'SlsProperties' => [
+ 'description' => 'The SLS configurations.',
+ 'type' => 'object',
+ 'properties' => [
+ 'OversizedDataOssTargetArn' => [
+ 'description' => 'The ARN of the delivery destination for oversized data.'."\n"
+ ."\n"
+ .'If the size of a resource configuration change event exceeds 1 MB, the event is delivered as an OSS object. You must enter the ARN of an OSS bucket that has a prefix of `resourcecenter-`.'."\n"
+ ."\n"
+ .'> This parameter takes effect only when you create a custom scheduled delivery task for resource snapshots. You do not need to specify this parameter when you create a standard scheduled delivery task for resource snapshots.',
+ 'type' => 'string',
+ 'required' => false,
+ 'title' => '',
+ 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceChangeDelivery',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The configurations for delivery of resource configuration change events.',
+ 'type' => 'object',
+ 'properties' => [
+ 'SlsProperties' => [
+ 'description' => 'The SLS configurations.',
+ 'type' => 'object',
+ 'properties' => [
+ 'OversizedDataOssTargetArn' => [
+ 'description' => 'The ARN of the delivery destination for oversized data.'."\n"
+ ."\n"
+ .'If the size of a resource configuration change event exceeds 1 MB, the event is delivered as an OSS object. You must enter the ARN of an OSS bucket that has a prefix of `resourcecenter-`.',
+ 'type' => 'string',
+ 'required' => false,
+ 'title' => '',
+ 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ ],
+ 'TargetArn' => [
+ 'description' => 'The ARN of the delivery destination. Valid values:'."\n"
+ ."\n"
+ .'- If you set `TargetType` to `OSS`, you must set `TargetArn` to the ARN of a OSS bucket that has a prefix of `resourcecenter-`.'."\n"
+ .'- If you set `TargetType` to `SLS`, you must set `TargetArn` to the ARN of a SLS Logstore that has a prefix of `resourcecenter-`.',
+ 'type' => 'string',
+ 'required' => false,
+ 'title' => '',
+ 'example' => 'acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls'."\n",
+ ],
+ 'TargetType' => [
+ 'description' => 'The type of the delivery destination.'."\n"
+ ."\n"
+ .'Valid value: `SLS`.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'SLS' => 'SLS',
+ ],
+ 'title' => '',
+ 'example' => 'SLS',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'DeliveryChannelFilter',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The effective scope of the delivery channel.',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountScopes' => [
+ 'description' => 'The account scopes of the delivery channel.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The account scope of the delivery channel. Valid values:'."\n"
+ ."\n"
+ .'- The ID of a resource directory. This value specifies that the resources of the management account and all members of the resource directory are delivered.'."\n"
+ .'- The ID of the Root folder. This value specifies that the resources of all members in the Root folder and its subfolders are delivered.'."\n"
+ .'- The ID of a folder. This value specifies that the resources of all members in the folder are delivered.'."\n"
+ .'- The ID of a member. This value specifies that the resources of the member are delivered.'."\n"
+ ."\n"
+ .'For more information about how to obtain the ID of a resource directory, folder, member or the Root folder, see [GetResourceDirectory](~~159995~~), [ListFoldersForParent](~~159997~~), and [ListAccounts](~~160016~~).',
+ 'type' => 'string',
+ 'required' => true,
+ 'title' => '',
+ 'example' => 'rd-r4****'."\n",
+ ],
+ 'required' => true,
+ 'title' => '',
+ ],
+ 'ResourceTypes' => [
+ 'description' => 'The effective resource type of the delivery channel.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The resource type. For more information, see [Alibaba Cloud services and resource types that are supported by Resource Center](~~477798~~).'."\n"
+ ."\n"
+ .'To deliver all resource types supported by Resource Center, set this parameter to `ALL`.',
+ 'type' => 'string',
+ 'required' => false,
+ 'title' => '',
+ 'example' => 'ACS::VPC::VPC'."\n",
+ ],
+ 'required' => false,
+ 'title' => '',
+ ],
+ ],
+ 'required' => true,
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryChannelId' => [
+ 'description' => 'The delivery channel ID.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'dc-6q79dm4o9***',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => '994BFEFE-4BB5-5A27-8917-4583DEEF2***',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission.ServiceLinkedRole',
+ 'errorMessage' => 'The current user does not have permission to create servicelinkedrole. Please contact the Alibaba Cloud account or administrator to authorize custom policy: Service Name: rmc.resourcemanager.aliyuncs.com, Action: ram:CreateServiceLinkedRole.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetArn',
+ 'errorMessage' => 'The resource configuration change delivery target arn is invalid.',
+ 'description' => '',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'ExceedLimit.DeliveryChannelQuota',
+ 'errorMessage' => 'The number of delivery channels exceeds the limit.',
+ 'description' => 'The number of delivery channels exceeds the limit.',
+ ],
+ [
+ 'errorCode' => 'NoPermission.AccountScope',
+ 'errorMessage' => 'The operator is not permitted for this account scope.',
+ 'description' => 'The operator is not permitted for this account scope.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'MissingParameter.DeliveryName',
+ 'errorMessage' => 'The specified parameter DeliveryName is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.OverSizedDataOssTargetArn',
+ 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.DeliveryFilter',
+ 'errorMessage' => 'The specified parameter DeliveryFilter is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.DeliveryFilter.AccountScopes',
+ 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetType',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetArn',
+ 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetType',
+ 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetArn',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceDeliveryConfiguration',
+ 'errorMessage' => 'The parameter ResourceSnapshotDelivery or ResourceChangeDelivery must be specified.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.CustomExpression',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.CustomExpression is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.DeliveryTime',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is missing.',
+ 'description' => '',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'AlreadyExists.DeliveryName',
+ 'errorMessage' => 'The DeliveryName Name already exists.',
+ 'description' => 'The delivery name already exists.',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryName',
+ 'errorMessage' => 'The specified parameter DeliveryName is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryDescription',
+ 'errorMessage' => 'The specified parameter DeliveryDescription is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.OverSizedDataOssTargetArn',
+ 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryFilter.AccountScopes',
+ 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is not valid.',
+ 'description' => 'The specified parameter DeliveryFilter.AccountScopes is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryFilter.ResourceTypes',
+ 'errorMessage' => 'The specified parameter DeliveryFilter.ResourceTypes is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ConfigurationSnapshotDelivery.TargetType',
+ 'errorMessage' => 'The specified parameter ConfigurationSnapshotDelivery.TargetType is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetArn',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.DeliveryTime',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetType',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetType',
+ 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
+ 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.CustomExpression',
+ 'errorMessage' => 'Error: %s.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannelId\\": \\"dc-6q79dm4o9***\\",\\n \\"RequestId\\": \\"994BFEFE-4BB5-5A27-8917-4583DEEF2***\\"\\n}","type":"json"}]',
+ 'title' => 'CreateMultiAccountDeliveryChannel',
+ 'description' => 'In Resource Center, you can create multi-account delivery channels by using the management account of your resource directory or the delegated administrator account of Resource Center to deliver resource configuration change events and scheduled resource snapshots within the members in your resource directory to Object Storage Service (OSS) or Simple Log Service (SLS). Then, other Alibaba Cloud services consume standardized resource information from OSS or Simple Log Service.'."\n"
+ ."\n"
+ .'Scheduled resource snapshots support the following delivery scenarios:'."\n"
+ ."\n"
+ .'- Standard delivery: Leave the `ResourceSnapshotDelivery.CustomExpression` parameter empty.'."\n"
+ .'- Custom delivery: Set the `ResourceSnapshotDelivery.CustomExpression` parameter to an appropriate value.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:CreateMultiAccountDeliveryChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ ],
+ 'CreateSavedQuery' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the template.'."\n"
+ ."\n"
+ .'- The name must be 1 to 64 characters in length.'."\n"
+ ."\n"
+ .'- The name can contain letters, digits, underscores (\\_), and hyphens (-).'."\n"
+ ."\n"
+ .'- The template name must be unique.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '查询我的所有资源。',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'Expression',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The expression of the template.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'SELECT * FROM resources;',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the template.'."\n"
+ ."\n"
+ .'The description must be 1 to 256 characters in length.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '查询所有资源。',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'QueryId' => [
+ 'description' => 'The template ID.',
+ 'type' => 'string',
+ 'example' => 'cq-GeAck****',
+ 'title' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'EFA806B9-7F36-55AB-8B7A-D680C2C5EE57',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'LengthExceedLimit.Description',
+ 'errorMessage' => 'The length of parameter Description exceed limit.',
+ 'description' => 'The length of the query template description exceeds the limit.',
+ ],
+ [
+ 'errorCode' => 'LengthExceedLimit.Expression',
+ 'errorMessage' => 'The length of parameter Expression exceed limit.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'LengthExceedLimit.Name',
+ 'errorMessage' => 'The length of parameter Name exceed limit.',
+ 'description' => 'The length of the query template name exceeds the limit.',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.Name',
+ 'errorMessage' => 'The specified parameter Name is not valid.',
+ 'description' => 'The query template name is invalid.',
+ ],
+ [
+ 'errorCode' => 'AlreadyExists.Name',
+ 'errorMessage' => 'The Query Template Name already exists.',
+ 'description' => 'The query template name already exists.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'CreateSavedQuery',
+ 'summary' => 'Creates a custom query template.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '50',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'CreateSavedQuery',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:CreateSavedQuery',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"QueryId\\": \\"cq-GeAck****\\",\\n \\"RequestId\\": \\"EFA806B9-7F36-55AB-8B7A-D680C2C5EE57\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteDeliveryChannel' => [
+ 'summary' => 'Deletes a single-account delivery channel.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DeliveryChannelId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the delivery channel.',
+ 'type' => 'string',
+ 'required' => true,
+ 'title' => '',
+ 'example' => 'dc-6q79dm4o9***',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'AD5F848D-CCDC-5464-93E1-4BA50A482***',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ [
+ 'errorCode' => 'NotExists.DeliveryChannelId',
+ 'errorMessage' => 'The DeliveryChannelId does not exist.',
+ 'description' => 'The DeliveryChannelId does not exist.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryChannelId',
+ 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'DeleteDeliveryChannel',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:DeleteDeliveryChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD5F848D-CCDC-5464-93E1-4BA50A482***\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteFilter' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'FilterName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the filter.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '我的筛选条件',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'A4A63E3C-89EC-51F9-9934-C9AF1BCBAAA5',
+ 'title' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 409 => [
+ [
+ 'errorCode' => 'NotExists.FilterName',
+ 'errorMessage' => 'The filter name of current user not exists.',
+ 'description' => 'The object indicated by the FilterName parameter does not exist.',
+ ],
+ [
+ 'errorCode' => 'LengthExceedLimit.FilterName',
+ 'errorMessage' => 'The length of parameter FilterName exceed limit.',
+ 'description' => 'The length of the value specified for the FilterName parameter exceeds the upper limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'DeleteFilter',
+ 'summary' => 'Deletes a filter.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'DeleteFilter',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:DeleteFilter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A4A63E3C-89EC-51F9-9934-C9AF1BCBAAA5\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteMultiAccountDeliveryChannel' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DeliveryChannelId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the delivery channel.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'dc-0bzhsqpnkxxx',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => '3C5CDBF6-4DB7-53E9-ADDC-5919E3FAC***',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 403 => [
+ [
+ 'errorCode' => 'NoPermission.AccountScope',
+ 'errorMessage' => 'The operator is not permitted for this account scope.',
+ 'description' => 'The operator is not permitted for this account scope.',
+ ],
+ [
+ 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
+ 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
+ 'description' => 'You are not allowed to use a member of a resource directory to perform this operation. Use the management account of the resource directory to perform the operation.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'NotExists.DeliveryChannelId',
+ 'errorMessage' => 'The DeliveryChannelId does not exist.',
+ 'description' => 'The DeliveryChannelId does not exist.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryChannelId',
+ 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'DeleteMultiAccountDeliveryChannel',
+ 'summary' => 'Deletes a multi-account delivery channel.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:DeleteMultiAccountDeliveryChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3C5CDBF6-4DB7-53E9-ADDC-5919E3FAC***\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteSavedQuery' => [
+ 'summary' => 'Deletes a custom query template.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'QueryId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the template.'."\n"
+ ."\n"
+ .'You can call the [ListSavedQueries](~~ListSavedQueries~~) operation to obtain the template ID.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'sq-GeAck****',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'D170D58E-6256-5344-8F5E-922EC9ECB7EA',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'NotExists.QueryId',
+ 'errorMessage' => 'The QueryId does not exist.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'DeleteSavedQuery',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '50',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'DeleteSavedQuery',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:DeleteSavedQuery',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D170D58E-6256-5344-8F5E-922EC9ECB7EA\\"\\n}","type":"json"}]',
+ ],
+ 'DisableMultiAccountResourceCenter' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '4951F920-48DB-5731-96AA-3A7C8AE617D9',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'NotExists.ResourceDirectory',
+ 'errorMessage' => 'The resource directory for the account is not enabled.',
+ 'description' => 'No resource directory is enabled for the account.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
+ 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'DisableConflict.DeliveryChannel',
+ 'errorMessage' => 'ResourceCenter cannot be disabled because there are active delivery channels.',
+ 'description' => 'ResourceCenter cannot be disabled because there are active delivery channels.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4951F920-48DB-5731-96AA-3A7C8AE617D9\\"\\n}","type":"json"}]',
+ 'title' => 'DisableMultiAccountResourceCenter',
+ 'summary' => 'Disables the cross-account resource search feature by using the management account of a resource directory or a delegated administrator account of Resource Center.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '5',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'DisableMultiAccountResourceCenter',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:DisableMultiAccountResourceCenter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DisableResourceCenter' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D170D58E-6256-5344-8F5E-922EC9ECB7EA',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'ServiceNotEnabled',
+ 'errorMessage' => 'ResourceCenter Service is not enabled.',
+ 'description' => 'The Resource Meta Center (RMC) service is not activated.',
+ ],
+ [
+ 'errorCode' => 'DiscoveryInProgress',
+ 'errorMessage' => 'A discovery task is in progress. Please wait for a while and check the result again.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'DependencyViolation.ResourceGroup',
+ 'errorMessage' => 'Unable to disable resource center while associate transfer is enabled.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'DependencyViolation.Config',
+ 'errorMessage' => 'ResourceCenter cannot be disabled, because the Config has been enabled.',
+ 'description' => '',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'NotExists.Account',
+ 'errorMessage' => 'The specified account does not exist.',
+ 'description' => 'The specified account does not exist.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'DisableConflict.MultiAccount',
+ 'errorMessage' => 'ResourceDirectory management account or delegated administrator account has enabled multi account ResourceCenter, you cannot disable ResourceCenter.',
+ 'description' => 'You cannot deactivate Resource Center because the cross-account resource search feature is enabled by using the management account of the resource directory or a delegated administrator account of Resource Center.',
+ ],
+ [
+ 'errorCode' => 'DisableConflict.DeliveryChannel',
+ 'errorMessage' => 'ResourceCenter cannot be disabled because there are active delivery channels.',
+ 'description' => 'ResourceCenter cannot be disabled because there are active delivery channels.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D170D58E-6256-5344-8F5E-922EC9ECB7EA\\"\\n}","type":"json"}]',
+ 'title' => 'DisableResourceCenter',
+ 'summary' => 'Deactivates the Resource Center service.',
+ 'changeSet' => [
+ [
+ 'createdAt' => '2024-03-21T08:15:55.000Z',
+ 'description' => 'Error codes changed',
+ ],
+ [
+ 'createdAt' => '2023-05-10T11:04:31.000Z',
+ 'description' => 'Error codes changed',
+ ],
+ [
+ 'createdAt' => '2023-03-08T03:30:26.000Z',
+ 'description' => 'Error codes changed',
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '5',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'DisableResourceCenter',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:DisableResourceCenter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DisassociateDefaultFilter' => [
+ 'summary' => 'Cancels the default filter.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'BCAB07BA-82FA-5DC0-9322-FB7ED726481D',
+ 'title' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ [
+ 'errorCode' => 'NotExists.DefaultFilter',
+ 'errorMessage' => 'The default filter of current user not exists.',
+ 'description' => 'The default filter of current user not exists.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'DisassociateDefaultFilter',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'DisassociateDefaultFilter',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:DisassociateDefaultFilter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BCAB07BA-82FA-5DC0-9322-FB7ED726481D\\"\\n}","type":"json"}]',
+ ],
+ 'EnableMultiAccountResourceCenter' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREentconsoleFSBNKB',
+ ],
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '767038B7-2027-5508-858B-E213232D57D5',
+ ],
+ 'Status' => [
+ 'description' => 'The status of the feature. Valid values:'."\n"
+ ."\n"
+ .'* Pending: The feature is being enabled.'."\n"
+ .'* Enabled: The feature is enabled.'."\n",
+ 'type' => 'string',
+ 'example' => 'Pending',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'NotExists.ResourceDirectory',
+ 'errorMessage' => 'The resource directory for the account is not enabled.',
+ 'description' => 'No resource directory is enabled for the account.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
+ 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'NotSupport.Account.Site',
+ 'errorMessage' => 'The caller is not a current site account, which is not supported.',
+ 'description' => 'You are not allowed to use the account to perform operations at the current site.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"767038B7-2027-5508-858B-E213232D57D5\\",\\n \\"Status\\": \\"Pending\\"\\n}","type":"json"}]',
+ 'title' => 'EnableMultiAccountResourceCenter',
+ 'summary' => 'Enables the cross-account resource search feature by using the management account of a resource directory or a delegated administrator account of Resource Center.',
+ 'description' => 'If you have created a resource directory for your enterprise, you can enable the cross-account resource search feature by using the management account of the resource directory or a delegated administrator account of Resource Center to view the resources of members in the resource directory. For more information about a resource directory, see [Resource Directory overview](~~200506~~).'."\n",
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '5',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'EnableMultiAccountResourceCenter',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:EnableMultiAccountResourceCenter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'EnableResourceCenter' => [
+ 'summary' => 'Activates the Resource Center service.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => '45357BEF-AB50-5E4D-B05D-5A882A4BE924',
+ 'title' => '',
+ ],
+ 'Status' => [
+ 'description' => 'The activation status of the service. Valid values:'."\n"
+ ."\n"
+ .'- Pending: The service is being activated.'."\n"
+ ."\n"
+ .'- Enabled: The service is activated.',
+ 'type' => 'string',
+ 'example' => 'Pending',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission.ServiceLinkedRole',
+ 'errorMessage' => 'The current user does not have permission to create servicelinkedrole. Please contact the Alibaba Cloud account or administrator to authorize custom policy: Service Name: rmc.resourcemanager.aliyuncs.com, Action: ram:CreateServiceLinkedRole.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.AccountId',
+ 'errorMessage' => 'The specified parameter AccountId is not valid.',
+ 'description' => 'The AccountId parameter is invalid.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'NotSupport.Account.Site',
+ 'errorMessage' => 'The caller is not a current site account, which is not supported.',
+ 'description' => 'You are not allowed to use the account to perform operations at the current site.',
+ ],
+ [
+ 'errorCode' => 'Conflict.ServiceStatus',
+ 'errorMessage' => 'The service status conflict occurred due to frequent service enabled and disabled.',
+ 'description' => 'The resource center is opened and closed too frequently, and the service status conflicts.',
+ ],
+ ],
+ ],
+ 'title' => 'EnableResourceCenter',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '5',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'EnableResourceCenter',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:EnableResourceCenter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"45357BEF-AB50-5E4D-B05D-5A882A4BE924\\",\\n \\"Status\\": \\"Pending\\"\\n}","type":"json"}]',
+ ],
+ 'ExecuteMultiAccountSQLQuery' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Expression',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The SQL statement to be executed.'."\n"
+ ."\n"
+ .'The number of characters in the SQL statement must be less than 2,000.'."\n"
+ ."\n"
+ .'For more information about the SQL syntax, see [Basic SQL syntax](~~2539395~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'SELECT * FROM resources LIMIT 100;',
+ ],
+ ],
+ [
+ 'name' => 'Scope',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The search scope. The value of this parameter can be one of the following items:'."\n"
+ ."\n"
+ .'* ID of a resource directory: Resources within the management account and all members of the resource directory are searched.'."\n"
+ .'* ID of the Root folder: Resources within all members in the Root folder and the subfolders of the Root folder are searched.'."\n"
+ .'* ID of a folder: Resources within all members in the folder are searched.'."\n"
+ .'* ID of a member: Resources within the member are searched.'."\n"
+ .'* ID of a member/ID of a Resource group: Resources within the member in the resource group are searched.'."\n"
+ ."\n"
+ .'For more information about how to obtain the ID of a resource directory, the Root folder, a folder, a member, or a resource group, see [GetResourceDirectory](~~159995~~), [ListFoldersForParent](~~159997~~), [ListFoldersForParent](~~159997~~), [ListAccounts](~~160016~~), or [ListResourceGroups](~~158855~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'rd-r4****',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of entries to return on each page.'."\n"
+ ."\n"
+ .'Valid values: 1 to 1000.'."\n"
+ ."\n"
+ .'Default value: 1000.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '1000',
+ 'minimum' => '1',
+ 'example' => '1000',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'."\n",
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Columns' => [
+ 'description' => 'The columns.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => 'The name of the column.'."\n",
+ 'type' => 'string',
+ 'example' => 'resource_id',
+ ],
+ 'Type' => [
+ 'description' => 'The type of the column.'."\n",
+ 'type' => 'string',
+ 'example' => 'varchar',
+ ],
+ ],
+ ],
+ ],
+ 'MaxResults' => [
+ 'description' => 'The number of entries per page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1000',
+ ],
+ 'NextToken' => [
+ 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n",
+ 'type' => 'string',
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'."\n",
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '44C8A952-D6B0-5BC8-82D5-93BA02E26F2E',
+ ],
+ 'Rows' => [
+ 'description' => 'An array of search results.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the row.'."\n",
+ 'type' => 'any',
+ 'example' => '['."\n"
+ .' "vsw-xxx“'."\n"
+ .']',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'NoPermission.AccountScope',
+ 'errorMessage' => 'The operator is not permitted for this account scope.',
+ 'description' => 'The operator is not permitted for this account scope.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'NotExists.ResourceDirectory',
+ 'errorMessage' => 'The resource directory for the account is not enabled.',
+ 'description' => 'No resource directory is enabled for the account.',
+ ],
+ [
+ 'errorCode' => 'NotExists.ResourceDirectory.FolderId',
+ 'errorMessage' => 'The specified folder does not exist.',
+ 'description' => 'The specified folder does not exist.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'ExceedLimit.ExecuteTime',
+ 'errorMessage' => 'The execution time has exceeded the limit. Please check for complex queries or large data volume, and optimize accordingly.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'SQLExecuteError',
+ 'errorMessage' => 'Failed to execute the SQL statement.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidSearch.SQL',
+ 'errorMessage' => 'Error: %s',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.Scope',
+ 'errorMessage' => 'The Scope is invalid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'ServiceNotEnabled.SpecifiedAccount',
+ 'errorMessage' => 'ResourceCenter service of the specified account is not enabled.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.NextToken',
+ 'errorMessage' => 'The specified parameter NextToken is not valid.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Columns\\": [\\n {\\n \\"Name\\": \\"resource_id\\",\\n \\"Type\\": \\"varchar\\"\\n }\\n ],\\n \\"MaxResults\\": 1000,\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\\\n\\",\\n \\"RequestId\\": \\"44C8A952-D6B0-5BC8-82D5-93BA02E26F2E\\",\\n \\"Rows\\": [\\n \\"[\\\\n \\\\\\"vsw-xxx“\\\\n]\\"\\n ]\\n}","type":"json"}]',
+ 'title' => 'ExecuteMultiAccountSQLQuery',
+ 'summary' => 'Executes an SQL statement to query resources across accounts.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '3',
+ 'countWindow' => 5,
+ 'regionId' => '*',
+ 'api' => 'ExecuteMultiAccountSQLQuery',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:ExecuteMultiAccountSQLQuery',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ExecuteSQLQuery' => [
+ 'summary' => 'Executes an SQL statement to query the resources that can be accessed within the current account.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Expression',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The SQL statement to be executed.'."\n"
+ ."\n"
+ .'The number of characters in the SQL statement must be less than 2,000.'."\n"
+ ."\n"
+ .'For more information about the SQL syntax, see [Basic SQL syntax](~~2539395~~).',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'SELECT * FROM resources LIMIT 100;',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'Scope',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The search scope.'."\n"
+ ."\n"
+ .'Set this parameter to the ID of a resource group.'."\n"
+ ."\n"
+ .'For information about how to obtain the ID of a resource group, see [ListResourceGroups](~~158855~~).',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rg-acfmzawhxxc****',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries per page.'."\n"
+ ."\n"
+ .'- Valid values: 1 to 1000.'."\n"
+ ."\n"
+ .'- Default value: 1000.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'maximum' => '1000',
+ 'minimum' => '1',
+ 'required' => false,
+ 'example' => '1000',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The returned result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Columns' => [
+ 'description' => 'The columns.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => 'The name of the column.',
+ 'type' => 'string',
+ 'example' => 'resource_id',
+ 'title' => '',
+ ],
+ 'Type' => [
+ 'description' => 'The type of the column.',
+ 'type' => 'string',
+ 'example' => 'varchar',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'MaxResults' => [
+ 'description' => 'The number of entries per page.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1000',
+ 'title' => '',
+ ],
+ 'NextToken' => [
+ 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.',
+ 'type' => 'string',
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'."\n",
+ 'title' => '',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'D696E6EF-3A6D-5770-801E-4982081FE4D0',
+ ],
+ 'Rows' => [
+ 'description' => 'An array of search results.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the row.',
+ 'type' => 'any',
+ 'example' => '['."\n"
+ .' "vsw-xxx" '."\n"
+ .']',
+ 'title' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 409 => [
+ [
+ 'errorCode' => 'ExceedLimit.ExecuteTime',
+ 'errorMessage' => 'The execution time has exceeded the limit. Please check for complex queries or large data volume, and optimize accordingly.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'SQLExecuteError',
+ 'errorMessage' => 'Failed to execute the SQL statement.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidSearch.SQL',
+ 'errorMessage' => 'Error: %s',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.Scope',
+ 'errorMessage' => 'The Scope is invalid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'LengthExceedLimit.Expression',
+ 'errorMessage' => 'The length of parameter Expression exceed limit.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.NextToken',
+ 'errorMessage' => 'The specified parameter NextToken is not valid.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'ExecuteSQLQuery',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '3',
+ 'countWindow' => 5,
+ 'regionId' => '*',
+ 'api' => 'ExecuteSQLQuery',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:ExecuteSQLQuery',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Columns\\": [\\n {\\n \\"Name\\": \\"resource_id\\",\\n \\"Type\\": \\"varchar\\"\\n }\\n ],\\n \\"MaxResults\\": 1000,\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\\\n\\",\\n \\"RequestId\\": \\"D696E6EF-3A6D-5770-801E-4982081FE4D0\\",\\n \\"Rows\\": [\\n \\"[\\\\n \\\\\\"vsw-xxx\\\\\\" \\\\n]\\"\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetDeliveryChannel' => [
+ 'summary' => 'Queries the information about a delivery channel within the current account.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREentconsole6ULZDO',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DeliveryChannelId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the delivery channel.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dc-6q79dm4o9***',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryChannelDescription' => [
+ 'description' => 'The description of the delivery channel.',
+ 'type' => 'string',
+ 'example' => 'This is a description.',
+ 'title' => '',
+ ],
+ 'DeliveryChannelFilter' => [
+ 'description' => 'The effective scope of the delivery channel.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceTypes' => [
+ 'description' => 'The resource types that are delivered.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The type of a resource.',
+ 'type' => 'string',
+ 'example' => 'ACS::VPC::VPC',
+ 'title' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'DeliveryChannelId' => [
+ 'description' => 'The ID of the delivery channel.',
+ 'type' => 'string',
+ 'example' => 'dc-6q79dm4o9***',
+ 'title' => '',
+ ],
+ 'DeliveryChannelName' => [
+ 'description' => 'The name of the delivery channel.',
+ 'type' => 'string',
+ 'example' => 'test-delivery-channel',
+ 'title' => '',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => '17502A1B-7026-5551-8E1C-CCABD0CBC***',
+ ],
+ 'ResourceChangeDelivery' => [
+ 'description' => 'The settings for delivering resource configuration changes.',
+ 'type' => 'object',
+ 'properties' => [
+ 'SlsProperties' => [
+ 'description' => 'The Simple Log Service (SLS) configurations.',
+ 'type' => 'object',
+ 'properties' => [
+ 'OversizedDataOssTargetArn' => [
+ 'description' => 'The Alibaba Cloud Resource Name (ARN) of the Object Storage Service (OSS) bucket to which oversized data is delivered.',
+ 'type' => 'string',
+ 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'TargetArn' => [
+ 'description' => 'The ARN of the delivery destination.',
+ 'type' => 'string',
+ 'example' => 'acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls',
+ 'title' => '',
+ ],
+ 'TargetType' => [
+ 'description' => 'The type of the delivery destination.',
+ 'type' => 'string',
+ 'example' => 'SLS',
+ 'title' => '',
+ ],
+ 'Enabled' => [
+ 'description' => 'Indicates whether to deliver resource configuration changes.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'- true'."\n"
+ ."\n"
+ .'- false',
+ 'type' => 'string',
+ 'example' => 'true',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ResourceSnapshotDelivery' => [
+ 'description' => 'The settings for the scheduled delivery of resource snapshots.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryTime' => [
+ 'description' => 'The time when resource snapshots are delivered.',
+ 'type' => 'string',
+ 'example' => '09:00Z',
+ 'title' => '',
+ ],
+ 'TargetArn' => [
+ 'description' => 'The ARN of the delivery destination.',
+ 'type' => 'string',
+ 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'."\n",
+ 'title' => '',
+ ],
+ 'TargetType' => [
+ 'description' => 'The type of the delivery destination.',
+ 'type' => 'string',
+ 'example' => 'OSS',
+ 'title' => '',
+ ],
+ 'CustomExpression' => [
+ 'description' => 'The custom expression.',
+ 'type' => 'string',
+ 'example' => 'select * from resources limit 100;',
+ 'title' => '',
+ ],
+ 'SlsProperties' => [
+ 'description' => 'The SLS configurations.',
+ 'type' => 'object',
+ 'properties' => [
+ 'OversizedDataOssTargetArn' => [
+ 'description' => 'The ARN of the OSS bucket to which oversized data is delivered.',
+ 'type' => 'string',
+ 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Enabled' => [
+ 'description' => 'Indicates whether to enable the scheduled delivery of resource snapshots.'."\n"
+ ."\n"
+ .'Valid values:'."\n"
+ ."\n"
+ .'- true'."\n"
+ ."\n"
+ .'- false',
+ 'type' => 'string',
+ 'example' => 'true',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ [
+ 'errorCode' => 'NotExists.DeliveryChannelId',
+ 'errorMessage' => 'The DeliveryChannelId does not exist.',
+ 'description' => 'The DeliveryChannelId does not exist.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryChannelId',
+ 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannelDescription\\": \\"This is a description.\\",\\n \\"DeliveryChannelFilter\\": {\\n \\"ResourceTypes\\": [\\n \\"ACS::VPC::VPC\\"\\n ]\\n },\\n \\"DeliveryChannelId\\": \\"dc-6q79dm4o9***\\",\\n \\"DeliveryChannelName\\": \\"test-delivery-channel\\",\\n \\"RequestId\\": \\"17502A1B-7026-5551-8E1C-CCABD0CBC***\\",\\n \\"ResourceChangeDelivery\\": {\\n \\"SlsProperties\\": {\\n \\"OversizedDataOssTargetArn\\": \\"acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss\\"\\n },\\n \\"TargetArn\\": \\"acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls\\",\\n \\"TargetType\\": \\"SLS\\",\\n \\"Enabled\\": \\"true\\"\\n },\\n \\"ResourceSnapshotDelivery\\": {\\n \\"DeliveryTime\\": \\"09:00Z\\",\\n \\"TargetArn\\": \\"acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss\\\\n\\",\\n \\"TargetType\\": \\"OSS\\",\\n \\"CustomExpression\\": \\"select * from resources limit 100;\\",\\n \\"SlsProperties\\": {\\n \\"OversizedDataOssTargetArn\\": \\"acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss\\"\\n },\\n \\"Enabled\\": \\"true\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'GetDeliveryChannel',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetDeliveryChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetDeliveryChannelStatistics' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DeliveryChannelId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the delivery channel.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'dc-6q79dm4o9***',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryChannelStatistics' => [
+ 'description' => 'The statistics of the delivery channel.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryChannelId' => [
+ 'description' => 'The ID of the delivery channel.',
+ 'type' => 'string',
+ 'example' => 'dc-6q79dm4o9***'."\n",
+ 'title' => '',
+ ],
+ 'DeliveryChannelName' => [
+ 'description' => 'The name of the delivery channel.',
+ 'type' => 'string',
+ 'example' => 'test-delivery-channel',
+ 'title' => '',
+ ],
+ 'LatestChangeDeliveryTime' => [
+ 'description' => 'The last time a resource configuration change was delivered.',
+ 'type' => 'string',
+ 'example' => '2025-06-03T16:05:15Z',
+ 'title' => '',
+ ],
+ 'LatestSnapshotDeliveryTime' => [
+ 'description' => 'The last time a scheduled resource snapshot was delivered.',
+ 'type' => 'string',
+ 'example' => '2025-06-03T16:00:00Z',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => '80DF0610-504C-56D7-BDCF-7C92FD687***',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ [
+ 'errorCode' => 'NotExists.DeliveryChannelId',
+ 'errorMessage' => 'The DeliveryChannelId does not exist.',
+ 'description' => 'The DeliveryChannelId does not exist.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryChannelId',
+ 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'GetDeliveryChannelStatistics',
+ 'summary' => 'Queries the statistics of a resource delivery channel in the current account.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetDeliveryChannelStatistics',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannelStatistics\\": {\\n \\"DeliveryChannelId\\": \\"dc-6q79dm4o9***\\\\n\\",\\n \\"DeliveryChannelName\\": \\"test-delivery-channel\\",\\n \\"LatestChangeDeliveryTime\\": \\"2025-06-03T16:05:15Z\\",\\n \\"LatestSnapshotDeliveryTime\\": \\"2025-06-03T16:00:00Z\\"\\n },\\n \\"RequestId\\": \\"80DF0610-504C-56D7-BDCF-7C92FD687***\\"\\n}","type":"json"}]',
+ ],
+ 'GetExampleQuery' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'QueryId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the template.'."\n"
+ ."\n"
+ .'> You can call the [ListExampleQueries](~~ListExampleQueries~~) operation to obtain the template ID.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'sq-0PfKy****',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The returned result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ExampleQuery' => [
+ 'description' => 'The information about the sample query template.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => [
+ 'description' => 'The description of the template.',
+ 'type' => 'string',
+ 'example' => '返回所有有权限的资源,并按照资源类型和资源ID排列。',
+ 'title' => '',
+ ],
+ 'Expression' => [
+ 'description' => 'The query statement in the template.',
+ 'type' => 'string',
+ 'example' => 'SELECT'."\n"
+ .' resource_id,'."\n"
+ .' resource_name,'."\n"
+ .' region_id,'."\n"
+ .' zone_id,'."\n"
+ .' resource_type,'."\n"
+ .' account_id,'."\n"
+ .' create_time,'."\n"
+ .' resource_group_id,'."\n"
+ .' tags,'."\n"
+ .' ip_addresses,'."\n"
+ .' vpc_id,'."\n"
+ .' v_switch_id'."\n"
+ .'FROM'."\n"
+ .' resources'."\n"
+ .'ORDER BY'."\n"
+ .' resource_type,'."\n"
+ .' resource_id'."\n"
+ .'LIMIT'."\n"
+ .' 1000 OFFSET 0;',
+ 'title' => '',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the template.',
+ 'type' => 'string',
+ 'example' => '列出所有阿里云资源',
+ 'title' => '',
+ ],
+ 'QueryId' => [
+ 'description' => 'The ID of the template.',
+ 'type' => 'string',
+ 'example' => 'sq-0PfKy****',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => '36A3D9BE-B607-5993-B546-7E19EF65DC00',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 409 => [
+ [
+ 'errorCode' => 'NotExists.QueryId',
+ 'errorMessage' => 'The QueryId does not exist.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'GetExampleQuery',
+ 'summary' => 'Queries the information about a sample query template.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '100',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'GetExampleQuery',
+ ],
+ ],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ExampleQuery\\": {\\n \\"Description\\": \\"返回所有有权限的资源,并按照资源类型和资源ID排列。\\",\\n \\"Expression\\": \\"SELECT\\\\n resource_id,\\\\n resource_name,\\\\n region_id,\\\\n zone_id,\\\\n resource_type,\\\\n account_id,\\\\n create_time,\\\\n resource_group_id,\\\\n tags,\\\\n ip_addresses,\\\\n vpc_id,\\\\n v_switch_id\\\\nFROM\\\\n resources\\\\nORDER BY\\\\n resource_type,\\\\n resource_id\\\\nLIMIT\\\\n 1000 OFFSET 0;\\",\\n \\"Name\\": \\"列出所有阿里云资源\\",\\n \\"QueryId\\": \\"sq-0PfKy****\\"\\n },\\n \\"RequestId\\": \\"36A3D9BE-B607-5993-B546-7E19EF65DC00\\"\\n}","type":"json"}]',
+ ],
+ 'GetMultiAccountDeliveryChannel' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DeliveryChannelId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the delivery channel.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dc-6q79dm4o9***',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryChannelDescription' => [
+ 'description' => 'The description of the delivery channel.',
+ 'type' => 'string',
+ 'example' => '投递描述',
+ 'title' => '',
+ ],
+ 'DeliveryChannelFilter' => [
+ 'description' => 'The effective scope of the delivery channel.',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountScopes' => [
+ 'description' => 'The accounts within the delivery scope.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The account within the delivery scope.',
+ 'type' => 'string',
+ 'example' => '1911422487776***'."\n",
+ 'title' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ResourceTypes' => [
+ 'description' => 'The types of delivered resources.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The type of the delivered resource.',
+ 'type' => 'string',
+ 'example' => 'ACS::VPC::VPC',
+ 'title' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'DeliveryChannelId' => [
+ 'description' => 'The ID of the delivery channel.',
+ 'type' => 'string',
+ 'example' => 'dc-6q79dm4o9***',
+ 'title' => '',
+ ],
+ 'DeliveryChannelName' => [
+ 'description' => 'The name of the delivery channel.',
+ 'type' => 'string',
+ 'example' => 'test-delivery-channel',
+ 'title' => '',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'FE3EAB47-D3A6-5FEA-8353-31C8C0D36***',
+ ],
+ 'ResourceChangeDelivery' => [
+ 'description' => 'The delivery of resource configuration changes.',
+ 'type' => 'object',
+ 'properties' => [
+ 'SlsProperties' => [
+ 'description' => 'The Simple Log Service (SLS) configuration.',
+ 'type' => 'object',
+ 'properties' => [
+ 'OversizedDataOssTargetArn' => [
+ 'description' => 'The ARN of the Object Storage Service (OSS) bucket to which oversized data is delivered.',
+ 'type' => 'string',
+ 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'TargetArn' => [
+ 'description' => 'The ARN of the delivery destination.',
+ 'type' => 'string',
+ 'example' => 'acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls',
+ 'title' => '',
+ ],
+ 'TargetType' => [
+ 'description' => 'The type of the delivery destination.',
+ 'type' => 'string',
+ 'example' => 'SLS',
+ 'title' => '',
+ ],
+ 'Enabled' => [
+ 'description' => 'Indicates whether to deliver resource configuration changes. Valid values:'."\n"
+ ."\n"
+ .'- true'."\n"
+ ."\n"
+ .'- false',
+ 'type' => 'string',
+ 'example' => 'true',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ResourceSnapshotDelivery' => [
+ 'description' => 'The configurations of scheduled delivery of resource snapshots.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryTime' => [
+ 'description' => 'The delivery time.',
+ 'type' => 'string',
+ 'example' => '09:00Z',
+ 'title' => '',
+ ],
+ 'TargetArn' => [
+ 'description' => 'The ARN of the delivery destination.',
+ 'type' => 'string',
+ 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'."\n",
+ 'title' => '',
+ ],
+ 'TargetType' => [
+ 'description' => 'The type of the delivery destination.',
+ 'type' => 'string',
+ 'example' => 'OSS',
+ 'title' => '',
+ ],
+ 'CustomExpression' => [
+ 'description' => 'The custom expression.',
+ 'type' => 'string',
+ 'example' => 'select * from resources limit 100;',
+ 'title' => '',
+ ],
+ 'SlsProperties' => [
+ 'description' => 'The SLS configuration.',
+ 'type' => 'object',
+ 'properties' => [
+ 'OversizedDataOssTargetArn' => [
+ 'description' => 'The ARN of the OSS bucket to which oversized data is delivered.',
+ 'type' => 'string',
+ 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Enabled' => [
+ 'description' => 'Indicates whether to enable the scheduled delivery of resource snapshots. Valid values:'."\n"
+ ."\n"
+ .'- true'."\n"
+ ."\n"
+ .'- false',
+ 'type' => 'string',
+ 'example' => 'true',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 403 => [
+ [
+ 'errorCode' => 'NoPermission.AccountScope',
+ 'errorMessage' => 'The operator is not permitted for this account scope.',
+ 'description' => 'The operator is not permitted for this account scope.',
+ ],
+ [
+ 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
+ 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
+ 'description' => 'You are not allowed to use a member of a resource directory to perform this operation. Use the management account of the resource directory to perform the operation.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'NotExists.DeliveryChannelId',
+ 'errorMessage' => 'The DeliveryChannelId does not exist.',
+ 'description' => 'The DeliveryChannelId does not exist.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryChannelId',
+ 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'GetMultiAccountDeliveryChannel',
+ 'summary' => 'Queries the information about a cross-account resource delivery channel.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetMultiAccountDeliveryChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannelDescription\\": \\"投递描述\\",\\n \\"DeliveryChannelFilter\\": {\\n \\"AccountScopes\\": [\\n \\"1911422487776***\\\\n\\"\\n ],\\n \\"ResourceTypes\\": [\\n \\"ACS::VPC::VPC\\"\\n ]\\n },\\n \\"DeliveryChannelId\\": \\"dc-6q79dm4o9***\\",\\n \\"DeliveryChannelName\\": \\"test-delivery-channel\\",\\n \\"RequestId\\": \\"FE3EAB47-D3A6-5FEA-8353-31C8C0D36***\\",\\n \\"ResourceChangeDelivery\\": {\\n \\"SlsProperties\\": {\\n \\"OversizedDataOssTargetArn\\": \\"acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss\\"\\n },\\n \\"TargetArn\\": \\"acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls\\",\\n \\"TargetType\\": \\"SLS\\",\\n \\"Enabled\\": \\"true\\"\\n },\\n \\"ResourceSnapshotDelivery\\": {\\n \\"DeliveryTime\\": \\"09:00Z\\",\\n \\"TargetArn\\": \\"acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss\\\\n\\",\\n \\"TargetType\\": \\"OSS\\",\\n \\"CustomExpression\\": \\"select * from resources limit 100;\\",\\n \\"SlsProperties\\": {\\n \\"OversizedDataOssTargetArn\\": \\"acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss\\"\\n },\\n \\"Enabled\\": \\"true\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetMultiAccountDeliveryChannelStatistics' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DeliveryChannelId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the delivery channel.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'dc-6q79dm4o9***',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryChannelStatistics' => [
+ 'description' => 'The statistics on the delivery channel.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryChannelId' => [
+ 'description' => 'The ID of the delivery channel.',
+ 'type' => 'string',
+ 'example' => 'dc-6q79dm4o9***'."\n",
+ 'title' => '',
+ ],
+ 'DeliveryChannelName' => [
+ 'description' => 'The name of the delivery channel.',
+ 'type' => 'string',
+ 'example' => 'test-multi-account-delivery',
+ 'title' => '',
+ ],
+ 'LatestChangeDeliveryTime' => [
+ 'description' => 'The last delivery time of resource configuration change events.',
+ 'type' => 'string',
+ 'example' => '2025-06-03T16:05:15Z',
+ 'title' => '',
+ ],
+ 'LatestSnapshotDeliveryTime' => [
+ 'description' => 'The last delivery time of scheduled resource snapshots.',
+ 'type' => 'string',
+ 'example' => '2025-06-03T16:00:00Z',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => '80DF0610-504C-56D7-BDCF-7C92FD687***'."\n",
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 403 => [
+ [
+ 'errorCode' => 'NoPermission.AccountScope',
+ 'errorMessage' => 'The operator is not permitted for this account scope.',
+ 'description' => 'The operator is not permitted for this account scope.',
+ ],
+ [
+ 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
+ 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
+ 'description' => 'You are not allowed to use a member of a resource directory to perform this operation. Use the management account of the resource directory to perform the operation.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'NotExists.DeliveryChannelId',
+ 'errorMessage' => 'The DeliveryChannelId does not exist.',
+ 'description' => 'The DeliveryChannelId does not exist.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryChannelId',
+ 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'GetMultiAccountDeliveryChannelStatistics',
+ 'summary' => 'Queries the statistics on a multi-account delivery channel.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetMultiAccountDeliveryChannelStatistics',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannelStatistics\\": {\\n \\"DeliveryChannelId\\": \\"dc-6q79dm4o9***\\\\n\\",\\n \\"DeliveryChannelName\\": \\"test-multi-account-delivery\\",\\n \\"LatestChangeDeliveryTime\\": \\"2025-06-03T16:05:15Z\\",\\n \\"LatestSnapshotDeliveryTime\\": \\"2025-06-03T16:00:00Z\\"\\n },\\n \\"RequestId\\": \\"80DF0610-504C-56D7-BDCF-7C92FD687***\\\\n\\"\\n}","type":"json"}]',
+ ],
+ 'GetMultiAccountResourceCenterServiceStatus' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREentconsole43MR20',
+ ],
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'InitialStatus' => [
+ 'description' => 'The initialization status of the feature. Valid values:'."\n"
+ ."\n"
+ .'* Pending: The feature is being initialized.'."\n"
+ .'* Finished: The feature is initialized.'."\n",
+ 'type' => 'string',
+ 'example' => 'Pending',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '81671397-1425-51F1-A144-4799E01BEBFF',
+ ],
+ 'ServiceStatus' => [
+ 'description' => 'The status of the feature. Valid values:'."\n"
+ ."\n"
+ .'* Enabled: The feature is enabled.'."\n"
+ .'* Disabled: The feature is disabled.'."\n",
+ 'type' => 'string',
+ 'example' => 'Enabled',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MultiAccountServiceNotEnabled',
+ 'errorMessage' => 'Mulit account ResourceCenter service is not enabled.',
+ 'description' => '',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'NotExists.ResourceDirectory',
+ 'errorMessage' => 'The resource directory for the account is not enabled.',
+ 'description' => 'No resource directory is enabled for the account.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.Scope',
+ 'errorMessage' => 'The Scope is invalid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
+ 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InitialStatus\\": \\"Pending\\",\\n \\"RequestId\\": \\"81671397-1425-51F1-A144-4799E01BEBFF\\",\\n \\"ServiceStatus\\": \\"Enabled\\"\\n}","type":"json"}]',
+ 'title' => 'GetMultiAccountResourceCenterServiceStatus',
+ 'summary' => 'Queries the status of the cross-account resource search feature by using the management account of a resource directory or a delegated administrator account of Resource Center.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'GetMultiAccountResourceCenterServiceStatus',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetMultiAccountResourceCenterServiceStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetMultiAccountResourceConfiguration' => [
+ 'summary' => 'Queries the configurations of a resource within the management account or a member of a resource directory.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AccountId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the management account or member.',
+ 'type' => 'string',
+ 'required' => true,
+ 'title' => '',
+ 'example' => '1619302****',
+ ],
+ ],
+ [
+ 'name' => 'ResourceRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the region where the resource resides.',
+ 'type' => 'string',
+ 'required' => true,
+ 'title' => '',
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource type.',
+ 'type' => 'string',
+ 'required' => true,
+ 'title' => '',
+ 'example' => 'ACS::VPC::RouteTable',
+ ],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource ID.',
+ 'type' => 'string',
+ 'required' => true,
+ 'title' => '',
+ 'example' => 'm-eb3hji****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'description' => 'The ID of the management account or member.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => '1619302****',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the resource was created.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => '2023-02-14T03:12:11Z',
+ ],
+ 'ExpireTime' => [
+ 'description' => 'The time when the resource expires.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => '2023-09-18T07:04:21Z',
+ ],
+ 'IpAddressAttributes' => [
+ 'description' => 'The properties of the IP addresses.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The properties of the IP address.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Version' => [
+ 'description' => 'The version of the IP address.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'Ipv4',
+ ],
+ 'NetworkType' => [
+ 'description' => 'The network type. Valid values:'."\n"
+ ."\n"
+ .'- **Public**: Internet'."\n"
+ ."\n"
+ .'- **Private**: internal network',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'Public',
+ ],
+ 'IpAddress' => [
+ 'description' => 'The IP address.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => '172.27.199.42',
+ ],
+ ],
+ 'title' => '',
+ ],
+ 'title' => '',
+ ],
+ 'IpAddresses' => [
+ 'description' => 'The IP addresses.'."\n"
+ ."\n"
+ .'> Whether this parameter is returned is determined by the Alibaba Cloud service to which the resource belongs.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The IP address.'."\n"
+ ."\n"
+ .'> Whether this parameter is returned is determined by the Alibaba Cloud service to which the resource belongs.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => '[\'192.168.1.2\']',
+ ],
+ 'title' => '',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region where the resource resides.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'cn-shanghai',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'B2DCC08B-C12A-5705-879C-5A1450016156',
+ ],
+ 'ResourceGroupId' => [
+ 'description' => 'The ID of your Alibaba Cloud resource group.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'rg-acfmzy6d****',
+ ],
+ 'ResourceId' => [
+ 'description' => 'The resource ID.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'm-eb3hji****',
+ ],
+ 'ResourceName' => [
+ 'description' => 'The resource name.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'test_resource',
+ ],
+ 'ResourceType' => [
+ 'description' => 'The resource type.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'ACS::VPC::RouteTable',
+ ],
+ 'Tags' => [
+ 'description' => 'The tags.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'description' => 'The tag value.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'tag-value',
+ ],
+ 'Key' => [
+ 'description' => 'The tag key.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'tag-key',
+ ],
+ ],
+ 'title' => '',
+ ],
+ 'title' => '',
+ ],
+ 'ZoneId' => [
+ 'description' => 'The zone ID.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'cn-shanghai-a',
+ ],
+ 'Configuration' => [
+ 'description' => 'The configurations of the resource.',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'any',
+ 'description' => 'The configurations of the resource.',
+ 'title' => '',
+ 'example' => '{\\"uid\\":\\"140874204639****\\",\\"groupId\\":\\"3zLxraq7qE9dRakjoQYI00****\\"}',
+ ],
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MultiAccountServiceNotEnabled',
+ 'errorMessage' => 'Multi account ResourceCenter service is not enabled.',
+ 'description' => '',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'NoPermission.AccountScope',
+ 'errorMessage' => 'The operator is not permitted for this account scope.',
+ 'description' => 'The operator is not permitted for this account scope.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'NotExists.Resource',
+ 'errorMessage' => 'The specified resource does not exist.',
+ 'description' => 'The specified resource does not exist.',
+ ],
+ [
+ 'errorCode' => 'NotExists.ResourceDirectory',
+ 'errorMessage' => 'The resource directory for the account is not enabled.',
+ 'description' => 'No resource directory is enabled for the account.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.AccountId',
+ 'errorMessage' => 'The specified parameter AccountId is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceType',
+ 'errorMessage' => 'The specified parameter ResourceType is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
+ 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'GetMultiAccountResourceConfiguration',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'GetMultiAccountResourceConfiguration',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetMultiAccountResourceConfiguration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccountId\\": \\"1619302****\\",\\n \\"CreateTime\\": \\"2023-02-14T03:12:11Z\\",\\n \\"ExpireTime\\": \\"2023-09-18T07:04:21Z\\",\\n \\"IpAddressAttributes\\": [\\n {\\n \\"Version\\": \\"Ipv4\\",\\n \\"NetworkType\\": \\"Public\\",\\n \\"IpAddress\\": \\"172.27.199.42\\"\\n }\\n ],\\n \\"IpAddresses\\": [\\n \\"[\'192.168.1.2\']\\"\\n ],\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"RequestId\\": \\"B2DCC08B-C12A-5705-879C-5A1450016156\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzy6d****\\",\\n \\"ResourceId\\": \\"m-eb3hji****\\",\\n \\"ResourceName\\": \\"test_resource\\",\\n \\"ResourceType\\": \\"ACS::VPC::RouteTable\\",\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"tag-value\\",\\n \\"Key\\": \\"tag-key\\"\\n }\\n ],\\n \\"ZoneId\\": \\"cn-shanghai-a\\",\\n \\"Configuration\\": {\\n \\"key\\": \\"{\\\\\\\\\\\\\\"uid\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"140874204639****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"groupId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"3zLxraq7qE9dRakjoQYI00****\\\\\\\\\\\\\\"}\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetMultiAccountResourceCounts' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREentconsoleYAPP2M',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupByKey',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The dimension by which resources are queried. Valid values:'."\n"
+ ."\n"
+ .'- ResourceType: resource type'."\n"
+ ."\n"
+ .'- RegionId: region'."\n"
+ ."\n"
+ .'- ResourceGroupId: resource group'."\n"
+ ."\n"
+ .'> If this parameter is not configured, the total number of resources that meet the conditions is returned.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ResourceType',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'Filter',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The filter condition.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The filter condition.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The key of the filter condition. For more information, see `Supported filter parameters`.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'RegionId',
+ 'title' => '',
+ ],
+ 'MatchType' => [
+ 'description' => 'The matching method.'."\n"
+ ."\n"
+ .'Set the value to Equals, which indicates an exact match.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Equals',
+ 'title' => '',
+ ],
+ 'Value' => [
+ 'description' => 'The values of the filter condition.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The value of the filter condition.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ 'title' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 200,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 10,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'Scope',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The search scope. Valid values:'."\n"
+ ."\n"
+ .'- ID of a resource directory: Resources within the management account and all members of the resource directory are searched.'."\n"
+ ."\n"
+ .'- ID of the Root folder: Resources within all members in the Root folder and the subfolders of the Root folder are searched.'."\n"
+ ."\n"
+ .'- ID of a folder: Resources within all members in the folder are searched.'."\n"
+ ."\n"
+ .'- ID of a member: Resources within the member are searched.'."\n"
+ ."\n"
+ .'For information about how to obtain the ID of a resource directory, the Root folder, a folder, or a member, see [GetResourceDirectory](~~159995~~), [ListFoldersForParent](~~159997~~), or [ListAccounts](~~160016~~).',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rd-r4****'."\n",
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Filters' => [
+ 'description' => 'The filter condition.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The filter condition.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The key of the filter condition.',
+ 'type' => 'string',
+ 'example' => 'RegionId',
+ 'title' => '',
+ ],
+ 'Values' => [
+ 'description' => 'The values of the filter condition.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The value of the filter condition.',
+ 'type' => 'string',
+ 'example' => 'cn-shanghai',
+ 'title' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'GroupByKey' => [
+ 'description' => 'The dimension by which resources are queried.',
+ 'type' => 'string',
+ 'example' => 'ResourceType',
+ 'title' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'EFA806B9-7F36-55AB-8B7A-D680C2C5EE57',
+ 'title' => '',
+ ],
+ 'ResourceCounts' => [
+ 'description' => 'The numbers of resources.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The number of resources.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Count' => [
+ 'description' => 'The number of resources.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ 'title' => '',
+ ],
+ 'GroupName' => [
+ 'description' => 'The group name.',
+ 'type' => 'string',
+ 'example' => 'ACS::ECS::NetworkInterface',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Scope' => [
+ 'description' => 'The search scope. Valid values:'."\n"
+ ."\n"
+ .'- ID of a resource directory: Resources within the management account and all members of the resource directory are searched.'."\n"
+ ."\n"
+ .'- ID of the Root folder: Resources within all members in the Root folder and the subfolders of the Root folder are searched.'."\n"
+ ."\n"
+ .'- ID of a folder: Resources within all members in the folder are searched.'."\n"
+ ."\n"
+ .'- ID of a member: Resources within the member are searched.'."\n"
+ ."\n"
+ .'For information about how to obtain the ID of a resource directory, the Root folder, a folder, or a member, see [GetResourceDirectory](~~159995~~), [ListFoldersForParent](~~159997~~), or [ListAccounts](~~160016~~).',
+ 'type' => 'string',
+ 'example' => 'rd-r4****',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MultiAccountServiceNotEnabled',
+ 'errorMessage' => 'Multi account ResourceCenter service is not enabled.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.Filter.ResourceType',
+ 'errorMessage' => 'The specified parameter value of Filter.ResourceType is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.AccountScope',
+ 'errorMessage' => 'The specified parameter AccountScope is missing.',
+ 'description' => 'The specified parameter AccountScope is missing.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'NoPermission.AccountScope',
+ 'errorMessage' => 'The operator is not permitted for this account scope.',
+ 'description' => 'The operator is not permitted for this account scope.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'NotExists.ResourceDirectory',
+ 'errorMessage' => 'The resource directory for the account is not enabled.',
+ 'description' => 'No resource directory is enabled for the account.',
+ ],
+ [
+ 'errorCode' => 'NotExists.ResourceDirectory.FolderId',
+ 'errorMessage' => 'The specified folder does not exist.',
+ 'description' => 'The specified folder does not exist.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.Scope',
+ 'errorMessage' => 'The Scope is invalid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
+ 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'ServiceNotEnabled.SpecifiedAccount',
+ 'errorMessage' => 'ResourceCenter service of the specified account is not enabled.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'GetMultiAccountResourceCounts',
+ 'summary' => 'Queries the number of resources within the management account and multiple members of a resource directory.',
+ 'description' => 'You can query only resources supported by Resource Center. For more information, see [Services that work with Resource Center](~~477798~~).',
+ 'requestParamsDescription' => '### Supported filter parameters'."\n"
+ ."\n"
+ .'| Parameter | Description | Supported matching method |'."\n"
+ .'| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ |'."\n"
+ .'| ResourceType | The resource type. | Equals |'."\n"
+ .'| RegionId | The region ID. | Equals |'."\n"
+ .'| ResourceId | The resource ID. | Equals and Prefix |'."\n"
+ .'| ResourceGroupId | The resource group ID. | Equals, Exists, and NotExists |'."\n"
+ .'| ResourceName | The resource name. | Equals and Contains |'."\n"
+ .'| Tag | The key-value pairs. The JSON format is `{ "key": $key, "value": $value }`, and at least one of the key and value must be specified. For example, specify `{ "key": "foo", "value": "bar" }` to query the tag key `foo` and the tag value `bar`, or specify `{ "key": "foo" }` to query the tag key `foo`. | Contains, NotContains, and NotExists |'."\n"
+ .'| VpcId | The virtual private cloud (VPC) ID. | Equals |'."\n"
+ .'| VSwitchId | The vSwitch ID. | Equals |',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetMultiAccountResourceCounts',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Filters\\": [\\n {\\n \\"Key\\": \\"RegionId\\",\\n \\"Values\\": [\\n \\"cn-shanghai\\"\\n ]\\n }\\n ],\\n \\"GroupByKey\\": \\"ResourceType\\",\\n \\"RequestId\\": \\"EFA806B9-7F36-55AB-8B7A-D680C2C5EE57\\",\\n \\"ResourceCounts\\": [\\n {\\n \\"Count\\": 2,\\n \\"GroupName\\": \\"ACS::ECS::NetworkInterface\\"\\n }\\n ],\\n \\"Scope\\": \\"rd-r4****\\"\\n}","type":"json"}]',
+ ],
+ 'GetResourceCenterServiceStatus' => [
+ 'summary' => 'Queries the status of the Resource Center service.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREentconsole3F5OJU',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'InitialStatus' => [
+ 'description' => 'The initialization status. Valid values:'."\n"
+ ."\n"
+ .'- Pending'."\n"
+ ."\n"
+ .'- Finished',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'Pending',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'AD5F848D-CCDC-5464-93E1-4BA50A4826DD',
+ ],
+ 'ServiceStatus' => [
+ 'description' => 'The service status. Valid values:'."\n"
+ ."\n"
+ .'- Enabled'."\n"
+ ."\n"
+ .'- Disabled',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'Enabled',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InitialStatus\\": \\"Pending\\",\\n \\"RequestId\\": \\"AD5F848D-CCDC-5464-93E1-4BA50A4826DD\\",\\n \\"ServiceStatus\\": \\"Enabled\\"\\n}","type":"json"}]',
+ 'title' => 'GetResourceCenterServiceStatus',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'GetResourceCenterServiceStatus',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetResourceCenterServiceStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetResourceConfiguration' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID of the resource.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the resource.'."\n"
+ ."\n"
+ .'For more information about the resource types supported by Resource Center, see [Services that work with Resource Center](~~477798~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ACS::VPC::RouteTable',
+ ],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the resource.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eip-bp1kyg72m****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'description' => 'The ID of the Alibaba Cloud account to which the resource belongs.'."\n",
+ 'type' => 'string',
+ 'example' => '151266687691****',
+ ],
+ 'Configuration' => [
+ 'description' => 'The configurations of the resource.'."\n",
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'any',
+ 'description' => 'The configurations of the resource.'."\n",
+ 'example' => '{\\"uid\\":\\"191432722631****\\",\\"groupId\\":\\"MtxXXli4FfphQJyH9R3p00****\\"}',
+ ],
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the resource was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2021-06-30T09:20:08Z',
+ ],
+ 'ExpireTime' => [
+ 'description' => 'The time when the resource expires.'."\n",
+ 'type' => 'string',
+ 'example' => '2021-07-30T09:20:08Z',
+ ],
+ 'IpAddressAttributes' => [
+ 'description' => 'The attributes of the IP address.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'IpAddress' => [
+ 'description' => 'The IP address.'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.1.2',
+ ],
+ 'NetworkType' => [
+ 'description' => 'The network type. Valid values:'."\n"
+ ."\n"
+ .'* **Public**: the Internet'."\n"
+ .'* **Private**: internal network'."\n",
+ 'type' => 'string',
+ 'example' => 'Public',
+ ],
+ 'Version' => [
+ 'description' => 'The version.'."\n",
+ 'type' => 'string',
+ 'example' => 'Ipv4',
+ ],
+ ],
+ ],
+ ],
+ 'IpAddresses' => [
+ 'description' => 'The IP addresses.'."\n"
+ ."\n"
+ .'> Whether this parameter is returned is determined by the Alibaba Cloud service to which the resource belongs.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'An IP address.'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.1.2',
+ ],
+ ],
+ 'RegionId' => [
+ 'description' => 'The region ID of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'F1CE0D52-32DA-531A-87A4-B9A5B68D5D8E',
+ ],
+ 'ResourceGroupId' => [
+ 'description' => 'The ID of the resource group to which the resource belongs.'."\n",
+ 'type' => 'string',
+ 'example' => 'rg-acfmv4k****',
+ ],
+ 'ResourceId' => [
+ 'description' => 'The ID of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'vtb-uf6978gdqbi****',
+ ],
+ 'ResourceName' => [
+ 'description' => 'The name of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'group1',
+ ],
+ 'ResourceType' => [
+ 'description' => 'The type of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACS::VPC::VSwitch',
+ ],
+ 'Tags' => [
+ 'description' => 'The tags of the resource.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A tag.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The tag key.'."\n",
+ 'type' => 'string',
+ 'example' => 'test-key',
+ ],
+ 'Value' => [
+ 'description' => 'The tag value.'."\n",
+ 'type' => 'string',
+ 'example' => 'test-value',
+ ],
+ ],
+ ],
+ ],
+ 'ZoneId' => [
+ 'description' => 'The zone ID of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou-k',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'NoPermission.Resource',
+ 'errorMessage' => 'The operator is not permitted for this resource.',
+ 'description' => 'You are not authorized to perform operations on the resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'NotExists.Resource',
+ 'errorMessage' => 'The specified resource does not exist.',
+ 'description' => 'The specified resource does not exist.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.ResourceType',
+ 'errorMessage' => 'The specified parameter ResourceType is not valid.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccountId\\": \\"151266687691****\\",\\n \\"Configuration\\": {\\n \\"key\\": \\"{\\\\\\\\\\\\\\"uid\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"191432722631****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"groupId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"MtxXXli4FfphQJyH9R3p00****\\\\\\\\\\\\\\"}\\"\\n },\\n \\"CreateTime\\": \\"2021-06-30T09:20:08Z\\",\\n \\"ExpireTime\\": \\"2021-07-30T09:20:08Z\\",\\n \\"IpAddressAttributes\\": [\\n {\\n \\"IpAddress\\": \\"192.168.1.2\\",\\n \\"NetworkType\\": \\"Public\\",\\n \\"Version\\": \\"Ipv4\\"\\n }\\n ],\\n \\"IpAddresses\\": [\\n \\"192.168.1.2\\"\\n ],\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"RequestId\\": \\"F1CE0D52-32DA-531A-87A4-B9A5B68D5D8E\\",\\n \\"ResourceGroupId\\": \\"rg-acfmv4k****\\",\\n \\"ResourceId\\": \\"vtb-uf6978gdqbi****\\",\\n \\"ResourceName\\": \\"group1\\",\\n \\"ResourceType\\": \\"ACS::VPC::VSwitch\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"test-key\\",\\n \\"Value\\": \\"test-value\\"\\n }\\n ],\\n \\"ZoneId\\": \\"cn-hangzhou-k\\"\\n}","type":"json"}]',
+ 'title' => 'GetResourceConfiguration',
+ 'summary' => 'Queries the configurations of a resource within the current account.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'GetResourceConfiguration',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetResourceConfiguration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetResourceCounts' => [
+ 'summary' => 'Queries the number of resources in your account that you have permission to access.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupByKey',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The dimension by which the queried resources are grouped. Valid values:'."\n"
+ ."\n"
+ .'- ResourceType: The resource type.'."\n"
+ ."\n"
+ .'- RegionId: The region.'."\n"
+ ."\n"
+ .'- ResourceGroupId: The resource group ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ResourceType',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'Filter',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The filter conditions.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A filter condition.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The key of the filter condition. For information about valid values, see the "`Supported filter parameters`" section below.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'RegionId',
+ 'title' => '',
+ ],
+ 'MatchType' => [
+ 'description' => 'The matching method.'."\n"
+ ."\n"
+ .'Set this parameter to `Equals`, which means an equal match.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Equals',
+ 'title' => '',
+ ],
+ 'Value' => [
+ 'description' => 'The values of the filter condition.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The value of the filter condition.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ 'title' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 200,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 10,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'SearchExpression',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The search keyword. Resource Center filters the search results based on relevance.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'keywords',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'IncludeDeletedResources',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to include deleted resources. Valid values:'."\n"
+ ."\n"
+ .'- true'."\n"
+ ."\n"
+ .'- false',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Filters' => [
+ 'description' => 'The filter conditions.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A filter condition.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The key of the filter condition.',
+ 'type' => 'string',
+ 'example' => 'RegionId',
+ 'title' => '',
+ ],
+ 'Values' => [
+ 'description' => 'The values of the filter condition.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The value of the filter condition.',
+ 'type' => 'string',
+ 'example' => 'cn-shanghai',
+ 'title' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'GroupByKey' => [
+ 'description' => 'The dimension by which the queried resources are grouped.',
+ 'type' => 'string',
+ 'example' => 'ResourceType',
+ 'title' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => '6D98D9B0-318D-56A4-910C-93B5F945AF2B',
+ 'title' => '',
+ ],
+ 'ResourceCounts' => [
+ 'description' => 'The list of resource counts.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The resource count information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Count' => [
+ 'description' => 'The number of resources.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ 'title' => '',
+ ],
+ 'GroupName' => [
+ 'description' => 'The group name.',
+ 'type' => 'string',
+ 'example' => 'ACS::ECS::NetworkInterface',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidParameter.Filter.ResourceType',
+ 'errorMessage' => 'The specified parameter value of Filter.ResourceType is not valid.',
+ 'description' => '',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'ExceedLimit.FilterValue',
+ 'errorMessage' => 'The number of objects specified in the FilterValue parameter exceeds the upper limit.',
+ 'description' => 'The value of FilterValue exceeds the upper limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'GetResourceCounts',
+ 'description' => '- You can query the number of resources in your account that you have permission to access.'."\n"
+ ."\n"
+ .'- You can query only the [Alibaba Cloud services and resource types that are supported by Resource Center](~~477798~~).',
+ 'requestParamsDescription' => '### Supported filter parameters'."\n"
+ ."\n"
+ .'| **Parameter** | **Description** | **Supported matching methods** |'."\n"
+ .'| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- |'."\n"
+ .'| ResourceType | The resource type. | Equals |'."\n"
+ .'| RegionId | The region ID. | Equals |'."\n"
+ .'| ResourceId | The resource ID. | Equals, Prefix |'."\n"
+ .'| ResourceGroupId | The resource group ID. | Equals, Exists, NotExists |'."\n"
+ .'| ResourceName | The resource name. | Equals, Contains |'."\n"
+ .'| Tag | The key-value pair of a tag. The value must be a JSON string in the `{ "key": $key, "value": $value }` format. You must specify at least key or value. For example, if you want to query the tag key `foo` and tag value `bar`, set this parameter to `{ "key": "foo", "value": "bar" }`. If you want to query only the tag key `foo`, set this parameter to `{ "key": "foo" }`. | Contains, NotContains, NotExists |'."\n"
+ .'| VpcId | The VPC ID. | Equals |'."\n"
+ .'| VSwitchId | The vSwitch ID. | Equals |',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'GetResourceCounts',
+ ],
+ ],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Filters\\": [\\n {\\n \\"Key\\": \\"RegionId\\",\\n \\"Values\\": [\\n \\"cn-shanghai\\"\\n ]\\n }\\n ],\\n \\"GroupByKey\\": \\"ResourceType\\",\\n \\"RequestId\\": \\"6D98D9B0-318D-56A4-910C-93B5F945AF2B\\",\\n \\"ResourceCounts\\": [\\n {\\n \\"Count\\": 2,\\n \\"GroupName\\": \\"ACS::ECS::NetworkInterface\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetSavedQuery' => [
+ 'summary' => 'Queries the information about a custom query template.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'QueryId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the template.'."\n"
+ ."\n"
+ .'> You can call the [ListSavedQueries](~~ListSavedQueries~~) operation to obtain the ID of the template.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cq-GeAck****',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => '6D98D9B0-318D-56A4-910C-93B5F945AF2B',
+ ],
+ 'SavedQuery' => [
+ 'description' => 'The information about the template.',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => [
+ 'description' => 'The time when the template was created. The time is displayed in UTC.',
+ 'type' => 'string',
+ 'example' => '2023-10-30T01:43:16Z',
+ 'title' => '',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the template.',
+ 'type' => 'string',
+ 'example' => '查询我的所有资源,返回所有的列。',
+ 'title' => '',
+ ],
+ 'Expression' => [
+ 'description' => 'The expression of the template.',
+ 'type' => 'string',
+ 'example' => 'SELECT * FROM resources;',
+ 'title' => '',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the template.',
+ 'type' => 'string',
+ 'example' => '查询我的所有资源。',
+ 'title' => '',
+ ],
+ 'QueryId' => [
+ 'description' => 'The ID of the template.',
+ 'type' => 'string',
+ 'example' => 'cq-GeAck****',
+ 'title' => '',
+ ],
+ 'UpdateTime' => [
+ 'description' => 'The time when the template was last updated. The time is displayed in UTC.',
+ 'type' => 'string',
+ 'example' => '2023-10-30T01:43:16Z',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'NotExists.QueryId',
+ 'errorMessage' => 'The QueryId does not exist.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'GetSavedQuery',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '50',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'GetSavedQuery',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetSavedQuery',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6D98D9B0-318D-56A4-910C-93B5F945AF2B\\",\\n \\"SavedQuery\\": {\\n \\"CreateTime\\": \\"2023-10-30T01:43:16Z\\",\\n \\"Description\\": \\"查询我的所有资源,返回所有的列。\\",\\n \\"Expression\\": \\"SELECT * FROM resources;\\",\\n \\"Name\\": \\"查询我的所有资源。\\",\\n \\"QueryId\\": \\"cq-GeAck****\\",\\n \\"UpdateTime\\": \\"2023-10-30T01:43:16Z\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'ListDeliveryChannels' => [
+ 'summary' => 'Queries a list of delivery channels within the current account.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries per page.'."\n"
+ ."\n"
+ .'Valid values: 1 to 100.'."\n"
+ ."\n"
+ .'Default value: 20.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'title' => '',
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n"
+ ."\n"
+ .'If the number of returned entries exceeds the `MaxResults` value, the entries are truncated and this token is returned. To fetch the remaining entries, pass this token in the subsequent request.',
+ 'type' => 'string',
+ 'required' => false,
+ 'title' => '',
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryChannels' => [
+ 'description' => 'The delivery channels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about a delivery channel.',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => [
+ 'description' => 'The time when the delivery channel was created.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => '2024-06-20T08:46:29Z',
+ ],
+ 'DeliveryChannelDescription' => [
+ 'description' => 'The description of the delivery channel.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'This is a description.',
+ ],
+ 'DeliveryChannelId' => [
+ 'description' => 'The ID of the delivery channel.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'dc-4m6ffpkgu***',
+ ],
+ 'DeliveryChannelName' => [
+ 'description' => 'The name of the delivery channel.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'test-delivery-channel',
+ ],
+ ],
+ 'title' => '',
+ ],
+ 'title' => '',
+ ],
+ 'MaxResults' => [
+ 'title' => '',
+ 'description' => 'The maximum number of entries per page.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'NextToken' => [
+ 'title' => '',
+ 'description' => 'A pagination token.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => '17502A1B-7026-5551-8E1C-CCABD0CBC***',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannels\\": [\\n {\\n \\"CreateTime\\": \\"2024-06-20T08:46:29Z\\",\\n \\"DeliveryChannelDescription\\": \\"This is a description.\\",\\n \\"DeliveryChannelId\\": \\"dc-4m6ffpkgu***\\",\\n \\"DeliveryChannelName\\": \\"test-delivery-channel\\"\\n }\\n ],\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\",\\n \\"RequestId\\": \\"17502A1B-7026-5551-8E1C-CCABD0CBC***\\"\\n}","type":"json"}]',
+ 'title' => 'ListDeliveryChannels',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:ListDeliveryChannels',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListExampleQueries' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of entries per page.'."\n"
+ ."\n"
+ .'Valid values: 1 to 50.'."\n"
+ ."\n"
+ .'Default value: 50.',
+ 'type' => 'string',
+ 'pattern' => '^\\d+$',
+ 'required' => false,
+ 'example' => '10',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd**** '."\n",
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The returned result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ExampleQueries' => [
+ 'description' => 'The information about the sample query templates.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => [
+ 'description' => 'The description of the template.',
+ 'type' => 'string',
+ 'example' => '返回所有有权限的资源,并按照资源类型和资源ID排列。',
+ 'title' => '',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the template.',
+ 'type' => 'string',
+ 'example' => '列出所有阿里云资源',
+ 'title' => '',
+ ],
+ 'QueryId' => [
+ 'description' => 'The ID of the template.',
+ 'type' => 'string',
+ 'example' => 'sq-0PfKy****',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'MaxResults' => [
+ 'description' => 'The maximum number of entries per page.',
+ 'type' => 'string',
+ 'example' => '10',
+ 'title' => '',
+ ],
+ 'NextToken' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.',
+ 'type' => 'string',
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
+ 'title' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'D696E6EF-3A6D-5770-801E-4982081FE4D0',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'ListExampleQueries',
+ 'summary' => 'Queries all sample query templates.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '50',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListExampleQueries',
+ ],
+ ],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ExampleQueries\\": [\\n {\\n \\"Description\\": \\"返回所有有权限的资源,并按照资源类型和资源ID排列。\\",\\n \\"Name\\": \\"列出所有阿里云资源\\",\\n \\"QueryId\\": \\"sq-0PfKy****\\"\\n }\\n ],\\n \\"MaxResults\\": \\"10\\",\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\",\\n \\"RequestId\\": \\"D696E6EF-3A6D-5770-801E-4982081FE4D0\\"\\n}","type":"json"}]',
+ ],
+ 'ListFilters' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'DefaultFilterName' => [
+ 'description' => 'The name of the default filter.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'My Filters',
+ ],
+ 'Filters' => [
+ 'description' => 'The configurations of the filter.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'FilterConfiguration' => [
+ 'description' => 'The configurations of the filter.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '{'."\n"
+ .' "regions": [],'."\n"
+ .' "tagFilters": ['."\n"
+ .' [{ "type": "notContainTagKey", "tagKey": "xxx", "tagValue": "" }],'."\n"
+ .' [{ "tagKey": "xxx", "tagValue": "xxx" }]'."\n"
+ .' ],'."\n"
+ .' "resourceTypes": ['."\n"
+ .' "ACS::ECS::AutoSnapshotPolicy"'."\n"
+ .' ]'."\n"
+ .'}',
+ ],
+ 'FilterName' => [
+ 'description' => 'The name of the filter.'."\n",
+ 'type' => 'string',
+ 'example' => 'My devices',
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'AA39FB9C-CB74-5E73-8DFE-3A2B096F0759',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DefaultFilterName\\": \\"My Filters\\",\\n \\"Filters\\": [\\n {\\n \\"FilterConfiguration\\": \\"{\\\\n \\\\\\"regions\\\\\\": [],\\\\n \\\\\\"tagFilters\\\\\\": [\\\\n [{ \\\\\\"type\\\\\\": \\\\\\"notContainTagKey\\\\\\", \\\\\\"tagKey\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"tagValue\\\\\\": \\\\\\"\\\\\\" }],\\\\n [{ \\\\\\"tagKey\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"tagValue\\\\\\": \\\\\\"xxx\\\\\\" }]\\\\n ],\\\\n \\\\\\"resourceTypes\\\\\\": [\\\\n \\\\\\"ACS::ECS::AutoSnapshotPolicy\\\\\\"\\\\n ]\\\\n}\\",\\n \\"FilterName\\": \\"My devices\\"\\n }\\n ],\\n \\"RequestId\\": \\"AA39FB9C-CB74-5E73-8DFE-3A2B096F0759\\"\\n}","type":"json"}]',
+ 'title' => 'ListFilters',
+ 'summary' => 'Queries a list of filters.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListFilters',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:ListFilters',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListMultiAccountDeliveryChannels' => [
+ 'summary' => 'Queries a list of delivery channels in resource directory mode.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries per page.'."\n"
+ ."\n"
+ .'Valid values: 1 to 100.'."\n"
+ ."\n"
+ .'Default value: 20.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'title' => '',
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n"
+ ."\n"
+ .'If the number of returned entries exceeds the `MaxResults` value, the entries are truncated and this token is returned. To fetch the remaining entries, pass this token in the subsequent request.',
+ 'type' => 'string',
+ 'required' => false,
+ 'title' => '',
+ 'example' => 'AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryChannels' => [
+ 'description' => 'The delivery channels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about a delivery channel.',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => [
+ 'description' => 'The time when the delivery channel was created.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => '2023-08-17T00:23:55Z',
+ ],
+ 'DeliveryChannelDescription' => [
+ 'description' => 'The description of the delivery channel.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'This is a description.'."\n",
+ ],
+ 'DeliveryChannelId' => [
+ 'description' => 'The ID of the delivery channel.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'dc-0bzhsqpnk***',
+ ],
+ 'DeliveryChannelName' => [
+ 'description' => 'The name of the delivery channel.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'test-multi-account-delivery-channel',
+ ],
+ ],
+ 'title' => '',
+ ],
+ 'title' => '',
+ ],
+ 'MaxResults' => [
+ 'title' => '',
+ 'description' => 'The maximum number of entries per page.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'NextToken' => [
+ 'title' => '',
+ 'description' => 'A pagination token.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
+ ],
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => '17502A1B-7026-5551-8E1C-CCABD0CBC***',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 403 => [
+ [
+ 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
+ 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
+ 'description' => 'You are not allowed to use a member of a resource directory to perform this operation. Use the management account of the resource directory to perform the operation.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannels\\": [\\n {\\n \\"CreateTime\\": \\"2023-08-17T00:23:55Z\\",\\n \\"DeliveryChannelDescription\\": \\"This is a description.\\\\n\\",\\n \\"DeliveryChannelId\\": \\"dc-0bzhsqpnk***\\",\\n \\"DeliveryChannelName\\": \\"test-multi-account-delivery-channel\\"\\n }\\n ],\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\",\\n \\"RequestId\\": \\"17502A1B-7026-5551-8E1C-CCABD0CBC***\\"\\n}","type":"json"}]',
+ 'title' => 'ListMultiAccountDeliveryChannels',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:ListMultiAccountDeliveryChannels',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ ],
+ 'ListMultiAccountResourceGroups' => [
+ 'summary' => 'Queries the resource groups within the management account or a member in a resource directory.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREentconsole2YWA72',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries to return on each page.'."\n"
+ ."\n"
+ .'Maximum value: 100. Default value: 10.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AAAAAS2Nboi3t4xGrdlG5/Ks/Q1xPG9jzviYEuZydevXIkgF',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'AccountId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the management account or a member in the resource directory.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1394339739****',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceGroupIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The resource group IDs.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The resource group ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rg-acfmzawhxxc****',
+ 'title' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ListMultiAccountResourceGroupsResponseDTO',
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'NextToken' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.',
+ 'type' => 'string',
+ 'example' => 'AAAAAU5VsT9R1adMTuz9GzginZ3Y+7Y/5JATS+6q5GK9kT75',
+ 'title' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => '0FF0A66E-781F-51EE-9531-928F197558F2',
+ 'title' => '',
+ ],
+ 'ResourceGroups' => [
+ 'description' => 'The resource groups.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The resource group.',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'description' => 'The ID of the management account or a member in the resource directory.',
+ 'type' => 'string',
+ 'example' => '1394339739****',
+ 'title' => '',
+ ],
+ 'CreateDate' => [
+ 'description' => 'The time when the resource group was created.',
+ 'type' => 'string',
+ 'example' => '2021-06-30T09:20:08Z',
+ 'title' => '',
+ ],
+ 'DisplayName' => [
+ 'description' => 'The display name of the resource group.',
+ 'type' => 'string',
+ 'example' => 'group1',
+ 'title' => '',
+ ],
+ 'Id' => [
+ 'description' => 'The resource group ID.',
+ 'type' => 'string',
+ 'example' => 'rg-acfmzawhxxc****',
+ 'title' => '',
+ ],
+ 'Name' => [
+ 'description' => 'The unique identifier of the resource group.',
+ 'type' => 'string',
+ 'example' => 'my-project',
+ 'title' => '',
+ ],
+ 'Status' => [
+ 'description' => 'The status of the resource group.'."\n"
+ ."\n"
+ .'- Creating: The resource group is being created.'."\n"
+ ."\n"
+ .'- OK: The resource group is created.'."\n"
+ ."\n"
+ .'- PendingDelete: The resource group is pending deletion.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.MaxResults',
+ 'errorMessage' => 'The specified parameter MaxResults is not valid.',
+ 'description' => 'The MaxResults parameter is invalid.',
+ ],
+ [
+ 'errorCode' => 'MultiAccountServiceNotEnabled',
+ 'errorMessage' => 'Multi account ResourceCenter service is not enabled.',
+ 'description' => '',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'NoPermission.AccountScope',
+ 'errorMessage' => 'The operator is not permitted for this account scope.',
+ 'description' => 'The operator is not permitted for this account scope.',
+ ],
+ [
+ 'errorCode' => 'ServiceNotEnabled.SpecifiedAccount',
+ 'errorMessage' => 'ResourceCenter service of the specified account is not enabled.',
+ 'description' => 'The Resource Center service is not activated for the specified account.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'NotExists.ResourceDirectory',
+ 'errorMessage' => 'The resource directory for the account is not enabled.',
+ 'description' => 'No resource directory is enabled for the account.',
+ ],
+ [
+ 'errorCode' => 'NotExists.ResourceGroup',
+ 'errorMessage' => 'The specified ResourceGroup does not exist.',
+ 'description' => 'The specified resource group does not exist.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
+ 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.AccountId',
+ 'errorMessage' => 'The specified parameter AccountId is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceGroupId',
+ 'errorMessage' => 'The specified parameter ResourceGroupId is not valid.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'ListMultiAccountResourceGroups',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListMultiAccountResourceGroups',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:SearchMultiAccountResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAU5VsT9R1adMTuz9GzginZ3Y+7Y/5JATS+6q5GK9kT75\\",\\n \\"RequestId\\": \\"0FF0A66E-781F-51EE-9531-928F197558F2\\",\\n \\"ResourceGroups\\": [\\n {\\n \\"AccountId\\": \\"1394339739****\\",\\n \\"CreateDate\\": \\"2021-06-30T09:20:08Z\\",\\n \\"DisplayName\\": \\"group1\\",\\n \\"Id\\": \\"rg-acfmzawhxxc****\\",\\n \\"Name\\": \\"my-project\\",\\n \\"Status\\": \\"OK\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListMultiAccountResourceRelationships' => [
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Scope',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The search scope. Valid values:'."\n"
+ ."\n"
+ .'* ID of a resource directory: Resources within the management account and all members of the resource directory are searched. You can call the [GetResourceDirectory](~~159995~~) operation to query the ID.'."\n"
+ .'* ID of the Root folder: Resources within all members in the Root folder and the subfolders of the Root folder are searched. You can call the [ListFoldersForParent](~~159997~~) operation to query the ID.'."\n"
+ .'* ID of a folder: Resources within all members in the folder are searched. You can call the [ListFoldersForParent](~~159997~~) operation to query the ID.'."\n"
+ .'* ID of a member: Resources within the member are searched. You can call the [ListAccounts](~~160016~~) operation to query the ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'rd-r4****',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID of the resource.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the resource.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ACS::ACK::Cluster',
+ ],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the resource.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'm-eb3hji****',
+ ],
+ ],
+ [
+ 'name' => 'RelatedResourceFilter',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The filter conditions for resources associated with the resource.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A filter condition for resources associated with the resource.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The key of the filter condition. For more information, see `Supported filter parameters`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'RelatedResourceRegionId',
+ ],
+ 'Value' => [
+ 'description' => 'The values of the filter condition.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A value of the filter condition.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ 'required' => false,
+ 'maxItems' => 200,
+ 'minItems' => 0,
+ ],
+ 'MatchType' => [
+ 'description' => 'The matching method.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Equals',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 10,
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of entries per page.'."\n"
+ ."\n"
+ .'Valid values: 1 to 500.'."\n"
+ ."\n"
+ .'Default value: 20.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '500',
+ 'minimum' => '1',
+ 'example' => '10',
+ 'default' => '20',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'BCAB07BA-82FA-5DC0-9322-FB7ED726481D',
+ ],
+ 'MaxResults' => [
+ 'description' => 'The maximum number of entries per page.'."\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' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
+ ],
+ 'Scope' => [
+ 'description' => 'The search scope. Valid values:'."\n"
+ ."\n"
+ .'* ID of a resource directory: Resources within the management account and all members of the resource directory are searched.'."\n"
+ .'* ID of the Root folder: Resources within all members in the Root folder and the subfolders of the Root folder are searched.'."\n"
+ .'* ID of a folder: Resources within all members in the folder are searched.'."\n"
+ .'* ID of a member: Resources within the member are searched.'."\n",
+ 'type' => 'string',
+ 'example' => 'rd-r4****'."\n",
+ ],
+ 'ResourceRelationships' => [
+ 'description' => 'The resource relationships.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A resource relationship.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'description' => 'The ID of the management account or member.'."\n",
+ 'type' => 'string',
+ 'example' => '193396142051****',
+ ],
+ 'RegionId' => [
+ 'description' => 'The region ID of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'ResourceType' => [
+ 'description' => 'The type of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACS::ACK::Cluster'."\n",
+ ],
+ 'ResourceId' => [
+ 'description' => 'The ID of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'm-eb3hji****'."\n",
+ ],
+ 'RelatedResourceRegionId' => [
+ 'description' => 'The region ID of the associated resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-shanghai',
+ ],
+ 'RelatedResourceType' => [
+ 'description' => 'The type of the associated resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACS::VPC::VPC',
+ ],
+ 'RelatedResourceId' => [
+ 'description' => 'The ID of the associated resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-uf6m5okksddm6c9lh7***',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.MaxResults',
+ 'errorMessage' => 'The specified parameter MaxResults is not valid.',
+ 'description' => 'The MaxResults parameter is invalid.',
+ ],
+ [
+ 'errorCode' => 'MultiAccountServiceNotEnabled',
+ 'errorMessage' => 'Multi account ResourceCenter service is not enabled.',
+ 'description' => 'The Resource Meta Center (RMC) service is not activated.',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.RelatedResourceFilterValue',
+ 'errorMessage' => 'You must specify RelatedResourceFilterValue.n.Value.',
+ 'description' => 'The RelatedResourceFilterValue.N.Value parameter is not configured.',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.RelatedResourceFilterMatchType',
+ 'errorMessage' => 'The specified parameter RelatedResourceFilterMatchType.n.MatchType is not valid.',
+ 'description' => 'The specified parameter RelatedResourceFilterMatchType.n.MatchType is invalid.'."\n",
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.RelatedResourceFilterKey',
+ 'errorMessage' => 'The specified parameter RelatedResourceFilterMatchType.n.RelatedResourceFilterKey is not valid.',
+ 'description' => 'The specified parameter RelatedResourceFilterMatchType.n.RelatedResourceFilterKey is invalid.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'NoPermission.AccountScope',
+ 'errorMessage' => 'The operator is not permitted for this account scope.',
+ 'description' => 'The operator is not permitted for this account scope.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'NotExists.ResourceDirectory',
+ 'errorMessage' => 'The resource directory for the account is not enabled.',
+ 'description' => 'No resource directory is enabled for the account.',
+ ],
+ [
+ 'errorCode' => 'NotExists.ResourceDirectory.FolderId',
+ 'errorMessage' => 'The specified folder does not exist.',
+ 'description' => 'The specified folder does not exist.',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.RegionId',
+ 'errorMessage' => 'The specified parameter RegionId is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceType',
+ 'errorMessage' => 'The specified parameter ResourceType is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceId',
+ 'errorMessage' => 'The specified parameter ResourceId is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'ExceedLimit.RelatedResourceFilter',
+ 'errorMessage' => 'The maximum length of RelatedResourceFilter is exceeded.',
+ 'description' => 'The number of objects specified in the RelatedResourceFilter parameter exceeds the upper limit.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.Scope',
+ 'errorMessage' => 'The Scope is invalid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
+ 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
+ 'description' => 'You are not allowed to use a member of a resource directory to perform this operation. Use the management account of the resource directory to perform the operation.',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceType',
+ 'errorMessage' => 'The specified parameter ResourceType is not valid.',
+ 'description' => 'The ResourceType parameter is invalid.',
+ ],
+ [
+ 'errorCode' => 'ExceedLimit.RelatedResourceFilterValue',
+ 'errorMessage' => 'The number of objects specified in the RelatedResourceFilterValue parameter exceeds the upper limit.',
+ 'description' => 'The number of parameter RelatedResourceFilterValue exceeds the upper limit.'."\n",
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BCAB07BA-82FA-5DC0-9322-FB7ED726481D\\",\\n \\"MaxResults\\": 10,\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\",\\n \\"Scope\\": \\"rd-r4****\\\\n\\",\\n \\"ResourceRelationships\\": [\\n {\\n \\"AccountId\\": \\"193396142051****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceType\\": \\"ACS::ACK::Cluster\\\\n\\",\\n \\"ResourceId\\": \\"m-eb3hji****\\\\n\\",\\n \\"RelatedResourceRegionId\\": \\"cn-shanghai\\",\\n \\"RelatedResourceType\\": \\"ACS::VPC::VPC\\",\\n \\"RelatedResourceId\\": \\"vpc-uf6m5okksddm6c9lh7***\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'ListMultiAccountResourceRelationships',
+ 'summary' => 'Queries the relationships between resources within the management account or members of your resource directory.',
+ 'description' => '* Before you use a RAM user or a RAM role to call the operation, you must make sure that the RAM user or RAM role is granted the required permissions. For more information, see [Grant a RAM user the permissions to use Resource Center](~~600556~~).'."\n"
+ .'* By default, the operation returns up to 20 entries. You can configure the `MaxResults` parameter to specify the maximum number of entries to return.'."\n"
+ .'* If the response does not contain the `NextToken` parameter, all entries are returned. Otherwise, more entries exist. If you want to obtain the entries, you can call the operation again to initiate another query request. In the request, set the `NextToken` parameter to the value of `NextToken` in the last response of the operation. If you do not configure the `NextToken` parameter, entries on the first page are returned by default.'."\n"
+ .'* You can specify one or more filter conditions to narrow the search. For more information about supported filter parameters and matching methods, see the Supported filter parameters section. Multiple filter conditions have logical `AND` relations. Only resources that meet all filter conditions are returned. The values of a filter condition have logical `OR` relations. Resources that meet any value of the filter condition are returned.'."\n",
+ 'requestParamsDescription' => '### Supported filter parameters'."\n"
+ ."\n"
+ .'|Parameter|Description|Supported matching method|'."\n"
+ .'|---|---|---|'."\n"
+ .'|RelatedResourceRegionId|The region ID of the associated resource.|Equals|'."\n"
+ .'|RelatedResourceType|The type of the associated resource.|Equals|'."\n"
+ .'|RelatedResourceId|The ID of the associated resource.|Equals|',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListMultiAccountResourceRelationships',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:ListMultiAccountResourceRelationships',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListMultiAccountTagKeys' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREentconsoleUMXHIT',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Scope',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The search scope. The value of this parameter can be one of the following items:'."\n"
+ ."\n"
+ .'* ID of a resource directory: Resources within the management account and all members of the resource directory are searched. You can call the [GetResourceDirectory](~~159995~~) operation to obtain the ID of the resource directory. The ID is indicated by the `ResourceDirectoryId` parameter in the response of the operation.'."\n"
+ .'* ID of the Root folder: Resources within all members in the Root folder and the subfolders of the Root folder are searched. You can call the [GetResourceDirectory](~~159995~~) operation to obtain the ID of the Root folder. The ID is indicated by the `RootFolderId` parameter in the response of the operation.'."\n"
+ .'* ID of a folder: Resources within all members in the folder are searched. You can call the [ListFoldersForParent](~~159997~~) operation to obtain the ID of the folder. The ID is indicated by the `FolderId` parameter in the response of the operation.'."\n"
+ .'* ID of a member: Resources within the member are searched. You can call the [ListAccounts](~~160016~~) operation to obtain the ID of the member. The ID is indicated by the `AccountId` parameter in the response of the operation.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'rd-r4****'."\n",
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of entries to return on each page.'."\n"
+ ."\n"
+ .'Valid values: 1 to 100.'."\n"
+ ."\n"
+ .'Default value: 20.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n"
+ ."\n"
+ .'If the total number of entries returned for the current request exceeds the value of the `MaxResults` parameter, the entries are truncated. In this case, you can use the `token` to initiate another request and obtain the remaining entries.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
+ ],
+ ],
+ [
+ 'name' => 'TagKey',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The tag key.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test_key',
+ ],
+ ],
+ [
+ 'name' => 'MatchType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The matching mode. Valid values:'."\n"
+ ."\n"
+ .'* Equals: equal match'."\n"
+ .'* Prefix: match by prefix'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Equals',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ListMultiAccountTagKeysResponseDTO',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'NextToken' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n",
+ 'type' => 'string',
+ 'example' => 'AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P****',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'FA6086F9-6363-51A5-A507-88E3201EBCCB',
+ ],
+ 'TagKeys' => [
+ 'description' => 'The tag keys.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A tag key.'."\n",
+ 'type' => 'string',
+ 'example' => 'test_key',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.MaxResults',
+ 'errorMessage' => 'The specified parameter MaxResults is not valid.',
+ 'description' => 'The MaxResults parameter is invalid.',
+ ],
+ [
+ 'errorCode' => 'MultiAccountServiceNotEnabled',
+ 'errorMessage' => 'Multi account ResourceCenter service is not enabled.',
+ 'description' => '',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'NoPermission.AccountScope',
+ 'errorMessage' => 'The operator is not permitted for this account scope.',
+ 'description' => 'The operator is not permitted for this account scope.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'NotExists.ResourceDirectory',
+ 'errorMessage' => 'The resource directory for the account is not enabled.',
+ 'description' => 'No resource directory is enabled for the account.',
+ ],
+ [
+ 'errorCode' => 'NotExists.ResourceDirectory.FolderId',
+ 'errorMessage' => 'The specified folder does not exist.',
+ 'description' => 'The specified folder does not exist.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
+ 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.Scope',
+ 'errorMessage' => 'The Scope is invalid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.MatchType',
+ 'errorMessage' => 'The specified parameter MatchType is not valid.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P****\\",\\n \\"RequestId\\": \\"FA6086F9-6363-51A5-A507-88E3201EBCCB\\",\\n \\"TagKeys\\": [\\n \\"test_key\\"\\n ]\\n}","type":"json"}]',
+ 'title' => 'ListMultiAccountTagKeys',
+ 'summary' => 'Queries the tag keys of resources within the management account or a member of your resource directory.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListMultiAccountTagKeys',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:SearchMultiAccountResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ ],
+ 'ListMultiAccountTagValues' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREentconsoleTXRR94',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Scope',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The search scope. You can set the value to one of the following items:'."\n"
+ ."\n"
+ .'* ID of a resource directory: Resources within the management account and all members of the resource directory are searched. You can call the [GetResourceDirectory](~~159995~~) operation to obtain the ID.'."\n"
+ .'* ID of the Root folder: Resources within all members in the Root folder and the subfolders of the Root folder are searched. You can call the [ListFoldersForParent](~~159997~~) operation to obtain the ID.'."\n"
+ .'* ID of a folder: Resources within all members in the folder are searched. You can call the [ListFoldersForParent](~~159997~~) operation to obtain the ID.'."\n"
+ .'* ID of a member: Resources within the member are searched. You can call the [ListAccounts](~~160016~~) operation to obtain the ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rd-r4****',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of entries to return on each page.'."\n"
+ ."\n"
+ .'Valid values: 1 to 100.'."\n"
+ ."\n"
+ .'Default value: 20.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n"
+ ."\n"
+ .'If the total number of entries returned for the current request exceeds the value of the `MaxResults` parameter, the entries are truncated. In this case, you can use the `token` to initiate another request and obtain the remaining entries.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
+ ],
+ ],
+ [
+ 'name' => 'TagKey',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The tag key.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test_key',
+ ],
+ ],
+ [
+ 'name' => 'TagValue',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The tag value.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test_value',
+ ],
+ ],
+ [
+ 'name' => 'MatchType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The matching mode. Valid values:'."\n"
+ ."\n"
+ .'* Equals: equal match'."\n"
+ .'* Prefix: match by prefix'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Equals',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ListMultiAccountTagValuesResponseDTO',
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'NextToken' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n",
+ 'type' => 'string',
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '36A3D9BE-B607-5993-B546-7E19EF65DC00',
+ ],
+ 'TagValues' => [
+ 'description' => 'The tag values.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A tag value.'."\n",
+ 'type' => 'string',
+ 'example' => 'test_value',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.MaxResults',
+ 'errorMessage' => 'The specified parameter MaxResults is not valid.',
+ 'description' => 'The MaxResults parameter is invalid.',
+ ],
+ [
+ 'errorCode' => 'MultiAccountServiceNotEnabled',
+ 'errorMessage' => 'Multi account ResourceCenter service is not enabled.',
+ 'description' => '',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'NoPermission.AccountScope',
+ 'errorMessage' => 'The operator is not permitted for this account scope.',
+ 'description' => 'The operator is not permitted for this account scope.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'NotExists.ResourceDirectory',
+ 'errorMessage' => 'The resource directory for the account is not enabled.',
+ 'description' => 'No resource directory is enabled for the account.',
+ ],
+ [
+ 'errorCode' => 'NotExists.ResourceDirectory.FolderId',
+ 'errorMessage' => 'The specified folder does not exist.',
+ 'description' => 'The specified folder does not exist.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
+ 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.Scope',
+ 'errorMessage' => 'The Scope is invalid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.MatchType',
+ 'errorMessage' => 'The specified parameter MatchType is not valid.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\",\\n \\"RequestId\\": \\"36A3D9BE-B607-5993-B546-7E19EF65DC00\\",\\n \\"TagValues\\": [\\n \\"test_value\\"\\n ]\\n}","type":"json"}]',
+ 'title' => 'ListMultiAccountTagValues',
+ 'summary' => 'Queries the tag values of resources within the management account or a member of a resource directory by using the management account of the resource directory or a delegated administrator account of Resource Center.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListMultiAccountTagValues',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:SearchMultiAccountResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ ],
+ 'ListResourceRelationships' => [
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID of the resource.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the resource.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ACS::ACK::Cluster',
+ ],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the resource.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'm-eb3hji****',
+ ],
+ ],
+ [
+ 'name' => 'RelatedResourceFilter',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The filter conditions for resources associated with the resource.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A filter condition for resources associated with the resource.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The key of the filter condition. For more information, see `Supported filter parameters`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'RelatedResourceRegionId',
+ ],
+ 'Value' => [
+ 'description' => 'The values of the filter condition.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A value of the filter condition.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cb-shanghai'."\n",
+ ],
+ 'required' => false,
+ 'maxItems' => 200,
+ 'minItems' => 0,
+ ],
+ 'MatchType' => [
+ 'description' => 'The matching method.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Equals',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 10,
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd**** '."\n",
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of entries per page.'."\n"
+ ."\n"
+ .'Valid values: 1 to 500.'."\n"
+ ."\n"
+ .'Default value: 20.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '500',
+ 'minimum' => '1',
+ 'example' => '10',
+ 'default' => '20',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '682A3004-38E3-5122-9A11-CCDFAB9C3C4F',
+ ],
+ 'MaxResults' => [
+ 'description' => 'The maximum number of entries per page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ 'default' => '20',
+ ],
+ 'NextToken' => [
+ 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n",
+ 'type' => 'string',
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
+ ],
+ 'ResourceRelationships' => [
+ 'description' => 'The resource relationships.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A resource relationship.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RegionId' => [
+ 'description' => 'The region ID of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'ResourceType' => [
+ 'description' => 'The type of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACS::ACK::Cluster',
+ ],
+ 'ResourceId' => [
+ 'description' => 'The ID of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'm-eb3hji****',
+ ],
+ 'RelatedResourceRegionId' => [
+ 'description' => 'The region ID of the associated resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-shanghai',
+ ],
+ 'RelatedResourceType' => [
+ 'description' => 'The type of the associated resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'ACS::VPC::VPC',
+ ],
+ 'RelatedResourceId' => [
+ 'description' => 'The ID of the associated resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-uf6m5okksddm6c9lh7***',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.MaxResults',
+ 'errorMessage' => 'The specified parameter MaxResults is not valid.',
+ 'description' => 'The MaxResults parameter is invalid.',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.RelatedResourceFilterMatchType',
+ 'errorMessage' => 'The specified parameter RelatedResourceFilterMatchType.n.MatchType is not valid.',
+ 'description' => 'The specified parameter RelatedResourceFilterMatchType.n.MatchType is invalid.'."\n",
+ ],
+ [
+ 'errorCode' => 'MissingParameter.RelatedResourceFilterValue',
+ 'errorMessage' => 'You must specify RelatedResourceFilterValue.n.Value.',
+ 'description' => 'The RelatedResourceFilterValue.N.Value parameter is not configured.',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.RelatedResourceFilterKey',
+ 'errorMessage' => 'The specified parameter RelatedResourceFilterMatchType.n.RelatedResourceFilterKey is not valid.',
+ 'description' => 'The specified parameter RelatedResourceFilterMatchType.n.RelatedResourceFilterKey is invalid.',
+ ],
+ ],
+ 404 => [
+ [
+ 'errorCode' => 'MissingParameter.RegionId',
+ 'errorMessage' => 'The specified parameter RegionId is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceType',
+ 'errorMessage' => 'The specified parameter ResourceType is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceId',
+ 'errorMessage' => 'The specified parameter ResourceId is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'ExceedLimit.RelatedResourceFilter',
+ 'errorMessage' => 'The maximum length of RelatedResourceFilter is exceeded.',
+ 'description' => 'The number of objects specified in the RelatedResourceFilter parameter exceeds the upper limit.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.ResourceType',
+ 'errorMessage' => 'The specified parameter ResourceType is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'ExceedLimit.RelatedResourceFilterValue',
+ 'errorMessage' => 'The number of objects specified in the RelatedResourceFilterValue parameter exceeds the upper limit.',
+ 'description' => 'The number of parameter RelatedResourceFilterValue exceeds the upper limit.'."\n",
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"682A3004-38E3-5122-9A11-CCDFAB9C3C4F\\",\\n \\"MaxResults\\": 10,\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\",\\n \\"ResourceRelationships\\": [\\n {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceType\\": \\"ACS::ACK::Cluster\\",\\n \\"ResourceId\\": \\"m-eb3hji****\\",\\n \\"RelatedResourceRegionId\\": \\"cn-shanghai\\",\\n \\"RelatedResourceType\\": \\"ACS::VPC::VPC\\",\\n \\"RelatedResourceId\\": \\"vpc-uf6m5okksddm6c9lh7***\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'ListResourceRelationships',
+ 'summary' => 'Queries a list of resource relationships on which the current account has access permissions.',
+ 'description' => '* You can call this operation to query only the resource relationships on which the current account has access permissions.'."\n"
+ .'* By default, this operation returns up to 20 entries. You can configure the `MaxResults` parameter to specify the maximum number of entries to return.'."\n"
+ .'* If the response does not contain the `NextToken` parameter, all entries are returned. Otherwise, more entries exist. If you want to obtain the entries, you can call the operation again to initiate another query request. In the request, set the `NextToken` parameter to the value of `NextToken` in the last response of the operation. If you do not configure the `NextToken` parameter, entries on the first page are returned by default.'."\n"
+ .'* You can specify one or more filter conditions to narrow the query scope. For information about supported filter parameters and matching methods, see the Supported filter parameters section. Multiple filter conditions have logical `AND` relations. Only entries that meet all filter conditions are returned. The values of a filter condition have logical `OR` relations. Entries that meet any value of the filter condition are returned.'."\n",
+ 'requestParamsDescription' => '### Supported filter parameters'."\n"
+ ."\n"
+ .'|Parameter|Description|Supported matching method|'."\n"
+ .'|---|---|---|'."\n"
+ .'|RelatedResourceRegionId|The region ID of the associated resource.|Equals|'."\n"
+ .'|RelatedResourceType|The type of the associated resource.|Equals|'."\n"
+ .'|RelatedResourceId|The ID of the associated resource.|Equals|',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListResourceRelationships',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:ListResourceRelationships',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListResourceTypes' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AcceptLanguage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The language of the response. Valid values:'."\n"
+ ."\n"
+ .'- zh-CN: Chinese'."\n"
+ ."\n"
+ .'- en-US: English',
+ 'type' => 'string',
+ 'title' => '',
+ 'required' => false,
+ 'example' => 'zh-CN',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource type.'."\n"
+ ."\n"
+ .'For more information about the resource types that are supported by Resource Center, see [Services that work with Resource Center](~~477798~~).',
+ 'type' => 'string',
+ 'title' => '',
+ 'required' => false,
+ 'example' => 'ACS::ACK::Cluster',
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The query conditions.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The field for the query. Valid values:'."\n"
+ ."\n"
+ .'- ResourceType'."\n"
+ ."\n"
+ .'- ProductName'."\n"
+ ."\n"
+ .'- ResourceTypeName'."\n"
+ ."\n"
+ .'- FilterKeys'."\n"
+ ."\n"
+ .'- CodeMapping',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ResourceType',
+ 'title' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 10,
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ListResourceTypesOpenResponseDTO',
+ 'description' => 'The returned result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.',
+ 'type' => 'string',
+ 'example' => 'E5556E4C-479A-5BBB-B325-F07563E7E917',
+ 'title' => '',
+ ],
+ 'ResourceTypes' => [
+ 'description' => 'The resource types.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The resource types.',
+ 'type' => 'object',
+ 'properties' => [
+ 'CodeMapping' => [
+ 'description' => 'The code mapping of the resource type.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceGroup' => [
+ 'description' => 'The resource group.',
+ 'type' => 'string',
+ 'example' => 'cs.cluster',
+ 'title' => '',
+ ],
+ 'Tag' => [
+ 'description' => 'The tag.',
+ 'type' => 'string',
+ 'example' => 'cs.cluster',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'FilterKeys' => [
+ 'title' => '',
+ 'description' => 'The supported filter conditions.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A supported filter condition.',
+ 'type' => 'string',
+ 'example' => 'ResourceName',
+ 'title' => '',
+ ],
+ 'example' => '',
+ ],
+ 'ProductName' => [
+ 'description' => 'The name of the Alibaba Cloud service.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => '容器服务Kubernetes版',
+ ],
+ 'ResourceType' => [
+ 'description' => 'The resource type.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => 'ACS::ACK::Cluster',
+ ],
+ 'ResourceTypeName' => [
+ 'description' => 'The name of the resource type.',
+ 'type' => 'string',
+ 'title' => '',
+ 'example' => '集群',
+ ],
+ 'RelatedResourceTypes' => [
+ 'description' => 'The name of supported related resource types.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A supported related resource type.',
+ 'type' => 'string',
+ 'example' => 'ACS::ACK::Cluster',
+ 'title' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.Query',
+ 'errorMessage' => 'The specified parameter Query is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceType',
+ 'errorMessage' => 'The specified parameter ResourceType is not valid.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'ListResourceTypes',
+ 'summary' => 'Queries the metadata of resource types',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListResourceTypes',
+ ],
+ ],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E5556E4C-479A-5BBB-B325-F07563E7E917\\",\\n \\"ResourceTypes\\": [\\n {\\n \\"CodeMapping\\": {\\n \\"ResourceGroup\\": \\"cs.cluster\\",\\n \\"Tag\\": \\"cs.cluster\\"\\n },\\n \\"FilterKeys\\": [\\n \\"ResourceName\\"\\n ],\\n \\"ProductName\\": \\"容器服务Kubernetes版\\",\\n \\"ResourceType\\": \\"ACS::ACK::Cluster\\",\\n \\"ResourceTypeName\\": \\"集群\\",\\n \\"RelatedResourceTypes\\": [\\n \\"ACS::ACK::Cluster\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListSavedQueries' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of entries to return on each page.'."\n"
+ ."\n"
+ .'Valid values: 1 to 50.'."\n"
+ ."\n"
+ .'Default value: 50.',
+ 'type' => 'string',
+ 'pattern' => '^\\d+$',
+ 'required' => false,
+ 'example' => '10',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of `NextToken`.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'MaxResults' => [
+ 'description' => 'The maximum number of entries returned on each page.',
+ 'type' => 'string',
+ 'example' => '10',
+ 'title' => '',
+ ],
+ 'NextToken' => [
+ 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.',
+ 'type' => 'string',
+ 'example' => 'AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P****',
+ 'title' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'D696E6EF-3A6D-5770-801E-4982081FE4D0',
+ 'title' => '',
+ ],
+ 'SavedQueries' => [
+ 'description' => 'The information about the custom query templates.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the custom query template.',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => [
+ 'description' => 'The time when the template was created. The time is displayed in UTC.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2022-01-13T05:50:35Z',
+ 'title' => '',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the template.',
+ 'type' => 'string',
+ 'example' => '查询我的所有资源,返回所有的列。',
+ 'title' => '',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the template.',
+ 'type' => 'string',
+ 'example' => '查询我的所有资源。',
+ 'title' => '',
+ ],
+ 'QueryId' => [
+ 'description' => 'The ID of the template.',
+ 'type' => 'string',
+ 'example' => 'cq-GeAck****',
+ 'title' => '',
+ ],
+ 'UpdateTime' => [
+ 'description' => 'The time when the template was last updated. The time is displayed in UTC.',
+ 'type' => 'string',
+ 'example' => '2023-03-14 10:27:07',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'ListSavedQueries',
+ 'summary' => 'Queries all custom query templates.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '50',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListSavedQueries',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:ListSavedQueries',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"MaxResults\\": \\"10\\",\\n \\"NextToken\\": \\"AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P****\\",\\n \\"RequestId\\": \\"D696E6EF-3A6D-5770-801E-4982081FE4D0\\",\\n \\"SavedQueries\\": [\\n {\\n \\"CreateTime\\": \\"2022-01-13T05:50:35Z\\",\\n \\"Description\\": \\"查询我的所有资源,返回所有的列。\\",\\n \\"Name\\": \\"查询我的所有资源。\\",\\n \\"QueryId\\": \\"cq-GeAck****\\",\\n \\"UpdateTime\\": \\"2023-03-14 10:27:07\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListTagKeys' => [
+ 'summary' => 'Queries the tag keys of resources within the current account.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREentconsoleWFHZOY',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of entries to return on each page.'."\n"
+ ."\n"
+ .'Valid values: 1 to 100.'."\n"
+ ."\n"
+ .'Default value: 20.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n"
+ ."\n"
+ .'If the total number of entries returned for the current request exceeds the value of the `MaxResults` parameter, the entries are truncated. In this case, you can use the `token` to initiate another request and obtain the remaining entries.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AAAAAUYb00R0gHZBE8FVDeoh2ME93VeeEPUHs****',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'TagKey',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The tag key.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test_key',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'MatchType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The matching mode. Valid values:'."\n"
+ ."\n"
+ .'- Equals: equal match'."\n"
+ ."\n"
+ .'- Prefix: match by prefix',
+ 'type' => 'string',
+ 'title' => '',
+ 'required' => false,
+ 'example' => 'Equals',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ListTagKeysResponseDTO',
+ 'description' => 'The returned result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'NextToken' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.',
+ 'type' => 'string',
+ 'example' => 'AAAAAUDnubHKJbVTCdlIGYUPtsu3EoN3bfdgjDA****',
+ 'title' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.',
+ 'type' => 'string',
+ 'example' => '44C8A952-D6B0-5BC8-82D5-93BA02E26F2E',
+ 'title' => '',
+ ],
+ 'TagKeys' => [
+ 'description' => 'The tag keys.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A tag key.',
+ 'type' => 'string',
+ 'example' => 'test_key',
+ 'title' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.MaxResults',
+ 'errorMessage' => 'The specified parameter MaxResults is not valid.',
+ 'description' => 'The MaxResults parameter is invalid.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.MatchType',
+ 'errorMessage' => 'The specified parameter MatchType is not valid.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'ListTagKeys',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListTagKeys',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'tag:ListTagKeys',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAUDnubHKJbVTCdlIGYUPtsu3EoN3bfdgjDA****\\",\\n \\"RequestId\\": \\"44C8A952-D6B0-5BC8-82D5-93BA02E26F2E\\",\\n \\"TagKeys\\": [\\n \\"test_key\\"\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListTagValues' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREentconsoleBIZ0IQ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of entries to return on each page.'."\n"
+ ."\n"
+ .'Valid values: 1 to 100.'."\n"
+ ."\n"
+ .'Default value: 20.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n"
+ ."\n"
+ .'If the total number of entries returned for the current request exceeds the value of the `MaxResults` parameter, the entries are truncated. In this case, you can use the `token` to initiate another request and obtain the remaining entries.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
+ ],
+ ],
+ [
+ 'name' => 'TagKey',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The tag key.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test_key',
+ ],
+ ],
+ [
+ 'name' => 'TagValue',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The tag value.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test_value',
+ ],
+ ],
+ [
+ 'name' => 'MatchType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The matching mode. Valid values:'."\n"
+ ."\n"
+ .'* Equals: equal match'."\n"
+ .'* Prefix: match by prefix'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Equals',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ListTagValuesResponseDTO',
+ 'description' => 'The returned result.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'NextToken' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n",
+ 'type' => 'string',
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'C1840B83-1193-5E83-AFA6-4B8D303E29F5',
+ ],
+ 'TagValues' => [
+ 'description' => 'The tag values.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'A tag value.'."\n",
+ 'type' => 'string',
+ 'example' => 'test_value',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.MaxResults',
+ 'errorMessage' => 'The specified parameter MaxResults is not valid.',
+ 'description' => 'The MaxResults parameter is invalid.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.MatchType',
+ 'errorMessage' => 'The specified parameter MatchType is not valid.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\",\\n \\"RequestId\\": \\"C1840B83-1193-5E83-AFA6-4B8D303E29F5\\",\\n \\"TagValues\\": [\\n \\"test_value\\"\\n ]\\n}","type":"json"}]',
+ 'title' => 'ListTagValues',
+ 'summary' => 'Queries the tag values of resources within the current account.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListTagValues',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'tag:ListTagValues',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'SearchMultiAccountResources' => [
+ 'summary' => 'Searches for resources in the management account and multiple member accounts of a resource directory.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREentconsoleYAPP2M',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Scope',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The scope of the accounts in which you want to search for resources. Valid values:'."\n"
+ ."\n"
+ .'- The ID of a resource directory: Searches for resources in the management account and all its member accounts. For more information, see [GetResourceDirectory](~~159995~~).'."\n"
+ ."\n"
+ .'- The ID of the Root folder: Searches for resources in all member accounts under the Root folder and its subfolders. For more information, see [ListFoldersForParent](~~159997~~).'."\n"
+ ."\n"
+ .'- The ID of a folder: Searches for resources in all member accounts under the folder. For more information, see [ListFoldersForParent](~~159997~~).'."\n"
+ ."\n"
+ .'- The ID of a member account: Searches for resources in the member account. For more information, see [ListAccounts](~~160016~~).',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'rd-r4****',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of `NextToken`.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of entries to return on each page.'."\n"
+ ."\n"
+ .'Valid values: 1 to 100.'."\n"
+ ."\n"
+ .'Default value: 20.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '100',
+ 'exclusiveMaximum' => false,
+ 'minimum' => '1',
+ 'exclusiveMinimum' => false,
+ 'default' => '20',
+ 'example' => '10',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'Filter',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The filter conditions.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The filter condition.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The key of the filter condition. For more information, see the "`Supported filter parameters`" section below.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ResourceGroupId',
+ 'title' => '',
+ ],
+ 'MatchType' => [
+ 'description' => 'The matching method.'."\n"
+ ."\n"
+ .'Set this parameter to `Equals`, which means an exact match.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Equals',
+ 'title' => '',
+ ],
+ 'Value' => [
+ 'description' => 'The values of the filter condition.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The value of the filter condition.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rg-aekzmrjn4ns****',
+ 'title' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 200,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 10,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'SortCriterion',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The sorting parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The sort key.'."\n"
+ ."\n"
+ .'Set this parameter to `CreateTime`, which means the results are sorted by resource creation time.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CreateTime',
+ 'title' => '',
+ ],
+ 'Order' => [
+ 'description' => 'The sort order. Valid values:'."\n"
+ ."\n"
+ .'- ASC: Ascending order.'."\n"
+ ."\n"
+ .'- DESC: Descending order.'."\n"
+ ."\n"
+ .'Default value: ASC.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ASC',
+ 'title' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Filters' => [
+ 'description' => 'The filter conditions.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The filter condition.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The key of the filter condition.',
+ 'type' => 'string',
+ 'example' => 'RegionId',
+ 'title' => '',
+ ],
+ 'MatchType' => [
+ 'description' => 'The matching method.',
+ 'type' => 'string',
+ 'example' => 'Equals',
+ 'title' => '',
+ ],
+ 'Values' => [
+ 'description' => 'The values of the filter condition.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The value of the filter condition.',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ 'title' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'MaxResults' => [
+ 'description' => 'The maximum number of entries returned per page.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ 'title' => '',
+ ],
+ 'NextToken' => [
+ 'description' => 'The token to retrieve the next page of results.',
+ 'type' => 'string',
+ 'example' => '查询返回结果下一页的令牌。',
+ 'title' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'EFA806B9-7F36-55AB-8B7A-D680C2C5EE57',
+ 'title' => '',
+ ],
+ 'Resources' => [
+ 'description' => 'The information about the resources.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the resource.',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'description' => 'The ID of the management account or a member account of the resource directory.',
+ 'type' => 'string',
+ 'example' => '151266687691****',
+ 'title' => '',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the resource was created.'."\n"
+ ."\n"
+ .'> Whether this parameter is returned depends on the Alibaba Cloud service that manages the resource.',
+ 'type' => 'string',
+ 'example' => '2021-06-30T09:20:08Z',
+ 'title' => '',
+ ],
+ 'ExpireTime' => [
+ 'description' => 'The time when the resource expires.',
+ 'type' => 'string',
+ 'example' => '2023-06-14T14:35:45Z',
+ 'title' => '',
+ ],
+ 'IpAddressAttributes' => [
+ 'description' => 'The attributes of the IP addresses.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The attributes of the IP address.',
+ 'type' => 'object',
+ 'properties' => [
+ 'IpAddress' => [
+ 'description' => 'The IP address.',
+ 'type' => 'string',
+ 'example' => '192.168.1.2',
+ 'title' => '',
+ ],
+ 'NetworkType' => [
+ 'description' => 'The network type. Valid values:'."\n"
+ ."\n"
+ .'- **Public**: Internet.'."\n"
+ ."\n"
+ .'- **Private**: Private network.',
+ 'type' => 'string',
+ 'example' => 'Public',
+ 'title' => '',
+ ],
+ 'Version' => [
+ 'description' => 'The IP address version.',
+ 'type' => 'string',
+ 'example' => 'Ipv4',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'IpAddresses' => [
+ 'description' => 'The IP addresses.'."\n"
+ ."\n"
+ .'> Whether this parameter is returned depends on the Alibaba Cloud service that manages the resource.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The IP address.'."\n"
+ ."\n"
+ .'> Whether this parameter is returned depends on the Alibaba Cloud service that manages the resource.',
+ 'type' => 'string',
+ 'example' => '192.168.1.2',
+ 'title' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RegionId' => [
+ 'description' => 'The region ID.',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ 'title' => '',
+ ],
+ 'ResourceGroupId' => [
+ 'description' => 'The resource group ID.',
+ 'type' => 'string',
+ 'example' => 'rg-acfmzawhxxc**** '."\n",
+ 'title' => '',
+ ],
+ 'ResourceId' => [
+ 'description' => 'The resource ID.',
+ 'type' => 'string',
+ 'example' => 'vtb-bp11lbh452fr8940s****',
+ 'title' => '',
+ ],
+ 'ResourceName' => [
+ 'description' => 'The resource name.',
+ 'type' => 'string',
+ 'example' => 'group1',
+ 'title' => '',
+ ],
+ 'ResourceType' => [
+ 'description' => 'The resource type.',
+ 'type' => 'string',
+ 'example' => 'ACS::VPC::RouteTable',
+ 'title' => '',
+ ],
+ 'Tags' => [
+ 'description' => 'The tags.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The tag key.',
+ 'type' => 'string',
+ 'example' => 'test_key',
+ 'title' => '',
+ ],
+ 'Value' => [
+ 'description' => 'The tag value.',
+ 'type' => 'string',
+ 'example' => 'test_value',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ZoneId' => [
+ 'description' => 'The zone ID.'."\n"
+ ."\n"
+ .'> Whether this parameter is returned depends on the Alibaba Cloud service that manages the resource.',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou-k',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Scope' => [
+ 'description' => 'The scope of accounts in which the resources were searched. Valid values:'."\n"
+ ."\n"
+ .'- The ID of the resource directory. This indicates that resources were searched in the management account and all member accounts of the resource directory.'."\n"
+ ."\n"
+ .'- The ID of the Root folder. This indicates that resources were searched in all member accounts under the Root folder and its subfolders.'."\n"
+ ."\n"
+ .'- The ID of a folder. This indicates that resources were searched in all member accounts under the folder.'."\n"
+ ."\n"
+ .'- The ID of a member account. This indicates that resources were searched in the member account.',
+ 'type' => 'string',
+ 'example' => 'rd-r4****'."\n",
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.MaxResults',
+ 'errorMessage' => 'The specified parameter MaxResults is not valid.',
+ 'description' => 'The MaxResults parameter is invalid.',
+ ],
+ [
+ 'errorCode' => 'MultiAccountServiceNotEnabled',
+ 'errorMessage' => 'Multi account ResourceCenter service is not enabled.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.Filter.ResourceType',
+ 'errorMessage' => 'The specified parameter value of Filter.ResourceType is not valid.',
+ 'description' => '',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'NoPermission.AccountScope',
+ 'errorMessage' => 'The operator is not permitted for this account scope.',
+ 'description' => 'The operator is not permitted for this account scope.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'NotExists.Resource',
+ 'errorMessage' => 'The specified resource does not exist.',
+ 'description' => 'The specified resource does not exist.',
+ ],
+ [
+ 'errorCode' => 'NotExists.ResourceDirectory',
+ 'errorMessage' => 'The resource directory for the account is not enabled.',
+ 'description' => 'No resource directory is enabled for the account.',
+ ],
+ [
+ 'errorCode' => 'NotExists.ResourceDirectory.FolderId',
+ 'errorMessage' => 'The specified folder does not exist.',
+ 'description' => 'The specified folder does not exist.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.Scope',
+ 'errorMessage' => 'The Scope is invalid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
+ 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.SortCriterion.Key',
+ 'errorMessage' => 'The specified parameter SortCriterion.Key is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'ExceedLimit.Filter',
+ 'errorMessage' => 'The maximum length of Filters is exceeded.',
+ 'description' => 'The number of objects specified in the Filter parameter exceeds the upper limit.',
+ ],
+ [
+ 'errorCode' => 'ServiceNotEnabled.SpecifiedAccount',
+ 'errorMessage' => 'ResourceCenter service of the specified account is not enabled.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'SearchMultiAccountResources',
+ 'description' => '- You can search only for [Services that work with Resource Center](~~477798~~).'."\n"
+ ."\n"
+ .'- To search for resources across accounts as a RAM user or RAM role, you must have been attached the `resourcecenter:SearchMultiAccountResources` policy. For more information, see [Grant a RAM user the permissions to use Resource Center](~~600556~~).'."\n"
+ ."\n"
+ .'- By default, this operation returns a maximum of 20 entries. To change the maximum number of entries that can be returned, specify the `MaxResults` parameter.'."\n"
+ ."\n"
+ .'- If the response does not include `NextToken`, no more data is available. To query the next page of results, set the `NextToken` parameter to the value that was returned from the previous call. If you do not specify the `NextToken` parameter, the first page of data is returned by default.'."\n"
+ ."\n"
+ .'- You can set one or more filter conditions to narrow the search scope. For information about supported filter parameters and matching methods, see the information below. Multiple filter conditions are joined by a logical `AND`. Only resources that meet all filter conditions are returned. The values within a single filter condition are joined by a logical `OR`. Resources that meet any value for a filter condition are returned.'."\n"
+ ."\n"
+ .'- For more query examples, visit <props="china">[示例中心](https://api.aliyun.com/api-tools/demo/ResourceCenter)</props> <props="intl">[OpenAPI Portal](https://api.alibabacloud.com/api-tools/demo/ResourceCenter)</props>.',
+ 'requestParamsDescription' => '### Supported filter parameters'."\n"
+ ."\n"
+ .'| **Parameter** | **Description** | **Supported matching methods** |'."\n"
+ .'| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- |'."\n"
+ .'| ResourceType | The resource type. | Equals |'."\n"
+ .'| RegionId | The region ID. | Equals |'."\n"
+ .'| ResourceId | The resource ID. | Equals, Prefix |'."\n"
+ .'| ResourceGroupId | The resource group ID. | Equals, Exists, NotExists |'."\n"
+ .'| ResourceName | The resource name. | Equals, Contains |'."\n"
+ .'| Tag | The key-value pair of a tag. The value must be a JSON string in the `{ "key": $key, "value": $value }` format. You must specify at least key or value. For example, if you want to query the tag key `foo` and tag value `bar`, set this parameter to `{ "key": "foo", "value": "bar" }`. If you want to query only the tag key `foo`, set this parameter to `{ "key": "foo" }`. | Contains, NotContains, NotExists |'."\n"
+ .'| VpcId | The VPC ID. | Equals |'."\n"
+ .'| VSwitchId | The vSwitch ID. | Equals |',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'SearchMultiAccountResources',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:SearchMultiAccountResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Filters\\": [\\n {\\n \\"Key\\": \\"RegionId\\",\\n \\"MatchType\\": \\"Equals\\",\\n \\"Values\\": [\\n \\"cn-hangzhou\\"\\n ]\\n }\\n ],\\n \\"MaxResults\\": 10,\\n \\"NextToken\\": \\"查询返回结果下一页的令牌。\\",\\n \\"RequestId\\": \\"EFA806B9-7F36-55AB-8B7A-D680C2C5EE57\\",\\n \\"Resources\\": [\\n {\\n \\"AccountId\\": \\"151266687691****\\",\\n \\"CreateTime\\": \\"2021-06-30T09:20:08Z\\",\\n \\"ExpireTime\\": \\"2023-06-14T14:35:45Z\\",\\n \\"IpAddressAttributes\\": [\\n {\\n \\"IpAddress\\": \\"192.168.1.2\\",\\n \\"NetworkType\\": \\"Public\\",\\n \\"Version\\": \\"Ipv4\\"\\n }\\n ],\\n \\"IpAddresses\\": [\\n \\"192.168.1.2\\"\\n ],\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzawhxxc****\\\\t\\\\n\\",\\n \\"ResourceId\\": \\"vtb-bp11lbh452fr8940s****\\",\\n \\"ResourceName\\": \\"group1\\",\\n \\"ResourceType\\": \\"ACS::VPC::RouteTable\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"test_key\\",\\n \\"Value\\": \\"test_value\\"\\n }\\n ],\\n \\"ZoneId\\": \\"cn-hangzhou-k\\"\\n }\\n ],\\n \\"Scope\\": \\"rd-r4****\\\\n\\"\\n}","type":"json"}]',
+ ],
+ 'SearchResources' => [
+ 'summary' => 'Searches for resources in your current account that you are permitted to access.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of `NextToken`.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of entries per page.'."\n"
+ ."\n"
+ .'Valid values: 1 to 500.'."\n"
+ ."\n"
+ .'Default value: 20.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '500',
+ 'minimum' => '1',
+ 'default' => '20',
+ 'example' => '10',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'Filter',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The filter conditions.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The filter condition.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The key of the filter condition. For more information about the valid values, see the "`Supported filter parameters`" section below.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'RegionId',
+ 'title' => '',
+ ],
+ 'MatchType' => [
+ 'description' => 'The matching method. Valid values:'."\n"
+ ."\n"
+ .'- Equals: Exact match.'."\n"
+ ."\n"
+ .'- Prefix: Prefix match.'."\n"
+ ."\n"
+ .'- Contains: Contains a value.'."\n"
+ ."\n"
+ .'- NotContains: Does not contain a value.'."\n"
+ ."\n"
+ .'- Exists: The key exists.'."\n"
+ ."\n"
+ .'- NotExists: The key does not exist.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Equals',
+ 'title' => '',
+ ],
+ 'Value' => [
+ 'description' => 'The value of the filter condition.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The value of the filter condition.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '过滤条件值。',
+ 'title' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 200,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 10,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the resource group.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rg-acfmzawhxxc****',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'SortCriterion',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The sorting parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The sort key.'."\n"
+ ."\n"
+ .'Set this parameter to `CreateTime`, which means the results are sorted by resource creation time.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CreateTime',
+ 'title' => '',
+ ],
+ 'Order' => [
+ 'description' => 'The sort order. Valid values:'."\n"
+ ."\n"
+ .'- ASC: Ascending order.'."\n"
+ ."\n"
+ .'- DESC: Descending order.'."\n"
+ ."\n"
+ .'Default value: ASC.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ASC',
+ 'title' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'SearchExpression',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The search keyword. Resource Center filters and sorts the search results based on relevance.'."\n"
+ .'If you do not specify a sorting parameter, resources that better match the keyword are displayed with higher priority.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'keywords',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'IncludeDeletedResources',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to include deleted resources. Valid values:'."\n"
+ ."\n"
+ .'- true'."\n"
+ ."\n"
+ .'- false',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Filters' => [
+ 'description' => 'The filter conditions.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The filter condition.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The key of the filter condition.',
+ 'type' => 'string',
+ 'example' => 'RegionId',
+ 'title' => '',
+ ],
+ 'MatchType' => [
+ 'description' => 'The matching method.',
+ 'type' => 'string',
+ 'example' => 'Equals',
+ 'title' => '',
+ ],
+ 'Values' => [
+ 'description' => 'The values of the filter condition.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The value of the filter condition.',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ 'title' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'MaxResults' => [
+ 'description' => 'The maximum number of entries returned per page.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ 'title' => '',
+ ],
+ 'NextToken' => [
+ 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.',
+ 'type' => 'string',
+ 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd**** '."\n",
+ 'title' => '',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'D696E6EF-3A6D-5770-801E-4982081FE4D0',
+ 'title' => '',
+ ],
+ 'Resources' => [
+ 'description' => 'The information about the resources.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the resource.',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'description' => 'The ID of the Alibaba Cloud account.',
+ 'type' => 'string',
+ 'example' => '151266687691****',
+ 'title' => '',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the resource was created.'."\n"
+ ."\n"
+ .'> Whether this parameter is returned depends on the Alibaba Cloud service to which the resource belongs.',
+ 'type' => 'string',
+ 'example' => '2021-06-30T09:20:08Z',
+ 'title' => '',
+ ],
+ 'ExpireTime' => [
+ 'description' => 'The time when the resource expires.',
+ 'type' => 'string',
+ 'example' => '2021-07-30T09:20:08Z',
+ 'title' => '',
+ ],
+ 'IpAddressAttributes' => [
+ 'description' => 'The attributes of the IP addresses.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The attributes of the IP address.',
+ 'type' => 'object',
+ 'properties' => [
+ 'IpAddress' => [
+ 'description' => 'The IP address.',
+ 'type' => 'string',
+ 'example' => '192.168.1.2',
+ 'title' => '',
+ ],
+ 'NetworkType' => [
+ 'description' => 'The network type. Valid values:'."\n"
+ ."\n"
+ .'- **Public**: Internet'."\n"
+ ."\n"
+ .'- **Private**: Private network',
+ 'type' => 'string',
+ 'example' => 'Public',
+ 'title' => '',
+ ],
+ 'Version' => [
+ 'description' => 'The IP address version.',
+ 'type' => 'string',
+ 'example' => 'Ipv4',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'IpAddresses' => [
+ 'description' => 'The IP addresses.'."\n"
+ ."\n"
+ .'> Whether this parameter is returned depends on the Alibaba Cloud service to which the resource belongs.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The IP address.'."\n"
+ ."\n"
+ .'> Whether this parameter is returned depends on the Alibaba Cloud service to which the resource belongs.',
+ 'type' => 'string',
+ 'example' => '192.168.1.2',
+ 'title' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'RegionId' => [
+ 'description' => 'The region ID.',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ 'title' => '',
+ ],
+ 'ResourceGroupId' => [
+ 'description' => 'The resource group ID.',
+ 'type' => 'string',
+ 'example' => 'rg-acfmzawhxxc****',
+ 'title' => '',
+ ],
+ 'ResourceId' => [
+ 'description' => 'The resource ID.',
+ 'type' => 'string',
+ 'example' => 'vtb-bp11lbh452fr8940s****',
+ 'title' => '',
+ ],
+ 'ResourceName' => [
+ 'description' => 'The resource name.',
+ 'type' => 'string',
+ 'example' => 'group1',
+ 'title' => '',
+ ],
+ 'ResourceType' => [
+ 'description' => 'The resource type.',
+ 'type' => 'string',
+ 'example' => 'ACS::VPC::RouteTable',
+ 'title' => '',
+ ],
+ 'Tags' => [
+ 'description' => 'The tags.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The tag key.',
+ 'type' => 'string',
+ 'example' => 'test_key',
+ 'title' => '',
+ ],
+ 'Value' => [
+ 'description' => 'The tag value.',
+ 'type' => 'string',
+ 'example' => 'test_value',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ZoneId' => [
+ 'description' => 'The zone ID.'."\n"
+ ."\n"
+ .'> Whether this parameter is returned depends on the Alibaba Cloud service to which the resource belongs.',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou-k',
+ 'title' => '',
+ ],
+ 'Deleted' => [
+ 'description' => 'Indicates whether the resource is deleted. Valid values:'."\n"
+ ."\n"
+ .'- true'."\n"
+ ."\n"
+ .'- false',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.MaxResults',
+ 'errorMessage' => 'The specified parameter MaxResults is not valid.',
+ 'description' => 'The MaxResults parameter is invalid.',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.Filter.ResourceType',
+ 'errorMessage' => 'The specified parameter value of Filter.ResourceType is not valid.',
+ 'description' => '',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.SortCriterion.Key',
+ 'errorMessage' => 'The specified parameter SortCriterion.Key is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'ExceedLimit.Filter',
+ 'errorMessage' => 'The maximum length of Filters is exceeded.',
+ 'description' => 'The number of objects specified in the Filter parameter exceeds the upper limit.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Filters\\": [\\n {\\n \\"Key\\": \\"RegionId\\",\\n \\"MatchType\\": \\"Equals\\",\\n \\"Values\\": [\\n \\"cn-hangzhou\\"\\n ]\\n }\\n ],\\n \\"MaxResults\\": 10,\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\\\t\\\\n\\",\\n \\"RequestId\\": \\"D696E6EF-3A6D-5770-801E-4982081FE4D0\\",\\n \\"Resources\\": [\\n {\\n \\"AccountId\\": \\"151266687691****\\",\\n \\"CreateTime\\": \\"2021-06-30T09:20:08Z\\",\\n \\"ExpireTime\\": \\"2021-07-30T09:20:08Z\\",\\n \\"IpAddressAttributes\\": [\\n {\\n \\"IpAddress\\": \\"192.168.1.2\\",\\n \\"NetworkType\\": \\"Public\\",\\n \\"Version\\": \\"Ipv4\\"\\n }\\n ],\\n \\"IpAddresses\\": [\\n \\"192.168.1.2\\"\\n ],\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzawhxxc****\\",\\n \\"ResourceId\\": \\"vtb-bp11lbh452fr8940s****\\",\\n \\"ResourceName\\": \\"group1\\",\\n \\"ResourceType\\": \\"ACS::VPC::RouteTable\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"test_key\\",\\n \\"Value\\": \\"test_value\\"\\n }\\n ],\\n \\"ZoneId\\": \\"cn-hangzhou-k\\",\\n \\"Deleted\\": true\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'SearchResources',
+ 'description' => '- You can search only for resources in your current account that you are permitted to access.'."\n"
+ ."\n"
+ .'- You can search only for the [Alibaba Cloud services and resource types that are supported by Resource Center](~~477798~~).'."\n"
+ ."\n"
+ .'- By default, the SearchResources operation returns a maximum of 20 entries. You can specify the `MaxResults` parameter to change the maximum number of entries that are returned.'."\n"
+ ."\n"
+ .'- If the response does not include a `NextToken` value, no more results are available. To retrieve the next page of results, include the `NextToken` value from the previous response in your next request. If you do not specify the `NextToken` parameter, the first page of results is returned.'."\n"
+ ."\n"
+ .'- You can set one or more filter conditions to narrow the search scope. For information about the supported filter parameters and matching methods, see the following sections. Multiple filter conditions are combined by a logical `AND`. Only resources that meet all filter conditions are returned. The values within a filter condition are combined by a logical `OR`. Resources that meet any value of the filter condition are returned.'."\n"
+ ."\n"
+ .'- For more query examples, see [API Explorer](https://api.aliyun.com/api-tools/demo/ResourceCenter).',
+ 'requestParamsDescription' => '### Supported filter parameters'."\n"
+ ."\n"
+ .'| **Parameter** | **Description** | **Supported matching methods** |'."\n"
+ .'| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- |'."\n"
+ .'| ResourceType | The resource type. | Equals |'."\n"
+ .'| RegionId | The region ID. | Equals |'."\n"
+ .'| ResourceId | The resource ID. | Equals, Prefix |'."\n"
+ .'| ResourceGroupId | The resource group ID. | Equals, Exists, NotExists |'."\n"
+ .'| ResourceName | The resource name. | Equals, Contains |'."\n"
+ .'| Tag | The key-value pair of a tag. The value must be a JSON string in the `{ "key": $key, "value": $value }` format. You must specify at least key or value. For example, if you want to query the tag key `foo` and tag value `bar`, set this parameter to `{ "key": "foo", "value": "bar" }`. If you want to query only the tag key `foo`, set this parameter to `{ "key": "foo" }`. | Contains, NotContains, NotExists |'."\n"
+ .'| VpcId | The VPC ID. | Equals |'."\n"
+ .'| VSwitchId | The vSwitch ID. | Equals |'."\n"
+ .'| IpAddress | The IP address. | Equals, Contains |',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'SearchResources',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:SearchResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpdateDeliveryChannel' => [
+ 'summary' => 'Updates a single-account delivery channel.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DeliveryChannelId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the delivery channel.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'dc-4m6ffpkgu***',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'DeliveryChannelName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the delivery channel.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test-delivery-channel',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'DeliveryChannelDescription',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the delivery channel.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '投递描述',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceSnapshotDelivery',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The configurations for delivery of scheduled resource snapshots.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryTime' => [
+ 'description' => 'The delivery time.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '09:00Z',
+ 'title' => '',
+ ],
+ 'Enabled' => [
+ 'description' => 'Specifies whether to enable delivery of scheduled resource snapshots. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'true',
+ 'title' => '',
+ ],
+ 'TargetArn' => [
+ 'description' => 'The Alibaba Cloud Resource Name (ARN) of the delivery destination. Valid values:'."\n"
+ ."\n"
+ .'* If you set `TargetType` to `OSS`, you must set `TargetArn` to the ARN of a bucket whose name is prefixed with `resourcecenter-`. Example: `acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss`.'."\n"
+ .'* If you set `TargetType` to `SLS`, you must set `TargetArn` to the ARN of a Logstore whose name is prefixed with `resourcecenter-`. Example: `acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss',
+ 'title' => '',
+ ],
+ 'TargetType' => [
+ 'description' => 'The type of the delivery destination. Valid values:'."\n"
+ ."\n"
+ .'* `OSS` for standard delivery'."\n"
+ .'* `OSS` or `SLS` for custom delivery'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'SLS' => 'SLS',
+ 'OSS' => 'OSS',
+ ],
+ 'example' => 'OSS',
+ 'title' => '',
+ ],
+ 'CustomExpression' => [
+ 'description' => 'The custom expression.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'select * from resources limit 100;',
+ 'title' => '',
+ ],
+ 'SlsProperties' => [
+ 'description' => 'The Simple Log Service configurations.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'OversizedDataOssTargetArn' => [
+ 'description' => 'The ARN of the destination to which large files are delivered.'."\n"
+ ."\n"
+ .'If the size of a resource configuration change event exceeds 1 MB, the event is delivered as an OSS object. You need to set this parameter to the ARN of a bucket whose name is prefixed with `resourcecenter-`.'."\n"
+ ."\n"
+ .'> This parameter takes effect only if you use custom delivery for scheduled resource snapshots. You do not need to configure this parameter if you use standard delivery for scheduled resource snapshots.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'."\n",
+ 'title' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceChangeDelivery',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The configurations for delivery of resource configuration change events.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Enabled' => [
+ 'description' => 'Specifies whether to enable delivery of resource configuration change events. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'true',
+ 'title' => '',
+ ],
+ 'SlsProperties' => [
+ 'description' => 'The Simple Log Service configurations.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'OversizedDataOssTargetArn' => [
+ 'description' => 'The ARN of the destination to which large files are delivered.'."\n"
+ ."\n"
+ .'If the size of a resource configuration change event exceeds 1 MB, the event is delivered as an OSS object. You need to set this parameter to the ARN of a bucket whose name is prefixed with `resourcecenter-`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'."\n",
+ 'title' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ ],
+ 'TargetArn' => [
+ 'description' => 'The ARN of the delivery destination. Valid values:'."\n"
+ ."\n"
+ .'* If you set `TargetType` to `OSS`, you must set `TargetArn` to the ARN of a bucket whose name is prefixed with `resourcecenter-`.'."\n"
+ .'* If you set `TargetType` to `SLS`, you must set `TargetArn` to the ARN of a Logstore whose name is prefixed with `resourcecenter-`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls',
+ 'title' => '',
+ ],
+ 'TargetType' => [
+ 'description' => 'The type of the delivery destination.'."\n"
+ ."\n"
+ .'Set the value to `SLS`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'SLS' => 'SLS',
+ ],
+ 'example' => 'SLS',
+ 'title' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'DeliveryChannelFilter',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The effective scope of the delivery channel.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceTypes' => [
+ 'description' => 'The effective resource types of the delivery channel.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The effective resource type of the delivery channel. For more information, see [Services that work with Resource Center](~~477798~~).'."\n"
+ ."\n"
+ .'If you want to deliver items of all resource types supported by Resource Center, set this parameter to `ALL`.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ACS::VPC::VPC',
+ 'title' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'AD5F848D-CCDC-5464-93E1-4BA50A482***',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 403 => [
+ [
+ 'errorCode' => 'NoPermission.ResourceType',
+ 'errorMessage' => 'The operator is not permitted for this resource type.',
+ 'description' => 'The operator is not permitted for this resource type.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'NotExists.DeliveryChannelId',
+ 'errorMessage' => 'The DeliveryChannelId does not exist.',
+ 'description' => 'The DeliveryChannelId does not exist.',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.DeliveryName',
+ 'errorMessage' => 'The specified parameter DeliveryName is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.OverSizedDataOssTargetArn',
+ 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.DeliveryFilter.AccountScopes',
+ 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.DeliveryTime',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetArn',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetType',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetArn',
+ 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetType',
+ 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.CustomExpression',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.CustomExpression is missing.',
+ 'description' => '',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryChannelId',
+ 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'AlreadyExists.DeliveryName',
+ 'errorMessage' => 'The DeliveryName Name already exists.',
+ 'description' => 'The delivery name already exists.',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryDescription',
+ 'errorMessage' => 'The specified parameter DeliveryDescription is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.OverSizedDataOssTargetArn',
+ 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryFilter.AccountScopes',
+ 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is not valid.',
+ 'description' => 'The specified parameter DeliveryFilter.AccountScopes is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryFilter.ResourceTypes',
+ 'errorMessage' => 'The specified parameter DeliveryFilter.ResourceTypes is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetArn',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.DeliveryTime',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetType',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetArn',
+ 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetType',
+ 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.CustomExpression',
+ 'errorMessage' => 'Error: %s.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD5F848D-CCDC-5464-93E1-4BA50A482***\\"\\n}","type":"json"}]',
+ 'title' => 'UpdateDeliveryChannel',
+ 'description' => 'Resource delivery supports the delivery of resource configuration change events and scheduled resource snapshots.'."\n"
+ ."\n"
+ .'Scheduled resource snapshots support the following delivery scenarios:'."\n"
+ ."\n"
+ .'* Standard delivery: Leave the `ResourceSnapshotDelivery.CustomExpression` parameter empty.'."\n"
+ .'* Custom delivery: Set the `ResourceSnapshotDelivery.CustomExpression` parameter to an appropriate value.'."\n",
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:UpdateDeliveryChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpdateFilter' => [
+ 'summary' => 'Updates a filter.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'FilterName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the filter.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '我的筛选条件。',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'FilterConfiguration',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configurations of the filter.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '{'."\n"
+ .' "regions": [],'."\n"
+ .' "tagFilters": ['."\n"
+ .' [{ "type": "notContainTagKey", "tagKey": "xxx", "tagValue": "" }],'."\n"
+ .' [{ "tagKey": "xxx", "tagValue": "xxx" }]'."\n"
+ .' ],'."\n"
+ .' "resourceTypes": ['."\n"
+ .' "ACS::ECS::AutoSnapshotPolicy"'."\n"
+ .' ]'."\n"
+ .'}',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => '3C5CDBF6-4DB7-53E9-ADDC-5919E3FACF6F',
+ 'title' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.FilterConfiguration',
+ 'errorMessage' => 'The specified parameter FilterConfiguration is not valid.',
+ 'description' => 'The FilterConfiguration parameter is invalid.',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.FilterName',
+ 'errorMessage' => 'The specified parameter FilterName is not valid.',
+ 'description' => 'The FilterName parameter is invalid.',
+ ],
+ [
+ 'errorCode' => 'LengthExceedLimit.FilterConfiguration',
+ 'errorMessage' => 'The length of parameter FilterConfiguration exceed limit.',
+ 'description' => 'The length of the value specified for the FilterConfiguration parameter exceeds the upper limit.',
+ ],
+ [
+ 'errorCode' => 'LengthExceedLimit.FilterName',
+ 'errorMessage' => 'The length of parameter FilterName exceed limit.',
+ 'description' => 'The length of the value specified for the FilterName parameter exceeds the upper limit.',
+ ],
+ [
+ 'errorCode' => 'NotExists.FilterName',
+ 'errorMessage' => 'The filter name of current user not exists.',
+ 'description' => 'The object indicated by the FilterName parameter does not exist.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'UpdateFilter',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'UpdateFilter',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:UpdateFilter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3C5CDBF6-4DB7-53E9-ADDC-5919E3FACF6F\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateMultiAccountDeliveryChannel' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DeliveryChannelId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the delivery channel.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'dc-4m6ffpkgu***',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'DeliveryChannelName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the delivery channel.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test-multi-account-delivery-channel',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'DeliveryChannelDescription',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the delivery channel.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'This is a description.',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceSnapshotDelivery',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The configurations for scheduled delivery of resource snapshots.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeliveryTime' => [
+ 'description' => 'The delivery time.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '09:00Z',
+ 'title' => '',
+ ],
+ 'Enabled' => [
+ 'description' => 'Specifies whether to enable scheduled delivery of resource snapshots. Valid values:'."\n"
+ ."\n"
+ .'- true'."\n"
+ ."\n"
+ .'- false',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'true',
+ 'title' => '',
+ ],
+ 'TargetArn' => [
+ 'description' => 'The Alibaba Cloud Resource Name (ARN) of the delivery destination. Valid values:'."\n"
+ ."\n"
+ .'- If you set `TargetType` to `OSS`, you must set `TargetArn` to the ARN of a OSS bucket that has a prefix of `resourcecenter-`. Example: `acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss`.'."\n"
+ ."\n"
+ .'- If you set `TargetType` to `SLS`, you must set `TargetArn` to the ARN of a SLS Logstore that has a prefix of `resourcecenter-`. Example: `acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls`.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss',
+ 'title' => '',
+ ],
+ 'TargetType' => [
+ 'description' => 'The type of the delivery destination. Valid values:'."\n"
+ ."\n"
+ .'- `OSS` for standard delivery'."\n"
+ ."\n"
+ .'- `OSS` or `SLS` for custom delivery',
+ 'enumValueTitles' => [
+ 'SLS' => 'SLS',
+ 'OSS' => 'OSS',
+ ],
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'OSS',
+ 'title' => '',
+ ],
+ 'CustomExpression' => [
+ 'description' => 'The custom expression.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'select * from resources limit 100;'."\n",
+ 'title' => '',
+ ],
+ 'SlsProperties' => [
+ 'description' => 'The Simple Log Service (SLS) configurations.',
+ 'type' => 'object',
+ 'properties' => [
+ 'OversizedDataOssTargetArn' => [
+ 'description' => 'The ARN of the delivery destination for oversized data.'."\n"
+ ."\n"
+ .'If the size of a resource configuration change event exceeds 1 MB, the event is delivered as an OSS object. You must enter the ARN of an OSS bucket that has a prefix of `resourcecenter-`.'."\n"
+ ."\n"
+ .'> This parameter takes effect only when you create a custom scheduled delivery task for resource snapshots. You do not need to specify this parameter when you create a standard scheduled delivery task for resource snapshots.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'."\n",
+ 'title' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceChangeDelivery',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The configurations for delivery of resource configuration change events.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Enabled' => [
+ 'description' => 'Specifies whether to enable delivery of resource configuration change events. Valid values:'."\n"
+ ."\n"
+ .'- true'."\n"
+ ."\n"
+ .'- false',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'true',
+ 'title' => '',
+ ],
+ 'SlsProperties' => [
+ 'description' => 'The SLS configurations.',
+ 'type' => 'object',
+ 'properties' => [
+ 'OversizedDataOssTargetArn' => [
+ 'description' => 'The ARN of the delivery destination for oversized data.'."\n"
+ ."\n"
+ .'If the size of a resource configuration change event exceeds 1 MB, the event is delivered as an OSS object. You must enter the ARN of an OSS bucket that has a prefix of `resourcecenter-`.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss',
+ 'title' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'TargetArn' => [
+ 'description' => 'The ARN of the delivery destination. Valid values:'."\n"
+ ."\n"
+ .'- If you set `TargetType` to `OSS`, you must set `TargetArn` to the ARN of a OSS bucket that has a prefix of `resourcecenter-`.'."\n"
+ ."\n"
+ .'- If you set `TargetType` to `SLS`, you must set `TargetArn` to the ARN of a SLS Logstore that has a prefix of `resourcecenter-`.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls'."\n",
+ 'title' => '',
+ ],
+ 'TargetType' => [
+ 'description' => 'The type of the delivery destination.'."\n"
+ ."\n"
+ .'Valid value: `SLS`.',
+ 'enumValueTitles' => [
+ 'SLS' => 'SLS',
+ ],
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SLS',
+ 'title' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'DeliveryChannelFilter',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'The effective scope of the delivery channel.',
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountScopes' => [
+ 'description' => 'The account scopes of the delivery channel.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The account scope of the delivery channel. Valid values:'."\n"
+ ."\n"
+ .'- The ID of a resource directory. This value specifies that the resources of the management account and all members of the resource directory are delivered.'."\n"
+ ."\n"
+ .'- The ID of the Root folder. This value specifies that the resources of all members in the Root folder and its subfolders are delivered.'."\n"
+ ."\n"
+ .'- The ID of a folder. This value specifies that the resources of all members in the folder are delivered.'."\n"
+ ."\n"
+ .'- The ID of a member. This value specifies that the resources of the member are delivered.'."\n"
+ ."\n"
+ .'For more information about how to obtain the ID of a resource directory, folder, member or the Root folder, see [GetResourceDirectory](~~159995~~), [ListFoldersForParent](~~159997~~), and [ListAccounts](~~160016~~).',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rd-r4****'."\n",
+ 'title' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'ResourceTypes' => [
+ 'description' => 'The effective resource type of the delivery channel.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The resource type. For more information, see [Alibaba Cloud services and resource types that are supported by Resource Center](~~477798~~).'."\n"
+ ."\n"
+ .'To deliver all resource types supported by Resource Center, set this parameter to `ALL`.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ACS::VPC::VPC',
+ 'title' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => '36A3D9BE-B607-5993-B546-7E19EF65D***',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 403 => [
+ [
+ 'errorCode' => 'NoPermission.AccountScope',
+ 'errorMessage' => 'The operator is not permitted for this account scope.',
+ 'description' => 'The operator is not permitted for this account scope.',
+ ],
+ [
+ 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
+ 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
+ 'description' => 'You are not allowed to use a member of a resource directory to perform this operation. Use the management account of the resource directory to perform the operation.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'NotExists.DeliveryChannelId',
+ 'errorMessage' => 'The DeliveryChannelId does not exist.',
+ 'description' => 'The DeliveryChannelId does not exist.',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.DeliveryName',
+ 'errorMessage' => 'The specified parameter DeliveryName is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.OverSizedDataOssTargetArn',
+ 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.DeliveryFilter.AccountScopes',
+ 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.DeliveryTime',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetArn',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetType',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetArn',
+ 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetType',
+ 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is missing.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.CustomExpression',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.CustomExpression is missing.',
+ 'description' => '',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryChannelId',
+ 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'AlreadyExists.DeliveryName',
+ 'errorMessage' => 'The DeliveryName Name already exists.',
+ 'description' => 'The delivery name already exists.',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryDescription',
+ 'errorMessage' => 'The specified parameter DeliveryDescription is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.OverSizedDataOssTargetArn',
+ 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryFilter.AccountScopes',
+ 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is not valid.',
+ 'description' => 'The specified parameter DeliveryFilter.AccountScopes is not valid.',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.DeliveryFilter.ResourceTypes',
+ 'errorMessage' => 'The specified parameter DeliveryFilter.ResourceTypes is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetArn',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.DeliveryTime',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetType',
+ 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetArn',
+ 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetType',
+ 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is not valid.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.CustomExpression',
+ 'errorMessage' => 'Error: %s.',
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'UpdateMultiAccountDeliveryChannel',
+ 'summary' => 'Updates a multi-account delivery channel.',
+ 'description' => 'Resource delivery supports the delivery of resource configuration change events and scheduled resource snapshots.'."\n"
+ ."\n"
+ .'Scheduled resource snapshots support the following delivery scenarios:'."\n"
+ ."\n"
+ .'- Standard delivery: Leave the `ResourceSnapshotDelivery.CustomExpression` parameter empty.'."\n"
+ ."\n"
+ .'- Custom delivery: Set the `ResourceSnapshotDelivery.CustomExpression` parameter to an appropriate value.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:UpdateMultiAccountDeliveryChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ 'additionalActions' => [],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"36A3D9BE-B607-5993-B546-7E19EF65D***\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateSavedQuery' => [
+ 'summary' => 'Updates a custom query template.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the template.'."\n"
+ ."\n"
+ .'The description must be 1 to 256 characters in length.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '查询我的所有资源,返回所有的列。',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the template.'."\n"
+ ."\n"
+ .'- The name must be 1 to 64 characters in length.'."\n"
+ ."\n"
+ .'- It can contain letters, digits, underscores (\\_), and hyphens (-).'."\n"
+ ."\n"
+ .'- It must be globally unique.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '查询我的所有资源。',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'Expression',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The expression of the template.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SELECT * FROM resources;',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'QueryId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the template.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cq-GeAck****',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'type' => 'string',
+ 'example' => 'D696E6EF-3A6D-5770-801E-4982081FE4D0',
+ 'title' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NoPermission',
+ 'errorMessage' => 'You are not authorized to perform this operation.',
+ 'description' => '',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'NotExists.QueryId',
+ 'errorMessage' => 'The QueryId does not exist.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'LengthExceedLimit.Description',
+ 'errorMessage' => 'The length of parameter Description exceed limit.',
+ 'description' => 'The length of the query template description exceeds the limit.',
+ ],
+ [
+ 'errorCode' => 'LengthExceedLimit.Expression',
+ 'errorMessage' => 'The length of parameter Expression exceed limit.',
+ 'description' => '',
+ ],
+ [
+ 'errorCode' => 'LengthExceedLimit.Name',
+ 'errorMessage' => 'The length of parameter Name exceed limit.',
+ 'description' => 'The length of the query template name exceeds the limit.',
+ ],
+ [
+ 'errorCode' => 'InvalidParameter.Name',
+ 'errorMessage' => 'The specified parameter Name is not valid.',
+ 'description' => 'The query template name is invalid.',
+ ],
+ [
+ 'errorCode' => 'AlreadyExists.Name',
+ 'errorMessage' => 'The Query Template Name already exists.',
+ 'description' => 'The query template name already exists.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => 'UpdateSavedQuery',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '10',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'UpdateSavedQuery',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:UpdateSavedQuery',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D696E6EF-3A6D-5770-801E-4982081FE4D0\\"\\n}","type":"json"}]',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'ap-southeast-1',
+ 'regionName' => 'Singapore',
+ 'areaId' => 'asiaPacific',
+ 'areaName' => 'Asia Pacific',
+ 'public' => 'resourcecenter-intl.aliyuncs.com',
+ 'endpoint' => 'resourcecenter-intl.aliyuncs.com',
+ 'vpc' => 'resourcecenter-intl.vpc-proxy.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai',
+ 'regionName' => 'China (Shanghai)',
+ 'areaId' => 'asiaPacific',
+ 'areaName' => 'Asia Pacific',
+ 'public' => 'resourcecenter.aliyuncs.com',
+ 'endpoint' => 'resourcecenter.aliyuncs.com',
+ 'vpc' => 'resourcecenter.vpc-proxy.aliyuncs.com',
+ ],
+ ],
+ 'errorCodes' => [
+ [
+ 'code' => 'AlreadyExists.AccountId',
+ 'message' => 'The AccountId already exists.',
+ 'http_code' => 409,
+ 'description' => 'Account ID already exists.',
+ ],
+ [
+ 'code' => 'AlreadyExists.DeliveryName',
+ 'message' => 'The DeliveryName Name already exists.',
+ 'http_code' => 409,
+ 'description' => 'The delivery name already exists.',
+ ],
+ [
+ 'code' => 'AlreadyExists.FilterName',
+ 'message' => 'The filter name of current user already exists.',
+ 'http_code' => 409,
+ 'description' => 'The name specified in the FilterName parameter already exists.',
+ ],
+ [
+ 'code' => 'AlreadyExists.Name',
+ 'message' => 'The Query Template Name already exists.',
+ 'http_code' => 409,
+ 'description' => 'The query template name already exists.',
+ ],
+ [
+ 'code' => 'Conflict.ServiceStatus',
+ 'message' => 'The service status conflict occurred due to frequent service enabled and disabled.',
+ 'http_code' => 409,
+ 'description' => 'The resource center is opened and closed too frequently, and the service status conflicts.',
+ ],
+ [
+ 'code' => 'DependencyViolation.Config',
+ 'message' => 'ResourceCenter cannot be disabled, because the Config has been enabled.',
+ 'http_code' => 409,
+ 'description' => 'Resource Center cannot be deactivated because the Cloud Config service is activated for the current account.',
+ ],
+ [
+ 'code' => 'DependencyViolation.ResourceGroup',
+ 'message' => 'Unable to disable resource center while associate transfer is enabled.',
+ 'http_code' => 409,
+ 'description' => 'The Transfer Associated Resources feature is enabled and cannot be disabled.',
+ ],
+ [
+ 'code' => 'DisableConflict',
+ 'message' => 'ResourceDirectory management account or delegated administrator account has enabled multi account ResourceCenter, you cannot disable ResourceCenter.',
+ 'http_code' => 409,
+ 'description' => 'You cannot deactivate Resource Center because the cross-account resource search feature is enabled by using the management account of the resource directory or a delegated administrator account of Resource Center.',
+ ],
+ [
+ 'code' => 'DisableConflict.DeliveryChannel',
+ 'message' => 'ResourceCenter cannot be disabled because there are active delivery channels.',
+ 'http_code' => 409,
+ 'description' => 'ResourceCenter cannot be disabled because there are active delivery channels.',
+ ],
+ [
+ 'code' => 'DisableConflict.MultiAccount',
+ 'message' => 'ResourceDirectory management account or delegated administrator account has enabled multi account ResourceCenter, you cannot disable ResourceCenter.',
+ 'http_code' => 409,
+ 'description' => 'You cannot deactivate Resource Center because the cross-account resource search feature is enabled by using the management account of the resource directory or a delegated administrator account of Resource Center.',
+ ],
+ [
+ 'code' => 'DiscoveryInProgress',
+ 'message' => 'A discovery task is in progress. Please wait for a while and check the result again.',
+ 'http_code' => 403,
+ 'description' => 'The system is finding the related resource. Wait a few minutes and try again.',
+ ],
+ [
+ 'code' => 'ExceedLimit.ApiInvokeQuota',
+ 'message' => 'The API invocation limit has been exceeded.',
+ 'http_code' => 403,
+ 'description' => 'The API invocation limit has been exceeded.',
+ ],
+ [
+ 'code' => 'ExceedLimit.DeliverResourceSnapshot',
+ 'message' => 'The resource snapshot deliver frequency exceeds the limit.',
+ 'http_code' => 429,
+ 'description' => 'The resource snapshot deliver frequency exceeds the limit.',
+ ],
+ [
+ 'code' => 'ExceedLimit.DeliveryChannelQuota',
+ 'message' => 'The number of delivery channels exceeds the limit.',
+ 'http_code' => 403,
+ 'description' => 'The number of delivery channels exceeds the limit.',
+ ],
+ [
+ 'code' => 'ExceedLimit.ExecuteTime',
+ 'message' => 'The execution time has exceeded the limit. Please check for complex queries or large data volume, and optimize accordingly.',
+ 'http_code' => 408,
+ 'description' => 'The time consumed for the query exceeds the limit. Check and optimize the complexity of or data size in the SQL statement.',
+ ],
+ [
+ 'code' => 'ExceedLimit.Filter',
+ 'message' => 'The maximum length of Filters is exceeded.',
+ 'http_code' => 409,
+ 'description' => 'The number of objects specified in the Filter parameter exceeds the upper limit.',
+ ],
+ [
+ 'code' => 'ExceedLimit.FilterValue',
+ 'message' => 'The number of objects specified in the FilterValue parameter exceeds the upper limit.',
+ 'http_code' => 409,
+ 'description' => 'The value of FilterValue exceeds the upper limit.',
+ ],
+ [
+ 'code' => 'ExceedLimit.RelatedResourceFilter',
+ 'message' => 'The maximum length of RelatedResourceFilter is exceeded.',
+ 'http_code' => 404,
+ 'description' => 'The number of objects specified in the RelatedResourceFilter parameter exceeds the upper limit.',
+ ],
+ [
+ 'code' => 'ExceedLimit.RelatedResourceFilterValue',
+ 'message' => 'The number of objects specified in the RelatedResourceFilterValue parameter exceeds the upper limit.',
+ 'http_code' => 409,
+ 'description' => 'The number of parameter RelatedResourceFilterValue exceeds the upper limit.'."\n",
+ ],
+ [
+ 'code' => 'ExceedLimit.User.Filter',
+ 'message' => 'The maximum number of Filters is exceeded.',
+ 'http_code' => 409,
+ 'description' => 'The number of specified filters exceeds the upper limit.',
+ ],
+ [
+ 'code' => 'GenerateSqlError',
+ 'message' => 'Unable to generate a sql for the input. Rephrase, and try again.',
+ 'http_code' => 409,
+ 'description' => 'Unable to generate a sql for the input. Rephrase, and try again.',
+ ],
+ [
+ 'code' => 'InternalError',
+ 'message' => 'The request processing has failed due to some unknown error.',
+ 'http_code' => 400,
+ 'description' => 'An internal error occurred.',
+ ],
+ [
+ 'code' => 'InvalidCallerType',
+ 'message' => 'Your account type doe not support the operation.',
+ 'http_code' => 400,
+ 'description' => 'Your account does not support the operation.',
+ ],
+ [
+ 'code' => 'InvalidParameter.AccountId',
+ 'message' => 'The specified parameter AccountId is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The AccountId parameter is invalid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.AccountScope',
+ 'message' => 'The specified parameter AccountScope is not valid.',
+ 'http_code' => 409,
+ 'description' => 'The parameter AccountScope is invalid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.ConfigurationChangeDelivery.TargetArn',
+ 'message' => 'The specified parameter ConfigurationChangeDelivery.TargetArn is not valid.',
+ 'http_code' => 409,
+ 'description' => 'The specified parameter ConfigurationChangeDelivery.TargetArn is not valid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.ConfigurationChangeDelivery.TargetType',
+ 'message' => 'The specified parameter ConfigurationChangeDelivery.TargetType is not valid.',
+ 'http_code' => 409,
+ 'description' => 'The specified parameter ConfigurationChangeDelivery.TargetType is not valid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.ConfigurationSnapshotDelivery.DeliveryTime',
+ 'message' => 'The specified parameter ConfigurationSnapshotDelivery.DeliveryTime is not valid.',
+ 'http_code' => 409,
+ 'description' => 'The specified parameter ConfigurationSnapshotDelivery.DeliveryTime is not valid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.ConfigurationSnapshotDelivery.TargetArn',
+ 'message' => 'The specified parameter ConfigurationSnapshotDelivery.TargetArn is not valid.',
+ 'http_code' => 409,
+ 'description' => 'The specified parameter ConfigurationSnapshotDelivery.TargetArn is not valid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.ConfigurationSnapshotDelivery.TargetType',
+ 'message' => 'The specified parameter ConfigurationSnapshotDelivery.TargetType is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter ConfigurationSnapshotDelivery.TargetType is not valid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.CustomExpression',
+ 'message' => 'Error: %s.',
+ 'http_code' => 400,
+ 'description' => 'Error: %s.',
+ ],
+ [
+ 'code' => 'InvalidParameter.DeliveryChannelId',
+ 'message' => 'The specified parameter DeliveryChannelId is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter DeliveryChannelId is not valid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.DeliveryDescription',
+ 'message' => 'The specified parameter DeliveryDescription is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The DeliveryDescription parameter is invalid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.DeliveryFilter.AccountScopes',
+ 'message' => 'The specified parameter DeliveryFilter.AccountScopes is not valid.',
+ 'http_code' => 409,
+ 'description' => 'The specified parameter DeliveryFilter.AccountScopes is not valid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.DeliveryFilter.ResourceTypes',
+ 'message' => 'The specified parameter DeliveryFilter.ResourceTypes is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter DeliveryFilter.ResourceTypes is not valid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.DeliveryName',
+ 'message' => 'The specified parameter DeliveryName is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The DeliveryName parameter is invalid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.DeliveryTime',
+ 'message' => 'The specified parameter DeliveryTime is not valid.',
+ 'http_code' => 409,
+ 'description' => 'The DeliveryTime parameter is invalid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.Expression',
+ 'message' => 'Error: %s.',
+ 'http_code' => 409,
+ 'description' => 'Error: %s.',
+ ],
+ [
+ 'code' => 'InvalidParameter.FilterConfiguration',
+ 'message' => 'The specified parameter FilterConfiguration is not valid.',
+ 'http_code' => 409,
+ 'description' => 'The FilterConfiguration parameter is invalid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.FilterKey',
+ 'message' => 'The specified parameter Filter.n.Key is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The Filter.N.Key parameter is invalid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.FilterMatchType',
+ 'message' => 'The specified parameter Filter.n.MatchType is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The Filter.N.MatchType parameter is invalid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.FilterName',
+ 'message' => 'The specified parameter FilterName is not valid.',
+ 'http_code' => 409,
+ 'description' => 'The FilterName parameter is invalid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.FilterValue',
+ 'message' => 'The specified parameter InvalidParameter.FilterValue is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The InvalidParameter.FilterValue parameter is invalid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.GroupByKey',
+ 'message' => 'The specified parameter GroupByKey is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The GroupByKey parameter is invalid.\\n',
+ ],
+ [
+ 'code' => 'InvalidParameter.MatchType',
+ 'message' => 'The specified parameter MatchType is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The MatchType parameter is invalid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.MaxResults',
+ 'message' => 'The specified parameter MaxResults is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The MaxResults parameter is invalid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.Name',
+ 'message' => 'The specified parameter Name is not valid.',
+ 'http_code' => 409,
+ 'description' => 'The query template name is invalid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.NextToken',
+ 'message' => 'The specified parameter NextToken is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter NextToken is not valid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.OverSizedDataOssTargetArn',
+ 'message' => 'The specified parameter OverSizedDataOssTargetArn is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter OverSizedDataOssTargetArn is not valid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.Query',
+ 'message' => 'The specified parameter Query is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The Query parameter is invalid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.RelatedResourceFilterKey',
+ 'message' => 'The specified parameter RelatedResourceFilterMatchType.n.RelatedResourceFilterKey is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter RelatedResourceFilterMatchType.n.RelatedResourceFilterKey is invalid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.RelatedResourceFilterMatchType',
+ 'message' => 'The specified parameter RelatedResourceFilterMatchType.n.MatchType is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter RelatedResourceFilterMatchType.n.MatchType is invalid.'."\n",
+ ],
+ [
+ 'code' => 'InvalidParameter.ResourceChangeDelivery.TargetArn',
+ 'message' => 'The specified parameter ResourceChangeDelivery.TargetArn is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter ResourceChangeDelivery.TargetArn is not valid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.ResourceChangeDelivery.TargetType',
+ 'message' => 'The specified parameter ResourceChangeDelivery.TargetType is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter ResourceChangeDelivery.TargetType is not valid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.ResourceGroupId',
+ 'message' => 'The specified parameter ResourceGroupId is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The ResourceGroupId parameter is invalid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.ResourceSnapshotDelivery.DeliveryTime',
+ 'message' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is not valid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.ResourceSnapshotDelivery.TargetArn',
+ 'message' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is not valid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.ResourceSnapshotDelivery.TargetType',
+ 'message' => 'The specified parameter ResourceSnapshotDelivery.TargetType is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter ResourceSnapshotDelivery.TargetType is not valid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.ResourceType',
+ 'message' => 'The specified parameter ResourceType is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The ResourceType parameter is invalid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.Scope',
+ 'message' => 'The Scope is invalid.',
+ 'http_code' => 400,
+ 'description' => 'The Scope parameter is invalid',
+ ],
+ [
+ 'code' => 'InvalidParameter.ServiceName',
+ 'message' => 'The specified parameter ServiceName is not valid.',
+ 'http_code' => 409,
+ 'description' => 'The specified parameter ServiceName is not valid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.SortCriterion.Key',
+ 'message' => 'The specified parameter SortCriterion.Key is not valid.',
+ 'http_code' => 400,
+ 'description' => 'The SortCriterion.Key parameter is invalid.',
+ ],
+ [
+ 'code' => 'InvalidParameter.TargetType',
+ 'message' => 'The specified parameter TargetType is not valid.',
+ 'http_code' => 409,
+ 'description' => 'The TargetType parameter is invalid.',
+ ],
+ [
+ 'code' => 'InvalidSearch.GraphQL',
+ 'message' => 'Error: %s.',
+ 'http_code' => 409,
+ 'description' => 'Error:',
+ ],
+ [
+ 'code' => 'InvalidSearch.SQL',
+ 'message' => 'Error: %s',
+ 'http_code' => 400,
+ 'description' => 'Error:%s',
+ ],
+ [
+ 'code' => 'LengthExceedLimit.Description',
+ 'message' => 'The length of parameter Description exceed limit.',
+ 'http_code' => 409,
+ 'description' => 'The length of the query template description exceeds the limit.',
+ ],
+ [
+ 'code' => 'LengthExceedLimit.Expression',
+ 'message' => 'The length of parameter Expression exceed limit.',
+ 'http_code' => 400,
+ 'description' => 'The length of the query expression exceeds the limit.',
+ ],
+ [
+ 'code' => 'LengthExceedLimit.FilterConfiguration',
+ 'message' => 'The length of parameter FilterConfiguration exceed limit.',
+ 'http_code' => 409,
+ 'description' => 'The length of the value specified for the FilterConfiguration parameter exceeds the upper limit.',
+ ],
+ [
+ 'code' => 'LengthExceedLimit.FilterName',
+ 'message' => 'The length of parameter FilterName exceed limit.',
+ 'http_code' => 409,
+ 'description' => 'The length of the value specified for the FilterName parameter exceeds the upper limit.',
+ ],
+ [
+ 'code' => 'LengthExceedLimit.Input',
+ 'message' => 'The length of parameter Input exceed limit.',
+ 'http_code' => 400,
+ 'description' => 'The length of parameter Input exceed limit.',
+ ],
+ [
+ 'code' => 'LengthExceedLimit.Name',
+ 'message' => 'The length of parameter Name exceed limit.',
+ 'http_code' => 409,
+ 'description' => 'The length of the query template name exceeds the limit.',
+ ],
+ [
+ 'code' => 'MissingParameter.ConfigurationChangeDelivery.TargetArn',
+ 'message' => 'The specified parameter ConfigurationChangeDelivery.TargetArn is missing.',
+ 'http_code' => 404,
+ 'description' => 'The specified parameter ConfigurationChangeDelivery.TargetArn is missing.',
+ ],
+ [
+ 'code' => 'MissingParameter.ConfigurationChangeDelivery.TargetType',
+ 'message' => 'The specified parameter ConfigurationChangeDelivery.TargetType is missing.',
+ 'http_code' => 404,
+ 'description' => 'The specified parameter ConfigurationChangeDelivery.TargetType is missing.',
+ ],
+ [
+ 'code' => 'MissingParameter.ConfigurationSnapshotDelivery.DeliveryTime',
+ 'message' => 'Missing required parameter DeliveryTime for ConfigurationSnapshotDelivery.',
+ 'http_code' => 404,
+ 'description' => 'You must configure the request parameter ConfigurationSnapshotDelivery.DeliveryTime.',
+ ],
+ [
+ 'code' => 'MissingParameter.ConfigurationSnapshotDelivery.DeliveryTime',
+ 'message' => 'The specified parameter ConfigurationSnapshotDelivery.DeliveryTime is missing.',
+ 'http_code' => 404,
+ 'description' => 'The specified parameter ConfigurationSnapshotDelivery.DeliveryTime is missing.',
+ ],
+ [
+ 'code' => 'MissingParameter.ConfigurationSnapshotDelivery.TargetArn',
+ 'message' => 'Missing required parameter TargetArn for ConfigurationSnapshotDelivery.',
+ 'http_code' => 404,
+ 'description' => 'You must configure the request parameter ConfigurationSnapshotDelivery.TargetArn.',
+ ],
+ [
+ 'code' => 'MissingParameter.ConfigurationSnapshotDelivery.TargetArn',
+ 'message' => 'The specified parameter ConfigurationSnapshotDelivery.TargetArn is missing.',
+ 'http_code' => 404,
+ 'description' => 'The specified parameter ConfigurationSnapshotDelivery.TargetArn is missing.',
+ ],
+ [
+ 'code' => 'MissingParameter.ConfigurationSnapshotDelivery.TargetType',
+ 'message' => 'The specified parameter ConfigurationSnapshotDelivery.TargetType is missing.',
+ 'http_code' => 404,
+ 'description' => 'The specified parameter ConfigurationSnapshotDelivery.TargetType is missing.',
+ ],
+ [
+ 'code' => 'MissingParameter.DeliveryConfiguration',
+ 'message' => 'The parameter ConfigurationSnapshotDelivery or ConfigurationChangeDelivery must be specified.',
+ 'http_code' => 404,
+ 'description' => 'You must configure the ConfigurationSnapshotDelivery or ConfigurationChangeDelivery parameter.',
+ ],
+ [
+ 'code' => 'MissingParameter.DeliveryFilter',
+ 'message' => 'The specified parameter DeliveryFilter is missing.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter DeliveryFilter is missing.',
+ ],
+ [
+ 'code' => 'MissingParameter.DeliveryFilter.AccountScopes',
+ 'message' => 'The specified parameter DeliveryFilter.AccountScopes is missing.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter DeliveryFilter.AccountScopes is missing.',
+ ],
+ [
+ 'code' => 'MissingParameter.DeliveryName',
+ 'message' => 'The specified parameter DeliveryName is missing.',
+ 'http_code' => 400,
+ 'description' => 'You must configure the DeliveryName parameter.',
+ ],
+ [
+ 'code' => 'MissingParameter.FilterConfiguration',
+ 'message' => 'The specified parameter FilterConfiguration is missing.',
+ 'http_code' => 400,
+ 'description' => 'The FilterConfiguration parameter is not configured.',
+ ],
+ [
+ 'code' => 'MissingParameter.FilterName',
+ 'message' => 'The specified parameter FilterName is missing.',
+ 'http_code' => 404,
+ 'description' => 'The FilterName parameter is not configured.',
+ ],
+ [
+ 'code' => 'MissingParameter.FilterValue',
+ 'message' => 'You must specify Filter.n.Value.',
+ 'http_code' => 400,
+ 'description' => 'The Filter.N.Value parameter is not configured.',
+ ],
+ [
+ 'code' => 'MissingParameter.GroupByKey',
+ 'message' => 'You must specify GroupByKey.',
+ 'http_code' => 400,
+ 'description' => 'The GroupByKey parameter is not configured.',
+ ],
+ [
+ 'code' => 'MissingParameter.MaxResults',
+ 'message' => 'You must specify MaxResults.',
+ 'http_code' => 400,
+ 'description' => 'The MaxResults parameter is not configured.',
+ ],
+ [
+ 'code' => 'MissingParameter.OverSizedDataOssTargetArn',
+ 'message' => 'The specified parameter OverSizedDataOssTargetArn is missing.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter OverSizedDataOssTargetArn is missing.',
+ ],
+ [
+ 'code' => 'MissingParameter.RegionId',
+ 'message' => 'The specified parameter RegionId is missing.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter RegionId is missing.',
+ ],
+ [
+ 'code' => 'MissingParameter.RelatedResourceFilterValue',
+ 'message' => 'You must specify RelatedResourceFilterValue.n.Value.',
+ 'http_code' => 400,
+ 'description' => 'The RelatedResourceFilterValue.N.Value parameter is not configured.',
+ ],
+ [
+ 'code' => 'MissingParameter.ResourceChangeDelivery.TargetArn',
+ 'message' => 'The specified parameter ResourceChangeDelivery.TargetArn is missing.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter ResourceChangeDelivery.TargetArn is missing.',
+ ],
+ [
+ 'code' => 'MissingParameter.ResourceChangeDelivery.TargetType',
+ 'message' => 'The specified parameter ResourceChangeDelivery.TargetType is missing.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter ResourceChangeDelivery.TargetType is missing.',
+ ],
+ [
+ 'code' => 'MissingParameter.ResourceDeliveryConfiguration',
+ 'message' => 'The parameter ResourceSnapshotDelivery or ResourceChangeDelivery must be specified.',
+ 'http_code' => 400,
+ 'description' => 'The parameter ResourceSnapshotDelivery or ResourceChangeDelivery must be specified.',
+ ],
+ [
+ 'code' => 'MissingParameter.ResourceId',
+ 'message' => 'The specified parameter ResourceId is missing.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter ResourceId is missing.',
+ ],
+ [
+ 'code' => 'MissingParameter.ResourceSnapshotDelivery.CustomExpression',
+ 'message' => 'The specified parameter ResourceSnapshotDelivery.CustomExpression is missing.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter ResourceSnapshotDelivery.CustomExpression is missing.',
+ ],
+ [
+ 'code' => 'MissingParameter.ResourceSnapshotDelivery.DeliveryTime',
+ 'message' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is missing.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is missing.',
+ ],
+ [
+ 'code' => 'MissingParameter.ResourceSnapshotDelivery.TargetArn',
+ 'message' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is missing.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is missing.',
+ ],
+ [
+ 'code' => 'MissingParameter.ResourceSnapshotDelivery.TargetType',
+ 'message' => 'The specified parameter ResourceSnapshotDelivery.TargetType is missing.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter ResourceSnapshotDelivery.TargetType is missing.',
+ ],
+ [
+ 'code' => 'MissingParameter.ResourceType',
+ 'message' => 'The specified parameter ResourceType is missing.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter ResourceType is missing.'."\n",
+ ],
+ [
+ 'code' => 'MissingParameter.TargetType',
+ 'message' => 'The specified parameter TargetType is missing.',
+ 'http_code' => 404,
+ 'description' => 'You must configure the TargetType parameter.',
+ ],
+ [
+ 'code' => 'MultiAccountServiceNotEnabled',
+ 'message' => 'Multi account ResourceCenter service is not enabled.',
+ 'http_code' => 403,
+ 'description' => 'The Resource Meta Center (RMC) service is not activated.',
+ ],
+ [
+ 'code' => 'NoPermission',
+ 'message' => 'You are not authorized to perform this operation.',
+ 'http_code' => 403,
+ 'description' => 'You are not authorized to perform the operation.',
+ ],
+ [
+ 'code' => 'NoPermission.AccountScope',
+ 'message' => 'The operator is not permitted for this account scope.',
+ 'http_code' => 403,
+ 'description' => 'The operator is not permitted for this account scope.',
+ ],
+ [
+ 'code' => 'NoPermission.Resource',
+ 'message' => 'The operator is not permitted for this resource.',
+ 'http_code' => 403,
+ 'description' => 'You are not authorized to perform operations on the resource.',
+ ],
+ [
+ 'code' => 'NoPermission.ResourceDirectory.MemberAccount',
+ 'message' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
+ 'http_code' => 403,
+ 'description' => 'You are not allowed to use a member of a resource directory to perform this operation. Use the management account of the resource directory to perform the operation.',
+ ],
+ [
+ 'code' => 'NoPermission.ResourceDirectory.MemberAccount',
+ 'message' => 'The administrator account has enabled MultiAccountResourceCenter, ResourceDirectory Member Account is not authorized to perform this operation.',
+ 'http_code' => 403,
+ 'description' => 'The cross-account resource search feature is enabled by using the management account of the resource directory. You cannot use a member of the resource directory to deactivate Resource Center.',
+ ],
+ [
+ 'code' => 'NoPermission.ResourceType',
+ 'message' => 'The operator is not permitted for this resource type.',
+ 'http_code' => 403,
+ 'description' => 'The operator is not permitted for this resource type.',
+ ],
+ [
+ 'code' => 'NoPermission.ServiceLinkedRole',
+ 'message' => 'The current user does not have permission to create servicelinkedrole. Please contact the Alibaba Cloud account or administrator to authorize custom policy: Service Name: rmc.resourcemanager.aliyuncs.com, Action: ram:CreateServiceLinkedRole.',
+ 'http_code' => 403,
+ 'description' => 'The current user does not have the permissions to create the service-linked role. Contact the owner of the Alibaba Cloud account or the permission administrator to attach the custom policy that contains the required permissions to the user. The custom policy must contain the following information: 1. Service name: rmc.resourcemanager.aliyuncs.com. 2. Permission: ram:CreateServiceLinkedRole.',
+ ],
+ [
+ 'code' => 'NotExists.Account',
+ 'message' => 'The specified account does not exist.',
+ 'http_code' => 404,
+ 'description' => 'The specified account does not exist.',
+ ],
+ [
+ 'code' => 'NotExists.DefaultFilter',
+ 'message' => 'The default filter of current user not exists.',
+ 'http_code' => 404,
+ 'description' => 'The default filter of current user not exists.',
+ ],
+ [
+ 'code' => 'NotExists.DeliveryChannelId',
+ 'message' => 'The DeliveryChannelId does not exist.',
+ 'http_code' => 404,
+ 'description' => 'The DeliveryChannelId does not exist.',
+ ],
+ [
+ 'code' => 'NotExists.FilterName',
+ 'message' => 'The filter name of current user not exists.',
+ 'http_code' => 409,
+ 'description' => 'The object indicated by the FilterName parameter does not exist.',
+ ],
+ [
+ 'code' => 'NotExists.QueryId',
+ 'message' => 'The QueryId does not exist.',
+ 'http_code' => 404,
+ 'description' => 'The specified query template ID does not exist.',
+ ],
+ [
+ 'code' => 'NotExists.Resource',
+ 'message' => 'The specified resource does not exist.',
+ 'http_code' => 404,
+ 'description' => 'The specified resource does not exist.',
+ ],
+ [
+ 'code' => 'NotExists.ResourceDirectory',
+ 'message' => 'The resource directory for the account is not enabled.',
+ 'http_code' => 404,
+ 'description' => 'No resource directory is enabled for the account.',
+ ],
+ [
+ 'code' => 'NotExists.ResourceDirectory.FolderId',
+ 'message' => 'The specified folder does not exist.',
+ 'http_code' => 404,
+ 'description' => 'The specified folder does not exist.',
+ ],
+ [
+ 'code' => 'NotExists.ResourceGroup',
+ 'message' => 'The specified ResourceGroup does not exist.',
+ 'http_code' => 404,
+ 'description' => 'The specified resource group does not exist.',
+ ],
+ [
+ 'code' => 'NotExists.ServiceName',
+ 'message' => 'The ServiceName does not exist.',
+ 'http_code' => 404,
+ 'description' => 'The ServiceName does not exist.',
+ ],
+ [
+ 'code' => 'NotSupport.Account.Site',
+ 'message' => 'The caller is not a current site account, which is not supported.',
+ 'http_code' => 409,
+ 'description' => 'You are not allowed to use the account to perform operations at the current site.',
+ ],
+ [
+ 'code' => 'NotSupport.Account.Site',
+ 'message' => 'The caller is not a current site account.',
+ 'http_code' => 409,
+ 'description' => 'The account used to send the request is not an account of the current site.',
+ ],
+ [
+ 'code' => 'ServiceNotEnabled',
+ 'message' => 'ResourceCenter Service is not enabled.',
+ 'http_code' => 403,
+ 'description' => 'The Resource Meta Center (RMC) service is not activated.',
+ ],
+ [
+ 'code' => 'ServiceNotEnabled.SpecifiedAccount',
+ 'message' => 'ResourceCenter service of the specified account is not enabled.',
+ 'http_code' => 403,
+ 'description' => 'The Resource Center service is not activated for the specified account.',
+ ],
+ [
+ 'code' => 'SQLExecuteError',
+ 'message' => 'Failed to execute the SQL statement.',
+ 'http_code' => 400,
+ 'description' => 'Failed to perform the query. Check whether the query statement is correct.',
+ ],
+ [
+ 'code' => 'SQLGenerateError',
+ 'message' => 'Unable to generate a sql for the input. Rephrase, and try again.',
+ 'http_code' => 400,
+ 'description' => 'Unable to generate a sql for the input. Rephrase, and try again.',
+ ],
+ [
+ 'code' => 'NotExists.ResourceType',
+ 'message' => 'The specified resource type does not exist.',
+ 'http_code' => 404,
+ 'description' => 'The specified resource type does not exist.',
+ ],
+ [
+ 'code' => 'MissingParameter.AccountScope',
+ 'message' => 'The specified parameter AccountScope is missing.',
+ 'http_code' => 400,
+ 'description' => 'The specified parameter AccountScope is missing.',
+ ],
+ ],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'GetResourceCenterServiceStatus',
+ ],
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListTagValues',
+ ],
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListMultiAccountTagValues',
+ ],
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListMultiAccountResourceRelationships',
+ ],
+ [
+ 'threshold' => '50',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'CreateSavedQuery',
+ ],
+ [
+ 'threshold' => '3',
+ 'countWindow' => 5,
+ 'regionId' => '*',
+ 'api' => 'ExecuteSQLQuery',
+ ],
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'GetMultiAccountResourceCenterServiceStatus',
+ ],
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListFilters',
+ ],
+ [
+ 'threshold' => '50',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListExampleQueries',
+ ],
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListResourceTypes',
+ ],
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'DeleteFilter',
+ ],
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'DisassociateDefaultFilter',
+ ],
+ [
+ 'threshold' => '50',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'DeleteSavedQuery',
+ ],
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'GetMultiAccountResourceConfiguration',
+ ],
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListResourceRelationships',
+ ],
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'SearchResources',
+ ],
+ [
+ 'threshold' => '10',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'UpdateSavedQuery',
+ ],
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'AssociateDefaultFilter',
+ ],
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListMultiAccountResourceGroups',
+ ],
+ [
+ 'threshold' => '5',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'DisableResourceCenter',
+ ],
+ [
+ 'threshold' => '50',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListSavedQueries',
+ ],
+ [
+ 'threshold' => '100',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'GetExampleQuery',
+ ],
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'GetResourceCounts',
+ ],
+ [
+ 'threshold' => '50',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'GetSavedQuery',
+ ],
+ [
+ 'threshold' => '5',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'DisableMultiAccountResourceCenter',
+ ],
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'GetResourceConfiguration',
+ ],
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'SearchMultiAccountResources',
+ ],
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'UpdateFilter',
+ ],
+ [
+ 'threshold' => '5',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'EnableMultiAccountResourceCenter',
+ ],
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListMultiAccountTagKeys',
+ ],
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'ListTagKeys',
+ ],
+ [
+ 'threshold' => '20',
+ 'countWindow' => 1,
+ 'regionId' => '*',
+ 'api' => 'CreateFilter',
+ ],
+ [
+ 'threshold' => '5',
+ 'countWindow' => 60,
+ 'regionId' => '*',
+ 'api' => 'EnableResourceCenter',
+ ],
+ [
+ 'threshold' => '3',
+ 'countWindow' => 5,
+ 'regionId' => '*',
+ 'api' => 'ExecuteMultiAccountSQLQuery',
+ ],
+ ],
+ ],
+ 'ram' => [
+ 'productCode' => 'ResourceManager',
+ 'productName' => 'Resource Management',
+ 'ramCodes' => [
+ 'resourcecenter',
+ 'resourcemanager',
+ 'tag',
+ 'resourcesharing',
+ ],
+ 'ramLevel' => 'OPERATION',
+ 'ramConditions' => [
+ [
+ 'name' => 'resourcesharing:ResourceArn',
+ 'schema' => [
+ 'type' => 'String',
+ 'description' => 'The resource ARN. Example: acs:vpc:cn-shanghai:131993166204****:vswitch/vsw-7xv4sfwo86u2etl64****.',
+ ],
+ ],
+ [
+ 'name' => 'resourcesharing:RequestedAllowExternalTargets',
+ 'schema' => [
+ 'type' => 'Boolean',
+ 'description' => 'Whether resources in the resource share can be shared with accounts outside the resource directory. Example: false.',
+ 'enums' => [
+ 'true',
+ 'false',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'ram:ServiceName',
+ 'schema' => [
+ 'type' => 'String',
+ 'description' => 'Specifies the trusted service principal for service-linked role. Example: actiontrail.aliyuncs.com',
+ ],
+ ],
+ [
+ 'name' => 'resourcesharing:Target',
+ 'schema' => [
+ 'type' => 'String',
+ 'description' => 'Example values include: Resource Directory ID, the RDPath of a folder, or the RDPath of an account (within the resource directory), or the account ID (for accounts outside of the resource directory).',
+ ],
+ ],
+ [
+ 'name' => 'resourcesharing:RequestedResourceType',
+ 'schema' => [
+ 'type' => 'String',
+ 'description' => 'The resource type. Example: VSwitch.',
+ ],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'apiName' => 'SearchResources',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:SearchResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DisassociateDefaultFilter',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:DisassociateDefaultFilter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateFilter',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:CreateFilter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteDeliveryChannel',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:DeleteDeliveryChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetResourceConfiguration',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetResourceConfiguration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateDeliveryChannel',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:UpdateDeliveryChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteFilter',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:DeleteFilter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListMultiAccountResourceRelationships',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:ListMultiAccountResourceRelationships',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'EnableMultiAccountResourceCenter',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:EnableMultiAccountResourceCenter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListMultiAccountDeliveryChannels',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'resourcecenter:ListMultiAccountDeliveryChannels',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetMultiAccountDeliveryChannelStatistics',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetMultiAccountDeliveryChannelStatistics',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SearchMultiAccountResources',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'resourcecenter:SearchMultiAccountResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetDeliveryChannelStatistics',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetDeliveryChannelStatistics',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DisableResourceCenter',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:DisableResourceCenter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListSavedQueries',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:ListSavedQueries',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetResourceCenterServiceStatus',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetResourceCenterServiceStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteMultiAccountDeliveryChannel',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'resourcecenter:DeleteMultiAccountDeliveryChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateSavedQuery',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:CreateSavedQuery',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetSavedQuery',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetSavedQuery',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteSavedQuery',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:DeleteSavedQuery',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'BatchGetMultiAccountResourceConfigurations',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetMultiAccountResourceConfiguration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListMultiAccountTagKeys',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'resourcecenter:SearchMultiAccountResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ExecuteMultiAccountSQLQuery',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:ExecuteMultiAccountSQLQuery',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GenerateSQLQueryByAI',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GenerateSQLQueryByAI',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DisableMultiAccountResourceCenter',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:DisableMultiAccountResourceCenter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'AssociateDefaultFilter',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:AssociateDefaultFilter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeliverResourceSnapshot',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'resourcecenter:DeliverResourceSnapshot',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateMultiAccountDeliveryChannel',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'resourcecenter:CreateMultiAccountDeliveryChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateMultiAccountDeliveryChannel',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'resourcecenter:UpdateMultiAccountDeliveryChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListResourceRelationships',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:ListResourceRelationships',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateSavedQuery',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:UpdateSavedQuery',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateServiceDeliveryChannel',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:CreateServiceDeliveryChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetMultiAccountDeliveryChannel',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetMultiAccountDeliveryChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetDeliveryChannel',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetDeliveryChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListMultiAccountTagValues',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'resourcecenter:SearchMultiAccountResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateDeliveryChannel',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:CreateDeliveryChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetMultiAccountResourceCenterServiceStatus',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetMultiAccountResourceCenterServiceStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListFilters',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:ListFilters',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ExecuteSQLQuery',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:ExecuteSQLQuery',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'BatchGetResourceConfigurations',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetResourceConfiguration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListMultiAccountResourceGroups',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'resourcecenter:SearchMultiAccountResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListDeliveryChannels',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:ListDeliveryChannels',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateFilter',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:UpdateFilter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetMultiAccountResourceConfiguration',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetMultiAccountResourceConfiguration',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteServiceDeliveryChannel',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:DeleteServiceDeliveryChannel',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetMultiAccountResourceCounts',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'additionalActions' => [],
+ 'ramAction' => [
+ 'action' => 'resourcecenter:GetMultiAccountResourceCounts',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'EnableResourceCenter',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'resourcecenter:EnableResourceCenter',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListTagKeys',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'tag:ListTagKeys',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListTagValues',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'tag:ListTagValues',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ [
+ 'validationType' => 'always',
+ 'product' => 'ResourceManager',
+ 'resourceType' => 'All Resource',
+ 'arn' => '*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'resourceTypes' => [],
+ ],
+];