diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/emr | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/en_us/emr')
| -rw-r--r-- | data/en_us/emr/2021-03-20/api-docs.php | 43045 |
1 files changed, 15242 insertions, 27803 deletions
diff --git a/data/en_us/emr/2021-03-20/api-docs.php b/data/en_us/emr/2021-03-20/api-docs.php index beb2e33..f459584 100644 --- a/data/en_us/emr/2021-03-20/api-docs.php +++ b/data/en_us/emr/2021-03-20/api-docs.php @@ -1,3978 +1,2147 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Emr', - 'version' => '2021-03-20', - ], + 'info' => ['style' => 'RPC', 'product' => 'Emr', 'version' => '2021-03-20'], 'directories' => [ [ - 'id' => 305838, - 'title' => null, + 'children' => ['ListReleaseVersions', 'ListInstanceTypes'], 'type' => 'directory', - 'children' => [ - 'ListReleaseVersions', - 'ListInstanceTypes', - ], + 'title' => 'Basics', ], [ - 'id' => 305841, - 'title' => null, + 'children' => ['RunCluster', 'CreateCluster', 'UpdateClusterAttribute', 'ListClusters', 'DeleteCluster', 'GetClusterCloneMeta', 'UpdateClusterAutoRenew'], 'type' => 'directory', - 'children' => [ - 'RunCluster', - 'CreateCluster', - 'GetCluster', - 'UpdateClusterAttribute', - 'ListClusters', - 'DeleteCluster', - 'GetClusterCloneMeta', - 'UpdateClusterAutoRenew', - ], + 'title' => 'Cluster', ], [ - 'id' => 305850, - 'title' => null, + 'children' => ['CreateApiTemplate', 'UpdateApiTemplate', 'ListApiTemplates', 'RunApiTemplate'], 'type' => 'directory', - 'children' => [ - 'CreateApiTemplate', - 'UpdateApiTemplate', - 'ListApiTemplates', - 'GetApiTemplate', - 'DeleteApiTemplate', - 'RunApiTemplate', - ], + 'title' => 'Cluster template', ], [ - 'id' => 305857, - 'title' => null, + 'children' => ['CreateNodeGroup', 'ListNodeGroups', 'GetNodeGroup', 'IncreaseNodes', 'DecreaseNodes'], 'type' => 'directory', - 'children' => [ - 'CreateNodeGroup', - 'ListNodeGroups', - 'GetNodeGroup', - 'IncreaseNodes', - 'DecreaseNodes', - 'ListNodes', - ], + 'title' => 'Node group', ], [ - 'id' => 305864, - 'title' => null, + 'children' => ['PutAutoScalingPolicy', 'PutManagedScalingPolicy', 'GetAutoScalingPolicy', 'GetManagedScalingPolicy', 'ListAutoScalingActivities', 'GetAutoScalingActivity'], 'type' => 'directory', - 'children' => [ - 'PutAutoScalingPolicy', - 'PutManagedScalingPolicy', - 'GetAutoScalingPolicy', - 'GetManagedScalingPolicy', - 'RemoveAutoScalingPolicy', - 'ListAutoScalingActivities', - 'GetAutoScalingActivity', - ], + 'title' => 'Auto scaling', ], [ - 'id' => 305872, - 'title' => null, + 'children' => ['GetApplication', 'RunApplicationAction', 'ListApplicationConfigs', 'UpdateApplicationConfigs', 'ListComponents', 'ListComponentInstances'], 'type' => 'directory', - 'children' => [ - 'ListApplications', - 'GetApplication', - 'RunApplicationAction', - 'ListApplicationConfigs', - 'UpdateApplicationConfigs', - 'ListComponents', - 'ListComponentInstances', - ], + 'title' => 'Application', ], [ - 'id' => 305880, - 'title' => null, + 'children' => ['UntagResources', 'ListTagResources'], 'type' => 'directory', - 'children' => [ - 'GetOperation', - ], + 'title' => 'Tag', ], [ - 'id' => 305882, - 'title' => null, + 'children' => ['CreateScript', 'ListScripts', 'UpdateScript'], 'type' => 'directory', - 'children' => [ - 'JoinResourceGroup', - ], + 'title' => 'Script', ], [ - 'id' => 305884, - 'title' => null, + 'children' => ['ListDoctorHiveDatabases', 'GetDoctorHiveDatabase', 'ListDoctorHiveTables', 'GetDoctorHiveTable', 'ListDoctorHDFSUGI', 'ListDoctorHBaseTables', 'ListDoctorHBaseRegionServers', 'GetDoctorHBaseTable', 'GetDoctorHBaseCluster', 'ListDoctorReports', 'GetDoctorReportComponentSummary', 'GetDoctorJob', 'ListDoctorApplications', 'ListDoctorHDFSDirectories', 'GetDoctorApplication'], 'type' => 'directory', - 'children' => [ - 'TagResources', - 'UntagResources', - 'ListTagResources', - ], + 'title' => 'Monitoring and diagnostics', ], [ - 'id' => 305888, - 'title' => null, + 'children' => ['CreateUsers', 'DeleteUsers', 'UpdateUserAttribute', 'ListUsers'], 'type' => 'directory', - 'children' => [ - 'CreateScript', - 'ListScripts', - 'UpdateScript', - 'DeleteScript', - ], + 'title' => 'OpenLDAP user management', ], [ - 'id' => 305893, - 'title' => null, - 'type' => 'directory', 'children' => [ - 'ListDoctorHiveDatabases', - 'GetDoctorHiveDatabase', - 'GetDoctorHiveCluster', - 'ListDoctorHiveTables', - 'GetDoctorHiveTable', - 'ListDoctorHDFSUGI', - 'ListDoctorHBaseTables', - 'ListDoctorHBaseRegionServers', - 'GetDoctorHBaseTable', - 'GetDoctorHBaseRegionServer', - 'GetDoctorHBaseRegion', - 'GetDoctorHBaseCluster', - 'GetDoctorHDFSDirectory', - 'ListDoctorJobsStats', - 'ListDoctorReports', - 'GetDoctorReportComponentSummary', - 'ListDoctorJobs', - 'ListDoctorComputeSummary', - 'GetDoctorComputeSummary', - 'GetDoctorJob', - 'ListDoctorApplications', - 'ListDoctorHDFSDirectories', - 'GetDoctorHDFSCluster', - 'GetDoctorApplication', + 'ExportApplicationConfigs', 'DeleteApiTemplate', 'DeleteNodeGroup', 'DeleteScript', 'GetApiTemplate', 'GetCluster', 'GetDoctorComputeSummary', 'GetDoctorHBaseRegion', 'GetDoctorHBaseRegionServer', 'GetDoctorHDFSCluster', 'GetDoctorHDFSDirectory', 'GetDoctorHiveCluster', 'GetOperation', 'JoinResourceGroup', 'ListApplications', 'ListDoctorComputeSummary', 'ListDoctorJobs', 'ListDoctorJobsStats', 'ListNodes', 'RemoveAutoScalingPolicy', + 'TagResources', 'UpdateNodeGroupAttributes', ], - ], - [ - 'id' => 305918, - 'title' => null, 'type' => 'directory', - 'children' => [ - 'CreateUsers', - 'DeleteUsers', - 'UpdateUserAttribute', - 'ListUsers', - ], - ], - [ - 'id' => 305923, - 'title' => null, - 'type' => 'directory', - 'children' => [ - 'ExportApplicationConfigs', - ], - ], - [ - 'id' => 305925, - 'title' => null, - 'type' => 'directory', - 'children' => [], + 'title' => 'Others', ], ], 'components' => [ 'schemas' => [ - 'ApiTemplate' => [ - 'description' => 'The API operation template.'."\n", - 'visibility' => 'Public', + 'AckConfig' => [ 'type' => 'object', 'properties' => [ - 'Id' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - 'backendName' => 'id', - ], - 'GmtCreate' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1542934807000', - 'backendName' => 'gmtCreate', - ], - 'CreateTime' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1542952313000', - 'backendName' => 'createTime', - ], - 'GmtModified' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1708913029000', - 'backendName' => 'gmtModified', - ], - 'UpdateTime' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1708913029000', - 'backendName' => 'updateTime', - ], - 'RegionId' => [ - 'title' => '', - 'description' => 'The region ID.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'cn-hangzhou', - 'backendName' => 'regionId', + 'LimitMemory' => ['title' => 'Pod的内存限制值。', 'description' => 'Pod的内存限制值。', 'type' => 'number', 'format' => 'float'], + 'NodeAffinity' => ['title' => '节点亲和性', 'type' => 'string'], + 'RequestMemory' => ['title' => 'Pod的内存请求值。', 'description' => 'Pod的内存请求值。', 'type' => 'number', 'format' => 'float'], + 'Tolerations' => [ + 'title' => 'ack的节点污点容忍', + 'description' => 'ack的节点污点容忍', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/Toleration'], ], - 'UserId' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'string', - 'example' => '150***', - 'backendName' => 'userId', + 'DataDiskStorageClass' => ['title' => '类型', 'type' => 'string'], + 'LimitCpu' => ['title' => 'Pod的CPU限制值。', 'description' => 'Pod的CPU限制值。', 'type' => 'number', 'format' => 'float'], + 'CustomAnnotations' => [ + 'title' => 'annotations', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/Tag'], ], - 'OperatorId' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'string', - 'example' => '150***', - 'backendName' => 'operatorId', + 'Namespace' => ['title' => 'ack 命名空间', 'description' => 'ack 命名空间', 'type' => 'string'], + 'Pvcs' => [ + 'title' => '云存储声明', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Path' => ['title' => '挂载路径', 'type' => 'string'], + 'DataDiskStorageClass' => ['title' => '类型', 'type' => 'string'], + 'DataDiskSize' => ['title' => '磁盘大小', 'type' => 'integer', 'format' => 'int64'], + 'Name' => ['title' => 'pvc名称', 'type' => 'string'], + ], + ], ], - 'TemplateId' => [ - 'title' => '', - 'description' => 'The template ID.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'AT-Af***', - 'backendName' => 'templateId', + 'PodAffinity' => ['title' => '应用亲和性', 'type' => 'string'], + 'CustomLabels' => [ + 'title' => 'label', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/Tag'], ], - 'TemplateName' => [ - 'title' => '', - 'description' => 'The name of the template.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'datalakeTest1', - 'backendName' => 'templateName', + 'Volumes' => [ + 'title' => '卷定义', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Path' => ['title' => '源路径', 'type' => 'string'], + 'Type' => ['title' => 'type', 'type' => 'string'], + 'Name' => ['title' => '卷名称', 'type' => 'string'], + ], + ], ], - 'ApiName' => [ - 'title' => '', - 'description' => 'The name of the API operation.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'CreateCluster', - 'backendName' => 'apiName', + 'VolumeMounts' => [ + 'title' => '卷挂载', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Path' => ['title' => '容器内挂载路径', 'type' => 'string'], + 'Name' => ['title' => '卷名称', 'type' => 'string'], + ], + ], ], - 'ResourceGroupId' => [ - 'title' => '', - 'description' => 'The resource group ID.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'rg-acfmzabjyop****', - 'backendName' => 'resourceGroupId', + 'MountHostCgroup' => ['title' => '是否挂在cgroup', 'type' => 'boolean'], + 'PreStartCommand' => [ + 'title' => '启动命令', + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'AckInstanceId' => ['title' => 'ack集群id', 'description' => 'ack集群id', 'type' => 'string'], + 'DataDiskSize' => ['title' => '磁盘大小', 'type' => 'integer', 'format' => 'int32'], + 'PodAntiAffinity' => ['title' => '应用反亲和性', 'type' => 'string'], + 'NodeSelectors' => [ + 'title' => 'ack的节点标签限制', + 'description' => 'ack的节点标签限制', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/Tag'], ], - 'Status' => [ - 'title' => '', - 'description' => 'The status of the template.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'READY', - 'backendName' => 'status', + 'RequestCpu' => ['title' => 'Pod的CPU请求值', 'description' => 'Pod的CPU请求值', 'type' => 'number', 'format' => 'float'], + ], + ], + 'AckNode' => [ + 'type' => 'object', + 'properties' => [ + 'NodeId' => ['title' => '节点ID。', 'description' => '节点ID。', 'type' => 'string', 'example' => 'i-bp1cudc25w2bfwl5****'], + 'NodeSelector' => ['title' => 'ACK节点选择器。', 'description' => 'ACK节点选择器。', '$ref' => '#/components/schemas/AckNodeSelector'], + ], + ], + 'AckNodePool' => [ + 'type' => 'object', + 'properties' => [ + 'NodePoolId' => ['title' => '节点池ID。', 'description' => '节点池ID。', 'type' => 'string', 'example' => 'npe76629caa1b14a73bf3e47c6d481****'], + 'NodeSelector' => ['title' => 'ACK节点选择器。', 'description' => 'ACK节点选择器。', '$ref' => '#/components/schemas/AckNodeSelector'], + ], + ], + 'AckNodeSelector' => [ + 'type' => 'object', + 'properties' => [ + 'Labels' => [ + 'title' => '标签列表。', + 'description' => '污点列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['title' => '标签值。', 'description' => '标签值。', 'type' => 'string', 'example' => 'true'], + 'Key' => ['title' => '标签键。', 'description' => '标签键。', 'type' => 'string', 'example' => 'emr'], + ], + ], ], - 'Content' => [ - 'title' => '', - 'description' => 'The parameters in the API operation template.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'content'."\n", - 'backendName' => 'content', + 'Taints' => [ + 'title' => '污点列表。', + 'description' => '污点列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['title' => '污点值。', 'description' => '污点值。', 'type' => 'string', 'example' => 'true'], + 'Effect' => ['title' => '污点效果。', 'description' => '污点效果。', 'type' => 'string'], + 'Key' => ['title' => '污点键。', 'description' => '污点键。', 'type' => 'string', 'example' => 'emr'], + ], + ], ], ], ], + 'AdviseSummary' => [ + 'type' => 'object', + 'properties' => [ + 'VcoreUtilizationRate' => ['$ref' => '#/components/schemas/DoubleMetric'], + 'MemoryUtilizationRate' => ['$ref' => '#/components/schemas/DoubleMetric'], + ], + ], + 'ApiTemplate' => [ + 'description' => 'The API operation template.'."\n", + 'type' => 'object', + 'properties' => [ + 'Status' => ['title' => '', 'description' => 'The status of the template.'."\n", 'type' => 'string', 'example' => 'READY', 'visibility' => 'Public', 'backendName' => 'status'], + 'ResourceGroupId' => ['title' => '', 'description' => 'The resource group ID.'."\n", 'type' => 'string', 'example' => 'rg-acfmzabjyop****', 'visibility' => 'Public', 'backendName' => 'resourceGroupId'], + 'ApiName' => ['title' => '', 'description' => 'The name of the API operation.'."\n", 'type' => 'string', 'example' => 'CreateCluster', 'visibility' => 'Public', 'backendName' => 'apiName'], + 'Content' => ['title' => '', 'description' => 'The parameters in the API operation template.'."\n", 'type' => 'string', 'example' => 'content'."\n", 'visibility' => 'Public', 'backendName' => 'content'], + 'TemplateName' => ['title' => '', 'description' => 'The name of the template.'."\n", 'type' => 'string', 'example' => 'datalakeTest1', 'visibility' => 'Public', 'backendName' => 'templateName'], + 'RegionId' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou', 'visibility' => 'Public', 'backendName' => 'regionId'], + 'TemplateId' => ['title' => '', 'description' => 'The template ID.'."\n", 'type' => 'string', 'example' => 'AT-Af***', 'visibility' => 'Public', 'backendName' => 'templateId'], + ], + 'visibility' => 'Public', + 'title' => '', + 'example' => '', + ], 'Application' => [ - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'ApplicationName' => [ - 'title' => '', - 'description' => 'The name of the application. You can view the application names of each EMR version on the cluster creation page in the EMR console.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'SPARK', - 'backendName' => 'applicationName', - ], - 'ApplicationVersion' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'string', - 'example' => '3.2.1', - 'backendName' => 'applicationVersion', - ], + 'ApplicationName' => ['title' => '', 'description' => 'The application name. You can find the list of application names for each EMR distribution on the cluster creation page in the EMR console.', 'type' => 'string', 'required' => true, 'example' => 'SPARK', 'visibility' => 'Public', 'backendName' => 'applicationName'], ], 'description' => '', + 'title' => '', + 'example' => '', + 'visibility' => 'Public', ], 'ApplicationConfig' => [ 'description' => 'The parameter configurations.'."\n", - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'ApplicationName' => [ - 'title' => '', - 'description' => 'The name of the application. You can view the application names of each EMR version on the cluster creation page in the EMR console.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'HDFS', - 'backendName' => 'applicationName', + 'ConfigFileName' => ['title' => '', 'description' => 'The name of the configuration file.'."\n", 'type' => 'string', 'required' => true, 'example' => 'hdfs-site.xml', 'visibility' => 'Public', 'backendName' => 'configFileName'], + 'ApplicationName' => ['title' => '', 'description' => 'The name of the application. You can view the application names of each EMR version on the cluster creation page in the EMR console.'."\n", 'type' => 'string', 'required' => true, 'example' => 'HDFS', 'visibility' => 'Public', 'backendName' => 'applicationName'], + 'ConfigItemKey' => ['title' => '', 'description' => 'The key of the configuration item.'."\n", 'type' => 'string', 'required' => true, 'example' => 'dfs.namenode.checkpoint.period', 'visibility' => 'Public', 'backendName' => 'configItemKey'], + 'NodeGroupName' => ['title' => '', 'description' => 'The name of the node group. This parameter takes effect only when the ConfigScope parameter is set to NODE_GROUP and the NodeGroupId parameter is not configured.'."\n", 'type' => 'string', 'example' => 'core-1', 'visibility' => 'Public', 'backendName' => 'nodeGroupName'], + 'ConfigScope' => ['title' => '', 'description' => 'The level at which you want to apply the configurations. Valid values:'."\n" + ."\n" + .'* CLUSTER'."\n" + .'* NODE_GROUP'."\n" + ."\n" + .'Default value: CLUSTER.'."\n", 'type' => 'string', 'example' => 'NODE_GROUP', 'visibility' => 'Public', 'backendName' => 'configScope'], + 'NodeGroupId' => ['title' => '', 'description' => 'The node group ID. This parameter takes effect only when the ConfigScope parameter is set to NODE_GROUP. The NodeGroupId parameter has a higher priority than the NodeGroupName parameter.'."\n", 'type' => 'string', 'example' => 'ng-869471354ecd****', 'visibility' => 'Public', 'backendName' => 'nodeGroupId'], + 'ConfigItemValue' => ['title' => '', 'description' => 'The value of the configuration item.'."\n", 'type' => 'string', 'example' => '3600s', 'visibility' => 'Public', 'backendName' => 'configItemValue'], + ], + 'visibility' => 'Public', + 'title' => '', + 'example' => '', + ], + 'ApplicationConfigFile' => [ + 'type' => 'object', + 'properties' => [ + 'ApplicationName' => ['title' => '', 'description' => '应用名称。', 'type' => 'string', 'required' => true, 'example' => 'HDFS'], + 'ConfigFileName' => ['title' => '', 'description' => '配置文件名称。', 'type' => 'string', 'required' => false, 'example' => 'core-site.xml'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'ApplicationConfigurationFile' => [ + 'type' => 'object', + 'properties' => [ + 'ApplicationName' => ['type' => 'string', 'required' => false, 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'applicationName'], + 'ConfigFileName' => ['type' => 'string', 'required' => false, 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'fileName'], + 'ConfigFilePath' => ['type' => 'string', 'required' => false, 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'filePath'], + 'ConfigFileFormat' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'fileFormat'], + 'ConfigFileLink' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'fileLink'], + 'ConfigFileOwner' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'fileOwner'], + 'ConfigFileGroup' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'fileGroup'], + 'ConfigFileMode' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'fileMode'], + 'Description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'description'], + 'NodeGroupId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'nodeGroupId'], + 'NodeId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'nodeId'], + 'ClusterId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'clusterId'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Attribute' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['title' => '值。', 'description' => '值。', 'type' => 'string', 'example' => 'true'], + 'Key' => ['title' => '键。', 'description' => '键。', 'type' => 'string', 'example' => 'currentYarnRangerPluginState'], + ], + ], + 'AutoRenewInstance' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['title' => '节点ID。', 'description' => '节点ID。', 'type' => 'string', 'required' => true, 'example' => 'i-bp1cudc25w2bfwl5****'], + 'AutoRenew' => ['title' => '自动续费。', 'description' => '自动续费。', 'type' => 'boolean', 'example' => 'true'], + 'AutoRenewDuration' => ['title' => '自动续费时长。', 'description' => '自动续费时长。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'AutoRenewDurationUnit' => ['title' => '自动付费时长单位。', 'description' => '自动付费时长单位。', 'type' => 'string', 'example' => 'Month'], + 'EmrAutoRenewDuration' => ['title' => 'emr实例自动续费时长。', 'description' => 'emr实例自动续费时长。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'EmrAutoRenewDurationUnit' => ['title' => 'emr实例自动续费时长单位。', 'description' => 'emr实例自动续费时长单位。', 'type' => 'string', 'example' => 'Month'], + ], + ], + 'AutoScalingConstraints' => [ + 'type' => 'object', + 'properties' => [ + 'SupportRuleTypes' => [ + 'title' => '支持的弹性伸缩规则类型。', + 'description' => '支持的弹性伸缩规则类型。', + 'type' => 'array', + 'items' => ['type' => 'string'], + 'example' => '["TIME_TRIGGER","METRICS_TRIGGER"]', ], - 'ConfigFileName' => [ - 'title' => '', - 'description' => 'The name of the configuration file.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'hdfs-site.xml', - 'backendName' => 'configFileName', + 'SupportMetrics' => [ + 'title' => '支持的按负载弹性伸缩指标列表。', + 'description' => '支持的按负载弹性伸缩指标列表。', + 'type' => 'array', + 'items' => ['type' => 'string'], + 'example' => '["YarnRootAvailableMemoryUsage","YarnRootAvailableVcores"]', ], - 'ConfigItemKey' => [ - 'title' => '', - 'description' => 'The key of the configuration item.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'dfs.namenode.checkpoint.period', - 'backendName' => 'configItemKey', + 'SupportMetricTags' => [ + 'title' => '支持的按负载弹性伸缩指标Tag列表。', + 'description' => '支持的按负载弹性伸缩指标Tag列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'MetricName' => ['title' => '指标名称。', 'description' => '指标名称。', 'type' => 'string'], + 'Tags' => [ + 'title' => '指标Tag。', + 'description' => '指标Tag。', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/Tag'], + ], + ], + ], ], - 'ConfigItemValue' => [ - 'title' => '', - 'description' => 'The value of the configuration item.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => '3600s', - 'backendName' => 'configItemValue', + 'MaxAdjustmentValue' => ['title' => '单次伸缩活动最大扩缩容节点数量。', 'description' => '单次伸缩活动最大扩缩容节点数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'], + 'MaxByLoadRuleCount' => ['title' => '按负载规则数量最大值。', 'description' => '按负载规则数量最大值。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'MaxByTimeRuleCount' => ['title' => '按时间规则数量最大值。', 'description' => '按时间规则数量最大值。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'AutoScalingMetricUnits' => [ + 'title' => '按负载伸缩指标单位描述。', + 'description' => '按负载伸缩指标单位描述。', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/MetricUnitValue'], ], - 'ConfigScope' => [ - 'title' => '', - 'description' => 'The level at which you want to apply the configurations. Valid values:'."\n" - ."\n" - .'* CLUSTER'."\n" - .'* NODE_GROUP'."\n" - ."\n" - .'Default value: CLUSTER.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'NODE_GROUP', - 'backendName' => 'configScope', + 'DefaultMetricTriggeredRules' => [ + 'title' => '默认按负载弹性伸缩规则列表', + 'description' => '默认按负载弹性伸缩规则列表', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/ScalingRule'], ], - 'NodeGroupName' => [ - 'title' => '', - 'description' => 'The name of the node group. This parameter takes effect only when the ConfigScope parameter is set to NODE_GROUP and the NodeGroupId parameter is not configured.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'core-1', - 'backendName' => 'nodeGroupName', + ], + ], + 'AutoScalingPolicy' => [ + 'title' => 'A short description of struct', + 'type' => 'object', + 'properties' => [ + 'ScalingRules' => [ + 'title' => '弹性伸缩规则列表', + 'type' => 'array', + 'items' => ['required' => false, '$ref' => '#/components/schemas/ScalingRule'], + 'required' => false, ], - 'NodeGroupId' => [ - 'title' => '', - 'description' => 'The node group ID. This parameter takes effect only when the ConfigScope parameter is set to NODE_GROUP. The NodeGroupId parameter has a higher priority than the NodeGroupName parameter.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'ng-869471354ecd****', - 'backendName' => 'nodeGroupId', + 'Constraints' => [ + 'title' => '最大最小值约束', + 'type' => 'object', + 'properties' => [ + 'MaxCapacity' => ['title' => '最大值', 'type' => 'integer', 'format' => 'int32'], + 'MinCapacity' => ['title' => '最小值', 'type' => 'integer', 'format' => 'int32'], + ], ], ], ], 'Cluster' => [ 'title' => '', - 'description' => 'The cluster.'."\n", - 'visibility' => 'public', + 'description' => 'The cluster details.', 'type' => 'object', 'properties' => [ - 'RegionId' => [ - 'title' => '', - 'description' => 'The region ID.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'cn-hangzhou', - 'backendName' => 'regionId', - ], - 'ResourceGroupId' => [ - 'title' => '', - 'description' => 'The resource group ID.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'rg-acfmzabjyop****', - 'backendName' => 'resourceGroupId', - ], - 'ClusterId' => [ - 'title' => '', - 'description' => 'The cluster ID.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'c-b933c5aac8fe****', - 'backendName' => 'clusterId', - ], - 'ClusterName' => [ - 'title' => '', - 'description' => 'The name of the cluster.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'emrtest', - 'backendName' => 'clusterName', - ], - 'ClusterType' => [ - 'title' => '', - 'description' => 'The type of the cluster. Valid values:'."\n" - ."\n" - .'* DATALAKE'."\n" - .'* OLAP'."\n" - .'* DATAFLOW'."\n" - .'* DATASERVING'."\n" - .'* CUSTOM'."\n" - .'* HADOOP'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'DATALAKE', - 'backendName' => 'clusterType', - ], - 'ClusterState' => [ - 'title' => '', - 'description' => 'The status of the cluster. Valid values:'."\n" - ."\n" - .'* STARTING'."\n" - .'* START_FAILED'."\n" - .'* BOOTSTRAPPING'."\n" - .'* RUNNING'."\n" - .'* TERMINATING'."\n" - .'* TERMINATED'."\n" - .'* TERMINATED_WITH_ERRORS'."\n" - .'* TERMINATE_FAILED'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'RUNNING', - 'backendName' => 'clusterState', - ], - 'StateChangeReason' => [ - 'description' => 'The reason of the cluster status change.'."\n", - 'visibility' => 'public', - 'backendName' => 'stateChangeReason', - '$ref' => '#/components/schemas/ClusterStateChangeReason', - ], - 'PaymentType' => [ - 'title' => '', - 'description' => 'The billing method of the cluster. Valid values:'."\n" - ."\n" - .'* PayAsYouGo'."\n" - .'* Subscription'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'PayAsYouGo', - 'backendName' => 'paymentType', - ], - 'SubscriptionConfig' => [ - 'title' => '', - 'description' => 'The subscription configurations.'."\n", - 'visibility' => 'public', - 'backendName' => 'subscriptionConfig', - '$ref' => '#/components/schemas/SubscriptionConfig', - ], - 'CreateTime' => [ - 'title' => '', - 'description' => 'The timestamp when the cluster is created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1592837465784', - 'backendName' => 'createTime', - ], - 'ReadyTime' => [ - 'title' => '', - 'description' => 'The timestamp when the cluster starts to be available. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1592837465784', - 'backendName' => 'readyTime', - ], - 'EndTime' => [ - 'title' => '', - 'description' => 'The timestamp when the cluster is deleted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1592837465784', - 'backendName' => 'endTime', - ], - 'ExpireTime' => [ - 'title' => '', - 'description' => 'The timestamp when the cluster expires. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1592837465784', - 'backendName' => 'expireTime', - ], - 'ReleaseVersion' => [ - 'title' => '', - 'description' => 'The EMR version.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'EMR-5.8.0', - 'backendName' => 'releaseVersion', - ], - 'DeployMode' => [ - 'title' => '', - 'description' => 'The deployment mode of master nodes in the cluster. Valid values:'."\n" - ."\n" - .'* NORMAL: regular mode.'."\n" - .'* HA: high availability (HA) mode.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'HA', - 'backendName' => 'deployMode', - ], - 'SecurityMode' => [ - 'title' => '', - 'description' => 'The security mode of the cluster. Valid values:'."\n" - ."\n" - .'* NORMAL: regular mode. Kerberos authentication is not enabled.'."\n" - .'* KERBEROS: Security mode. Kerberos authentication is enabled.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'NORMAL', - 'backendName' => 'securityMode', - ], - 'NodeAttributes' => [ - 'title' => '', - 'description' => 'The node attributes.'."\n", - 'visibility' => 'public', - 'backendName' => 'nodeAttributes', - '$ref' => '#/components/schemas/NodeAttributes', - ], + 'ClusterState' => ['title' => '', 'description' => 'The cluster state. Valid values:'."\n" + ."\n" + .'- `STARTING`: The cluster is starting.'."\n" + ."\n" + .'- `START_FAILED`: The cluster failed to start.'."\n" + ."\n" + .'- `BOOTSTRAPPING`: The cluster is running bootstrap actions.'."\n" + ."\n" + .'- `RUNNING`: The cluster is running.'."\n" + ."\n" + .'- `TERMINATING`: The cluster is terminating.'."\n" + ."\n" + .'- `TERMINATED`: The cluster is terminated.'."\n" + ."\n" + .'- `TERMINATED_WITH_ERRORS`: The cluster terminated due to errors.'."\n" + ."\n" + .'- `TERMINATE_FAILED`: The cluster failed to terminate.', 'type' => 'string', 'example' => 'RUNNING', 'visibility' => 'Public', 'backendName' => 'clusterState'], + 'Description' => ['title' => '', 'description' => 'The cluster description.', 'type' => 'string', 'example' => 'EMR cluster', 'visibility' => 'Public', 'backendName' => 'description'], + 'ResourceGroupId' => ['title' => '', 'description' => 'The ID of the resource group.', 'type' => 'string', 'example' => 'rg-acfmzabjyop****', 'visibility' => 'Public', 'backendName' => 'resourceGroupId'], + 'ReadyTime' => ['title' => '', 'description' => 'The time when the cluster became ready. The time is a Unix timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837465784', 'visibility' => 'Public', 'backendName' => 'readyTime'], + 'EndTime' => ['title' => '', 'description' => 'The time when the cluster was deleted. The time is a Unix timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837465784', 'visibility' => 'Public', 'backendName' => 'endTime'], + 'ClusterId' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'example' => 'c-b933c5aac8fe****', 'visibility' => 'Public', 'backendName' => 'clusterId'], + 'CreateTime' => ['title' => '', 'description' => 'The time when the cluster was created. The time is a Unix timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837465784', 'visibility' => 'Public', 'backendName' => 'createTime'], + 'EmrDefaultRole' => ['title' => '', 'description' => 'The default role for E-MapReduce.', 'type' => 'string', 'example' => 'AliyunEMRDefaultRole', 'visibility' => 'Public', 'backendName' => 'emrDefaultRole'], + 'ClusterType' => ['title' => '', 'description' => 'The cluster type. Valid values:'."\n" + ."\n" + .'- `DATALAKE`: New data lake.'."\n" + ."\n" + .'- `OLAP`: Data analysis.'."\n" + ."\n" + .'- `DATAFLOW`: Real-time data flow.'."\n" + ."\n" + .'- `DATASERVING`: Data serving.'."\n" + ."\n" + .'- `CUSTOM`: Custom cluster.'."\n" + ."\n" + .'- `HADOOP`: Legacy data lake.', 'type' => 'string', 'example' => 'DATALAKE', 'visibility' => 'Public', 'backendName' => 'clusterType'], + 'DeletionProtection' => ['title' => '', 'description' => 'Indicates whether deletion protection is enabled for the cluster.', 'type' => 'boolean', 'example' => 'false', 'visibility' => 'Public', 'backendName' => 'deletionProtection'], + 'ReleaseVersion' => ['title' => '', 'description' => 'The release version of E-MapReduce.', 'type' => 'string', 'example' => 'EMR-5.8.0', 'visibility' => 'Public', 'backendName' => 'releaseVersion'], + 'SubscriptionConfig' => ['title' => '', 'description' => 'The subscription configuration.', '$ref' => '#/components/schemas/SubscriptionConfig', 'example' => '', 'visibility' => 'Public', 'backendName' => 'subscriptionConfig'], + 'DeployMode' => ['title' => '', 'description' => 'The application deployment mode. Valid values:'."\n" + ."\n" + .'- `NORMAL`: Standard deployment.'."\n" + ."\n" + .'- `HA`: High-availability deployment.', 'type' => 'string', 'example' => 'HA', 'visibility' => 'Public', 'backendName' => 'deployMode'], + 'SecurityMode' => ['title' => '', 'description' => 'The security mode of the cluster. Valid values:'."\n" + ."\n" + .'- `NORMAL`: Kerberos is disabled.'."\n" + ."\n" + .'- `KERBEROS`: Kerberos is enabled.', 'type' => 'string', 'example' => 'NORMAL', 'visibility' => 'Public', 'backendName' => 'securityMode'], + 'NodeAttributes' => ['title' => '', 'description' => 'The node attributes.', '$ref' => '#/components/schemas/NodeAttributes', 'example' => '', 'visibility' => 'Public', 'backendName' => 'nodeAttributes'], + 'ClusterName' => ['title' => '', 'description' => 'The cluster name.', 'type' => 'string', 'example' => 'emrtest', 'visibility' => 'Public', 'backendName' => 'clusterName'], + 'PaymentType' => ['title' => '', 'description' => 'The billing method. Valid values:'."\n" + ."\n" + .'- `PayAsYouGo`: Pay-as-you-go.'."\n" + ."\n" + .'- `Subscription`: Subscription.', 'type' => 'string', 'example' => 'PayAsYouGo', 'visibility' => 'Public', 'backendName' => 'paymentType'], + 'RegionId' => ['title' => '', 'description' => 'The ID of the region.', 'type' => 'string', 'example' => 'cn-hangzhou', 'visibility' => 'Public', 'backendName' => 'regionId'], + 'ExpireTime' => ['title' => '', 'description' => 'The time when the cluster is scheduled to expire. The time is a Unix timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837465784', 'visibility' => 'Public', 'backendName' => 'expireTime'], + 'StateChangeReason' => ['description' => 'The reason for the cluster state change.', '$ref' => '#/components/schemas/ClusterStateChangeReason', 'title' => '', 'example' => '', 'visibility' => 'Public', 'backendName' => 'stateChangeReason'], 'Tags' => [ 'title' => '', - 'description' => 'The tags.'."\n", - 'visibility' => 'public', + 'description' => 'The cluster tags.', 'type' => 'array', - 'items' => [ - 'description' => 'The tag.'."\n", - 'visibility' => 'public', - 'extendType' => 'true', - '$ref' => '#/components/schemas/Tag', - ], + 'items' => ['description' => 'A cluster tag.', '$ref' => '#/components/schemas/Tag', 'title' => '', 'example' => '', 'visibility' => 'Public', 'extendType' => 'true'], + 'example' => '', + 'visibility' => 'Public', 'backendName' => 'tags', 'itemName' => 'Tag', ], - 'EmrDefaultRole' => [ - 'title' => '', - 'description' => 'The default role of EMR.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'AliyunEMRDefaultRole', - 'backendName' => 'emrDefaultRole', - ], - 'VpcId' => [ - 'title' => 'VpcId', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'string', - 'deprecated' => true, - 'example' => 'vpc-bp1tgey2p0ytxmdo5****', - 'backendName' => 'vpcId', - ], - 'LogCollectStrategy' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'string', - 'backendName' => 'logCollectStrategy', - ], - 'Description' => [ - 'title' => '', - 'description' => 'The cluster description.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'EMR cluster', - 'backendName' => 'description', - ], - 'DeletionProtection' => [ - 'title' => '', - 'description' => 'Indicates whether the release protection is enabled. Valid values: true and false.'."\n", - 'visibility' => 'Public', - 'type' => 'boolean', - 'example' => 'false', - 'backendName' => 'deletionProtection', - ], ], + 'example' => '', + 'visibility' => 'Public', ], 'ClusterStateChangeReason' => [ - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'Code' => [ - 'title' => '', - 'description' => 'The status code. Valid values:'."\n" - ."\n" - .'* UserRequest: A user request is initiated.'."\n" - .'* OutOfStock: The ECS instances of the requested type are out of stock.'."\n" - .'* NotAuthorized: The required permission is not granted.'."\n" - .'* QuotaExceeded: The quota is exceeded.'."\n" - .'* OperationDenied: The operation is denied.'."\n" - .'* AccountException: The account is abnormal.'."\n" - .'* NodeFailure: The ECS instance is abnormal.'."\n" - .'* BootstrapFailure: The bootstrap action fails.'."\n" - .'* ValidationFail: The business logic verification fails.'."\n" - .'* ServiceFailure: Other services on which the current service depends fail.'."\n" - .'* InternalError: An internal error occurs.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'OutOfStock', - 'backendName' => 'code', - ], - 'Message' => [ - 'title' => '', - 'description' => 'The information about the cluster status change.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', - 'backendName' => 'message', - ], + 'Message' => ['title' => '', 'description' => 'A human-readable message detailing the cluster state change.', 'type' => 'string', 'example' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', 'visibility' => 'Public', 'backendName' => 'message'], + 'Code' => ['title' => '', 'description' => 'The status code for the state change. Valid values:'."\n" + ."\n" + .'- UserRequest: A user request triggered the state change.'."\n" + ."\n" + .'- OutOfStock: The requested ECS instance type is out of stock.'."\n" + ."\n" + .'- NotAuthorized: The operation was denied due to insufficient permission.'."\n" + ."\n" + .'- QuotaExceeded: The request exceeded a service quota.'."\n" + ."\n" + .'- OperationDenied: The operation was denied.'."\n" + ."\n" + .'- AccountException: An account-related exception occurred.'."\n" + ."\n" + .'- NodeFailure: An ECS node failed.'."\n" + ."\n" + .'- BootstrapFailure: A bootstrap action failed.'."\n" + ."\n" + .'- ValidationFail: The request failed business logic validation.'."\n" + ."\n" + .'- ServiceFailure: A dependent service failed.'."\n" + ."\n" + .'- InternalError: An internal error occurred.', 'type' => 'string', 'example' => 'OutOfStock', 'visibility' => 'Public', 'backendName' => 'code'], ], 'description' => '', + 'title' => '', + 'example' => '', + 'visibility' => 'Public', ], 'ClusterSummary' => [ - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'ClusterId' => [ - 'title' => '', - 'description' => 'The cluster ID.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'c-b933c5aac8fe****', - 'backendName' => 'clusterId', - ], - 'ClusterName' => [ - 'title' => '', - 'description' => 'The name of the cluster.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'emrtest', - 'backendName' => 'clusterName', - ], - 'ClusterType' => [ - 'title' => '', - 'description' => 'The type of the cluster. Valid values:'."\n" - ."\n" - .'* DATALAKE'."\n" - .'* OLAP'."\n" - .'* DATAFLOW'."\n" - .'* DATASERVING'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'DATALAKE', - 'backendName' => 'clusterType', - ], - 'ClusterState' => [ - 'title' => '', - 'description' => 'The status of the cluster. Valid values:'."\n" - ."\n" - .'* STARTING'."\n" - .'* START_FAILED'."\n" - .'* BOOTSTRAPPING'."\n" - .'* RUNNING'."\n" - .'* TERMINATING'."\n" - .'* TERMINATED'."\n" - .'* TERMINATED_WITH_ERRORS'."\n" - .'* TERMINATE_FAILED'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'RUNNING', - 'backendName' => 'clusterState', - ], - 'PaymentType' => [ - 'title' => '', - 'description' => 'The billing method of the cluster. Valid values:'."\n" - ."\n" - .'* PayAsYouGo'."\n" - .'* Subscription'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'PayAsYouGo', - 'backendName' => 'paymentType', - ], - 'CreateTime' => [ - 'title' => '', - 'description' => 'The creation time.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1592837465788', - 'backendName' => 'createTime', - ], - 'ReadyTime' => [ - 'title' => '', - 'description' => 'The time when the cluster is available.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1592837465788', - 'backendName' => 'readyTime', - ], - 'ExpireTime' => [ - 'title' => '', - 'description' => 'The expiration time.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1592837475788', - 'backendName' => 'expireTime', - ], - 'EndTime' => [ - 'title' => '', - 'description' => 'The deletion time.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1592837485788', - 'backendName' => 'endTime', - ], - 'ReleaseVersion' => [ - 'title' => '', - 'description' => 'The EMR version.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'EMR-5.8.0', - 'backendName' => 'releaseVersion', - ], - 'ResourceGroupId' => [ - 'title' => '', - 'description' => 'The resource group ID.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'rg-acfmzabjyop****', - 'backendName' => 'resourceGroupId', - ], - 'StateChangeReason' => [ - 'title' => '', - 'description' => 'The reason for the failure.'."\n", - 'visibility' => 'public', - 'backendName' => 'stateChangeReason', - '$ref' => '#/components/schemas/ClusterStateChangeReason', - ], + 'ClusterId' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'example' => 'c-b933c5aac8fe****', 'visibility' => 'Public', 'backendName' => 'clusterId'], + 'ClusterName' => ['title' => '', 'description' => 'The cluster name.', 'type' => 'string', 'example' => 'emrtest', 'visibility' => 'Public', 'backendName' => 'clusterName'], + 'ClusterType' => ['title' => '', 'description' => 'The cluster type. Valid values:'."\n" + ."\n" + .'- `DATALAKE`: data lake.'."\n" + ."\n" + .'- `OLAP`: data analytics.'."\n" + ."\n" + .'- `DATAFLOW`: real-time dataflow.'."\n" + ."\n" + .'- `DATASERVING`: data serving.', 'type' => 'string', 'example' => 'DATALAKE', 'visibility' => 'Public', 'backendName' => 'clusterType'], + 'ClusterState' => ['title' => '', 'description' => 'The state of the cluster. Valid values:'."\n" + ."\n" + .'- `STARTING`: The cluster is starting.'."\n" + ."\n" + .'- `START_FAILED`: The cluster fails to be started.'."\n" + ."\n" + .'- `BOOTSTRAPPING`: The cluster is being initialized.'."\n" + ."\n" + .'- `RUNNING`: The cluster is running.'."\n" + ."\n" + .'- `TERMINATING`: The cluster is being terminated.'."\n" + ."\n" + .'- `TERMINATED`: The cluster is terminated.'."\n" + ."\n" + .'- `TERMINATED_WITH_ERRORS`: The cluster is terminated with errors.'."\n" + ."\n" + .'- `TERMINATE_FAILED`: The cluster fails to be terminated.', 'type' => 'string', 'example' => 'RUNNING', 'visibility' => 'Public', 'backendName' => 'clusterState'], + 'PaymentType' => ['title' => '', 'description' => 'The billing method. Valid values:'."\n" + ."\n" + .'- `PayAsYouGo`: pay-as-you-go.'."\n" + ."\n" + .'- `Subscription`: subscription.', 'type' => 'string', 'example' => 'PayAsYouGo', 'visibility' => 'Public', 'backendName' => 'paymentType'], + 'CreateTime' => ['title' => '', 'description' => 'The time when the cluster was created.', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837465788', 'visibility' => 'Public', 'backendName' => 'createTime'], + 'ReadyTime' => ['title' => '', 'description' => 'The time when the cluster is available.', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837465788', 'visibility' => 'Public', 'backendName' => 'readyTime'], + 'ExpireTime' => ['title' => '', 'description' => 'The expiration time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837475788', 'visibility' => 'Public', 'backendName' => 'expireTime'], + 'EndTime' => ['title' => '', 'description' => 'The time when the cluster was deleted.', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837485788', 'visibility' => 'Public', 'backendName' => 'endTime'], + 'ReleaseVersion' => ['title' => '', 'description' => 'The E-MapReduce (EMR) release version.', 'type' => 'string', 'example' => 'EMR-5.8.0', 'visibility' => 'Public', 'backendName' => 'releaseVersion'], + 'ResourceGroupId' => ['title' => '', 'description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-acfmzabjyop****', 'visibility' => 'Public', 'backendName' => 'resourceGroupId'], + 'StateChangeReason' => ['title' => '', 'description' => 'The reason for the failure.', '$ref' => '#/components/schemas/ClusterStateChangeReason', 'example' => '', 'visibility' => 'Public', 'backendName' => 'stateChangeReason'], 'Tags' => [ 'title' => '', - 'description' => 'The tags.'."\n", - 'visibility' => 'public', + 'description' => 'The list of tags.', 'type' => 'array', - 'items' => [ - 'description' => 'The tag.'."\n", - 'visibility' => 'public', - 'extendType' => 'true', - '$ref' => '#/components/schemas/Tag', - ], + 'items' => ['description' => 'The tag.', '$ref' => '#/components/schemas/Tag', 'title' => '', 'example' => '', 'visibility' => 'Public', 'extendType' => 'true'], + 'example' => '', + 'visibility' => 'Public', 'backendName' => 'tags', 'itemName' => 'Tag', ], - 'EmrDefaultRole' => [ - 'title' => '', - 'description' => 'The EMR service role.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'AliyunEMRDefaultRole', - 'backendName' => 'emrDefaultRole', - ], - 'Description' => [ - 'title' => '', - 'description' => 'The cluster description.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'EMR cluster', - 'backendName' => 'description', - ], - 'DeletionProtection' => [ - 'title' => 'DeletionProtection', - 'description' => 'Specifies whether to enable release protection.'."\n", - 'visibility' => 'Public', - 'type' => 'boolean', - 'example' => 'false', - 'backendName' => 'deletionProtection', - ], + 'EmrDefaultRole' => ['title' => '', 'description' => 'The EMR service role.', 'type' => 'string', 'example' => 'AliyunEMRDefaultRole', 'visibility' => 'Public', 'backendName' => 'emrDefaultRole'], + 'Description' => ['title' => '', 'description' => 'The description of the cluster.', 'type' => 'string', 'example' => 'EMR cluster', 'visibility' => 'Public', 'backendName' => 'description'], + 'DeletionProtection' => ['title' => '', 'description' => 'The release protection feature.', 'type' => 'boolean', 'example' => 'false', 'visibility' => 'Public', 'backendName' => 'deletionProtection'], ], 'description' => '', + 'title' => '', + 'example' => '', + 'visibility' => 'Public', + ], + 'CollationTimeZone' => [ + 'type' => 'object', + 'properties' => [ + 'TimeZone' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => 'Asia/Shanghai', 'backendName' => 'timeZone'], + 'CurrentTimeOffset' => ['title' => '', 'type' => 'string', 'description' => '', 'example' => 'UTC+08:00', 'backendName' => 'currentTimeOffset'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], 'ComponentInstanceSelector' => [ - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'ActionScope' => [ - 'visibility' => 'public', - 'type' => 'string', - 'deprecated' => true, - 'backendName' => 'actionScope', - 'title' => '', - 'description' => '', - ], - 'RunActionScope' => [ - 'title' => '', - 'description' => 'The execution scope. Valid values:'."\n" - ."\n" - .'* APPLICATION'."\n" - .'* COMPONENT'."\n" - .'* COMPONENT_INSTANCE'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'APPLICATION', - 'backendName' => 'runActionScope', - ], - 'NodeGroupIds' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'array', - 'items' => [ - 'visibility' => 'public', - 'type' => 'string', - 'extendType' => 'true', - ], - 'example' => '["ng-869471354ecd****"]', - 'backendName' => 'nodeGroupIds', - 'itemName' => 'String', - ], - 'NodeIds' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'array', - 'items' => [ - 'visibility' => 'public', - 'type' => 'string', - 'extendType' => 'true', - ], - 'example' => '["i-bp1cudc25w2bfwl5****"]', - 'backendName' => 'nodeIds', - 'itemName' => 'String', - ], - 'ApplicationNames' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'array', - 'items' => [ - 'visibility' => 'public', - 'type' => 'string', - 'extendType' => 'true', - ], - 'example' => '["HDFS"]', - 'backendName' => 'applicationNames', - 'itemName' => 'String', - ], - 'ApplicationName' => [ - 'title' => '', - 'description' => 'The name of the application.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'HDFS', - 'backendName' => 'applicationName', - ], + 'ActionScope' => ['description' => 'The action scope. Valid values:'."\n" + ."\n" + .'- APPLICATION: The application level.'."\n" + ."\n" + .'- COMPONENT: The component level.'."\n" + ."\n" + .'- COMPONENT\\_INSTANCE: The component instance level.', 'type' => 'string', 'deprecated' => true, 'title' => '', 'example' => 'APPLICATION'."\n"], 'Components' => [ 'title' => '', - 'description' => 'The components. This parameter takes effect only when the RunActionScope parameter is set to COMPONENT.'."\n", - 'visibility' => 'public', + 'description' => 'A list of components. This parameter is used when `RunActionScope` is set to `COMPONENT`.', 'type' => 'array', 'items' => [ - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'ApplicationName' => [ - 'title' => '', - 'description' => 'The name of the application.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'HDFS', - 'backendName' => 'applicationName', - ], - 'ComponentName' => [ - 'title' => '', - 'description' => 'The name of the component.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'DataNode', - 'backendName' => 'componentName', - ], + 'ApplicationName' => ['title' => '', 'description' => 'The application name.', 'type' => 'string', 'example' => 'HDFS'], + 'ComponentName' => ['title' => '', 'description' => 'The component name.', 'type' => 'string', 'example' => 'DataNode'], ], - 'extendType' => 'true', + 'description' => 'Component details.', + 'title' => '', + 'example' => '', ], - 'backendName' => 'components', - 'itemName' => 'Component', - ], + 'example' => '', + ], + 'RunActionScope' => ['title' => '', 'description' => 'The action scope. Valid values:'."\n" + ."\n" + .'- APPLICATION: The application level.'."\n" + ."\n" + .'- COMPONENT: The component level.'."\n" + ."\n" + .'- COMPONENT\\_INSTANCE: The component instance level.', 'type' => 'string', 'required' => true, 'example' => 'APPLICATION'], + 'ApplicationName' => ['title' => '', 'description' => 'The application name.', 'type' => 'string', 'example' => 'HDFS'], 'ComponentInstances' => [ 'title' => '', - 'description' => 'The component instances. This parameter takes effect only when the RunActionScope parameter is set to COMPONENT_INSTANCE.'."\n", - 'visibility' => 'public', + 'description' => 'A list of component instances. This parameter is used when `RunActionScope` is set to `COMPONENT_INSTANCE`.', 'type' => 'array', 'items' => [ - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'ApplicationName' => [ - 'title' => '', - 'description' => 'The name of the application.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'HDFS', - 'backendName' => 'applicationName', - ], - 'ComponentName' => [ - 'title' => '', - 'description' => 'The name of the component.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'DataNode', - 'backendName' => 'componentName', - ], - 'NodeId' => [ - 'title' => '', - 'description' => 'The node ID.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'i-bp1cudc25w2bfwl5****', - 'backendName' => 'nodeId', - ], + 'ApplicationName' => ['title' => '', 'description' => 'The application name.', 'type' => 'string', 'example' => 'HDFS'], + 'NodeId' => ['title' => '', 'description' => 'The node ID.', 'type' => 'string', 'example' => 'i-bp1cudc25w2bfwl5****'], + 'ComponentName' => ['title' => '', 'description' => 'The component name.', 'type' => 'string', 'example' => 'DataNode'], ], - 'extendType' => 'true', + 'description' => 'Component instance details.', + 'title' => '', + 'example' => '', ], - 'backendName' => 'componentInstances', - 'itemName' => 'ComponentInstance', + 'example' => '', ], ], 'title' => '', - 'description' => '', + 'description' => 'A selector for component instances.', + 'example' => '', ], - 'CostOptimizedConfig' => [ - 'description' => 'The configurations of the cost optimization policy.'."\n", - 'visibility' => 'public', + 'ConfigEffectActions' => [ 'type' => 'object', 'properties' => [ - 'OnDemandBaseCapacity' => [ - 'title' => '', - 'description' => 'The minimum number of pay-as-you-go instances that are required for the node group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, pay-as-you-go instances are preferentially created.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '80', - 'backendName' => 'onDemandBaseCapacity', + 'ConfigEffectAction' => ['title' => '配置生效动作。', 'description' => '配置生效动作。', 'type' => 'string', 'example' => 'restart'], + 'ConfigFiles' => [ + 'title' => '配置生效配置文件。', + 'description' => '配置生效配置文件。', + 'type' => 'array', + 'items' => ['type' => 'string'], + 'example' => 'null', ], - 'OnDemandPercentageAboveBaseCapacity' => [ - 'title' => '', - 'description' => 'The percentage of pay-as-you-go instances among the instances that exceed the number specified by the OnDemandBaseCapacity parameter for the node group. Valid values: 0 to 100.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '80', - 'backendName' => 'onDemandPercentageAboveBaseCapacity', + ], + ], + 'ConvertNodeGroup' => [ + 'type' => 'object', + 'properties' => [ + 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'example' => 'ng-869471354ecd****'], + 'PaymentDurationUnit' => ['title' => '付费时长单位。', 'description' => '付费时长单位。', 'type' => 'string', 'example' => 'Month'], + 'PaymentType' => ['title' => '付费类型。', 'description' => '付费类型。', 'type' => 'string', 'example' => 'PayAsYouGo'], + 'PaymentDuration' => ['title' => '付费时长。', 'description' => '付费时长。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + ], + ], + 'CostInstanceType' => [ + 'type' => 'object', + 'properties' => [ + 'SystemDisk' => ['title' => '系统盘信息。', 'description' => '系统盘信息。', '$ref' => '#/components/schemas/SystemDisk'], + 'DataDisks' => [ + 'title' => '数据盘列表。', + 'description' => '数据盘列表。', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/DataDisk'], ], - 'SpotInstancePools' => [ - 'title' => '', - 'description' => 'The number of instance types that are specified. Preemptible instances of multiple instance types that are provided at the lowest price are evenly created in the scaling group. Valid values: 0 to 10.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '2', - 'backendName' => 'spotInstancePools', + 'Memory' => ['title' => '内存大小。', 'description' => '内存大小。', 'type' => 'integer', 'format' => 'int32'], + 'Cpu' => ['title' => 'CPU核数。', 'description' => 'CPU核数。', 'type' => 'integer', 'format' => 'int32'], + 'InstanceType' => ['title' => '实例类型列表。', 'description' => '实例类型列表。', 'type' => 'string', 'example' => '["ecs.g6.4xlarge"]'], + ], + ], + 'CostNodeGroupConfig' => [ + 'type' => 'object', + 'properties' => [ + 'NodeCount' => ['title' => '节点数。', 'description' => '节点数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'MinimalNodeCount' => ['title' => '最小节点数。', 'description' => '最小节点数限制。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'NodeGroupType' => ['title' => '节点组类型。', 'description' => '节点组类型。取值范围:'."\n" + .'- MASTER:管理类型节点组。'."\n" + .'- CORE:存储类型节点组。'."\n" + .'- TASK:计算类型节点组。', 'type' => 'string', 'example' => 'CORE'], + 'PaymentType' => ['title' => '付费类型。', 'description' => '付费类型。', 'type' => 'string'], + 'InstanceTypes' => [ + 'title' => '实例类型列表。', + 'description' => '实例类型列表。', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/CostInstanceType'], ], + 'MaximalNodeCount' => ['title' => '最大节点数。', 'description' => '最大节点数限制。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'NodeGroupName' => ['type' => 'string'], + ], + ], + 'CostOptimizedConfig' => [ + 'description' => 'The configurations of the cost optimization policy.'."\n", + 'type' => 'object', + 'properties' => [ + 'OnDemandBaseCapacity' => ['title' => '', 'description' => 'The minimum number of pay-as-you-go instances that are required for the node group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, pay-as-you-go instances are preferentially created.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '80', 'visibility' => 'Public', 'backendName' => 'onDemandBaseCapacity'], + 'OnDemandPercentageAboveBaseCapacity' => ['title' => '', 'description' => 'The percentage of pay-as-you-go instances among the instances that exceed the number specified by the OnDemandBaseCapacity parameter for the node group. Valid values: 0 to 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '80', 'visibility' => 'Public', 'backendName' => 'onDemandPercentageAboveBaseCapacity'], + 'SpotInstancePools' => ['title' => '', 'description' => 'The number of instance types that are specified. Preemptible instances of multiple instance types that are provided at the lowest price are evenly created in the scaling group. Valid values: 0 to 10.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2', 'visibility' => 'Public', 'backendName' => 'spotInstancePools'], ], + 'visibility' => 'Public', + 'title' => '', + 'example' => '', ], 'DataDisk' => [ - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'Category' => [ + 'Category' => ['title' => '', 'description' => 'The disk type. Valid values:'."\n" + ."\n" + .'- `cloud_efficiency`: Ultra Disk.'."\n" + ."\n" + .'- `cloud_ssd`: Standard SSD.'."\n" + ."\n" + .'- `cloud_essd`: ESSD.'."\n" + ."\n" + .'- `cloud`: Basic Disk.', 'type' => 'string', 'required' => true, 'example' => 'cloud_essd', 'visibility' => 'Public', 'backendName' => 'category'], + 'Size' => ['title' => '', 'description' => 'The size of each data disk, in GB.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '80', 'visibility' => 'Public', 'backendName' => 'size'], + 'PerformanceLevel' => ['title' => '', 'description' => 'The performance level of an ESSD. This parameter applies only when the `Category` parameter is set to `cloud_essd`. Valid values:'."\n" + ."\n" + .'- PL0: A maximum of 10,000 random read/write IOPS per disk.'."\n" + ."\n" + .'- PL1: A maximum of 50,000 random read/write IOPS per disk.'."\n" + ."\n" + .'- PL2: A maximum of 100,000 random read/write IOPS per disk.'."\n" + ."\n" + .'- PL3: A maximum of 1,000,000 random read/write IOPS per disk.'."\n" + ."\n" + .'Default value: PL1.', 'type' => 'string', 'example' => 'PL1', 'visibility' => 'Public', 'backendName' => 'performanceLevel'], + 'Count' => ['title' => '', 'description' => 'The number of data disks.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'visibility' => 'Public', 'backendName' => 'count'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + 'visibility' => 'Public', + ], + 'DeploymentSetConstraints' => [ + 'type' => 'object', + 'properties' => [ + 'Values' => [ + 'title' => '枚举值。', + 'description' => '枚举值。', + 'type' => 'array', + 'items' => ['type' => 'string'], + 'example' => '["CLUSTER","NODE_GROUP","NONE"]', + ], + 'DefaultValue' => ['title' => '默认值。', 'description' => '默认值。', 'type' => 'string', 'example' => 'CLUSTER'], + 'ReplacementStrategy' => ['title' => '替换策略。', 'description' => '替换策略。', '$ref' => '#/components/schemas/ReplacementStrategy'], + 'EnableState' => ['type' => 'string', 'example' => '是否启用部署集限制策略'], + ], + ], + 'DiskConstraints' => [ + 'type' => 'object', + 'properties' => [ + 'Categories' => [ + 'title' => '支持的磁盘类型。', + 'description' => '支持的磁盘类型。', + 'type' => 'array', + 'items' => ['type' => 'string'], + 'example' => '["cloud_efficiency","cloud_ssd","cloud_essd","local_disk"]', + ], + 'SizeConstraint' => ['title' => '磁盘容量限制。', 'description' => '磁盘容量限制。', '$ref' => '#/components/schemas/ValueConstraints'], + 'CountConstraint' => ['title' => '磁盘数量最小值。', 'description' => '磁盘数量最小值。', '$ref' => '#/components/schemas/ValueConstraints'], + ], + ], + 'DiskSize' => [ + 'type' => 'object', + 'properties' => [ + 'Category' => ['title' => '磁盘类型。', 'description' => '磁盘类型。', 'type' => 'string', 'required' => true, 'example' => 'cloud_essd'], + 'Size' => ['title' => '磁盘大小。', 'description' => '单位GB。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], + ], + ], + 'DoubleMetric' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'number', 'format' => 'double'], + 'Unit' => ['type' => 'string'], + ], + ], + 'DRPlanConfiguration' => [ + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['title' => '', 'type' => 'string', 'required' => true, 'description' => '', 'example' => '', 'backendName' => 'regionId'], + 'ClusterType' => ['title' => '', 'type' => 'string', 'required' => true, 'description' => '', 'example' => '', 'backendName' => 'clusterType'], + 'ReleaseVersion' => ['title' => '', 'type' => 'string', 'required' => true, 'description' => '', 'example' => '', 'backendName' => 'releaseVersion'], + 'DeployMode' => ['title' => '', 'type' => 'string', 'required' => false, 'description' => '', 'example' => '', 'backendName' => 'deployMode'], + 'LogCollectStrategy' => ['title' => '', 'type' => 'string', 'required' => false, 'description' => '', 'example' => '', 'backendName' => 'logCollectStrategy'], + 'ClusterName' => ['title' => '', 'type' => 'string', 'required' => true, 'description' => '', 'example' => '', 'backendName' => 'clusterName'], + 'DeletionProtection' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'deletionProtection'], + 'SecurityMode' => ['title' => '', 'type' => 'string', 'required' => true, 'description' => '', 'example' => '', 'backendName' => 'securityMode'], + 'PaymentType' => ['title' => '', 'type' => 'string', 'required' => true, 'description' => '', 'example' => '', 'backendName' => 'paymentType'], + 'NodeAttributes' => ['title' => '', 'required' => true, '$ref' => '#/components/schemas/NodeAttributes', 'description' => '', 'example' => '', 'backendName' => 'nodeAttributes'], + 'ManagedScalingPolicy' => [ + 'type' => 'object', + 'properties' => [ + 'Constraints' => ['$ref' => '#/components/schemas/ManagedScalingConstraints', 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'constraints'], + ], + 'description' => '', 'title' => '', - 'description' => 'The disk type. Valid values:'."\n" - ."\n" - .'* cloud_efficiency: ultra disk'."\n" - .'* cloud_ssd: standard SSD'."\n" - .'* cloud_essd: enhanced SSD (ESSD)'."\n" - .'* cloud: basic disk'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'cloud_essd', - 'backendName' => 'category', + 'example' => '', + 'backendName' => 'managedScalingPolicy', ], - 'Size' => [ + 'ResourceGroupId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'resourceGroupId'], + 'Description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'description'], + 'SubscriptionConfig' => ['$ref' => '#/components/schemas/SubscriptionConfig', 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'subscriptionConfig'."\n"], + 'BootstrapScripts' => [ 'title' => '', - 'description' => 'The size. Unit: GB.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/Script', 'description' => '', 'title' => '', 'example' => ''], + 'description' => '', + 'example' => '', + 'backendName' => 'bootstrapScripts', + ], + 'Tags' => [ + 'title' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['title' => '', 'description' => 'The tag key. This parameter is required. The key can be up to 128 characters in length and cannot be an empty string. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.', 'type' => 'string', 'required' => true, 'example' => 'department', 'backendName' => 'key'], + 'Value' => ['title' => '', 'description' => 'The tag value. This parameter is optional. The value can be up to 128 characters in length and can be an empty string. It cannot start with `acs:` and cannot contain `http://` or `https://`.', 'type' => 'string', 'example' => 'IT', 'backendName' => 'value'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => '', + 'example' => '', + 'backendName' => 'tags', + ], + 'NodeGroups' => [ + 'title' => '', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/NodeGroupConfig', 'description' => '', 'title' => '', 'example' => ''], 'required' => true, - 'example' => '80', - 'backendName' => 'size', + 'description' => '', + 'example' => '', + 'backendName' => 'nodeGroups', ], - 'PerformanceLevel' => [ + 'Applications' => [ 'title' => '', - 'description' => 'The performance level of the ESSD that is used as the data disk. Valid values:'."\n" - ."\n" - .'* PL0: A single ESSD can provide up to 10,000 random read/write IOPS.'."\n" - .'* PL1: A single ESSD can provide up to 50,000 random read/write IOPS.'."\n" - .'* PL2: A single ESSD can provide up to 100,000 random read/write IOPS.'."\n" - .'* PL3: A single ESSD can provide up to 1,000,000 random read/write IOPS.'."\n" - ."\n" - .'Default value: PL1.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'PL1', - 'backendName' => 'performanceLevel', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/Application', 'description' => '', 'title' => '', 'example' => ''], + 'required' => true, + 'description' => '', + 'example' => '', + 'backendName' => 'applications', ], - 'Count' => [ + 'ApplicationConfigs' => [ 'title' => '', - 'description' => 'The number of disks.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - 'backendName' => 'count', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/ApplicationConfig', 'description' => '', 'title' => '', 'example' => ''], + 'description' => '', + 'example' => '', + 'backendName' => 'applicationConfigs', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], - 'InstanceType' => [ - 'visibility' => 'public', + 'DRPlanConfigurationDetail' => [ 'type' => 'object', 'properties' => [ - 'InstanceTypeFamily' => [ + 'RegionId' => ['title' => '', 'type' => 'string', 'required' => true, 'description' => '', 'example' => '', 'backendName' => 'regionId'], + 'ClusterType' => ['title' => '', 'type' => 'string', 'required' => true, 'description' => '', 'example' => '', 'backendName' => 'clusterType'], + 'ReleaseVersion' => ['title' => '', 'type' => 'string', 'required' => true, 'description' => '', 'example' => '', 'backendName' => 'releaseVersion'], + 'DeployMode' => ['title' => '', 'type' => 'string', 'required' => true, 'description' => '', 'example' => '', 'backendName' => 'deployMode'], + 'LogCollectStrategy' => ['title' => '', 'type' => 'string', 'required' => true, 'description' => '', 'example' => '', 'backendName' => 'logCollectStrategy'], + 'ClusterName' => ['title' => '', 'type' => 'string', 'required' => false, 'description' => '', 'example' => '', 'backendName' => 'clusterName'], + 'DeletionProtection' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'deletionProtection'], + 'MetaStoreType' => ['title' => '', 'type' => 'string', 'required' => true, 'description' => '', 'example' => '', 'backendName' => 'metaStoreType'], + 'SecurityMode' => ['title' => '', 'type' => 'string', 'required' => true, 'description' => '', 'example' => '', 'backendName' => 'securityMode'], + 'PaymentType' => ['title' => '', 'type' => 'string', 'required' => true, 'description' => '', 'example' => '', 'backendName' => 'paymentType'], + 'NodeAttributes' => ['title' => '', 'required' => true, '$ref' => '#/components/schemas/NodeAttributes', 'description' => '', 'example' => '', 'backendName' => 'nodeAttributes'], + 'ManagedScalingPolicy' => [ + 'type' => 'object', + 'properties' => [ + 'Constraints' => ['$ref' => '#/components/schemas/ManagedScalingConstraints', 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'constraints'], + ], + 'description' => '', 'title' => '', - 'description' => 'The instance family to which the instance type belongs. For information about the valid values of InstanceTypeFamily, see [DescribeInstanceTypeFamilies](~~25621~~).'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'ecs.g6', - 'backendName' => 'instanceTypeFamily', + 'example' => '', + 'backendName' => 'managedScalingPolicy', ], - 'InstanceType' => [ + 'ResourceGroupId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'resourceGroupId'], + 'SubscriptionConfig' => ['$ref' => '#/components/schemas/SubscriptionConfig', 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'subscriptionConfig'], + 'Description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'description'], + 'BootstrapScripts' => [ 'title' => '', - 'description' => 'The instance type of the ECS instance. For more information, see [Overview of ECS instance families](~~25378~~).'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'ecs.g6.large', - 'backendName' => 'instanceType', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/Script', 'description' => '', 'title' => '', 'example' => ''], + 'description' => '', + 'example' => '', + 'backendName' => 'bootstrapScripts', ], - 'Status' => [ + 'Tags' => [ 'title' => '', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/Tag', 'description' => '', 'title' => '', 'example' => ''], 'description' => '', - 'visibility' => 'Private', - 'type' => 'string', - 'example' => 'Available', - 'backendName' => 'status', + 'example' => '', + 'backendName' => 'tags', ], - 'StockStatus' => [ + 'NodeGroups' => [ 'title' => '', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/NodeGroupConfig', 'description' => '', 'title' => '', 'example' => ''], 'description' => '', - 'visibility' => 'Private', - 'type' => 'string', - 'example' => 'WithStock', - 'backendName' => 'stockStatus', + 'example' => '', + 'backendName' => 'nodeGroups', ], - 'Optimized' => [ - 'title' => '', - 'description' => 'Indicates whether the instance is I/O optimized. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'visibility' => 'public', - 'type' => 'boolean', - 'example' => 'true', - 'backendName' => 'optimized', - ], - 'CpuCore' => [ + 'Applications' => [ 'title' => '', - 'description' => 'The number of vCPUs.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - 'backendName' => 'cpuCore', - ], - 'InstanceCategory' => [ - 'title' => '', - 'description' => 'The category of the instance type. Valid values:'."\n" - ."\n" - .'* General-purpose'."\n" - .'* Compute-optimized'."\n" - .'* Memory-optimized'."\n" - .'* Big data'."\n" - .'* Local SSDs'."\n" - .'* High Clock Speed'."\n" - .'* Enhanced'."\n" - .'* Shared'."\n" - .'* Compute-optimized with GPU'."\n" - .'* Visual Compute-optimized'."\n" - .'* Heterogeneous Service'."\n" - .'* Compute-optimized with FPGA'."\n" - .'* Compute-optimized with NPU'."\n" - .'* ECS Bare Metal'."\n" - .'* Super Computing Cluster'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'Compute-optimized', - 'backendName' => 'instanceCategory', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/Application', 'description' => '', 'title' => '', 'example' => ''], + 'description' => '', + 'example' => '', + 'backendName' => 'applications', ], - 'CpuArchitecture' => [ + 'ApplicationConfigs' => [ 'title' => '', - 'description' => 'The CPU architecture. Valid values:'."\n" - ."\n" - .'* X86'."\n" - .'* ARM'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'X86', - 'backendName' => 'cpuArchitecture', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/ApplicationConfig', 'description' => '', 'title' => '', 'example' => ''], + 'description' => '', + 'example' => '', + 'backendName' => 'applicationConfigs', ], - 'LocalStorageCapacity' => [ - 'title' => '', - 'description' => 'The capacity of each local disk attached per instance. Unit: GiB.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '40', - 'backendName' => 'localStorageCapacity', - ], - 'LocalStorageAmount' => [ + 'ScalingPolicies' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/ScalingPolicy', 'description' => '', 'title' => '', 'example' => ''], + 'description' => '', 'title' => '', - 'description' => 'The number of local disks per instance.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - 'backendName' => 'localStorageAmount', + 'example' => '', + 'backendName' => 'scalingPolicies', ], + 'ScalingTimeZone' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => '', 'backendName' => 'scalingTimeZone'], ], 'description' => '', + 'title' => '', + 'example' => '', ], - 'ManagedScalingConstraints' => [ - 'description' => 'The limits on managed auto scaling activities.'."\n", - 'visibility' => 'Public', + 'FailedReason' => [ 'type' => 'object', 'properties' => [ - 'MaxCapacity' => [ - 'title' => '', - 'description' => 'The maximum number of nodes in a node group.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2000', - 'backendName' => 'maxCapacity', - ], - 'MinCapacity' => [ - 'title' => '', - 'description' => 'The minimum number of nodes in a node group.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - 'backendName' => 'minCapacity', + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944abcd'], + 'ErrorCode' => ['title' => '错误码。', 'description' => '错误码。', 'type' => 'string', 'example' => 'MissingParameter.InstanceType'], + 'ErrorMessage' => ['title' => '错误信息。', 'description' => '错误信息。', 'type' => 'string', 'example' => 'The instance type is required.'], + ], + ], + 'IncreaseNodeGroup' => [ + 'type' => 'object', + 'properties' => [ + 'Description' => ['title' => '描述。', 'description' => '描述。', 'type' => 'string', 'example' => '描述'], + 'NodeCount' => ['title' => '节点数量。', 'description' => '节点数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '3'], + 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], + 'VSwitchId' => ['title' => '虚拟机交换机ID。', 'description' => '虚拟机交换机ID。', 'type' => 'string', 'example' => 'vsw-hp35g7ya5ymw68mmg****'], + 'PaymentDurationUnit' => ['title' => '付费时长单位。', 'description' => '付费时长单位。', 'type' => 'string', 'example' => 'Month'], + 'PaymentDuration' => ['title' => '付费时长。', 'description' => '付费时长。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + ], + ], + 'InstanceCategory' => [ + 'type' => 'object', + 'properties' => [ + 'Keys' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + 'example' => 'null', ], - 'MaxOnDemandCapacity' => [ - 'title' => '', - 'description' => 'The maximum number of pay-as-you-go task nodes.'."\n", - 'visibility' => 'Public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - 'backendName' => 'maxOnDemandCapacity', + 'Values' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + 'example' => 'null', ], + 'DefaultValue' => ['title' => '默认值。', 'description' => '默认值。', 'type' => 'string', 'example' => 'CLUSTER'], ], ], + 'InstanceType' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceTypeFamily' => ['title' => '', 'description' => 'The instance type family. For valid values, see the ECS documentation for [DescribeInstanceTypeFamilies](~~25621~~).', 'type' => 'string', 'example' => 'ecs.g6', 'visibility' => 'Public', 'backendName' => 'instanceTypeFamily'], + 'InstanceType' => ['title' => '', 'description' => 'The ECS instance type. For more information, see [Instance type families](~~25378~~).', 'type' => 'string', 'example' => 'ecs.g6.large', 'visibility' => 'Public', 'backendName' => 'instanceType'], + 'Optimized' => ['title' => '', 'description' => 'Specifies whether the instance type is I/O optimized. Valid values:'."\n" + ."\n" + .'- `true`: The instance type is I/O optimized.'."\n" + ."\n" + .'- `false`: The instance type is not I/O optimized.', 'type' => 'boolean', 'example' => 'true', 'visibility' => 'Public', 'backendName' => 'optimized'], + 'CpuCore' => ['title' => '', 'description' => 'The number of vCPUs.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'visibility' => 'Public', 'backendName' => 'cpuCore'], + 'InstanceCategory' => ['title' => '', 'description' => 'The instance category. Valid values:'."\n" + ."\n" + .'- `General-purpose`: A general-purpose instance type.'."\n" + ."\n" + .'- `Compute-optimized`: A compute-optimized instance type.'."\n" + ."\n" + .'- `Memory-optimized`: A memory-optimized instance type.'."\n" + ."\n" + .'- `Big data`: A big data instance type.'."\n" + ."\n" + .'- `Local SSDs`: A local SSD instance type.'."\n" + ."\n" + .'- `High Clock Speed`: A high clock speed instance type.'."\n" + ."\n" + .'- `Enhanced`: An enhanced instance type.'."\n" + ."\n" + .'- `Shared`: A shared instance type.'."\n" + ."\n" + .'- `Compute-optimized with GPU`: A compute-optimized instance type with GPUs.'."\n" + ."\n" + .'- `Visual Compute-optimized`: A visual compute-optimized instance type.'."\n" + ."\n" + .'- `Heterogeneous Service`: A heterogeneous service instance type.'."\n" + ."\n" + .'- `Compute-optimized with FPGA`: A compute-optimized instance type with FPGAs.'."\n" + ."\n" + .'- `Compute-optimized with NPU`: A compute-optimized instance type with NPUs.'."\n" + ."\n" + .'- `ECS Bare Metal`: An ECS Bare Metal instance.'."\n" + ."\n" + .'- `Super Computing Cluster`: A supercomputing cluster instance type.', 'type' => 'string', 'example' => 'Compute-optimized', 'visibility' => 'Public', 'backendName' => 'instanceCategory'], + 'CpuArchitecture' => ['title' => '', 'description' => 'The CPU architecture. Valid values:'."\n" + ."\n" + .'- `X86`: X86 architecture.'."\n" + ."\n" + .'- `ARM`: ARM architecture.', 'type' => 'string', 'example' => 'X86', 'visibility' => 'Public', 'backendName' => 'cpuArchitecture'], + 'LocalStorageCapacity' => ['title' => '', 'description' => 'The capacity of each local disk attached to the instance, in GiB.', 'type' => 'integer', 'format' => 'int64', 'example' => '40', 'visibility' => 'Public', 'backendName' => 'localStorageCapacity'], + 'LocalStorageAmount' => ['title' => '', 'description' => 'The number of local disks attached to the instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'visibility' => 'Public', 'backendName' => 'localStorageAmount'], + 'ModifyType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => 'Describes an instance type.', + 'title' => '', + 'example' => '', + 'visibility' => 'Public', + ], + 'IntegerMetric' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['title' => '值', 'type' => 'integer', 'format' => 'int32'], + 'Unit' => ['title' => '单位', 'type' => 'string'], + ], + ], + 'KeyValue' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['title' => '值。', 'description' => '值。', 'type' => 'string', 'example' => 'value'], + 'Key' => ['title' => '键。', 'description' => '键。', 'type' => 'string', 'example' => 'key'], + ], + ], + 'ManagedScalingConstraints' => [ + 'description' => 'The limits on managed auto scaling activities.'."\n", + 'type' => 'object', + 'properties' => [ + 'MaxOnDemandCapacity' => ['title' => '', 'description' => 'The maximum number of pay-as-you-go task nodes.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'visibility' => 'Public', 'backendName' => 'maxOnDemandCapacity'], + 'MinCapacity' => ['title' => '', 'description' => 'The minimum number of nodes in a node group.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'visibility' => 'Public', 'backendName' => 'minCapacity'], + 'MaxCapacity' => ['title' => '', 'description' => 'The maximum number of nodes in a node group.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2000', 'visibility' => 'Public', 'backendName' => 'maxCapacity'], + ], + 'visibility' => 'Public', + 'title' => '', + 'example' => '', + ], 'MetricsTrigger' => [ 'description' => 'The information about the auto scaling rule triggered by metric.', - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'TimeWindow' => [ - 'title' => '', - 'description' => 'The time window for statistics. This parameter is required. Unit: seconds. Valid values: 30 to 1800.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '30', - 'backendName' => 'timeWindow', - ], - 'EvaluationCount' => [ - 'title' => '', - 'description' => 'The number of times that the statistics are collected. This parameter is required. Valid values: 1 to 5.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '2', - 'backendName' => 'evaluationCount', - ], - 'CoolDownInterval' => [ - 'title' => '', - 'description' => 'The cooldown interval. Unit: seconds. Valid values: 0 to 10800.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '300', - 'backendName' => 'coolDownInterval', - ], + 'CoolDownInterval' => ['title' => '', 'description' => 'The cooldown interval. Unit: seconds. Valid values: 0 to 10800.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '300', 'visibility' => 'Public', 'backendName' => 'coolDownInterval'], 'TimeConstraints' => [ 'title' => '', 'description' => 'The limits on time.'."\n", - 'visibility' => 'public', 'type' => 'array', - 'items' => [ - 'description' => 'The limit on time.'."\n", - 'visibility' => 'public', - 'extendType' => 'true', - '$ref' => '#/components/schemas/TimeConstraint', - ], + 'items' => ['description' => 'The limit on time.'."\n", '$ref' => '#/components/schemas/TimeConstraint', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''], + 'visibility' => 'Public', 'backendName' => 'timeConstraints', 'itemName' => 'TimeConstraint', + 'example' => '', ], - 'ConditionLogicOperator' => [ - 'title' => '', - 'description' => 'The logical relationship between multiple metrics. Valid values:'."\n" - ."\n" - .'* And'."\n" - .'* Or (default)'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'Or', - 'backendName' => 'conditionLogicOperator', - ], + 'EvaluationCount' => ['title' => '', 'description' => 'The number of times that the statistics are collected. This parameter is required. Valid values: 1 to 5.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2', 'visibility' => 'Public', 'backendName' => 'evaluationCount'], + 'TimeWindow' => ['title' => '', 'description' => 'The time window for statistics. This parameter is required. Unit: seconds. Valid values: 30 to 1800.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30', 'visibility' => 'Public', 'backendName' => 'timeWindow'], 'Conditions' => [ 'title' => '', 'description' => 'The trigger conditions for the metric.'."\n", - 'visibility' => 'public', 'type' => 'array', - 'items' => [ - 'description' => 'The trigger threshold. This parameter is required.'."\n", - 'visibility' => 'public', - 'extendType' => 'true', - '$ref' => '#/components/schemas/TriggerCondition', - ], + 'items' => ['description' => 'The trigger threshold. This parameter is required.'."\n", '$ref' => '#/components/schemas/TriggerCondition', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''], + 'visibility' => 'Public', 'backendName' => 'conditions', 'itemName' => 'TriggerCondition', + 'example' => '', ], + 'ConditionLogicOperator' => ['title' => '', 'description' => 'The logical relationship between multiple metrics. Valid values:'."\n" + ."\n" + .'* And'."\n" + .'* Or (default)'."\n", 'type' => 'string', 'example' => 'Or', 'visibility' => 'Public', 'backendName' => 'conditionLogicOperator'], + ], + 'visibility' => 'Public', + 'title' => '', + 'example' => '', + ], + 'MetricUnitValue' => [ + 'type' => 'object', + 'properties' => [ + 'MetricName' => ['title' => '指标名称。', 'description' => '指标名称。', 'type' => 'string'], + 'MetricUnit' => ['title' => '指标单位。', 'description' => '指标单位。', 'type' => 'string'], ], ], 'Node' => [ - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'ZoneId' => [ - 'title' => '', - 'description' => 'The zone ID.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'cn-beijing-h', - 'backendName' => 'zoneId', - ], - 'NodeGroupId' => [ - 'title' => '', - 'description' => 'The node group ID.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'ng-869471354ecd****', - 'backendName' => 'nodeGroupId', - ], - 'NodeGroupType' => [ - 'title' => '', - 'description' => 'The type of the node group. Valid values:'."\n" - ."\n" - .'* MASTER'."\n" - .'* CORE'."\n" - .'* TASK'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'CORE', - 'backendName' => 'nodeGroupType', - ], - 'NodeId' => [ - 'title' => '', - 'description' => 'The node ID.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'i-bp1cudc25w2bfwl5****', - 'backendName' => 'nodeId', - ], - 'NodeName' => [ - 'title' => '', - 'description' => 'The name of the node.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'core1-1', - 'backendName' => 'nodeName', - ], - 'PublicIp' => [ - 'title' => '', - 'description' => 'The public IP address.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => '42.1.1.**', - 'backendName' => 'publicIp', - ], - 'PrivateIp' => [ - 'title' => '', - 'description' => 'The private IP address.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => '10.10.**.**', - 'backendName' => 'privateIp', - ], - 'InstanceType' => [ - 'title' => '', - 'description' => 'The type of the instance. You can call the [DescribeInstanceTypes](~~25620~~) operation of the ECS service to obtain available instance types.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'ecs.g7.xlarge', - 'backendName' => 'instanceType', - ], - 'NodeState' => [ - 'title' => '', - 'description' => 'The status of the node. Valid values:'."\n" - ."\n" - .'* Pending: The node is being created.'."\n" - .'* Starting: The node is being started.'."\n" - .'* Running: The node is running.'."\n" - .'* Stopping: The node is being stopped.'."\n" - .'* Stopped: The node is stopped.'."\n" - .'* Terminated: The node is terminated.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'Running', - 'backendName' => 'nodeState', - ], - 'MaintenanceStatus' => [ - 'title' => '', - 'description' => 'The status of the O\\&M mode. Valid values:'."\n" - ."\n" - .'* ON: The cluster is in O\\&M mode.'."\n" - .'* OFF: The cluster is not in O\\&M mode.'."\n" - ."\n" - .'If you do not configure this parameter, the cluster is not in O\\&M mode.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'backendName' => 'maintenanceStatus', - ], - 'ExpireTime' => [ - 'title' => '', - 'description' => 'The expiration time of the node.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1603728394857', - 'backendName' => 'expireTime', - ], - 'AutoRenew' => [ - 'title' => '', - 'description' => 'Specifies whether auto-renewal is enabled for the node. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'visibility' => 'public', - 'type' => 'boolean', - 'example' => 'false', - 'backendName' => 'autoRenew', - ], - 'AutoRenewDuration' => [ - 'title' => '', - 'description' => 'The auto-renewal duration for the node.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'backendName' => 'autoRenewDuration', - ], - 'AutoRenewDurationUnit' => [ - 'title' => '', - 'description' => 'The unit of the auto-renewal duration for the node.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'Month', - 'backendName' => 'autoRenewDurationUnit', - ], - 'CreateTime' => [ - 'title' => '', - 'description' => 'The creation time of the node.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1603728394857', - 'backendName' => 'createTime', - ], + 'AutoRenewDurationUnit' => ['title' => '', 'description' => 'The unit of the auto-renewal duration.', 'type' => 'string', 'example' => 'Month', 'visibility' => 'Public', 'backendName' => 'autoRenewDurationUnit'], + 'NodeState' => ['title' => '', 'description' => 'The state of the node. Valid values:'."\n" + ."\n" + .'- Pending: The node is being created.'."\n" + ."\n" + .'- Starting: The node is starting up.'."\n" + ."\n" + .'- Running: The node is operational and running services.'."\n" + ."\n" + .'- Stopping: The node is shutting down.'."\n" + ."\n" + .'- Stopped: The node is powered off.'."\n" + ."\n" + .'- Terminated: The node has been permanently deleted.', 'type' => 'string', 'example' => 'Running', 'visibility' => 'Public', 'backendName' => 'nodeState'], + 'ZoneId' => ['title' => '', 'description' => 'The ID of the zone.', 'type' => 'string', 'example' => 'cn-beijing-h', 'visibility' => 'Public', 'backendName' => 'zoneId'], + 'NodeName' => ['title' => '', 'description' => 'The name of the node.', 'type' => 'string', 'example' => 'core1-1', 'visibility' => 'Public', 'backendName' => 'nodeName'], + 'PublicIp' => ['title' => '', 'description' => 'The public IP address of the node.', 'type' => 'string', 'example' => '42.1.1.**', 'visibility' => 'Public', 'backendName' => 'publicIp'], + 'AutoRenew' => ['title' => '', 'description' => 'Whether auto-renewal is enabled for the node. Valid values:'."\n" + ."\n" + .'- true: Auto-renewal is enabled.'."\n" + ."\n" + .'- false: Auto-renewal is disabled.', 'type' => 'boolean', 'example' => 'false', 'visibility' => 'Public', 'backendName' => 'autoRenew'], + 'CreateTime' => ['title' => '', 'description' => 'The creation time of the node.', 'type' => 'integer', 'format' => 'int64', 'example' => '1603728394857', 'visibility' => 'Public', 'backendName' => 'createTime'], + 'AutoRenewDuration' => ['title' => '', 'description' => 'The auto-renewal duration for the node.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'visibility' => 'Public', 'backendName' => 'autoRenewDuration'], + 'PrivateIp' => ['title' => '', 'description' => 'The private IP address of the node.', 'type' => 'string', 'example' => '10.10.**.**', 'visibility' => 'Public', 'backendName' => 'privateIp'], + 'NodeGroupId' => ['title' => '', 'description' => 'The ID of the node group.', 'type' => 'string', 'example' => 'ng-869471354ecd****', 'visibility' => 'Public', 'backendName' => 'nodeGroupId'], + 'NodeGroupType' => ['title' => '', 'description' => 'The type of the node group. Valid values:'."\n" + ."\n" + .'- MASTER: A master node group.'."\n" + ."\n" + .'- CORE: A core node group.'."\n" + ."\n" + .'- TASK: A task node group.', 'type' => 'string', 'example' => 'CORE', 'visibility' => 'Public', 'backendName' => 'nodeGroupType'], + 'NodeId' => ['title' => '', 'description' => 'The ID of the node.', 'type' => 'string', 'example' => 'i-bp1cudc25w2bfwl5****', 'visibility' => 'Public', 'backendName' => 'nodeId'], + 'InstanceType' => ['title' => '', 'description' => 'The instance type of the node. This corresponds to an ECS instance type. You can call the ECS [DescribeInstanceTypes](~~25620~~) operation to query the available instance types.', 'type' => 'string', 'example' => 'ecs.g7.xlarge', 'visibility' => 'Public', 'backendName' => 'instanceType'], + 'ExpireTime' => ['title' => '', 'description' => 'The expiration time of the node.', 'type' => 'integer', 'format' => 'int64', 'example' => '1603728394857', 'visibility' => 'Public', 'backendName' => 'expireTime'], + 'MaintenanceStatus' => ['title' => '', 'description' => 'The maintenance status of the node. Valid values:'."\n" + ."\n" + .'- ON: The node is in maintenance mode.'."\n" + ."\n" + .'- OFF: The node is not in maintenance mode.'."\n" + ."\n" + .'If this parameter is empty, the node is not in maintenance mode.', 'type' => 'string', 'example' => '', 'visibility' => 'Public', 'backendName' => 'maintenanceStatus'], ], 'description' => '', + 'title' => '', + 'example' => '', + 'visibility' => 'Public', ], 'NodeAttributes' => [ - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'title' => '', - 'description' => 'The virtual private cloud (VPC) ID.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-bp1tgey2p0ytxmdo5****', - 'backendName' => 'vpcId', - ], - 'ZoneId' => [ - 'title' => '', - 'description' => 'The zone ID.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-beijing-h', - 'backendName' => 'zoneId', - ], - 'SecurityGroupId' => [ - 'title' => '', - 'description' => 'The security group ID. E-MapReduce (EMR) supports only basic security groups.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'sg-hp3abbae8lb6lmb1****', - 'backendName' => 'securityGroupId', - ], - 'RamRole' => [ - 'title' => '', - 'description' => 'The RAM role that you want to associate with EMR to access other Alibaba Cloud resources from Elastic Compute Service (ECS). Default value: AliyunECSInstanceForEMRRole.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'AliyunECSInstanceForEMRRole', - 'backendName' => 'ramRole', - ], - 'KeyPairName' => [ - 'title' => '', - 'description' => 'The SSH key pair that is used to log on to the ECS instance.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'emr_login', - 'backendName' => 'keyPairName', - ], - 'MasterRootPassword' => [ - 'title' => '', - 'description' => 'The password of the root user that you use to log on to the master node. If this parameter is used as the response parameter of the API operation, no value is returned.'."\n", - 'visibility' => 'Private', - 'type' => 'string', - 'example' => 'Adxefswfd****', - 'backendName' => 'masterRootPassword', - 'sensitive' => true, - ], - 'SystemDiskEncrypted' => [ - 'title' => '', - 'description' => 'Specifies whether to enable the disk encryption feature. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false (default)'."\n", - 'visibility' => 'Private', - 'type' => 'boolean', - 'example' => 'false', - 'backendName' => 'systemDiskEncrypted', - ], - 'SystemDiskKMSKeyId' => [ - 'title' => '', - 'description' => 'The ID of the key that is managed by Key Management Service (KMS).'."\n", - 'visibility' => 'Private', - 'type' => 'string', - 'example' => '0e478b7a-4262-4802-b8cb-00d3fb40****', - 'backendName' => 'systemDiskKMSKeyId', - ], - 'DataDiskEncrypted' => [ - 'title' => '', - 'description' => 'Specifies whether to enable the data disk encryption feature. For more information, see [Encrypt cloud disks](https://www.alibabacloud.com/help/en/ecs/user-guide/encryption-overview). Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false (default)'."\n", - 'visibility' => 'Private', - 'type' => 'boolean', - 'example' => 'false', - 'backendName' => 'dataDiskEncrypted', - ], - 'DataDiskKMSKeyId' => [ - 'title' => '', - 'description' => 'The ID of the KMS key.'."\n", - 'visibility' => 'Private', - 'type' => 'string', - 'example' => '0e478b7a-4262-4802-b8cb-00d3fb40****', - 'backendName' => 'dataDiskKMSKeyId', - ], - 'DiskEncrypted' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'boolean', - 'example' => 'false', - 'backendName' => 'diskEncrypted', - ], - 'DiskKMSKeyId' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'string', - 'example' => '0e478b7a-4262-4802-b8cb-00d3fb40****', - 'backendName' => 'diskKMSKeyId', - ], + 'KeyPairName' => ['title' => '', 'description' => 'The SSH key pair for logging on to the ECS instances.', 'type' => 'string', 'example' => 'emr_login', 'visibility' => 'Public', 'backendName' => 'keyPairName'], + 'VpcId' => ['title' => '', 'description' => 'The ID of the VPC.', 'type' => 'string', 'required' => true, 'example' => 'vpc-bp1tgey2p0ytxmdo5****', 'visibility' => 'Public', 'backendName' => 'vpcId'], + 'ZoneId' => ['title' => '', 'description' => 'The ID of the zone.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing-h', 'visibility' => 'Public', 'backendName' => 'zoneId'], + 'SecurityGroupId' => ['title' => '', 'description' => 'The ID of the security group. EMR supports only basic security groups and does not support enterprise security groups.', 'type' => 'string', 'required' => true, 'example' => 'sg-hp3abbae8lb6lmb1****', 'visibility' => 'Public', 'backendName' => 'securityGroupId'], + 'RamRole' => ['title' => '', 'description' => 'The RAM role that is attached to the ECS instances to access other cloud resources.'."\n" + .'Default value: AliyunECSInstanceForEMRRole.', 'type' => 'string', 'example' => 'AliyunECSInstanceForEMRRole', 'visibility' => 'Public', 'backendName' => 'ramRole'], ], 'description' => '', + 'title' => '', + 'example' => '', + 'visibility' => 'Public', ], 'NodeGroup' => [ - 'description' => 'The node group.'."\n", - 'visibility' => 'public', + 'description' => 'The node group.', 'type' => 'object', 'properties' => [ - 'ZoneId' => [ - 'title' => '', - 'description' => 'The zone ID.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'cn-hangzhou', - 'backendName' => 'zoneId', - ], - 'NodeGroupId' => [ - 'title' => '', - 'description' => 'The node group ID.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'ng-869471354ecd****', - 'backendName' => 'nodeGroupId', - ], - 'NodeGroupName' => [ - 'title' => '', - 'description' => 'The name of the node group.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'core-1', - 'backendName' => 'nodeGroupName', - ], - 'NodeGroupType' => [ - 'title' => '', - 'description' => 'The type of the node group. Valid values:'."\n" - ."\n" - .'* MASTER'."\n" - .'* CORE'."\n" - .'* TASK'."\n" - .'* GATEWAY This parameter is invalid for DataLake, OLAP, and DataServing clusters.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'MASTER', - 'backendName' => 'nodeGroupType', - ], - 'RunningNodeCount' => [ - 'title' => '', - 'description' => 'The number of active nodes.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - 'backendName' => 'runningNodeCount', - ], - 'InstanceTypes' => [ - 'title' => '', - 'description' => 'The instance types.'."\n", - 'visibility' => 'public', - 'type' => 'array', - 'items' => [ - 'description' => 'The type of the instance.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'ecs.g7.2xlarge', - 'extendType' => 'true', - ], - 'example' => '["ecs.g6.4xlarge"]', - 'backendName' => 'instanceTypes', - 'itemName' => 'String', - ], - 'PaymentType' => [ - 'title' => '', - 'description' => 'The billing method. Valid values: Subscription and PayAsYouGo.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'Subscription', - 'backendName' => 'paymentType', - ], + 'WithPublicIp' => ['title' => '', 'description' => 'Specifies whether to assign a public IP address.', 'type' => 'boolean', 'example' => 'true', 'visibility' => 'Public', 'backendName' => 'withPublicIp'], + 'SpotInstanceRemedy' => ['title' => '', 'description' => 'Specifies whether to enable spot instance remedy. If enabled, the scaling group attempts to create a new instance to replace a spot instance that is about to be reclaimed. Valid values:'."\n" + ."\n" + .'- true: Enables spot instance remedy.'."\n" + ."\n" + .'- false: Disables spot instance remedy.'."\n" + ."\n" + .'Default: `false`.', 'type' => 'boolean', 'example' => 'false', 'visibility' => 'Public', 'backendName' => 'spotInstanceRemedy'], 'DataDisks' => [ 'title' => '', - 'description' => 'The data disks.'."\n", - 'visibility' => 'public', + 'description' => 'The data disks.', 'type' => 'array', - 'items' => [ - 'description' => 'The data disk.'."\n", - 'visibility' => 'public', - 'extendType' => 'true', - '$ref' => '#/components/schemas/DataDisk', - ], + 'items' => ['description' => 'The data disk.', '$ref' => '#/components/schemas/DataDisk', 'title' => '', 'example' => '', 'visibility' => 'Public', 'extendType' => 'true'], + 'example' => '', + 'visibility' => 'Public', 'backendName' => 'dataDisks', 'itemName' => 'DataDisk', ], - 'SystemDisk' => [ - 'title' => '', - 'description' => 'The system disk.'."\n", - 'visibility' => 'public', - 'backendName' => 'systemDisk', - '$ref' => '#/components/schemas/SystemDisk', - ], - 'NodeGroupState' => [ - 'title' => '', - 'description' => 'The status of the node group.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'RESIZING', - 'backendName' => 'nodeGroupState', - ], - 'AdditionalSecurityGroupIds' => [ + 'CompensateWithOnDemand' => ['title' => '', 'description' => 'Applies only when `NodeResizeStrategy` is set to `COST_OPTIMIZED`. If set to `true`, the system creates Pay-As-You-Go instances to meet the target capacity if it fails to create enough spot instances due to price or inventory constraints.', 'type' => 'boolean', 'example' => 'true', 'visibility' => 'Public', 'backendName' => 'compensateWithOnDemand'], + 'NodeGroupState' => ['title' => '', 'description' => 'The state of the node group.', 'type' => 'string', 'example' => 'RESIZING', 'visibility' => 'Public', 'backendName' => 'nodeGroupState'], + 'SystemDisk' => ['title' => '', 'description' => 'The system disk.', '$ref' => '#/components/schemas/SystemDisk', 'example' => '', 'visibility' => 'Public', 'backendName' => 'systemDisk'], + 'PrivatePoolOptions' => ['title' => '', 'description' => 'The private pool options.', '$ref' => '#/components/schemas/PrivatePoolOptions', 'example' => '', 'visibility' => 'Public', 'backendName' => 'privatePoolOptions'], + 'NodeGroupType' => ['title' => '', 'description' => 'The type of the node group. Valid values:'."\n" + ."\n" + .'- MASTER: A master node.'."\n" + ."\n" + .'- CORE: A core node.'."\n" + ."\n" + .'- TASK: A task node.'."\n" + ."\n" + .'- GATEWAY: A gateway node. This value is not applicable to DATALAKE, OLAP, or DATASERVING clusters.', 'type' => 'string', 'example' => 'MASTER', 'visibility' => 'Public', 'backendName' => 'nodeGroupType'], + 'PaymentType' => ['title' => '', 'description' => 'The payment type. Valid values are `Subscription` for the subscription billing method and `PayAsYouGo` for the Pay-As-You-Go billing method.', 'type' => 'string', 'example' => 'Subscription', 'visibility' => 'Public', 'backendName' => 'paymentType'], + 'InstanceTypes' => [ 'title' => '', - 'description' => 'The ID of new security group N.'."\n", - 'visibility' => 'public', + 'description' => 'The instance types.', 'type' => 'array', - 'items' => [ - 'visibility' => 'public', - 'type' => 'string', - 'extendType' => 'true', - 'description' => '', - ], - 'example' => '["sg-hp3abbae8lb6lmb1****"]', - 'backendName' => 'additionalSecurityGroupIds', + 'items' => ['description' => 'The instance type.', 'type' => 'string', 'example' => 'ecs.g7.2xlarge', 'title' => '', 'visibility' => 'Public', 'extendType' => 'true'], + 'example' => '["ecs.g6.4xlarge"]', + 'visibility' => 'Public', + 'backendName' => 'instanceTypes', 'itemName' => 'String', ], - 'WithPublicIp' => [ - 'title' => '', - 'description' => 'Indicates whether a public IP address is assigned.'."\n", - 'visibility' => 'public', - 'type' => 'boolean', - 'example' => 'true', - 'backendName' => 'withPublicIp', - ], + 'CostOptimizedConfig' => ['title' => '', 'description' => 'The configurations of the cost-optimized mode.', '$ref' => '#/components/schemas/CostOptimizedConfig', 'example' => '', 'visibility' => 'Public', 'backendName' => 'costOptimizedConfig'], + 'GracefulShutdown' => ['title' => '', 'description' => 'Specifies whether to enable graceful shutdown for components deployed in the node group. Valid values:'."\n" + ."\n" + .'- true: Enables graceful shutdown.'."\n" + ."\n" + .'- false: Disables graceful shutdown.', 'type' => 'boolean', 'example' => 'false', 'visibility' => 'Public', 'backendName' => 'gracefulShutdown'], + 'SpotStrategy' => ['title' => '', 'description' => 'The policy for using spot instances. Valid values:'."\n" + ."\n" + .'- NoSpot: No spot instances are used.'."\n" + ."\n" + .'- SpotWithPriceLimit: Spot instances are created with a user-defined maximum bid price.'."\n" + ."\n" + .'- SpotAsPriceGo: The system automatically bids for spot instances. The bid price does not exceed the price of a Pay-As-You-Go instance.'."\n" + ."\n" + .'Default: `NoSpot`.', 'type' => 'string', 'example' => 'NoSpot', 'visibility' => 'Public', 'backendName' => 'spotStrategy'], + 'StateChangeReason' => ['title' => '', 'description' => 'The reason for the state change.', 'example' => '手动重启', '$ref' => '#/components/schemas/NodeGroupStateChangeReason', 'visibility' => 'Public', 'backendName' => 'stateChangeReason'], + 'Status' => ['title' => '', 'description' => 'The node group state.', 'type' => 'string', 'example' => 'CREATED', 'visibility' => 'Public', 'backendName' => 'status'], + 'ZoneId' => ['title' => '', 'description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'visibility' => 'Public', 'backendName' => 'zoneId'], + 'NodeGroupName' => ['title' => '', 'description' => 'The node group name.', 'type' => 'string', 'example' => 'core-1', 'visibility' => 'Public', 'backendName' => 'nodeGroupName'], 'VSwitchIds' => [ 'title' => '', - 'description' => 'The vSwitch IDs.'."\n", - 'visibility' => 'public', + 'description' => 'The VSwitch IDs.', 'type' => 'array', - 'items' => [ - 'description' => 'The vSwitch ID.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'vsw-bp1opd2qejvhsabfe****', - 'extendType' => 'true', - ], + 'items' => ['description' => 'The VSwitch ID.', 'type' => 'string', 'example' => 'vsw-bp1opd2qejvhsabfe****', 'title' => '', 'visibility' => 'Public', 'extendType' => 'true'], 'example' => '["vsw-hp35g7ya5ymw68mmg****"]', + 'visibility' => 'Public', 'backendName' => 'vSwitchIds', 'itemName' => 'String', ], - 'SpotStrategy' => [ - 'title' => '', - 'description' => 'The usage policy of the spot instance. Valid values:'."\n" - ."\n" - .'* NoSpot: No spot instances are used.'."\n" - .'* SpotWithPriceLimit: Spot instances with a custom maximum price are used.'."\n" - .'* SpotAsPriceGo: Spot instances are used. The system automatically adjusts the upper limit of the price. The maximum price does not exceed the price of a pay-as-you-go instance.'."\n" - ."\n" - .'Default value: NoSpot.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'NoSpot', - 'backendName' => 'spotStrategy', - ], 'SpotBidPrices' => [ 'title' => '', - 'description' => 'The bid prices of the preemptible instances. The parameter takes effect only if the SpotStrategy parameter is set to SpotWithPriceLimit. Number of elements in the array: 0 to 100.'."\n", - 'visibility' => 'public', + 'description' => 'The bid prices for the spot instances. This parameter is effective only when `SpotStrategy` is set to `SpotWithPriceLimit`. The array can contain 0 to 100 elements.', 'type' => 'array', - 'items' => [ - 'description' => 'The bid prices of the preemptible instances.'."\n", - 'visibility' => 'public', - 'extendType' => 'true', - '$ref' => '#/components/schemas/SpotBidPrice', - ], + 'items' => ['description' => 'The bid price for a spot instance.', '$ref' => '#/components/schemas/SpotBidPrice', 'title' => '', 'example' => '', 'visibility' => 'Public', 'extendType' => 'true'], + 'example' => '', + 'visibility' => 'Public', 'backendName' => 'spotBidPrices', 'itemName' => 'SpotBidPrice', ], - 'StateChangeReason' => [ - 'title' => '', - 'description' => 'The reason of the status change.'."\n", - 'visibility' => 'public', - 'example' => 'Specifies whether to enable graceful shutdown for components in the node group. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false: does not enable graceful disconnection.'."\n", - 'backendName' => 'stateChangeReason', - '$ref' => '#/components/schemas/NodeGroupStateChangeReason', - ], - 'MinimalNodeCount' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'integer', - 'format' => 'int32', - 'deprecated' => true, - 'example' => '0', - 'backendName' => 'minimalNodeCount', - ], - 'MaximalNodeCount' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'integer', - 'format' => 'int32', - 'deprecated' => true, - 'example' => '200', - 'backendName' => 'maximalNodeCount', - ], - 'GracefulShutdown' => [ - 'title' => '', - 'description' => 'Indicates whether graceful shutdown is enabled for services in the node group. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'visibility' => 'public', - 'type' => 'boolean', - 'example' => 'false', - 'backendName' => 'gracefulShutdown', - ], - 'SpotInstanceRemedy' => [ - 'title' => '', - 'description' => 'Indicates whether preemptible instances are supplemented. If you set this parameter to true, the system attempts to create another instance in the scaling group when the system notifies that an existing preemptible instance is about to be reclaimed. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n" - ."\n" - .'Default value: false.'."\n", - 'visibility' => 'public', - 'type' => 'boolean', - 'example' => 'false', - 'backendName' => 'spotInstanceRemedy', - ], - 'CompensateWithOnDemand' => [ - 'title' => '', - 'description' => 'Indicates whether Auto Scaling can create pay-as-you-go instances to supplement preemptible instances if preemptible instances cannot be created due to price-related factors or insufficient inventory when the NodeResizeStrategy parameter is set to COST_OPTIMIZED.'."\n", - 'visibility' => 'Public', - 'type' => 'boolean', - 'example' => 'true', - 'backendName' => 'compensateWithOnDemand', - ], - 'NodeResizeStrategy' => [ - 'title' => '', - 'description' => '* The scaling policy for the node. Valid values: COST_OPTIMIZED'."\n" - .'* PRIORITY'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'PRIORITY', - 'backendName' => 'nodeResizeStrategy', - ], - 'CostOptimizedConfig' => [ - 'title' => '', - 'description' => 'The configurations of the cost optimization policy.'."\n", - 'visibility' => 'public', - 'backendName' => 'costOptimizedConfig', - '$ref' => '#/components/schemas/CostOptimizedConfig', - ], - 'DeploymentSetStrategy' => [ - 'title' => '', - 'description' => 'The deployment set policy. Valid values:'."\n" - ."\n" - .'* NONE: No deployment sets are used.'."\n" - .'* CLUSTER: Deployment sets at the cluster level are used.'."\n" - .'* NODE_GROUP: Deployment sets at the node group level are used.'."\n" - ."\n" - .'Default value: NONE.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'NONE', - 'backendName' => 'deploymentSetStrategy', - ], - 'AutoCompensateState' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'boolean', - 'example' => 'false', - 'backendName' => 'autoCompensateState', - ], - 'ExtraAttributes' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'object', - 'additionalProperties' => [ - 'description' => '', - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'true', - ], - 'example' => '{}', - 'backendName' => 'extraAttributes', - ], - 'AckConfig' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'backendName' => 'ackConfig', - '$ref' => '#/components/schemas/AckConfig', - ], - 'IaaSType' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'string', - 'backendName' => 'iaaSType', - ], - 'PrivatePoolOptions' => [ + 'NodeResizeStrategy' => ['title' => '', 'description' => '- COST\\_OPTIMIZED: The cost-optimized strategy.'."\n" + ."\n" + .'- PRIORITY: The priority-based strategy.', 'type' => 'string', 'example' => 'PRIORITY', 'visibility' => 'Public', 'backendName' => 'nodeResizeStrategy'], + 'NodeGroupId' => ['title' => '', 'description' => 'The node group ID.', 'type' => 'string', 'example' => 'ng-869471354ecd****', 'visibility' => 'Public', 'backendName' => 'nodeGroupId'], + 'AdditionalSecurityGroupIds' => [ 'title' => '', - 'description' => 'The settings of the private pool that is associated with the node group.'."\n", + 'description' => 'The additional security group IDs.', + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => '', 'visibility' => 'Public', 'extendType' => 'true'], + 'example' => '["sg-hp3abbae8lb6lmb1****"]', 'visibility' => 'Public', - 'backendName' => 'privatePoolOptions', - '$ref' => '#/components/schemas/PrivatePoolOptions', - ], - 'Status' => [ - 'title' => '', - 'description' => 'The status of the node group.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'CREATED', - 'backendName' => 'status', + 'backendName' => 'additionalSecurityGroupIds', + 'itemName' => 'String', ], + 'DeploymentSetStrategy' => ['title' => '', 'description' => 'The Deployment Set strategy. Valid values:'."\n" + ."\n" + .'- NONE: Does not use a Deployment Set.'."\n" + ."\n" + .'- CLUSTER: Uses a cluster-level Deployment Set.'."\n" + ."\n" + .'- NODE\\_GROUP: Uses a node group-level Deployment Set.'."\n" + ."\n" + .'Default: `NONE`.', 'type' => 'string', 'example' => 'NONE', 'visibility' => 'Public', 'backendName' => 'deploymentSetStrategy'], + 'RunningNodeCount' => ['title' => '', 'description' => 'The number of running nodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'visibility' => 'Public', 'backendName' => 'runningNodeCount'], ], + 'title' => '', + 'example' => '', + 'visibility' => 'Public', ], 'NodeGroupConfig' => [ - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'WithPublicIp' => [ - 'title' => '', - 'description' => 'Indicates whether a public IP address is assigned. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n" - ."\n" - .'Default value: false.'."\n", - 'visibility' => 'public', - 'type' => 'boolean', - 'example' => 'false', - 'backendName' => 'withPublicIp', - ], - 'SpotInstanceRemedy' => [ - 'title' => '', - 'description' => 'Indicates whether preemptible instances are supplemented. If you set this parameter to true, the system attempts to create another instance in the scaling group when the system notifies that an existing preemptible instance is about to be reclaimed. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n" - ."\n" - .'Default value: false.'."\n", - 'visibility' => 'public', - 'type' => 'boolean', - 'example' => 'true', - 'backendName' => 'spotInstanceRemedy', - ], - 'ComponentTags' => [ + 'NodeGroupType' => ['title' => '', 'description' => 'The type of the node group. Valid values:'."\n" + ."\n" + .'- `MASTER`: a master node group.'."\n" + ."\n" + .'- `CORE`: a core node group.'."\n" + ."\n" + .'- `TASK`: a task node group.', 'type' => 'string', 'required' => true, 'example' => 'CORE', 'visibility' => 'Public', 'backendName' => 'nodeGroupType'], + 'NodeGroupName' => ['title' => '', 'description' => 'The name of the node group. The name can be up to 128 characters in length and must be unique within the cluster.', 'type' => 'string', 'example' => 'core-1', 'visibility' => 'Public', 'backendName' => 'nodeGroupName'], + 'PaymentType' => ['title' => '', 'description' => 'The billing method of the node group. If you do not specify this parameter, the billing method of the cluster is used. Valid values:'."\n" + ."\n" + .'- `PayAsYouGo`: pay-as-you-go.'."\n" + ."\n" + .'- `Subscription`: subscription.'."\n" + ."\n" + .'Default value: `PayAsYouGo`.', 'type' => 'string', 'example' => 'PayAsYouGo', 'visibility' => 'Public', 'backendName' => 'paymentType'], + 'SubscriptionConfig' => ['title' => '', 'description' => 'The subscription settings of the node group. If you do not specify this parameter, the subscription settings of the cluster are used.', '$ref' => '#/components/schemas/SubscriptionConfig', 'example' => '', 'visibility' => 'Public', 'backendName' => 'subscriptionConfig'], + 'SpotStrategy' => ['title' => '', 'description' => 'The preemption strategy for preemptible instances. Valid values:'."\n" + ."\n" + .'- `NoSpot`: pay-as-you-go instances.'."\n" + ."\n" + .'- `SpotWithPriceLimit`: preemptible instances with a user-defined maximum hourly price.'."\n" + ."\n" + .'- `SpotAsPriceGo`: preemptible instances that are automatically bid at the pay-as-you-go price.'."\n" + ."\n" + .'Default value: `NoSpot`.', 'type' => 'string', 'example' => 'NoSpot', 'visibility' => 'Public', 'backendName' => 'spotStrategy'], + 'SpotBidPrices' => [ 'title' => '', - 'description' => 'The optional services.'."\n", - 'visibility' => 'Public', + 'description' => 'The bid prices for the preemptible instances. This parameter is effective only when `SpotStrategy` is set to `SpotWithPriceLimit`. You can specify up to 100 bid prices.', 'type' => 'array', - 'items' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'extendType' => 'true', - 'description' => '', - ], - 'backendName' => 'componentTags', - 'itemName' => 'String', + 'items' => ['$ref' => '#/components/schemas/SpotBidPrice', 'description' => '', 'title' => '', 'example' => '', 'visibility' => 'Public', 'extendType' => 'true'], + 'maxItems' => 100, + 'example' => '', + 'visibility' => 'Public', + 'backendName' => 'spotBidPrices', + 'itemName' => 'SpotBidPrice', ], - 'DataDisks' => [ + 'VSwitchIds' => [ 'title' => '', - 'description' => 'The data disk. Only one disk type is supported. You can specify only one element in the array.'."\n", - 'visibility' => 'public', + 'description' => 'The vSwitch IDs. You can specify 1 to 20 vSwitch IDs.', 'type' => 'array', - 'items' => [ - 'description' => 'The data disk.'."\n", - 'visibility' => 'public', - 'extendType' => 'true', - '$ref' => '#/components/schemas/DataDisk', - ], - 'maxItems' => 1, - 'backendName' => 'dataDisks', - 'itemName' => 'DataDisk', - ], - 'CompensateWithOnDemand' => [ - 'title' => '', - 'description' => 'Indicates whether Auto Scaling can create pay-as-you-go instances to supplement preemptible instances if preemptible instances cannot be created due to price-related factors or insufficient inventory when the NodeResizeStrategy parameter is set to COST_OPTIMIZED.'."\n", + 'items' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'title' => '', 'example' => '', 'visibility' => 'Public', 'extendType' => 'true'], + 'example' => '["vsw-hp35g7ya5ymw68mmg****"]', + 'maxItems' => 20, 'visibility' => 'Public', - 'type' => 'boolean', - 'example' => 'true', - 'backendName' => 'compensateWithOnDemand', - ], - 'AutoCompensateState' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'boolean', - 'example' => 'false', - 'backendName' => 'autoCompensateState', - ], - 'SystemDisk' => [ - 'title' => '', - 'description' => 'The system disk.'."\n", - 'visibility' => 'public', - 'backendName' => 'systemDisk', - '$ref' => '#/components/schemas/SystemDisk', - ], - 'PrivatePoolOptions' => [ + 'backendName' => 'vSwitchIds', + 'itemName' => 'vSwitchId', + ], + 'WithPublicIp' => ['title' => '', 'description' => 'Specifies whether to assign a public IP address to the instances. Valid values:'."\n" + ."\n" + .'- `true`: Assigns a public IP address.'."\n" + ."\n" + .'- `false`: Does not assign a public IP address.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'example' => 'false', 'visibility' => 'Public', 'backendName' => 'withPublicIp'], + 'AdditionalSecurityGroupIds' => [ 'title' => '', - 'description' => 'The resource pool options used to create instances. This parameter takes effect only when pay-as-you-go instances are created.'."\n", + 'description' => 'The IDs of the additional security groups. In addition to the security group of the cluster, you can specify additional security groups for the node group. You can specify up to two security group IDs.', + 'type' => 'array', + 'items' => ['description' => 'The security group ID.', 'type' => 'string', 'example' => 'sg-hp3abbae8lb6lmb1****', 'title' => '', 'visibility' => 'Public', 'extendType' => 'true'], + 'example' => '["sg-hp3abbae8lb6lmb1****"]', + 'maxItems' => 5, 'visibility' => 'Public', - 'backendName' => 'privatePoolOptions', - '$ref' => '#/components/schemas/PrivatePoolOptions', - ], - 'IaaSType' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'string', - 'backendName' => 'iaaSType', - ], - 'NodeGroupType' => [ - 'title' => '', - 'description' => 'The type of the node group. Valid values:'."\n" - ."\n" - .'* MASTER'."\n" - .'* CORE'."\n" - .'* TASK'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'CORE', - 'backendName' => 'nodeGroupType', - ], - 'ImageId' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'string', - 'backendName' => 'imageId', - ], - 'AckConfig' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'backendName' => 'ackConfig', - '$ref' => '#/components/schemas/AckConfig', - ], - 'PaymentType' => [ - 'title' => '', - 'description' => 'The billing method of the node group. If you do not configure this parameter, the billing method of the cluster is used. Valid values:'."\n" - ."\n" - .'* PayAsYouGo'."\n" - .'* Subscription'."\n" - ."\n" - .'Default value: PayAsYouGo.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'PayAsYouGo', - 'backendName' => 'paymentType', + 'backendName' => 'additionalSecurityGroupIds', + 'itemName' => 'AdditionalSecurityGroupId', ], 'InstanceTypes' => [ 'title' => '', - 'description' => 'The instance types of the nodes. Number of elements in the array: 1 to 100.'."\n", - 'visibility' => 'public', + 'description' => 'The instance types. You can specify 1 to 100 instance types.', 'type' => 'array', - 'items' => [ - 'description' => 'The instance type of the node.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'ecs.g7.2xlarge', - 'extendType' => 'true', - ], + 'items' => ['description' => 'The instance type.', 'type' => 'string', 'example' => 'ecs.g7.2xlarge', 'title' => '', 'visibility' => 'Public', 'extendType' => 'true'], 'example' => '["ecs.g6.xlarge"]', 'maxItems' => 100, + 'visibility' => 'Public', 'backendName' => 'instanceTypes', - 'itemName' => 'String', - ], - 'CostOptimizedConfig' => [ - 'title' => '', - 'description' => 'The configurations of the cost optimization policy.'."\n", - 'visibility' => 'public', - 'backendName' => 'costOptimizedConfig', - '$ref' => '#/components/schemas/CostOptimizedConfig', - ], - 'GracefulShutdown' => [ - 'title' => '', - 'description' => 'Indicates whether graceful shutdown is enabled for services in the node group. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n" - ."\n" - .'Default value: false.'."\n", - 'visibility' => 'public', - 'type' => 'boolean', - 'example' => 'false', - 'backendName' => 'gracefulShutdown', - ], - 'SpotStrategy' => [ - 'title' => '', - 'description' => 'The bidding policy for the preemptible instance. Valid values:'."\n" - ."\n" - .'* NoSpot: No spot instances are used.'."\n" - .'* SpotWithPriceLimit: The instance is a preemptible instance for which you specify the highest price that you want to pay for the instance.'."\n" - .'* SpotAsPriceGo: The instance is a preemptible instance for which the market price is automatically used as the bid price. The highest market price is the pay-as-you-go price.'."\n" - ."\n" - .'Default value: NoSpot.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'NoSpot', - 'backendName' => 'spotStrategy', - ], - 'ZoneId' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'string', - 'example' => 'cn-beijing-h', - 'backendName' => 'zoneId', - ], - 'NodeGroupName' => [ - 'title' => '', - 'description' => 'The name of the node group. The name can be up to 128 characters in length. The name of a node group must be unique in a cluster.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'core-1', - 'backendName' => 'nodeGroupName', - ], - 'NodeCount' => [ - 'title' => '', - 'description' => 'The number of nodes. Valid values: 1 to 1,000.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - 'backendName' => 'nodeCount', + 'itemName' => 'InstanceType', ], - 'VSwitchIds' => [ - 'title' => '', - 'description' => 'The vSwitch IDs. Number of elements in the array: 1 to 20.'."\n", - 'visibility' => 'public', - 'type' => 'array', - 'items' => [ - 'description' => 'The vSwitch ID.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'extendType' => 'true', - ], - 'example' => '["vsw-hp35g7ya5ymw68mmg****"]', - 'maxItems' => 20, - 'backendName' => 'vSwitchIds', - 'itemName' => 'String', - ], - 'SpotBidPrices' => [ + 'NodeCount' => ['title' => '', 'description' => 'The number of nodes in the node group. Valid values: 1 to 1,000.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'visibility' => 'Public', 'backendName' => 'nodeCount'], + 'SystemDisk' => ['title' => '', 'description' => 'The system disk.', '$ref' => '#/components/schemas/SystemDisk', 'example' => '', 'visibility' => 'Public', 'backendName' => 'systemDisk'], + 'DataDisks' => [ 'title' => '', - 'description' => 'The bid prices of the preemptible instances. The parameter takes effect only if the SpotStrategy parameter is set to SpotWithPriceLimit. Number of elements in the array: 0 to 100.'."\n", - 'visibility' => 'public', + 'description' => 'The data disks. Currently, the array can contain only one data disk.', 'type' => 'array', - 'items' => [ - 'visibility' => 'public', - 'extendType' => 'true', - '$ref' => '#/components/schemas/SpotBidPrice', - 'description' => '', - ], - 'maxItems' => 100, - 'backendName' => 'spotBidPrices', - 'itemName' => 'SpotBidPrice', - ], - 'NodeResizeStrategy' => [ - 'title' => '', - 'description' => 'The scaling policy for the node. Valid values:'."\n" - ."\n" - .'* COST_OPTIMIZED'."\n" - .'* PRIORITY'."\n" - ."\n" - .'Default value: PRIORITY.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'PRIORITY', - 'backendName' => 'nodeResizeStrategy', - ], - 'AutoScalingPolicy' => [ - 'title' => '', - 'description' => 'The auto scaling rule.'."\n", - 'visibility' => 'Private', - 'backendName' => 'autoScalingPolicy', - '$ref' => '#/components/schemas/AutoScalingPolicy', - ], - 'SubscriptionConfig' => [ - 'title' => '', - 'description' => 'The configurations of the node group based on the subscription billing method. If you do not configure this parameter, the configurations of the cluster based on the subscription billing method are used.'."\n", - 'visibility' => 'public', - 'backendName' => 'subscriptionConfig', - '$ref' => '#/components/schemas/SubscriptionConfig', + 'items' => ['description' => 'The data disk.', '$ref' => '#/components/schemas/DataDisk', 'title' => '', 'example' => '', 'visibility' => 'Public', 'extendType' => 'true'], + 'maxItems' => 1, + 'example' => '', + 'visibility' => 'Public', + 'backendName' => 'dataDisks', + 'itemName' => 'DataDisk', ], - 'AdditionalSecurityGroupIds' => [ + 'GracefulShutdown' => ['title' => '', 'description' => 'Specifies whether to enable graceful shutdown for the components in the node group. Valid values:'."\n" + ."\n" + .'- `true`: Enables graceful shutdown.'."\n" + ."\n" + .'- `false`: Disables graceful shutdown.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'example' => 'false', 'visibility' => 'Public', 'backendName' => 'gracefulShutdown'], + 'SpotInstanceRemedy' => ['title' => '', 'description' => 'If enabled, the auto scaling group attempts to create a new instance to replace a spot instance that is about to be reclaimed. This process is triggered when the auto scaling group receives a system message about the impending reclamation. Valid values:'."\n" + ."\n" + .'- `true`: The auto scaling group attempts to replace a spot instance that is about to be reclaimed.'."\n" + ."\n" + .'- `false`: The auto scaling group does not attempt to replace a spot instance that is about to be reclaimed.'."\n" + ."\n" + .'Default value: `false`.', 'type' => 'boolean', 'example' => 'true', 'visibility' => 'Public', 'backendName' => 'spotInstanceRemedy'], + 'CompensateWithOnDemand' => ['title' => '', 'description' => 'Specifies whether to automatically create pay-as-you-go instances to meet the required capacity when the number of preemptible instances is insufficient. This parameter is effective only when `nodeResizeStrategy` is set to `COST_OPTIMIZED`.', 'type' => 'boolean', 'example' => 'true', 'visibility' => 'Public', 'backendName' => 'compensateWithOnDemand'], + 'NodeResizeStrategy' => ['title' => '', 'description' => 'The node scale-out strategy. Valid values:'."\n" + ."\n" + .'- `COST_OPTIMIZED`: The cost-optimized strategy.'."\n" + ."\n" + .'- `PRIORITY`: The priority-based strategy.'."\n" + ."\n" + .'Default value: `PRIORITY`.', 'type' => 'string', 'example' => 'PRIORITY', 'visibility' => 'Public', 'backendName' => 'nodeResizeStrategy'], + 'CostOptimizedConfig' => ['title' => '', 'description' => 'The cost optimization settings.', '$ref' => '#/components/schemas/CostOptimizedConfig', 'example' => '', 'visibility' => 'Public', 'backendName' => 'costOptimizedConfig'], + 'DeploymentSetStrategy' => ['title' => '', 'description' => 'The deployment set strategy. Valid values:'."\n" + ."\n" + .'- `NONE`: No deployment sets are used.'."\n" + ."\n" + .'- `CLUSTER`: The cluster-level deployment set is used.'."\n" + ."\n" + .'- `NODE_GROUP`: The node group-level deployment set is used.'."\n" + ."\n" + .'Default value: `NONE`.', 'type' => 'string', 'example' => 'NONE', 'visibility' => 'Public', 'backendName' => 'deploymentSetStrategy'], + 'ComponentTags' => [ 'title' => '', - 'description' => 'The additional security group IDs. Additional security groups are the security groups that are separately added to a node group. Number of elements in the array: 0 to 2.'."\n", - 'visibility' => 'public', + 'description' => 'A list of custom component tags.', 'type' => 'array', - 'items' => [ - 'description' => 'The security group ID.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'sg-hp3abbae8lb6lmb1****', - 'extendType' => 'true', - ], - 'example' => '["sg-hp3abbae8lb6lmb1****"]', - 'maxItems' => 5, - 'backendName' => 'additionalSecurityGroupIds', - 'itemName' => 'String', - ], - 'DeploymentSetStrategy' => [ - 'title' => '', - 'description' => 'The deployment set policy. Valid values:'."\n" - ."\n" - .'* NONE: uses no deployment sets.'."\n" - .'* CLUSTER: uses deployment sets at the cluster level.'."\n" - .'* NODE_GROUP: uses deployment sets at the node group level.'."\n" - ."\n" - .'Default value: NONE.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'NONE', - 'backendName' => 'deploymentSetStrategy', + 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => '', 'visibility' => 'Public', 'extendType' => 'true'], + 'example' => '', + 'visibility' => 'Public', + 'backendName' => 'componentTags', + 'itemName' => 'ComponentTag', ], + 'PrivatePoolOptions' => ['title' => '', 'description' => 'The private pool options. This parameter is effective only when you create pay-as-you-go instances.', '$ref' => '#/components/schemas/PrivatePoolOptions', 'example' => '', 'visibility' => 'Public', 'backendName' => 'privatePoolOptions'], ], 'description' => '', + 'title' => '', + 'example' => '', + 'visibility' => 'Public', ], 'NodeGroupStateChangeReason' => [ - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'Code' => [ - 'title' => '', - 'description' => 'The status code. Valid values:'."\n" - ."\n" - .'* UserRequest: A user request is initiated.'."\n" - .'* OutOfStock: The ECS instances of the requested type are out of stock.'."\n" - .'* NotAuthorized: The required permission is not granted.'."\n" - .'* QuotaExceeded: The quota is exceeded.'."\n" - .'* OperationDenied: The operation is denied.'."\n" - .'* AccountException: The account is abnormal.'."\n" - .'* NodeFailure: The ECS instance is abnormal.'."\n" - .'* BootstrapFailure: The bootstrap action fails.'."\n" - .'* ValidationFail: The business logic verification fails.'."\n" - .'* ServiceFailure: Other services on which the current service depends fail.'."\n" - .'* InternalError: An internal error occurs.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'UserRequest', - 'backendName' => 'code', - ], - 'Message' => [ - 'title' => '', - 'description' => 'The detailed description of the status change.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'The instance type is required.', - 'backendName' => 'message', - ], + 'Message' => ['title' => '', 'description' => 'A human-readable message that provides details about the state change.', 'type' => 'string', 'example' => 'The instance type is required.', 'visibility' => 'Public', 'backendName' => 'message'], + 'Code' => ['title' => '', 'description' => 'The status code for the state change. Valid values include:'."\n" + ."\n" + .'- `UserRequest`: A user request triggered the change.'."\n" + ."\n" + .'- `OutOfStock`: The requested ECS instance type is out of stock.'."\n" + ."\n" + .'- `NotAuthorized`: The request lacks the required permissions.'."\n" + ."\n" + .'- `QuotaExceeded`: The request exceeds the resource quota.'."\n" + ."\n" + .'- `OperationDenied`: The system denied the operation.'."\n" + ."\n" + .'- `AccountException`: An account exception occurred.'."\n" + ."\n" + .'- `NodeFailure`: An ECS node failed.'."\n" + ."\n" + .'- `BootstrapFailure`: The bootstrap process failed.'."\n" + ."\n" + .'- `ValidationFail`: The request parameters failed validation.'."\n" + ."\n" + .'- `ServiceFailure`: A dependent service failed.'."\n" + ."\n" + .'- `InternalError`: An unexpected internal error occurred.', 'type' => 'string', 'example' => 'UserRequest', 'visibility' => 'Public', 'backendName' => 'code'], ], 'description' => '', + 'title' => '', + 'example' => '', + 'visibility' => 'Public', ], 'NodeSelector' => [ - 'description' => 'The node selector.'."\n", - 'visibility' => 'public', + 'description' => 'Specifies the criteria for selecting nodes.', 'type' => 'object', 'properties' => [ - 'NodeSelectType' => [ + 'NodeGroupTypes' => [ 'title' => '', - 'description' => 'The level at which you want to select nodes. Valid values:'."\n" + 'description' => 'The types of node groups to select. This parameter applies only when `NodeSelectType` is set to `NODE_GROUP` and `NodeGroupIds` is not specified. The array can contain up to 10 elements.', + 'type' => 'array', + 'items' => ['description' => 'The node group type. Valid values:'."\n" ."\n" - .'* CLUSTER'."\n" - .'* NODE_GROUP'."\n" - .'* NODE'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'CLUSTER', - 'backendName' => 'nodeSelectType', + .'- `MASTER`: The master node group.'."\n" + ."\n" + .'- `CORE`: The core node group.'."\n" + ."\n" + .'- `TASK`: The task node group.', 'type' => 'string', 'example' => 'MASTER', 'title' => '', 'visibility' => 'Public', 'extendType' => 'true'], + 'example' => '["CORE","TASK"]', + 'maxItems' => 10, + 'visibility' => 'Public', + 'backendName' => 'nodeGroupTypes', + 'itemName' => 'NodeGroupType', ], - 'NodeNames' => [ + 'NodeGroupName' => ['title' => '', 'description' => '> This parameter is deprecated. Use `NodeGroupNames` instead.', 'type' => 'string', 'deprecated' => true, 'example' => 'master-1', 'visibility' => 'Public', 'backendName' => 'nodeGroupName'], + 'NodeGroupId' => ['title' => '', 'description' => '> This parameter is deprecated. Use `NodeGroupIds` instead.', 'type' => 'string', 'deprecated' => true, 'example' => 'ng-869471354ecd****', 'visibility' => 'Public', 'backendName' => 'nodeGroupId'], + 'NodeGroupNames' => [ 'title' => '', - 'description' => 'The names of the nodes. This parameter takes effect only when the NodeSelectType parameter is set to NODE.'."\n", - 'visibility' => 'public', + 'description' => 'The names of the node groups to select.', 'type' => 'array', - 'items' => [ - 'description' => 'The node name.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'master-1-1', - 'extendType' => 'true', - ], - 'example' => '["core1-1"]', - 'backendName' => 'nodeNames', - 'itemName' => 'String', - ], - 'NodeGroupId' => [ - 'title' => '', - 'description' => 'The node group ID. This parameter takes effect only when the NodeSelectType parameter is set to NODE_GROUP.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'deprecated' => true, - 'example' => 'ng-869471354ecd****', - 'backendName' => 'nodeGroupId', + 'items' => ['description' => 'The name of a node group.', 'type' => 'string', 'example' => 'master-1', 'title' => '', 'visibility' => 'Public', 'extendType' => 'true'], + 'example' => '', + 'visibility' => 'Public', + 'backendName' => 'nodeGroupNames', + 'itemName' => 'NodeGroupName', ], + 'NodeSelectType' => ['title' => '', 'description' => 'The node selection type. Valid values:'."\n" + ."\n" + .'- `CLUSTER`: Selects all nodes in the cluster.'."\n" + ."\n" + .'- `NODE_GROUP`: Selects nodes by their node group.'."\n" + ."\n" + .'- `NODE`: Selects specific nodes by name.', 'type' => 'string', 'required' => true, 'example' => 'CLUSTER', 'visibility' => 'Public', 'backendName' => 'nodeSelectType'], 'NodeGroupIds' => [ 'title' => '', - 'description' => 'The node group IDs.'."\n", - 'visibility' => 'Public', + 'description' => 'The IDs of the node groups to select.', 'type' => 'array', - 'items' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'ng-869471354ecd****', - 'extendType' => 'true', - 'description' => '', - ], + 'items' => ['description' => 'The ID of a node group.', 'type' => 'string', 'example' => 'ng-869471354ecd****', 'title' => '', 'visibility' => 'Public', 'extendType' => 'true'], + 'example' => '', + 'visibility' => 'Public', 'backendName' => 'nodeGroupIds', ], - 'NodeGroupTypes' => [ + 'NodeNames' => [ 'title' => '', - 'description' => 'The node group types. This parameter takes effect only when the NodeSelectType parameter is set to NODE_GROUP and the NodeGroupId parameter is not configured. Number of elements in the array: 0 to 10.'."\n", - 'visibility' => 'public', + 'description' => 'The names of the nodes to select. This parameter applies only when `NodeSelectType` is set to `NODE`.', 'type' => 'array', - 'items' => [ - 'description' => 'The node group type. Valid values:'."\n" - ."\n" - .'* MASTER'."\n" - .'* CORE'."\n" - .'* TASK'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'MASTER', - 'extendType' => 'true', - ], - 'example' => '["CORE","TASK"]', - 'maxItems' => 10, - 'backendName' => 'nodeGroupTypes', - 'itemName' => 'NodeGroupType', - ], - 'NodeGroupName' => [ - 'title' => '', - 'description' => '> This parameter is deprecated and replaced with NodeGroupNames.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'deprecated' => true, - 'example' => 'master-1', - 'backendName' => 'nodeGroupName', - ], - 'NodeGroupNames' => [ - 'title' => '', - 'description' => 'The names of node groups.'."\n", + 'items' => ['description' => 'A node name.', 'type' => 'string', 'example' => 'master-1-1', 'title' => '', 'visibility' => 'Public', 'extendType' => 'true'], + 'example' => '["core1-1"]', 'visibility' => 'Public', - 'type' => 'array', - 'items' => [ - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'master-1', - 'extendType' => 'true', - 'description' => '', - ], - 'backendName' => 'nodeGroupNames', - 'itemName' => 'NodeGroupName', + 'backendName' => 'nodeNames', + 'itemName' => 'String', ], ], + 'title' => '', + 'example' => '', + 'visibility' => 'Public', ], 'Operation' => [ - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'ClusterId' => [ - 'title' => '', - 'description' => 'The cluster ID.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'c-b933c5aac8fe****', - 'backendName' => 'clusterId', - ], - 'OperationId' => [ - 'title' => '', - 'description' => 'The operation ID.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'op-13c37a77c505****', - 'backendName' => 'operationId', - ], - 'CreateTime' => [ - 'title' => '', - 'description' => 'The creation time.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1628589439114', - 'backendName' => 'createTime', - ], - 'StartTime' => [ - 'title' => '', - 'description' => 'The start time of the operation.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1628589439114', - 'backendName' => 'startTime', - ], - 'EndTime' => [ - 'title' => '', - 'description' => 'The end time of the operation.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1628589439114', - 'backendName' => 'endTime', - ], - 'OperationType' => [ - 'title' => '', - 'description' => 'The type of the operation.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'CREATE_CLUSTER', - 'backendName' => 'operationType', - ], - 'OperationState' => [ - 'title' => '', - 'description' => 'The state of the operation. Valid values:'."\n" - ."\n" - .'* IN_PROGRESS'."\n" - .'* COMPLETED'."\n" - .'* HUMAN_PROCESSING'."\n" - .'* FAILED'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'COMPLETED', - 'backendName' => 'operationState', - ], - 'Description' => [ - 'title' => '', - 'description' => 'The description of the operation.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'start', - 'backendName' => 'description', - ], - 'StateChangeReason' => [ - 'title' => '', - 'description' => 'The reason of the operation status change.'."\n", - 'visibility' => 'public', - 'backendName' => 'stateChangeReason', - '$ref' => '#/components/schemas/OperationStateChangeReason', - ], + 'Description' => ['title' => '', 'description' => 'The description of the operation.', 'type' => 'string', 'example' => 'start', 'visibility' => 'Public', 'backendName' => 'description'], + 'EndTime' => ['title' => '', 'description' => 'The time when the operation ended. This value is a UNIX timestamp, measured in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1628589439114', 'visibility' => 'Public', 'backendName' => 'endTime'], + 'ClusterId' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'example' => 'c-b933c5aac8fe****', 'visibility' => 'Public', 'backendName' => 'clusterId'], + 'OperationId' => ['title' => '', 'description' => 'The operation ID.', 'type' => 'string', 'example' => 'op-13c37a77c505****', 'visibility' => 'Public', 'backendName' => 'operationId'], + 'CreateTime' => ['title' => '', 'description' => 'The time when the operation was created. This value is a UNIX timestamp, measured in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1628589439114', 'visibility' => 'Public', 'backendName' => 'createTime'], + 'StartTime' => ['title' => '', 'description' => 'The time when the operation started. This value is a UNIX timestamp, measured in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1628589439114', 'visibility' => 'Public', 'backendName' => 'startTime'], + 'OperationType' => ['title' => '', 'description' => 'The operation type.', 'type' => 'string', 'example' => 'CREATE_CLUSTER', 'visibility' => 'Public', 'backendName' => 'operationType'], + 'OperationState' => ['title' => '', 'description' => 'The operation state. Valid values:'."\n" + ."\n" + .'- `IN_PROGRESS`: The operation is in progress.'."\n" + ."\n" + .'- `COMPLETED`: The operation completed.'."\n" + ."\n" + .'- `HUMAN_PROCESSING`: The operation requires manual intervention.'."\n" + ."\n" + .'- `FAILED`: The operation failed.', 'type' => 'string', 'example' => 'COMPLETED', 'visibility' => 'Public', 'backendName' => 'operationState'], + 'StateChangeReason' => ['title' => '', 'description' => 'The reason for the state change.', '$ref' => '#/components/schemas/OperationStateChangeReason', 'example' => '', 'visibility' => 'Public', 'backendName' => 'stateChangeReason'], ], 'description' => '', + 'title' => '', + 'example' => '', + 'visibility' => 'Public', ], - 'OperationStateChangeReason' => [ - 'visibility' => 'public', + 'OperationData' => [ + 'title' => '', + 'description' => 'Contains the cluster operation data.', 'type' => 'object', 'properties' => [ - 'Code' => [ + 'actualDeliveredAmounts' => ['title' => '', 'description' => 'The number of units actually delivered.', 'type' => 'integer', 'example' => '', 'format' => 'int32'], + 'toBeDeliveredAmounts' => ['title' => '', 'description' => 'The number of units requested.', 'type' => 'integer', 'example' => '', 'format' => 'int32'], + 'failedRefundInstanceIds' => [ + 'type' => 'array', + 'items' => ['description' => 'The ID of an instance.', 'type' => 'string', 'title' => '', 'example' => ''], + 'description' => 'The IDs of instances that could not be refunded.', 'title' => '', - 'description' => 'The operation status code. Valid values:'."\n" - ."\n" - .'* UserRequest: A user request is initiated.'."\n" - .'* OutOfStock: The ECS instances of the requested type are out of stock.'."\n" - .'* NotAuthorized: The required permission is not granted.'."\n" - .'* QuotaExceeded: The quota is exceeded.'."\n" - .'* OperationDenied: The operation is denied.'."\n" - .'* AccountException: The account is abnormal.'."\n" - .'* NodeFailure: The ECS instance is abnormal.'."\n" - .'* BootstrapFailure: The bootstrap action fails.'."\n" - .'* ValidationFail: The business logic verification fails.'."\n" - .'* ServiceFailure: Other services on which the current service depends fail.'."\n" - .'* InternalError: An internal error occurs.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'OutOfStock', - 'backendName' => 'code', - ], - 'Message' => [ - 'title' => '', - 'description' => 'The information about the operation status change.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', - 'backendName' => 'message', + 'example' => '', ], ], - 'description' => '', + 'example' => '', + ], + 'OperationStateChangeReason' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['title' => '', 'description' => 'A human-readable message that provides details about the state change.', 'type' => 'string', 'example' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', 'visibility' => 'Public', 'backendName' => 'message'], + 'Code' => ['title' => '', 'description' => 'The operation status code. Valid values:'."\n" + ."\n" + .'- `UserRequest`: The operation was initiated by a user.'."\n" + ."\n" + .'- `OutOfStock`: The requested ECS instance type is out of stock.'."\n" + ."\n" + .'- `NotAuthorized`: You are not authorized to perform the operation.'."\n" + ."\n" + .'- `QuotaExceeded`: A resource quota was exceeded.'."\n" + ."\n" + .'- `OperationDenied`: The operation was denied.'."\n" + ."\n" + .'- `AccountException`: An account exception occurred.'."\n" + ."\n" + .'- `NodeFailure`: An ECS node failed.'."\n" + ."\n" + .'- `BootstrapFailure`: A bootstrap action failed.'."\n" + ."\n" + .'- `ValidationFail`: The business logic validation failed.'."\n" + ."\n" + .'- `ServiceFailure`: A dependent service failed.'."\n" + ."\n" + .'- `InternalError`: An internal error occurred.', 'type' => 'string', 'example' => 'OutOfStock', 'visibility' => 'Public', 'backendName' => 'code'], + ], + 'description' => 'The reason for the change in the operation state.', + 'title' => '', + 'example' => '', + 'visibility' => 'Public', ], 'PrivatePoolOptions' => [ 'title' => '', 'description' => 'The information about the private pool.'."\n", - 'visibility' => 'Public', 'type' => 'object', 'properties' => [ + 'MatchCriteria' => ['title' => '', 'description' => 'The type of private pool that you want to use to start ECS instances. A private pool is generated when an elasticity assurance or a capacity reservation takes effect. You can select a private pool for starting ECS instances. Valid values: Open, Target, and None. If you set the parameter to Open, the system selects an open private pool to start instances. If no matching open private pools exist, the resources in the public pool are used. In this case, you do not need to specify the ID of the private pool. If you set the parameter to Target, the resources in the specified private pool are used to start ECS instances. If the specified private pool does not exist, ECS instances cannot be started. You must specify the ID of the private pool when you set the parameter to Target. If you set the parameter to None, the resources in private pools are not used to start instances. Default value: None.'."\n", 'type' => 'string', 'example' => 'Open', 'visibility' => 'Public', 'backendName' => 'matchCriteria'], 'PrivatePoolIds' => [ 'title' => '', 'description' => 'The IDs of the private pools.'."\n", - 'visibility' => 'Public', 'type' => 'array', - 'items' => [ - 'description' => 'The ID of private pool. The ID of a private pool is the same as the ID of the elasticity assurance or capacity reservation that is associated with the private pool.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'crp-xxxx', - 'extendType' => 'true', - ], + 'items' => ['description' => 'The ID of private pool. The ID of a private pool is the same as the ID of the elasticity assurance or capacity reservation that is associated with the private pool.'."\n", 'type' => 'string', 'example' => 'crp-xxxx', 'visibility' => 'Public', 'extendType' => 'true', 'title' => ''], 'example' => 'eap-bp67acfmxazb4****', + 'visibility' => 'Public', 'backendName' => 'privatePoolIds', ], - 'MatchCriteria' => [ - 'title' => '', - 'description' => 'The type of private pool that you want to use to start ECS instances. A private pool is generated when an elasticity assurance or a capacity reservation takes effect. You can select a private pool for starting ECS instances. Valid values: Open, Target, and None. If you set the parameter to Open, the system selects an open private pool to start instances. If no matching open private pools exist, the resources in the public pool are used. In this case, you do not need to specify the ID of the private pool. If you set the parameter to Target, the resources in the specified private pool are used to start ECS instances. If the specified private pool does not exist, ECS instances cannot be started. You must specify the ID of the private pool when you set the parameter to Target. If you set the parameter to None, the resources in private pools are not used to start instances. Default value: None.'."\n", - 'visibility' => 'Public', - 'type' => 'string', - 'example' => 'Open', - 'backendName' => 'matchCriteria', + ], + 'visibility' => 'Public', + 'example' => '', + ], + 'Promotion' => [ + 'type' => 'object', + 'properties' => [ + 'PromotionName' => ['title' => '优惠券名称。', 'description' => '优惠券名称。', 'type' => 'string', 'example' => '5元优惠券'], + 'PromotionDesc' => ['title' => '优惠券描述。', 'description' => '优惠券描述。', 'type' => 'string', 'example' => '5元优惠券(有效期至23年8月11日)'], + 'PromotionOptionNo' => ['title' => '优惠券号。', 'description' => '优惠券号。', 'type' => 'string', 'required' => true, 'example' => 'ABC123'], + 'ProductCode' => ['title' => '产品码。', 'description' => '产品码。', 'type' => 'string', 'example' => 'ecs'], + 'PromotionOptionCode' => ['title' => '优惠券码。', 'description' => '优惠券码。', 'type' => 'string', 'example' => 'youhui_quan'], + ], + ], + 'RenewInstance' => [ + 'type' => 'object', + 'properties' => [ + 'RenewDurationUnit' => ['title' => '付费时长单位。', 'description' => '付费时长单位。', 'type' => 'string', 'example' => 'Month'], + 'InstanceId' => ['title' => '节点ID。', 'description' => '节点ID。', 'type' => 'string', 'required' => true, 'example' => 'i-bp1cudc25w2bfwl5****'], + 'RenewDuration' => ['title' => '续费时长。', 'description' => '续费时长。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'EmrRenewDuration' => ['title' => 'emr实例续费时长。', 'description' => 'emr实例续费时长。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'EmrRenewDurationUnit' => ['title' => 'emr实例续费时长单位。', 'description' => 'emr实例续费时长单位。', 'type' => 'string', 'example' => 'Month'], + ], + ], + 'ReplacementStrategy' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceCategories' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/InstanceCategory'], ], ], ], + 'ResourceSummary' => [ + 'type' => 'object', + 'properties' => [ + 'VcoreUtilizationRate' => ['$ref' => '#/components/schemas/DoubleMetric'], + 'MemoryUtilizationRate' => ['$ref' => '#/components/schemas/DoubleMetric'], + 'OriginalTotalVcore' => ['$ref' => '#/components/schemas/IntegerMetric'], + 'InefficientTaskRate' => ['$ref' => '#/components/schemas/DoubleMetric'], + ], + ], 'ScalingActivityResult' => [ 'description' => 'The result of the scaling activity.'."\n", - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'title' => '', - 'description' => 'The instance ID.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'i-bp1cudc25w2bfwl5****', - 'backendName' => 'instanceId', - ], + 'InstanceId' => ['title' => '', 'description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'i-bp1cudc25w2bfwl5****', 'visibility' => 'Public', 'backendName' => 'instanceId'], + ], + 'visibility' => 'Public', + 'title' => '', + 'example' => '', + ], + 'ScalingAnalyzeResult' => [ + 'type' => 'object', + 'properties' => [ + 'IdealUsage' => ['title' => '理想资源用量。', 'description' => '理想资源用量。', 'type' => 'number', 'format' => 'float', 'example' => '0.12'], + 'ReleaseCores' => ['title' => '固定资源释放核数(非master)。', 'description' => '固定资源释放核数(非master)core。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ReservedCores' => ['title' => '固定资源保留核数(非master)。', 'description' => '固定资源保留核数(非master)core。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ActualUsage' => ['title' => '实际资源利用率。', 'description' => '实际资源利用率。', 'type' => 'number', 'format' => 'float', 'example' => '0.12'], ], ], 'ScalingConstraints' => [ 'description' => 'The limits on custom auto scaling activities.'."\n", - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'MaxCapacity' => [ - 'title' => '', - 'description' => 'The maximum number of nodes in the node group. Default value: 2000.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2000', - 'backendName' => 'maxCapacity', - ], - 'MinCapacity' => [ - 'title' => '', - 'description' => 'The minimum number of nodes in the node group. Default value: 0'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - 'backendName' => 'minCapacity', - ], + 'MaxCapacity' => ['title' => '', 'description' => 'The maximum number of nodes in the node group. Default value: 2000.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2000', 'visibility' => 'Public', 'backendName' => 'maxCapacity'], + 'MinCapacity' => ['title' => '', 'description' => 'The minimum number of nodes in the node group. Default value: 0'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'visibility' => 'Public', 'backendName' => 'minCapacity'], ], + 'visibility' => 'Public', + 'title' => '', + 'example' => '', ], - 'ScalingRule' => [ - 'description' => 'The configurations of the scaling rule.'."\n", - 'visibility' => 'public', + 'ScalingGroupConfig' => [ 'type' => 'object', 'properties' => [ - 'TriggerType' => [ - 'title' => '', - 'description' => 'The trigger mode of the scaling rule. This parameter is required. Valid values:'."\n" - ."\n" - .'* TIME_TRIGGER: time-based scaling.'."\n" - .'* METRICS_TRIGGER: load-based scaling.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'TIME_TRIGGER', - 'backendName' => 'triggerType', - ], - 'MetricsTrigger' => [ - 'title' => '', - 'description' => 'The description of load-based scaling.'."\n", - 'visibility' => 'public', - 'backendName' => 'metricsTrigger', - '$ref' => '#/components/schemas/MetricsTrigger', + 'DataDiskCount' => ['title' => '数据盘个数。', 'description' => '数据盘个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'SysDiskSize' => ['title' => '系统盘大小,单位GB。', 'description' => '系统盘大小,单位GB。', 'type' => 'integer', 'format' => 'int64', 'example' => '80'], + 'TriggerMode' => ['title' => '伸缩活动触发模式。', 'description' => '伸缩活动触发模式。', 'type' => 'string', 'example' => 'ByLoad'], + 'ScalingMinSize' => ['title' => '伸缩组节点最小个数。', 'description' => '伸缩组节点最小个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'SysDiskCategory' => ['title' => '系统盘类型。', 'description' => '系统盘类型。', 'type' => 'string', 'example' => 'cloud_essd'], + 'InstanceTypeList' => [ + 'title' => '抢占实例列表。', + 'description' => '抢占实例列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SpotPriceLimit' => ['title' => '抢占价格上限,可空。', 'description' => '抢占价格上限,可空。', 'type' => 'number', 'format' => 'float', 'example' => '0.79'], + 'InstanceType' => ['title' => 'Ecs类型。', 'description' => 'Ecs类型。', 'type' => 'string', 'example' => 'ecs.c5.xlarge'], + ], + ], ], - 'AdjustmentValue' => [ - 'title' => '', - 'description' => 'The adjustment value of the scaling rule. This parameter is required. The parameter value must be a positive integer, which indicates the number of instances that you want to add or remove.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '200', - 'backendName' => 'adjustmentValue', + 'NodeOfflinePolicy' => [ + 'title' => '节点下线策略。', + 'description' => '节点下线策略。', + 'type' => 'object', + 'properties' => [ + 'TimeoutMs' => ['title' => '下线超时时间,单位毫秒。', 'description' => '下线超时时间,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Mode' => ['title' => '下线模式,是否为优雅下线。', 'description' => '下线模式,是否为优雅下线。', 'type' => 'string', 'example' => 'DEFAULT'], + ], ], - 'TimeTrigger' => [ - 'title' => '', - 'description' => 'The description of time-based scaling.'."\n", - 'visibility' => 'public', - 'backendName' => 'timeTrigger', - '$ref' => '#/components/schemas/TimeTrigger', + 'PrivatePoolOptions' => [ + 'title' => '私有池选项 。', + 'description' => '私有池选项 。', + 'type' => 'object', + 'properties' => [ + 'MatchCriteria' => ['title' => '实例启动的私有池容量选项。。', 'description' => '实例启动的私有池容量选项。。', 'type' => 'string', 'example' => 'Open'], + 'Id' => ['title' => '私有池id。', 'description' => '私有池id。', 'type' => 'string', 'example' => 'eap-bp67acfmxazb4****'], + ], ], - 'ActivityType' => [ - 'title' => '', - 'description' => 'The scaling type. This parameter is required. Valid values:'."\n" - ."\n" - .'* SCALE_OUT'."\n" - .'* SCALE_IN'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'SCALE_IN', - 'backendName' => 'activityType', + 'ScalingMaxSize' => ['title' => '伸缩组节点最大个数。', 'description' => '伸缩组节点最大个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'DataDiskSize' => ['title' => '数据盘大小,单位GB。', 'description' => '数据盘大小,单位GB。', 'type' => 'integer', 'format' => 'int64', 'example' => '40'], + 'DataDiskCategory' => ['title' => '数据盘类型。', 'description' => '数据盘类型。', 'type' => 'string', 'example' => 'cloud_essd'], + 'DefaultCoolDownTime' => ['title' => '默认冷却时间。', 'description' => '默认冷却时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'MultiAvailablePolicy' => [ + 'title' => '资源可用性策略(成本优化参数)。', + 'description' => '资源可用性策略(成本优化参数)。', + 'type' => 'object', + 'properties' => [ + 'PolicyType' => ['title' => '策略类型。', 'description' => '策略类型。', 'type' => 'string', 'example' => 'PRIORITY'], + 'PolicyParam' => [ + 'title' => '资源可用性策略(成本优化参数)。', + 'description' => '资源可用性策略(成本优化参数)。', + 'type' => 'object', + 'properties' => [ + 'SpotInstanceRemedy' => ['title' => '是否使用按量补偿。', 'description' => '是否使用按量补偿。', 'type' => 'boolean', 'example' => 'false'], + 'OnDemandBaseCapacity' => ['title' => '按需实例最小个数。', 'description' => '按需实例最小个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'OnDemandPercentageAboveBaseCapacity' => ['title' => '按需实例百分比。', 'description' => '按需实例百分比。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'SpotInstancePools' => ['title' => '抢占实例类型池规模。', 'description' => '抢占实例类型池规模。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + ], + ], + ], ], - 'MinAdjustmentValue' => [ - 'title' => '', - 'description' => 'The minimum number of instances that must be added in a scale-out activity.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'backendName' => 'minAdjustmentValue', - ], - 'RuleName' => [ - 'title' => '', - 'description' => 'The name of the scaling rule. This parameter is required and cannot be an empty string.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'scalingByYarnMemory', - 'backendName' => 'ruleName', + 'SpotStrategy' => ['title' => '抢占式Spot实例策略。', 'description' => '抢占式Spot实例策略。', 'type' => 'string', 'example' => 'NoSpot'], + ], + ], + 'ScalingPolicy' => [ + 'title' => 'A short description of struct', + 'type' => 'object', + 'properties' => [ + 'ScalingRules' => [ + 'title' => '弹性伸缩规则', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/ScalingRule'], ], - 'AdjustmentType' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'string', - 'example' => 'CHANGE_IN_CAPACITY', - 'backendName' => 'adjustmentType', + 'ScalingPolicyId' => ['title' => '弹性伸缩id', 'type' => 'string'], + 'Constraints' => ['$ref' => '#/components/schemas/ManagedScalingConstraints'], + 'NodeGroupName' => ['title' => '节点组名称', 'type' => 'string'], + 'ClusterId' => ['title' => '集群id', 'type' => 'string'], + 'NodeGroupId' => ['title' => '节点组id', 'type' => 'string'], + 'ScalingPolicyType' => ['title' => '弹性伸缩类型', 'type' => 'string', 'example' => 'AUTO / MANAGED'], + 'Disabled' => ['title' => '是否开启', 'type' => 'boolean'], + ], + ], + 'ScalingRule' => [ + 'description' => 'The configurations of the scaling rule.', + 'type' => 'object', + 'properties' => [ + 'RuleName' => ['title' => '', 'description' => 'The name of the rule. This parameter is required and cannot be an empty string.', 'type' => 'string', 'required' => true, 'example' => 'scalingByYarnMemory', 'visibility' => 'Public', 'backendName' => 'ruleName'], + 'TriggerType' => ['title' => '', 'description' => 'The type of the scaling rule. This parameter is required. Valid values:'."\n" + ."\n" + .'- TIME\\_TRIGGER: time-based scaling.'."\n" + ."\n" + .'- METRICS\\_TRIGGER: load-based scaling.', 'type' => 'string', 'required' => true, 'example' => 'TIME_TRIGGER', 'visibility' => 'Public', 'backendName' => 'triggerType'], + 'ActivityType' => ['title' => '', 'description' => 'The type of the scaling activity. This parameter is required. Valid values:'."\n" + ."\n" + .'- SCALE\\_OUT: scale-out.'."\n" + ."\n" + .'- SCALE\\_IN: scale-in.', 'type' => 'string', 'required' => true, 'example' => 'SCALE_IN', 'visibility' => 'Public', 'backendName' => 'activityType'], + 'AdjustmentValue' => ['title' => '', 'description' => 'The adjustment value. This parameter is required and must be a positive integer. It specifies the number of instances to add for a scale-out activity or remove for a scale-in activity.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '100', 'visibility' => 'Public', 'backendName' => 'adjustmentValue'], + 'TimeTrigger' => ['title' => '', 'description' => 'The configurations for time-based scaling.', '$ref' => '#/components/schemas/TimeTrigger', 'example' => '', 'visibility' => 'Public', 'backendName' => 'timeTrigger'], + 'MetricsTrigger' => ['title' => '', 'description' => 'The configurations for load-based scaling.', '$ref' => '#/components/schemas/MetricsTrigger', 'example' => '', 'visibility' => 'Public', 'backendName' => 'metricsTrigger'], + 'MinAdjustmentValue' => ['title' => '', 'description' => 'The minimum number of instances to add during a scale-out activity.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'visibility' => 'Public', 'backendName' => 'minAdjustmentValue'], + ], + 'title' => '', + 'example' => '', + 'visibility' => 'Public', + ], + 'ScalingRuleV1' => [ + 'type' => 'object', + 'properties' => [ + 'CoolDownTime' => ['title' => '冷却时间,单位秒。', 'description' => '冷却时间,单位秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'AdjustmentValue' => ['title' => '调整值,正数为扩容,负数为缩容。', 'description' => '调整值,正数为扩容,负数为缩容。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RuleParam' => [ + 'title' => '规则参数。', + 'description' => '规则参数。', + 'type' => 'object', + 'properties' => [ + 'MetricName' => ['title' => '[负载触发参数] 度量名称。', 'description' => '[负载触发参数] 度量名称。', 'type' => 'string', 'example' => 'YarnRootAvailableVCores'], + 'ComparisonOperator' => ['title' => '[负载触发参数] 比较符。', 'description' => '[负载触发参数] 比较符。', 'type' => 'string', 'example' => '>'], + 'LaunchTime' => ['title' => '[时间调度参数] 周期类型周期开始时间。', 'description' => '[时间调度参数] 周期类型周期开始时间。', 'type' => 'string', 'example' => '2021-09-15T04:02Z'], + 'RecurrenceType' => ['title' => '[时间调度参数] 周期类型。', 'description' => '[时间调度参数] 周期类型。', 'type' => 'string', 'example' => 'Daily'], + 'Period' => ['title' => '[负载触发参数] 统计时长,单位分钟。', 'description' => '[负载触发参数] 统计时长,单位分钟。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'EvaluationCount' => ['title' => '[负载触发参数] 统计次数。', 'description' => '[负载触发参数] 统计次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RecurrenceValue' => ['title' => '[时间调度参数] 周期类型周期值。', 'description' => '[时间调度参数] 周期类型周期值。', 'type' => 'string', 'example' => '1'], + 'RecurrenceEndTime' => ['title' => '[时间调度参数] 周期类型周期结束时间。', 'description' => '[时间调度参数] 周期类型周期结束时间。', 'type' => 'string', 'example' => '2021-09-16T05:02Z'], + 'Statistics' => ['title' => '[负载触发参数] 统计方式。', 'description' => '[负载触发参数] 统计方式。', 'type' => 'string', 'example' => 'Average'], + 'LaunchExpirationTime' => ['title' => '[时间调度参数] 周期类型周期过期时间。', 'description' => '[时间调度参数] 周期类型周期过期时间。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Threshold' => ['title' => '[负载触发参数] 阈值。', 'description' => '[负载触发参数] 阈值。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], ], + 'RuleType' => ['title' => '规则类型。', 'description' => '规则类型。', 'type' => 'string', 'example' => 'BY_LOAD'], + 'ScalingConfigBizId' => ['title' => '弹性规则配置ID。', 'description' => '弹性规则配置ID。', 'type' => 'string', 'example' => 'SCB-DCD96BCCFED1****'], + 'RuleName' => ['title' => '规则名称。', 'description' => '规则名称。', 'type' => 'string', 'example' => 'tule1'], + 'AdjustmentType' => ['title' => '调整类型。', 'description' => '调整类型。', 'type' => 'string', 'example' => 'QUANTITY_CHANGE_IN_CAPACITY'], ], ], 'Script' => [ - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'ScriptName' => [ - 'title' => '', - 'description' => 'The name of the script. This parameter is required. The name must be 1 to 64 characters in length and must start with a letter. The name cannot start with http:// or https://. The name can contain letters, digits, underscores (\\_), and hyphens (-).'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'Script name -1'."\n", - 'backendName' => 'scriptName', - ], - 'ScriptPath' => [ - 'title' => '', - 'description' => 'The Object Storage Service (OSS) path in which the script is stored. This parameter is required. The path must start with oss://.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'oss://bucket1/update_hosts.sh', - 'backendName' => 'scriptPath', - ], - 'ScriptArgs' => [ - 'title' => '', - 'description' => 'The runtime parameters of the script. This parameter is optional.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => '-host 10.0.10.5 -m 30', - 'backendName' => 'scriptArgs', - ], - 'Priority' => [ - 'title' => '', - 'description' => '> This parameter is deprecated. The sequence in which scripts are executed is the same as the sequence in which scripts are defined.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'deprecated' => true, - 'example' => '1', - 'backendName' => 'priority', - ], - 'NodeSelector' => [ - 'title' => '', - 'description' => 'The node selector.'."\n", - 'visibility' => 'public', - 'required' => true, - 'backendName' => 'nodeSelector', - '$ref' => '#/components/schemas/NodeSelector', - ], - 'ExecutionMoment' => [ - 'title' => '', - 'description' => 'The time based on which the system executes the script. Valid values:'."\n" - ."\n" - .'* BEFORE_INSTALL: The system executes the script before the application is installed.'."\n" - .'* AFTER_STARTED: The system executes the script after the application is started.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'BEFORE_INSTALL', - 'backendName' => 'executionMoment', - ], - 'ExecutionFailStrategy' => [ - 'title' => '', - 'description' => 'The policy that is used to handle an execution failure of the script. Valid values:'."\n" - ."\n" - .'* FAILED_CONTINUE: After the script fails to be executed, the system continues to perform the creation or scale-out operation on the cluster.'."\n" - .'* FAILED_BLOCK: After the script fails to be executed, the system stops performing the creation or scale-out operation on the cluster.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'FAILED_CONTINUE', - 'backendName' => 'executionFailStrategy', - ], + 'ScriptPath' => ['title' => '', 'description' => 'The required path to the script in Object Storage Service (OSS). The path must start with `oss://`.', 'type' => 'string', 'required' => true, 'example' => 'oss://bucket1/update_hosts.sh', 'visibility' => 'Public', 'backendName' => 'scriptPath'], + 'ScriptArgs' => ['title' => '', 'description' => 'The optional script execution arguments.', 'type' => 'string', 'example' => '-host 10.0.10.5 -m 30', 'visibility' => 'Public', 'backendName' => 'scriptArgs'], + 'ExecutionFailStrategy' => ['title' => '', 'description' => 'The execution failure strategy. Valid values:'."\n" + ."\n" + .'- `FAILED_CONTINUE`: If the script fails, cluster creation or scaling continues.'."\n" + ."\n" + .'- `FAILED_BLOCK`: If the script fails, cluster creation or scaling is blocked.', 'type' => 'string', 'example' => 'FAILED_CONTINUE', 'visibility' => 'Public', 'backendName' => 'executionFailStrategy'], + 'Priority' => ['title' => '', 'description' => '> This parameter is deprecated. Scripts run in the order they are defined.', 'type' => 'integer', 'format' => 'int32', 'deprecated' => true, 'example' => '1', 'visibility' => 'Public', 'backendName' => 'priority'], + 'ScriptName' => ['title' => '', 'description' => 'The required script name. The name must be 1 to 64 characters long and start with a letter or a Chinese character. It cannot start with `http://` or `https://`. It can contain Chinese characters, letters, numbers, underscores (`_`), or hyphens (`-`).', 'type' => 'string', 'required' => true, 'example' => '脚本名-1', 'visibility' => 'Public', 'backendName' => 'scriptName'], + 'ExecutionMoment' => ['title' => '', 'description' => 'The execution timing for the script. Valid values:'."\n" + ."\n" + .'- `BEFORE_INSTALL`: The script runs before applications are installed.'."\n" + ."\n" + .'- `AFTER_STARTED`: The script runs after applications start.', 'type' => 'string', 'example' => 'BEFORE_INSTALL', 'visibility' => 'Public', 'backendName' => 'executionMoment'], + 'NodeSelector' => ['title' => '', 'description' => 'Specifies the nodes on which the script runs.', 'required' => true, '$ref' => '#/components/schemas/NodeSelector', 'example' => '', 'visibility' => 'Public', 'backendName' => 'nodeSelector'], ], 'description' => '', + 'title' => '', + 'example' => '', + 'visibility' => 'Public', ], 'SpotBidPrice' => [ - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'InstanceType' => [ - 'title' => '', - 'description' => 'The type of the ECS instance.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'ecs.g7.2xlarge', - 'backendName' => 'instanceType', - ], - 'BidPrice' => [ - 'title' => '', - 'description' => 'The maximum hourly bid price of the instance. It can be accurate to three decimal places. This parameter is valid only when the SpotStrategy parameter is set to SpotWithPriceLimit.'."\n", - 'visibility' => 'public', - 'type' => 'number', - 'format' => 'double', - 'example' => '1000.0', - 'backendName' => 'bidPrice', - ], + 'BidPrice' => ['title' => '', 'description' => 'The maximum hourly bid price for the instance, with up to three decimal places. This parameter applies only when `SpotStrategy` is set to `SpotWithPriceLimit`.', 'type' => 'number', 'format' => 'double', 'example' => '1000.0', 'visibility' => 'Public', 'backendName' => 'bidPrice'], + 'InstanceType' => ['title' => '', 'description' => 'The ECS instance type.', 'type' => 'string', 'example' => 'ecs.g7.2xlarge', 'visibility' => 'Public', 'backendName' => 'instanceType'], ], 'description' => '', + 'title' => '', + 'example' => '', + 'visibility' => 'Public', ], 'StateChangeReason' => [ - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'Code' => [ - 'title' => '', - 'description' => 'The status code. Valid values:'."\n" - ."\n" - .'* UserRequest: A user request is initiated.'."\n" - .'* QuotaExceeded: The quota is exceeded.'."\n" - .'* InternalError: An internal error occurs.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'MissingParameter', - 'backendName' => 'code', - ], - 'Message' => [ - 'title' => '', - 'description' => 'The description.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'The instance type is required.', - 'backendName' => 'message', - ], + 'Code' => ['title' => '', 'description' => 'The status code. Possible values:'."\n" + ."\n" + .'- UserRequest: The state change was initiated by the user.'."\n" + ."\n" + .'- QuotaExceeded: A service or resource quota was exceeded.'."\n" + ."\n" + .'- InternalError: An internal error occurred.', 'type' => 'string', 'example' => 'MissingParameter', 'visibility' => 'Public', 'backendName' => 'code'], + 'Message' => ['title' => '', 'description' => 'A message providing additional details about the status code.', 'type' => 'string', 'example' => 'The instance type is required.', 'visibility' => 'Public', 'backendName' => 'message'], ], 'description' => '', + 'title' => '', + 'example' => '', + 'visibility' => 'Public', ], 'SubscriptionConfig' => [ - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'PaymentDurationUnit' => [ - 'title' => '', - 'description' => 'The unit of the subscription duration. Valid values:'."\n" - ."\n" - .'* Month'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'Month', - 'backendName' => 'paymentDurationUnit', - ], - 'PaymentDuration' => [ - 'title' => '', - 'description' => 'The subscription duration. Valid values when PaymentDurationUnit is set to Month: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '12', - 'backendName' => 'paymentDuration', - ], - 'AutoPayOrder' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'boolean', - 'example' => 'false', - 'backendName' => 'autoPayOrder', - ], - 'AutoRenew' => [ - 'title' => '', - 'description' => 'Indicates whether auto-renewal is enabled. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false Default value: false.'."\n", - 'visibility' => 'public', - 'type' => 'boolean', - 'example' => 'true', - 'backendName' => 'autoRenew', - ], - 'AutoRenewDurationUnit' => [ - 'title' => '', - 'description' => 'The unit of the auto-renewal duration. Valid values:'."\n" - ."\n" - .'* Month'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'Month', - 'backendName' => 'autoRenewDurationUnit', - ], - 'AutoRenewDuration' => [ - 'title' => '', - 'description' => 'The auto-renewal duration. This parameter takes effect only when the AutoRenew parameter is set to true. Valid values when AutoRenewDurationUnit is set to Month: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - 'backendName' => 'autoRenewDuration', - ], + 'AutoRenewDurationUnit' => ['title' => '', 'description' => 'The auto-renewal duration unit. Valid value:'."\n" + ."\n" + .'- Month', 'type' => 'string', 'example' => 'Month', 'visibility' => 'Public', 'backendName' => 'autoRenewDurationUnit'], + 'AutoRenew' => ['title' => '', 'description' => 'Specifies whether auto-renewal is enabled. Valid values:'."\n" + ."\n" + .'- true: Auto-renewal is enabled.'."\n" + ."\n" + .'- false: Auto-renewal is disabled (default).', 'type' => 'boolean', 'example' => 'true', 'visibility' => 'Public', 'backendName' => 'autoRenew'], + 'PaymentDurationUnit' => ['title' => '', 'description' => 'The payment duration unit. Valid value:'."\n" + ."\n" + .'- Month', 'type' => 'string', 'required' => true, 'example' => 'Month', 'visibility' => 'Public', 'backendName' => 'paymentDurationUnit'], + 'PaymentDuration' => ['title' => '', 'description' => 'The payment duration. When PaymentDurationUnit is Month, valid values are: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '12', 'visibility' => 'Public', 'backendName' => 'paymentDuration'], + 'AutoRenewDuration' => ['title' => '', 'description' => 'The auto-renewal duration. This parameter takes effect only when AutoRenew is set to true. When AutoRenewDurationUnit is Month, valid values are: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'visibility' => 'Public', 'backendName' => 'autoRenewDuration'], ], 'description' => '', + 'title' => '', + 'example' => '', + 'visibility' => 'Public', ], 'SystemDisk' => [ - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'Category' => [ - 'title' => '', - 'description' => 'The disk type. Valid values:'."\n" - ."\n" - .'* cloud_efficiency: ultra disk'."\n" - .'* cloud_ssd: standard SSD'."\n" - .'* cloud_essd: enhanced SSD'."\n" - .'* cloud: basic disk'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'cloud_essd', - 'backendName' => 'category', - ], - 'Size' => [ - 'title' => '', - 'description' => 'The size. Unit: GB.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '60', - 'backendName' => 'size', - ], - 'PerformanceLevel' => [ - 'title' => '', - 'description' => 'The performance level of the ESSD that is used as the system disk. Valid values:'."\n" - ."\n" - .'* PL0: A single ESSD can provide up to 10,000 random read/write IOPS.'."\n" - .'* PL1: A single ESSD can provide up to 50,000 random read/write IOPS.'."\n" - .'* PL2: A single ESSD can provide up to 100,000 random read/write IOPS.'."\n" - .'* PL3: A single ESSD can provide up to 1,000,000 random read/write IOPS.'."\n" - ."\n" - .'Default value: PL1.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'PL1', - 'backendName' => 'performanceLevel', - ], - 'Count' => [ - 'title' => '', - 'description' => 'The number of system disks on each node. Default value: 1.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'backendName' => 'count', - ], + 'Category' => ['title' => '', 'description' => 'The type of the system disk. Valid values:'."\n" + ."\n" + .'- `cloud_efficiency`: Ultra Disk.'."\n" + ."\n" + .'- `cloud_ssd`: SSD Cloud Disk.'."\n" + ."\n" + .'- `cloud_essd`: ESSD.'."\n" + ."\n" + .'- `cloud`: Basic Disk.', 'type' => 'string', 'required' => true, 'example' => 'cloud_essd', 'visibility' => 'Public', 'backendName' => 'category'], + 'Size' => ['title' => '', 'description' => 'The size of the system disk, in GB.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60', 'visibility' => 'Public', 'backendName' => 'size'], + 'PerformanceLevel' => ['title' => '', 'description' => 'The performance level of the ESSD. This parameter is valid only when `Category` is set to `cloud_essd`. Valid values:'."\n" + ."\n" + .'- `PL0`: Up to 10,000 random read/write IOPS per disk.'."\n" + ."\n" + .'- `PL1` (default): Up to 50,000 random read/write IOPS per disk.'."\n" + ."\n" + .'- `PL2`: Up to 100,000 random read/write IOPS per disk.'."\n" + ."\n" + .'- `PL3`: Up to 1,000,000 random read/write IOPS per disk.', 'type' => 'string', 'example' => 'PL1', 'visibility' => 'Public', 'backendName' => 'performanceLevel'], + 'Count' => ['title' => '', 'description' => 'Specifies the number of system disks on each node. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'visibility' => 'Public', 'backendName' => 'count'], ], 'description' => '', + 'title' => '', + 'example' => '', + 'visibility' => 'Public', ], 'Tag' => [ 'description' => 'The tag.'."\n", - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'title' => '', - 'description' => 'The key of the tag. This parameter is required and cannot be an empty string. The key can be up to 128 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'department', - 'backendName' => 'key', - ], - 'Value' => [ - 'title' => '', - 'description' => 'The value of the tag This parameter is optional and can be an empty string. The value can be up to 128 characters in length. It cannot start with `acs:` and cannot contain `http://` or `https://`.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'IT', - 'backendName' => 'value', - ], + 'Value' => ['title' => '', 'description' => 'The value of the tag This parameter is optional and can be an empty string. The value can be up to 128 characters in length. It cannot start with `acs:` and cannot contain `http://` or `https://`.'."\n", 'type' => 'string', 'example' => 'IT', 'visibility' => 'Public', 'backendName' => 'value'], + 'Key' => ['title' => '', 'description' => 'The key of the tag. This parameter is required and cannot be an empty string. The key can be up to 128 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.'."\n", 'type' => 'string', 'required' => true, 'example' => 'department', 'visibility' => 'Public', 'backendName' => 'key'], ], + 'visibility' => 'Public', + 'title' => '', + 'example' => '', ], 'TimeConstraint' => [ 'description' => 'The time limit.'."\n", - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'StartTime' => [ - 'title' => '', - 'description' => 'The start time. Valid values: 00:00 to 23:59.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => '06:00', - 'backendName' => 'startTime', - ], - 'EndTime' => [ - 'title' => '', - 'description' => 'The end time. Valid values: 00:00 to 23:59.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => '23:59', - 'backendName' => 'endTime', - ], + 'EndTime' => ['title' => '', 'description' => 'The end time. Valid values: 00:00 to 23:59.'."\n", 'type' => 'string', 'example' => '23:59', 'visibility' => 'Public', 'backendName' => 'endTime'], + 'StartTime' => ['title' => '', 'description' => 'The start time. Valid values: 00:00 to 23:59.'."\n", 'type' => 'string', 'example' => '06:00', 'visibility' => 'Public', 'backendName' => 'startTime'], + ], + 'visibility' => 'Public', + 'title' => '', + 'example' => '', + ], + 'TimeRange' => [ + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['title' => '结束时间。', 'description' => '结束时间。', 'type' => 'string', 'example' => '1676441972000'], + 'StartTime' => ['title' => '起始时间。', 'description' => '起始时间。', 'type' => 'string', 'example' => '1676441971000'], ], ], 'TimeTrigger' => [ - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'LaunchTime' => [ - 'title' => '', - 'description' => 'The execution time of the scaling rule. This parameter is required. The value is a string in the HH:MM format.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => '17:30', - 'backendName' => 'launchTime', - ], - 'StartTime' => [ - 'title' => '', - 'description' => 'The timestamp that specifies the start time. This parameter is required. Unit: milliseconds.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639714800000', - 'backendName' => 'startTime', - ], - 'EndTime' => [ - 'title' => '', - 'description' => 'The timestamp that specifies the end time. Unit: milliseconds.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639714800000', - 'backendName' => 'endTime', - ], - 'LaunchExpirationTime' => [ - 'title' => '', - 'description' => 'The time period during which a scheduled task can be retried after it fails. Unit: seconds. Valid values: 0 to 3600.'."\n", - 'visibility' => 'public', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '600', - 'backendName' => 'launchExpirationTime', - ], - 'RecurrenceType' => [ - 'title' => '', - 'description' => 'The frequency of executing the specified rule whose trigger mode is scaling by time. Valid values:'."\n" - ."\n" - .'* DAILY'."\n" - .'* WEEKLY'."\n" - .'* MONTHLY'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'WEEKLY', - 'backendName' => 'recurrenceType', - ], - 'RecurrenceValue' => [ - 'title' => '', - 'description' => 'The number of recurrences of the scheduled task. The value of this parameter depends on the value of RecurrenceType.'."\n" - ."\n" - .'* If the RecurrenceType parameter is set to DAILY, you can specify only one value for this parameter. Valid values: 1 to 31.'."\n" - .'* If the RecurrenceType parameter is set to WEEKLY, you can specify multiple values for this parameter and separate them with commas (,). The values MON, TUE, WED, THU, FRI, SAT, and SUN indicate the days from Monday to Sunday. For example, the value MON,FRI,SUN stands for Monday, Friday, and Sunday.'."\n" - .'* If the RecurrenceType parameter is set to MONTHLY, the value of this parameter is in the A-B or A,B format. The values of A and B are both in the range of 1 to 31. If you use the A-B format, the value of B must be greater than the value of A.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'MON,FRI,SUN', - 'backendName' => 'recurrenceValue', - ], + 'LaunchTime' => ['title' => '', 'description' => 'The execution time of the scaling rule. This parameter is required. The value is a string in the HH:MM format.'."\n", 'type' => 'string', 'required' => true, 'example' => '17:30', 'visibility' => 'Public', 'backendName' => 'launchTime'], + 'EndTime' => ['title' => '', 'description' => 'The timestamp that specifies the end time. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1639714800000', 'visibility' => 'Public', 'backendName' => 'endTime'], + 'RecurrenceType' => ['title' => '', 'description' => 'The frequency of executing the specified rule whose trigger mode is scaling by time. Valid values:'."\n" + ."\n" + .'* DAILY'."\n" + .'* WEEKLY'."\n" + .'* MONTHLY'."\n", 'type' => 'string', 'example' => 'WEEKLY', 'visibility' => 'Public', 'backendName' => 'recurrenceType'], + 'StartTime' => ['title' => '', 'description' => 'The timestamp that specifies the start time. This parameter is required. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1639714800000', 'visibility' => 'Public', 'backendName' => 'startTime'], + 'RecurrenceValue' => ['title' => '', 'description' => 'The number of recurrences of the scheduled task. The value of this parameter depends on the value of RecurrenceType.'."\n" + ."\n" + .'* If the RecurrenceType parameter is set to DAILY, you can specify only one value for this parameter. Valid values: 1 to 31.'."\n" + .'* If the RecurrenceType parameter is set to WEEKLY, you can specify multiple values for this parameter and separate them with commas (,). The values MON, TUE, WED, THU, FRI, SAT, and SUN indicate the days from Monday to Sunday. For example, the value MON,FRI,SUN stands for Monday, Friday, and Sunday.'."\n" + .'* If the RecurrenceType parameter is set to MONTHLY, the value of this parameter is in the A-B or A,B format. The values of A and B are both in the range of 1 to 31. If you use the A-B format, the value of B must be greater than the value of A.'."\n", 'type' => 'string', 'example' => 'MON,FRI,SUN', 'visibility' => 'Public', 'backendName' => 'recurrenceValue'], + 'LaunchExpirationTime' => ['title' => '', 'description' => 'The time period during which a scheduled task can be retried after it fails. Unit: seconds. Valid values: 0 to 3600.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '600', 'visibility' => 'Public', 'backendName' => 'launchExpirationTime'], ], 'description' => '', + 'visibility' => 'Public', + 'title' => '', + 'example' => '', + ], + 'Toleration' => [ + 'type' => 'object', + 'properties' => [ + 'Operator' => ['type' => 'string'], + 'Value' => ['type' => 'string'], + 'Effect' => ['type' => 'string'], + 'Key' => ['type' => 'string'], + ], ], 'TriggerCondition' => [ - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'MetricName' => [ - 'title' => '', - 'description' => 'The name of the metric. This parameter is required and cannot be an empty string. You can view the metric name in [Add Auto Scaling Rules](~~445658~~).'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'yarn_resourcemanager_queue_PendingVCores', - 'backendName' => 'metricName', - ], + 'MetricName' => ['title' => '', 'description' => 'The name of the metric. This parameter is required and cannot be an empty string. You can view the metric name in [Add Auto Scaling Rules](~~445658~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'yarn_resourcemanager_queue_PendingVCores', 'visibility' => 'Public', 'backendName' => 'metricName'], + 'ComparisonOperator' => ['title' => '', 'description' => 'The comparison operator. This parameter is required. Valid values:'."\n" + ."\n" + .'* EQ: equal to'."\n" + .'* NE: not equal to'."\n" + .'* GT: greater than'."\n" + .'* LT: less than'."\n" + .'* GE: greater than or equal to'."\n" + .'* LE: less than or equal to'."\n", 'type' => 'string', 'required' => true, 'example' => 'LT', 'visibility' => 'Public', 'backendName' => 'comparisonOperator'], + 'Statistics' => ['title' => '', 'description' => 'The name of the statistic. This parameter is required. Valid values:'."\n" + ."\n" + .'* MAX'."\n" + .'* MIN'."\n" + .'* AVG'."\n", 'type' => 'string', 'required' => true, 'example' => 'AVG', 'visibility' => 'Public', 'backendName' => 'statistics'], 'Tags' => [ 'title' => '', 'description' => 'The tags for the metrics of a partition. This parameter is available for only metrics that contain ByPartition. For other metrics, leave this parameter empty.'."\n", - 'visibility' => 'public', 'type' => 'array', - 'items' => [ - 'visibility' => 'public', - 'extendType' => 'true', - '$ref' => '#/components/schemas/Tag', - 'description' => '', - ], + 'items' => ['$ref' => '#/components/schemas/Tag', 'description' => '', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''], + 'visibility' => 'Public', 'backendName' => 'tags', 'itemName' => 'Tag', + 'example' => '', ], - 'Statistics' => [ - 'title' => '', - 'description' => 'The name of the statistic. This parameter is required. Valid values:'."\n" - ."\n" - .'* MAX'."\n" - .'* MIN'."\n" - .'* AVG'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'AVG', - 'backendName' => 'statistics', - ], - 'ComparisonOperator' => [ - 'title' => '', - 'description' => 'The comparison operator. This parameter is required. Valid values:'."\n" - ."\n" - .'* EQ: equal to'."\n" - .'* NE: not equal to'."\n" - .'* GT: greater than'."\n" - .'* LT: less than'."\n" - .'* GE: greater than or equal to'."\n" - .'* LE: less than or equal to'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'required' => true, - 'example' => 'LT', - 'backendName' => 'comparisonOperator', - ], - 'Threshold' => [ - 'title' => '', - 'description' => 'The trigger threshold. This parameter is required.'."\n", - 'visibility' => 'public', - 'type' => 'number', - 'format' => 'double', - 'required' => true, - 'example' => '12.5', - 'backendName' => 'threshold', - ], + 'Threshold' => ['title' => '', 'description' => 'The trigger threshold. This parameter is required.'."\n", 'type' => 'number', 'format' => 'double', 'required' => true, 'example' => '12.5', 'visibility' => 'Public', 'backendName' => 'threshold'], ], 'description' => '', + 'visibility' => 'Public', + 'title' => '', + 'example' => '', ], 'UpdateApplicationConfig' => [ - 'visibility' => 'public', 'type' => 'object', 'properties' => [ - 'ConfigFileName' => [ - 'title' => '', - 'description' => 'The name of the application configuration file.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'hdfs-site.xml', - 'backendName' => 'configFileName', - ], - 'ConfigItemKey' => [ - 'title' => '', - 'description' => 'The key of the configuration item.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'dfs.namenode.checkpoint.period', - 'backendName' => 'configItemKey', - ], - 'ConfigItemValue' => [ - 'title' => '', - 'description' => 'The value of the configuration item.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => '3600s', - 'backendName' => 'configItemValue', - ], - 'ConfigDescription' => [ - 'title' => '', - 'description' => 'The description of the modification.'."\n", - 'visibility' => 'public', - 'type' => 'string', - 'example' => 'dfs.namenode.checkpoint.period', - 'backendName' => 'configDescription', - ], - 'ConfigScope' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'string', - 'deprecated' => true, - 'example' => 'NODE_GROUP', - 'backendName' => 'configScope', - ], - 'NodeGroupId' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'string', - 'deprecated' => true, - 'example' => 'ng-869471354ecd****', - 'backendName' => 'nodeGroupId', - ], - 'NodeId' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'string', - 'deprecated' => true, - 'example' => 'i-bp1cudc25w2bfwl5****', - 'backendName' => 'nodeId', - ], - 'ConfigAction' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'string', - 'deprecated' => true, - 'example' => 'ADD', - 'backendName' => 'configAction', - ], - 'EffectiveType' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'string', - 'example' => 'EFFECT', - 'backendName' => 'effectiveType', - ], - 'EffectiveActions' => [ - 'title' => '', - 'description' => '', - 'visibility' => 'Private', - 'type' => 'string', - 'backendName' => 'effectiveActions', - ], + 'ConfigFileName' => ['title' => '', 'description' => 'The name of the application configuration file.', 'type' => 'string', 'example' => 'hdfs-site.xml', 'visibility' => 'Public', 'backendName' => 'configFileName'], + 'ConfigItemKey' => ['title' => '', 'description' => 'The configuration item key.', 'type' => 'string', 'example' => 'dfs.namenode.checkpoint.period', 'visibility' => 'Public', 'backendName' => 'configItemKey'], + 'ConfigDescription' => ['title' => '', 'description' => 'A description of the modification.', 'type' => 'string', 'example' => 'dfs.namenode.checkpoint.period', 'visibility' => 'Public', 'backendName' => 'configDescription'], + 'ConfigItemValue' => ['title' => '', 'description' => 'The configuration item value.', 'type' => 'string', 'example' => '3600s', 'visibility' => 'Public', 'backendName' => 'configItemValue'], ], 'description' => '', + 'title' => '', + 'example' => '', + 'visibility' => 'Public', ], - ], - ], - 'apis' => [ - 'ListReleaseVersions' => [ - 'description' => '查询主版本。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce6STB1S', - ], - ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'IaasType', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => 'IaaS资源类型。', - 'description' => 'The type of the IaaS resource.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ECS', - ], - ], - [ - 'name' => 'ClusterType', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群类型。', - 'description' => 'The type of the cluster.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'DATALAKE', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'ReleaseVersions' => [ - 'description' => 'The major EMR versions.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Series' => [ - 'title' => '版本序列。', - 'description' => 'The version series.'."\n", - 'type' => 'string', - 'example' => 'EMR-6.X', - ], - 'ReleaseVersion' => [ - 'title' => 'EMR发行版。', - 'description' => 'The EMR version.'."\n", - 'type' => 'string', - 'example' => 'EMR-5.3.0', - ], - 'IaasType' => [ - 'title' => 'IaaS类型。', - 'description' => 'The IaaS type.'."\n", - 'type' => 'string', - 'example' => 'ECS', - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'Returns the location of the data that was read.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The maximum number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - ], - ], + 'UpdateSpecNodeGroup' => [ + 'type' => 'object', + 'properties' => [ + 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], + 'NewInstanceType' => ['title' => '实例类型。', 'description' => '新实例类型。', 'type' => 'string', 'required' => true, 'example' => 'ecs.g7.xlarge'], + 'ModifyType' => ['type' => 'string'], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], - ], - 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], - ], - 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + 'ValueConstraints' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['title' => '值限制类型。', 'description' => '值限制类型。', 'type' => 'string'], + 'Start' => ['title' => '起始值。', 'description' => '起始值。', 'type' => 'integer', 'format' => 'int32'], + 'Step' => ['title' => '步长。', 'description' => '步长。', 'type' => 'integer', 'format' => 'int32'], + 'End' => ['title' => '结束值。', 'description' => '结束值。', 'type' => 'integer', 'format' => 'int32'], + 'Values' => [ + 'title' => '枚举值。', + 'description' => '枚举值。', + 'type' => 'array', + 'items' => ['type' => 'integer', 'format' => 'int32'], + 'example' => 'null', ], + 'DefaultValue' => ['title' => '默认值。', 'description' => '默认值。', 'type' => 'integer', 'format' => 'int32'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ReleaseVersions\\": [\\n {\\n \\"Series\\": \\"EMR-5.X\\",\\n \\"ReleaseVersion\\": \\"EMR-5.8.0\\",\\n \\"IaasType\\": \\"ECS\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => 'ListReleaseVersions', - 'summary' => 'Queries the major E-MapReduce (EMR) versions.', ], - 'ListInstanceTypes' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + ], + 'apis' => [ + 'CreateApiTemplate' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce6STB1S', - 'FEATUREemapreduceSNGGYA', - ], + 'operationType' => 'create', + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The ID of the region in which you want to create the instance.', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ClusterId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The ID of cluster.', - 'type' => 'string', - 'required' => false, - 'example' => 'c-b933c5aac8fe****', - ], - ], - [ - 'name' => 'ZoneId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '可用区ID。', - 'description' => 'Availability Zone ID', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-beijing-h', - ], - ], - [ - 'name' => 'NodeGroupId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点组ID。', - 'description' => 'Node group ID.', - 'type' => 'string', - 'required' => false, - 'example' => 'G-F06C4B47966A****', - ], - ], - [ - 'name' => 'ClusterType', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群类型。', - 'description' => 'Cluster type.', - 'type' => 'string', - 'required' => true, - 'example' => 'DATALAKE', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'PaymentType', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '付费类型。', - 'description' => 'Payment type.', - 'type' => 'string', - 'required' => true, - 'example' => 'PayAsYouGo', - ], - ], - [ - 'name' => 'NodeGroupType', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点组类型。', - 'description' => 'Node group type.', - 'type' => 'string', - 'required' => true, - 'example' => 'CORE', - ], - ], - [ - 'name' => 'IsModification', + 'name' => 'TemplateName', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '是否变配。', - 'description' => 'Whether to change the configuration.', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['title' => '', 'description' => 'Cluster template name.', 'type' => 'string', 'required' => true, 'example' => 'DATALAKE template'], ], [ - 'name' => 'ReleaseVersion', + 'name' => 'ApiName', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => 'EMR发行版。', - 'description' => 'EMR distribution.', - 'type' => 'string', - 'required' => false, - 'example' => 'EMR-5.8.0', - ], + 'schema' => ['title' => '', 'description' => 'The name of the API operation. You can create only a cluster API operation template. Set the value to CreateCluster.'."\n", 'type' => 'string', 'required' => true, 'example' => 'CreateCluster'], ], [ - 'name' => 'DeployMode', + 'name' => 'Content', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '部署模式。', - 'description' => 'Deployment mode.', - 'type' => 'string', - 'required' => false, - 'example' => 'HA', - ], + 'schema' => ['title' => '', 'description' => 'The content of the cluster API operation template. Set the value to JSON strings of the request parameters of the [CreateCluster](~~454393~~) API operation for creating a cluster.'."\n", 'type' => 'string', 'required' => true, 'example' => 'content'], ], [ - 'name' => 'InstanceType', + 'name' => 'ResourceGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '机型', - 'description' => 'Instance Type', - 'type' => 'string', - 'required' => false, - 'example' => 'ecs.g6.xlarge', - ], + 'schema' => ['title' => '', 'description' => 'Resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzabjyop****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => '', 'type' => 'object', 'properties' => [ - 'InstanceTypes' => [ - 'description' => 'The instance types.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The instance type.'."\n", - '$ref' => '#/components/schemas/InstanceType', - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'Request ID.', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'Returns the position of the read data.', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The maximum number of records returned in this request.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total amount of data under the conditions of this request.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'TemplateId' => ['description' => 'Template ID (it is recommended to use the parameter TemplateId).', 'type' => 'string', 'example' => 'at-41b4c6a0fc63****', 'title' => ''], + 'RequestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'Success' => ['description' => 'Template ID (to be deprecated).', 'type' => 'string', 'example' => 'at-41b4c6a0fc63****', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InstanceTypes\\": [\\n {\\n \\"InstanceTypeFamily\\": \\"ecs.g6\\",\\n \\"InstanceType\\": \\"ecs.g6.large\\",\\n \\"Status\\": \\"Available\\",\\n \\"StockStatus\\": \\"WithStock\\",\\n \\"Optimized\\": true,\\n \\"CpuCore\\": 4,\\n \\"InstanceCategory\\": \\"Compute-optimized\\",\\n \\"CpuArchitecture\\": \\"X86\\",\\n \\"LocalStorageCapacity\\": 40,\\n \\"LocalStorageAmount\\": 8,\\n \\"ModifyType\\": \\"\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => 'ListInstanceTypes', - 'summary' => 'Lists instance types.', - 'translator' => 'machine', - ], - 'RunCluster' => [ - 'summary' => 'Creates a pay-as-you-go or subscription E-MapReduce (EMR) cluster.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'high', - 'chargeType' => 'paid', - 'abilityTreeCode' => '246666', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce6STB1S', - ], - ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ResourceGroupId', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '资源组ID。', - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmzabjyop****', - ], - ], - [ - 'name' => 'PaymentType', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '付费类型。', - 'description' => 'The billing method of the cluster. Valid values:'."\n" - ."\n" - .'* PayAsYouGo'."\n" - .'* Subscription'."\n" - ."\n" - .'Default value: PayAsYouGo.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PayAsYouGo', - ], - ], - [ - 'name' => 'SubscriptionConfig', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'style' => 'json', - 'schema' => [ - 'description' => 'The subscription configurations. This parameter is required when the PaymentType parameter is set to Subscription.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/SubscriptionConfig', - ], - ], - [ - 'name' => 'ClusterType', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群类型。', - 'description' => 'The type of the cluster. Valid values:'."\n" - ."\n" - .'* DATALAKE'."\n" - .'* OLAP'."\n" - .'* DATAFLOW'."\n" - .'* DATASERVING'."\n" - .'* CUSTOM'."\n" - .'* HADOOP: We recommend that you set this parameter to DATALAKE rather than HADOOP.'."\n" - ."\n" - .'If the first time you create an EMR cluster is after 17:00 (UTC+8) on December 19, 2022, you cannot create a Hadoop, Data Science, Presto, or ZooKeeper cluster.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'DATALAKE', - ], - ], - [ - 'name' => 'ReleaseVersion', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => 'EMR发行版。', - 'description' => 'The EMR version. You can query available EMR versions in the EMR console.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'EMR-5.16.0', - ], - ], - [ - 'name' => 'ClusterName', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群名称。', - 'description' => 'The cluster name. The name must be 1 to 128 characters in length. The name must start with a letter but cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (\\_), periods (.), and hyphens (-).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'emrtest', - ], - ], - [ - 'name' => 'DeployMode', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '部署模式。', - 'description' => 'The deployment mode of master nodes in the cluster. Valid values:'."\n" - ."\n" - .'* NORMAL: regular mode. This is the default value. A cluster that contains only one master node is created.'."\n" - .'* HA: high availability mode. A cluster that contains at least three master nodes is created.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'HA', - ], - ], - [ - 'name' => 'SecurityMode', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => 'Kerberos安全模式。', - 'description' => 'The security mode of the cluster. Valid values:'."\n" - ."\n" - .'* NORMAL: regular mode. Kerberos authentication is disabled. This is the default value.'."\n" - .'* KERBEROS: Kerberos mode. Kerberos authentication is enabled.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'NORMAL', - ], - ], - [ - 'name' => 'Applications', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'style' => 'json', - 'schema' => [ - 'title' => '应用列表。', - 'description' => 'The list of services. Number of elements in the array: 1 to 100.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The application.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/Application', - ], - 'required' => true, - ], - ], - [ - 'name' => 'ApplicationConfigs', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'style' => 'json', - 'schema' => [ - 'title' => '应用配置。', - 'description' => 'The application configurations. Number of elements in the array: 1 to 1000.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The service configuration.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/ApplicationConfig', - ], - 'required' => false, - ], - ], - [ - 'name' => 'NodeAttributes', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'style' => 'json', - 'schema' => [ - 'description' => 'The node attributes. The basic attributes of all ECS nodes in the cluster.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/NodeAttributes', - ], - ], - [ - 'name' => 'NodeGroups', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'style' => 'json', - 'schema' => [ - 'title' => '节点组。', - 'description' => 'The array of configurations of the node groups. Number of elements in the array: 1 to 100.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The node group configurations.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/NodeGroupConfig', - ], - 'required' => true, - ], - ], - [ - 'name' => 'BootstrapScripts', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'style' => 'json', - 'schema' => [ - 'title' => '引导脚本。', - 'description' => 'The array of bootstrap scripts. Number of elements in the array: 1 to 10.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The bootstrap script.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/Script', - ], - 'required' => false, - ], - ], - [ - 'name' => 'Tags', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'style' => 'json', - 'schema' => [ - 'title' => '标签。', - 'description' => 'The tag. Number of elements in the array: 0 to 20.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The tag.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/Tag', - ], - 'required' => false, - ], - ], - [ - 'name' => 'ClientToken', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '幂等客户端TOKEN。', - 'description' => 'The client token that is used to ensure the idempotence of the request. The same ClientToken value for multiple calls to the RunCluster operation results in identical responses. Only one cluster can be created by using the same ClientToken value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****', - ], - ], - [ - 'name' => 'Description', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The cluster description.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Emr cluster for ETL', - ], - ], - [ - 'name' => 'DeletionProtection', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Specifies whether to enable release protection for the cluster. Valid values:'."\n" - ."\n" - .'* true: enables release protection for the cluster.'."\n" - .'* false: disables release protection for the cluster.'."\n" - ."\n" - .'Default value: false.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'Promotions', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/Promotion', - ], - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'ClusterId' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'example' => 'c-b933c5aac7f7***', - ], - 'OperationId' => [ - 'title' => '操作ID。', - 'description' => 'The operation ID.'."\n", - 'type' => 'string', - 'example' => 'op-13c37a77c505****', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TemplateId\\": \\"at-41b4c6a0fc63****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"Success\\": \\"at-41b4c6a0fc63****\\"\\n}","type":"json"}]', + 'title' => 'CreateApiTemplate', + 'summary' => 'Creates a predefined API operation template. The template contains information about an API operation, including the basic structure, request method, URL path, request parameters, and response format.', + 'requestParamsDescription' => 'Example value of the Content parameter (Java language): \\`'."\n" + ."\n" + .'CreateClusterRequest request = new CreateClusterRequest();'."\n" + ."\n" + .'request.setRegionId("cn-beijing");'."\n" + ."\n" + .'request.setClusterType("DATALAKE");'."\n" + ."\n" + .'// Other parameters for creating a cluster.'."\n" + ."\n" + .'String content = new Gson().toJson(request); \\`'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:CreateApiTemplate', + 'authLevel' => '', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'OperationDenied', - 'errorMessage' => 'The operation is invalid. %s', - ], - [ - 'errorCode' => 'OutOfStock', - 'errorMessage' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', - ], - [ - 'errorCode' => 'QuotaExceeded', - 'errorMessage' => 'Request fail due to quota exceed. %s', - ], - [ - 'errorCode' => 'AccountException', - 'errorMessage' => 'Account exception. %s', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], - ], - 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], - ], - 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ClusterId\\": \\"c-b933c5aac7f7***\\",\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'RunCluster', - 'description' => 'RunCluster is an upgraded version of CreateCluster. RunCluster uses HTTPS POST requests and supports more parameters. Complex parameters, such as parameters of the object and array types, are in the JSON format and are more friendly for users who use CLI.'."\n", + 'translator' => 'machine', ], 'CreateCluster' => [ 'summary' => 'Creates a pay-as-you-go or subscription cluster.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3984,138 +2153,91 @@ 'riskType' => 'high', 'chargeType' => 'paid', 'abilityTreeCode' => '12612', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce6STB1S', - ], + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '资源组ID。', - 'description' => 'The ID of the resource group to which to assign the ENI.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmzabjyop****', - ], + 'schema' => ['title' => '', 'description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzabjyop****'], ], [ 'name' => 'PaymentType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '付费类型。', - 'description' => 'The billing cycle of the instance. Valid values:'."\n" - ."\n" - .'* PayAsYouGo: pay-as-you-go'."\n" - .'* Subscription: subscription'."\n" - ."\n" - .'Default value: PayAsYouGo.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PayAsYouGo', - ], + 'schema' => ['title' => '', 'description' => 'The billing method. Valid values:'."\n" + ."\n" + .'- PayAsYouGo: pay-as-you-go.'."\n" + ."\n" + .'- Subscription: subscription.'."\n" + ."\n" + .'Default value: PayAsYouGo.', 'type' => 'string', 'required' => false, 'example' => 'PayAsYouGo'], ], [ 'name' => 'SubscriptionConfig', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', - 'schema' => [ - 'title' => '预付费配置。', - 'description' => 'The subscription configurations. This parameter takes effect only if you set the PaymentType parameter to Subscription.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/SubscriptionConfig', - ], + 'schema' => ['title' => '', 'description' => 'The subscription configurations. This parameter is required if you set PaymentType to Subscription.', 'required' => false, '$ref' => '#/components/schemas/SubscriptionConfig', 'example' => ''], ], [ 'name' => 'ClusterType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群类型。', - 'description' => 'The type of the cluster. Valid values:'."\n" - ."\n" - .'* DATALAKE: data lake'."\n" - .'* OLAP: online analytical processing (OLAP)'."\n" - .'* DATAFLOW: Dataflow'."\n" - .'* DATASERVING: DataServing'."\n" - .'* CUSTOM: a custom hybrid cluster.'."\n" - .'* HADOOP: the old data lake. We recommend that you use the new data lake.'."\n" - ."\n" - .'If you create an EMR cluster for the first time after 17:00 (UTC +8) on December 19, 2022, you cannot select the HADOOP, DATA_SCIENCE, PRESTO, or ZOOKEEPER cluster type.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'DATALAKE', - ], + 'schema' => ['title' => '', 'description' => 'The cluster type. Valid values:'."\n" + ."\n" + .'- DATALAKE: new data lake.'."\n" + ."\n" + .'- OLAP: data analytics.'."\n" + ."\n" + .'- DATAFLOW: real-time data stream.'."\n" + ."\n" + .'- DATASERVING: data serving.'."\n" + ."\n" + .'- CUSTOM: custom cluster.'."\n" + ."\n" + .'- HADOOP: earlier-version data lake. We recommend that you use the new data lake.'."\n" + ."\n" + .'If you create an EMR cluster for the first time after 17:00 (UTC+8) on December 19, 2022, you cannot select HADOOP, DATA\\_SCIENCE, PRESTO, or ZOOKEEPER as the cluster type.', 'type' => 'string', 'required' => true, 'example' => 'DATALAKE'], ], [ 'name' => 'ReleaseVersion', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => 'EMR发行版。', - 'description' => 'The EMR version. You can query available E-MapReduce (EMR) versions in the EMR console.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'EMR-5.8.0', - ], + 'schema' => ['title' => '', 'description' => 'The EMR release version. You can find the EMR release versions on the EMR cluster purchase page.', 'type' => 'string', 'required' => true, 'example' => 'EMR-5.16.0'], ], [ 'name' => 'ClusterName', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群名称。', - 'description' => 'The name of the cluster. The name must be 1 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (\\_), periods (.), and hyphens (-).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'emrtest', - ], + 'schema' => ['title' => '', 'description' => 'The cluster name. The name must be 1 to 128 characters in length. It must start with a letter or a Chinese character. It cannot start with http\\:// or https\\://. It can contain letters, digits, Chinese characters, colons (:), underscores (\\_), periods (.), and hyphens (-).', 'type' => 'string', 'required' => true, 'example' => 'emrtest'], ], [ 'name' => 'DeployMode', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '部署模式。', - 'description' => 'The deployment mode of master nodes in the cluster. Valid values:'."\n" - ."\n" - .'* NORMAL: regular mode. This is the default value. A cluster that contains only one master node is created.'."\n" - .'* HA: high availability (HA) mode. A cluster that contains three master nodes is created.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'HA', - ], + 'schema' => ['title' => '', 'description' => 'The deployment mode of applications in the cluster. Valid values:'."\n" + ."\n" + .'- NORMAL (default): non-high availability (HA) deployment. The cluster has one master node.'."\n" + ."\n" + .'- HA: HA deployment. An HA deployment requires at least three master nodes.', 'type' => 'string', 'required' => false, 'example' => 'HA'], ], [ 'name' => 'SecurityMode', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => 'Kerberos安全模式。', - 'description' => 'The security mode of the cluster. Valid values:'."\n" - ."\n" - .'* NORMAL: disables Kerberos authentication for the cluster. This is the default value.'."\n" - .'* KERBEROS: enables Kerberos authentication for the cluster.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'NORMAL', - ], + 'schema' => ['title' => '', 'description' => 'The Kerberos security mode of the cluster. Valid values:'."\n" + ."\n" + .'- NORMAL (default): normal mode. Kerberos is disabled.'."\n" + ."\n" + .'- KERBEROS: Kerberos mode. Kerberos is enabled.', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'], ], [ 'name' => 'Applications', @@ -4123,16 +2245,13 @@ 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '应用列表。', - 'description' => 'The services. Number of elements in the array: 1 to 100.'."\n", + 'title' => '', + 'description' => 'The list of applications. The number of array elements N must be in the range of 1 to 100.', 'type' => 'array', - 'items' => [ - 'description' => 'The service.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/Application', - ], + 'items' => ['description' => 'The application.', 'required' => false, '$ref' => '#/components/schemas/Application', 'title' => '', 'example' => ''], 'required' => true, 'maxItems' => 100, + 'example' => '', ], ], [ @@ -4141,16 +2260,13 @@ 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '应用配置。', - 'description' => 'The service configurations. Number of elements in the array: 1 to 1,000.'."\n", + 'title' => '', + 'description' => 'The application configurations. The number of array elements N must be in the range of 1 to 1000.', 'type' => 'array', - 'items' => [ - 'description' => 'The service configuration.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/ApplicationConfig', - ], + 'items' => ['description' => 'The application configuration.', 'required' => false, '$ref' => '#/components/schemas/ApplicationConfig', 'title' => '', 'example' => ''], 'required' => false, 'maxItems' => 1000, + 'example' => '', ], ], [ @@ -4158,12 +2274,7 @@ 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', - 'schema' => [ - 'title' => '节点属性。', - 'description' => 'The node attributes. The basic attributes of all ECS nodes in the cluster.'."\n", - 'required' => true, - '$ref' => '#/components/schemas/NodeAttributes', - ], + 'schema' => ['title' => '', 'description' => 'The node attributes. This parameter specifies the basic attributes of all Elastic Compute Service (ECS) nodes in the cluster.', 'required' => true, '$ref' => '#/components/schemas/NodeAttributes', 'example' => ''], ], [ 'name' => 'NodeGroups', @@ -4171,14 +2282,10 @@ 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '节点组。', - 'description' => 'The array of configurations of the node groups. Number of elements in the array: 1 to 100.'."\n", + 'title' => '', + 'description' => 'The array of node group configurations. The number of array elements N must be in the range of 1 to 100.', 'type' => 'array', - 'items' => [ - 'description' => 'The node group configurations.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/NodeGroupConfig', - ], + 'items' => ['description' => 'The node group configuration.', 'required' => false, '$ref' => '#/components/schemas/NodeGroupConfig', 'title' => '', 'example' => ''], 'required' => true, 'example' => 'NORMAL', 'maxItems' => 100, @@ -4190,16 +2297,13 @@ 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '引导脚本。', - 'description' => 'The array of bootstrap scripts. Number of elements in the array: 1 to 10.'."\n", + 'title' => '', + 'description' => 'The array of bootstrap scripts. The number of array elements N must be in the range of 1 to 10.', 'type' => 'array', - 'items' => [ - 'description' => 'The bootstrap script.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/Script', - ], + 'items' => ['description' => 'The bootstrap script.', 'required' => false, '$ref' => '#/components/schemas/Script', 'title' => '', 'example' => ''], 'required' => false, 'maxItems' => 10, + 'example' => '', ], ], [ @@ -4208,14 +2312,10 @@ 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '标签。', - 'description' => 'The tag. Number of elements in the array: 0 to 20.'."\n", + 'title' => '', + 'description' => 'The tags. The number of array elements N must be in the range of 0 to 20.', 'type' => 'array', - 'items' => [ - 'description' => 'The tag.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/Tag', - ], + 'items' => ['description' => 'The tag.', 'required' => false, '$ref' => '#/components/schemas/Tag', 'title' => '', 'example' => ''], 'required' => false, 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****', 'maxItems' => 20, @@ -4225,810 +2325,578 @@ 'name' => 'ClientToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '幂等客户端TOKEN。', - 'description' => 'The idempotent client token. If you call the same ClientToken multiple times, the returned results are the same. Only one cluster can be created with the same ClientToken.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****', - ], + 'schema' => ['title' => '', 'description' => 'The client token that is used to ensure the idempotence of the request. The results of multiple calls that use the same client token are the same. A maximum of one cluster can be created with the same client token.', 'type' => 'string', 'required' => false, 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****'], ], [ 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'The cluster description.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Emr cluster for ETL', - ], + 'schema' => ['description' => 'The description of the cluster.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Emr cluster for ETL'], ], [ 'name' => 'DeletionProtection', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable release protection for the cluster. Valid values:'."\n" - ."\n" - .'* true: enables release protection for the cluster.'."\n" - .'* false: disables release protection for the cluster.'."\n" - ."\n" - .'Default value: false.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable deletion protection for the cluster. Valid values:'."\n" + ."\n" + .'- true: enables deletion protection.'."\n" + ."\n" + .'- false: disables deletion protection.'."\n" + ."\n" + .'Default value: false.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The returned data.'."\n", + 'title' => '', + 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ - 'ClusterId' => [ - 'title' => '集群ID。', - 'description' => 'The ID of cluster.'."\n", - 'type' => 'string', - 'example' => 'c-b933c5aac7f7***', - ], - 'OperationId' => [ - 'title' => '操作ID。', - 'description' => 'The ID of the operation.'."\n", - 'type' => 'string', - 'example' => 'op-13c37a77c505****', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'ClusterId' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'example' => 'c-b933c5aac7f7***'], + 'OperationId' => ['title' => '', 'description' => 'The operation ID.', 'type' => 'string', 'example' => 'op-13c37a77c505****'], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'OperationDenied', - 'errorMessage' => 'The operation is invalid. %s', - ], - [ - 'errorCode' => 'OutOfStock', - 'errorMessage' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', - ], - [ - 'errorCode' => 'QuotaExceeded', - 'errorMessage' => 'Request fail due to quota exceed. %s', - ], - [ - 'errorCode' => 'AccountException', - 'errorMessage' => 'Account exception. %s', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'OperationDenied', 'errorMessage' => 'The operation is invalid. %s', 'description' => ''], + ['errorCode' => 'OutOfStock', 'errorMessage' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', 'description' => ''], + ['errorCode' => 'QuotaExceeded', 'errorMessage' => 'Request fail due to quota exceed. %s', 'description' => ''], + ['errorCode' => 'AccountException', 'errorMessage' => 'Account exception. %s', 'description' => ''], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'asynchronous', - 'callback' => 'Emr::2021-03-20::GetOperation', - 'callbackInterval' => 10000, - 'maxCallbackTimes' => 180, - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ClusterId\\": \\"c-b933c5aac7f7***\\",\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateClusterResponse>\\n <RequestId>B51A4569-34A9-4EE3-B072-4BD054C21384</RequestId>\\n <OperationId>a5fdae32-ba06-4208-944b-53a8c209c9d9</OperationId>\\n <ClusterId>C-DEE18D2E8D890652</ClusterId>\\n</CreateClusterResponse>","errorExample":""}]', + 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'Emr::2021-03-20::GetOperation', 'callbackInterval' => 10000, 'maxCallbackTimes' => 180], 'title' => 'CreateCluster', - ], - 'GetCluster' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2024-11-28T11:46:10.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-08-20T12:57:07.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-09-14T10:25:48.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-29T20:45:34.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-20T08:47:51.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-17T23:18:25.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-06T04:24:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-09-05T22:16:58.000Z', 'description' => 'Error codes changed, Response parameters changed'], + ['createdAt' => '2021-10-12T06:06:55.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-10-12T06:06:55.000Z', 'description' => 'Error codes changed, Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateCluster'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:CreateCluster', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ClusterId\\": \\"c-b933c5aac7f7***\\",\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'CreateNodeGroup' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '13223', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceGZP0FZ', - ], + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREemapreduceSNGGYA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The ID of the cluster.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'C-E525E04F3914****'], + ], + [ + 'name' => 'NodeGroup', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => ['title' => '', 'description' => 'The information about the machine group.', 'required' => true, '$ref' => '#/components/schemas/NodeGroupConfig', 'example' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'Cluster' => [ - 'description' => 'The details of the cluster.'."\n", - '$ref' => '#/components/schemas/Cluster', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'NodeGroupId' => ['description' => 'The node group ID.', 'type' => 'string', 'title' => '', 'example' => 'G-21E39B11837E****'], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Cluster\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ClusterName\\": \\"emrtest\\",\\n \\"ClusterType\\": \\"DATALAKE\\",\\n \\"ClusterState\\": \\"RUNNING\\",\\n \\"StateChangeReason\\": {\\n \\"Code\\": \\"OutOfStock\\",\\n \\"Message\\": \\"The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.\\"\\n },\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"SubscriptionConfig\\": {\\n \\"PaymentDurationUnit\\": \\"Month\\",\\n \\"PaymentDuration\\": 12,\\n \\"AutoPayOrder\\": false,\\n \\"AutoRenew\\": true,\\n \\"AutoRenewDurationUnit\\": \\"Month\\",\\n \\"AutoRenewDuration\\": 12\\n },\\n \\"CreateTime\\": 1592837465784,\\n \\"ReadyTime\\": 1592837465784,\\n \\"EndTime\\": 1592837465784,\\n \\"ExpireTime\\": 1592837465784,\\n \\"ReleaseVersion\\": \\"EMR-5.3.0\\",\\n \\"DeployMode\\": \\"HA\\",\\n \\"SecurityMode\\": \\"NORMAL\\",\\n \\"NodeAttributes\\": {\\n \\"VpcId\\": \\"vpc-bp1tgey2p0ytxmdo5****\\",\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"SecurityGroupId\\": \\"sg-hp3abbae8lb6lmb1****\\",\\n \\"RamRole\\": \\"AliyunECSInstanceForEMRRole\\",\\n \\"KeyPairName\\": \\"emr_login\\",\\n \\"MasterRootPassword\\": \\"Adxefswfd****\\",\\n \\"SystemDiskEncrypted\\": false,\\n \\"SystemDiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"DataDiskEncrypted\\": false,\\n \\"DataDiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"DiskEncrypted\\": false,\\n \\"DiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\"\\n },\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"EmrDefaultRole\\": \\"AliyunEMRDefaultRole\\",\\n \\"VpcId\\": \\"\\",\\n \\"LogCollectStrategy\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"DeletionProtection\\": false\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<GetClusterResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <Cluster>\\n <ClusterId>C-E525E04F3914****</ClusterId>\\n <ClusterName>emr-hadoop-cluster</ClusterName>\\n <ClusterType>HADOOP</ClusterType>\\n <ClusterState>IDEL</ClusterState>\\n <PaymentType>Subscription</PaymentType>\\n <DeleteTime>1592837465784</DeleteTime>\\n <ExpiredTime>1592837465784</ExpiredTime>\\n <NetworkType>vpc</NetworkType>\\n <DeployMode>NORMAL</DeployMode>\\n <SecurityMode>NORMAL</SecurityMode>\\n <MetaStoreType>LOCAL</MetaStoreType>\\n <CreateTime>1592837465784</CreateTime>\\n <RegionId>cn-hangzhou</RegionId>\\n <MainVersion>EMR-3.33.0</MainVersion>\\n <StateChangeReason>手动重启</StateChangeReason>\\n </Cluster>\\n</GetClusterResponse>","errorExample":""}]', - 'title' => 'GetCluster', - 'summary' => 'Obtains the details of a cluster.', - ], - 'UpdateClusterAttribute' => [ - 'methods' => [ - 'get', - 'post', + 'title' => 'CreateNodeGroup', + 'summary' => 'Creates a node group.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:28.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-10-12T06:06:51.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-10-12T06:06:51.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateNodeGroup'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:CreateNodeGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NodeGroupId\\": \\"G-21E39B11837E****\\",\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'CreateScript' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '101707', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceGZP0FZ', - ], + 'operationType' => 'create', + 'abilityTreeCode' => '119860', + 'abilityTreeNodes' => ['FEATUREemapreduceY1BE2N', 'FEATUREemapreduce42QKNE'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****', 'title' => ''], ], [ - 'name' => 'ClusterName', + 'name' => 'ScriptType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群名称。', - 'description' => 'The cluster name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'emrtest', - ], + 'schema' => ['description' => 'The script type. Valid values:'."\n" + ."\n" + .'- BOOTSTRAP: an ECS instance bootstrap script.'."\n" + ."\n" + .'- NORMAL: a normal script.', 'type' => 'string', 'required' => true, 'example' => 'BOOTSTRAP', 'title' => ''], ], [ - 'name' => 'Description', + 'name' => 'Scripts', 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => 'The cluster description.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Emr cluster for ETL', + 'title' => '', + 'description' => 'The list of scripts.', + 'type' => 'array', + 'items' => ['description' => 'The script.', '$ref' => '#/components/schemas/Script', 'required' => false, 'title' => '', 'example' => ''], + 'required' => true, + 'maxItems' => 20, + 'example' => '', ], ], [ - 'name' => 'DeletionProtection', + 'name' => 'TimeoutSecs', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether release protection is enabled.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The timeout period for manually executing the script. This parameter is not supported for bootstrap scripts.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The returned data.'."\n", + 'title' => '', + 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'ScriptId' => ['description' => 'The script ID.', 'type' => 'string', 'example' => 'cs-d6d6bc841c0d415fb81808bc6d09****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'InvalidParameter.ClusterId', 'errorMessage' => 'The specified clusterId is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.ClusterScript', 'errorMessage' => 'The specified clusterScript is invalid', 'description' => ''], + ['errorCode' => 'InvalidParameter.ClusterScriptType', 'errorMessage' => 'The specified scriptType is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.ClusterScriptNumberOverLimit', 'errorMessage' => 'The cluster script number has already exceeded max limit [%s]', 'description' => ''], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScriptId\\": \\"cs-d6d6bc841c0d415fb81808bc6d09****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'CreateScript', + 'summary' => 'Creates a bootstrap script or a regular cluster script.', + 'changeSet' => [ + ['createdAt' => '2025-01-16T14:05:33.000Z', 'description' => 'Request parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'UpdateClusterAttribute', - 'summary' => 'Updates cluster attributes.', - ], - 'ListClusters' => [ - 'summary' => 'Queries E-MapReduce (EMR) clusters.', - 'methods' => [ - 'get', - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateScript'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:CreateScript', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'machine', + ], + 'CreateUsers' => [ + 'summary' => 'Creates users in a batch.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '13343', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceGZP0FZ', - ], + 'operationType' => 'create', + 'abilityTreeCode' => '258146', + 'abilityTreeNodes' => ['FEATUREemapreduceUBSEPK'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - 'enum' => [ - 'cn-qingdao', - 'cn-beijing', - 'cn-zhangjiakou', - 'cn-huhehaote', - 'cn-hangzhou', - 'cn-shanghai', - 'cn-shenzhen', - 'cn-chengdu', - 'cn-hongkong', - 'cn-wulanchabu', - 'cn-heyuan-acdr-1', - 'cn-qingdao-acdr-ut-1', - 'ap-northeast-1', - 'ap-southeast-1', - 'ap-southeast-2', - 'ap-southeast-3', - 'ap-southeast-5', - 'ap-south-1', - 'us-east-1', - 'us-west-1', - 'me-east-1', - 'me-central-1', - 'eu-central-1', - 'eu-west-1', - 'cn-north-2-gov-1', - 'cn-wulanchabu-acdr-1', - ], - ], + 'schema' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'NextToken', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'The starting point of the current query. If you do not configure this parameter, the query starts from the beginning.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'eyJlY21OZXh0VG9rZW4iOiIxIiwidGFpaGFvTmV4dFRva2VuIjoiNTYiLCJ0YWloYW9OZXh0VG9rZW5JbnQiOjU2LCJlY21OZXh0VG9rZW5JbnQiOjF9', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'MaxResults', + 'name' => 'Users', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The number of entries to return on each page. Valid values: 1 to 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', + 'title' => '', + 'description' => 'The list of users. The number of users must be from 0 to 10.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'UserName' => ['title' => '', 'description' => 'The username.', 'type' => 'string', 'required' => true, 'example' => 'xi'], + 'Password' => ['title' => '', 'description' => 'The password of the user.', 'type' => 'string', 'required' => true, 'example' => '*Ab123'], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'maxItems' => 20, + 'example' => '', ], ], - [ - 'name' => 'ClusterName', - 'in' => 'query', - 'allowEmptyValue' => false, + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '集群名称。', - 'description' => 'The name of the cluster.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'emrtest', + 'title' => '', + 'description' => 'The data returned.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'Data' => ['description' => 'The result of the request. Valid values: true: The request was successful. false: The request failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], + ], + 503 => [ + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"Data\\": true\\n}","type":"json"}]', + 'title' => 'CreateUsers', + 'description' => 'Creates users in a batch.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:CreateUsers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'translator' => 'manual', + ], + 'DecreaseNodes' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ResourceGroupId', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '49020', + 'abilityTreeNodes' => ['FEATUREemapreduceS8IPKA'], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '资源组ID。', - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmzabjyop****', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ClusterIds', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '集群ID列表。数组元数个数N的取值范围:1~100。', - 'description' => 'The cluster IDs. Number of elements in the array: 1 to 100.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'c-b933c5aac8fe****', - ], - 'required' => false, - 'example' => 'rg-acfmzabjyop****', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****', 'title' => ''], ], [ - 'name' => 'ClusterTypes', + 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '集群类型列表。数组元数个数N的取值范围:1~100。', - 'description' => 'The list of cluster types. Number of elements in the array: 1 to 100.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The type of the cluster. Valid values:'."\n" - ."\n" - .'* DATALAKE'."\n" - .'* OLAP'."\n" - .'* DATAFLOW'."\n" - .'* DATASERVING'."\n" - .'* CUSTOM'."\n" - .'* HADOOP'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DATALAKE', - ], - 'required' => false, - 'example' => '["c-b933c5aac8fe****"]', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The node group ID.', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****', 'title' => ''], ], [ - 'name' => 'ClusterStates', + 'name' => 'DecreaseNodeCount', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '集群状态列表。数组元数个数N的取值范围:1~100。', - 'description' => 'The states of the clusters. Number of elements in the array: 1 to 100.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The status of the cluster. Valid values:'."\n" - ."\n" - .'* STARTING'."\n" - .'* START_FAILED'."\n" - .'* BOOTSTRAPPING'."\n" - .'* RUNNING'."\n" - .'* TERMINATING'."\n" - .'* TERMINATED'."\n" - .'* TERMINATED_WITH_ERRORS'."\n" - .'* TERMINATE_FAILED'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'RUNNING', - ], - 'required' => false, - 'example' => '["HADOOP"]', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The number of nodes to remove. The value must be less than the number of active nodes in the node group.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => '', 'required' => false], ], [ - 'name' => 'PaymentTypes', + 'name' => 'NodeIds', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '付费类型列表。数组元数个数N的取值范围:1~100。', - 'description' => 'The billing methods. You can specify a maximum of 2 items.'."\n", + 'title' => '', + 'description' => 'An array of node IDs. The array can contain from 1 to 500 elements.', 'type' => 'array', - 'items' => [ - 'description' => 'A billing method. Valid values:'."\n" - ."\n" - .'* PayAsYouGo: pay-as-you-go'."\n" - .'* Subscription: subscription'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'PayAsYouGo', - ], + 'items' => ['description' => 'A node ID.', 'type' => 'string', 'required' => false, 'example' => 'i-bp1cudc25w2bfwl5****', 'title' => ''], 'required' => false, - 'example' => '["ECS"]', - 'maxItems' => 100, + 'example' => '["i-bp1cudc25w2bfwl5****"]', ], ], [ - 'name' => 'Tags', + 'name' => 'BatchInterval', 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '标签列表。数组元数个数N的取值范围:1~20。', - 'description' => 'The tag list. Number of elements in the array: 1 to 20.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The tag.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/Tag', - ], - 'required' => false, - 'example' => '["PayAsYouGo"]', - 'maxItems' => 20, - ], + 'schema' => ['description' => 'The cooldown time between batches.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => ''], + ], + [ + 'name' => 'BatchSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of nodes to concurrently take offline in a single batch.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'Clusters' => [ - 'description' => 'The clusters.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The cluster.'."\n", - '$ref' => '#/components/schemas/ClusterSummary', - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3896A', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'The page number of the next page returned.'."\n", - 'type' => 'string', - 'example' => 'eyJlY21OZXh0VG9rZW4iOiIxIiwidGFpaGFvTmV4dFRva2VuIjoiNTYiLCJ0YWloYW9OZXh0VG9rZW5JbnQiOjU2LCJlY21OZXh0VG9rZW5JbnQiOjF9', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of pages.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', - ], + 'OperationId' => ['description' => 'The operation ID.', 'type' => 'string', 'example' => 'op-13c37a77c505****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '44430037-E59A-3E66-A2B0-97D155346F22', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'OperationDenied', 'errorMessage' => 'The operation is invalid. %s', 'description' => ''], + ['errorCode' => 'ConcurrentModification', 'errorMessage' => 'The request on %s failed due to multiple requests to change this object were submitted simultaneously. Wait a few minutes and try again.', 'description' => ''], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"44430037-E59A-3E66-A2B0-97D155346F22\\"\\n}","type":"json"}]', + 'title' => 'DecreaseNodes', + 'summary' => 'Scales in a target node group.', + 'changeSet' => [ + ['createdAt' => '2024-11-28T11:46:09.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-10-12T06:06:49.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-10-12T06:06:49.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DecreaseNodes'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:DecreaseNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Clusters\\": [\\n {\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ClusterName\\": \\"emrtest\\",\\n \\"ClusterType\\": \\"DATALAKE\\",\\n \\"ClusterState\\": \\"RUNNING\\",\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"CreateTime\\": 1592837465784,\\n \\"ReadyTime\\": 1592837465784,\\n \\"ExpireTime\\": 1592837465784,\\n \\"EndTime\\": 1592837465784,\\n \\"ReleaseVersion\\": \\"EMR-5.8.0\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"StateChangeReason\\": {\\n \\"Code\\": \\"OutOfStock\\",\\n \\"Message\\": \\"The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.\\"\\n },\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"EmrDefaultRole\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"DeletionProtection\\": true\\n }\\n ],\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\",\\n \\"NextToken\\": \\"eyJlY21OZXh0VG9rZW4iOiIxIiwidGFpaGFvTmV4dFRva2VuIjoiNTYiLCJ0YWloYW9OZXh0VG9rZW5JbnQiOjU2LCJlY21OZXh0VG9rZW5JbnQiOjF9\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 1000\\n}","errorExample":""},{"type":"xml","example":"<ListClustersResponse>\\n <Clusters>\\n <ClusterId>C-E525E04F3914****</ClusterId>\\n <ClusterName>emr-hadoop-cluster</ClusterName>\\n <ClusterType>HADOOP</ClusterType>\\n <ClusterState>IDEL</ClusterState>\\n <PaymentType>Subscription</PaymentType>\\n <CreateTime>1592837465784</CreateTime>\\n <DeleteTime>1592837465784</DeleteTime>\\n <ExpiredTime>1592837465784</ExpiredTime>\\n </Clusters>\\n <TotalCount>1000</TotalCount>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <NextToken>2</NextToken>\\n <MaxResults>20</MaxResults>\\n</ListClustersResponse>","errorExample":""}]', - 'title' => 'ListClusters', + 'translator' => 'machine', ], - 'DeleteCluster' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteApiTemplate' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5037,568 +2905,194 @@ 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'delete', - 'abilityTreeCode' => '14474', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceC8NILI', - ], + 'abilityTreeCode' => '189491', + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The ID of the region in which you want to create the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'Region ID', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ClusterId', + 'name' => 'TemplateId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The ID of the cluster.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'Cluster template ID.', 'type' => 'string', 'required' => true, 'example' => 'at-****'], + ], + [ + 'name' => 'ApiName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'Interface name.', 'type' => 'string', 'required' => true, 'example' => 'CreateCluster'], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'Resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzabjyop****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The returned data.'."\n", + 'title' => '', + 'description' => '', 'type' => 'object', 'properties' => [ - 'OperationId' => [ - 'title' => '操作ID。', - 'description' => 'The ID of the operation.'."\n", - 'type' => 'string', - 'example' => 'op-13c37a77c505****', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'Success' => ['description' => 'Whether the call was successful: - true: Call succeeded - false: Call failed.', 'type' => 'boolean', 'deprecated' => true, 'example' => 'true', 'title' => ''], + 'RequestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'OperationDenied', - 'errorMessage' => 'The operation is invalid. %s', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'asynchronous', - 'callback' => 'Emr::2021-03-20::GetOperation', - 'callbackInterval' => 10000, - 'maxCallbackTimes' => 60, + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'DeleteApiTemplate', + 'summary' => 'Deletes an API operation template.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:27.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteClusterResponse>\\n <requestId>69EBEFC7-9193-1DDA-8E16-9E03779377B5</requestId>\\n <Data>true</Data>\\n</DeleteClusterResponse>","errorExample":""}]', - 'title' => 'DeleteCluster', - 'summary' => 'Deletes a pay-as-you-go cluster.', - ], - 'GetClusterCloneMeta' => [ - 'summary' => 'Obtains metadata of the E-MapReduce (EMR) cluster that you want to clone. This helps you call the CreateCluster API operation to quickly create an EMR cluster.', - 'methods' => [ - 'get', - 'post', + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'emr:DeleteApiTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'machine', + ], + 'DeleteCluster' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '150379', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce6STB1S', - 'FEATUREemapreduceGZP0FZ', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '14474', + 'abilityTreeNodes' => ['FEATUREemapreduceC8NILI'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the region in which you want to create the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the cluster.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The returned data.'."\n", 'type' => 'object', 'properties' => [ - 'ClusterCloneMeta' => [ - 'description' => 'Cluster clone metadata.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'title' => '地域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'ResourceGroupId' => [ - 'title' => '资源组ID。', - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'example' => 'rg-acfmzabjyop****', - ], - 'ClusterState' => [ - 'title' => '集群状态。', - 'description' => 'The status of the cluster. Valid values:'."\n" - ."\n" - .'* STARTING'."\n" - .'* START_FAILED'."\n" - .'* BOOTSTRAPPING'."\n" - .'* RUNNING'."\n" - .'* TERMINATING'."\n" - .'* TERMINATED'."\n" - .'* TERMINATED_WITH_ERRORS'."\n" - .'* TERMINATE_FAILED'."\n", - 'type' => 'string', - 'example' => 'RUNNING', - ], - 'ClusterId' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'example' => 'c-b933c5aac7f7****', - ], - 'ClusterName' => [ - 'title' => '集群名称。', - 'description' => 'The name of the cluster.'."\n", - 'type' => 'string', - 'example' => 'emrtest', - ], - 'ClusterType' => [ - 'title' => '集群类型。', - 'description' => 'The cluster type. Valid values:'."\n" - ."\n" - .'* DATALAKE'."\n" - .'* OLAP'."\n" - .'* DATAFLOW'."\n" - .'* DATASERVING'."\n" - .'* CUSTOM'."\n" - .'* HADOOP'."\n", - 'type' => 'string', - 'example' => 'DATALAKE', - ], - 'PaymentType' => [ - 'title' => '付费类型。', - 'description' => 'The billing method of the cluster. Valid values:'."\n" - ."\n" - .'* PayAsYouGo'."\n" - .'* Subscription'."\n", - 'type' => 'string', - 'example' => 'PayAsYouGo', - ], - 'SubscriptionConfig' => [ - 'title' => '预付费配置。', - 'description' => 'The subscription configurations.'."\n", - '$ref' => '#/components/schemas/SubscriptionConfig', - ], - 'ReleaseVersion' => [ - 'title' => 'EMR发行版。', - 'description' => 'The EMR version.'."\n", - 'type' => 'string', - 'example' => 'EMR-5.6.0', - ], - 'DeployMode' => [ - 'title' => '部署模式。', - 'description' => 'The deployment mode of master nodes in the cluster. Valid values:'."\n" - ."\n" - .'* NORMAL: regular mode.'."\n" - .'* HA: high availability mode.'."\n", - 'type' => 'string', - 'example' => 'HA', - ], - 'SecurityMode' => [ - 'title' => 'Kerberos安全模式。', - 'description' => 'The security mode of the cluster. Valid values:'."\n" - ."\n" - .'* NORMAL: regular mode. Kerberos is not enabled.'."\n" - .'* KERBEROS: Kerberos mode. Kerberos is enabled.'."\n", - 'type' => 'string', - 'example' => 'NORMAL', - ], - 'NodeAttributes' => [ - 'title' => '节点属性。', - 'description' => 'The node attributes.'."\n", - '$ref' => '#/components/schemas/NodeAttributes', - ], - 'Tags' => [ - 'description' => 'The list of cluster tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The tag.'."\n", - '$ref' => '#/components/schemas/Tag', - ], - ], - 'EmrDefaultRole' => [ - 'title' => 'EMR服务角色。', - 'description' => 'The EMR service role.'."\n", - 'type' => 'string', - 'example' => 'AliyunEMRDefaultRole', - ], - 'Applications' => [ - 'title' => '集群应用。', - 'description' => 'The cluster applications.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The application.'."\n", - '$ref' => '#/components/schemas/Application', - ], - ], - 'ApplicationConfigs' => [ - 'title' => '创建集群时的服务配置项。', - 'description' => 'The modified configuration items.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The configuration item.'."\n", - '$ref' => '#/components/schemas/ApplicationConfig', - ], - ], - 'NodeGroups' => [ - 'description' => 'The node groups. The number of elements in the array: 1 to 100.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The node group.'."\n", - '$ref' => '#/components/schemas/NodeGroup', - ], - ], - 'BootstrapScripts' => [ - 'description' => 'An array of bootstrap scripts. The number of elements in the array: 1 to 10.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The bootstrap script.'."\n", - '$ref' => '#/components/schemas/Script', - ], - ], - 'ExistCloneConfig' => [ - 'description' => 'Indicates whether the service configurations of a Hadoop cluster that you made during cluster creation can be cloned. Valid values:'."\n" - ."\n" - .'* False'."\n" - .'* True'."\n", - 'type' => 'boolean', - 'example' => 'True', - ], - 'ScalingPolicies' => [ - 'description' => 'The auto scaling policies of each node group in the cluster.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The auto scaling policy.'."\n", - 'type' => 'object', - 'properties' => [ - 'NodeGroupId' => [ - 'title' => '节点组ID。', - 'description' => 'The node group ID.'."\n", - 'type' => 'string', - 'example' => 'ng-869471354ecd****', - ], - 'ClusterId' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'example' => 'c-b933c5aac8fe****', - ], - 'ScalingRules' => [ - 'title' => '伸缩规则列表', - 'description' => 'The auto scaling rules.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The auto scaling rule.'."\n", - 'type' => 'object', - 'properties' => [ - 'RuleName' => [ - 'title' => '弹性伸缩规则名称。', - 'description' => 'The name of the auto scaling rule.'."\n", - 'type' => 'string', - 'example' => 'scaling-out-memory', - ], - 'TriggerType' => [ - 'title' => '伸缩规则类型。', - 'description' => 'The trigger mode of the auto scaling rule. This parameter is required. Valid values:'."\n" - ."\n" - .'* TIME_TRIGGER: time-based scaling.'."\n" - .'* METRICS_TRIGGER: load-based scaling.'."\n", - 'type' => 'string', - 'example' => 'TIME_TRIGGER', - ], - 'ActivityType' => [ - 'title' => '伸缩类型。', - 'description' => 'The scaling type. This parameter is required. Valid values:'."\n" - ."\n" - .'* SCALE_OUT'."\n" - .'* SCALE_IN'."\n", - 'type' => 'string', - 'example' => 'SCALE_OUT', - ], - 'AdjustmentValue' => [ - 'title' => '调整值。', - 'description' => 'The adjustment value of the auto scaling rule. This parameter is required. The parameter value must be a positive integer, which indicates the number of instances to be added or removed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'TimeTrigger' => [ - 'title' => '按照时间伸缩描述。', - 'description' => 'The description of time-based scaling.'."\n", - '$ref' => '#/components/schemas/TimeTrigger', - ], - 'MetricsTrigger' => [ - 'title' => '按照负载伸缩描述。', - 'description' => 'The description of load-based scaling.'."\n", - '$ref' => '#/components/schemas/MetricsTrigger', - ], - ], - ], - ], - 'ScalingPolicyId' => [ - 'title' => '伸缩策略ID。', - 'description' => 'The ID of the auto scaling policy.'."\n", - 'type' => 'string', - 'example' => 'asp-asduwe23znl***', - ], - 'Constraints' => [ - 'title' => '最大最小值约束', - 'description' => 'The maximum and minimum number of nodes in the node group.'."\n", - 'type' => 'object', - 'properties' => [ - 'MaxCapacity' => [ - 'title' => '最大值', - 'description' => 'The maximum number of nodes in the node group. Default value: 2000.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'MinCapacity' => [ - 'title' => '最小值', - 'description' => 'The minimum number of nodes in the node group. Default value: 0.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], - 'MaxOnDemandCapacity' => [ - 'title' => '最大按量值。', - 'description' => 'The maximum number of pay-as-you-go nodes in the node group.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - ], - ], - 'ScalingPolicyType' => [ - 'title' => '弹性策略类型', - 'description' => 'The type of the auto scaling policy.'."\n", - 'type' => 'string', - ], - 'NodeGroupName' => [ - 'description' => 'The name of the node group.'."\n", - 'type' => 'string', - 'example' => 'emr-etltask', - ], - ], - ], - ], - 'DeletionProtection' => [ - 'description' => 'Indicates whether release protection is enabled for the cluster. Valid values:'."\n" - ."\n" - .'* true: Release protection is enabled for the cluster.'."\n" - .'* false: Release protection is disabled for the cluster.'."\n" - ."\n" - .'Default value: false.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'CollationTimeZone' => [ - 'title' => '弹性伸缩时区', - '$ref' => '#/components/schemas/CollationTimeZone', - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'OperationId' => ['title' => '', 'description' => 'The ID of the operation.'."\n", 'type' => 'string', 'example' => 'op-13c37a77c505****'], + 'RequestId' => ['title' => '', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'OperationDenied', 'errorMessage' => 'The operation is invalid. %s', 'description' => ''], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ClusterCloneMeta\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"ClusterState\\": \\"RUNNING\\",\\n \\"ClusterId\\": \\"c-b933c5aac7f7****\\",\\n \\"ClusterName\\": \\"emrtest\\",\\n \\"ClusterType\\": \\"DATALAKE\\",\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"SubscriptionConfig\\": {\\n \\"PaymentDurationUnit\\": \\"Month\\",\\n \\"PaymentDuration\\": 12,\\n \\"AutoPayOrder\\": false,\\n \\"AutoRenew\\": true,\\n \\"AutoRenewDurationUnit\\": \\"Month\\",\\n \\"AutoRenewDuration\\": 12\\n },\\n \\"ReleaseVersion\\": \\"EMR-5.6.0\\",\\n \\"DeployMode\\": \\"HA\\",\\n \\"SecurityMode\\": \\"NORMAL\\",\\n \\"NodeAttributes\\": {\\n \\"VpcId\\": \\"vpc-bp1tgey2p0ytxmdo5****\\",\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"SecurityGroupId\\": \\"sg-hp3abbae8lb6lmb1****\\",\\n \\"RamRole\\": \\"AliyunECSInstanceForEMRRole\\",\\n \\"KeyPairName\\": \\"emr_login\\",\\n \\"MasterRootPassword\\": \\"Adxefswfd****\\",\\n \\"SystemDiskEncrypted\\": false,\\n \\"SystemDiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"DataDiskEncrypted\\": false,\\n \\"DataDiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"DiskEncrypted\\": false,\\n \\"DiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\"\\n },\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"EmrDefaultRole\\": \\"AliyunEMRDefaultRole\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ApplicationVersion\\": \\"2.6.0\\"\\n }\\n ],\\n \\"ApplicationConfigs\\": [\\n {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ConfigFileName\\": \\"hdfs-site.xml\\",\\n \\"ConfigItemKey\\": \\"dfs.namenode.checkpoint.period\\",\\n \\"ConfigItemValue\\": \\"3600s\\",\\n \\"ConfigScope\\": \\"NODE_GROUP\\",\\n \\"NodeGroupName\\": \\"core-1\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\"\\n }\\n ],\\n \\"NodeGroups\\": [\\n {\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupName\\": \\"core-1\\",\\n \\"NodeGroupType\\": \\"CORE\\",\\n \\"RunningNodeCount\\": 3,\\n \\"InstanceTypes\\": [\\n \\"\\"\\n ],\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"DataDisks\\": [\\n {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 80,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 5\\n }\\n ],\\n \\"SystemDisk\\": {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 60,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 1\\n },\\n \\"NodeGroupState\\": \\"CREATED\\",\\n \\"AdditionalSecurityGroupIds\\": [\\n \\"\\"\\n ],\\n \\"WithPublicIp\\": false,\\n \\"VSwitchIds\\": [\\n \\"\\"\\n ],\\n \\"SpotStrategy\\": \\"NoSpot\\",\\n \\"SpotBidPrices\\": [\\n {\\n \\"InstanceType\\": \\"ecs.g7.2xlarge\\",\\n \\"BidPrice\\": 1000\\n }\\n ],\\n \\"StateChangeReason\\": {\\n \\"Code\\": \\"MissingParameter\\",\\n \\"Message\\": \\"The instance type is required.\\"\\n },\\n \\"MinimalNodeCount\\": 0,\\n \\"MaximalNodeCount\\": 200,\\n \\"GracefulShutdown\\": false,\\n \\"SpotInstanceRemedy\\": true,\\n \\"CompensateWithOnDemand\\": true,\\n \\"NodeResizeStrategy\\": \\"PRIORITY\\",\\n \\"CostOptimizedConfig\\": {\\n \\"OnDemandBaseCapacity\\": 80,\\n \\"OnDemandPercentageAboveBaseCapacity\\": 80,\\n \\"SpotInstancePools\\": 2\\n },\\n \\"DeploymentSetStrategy\\": \\"NONE\\",\\n \\"AutoCompensateState\\": true,\\n \\"ExtraAttributes\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"AckConfig\\": {\\n \\"AckInstanceId\\": \\"\\",\\n \\"NodeSelectors\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"Tolerations\\": [\\n {\\n \\"Key\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Operator\\": \\"\\",\\n \\"Effect\\": \\"\\"\\n }\\n ],\\n \\"Namespace\\": \\"\\",\\n \\"RequestCpu\\": 0,\\n \\"RequestMemory\\": 0,\\n \\"LimitCpu\\": 0,\\n \\"LimitMemory\\": 0,\\n \\"DataDiskStorageClass\\": \\"\\",\\n \\"DataDiskSize\\": 0,\\n \\"CustomLabels\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"CustomAnnotations\\": [],\\n \\"MountHostCgroup\\": true,\\n \\"NodeAffinity\\": \\"\\",\\n \\"PodAntiAffinity\\": \\"\\",\\n \\"PodAffinity\\": \\"\\",\\n \\"PreStartCommand\\": [\\n \\"\\"\\n ],\\n \\"Pvcs\\": [\\n {\\n \\"DataDiskStorageClass\\": \\"\\",\\n \\"DataDiskSize\\": 0,\\n \\"Path\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"Volumes\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Path\\": \\"\\",\\n \\"Type\\": \\"\\"\\n }\\n ],\\n \\"VolumeMounts\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Path\\": \\"\\"\\n }\\n ]\\n },\\n \\"IaaSType\\": \\"\\",\\n \\"PrivatePoolOptions\\": {\\n \\"PrivatePoolIds\\": [\\n \\"\\"\\n ],\\n \\"MatchCriteria\\": \\"Open\\"\\n },\\n \\"Status\\": \\"CREATED\\"\\n }\\n ],\\n \\"BootstrapScripts\\": [\\n {\\n \\"ScriptName\\": \\"脚本名-1\\",\\n \\"ScriptPath\\": \\"oss://bucket1/update_hosts.sh\\",\\n \\"ScriptArgs\\": \\"-host 10.0.10.5 -m 30\\",\\n \\"Priority\\": 1,\\n \\"NodeSelector\\": {\\n \\"NodeSelectType\\": \\"CLUSTER\\",\\n \\"NodeNames\\": [\\n \\"\\"\\n ],\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupIds\\": [\\n \\"ng-869471354ecd****\\"\\n ],\\n \\"NodeGroupTypes\\": [\\n \\"\\"\\n ],\\n \\"NodeGroupName\\": \\"master-1\\",\\n \\"NodeGroupNames\\": [\\n \\"master-1\\"\\n ]\\n },\\n \\"ExecutionMoment\\": \\"BEFORE_INSTALL\\",\\n \\"ExecutionFailStrategy\\": \\"FAILED_CONTINUE\\"\\n }\\n ],\\n \\"ExistCloneConfig\\": true,\\n \\"ScalingPolicies\\": [\\n {\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ScalingRules\\": [\\n {\\n \\"RuleName\\": \\"scaling-out-memory\\",\\n \\"TriggerType\\": \\"TIME_TRIGGER\\",\\n \\"ActivityType\\": \\"SCALE_OUT\\",\\n \\"AdjustmentValue\\": 100,\\n \\"TimeTrigger\\": {\\n \\"LaunchTime\\": \\"\\",\\n \\"StartTime\\": 1639714800000,\\n \\"EndTime\\": 1639714800000,\\n \\"LaunchExpirationTime\\": 600,\\n \\"RecurrenceType\\": \\"WEEKLY\\",\\n \\"RecurrenceValue\\": \\"MON,FRI,SUN\\"\\n },\\n \\"MetricsTrigger\\": {\\n \\"TimeWindow\\": 30,\\n \\"EvaluationCount\\": 2,\\n \\"CoolDownInterval\\": 300,\\n \\"TimeConstraints\\": [\\n {\\n \\"StartTime\\": \\"06:00:00\\",\\n \\"EndTime\\": \\"23:59:59\\"\\n }\\n ],\\n \\"ConditionLogicOperator\\": \\"Or\\",\\n \\"Conditions\\": [\\n {\\n \\"MetricName\\": \\"yarn_resourcemanager_root_availablememoryusage\\",\\n \\"Tags\\": [],\\n \\"Statistics\\": \\"AVG\\",\\n \\"ComparisonOperator\\": \\"LT\\",\\n \\"Threshold\\": 12.5\\n }\\n ]\\n }\\n }\\n ],\\n \\"ScalingPolicyId\\": \\"asp-asduwe23znl***\\",\\n \\"Constraints\\": {\\n \\"MaxCapacity\\": 200,\\n \\"MinCapacity\\": 50,\\n \\"MaxOnDemandCapacity\\": 200\\n },\\n \\"ScalingPolicyType\\": \\"\\",\\n \\"NodeGroupName\\": \\"emr-etltask\\"\\n }\\n ],\\n \\"DeletionProtection\\": false,\\n \\"CollationTimeZone\\": {\\n \\"TimeZone\\": \\"Asia/Shanghai\\",\\n \\"CurrentTimeOffset\\": \\"UTC+08:00\\"\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'GetClusterCloneMeta', - ], - 'UpdateClusterAutoRenew' => [ - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'Emr::2021-03-20::GetOperation', 'callbackInterval' => 10000, 'maxCallbackTimes' => 60], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteClusterResponse>\\n <requestId>69EBEFC7-9193-1DDA-8E16-9E03779377B5</requestId>\\n <Data>true</Data>\\n</DeleteClusterResponse>","errorExample":""}]', + 'title' => 'DeleteCluster', + 'summary' => 'Deletes a pay-as-you-go cluster.', + 'changeSet' => [ + ['createdAt' => '2022-09-12T22:41:10.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-12T22:41:10.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-10-12T06:06:53.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-10-12T06:06:53.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'emr:DeleteCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteCluster'], + ], ], + ], + 'DeleteNodeGroup' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5606,389 +3100,197 @@ ], 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '19032', - 'abilityTreeNodes' => [ - 'SPUemapreduceZSGDF4', - ], + 'operationType' => 'delete', + 'abilityTreeNodes' => ['FEATUREemapreduceSNGGYA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID. You can call [ListRegions](url) to query available regions.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-d6661c71139a****', - ], - ], - [ - 'name' => 'ClusterAutoRenew', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群是否自动续费。', - 'description' => '集群是否自动续费。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'ClusterAutoRenewDuration', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群自动续费时长。', - 'description' => '集群自动续费时长。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'ClusterAutoRenewDurationUnit', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群自动续费时长单位。', - 'description' => '集群续费时长单位。', - 'type' => 'string', - 'required' => false, - 'example' => 'Monthly', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'RenewAllInstances', + 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '续费所有ECS实例。', - 'description' => '续费所有ECS实例。', - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['title' => '', 'description' => 'The node group ID.', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], ], [ - 'name' => 'AutoRenewInstances', + 'name' => 'Description', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '自动续费ECS实例列表。', - 'description' => '自动续费ECS实例列表。', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'required' => false, - '$ref' => '#/components/schemas/AutoRenewInstance', - ], - 'required' => false, - 'maxItems' => 5000, - ], + 'schema' => ['title' => '', 'description' => 'The description.', 'type' => 'string', 'example' => '机器组不再需要', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => '', + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '', - 'type' => 'boolean', - 'deprecated' => true, - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3896A', - ], + 'Success' => ['description' => 'Indicates whether the operation to release the node group was successful. Valid values:'."\n" + ."\n" + .'- true: The operation was successful.'."\n" + .'- false: The operation failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '64EBE3F5-0498-1578-BEC0-6ACE364E912D'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'OperationDenied', 'errorMessage' => 'The operation is invalid. %s', 'description' => ''], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateClusterAutoRenewResponse>\\n <requestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</requestId>\\n <OperationId>64bedf6d-96e3-4780-95a0-4ad376ad****</OperationId>\\n</UpdateClusterAutoRenewResponse>","errorExample":""}]', - ], - 'CreateApiTemplate' => [ - 'methods' => [ - 'get', - 'post', + 'title' => 'Delete a node group', + 'summary' => 'Deletes a created cluster node group.', + 'changeSet' => [ + ['createdAt' => '2021-10-12T06:06:51.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-10-12T06:06:51.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"64EBE3F5-0498-1578-BEC0-6ACE364E912D\\"\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'DeleteScript' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], + [ + 'APP' => [], + ], ], 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce6STB1S', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '119859', + 'abilityTreeNodes' => ['FEATUREemapreduceY1BE2N', 'FEATUREemapreduce42QKNE'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => 'The region ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'TemplateName', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群模板名字。', - 'description' => 'Cluster template name.', - 'type' => 'string', - 'required' => true, - 'example' => 'DATALAKE template', - ], - ], - [ - 'name' => 'ApiName', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '接口名。', - 'description' => 'The name of the API operation. You can create only a cluster API operation template. Set the value to CreateCluster.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'CreateCluster', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'Content', + 'name' => 'ScriptType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '接口参数request内容', - 'description' => 'The content of the cluster API operation template. Set the value to JSON strings of the request parameters of the [CreateCluster](~~454393~~) API operation for creating a cluster.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'content', - ], + 'schema' => ['title' => '', 'description' => 'The type of the script. Valid values:'."\n" + ."\n" + .'* BOOTSTRAP: indicates a bootstrap action of the Elastic Compute Service (ECS) instance.'."\n" + .'* NORMAL: indicates a common script.'."\n", 'type' => 'string', 'required' => true, 'example' => 'BOOTSTRAP'], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'ScriptId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '资源组ID。', - 'description' => 'Resource group ID.', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmzabjyop****', - ], + 'schema' => ['title' => '', 'description' => 'The script ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cs-da7476a7679a4d4c9cede62ebe09****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => '', + 'title' => '', + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'TemplateId' => [ - 'description' => 'Template ID (it is recommended to use the parameter TemplateId).', - 'type' => 'string', - 'example' => 'at-41b4c6a0fc63****', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'Request ID.', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'Success' => [ - 'description' => 'Template ID (to be deprecated).', - 'type' => 'string', - 'example' => 'at-41b4c6a0fc63****', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TemplateId\\": \\"at-41b4c6a0fc63****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"Success\\": \\"at-41b4c6a0fc63****\\"\\n}","type":"json"}]', - 'title' => 'CreateApiTemplate', - 'summary' => 'Creates a predefined API operation template. The template contains information about an API operation, including the basic structure, request method, URL path, request parameters, and response format.', - 'requestParamsDescription' => 'Example value of the Content parameter (Java language): \\`'."\n" - ."\n" - .'CreateClusterRequest request = new CreateClusterRequest();'."\n" - ."\n" - .'request.setRegionId("cn-beijing");'."\n" - ."\n" - .'request.setClusterType("DATALAKE");'."\n" - ."\n" - .'// Other parameters for creating a cluster.'."\n" - ."\n" - .'String content = new Gson().toJson(request); \\`'."\n", - 'translator' => 'machine', - ], - 'UpdateApiTemplate' => [ - 'description' => '修改集群模板', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'DeleteScript', + 'summary' => 'Deletes a bootstrap action or a common script of an E-MapReduce (EMR) cluster.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteScript'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'emr:DeleteScript', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteUsers' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -5996,435 +3298,284 @@ ], 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce6STB1S', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '258145', + 'abilityTreeNodes' => ['FEATUREemapreduce3NR9KZ'], ], 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'TemplateName', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群模板名字。', - 'description' => 'The name of the template.', - 'type' => 'string', - 'required' => true, - 'example' => 'datalakeTest1', - ], - ], - [ - 'name' => 'ApiName', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '接口名。', - 'description' => 'The name of the API operation. You can create only a cluster API operation template. Set the value to CreateCluster.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'CreateCluster', - ], - ], - [ - 'name' => 'Content', - 'in' => 'query', + 'name' => 'ClusterId', + 'in' => 'formData', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '接口参数request内容', - 'description' => 'The content of the cluster API operation template. Set the value to JSON strings of the request parameters of the [CreateCluster](~~454393~~) API operation for creating a cluster.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'CreateCluster', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'ResourceGroupId', - 'in' => 'query', + 'name' => 'UserNames', + 'in' => 'formData', 'allowEmptyValue' => false, + 'style' => 'json', 'schema' => [ - 'title' => '资源组ID。', - 'description' => 'Resource group ID.', - 'type' => 'string', + 'description' => 'The usernames. Number of elements in the array: 0 to 10.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The username.'."\n", 'type' => 'string', 'required' => false, 'example' => 'xi', 'title' => ''], 'required' => false, - 'example' => 'rg-acfmzabjyop****', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'TemplateId', + 'name' => 'RegionId', 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群模板id。', - 'description' => 'Template ID (it is recommended to use the parameter TemplateId).', - 'type' => 'string', - 'required' => true, - 'example' => 'AT-****', - ], + 'schema' => ['description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => '', + 'title' => '', + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => 'Template ID (to be deprecated).', - 'type' => 'boolean', - 'deprecated' => true, - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'Request ID.', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => ' '."\n" + .'DD6B1B2A-5837-5237-ABE4-FF0C8944****'."\n"], + 'Data' => ['description' => 'Indicates whether the request was successful. Valid values: true and false.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\\\t\\\\nDD6B1B2A-5837-5237-ABE4-FF0C8944****\\\\n\\",\\n \\"Data\\": true\\n}","type":"json"}]', + 'title' => 'DeleteUsers', + 'summary' => 'Deletes multiple users at a time.', + 'description' => 'Deletes multiple users at a time.'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'emr:DeleteUsers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'Cluster', 'arn' => 'acs:emr:{#regionId}:{#accountId}:cluster/{#Clusterld}'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'UpdateApiTemplate', - 'summary' => 'Updates an API operation template.', - 'requestParamsDescription' => 'Example value of the Content parameter (Java language): \\`'."\n" - ."\n" - .'CreateClusterRequest request = new CreateClusterRequest();'."\n" - ."\n" - .'request.setRegionId("cn-beijing");'."\n" - ."\n" - .'request.setClusterType("DATALAKE");'."\n" - ."\n" - .'// Other parameters for creating a cluster.'."\n" - ."\n" - .'String content = new Gson().toJson(request); \\`'."\n", ], - 'ListApiTemplates' => [ - 'summary' => 'Queries a list of API operation templates.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ExportApplicationConfigs' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeCode' => '189428', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceU64T1A', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREemapreduce66Y5VC'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'NextToken', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置,置空表示从头开始。', - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'MaxResults', + 'name' => 'ApplicationConfigFiles', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。', - 'type' => 'integer', - 'format' => 'int32', + 'title' => '', + 'description' => 'The list of application configurations to export.', + 'type' => 'array', + 'items' => ['description' => 'The application configuration to export.', 'required' => false, '$ref' => '#/components/schemas/ApplicationConfigFile', 'title' => '', 'example' => ''], 'required' => false, - 'example' => '20', + 'example' => '', ], ], [ - 'name' => 'TemplateId', + 'name' => 'FileFormat', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ - 'title' => '集群模板id。', - 'description' => '集群模板id。', + 'title' => '', + 'description' => 'The file format of the exported application configurations. Valid values:'."\n" + ."\n" + .'- JSON'."\n" + ."\n" + .'- XML', 'type' => 'string', 'required' => false, - 'example' => 'at-41b4c6a0fc63****', + 'enumValueTitles' => ['XML' => 'XML', 'JSON' => 'JSON'], + 'example' => 'XML', ], ], [ - 'name' => 'TemplateIds', + 'name' => 'ExportMode', 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', 'schema' => [ - 'title' => '集群模板id列表。', - 'description' => '集群模板id列表。', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'at-41b4c6a0fc63****', - ], + 'description' => 'The mode for exporting service configurations. Valid values:'."\n" + ."\n" + .'- MODIFICATION'."\n" + ."\n" + .'- ALL', + 'type' => 'string', 'required' => false, - 'example' => '["AT-****"]', + 'default' => 'ALL', + 'enum' => ['MODIFICATION', 'ALL'], + 'title' => '', + 'example' => 'MODIFICATION', ], ], [ - 'name' => 'ApiName', + 'name' => 'ConfigScope', 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '接口名。', - 'description' => '接口名。', - 'type' => 'string', - 'required' => true, - 'example' => 'CreateCluster', - ], + 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], [ - 'name' => 'TemplateName', + 'name' => 'NodeGroupIds', 'in' => 'query', - 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群模板名字。', - 'description' => '集群模板名字。', - 'type' => 'string', - 'required' => false, - 'example' => 'DATALAKE模板', + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'description' => '', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'NodeIds', 'in' => 'query', - 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '资源组ID。', - 'description' => '资源组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmzabjyop****', + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ - 'ApiTemplates' => [ - 'description' => 'The array of API templates.'."\n", + 'ApplicationConfigs' => [ + 'description' => 'The list of exported application configurations.', 'type' => 'array', 'items' => [ - 'description' => 'The details of the API template.'."\n", - '$ref' => '#/components/schemas/ApiTemplate', + 'description' => 'The exported application configuration.', + 'type' => 'object', + 'properties' => [ + 'ApplicationName' => ['title' => '', 'description' => 'The application name.', 'type' => 'string', 'example' => 'YARN'], + 'ConfigFileName' => ['title' => '', 'description' => 'The file name.', 'type' => 'string', 'example' => 'yarn-site.xml'], + 'Content' => ['title' => '', 'description' => 'The file content. The content is Base64-encoded.', 'type' => 'string', 'example' => 'export key=value'], + ], + 'title' => '', + 'example' => '', ], - 'deprecated' => true, - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置,空代表数据已经读取完毕。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', + 'title' => '', + 'example' => '', ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'title' => 'ExportApplicationConfigs', + 'summary' => 'Exports the configurations of a specified service in a cluster.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ExportApplicationConfigs'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ExportApplicationConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ApiTemplates\\": [\\n {\\n \\"Id\\": 1,\\n \\"GmtCreate\\": 0,\\n \\"CreateTime\\": 0,\\n \\"GmtModified\\": 0,\\n \\"UpdateTime\\": 0,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"UserId\\": \\"150***\\",\\n \\"OperatorId\\": \\"150***\\",\\n \\"TemplateId\\": \\"AT-Af***\\",\\n \\"TemplateName\\": \\"AT-Af***\\",\\n \\"ApiName\\": \\"CreateCluster\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"Status\\": \\"READY\\",\\n \\"Content\\": \\"\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => 'ListApiTemplates', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ApplicationConfigs\\": [\\n {\\n \\"ApplicationName\\": \\"YARN\\",\\n \\"ConfigFileName\\": \\"yarn-site.xml\\",\\n \\"Content\\": \\"export key=value\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'translator' => 'manual', ], 'GetApiTemplate' => [ 'summary' => 'Queries the detailed configuration information about an API operation template.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6434,606 +3585,540 @@ 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '189863', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceU64T1A', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceU64T1A'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'Region ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'Region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'TemplateId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群模板id。', - 'description' => 'Cluster template ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'at-41b4c6a0fc63****', - ], + 'schema' => ['title' => '', 'description' => 'Cluster template ID.', 'type' => 'string', 'required' => true, 'example' => 'at-41b4c6a0fc63****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', + 'title' => '', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'The content of the API operation template.'."\n", - 'deprecated' => true, - '$ref' => '#/components/schemas/ApiTemplate', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'Request ID.', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'Data' => ['description' => 'The content of the API operation template.'."\n", 'deprecated' => true, '$ref' => '#/components/schemas/ApiTemplate', 'title' => '', 'example' => ''], + 'RequestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Id\\": 1,\\n \\"GmtCreate\\": 0,\\n \\"CreateTime\\": 0,\\n \\"GmtModified\\": 0,\\n \\"UpdateTime\\": 0,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"UserId\\": \\"150***\\",\\n \\"OperatorId\\": \\"150***\\",\\n \\"TemplateId\\": \\"AT-Af***\\",\\n \\"TemplateName\\": \\"AT-Af***\\",\\n \\"ApiName\\": \\"CreateCluster\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"Status\\": \\"READY\\",\\n \\"Content\\": \\"\\"\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Status\\": \\"READY\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"ApiName\\": \\"CreateCluster\\",\\n \\"Content\\": \\"content\\\\n\\",\\n \\"TemplateName\\": \\"datalakeTest1\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"TemplateId\\": \\"AT-Af***\\"\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', 'title' => 'GetApiTemplate', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetApiTemplate', + 'authLevel' => '', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], 'translator' => 'machine', ], - 'DeleteApiTemplate' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetApplication' => [ + 'description' => 'Queries the details of an application.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '189491', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce6STB1S', - ], + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduceU3PP4U'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'Region ID', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'TemplateId', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群模板id。', - 'description' => 'Cluster template ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'at-****', - ], + 'schema' => ['description' => 'The request ID.', 'type' => 'string', 'required' => true, 'example' => 'c-e6a9d46e92675****', 'title' => ''], ], [ - 'name' => 'ApiName', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '接口名。', - 'description' => 'Interface name.', - 'type' => 'string', - 'required' => true, - 'example' => 'CreateCluster', - ], - ], - [ - 'name' => 'ResourceGroupId', + 'name' => 'ApplicationName', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '资源组ID。', - 'description' => 'Resource group ID.', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmzabjyop****', - ], + 'schema' => ['description' => 'The application name.', 'type' => 'string', 'required' => true, 'example' => 'HDFS', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => '', + 'title' => '', + 'description' => 'The returned result.', 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => 'Whether the call was successful: - true: Call succeeded - false: Call failed.', - 'type' => 'boolean', - 'deprecated' => true, - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'Request ID.', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'Application' => [ + 'description' => 'The application.', + 'type' => 'object', + 'properties' => [ + 'ApplicationName' => ['description' => 'The application name.', 'type' => 'string', 'example' => 'HDFS', 'title' => ''], + 'ApplicationVersion' => ['description' => 'The application version.', 'type' => 'string', 'example' => '2.8.1', 'title' => ''], + 'CommunityVersion' => ['description' => 'The community version.', 'type' => 'string', 'example' => '2.8.1', 'title' => ''], + 'Actions' => [ + 'title' => '', + 'description' => 'The list of actions supported by the application.', + 'type' => 'array', + 'items' => [ + 'description' => 'The action that you want to perform on requests that match the rule.', + 'type' => 'object', + 'properties' => [ + 'RunActionScope' => ['description' => 'The execution scope. Valid values:'."\n" + ."\n" + .'- APPLICATION: the application scope.'."\n" + ."\n" + .'- COMPONENT: the component scope.'."\n" + ."\n" + .'- COMPONENT\\_INSTANCE: the component instance scope.', 'type' => 'string', 'example' => 'COMPONENT_INSTANCE', 'title' => ''], + 'ComponentName' => ['description' => 'The component name.', 'type' => 'string', 'example' => 'DataNode', 'title' => ''], + 'ActionName' => ['description' => 'The action name.', 'type' => 'string', 'example' => 'decommission', 'title' => ''], + 'Description' => ['description' => 'The description of the action.', 'type' => 'string', 'example' => 'Description', 'title' => ''], + 'Command' => ['description' => 'The action command.', 'type' => 'string', 'example' => 'decommission', 'title' => ''], + 'ActionParams' => [ + 'title' => '', + 'description' => 'The list of action parameters.', + 'type' => 'array', + 'items' => [ + 'description' => 'The parameters of the action.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The parameter name.', 'type' => 'string', 'title' => '', 'example' => 'timeout'], + 'ValueAttribute' => [ + 'title' => '', + 'description' => 'The parameter value attribute.', + 'type' => 'object', + 'properties' => [ + 'ValueType' => ['description' => 'The value type of the column.', 'type' => 'string', 'example' => 'int', 'title' => ''], + 'ValueMaximum' => ['description' => 'The maximum range of values.', 'type' => 'string', 'example' => '100', 'title' => ''], + 'ValueMinimum' => ['description' => 'The minimum range of values.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'ValueUnit' => ['description' => 'The unit of the value.', 'type' => 'string', 'example' => 'Second', 'title' => ''], + 'ValueIncrementStep' => ['description' => 'The size of the value increment.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'Description' => ['description' => 'Value description.', 'type' => 'string', 'example' => 'Set timeout duration', 'title' => ''], + ], + 'example' => '', + ], + 'Description' => ['description' => 'Description', 'type' => 'string', 'example' => 'Decommission action', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + 'ApplicationState' => ['description' => 'The status of the application.', 'type' => 'string', 'title' => '', 'example' => 'RUNNING'], + ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'InvokeEcmError', 'errorMessage' => 'An error occurred while invoking ECM service.', 'description' => ''], + ['errorCode' => 'NotFound.Cluster', 'errorMessage' => 'The cluster is not found.', 'description' => ''], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'DeleteApiTemplate', - 'summary' => 'Deletes an API operation template.', - 'translator' => 'machine', - ], - 'RunApiTemplate' => [ - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Application\\": {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ApplicationVersion\\": \\"2.8.1\\",\\n \\"CommunityVersion\\": \\"2.8.1\\",\\n \\"Actions\\": [\\n {\\n \\"RunActionScope\\": \\"COMPONENT_INSTANCE\\",\\n \\"ComponentName\\": \\"DataNode\\",\\n \\"ActionName\\": \\"decommission\\",\\n \\"Description\\": \\"Description\\",\\n \\"Command\\": \\"decommission\\",\\n \\"ActionParams\\": [\\n {\\n \\"Key\\": \\"timeout\\",\\n \\"ValueAttribute\\": {\\n \\"ValueType\\": \\"int\\",\\n \\"ValueMaximum\\": \\"100\\",\\n \\"ValueMinimum\\": \\"1\\",\\n \\"ValueUnit\\": \\"Second\\",\\n \\"ValueIncrementStep\\": \\"1\\",\\n \\"Description\\": \\"Set timeout duration\\"\\n },\\n \\"Description\\": \\"Decommission action\\"\\n }\\n ]\\n }\\n ],\\n \\"ApplicationState\\": \\"RUNNING\\"\\n },\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","type":"json"}]', + 'title' => 'GetApplication', + 'summary' => 'Retrieves the details of an application.', + 'changeSet' => [ + ['createdAt' => '2021-08-18T13:30:22.000Z', 'description' => 'Error codes changed, Response parameters changed'], + ['createdAt' => '2021-08-18T13:30:22.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetApplication'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetApplication', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'translator' => 'manual', + ], + 'GetAutoScalingActivity' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '189472', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce6STB1S', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '132561', + 'abilityTreeNodes' => ['FEATUREemapreduce7I2Y7W'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'TemplateId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群模板id。', - 'description' => '集群模板id。', - 'type' => 'string', - 'required' => true, - 'example' => 'AT-****', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ApiName', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '接口名。', - 'description' => '接口名。', - 'type' => 'string', - 'required' => true, - 'example' => 'CreateCluster', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'ClientToken', + 'name' => 'ScalingActivityId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '幂等客户端TOKEN。', - 'description' => '幂等客户端TOKEN。', - 'type' => 'string', - 'required' => false, - 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****', - ], + 'schema' => ['title' => '', 'description' => 'The scaling activity ID.', 'type' => 'string', 'required' => true, 'example' => 'asa-36373b084d6b4b13aa50f4129a9e****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => '', + 'title' => '', + 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '', - 'type' => 'string', - 'example' => '{\\"clusterId\\":\\"c-b7be171f1928****\\",\\"operationId\\":\\"op-61126efe629d****\\"}', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'ScalingActivity' => [ + 'description' => 'The details of the scaling activity.', + 'type' => 'object', + 'properties' => [ + 'ActivityId' => ['title' => '', 'description' => 'The ID of the scaling activity.', 'type' => 'string', 'example' => 'asa-36373b084d6b4b13aa50f4129a9e****'], + 'RuleName' => ['title' => '', 'description' => 'The name of the scaling rule.', 'type' => 'string', 'example' => 'scaling-out-memory'], + 'ActivityType' => ['title' => '', 'description' => 'The type of the scaling activity. Valid values:'."\n" + ."\n" + .'- SCALE\\_OUT: scale-out.'."\n" + ."\n" + .'- SCALE\\_IN: scale-in.', 'type' => 'string', 'example' => 'SCALE_OUT'], + 'ClusterId' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], + 'NodeGroupId' => ['title' => '', 'description' => 'The node group ID.', 'type' => 'string', 'example' => 'ng-869471354ecd****'], + 'NodeGroupName' => ['title' => '', 'description' => 'The name of the node group.', 'type' => 'string', 'example' => 'task-01'], + 'StartTime' => ['title' => '', 'description' => 'The start time of the scaling activity.', 'type' => 'integer', 'format' => 'int64', 'example' => '1639714634819'], + 'EndTime' => ['title' => '', 'description' => 'The end time of the scaling activity.', 'type' => 'integer', 'format' => 'int64', 'example' => '1639715634819'], + 'ActivityState' => ['title' => '', 'description' => 'The state of the scaling activity. Valid values:'."\n" + ."\n" + .'- REJECTED: rejected.'."\n" + ."\n" + .'- SUCCESSFUL: successful.'."\n" + ."\n" + .'- FAILED: failed.'."\n" + ."\n" + .'- IN\\_PROGRESS: in progress.', 'type' => 'string', 'example' => 'IN_PROGRESS'], + 'ExpectNum' => ['title' => '', 'description' => 'The number of instances that are added or removed.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'OperationId' => ['title' => '', 'description' => 'The operation ID.', 'type' => 'string', 'example' => 'op-13c37a77c505****'], + 'Description' => ['title' => '', 'description' => 'The description of the scaling activity.', 'type' => 'string', 'example' => 'clusterId not exist'], + 'ActivityResults' => [ + 'title' => '', + 'description' => 'The list of instances involved in the scaling activity.', + 'type' => 'array', + 'items' => ['description' => 'The list of instances involved in the scaling activity.', '$ref' => '#/components/schemas/ScalingActivityResult', 'title' => '', 'example' => ''], + 'example' => '', + ], + 'PolicyType' => ['description' => 'The policy type.', 'type' => 'string', 'title' => '', 'example' => 'AUTO'], + 'RuleDetail' => ['title' => '', 'description' => 'The details of the scaling rule.', '$ref' => '#/components/schemas/ScalingRule', 'example' => ''], + ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"{\\\\\\\\\\\\\\"clusterId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"c-b7be171f1928****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operationId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"op-61126efe629d****\\\\\\\\\\\\\\"}\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'RunApiTemplate', - 'summary' => 'Calls an API operation template.', - ], - 'CreateNodeGroup' => [ - 'summary' => 'Creates a node group.', - 'description' => '创建节点组。', - 'methods' => [ - 'get', - 'post', + 'title' => 'GetAutoScalingActivity', + 'summary' => 'Retrieves the details of an Auto Scaling activity.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:26.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAutoScalingActivity'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetAutoScalingActivity', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivity\\": {\\n \\"ActivityId\\": \\"asa-36373b084d6b4b13aa50f4129a9e****\\",\\n \\"RuleName\\": \\"scaling-out-memory\\",\\n \\"ActivityType\\": \\"SCALE_OUT\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupName\\": \\"task-01\\",\\n \\"StartTime\\": 1639714634819,\\n \\"EndTime\\": 1639715634819,\\n \\"ActivityState\\": \\"IN_PROGRESS\\",\\n \\"ExpectNum\\": 10,\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"Description\\": \\"clusterId not exist\\",\\n \\"ActivityResults\\": [\\n {\\n \\"InstanceId\\": \\"i-bp1cudc25w2bfwl5****\\"\\n }\\n ],\\n \\"PolicyType\\": \\"AUTO\\",\\n \\"RuleDetail\\": {\\n \\"RuleName\\": \\"scalingByYarnMemory\\",\\n \\"TriggerType\\": \\"TIME_TRIGGER\\",\\n \\"ActivityType\\": \\"SCALE_IN\\",\\n \\"AdjustmentValue\\": 100,\\n \\"TimeTrigger\\": {\\n \\"LaunchTime\\": \\"17:30\\",\\n \\"EndTime\\": 1639714800000,\\n \\"RecurrenceType\\": \\"WEEKLY\\",\\n \\"StartTime\\": 1639714800000,\\n \\"RecurrenceValue\\": \\"MON,FRI,SUN\\",\\n \\"LaunchExpirationTime\\": 600\\n },\\n \\"MetricsTrigger\\": {\\n \\"CoolDownInterval\\": 300,\\n \\"TimeConstraints\\": [\\n {\\n \\"EndTime\\": \\"23:59\\",\\n \\"StartTime\\": \\"06:00\\"\\n }\\n ],\\n \\"EvaluationCount\\": 2,\\n \\"TimeWindow\\": 30,\\n \\"Conditions\\": [\\n {\\n \\"MetricName\\": \\"yarn_resourcemanager_queue_PendingVCores\\",\\n \\"ComparisonOperator\\": \\"LT\\",\\n \\"Statistics\\": \\"AVG\\",\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"IT\\",\\n \\"Key\\": \\"department\\"\\n }\\n ],\\n \\"Threshold\\": 12.5\\n }\\n ],\\n \\"ConditionLogicOperator\\": \\"Or\\"\\n },\\n \\"MinAdjustmentValue\\": 1\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'GetAutoScalingPolicy' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceSNGGYA', - ], + 'abilityTreeCode' => '132560', + 'abilityTreeNodes' => ['FEATUREemapreduceB95X9C'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'C-E525E04F3914****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'NodeGroup', + 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '节点组信息', - 'description' => 'The information about the node group.'."\n", - 'required' => true, - '$ref' => '#/components/schemas/NodeGroupConfig', - ], + 'schema' => ['title' => '', 'description' => 'The node group ID.', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ - 'NodeGroupId' => [ - 'description' => 'The ID of the machine group.'."\n", - 'type' => 'string', - 'example' => 'G-21E39B11837E****', - 'title' => '节点组id', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', + 'ScalingPolicy' => [ + 'description' => 'The Auto Scaling policy.', + 'type' => 'object', + 'properties' => [ + 'NodeGroupId' => ['title' => '', 'description' => 'The node group ID.', 'type' => 'string', 'example' => 'ng-869471354ecd****'], + 'ClusterId' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], + 'ScalingRules' => [ + 'title' => '', + 'description' => 'The list of scaling rules.', + 'type' => 'array', + 'items' => [ + 'description' => 'A scaling rule.', + 'type' => 'object', + 'properties' => [ + 'RuleName' => ['title' => '', 'description' => 'The name of the scaling rule.', 'type' => 'string', 'example' => 'scaling-out-memory'], + 'TriggerType' => ['title' => '', 'description' => 'The type of the scaling rule. Valid values:'."\n" + ."\n" + .'- TIME\\_TRIGGER: a time-based scaling rule.'."\n" + ."\n" + .'- METRICS\\_TRIGGER: a metric-based scaling rule.', 'type' => 'string', 'example' => 'TIME_TRIGGER'], + 'ActivityType' => ['title' => '', 'description' => 'The type of the scaling activity. Valid values:'."\n" + ."\n" + .'- SCALE\\_OUT: scale-out.'."\n" + ."\n" + .'- SCALE\\_IN: scale-in.', 'type' => 'string', 'example' => 'SCALE_OUT'], + 'AdjustmentType' => ['title' => '', 'description' => 'The adjustment type.', 'type' => 'string', 'example' => 'CHANGE_IN_CAPACITY'], + 'AdjustmentValue' => ['title' => '', 'description' => 'The adjustment value. The value must be a positive integer. It specifies the number of instances to add or remove.', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'TimeTrigger' => ['title' => '', 'description' => 'The description of the time-based scaling rule.', '$ref' => '#/components/schemas/TimeTrigger', 'example' => ''], + 'MetricsTrigger' => ['title' => '', 'description' => 'The description of the metric-based scaling rule.', '$ref' => '#/components/schemas/MetricsTrigger', 'example' => ''], + 'CollationTimeZone' => ['$ref' => '#/components/schemas/CollationTimeZone', 'description' => '', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + 'ScalingPolicyId' => ['title' => '', 'description' => 'The scaling policy ID.', 'type' => 'string', 'example' => 'asp-asduwe23znl***'], + 'Constraints' => [ + 'title' => '', + 'description' => 'The constraints on the minimum and maximum number of nodes in the node group.', + 'type' => 'object', + 'properties' => [ + 'MaxCapacity' => ['title' => '', 'description' => 'The maximum number of nodes in the node group.'."\n" + .'Default value: 2000.', 'type' => 'integer', 'format' => 'int32', 'example' => '2000'], + 'MinCapacity' => ['title' => '', 'description' => 'The minimum number of nodes in the node group.'."\n" + .'Default value: 0.', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + ], + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"NodeGroupId\\": \\"G-21E39B11837E****\\",\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateNodeGroupResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <NodeGroupId>G-21E39B11837E****</NodeGroupId>\\n</CreateNodeGroupResponse>","errorExample":""}]', - 'title' => 'CreateNodeGroup', - ], - 'ListNodeGroups' => [ - 'methods' => [ - 'get', - 'post', + 'title' => 'GetAutoScalingPolicy', + 'summary' => 'Retrieves the details of a custom Auto Scaling policy.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:25.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-03-15T06:40:28.000Z', 'description' => 'Response parameters changed, Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAutoScalingPolicy'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetAutoScalingPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingPolicy\\": {\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ScalingRules\\": [\\n {\\n \\"RuleName\\": \\"scaling-out-memory\\",\\n \\"TriggerType\\": \\"TIME_TRIGGER\\",\\n \\"ActivityType\\": \\"SCALE_OUT\\",\\n \\"AdjustmentType\\": \\"CHANGE_IN_CAPACITY\\",\\n \\"AdjustmentValue\\": 100,\\n \\"TimeTrigger\\": {\\n \\"LaunchTime\\": \\"17:30\\",\\n \\"EndTime\\": 1639714800000,\\n \\"RecurrenceType\\": \\"WEEKLY\\",\\n \\"StartTime\\": 1639714800000,\\n \\"RecurrenceValue\\": \\"MON,FRI,SUN\\",\\n \\"LaunchExpirationTime\\": 600\\n },\\n \\"MetricsTrigger\\": {\\n \\"CoolDownInterval\\": 300,\\n \\"TimeConstraints\\": [\\n {\\n \\"EndTime\\": \\"23:59\\",\\n \\"StartTime\\": \\"06:00\\"\\n }\\n ],\\n \\"EvaluationCount\\": 2,\\n \\"TimeWindow\\": 30,\\n \\"Conditions\\": [\\n {\\n \\"MetricName\\": \\"yarn_resourcemanager_queue_PendingVCores\\",\\n \\"ComparisonOperator\\": \\"LT\\",\\n \\"Statistics\\": \\"AVG\\",\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"IT\\",\\n \\"Key\\": \\"department\\"\\n }\\n ],\\n \\"Threshold\\": 12.5\\n }\\n ],\\n \\"ConditionLogicOperator\\": \\"Or\\"\\n },\\n \\"CollationTimeZone\\": {\\n \\"TimeZone\\": \\"Asia/Shanghai\\",\\n \\"CurrentTimeOffset\\": \\"UTC+08:00\\"\\n }\\n }\\n ],\\n \\"ScalingPolicyId\\": \\"asp-asduwe23znl***\\",\\n \\"Constraints\\": {\\n \\"MaxCapacity\\": 2000,\\n \\"MinCapacity\\": 0\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'GetCluster' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7041,284 +4126,94 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '13702', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceSNGGYA', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '13223', + 'abilityTreeNodes' => ['FEATUREemapreduceGZP0FZ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => 'The ID of the region in which you want to create the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], - ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'Marks the current position where reading starts. If you set this value to null, you can start from the beginning.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - ], - [ - 'name' => 'MaxResults', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The number of maximum number of records to obtain at a time. Valid values: 1 to 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], - ], - [ - 'name' => 'NodeGroupIds', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '节点组ID列表。', - 'description' => 'The IDs of node groups. Valid values of the number of array elements N: 1 to 100.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the node group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ng-869471354ecd****', - ], - 'required' => false, - 'example' => 'c-b933c5aac8fe****', - 'maxItems' => 100, - ], - ], - [ - 'name' => 'NodeGroupNames', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '节点组名称列表。', - 'description' => 'The list of node group names. Valid values of the number of array elements N: 1 to 100.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of the node group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'core-1', - ], - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - 'maxItems' => 100, - ], - ], - [ - 'name' => 'NodeGroupTypes', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '节点组类型列表。', - 'description' => 'The list of node group types. Valid values of the number of array elements N: 1 to 100.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The type of the node group. Valid values:'."\n" - ."\n" - .'* MASTER: master node group'."\n" - .'* CORE: core node group'."\n" - .'* TASK: task node group'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CORE', - ], - 'required' => false, - 'example' => '20', - 'maxItems' => 100, - ], - ], - [ - 'name' => 'NodeGroupStates', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '节点组状态。', - 'description' => 'The status of the node group. Valid values of the number of array elements N: 1 to 100.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The status of the node group. Valid values:'."\n" - ."\n" - .'* PROVISIONING: The instance is being initialized.'."\n" - .'* INCREASING: The cluster is being scaled out.'."\n" - .'* DECREASING: The instance is being scaled in.'."\n" - .'* SUSPENDED: suspended.'."\n" - .'* RUNNING: The job connector is running.'."\n" - .'* RECONFIGURING: The configuration is being changed.'."\n" - .'* TERMINATING: The instance is being terminated.'."\n" - .'* TERMINATED: The instance is terminated.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'RESIZING', - ], - 'required' => false, - 'example' => '["CORE"]', - 'maxItems' => 50, - ], - ], - [ - 'name' => 'ZoneId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the cluster.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The returned data.'."\n", + 'title' => '', + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'NodeGroups' => [ - 'description' => 'The array of node groups.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The node group.'."\n", - '$ref' => '#/components/schemas/NodeGroup', - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'Returns the location of the data that was read. Empty indicates that the data has been read.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The maximum number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'Cluster' => ['description' => 'The details of the cluster.'."\n", '$ref' => '#/components/schemas/Cluster', 'title' => '', 'example' => ''], + 'RequestId' => ['title' => '', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Cluster\\": {\\n \\"ClusterState\\": \\"RUNNING\\",\\n \\"Description\\": \\"EMR cluster\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"ReadyTime\\": 1592837465784,\\n \\"EndTime\\": 1592837465784,\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"CreateTime\\": 1592837465784,\\n \\"EmrDefaultRole\\": \\"AliyunEMRDefaultRole\\",\\n \\"ClusterType\\": \\"DATALAKE\\",\\n \\"DeletionProtection\\": false,\\n \\"ReleaseVersion\\": \\"EMR-5.8.0\\",\\n \\"SubscriptionConfig\\": {\\n \\"AutoRenewDurationUnit\\": \\"Month\\",\\n \\"AutoRenew\\": true,\\n \\"PaymentDurationUnit\\": \\"Month\\",\\n \\"PaymentDuration\\": 12,\\n \\"AutoRenewDuration\\": 12\\n },\\n \\"DeployMode\\": \\"HA\\",\\n \\"SecurityMode\\": \\"NORMAL\\",\\n \\"NodeAttributes\\": {\\n \\"KeyPairName\\": \\"emr_login\\",\\n \\"VpcId\\": \\"vpc-bp1tgey2p0ytxmdo5****\\",\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"SecurityGroupId\\": \\"sg-hp3abbae8lb6lmb1****\\",\\n \\"RamRole\\": \\"AliyunECSInstanceForEMRRole\\"\\n },\\n \\"ClusterName\\": \\"emrtest\\",\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ExpireTime\\": 1592837465784,\\n \\"StateChangeReason\\": {\\n \\"Message\\": \\"The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.\\",\\n \\"Code\\": \\"OutOfStock\\"\\n },\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"IT\\",\\n \\"Key\\": \\"department\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'GetCluster', + 'summary' => 'Obtains the details of a cluster.', + 'changeSet' => [ + ['createdAt' => '2023-12-07T07:46:46.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-10-23T12:59:41.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-06-10T10:52:10.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-10-12T06:06:54.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-10-12T06:06:54.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetCluster'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"NodeGroups\\": [\\n {\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupName\\": \\"core-1\\",\\n \\"NodeGroupType\\": \\"CORE\\",\\n \\"RunningNodeCount\\": 3,\\n \\"InstanceTypes\\": [\\n \\"\\"\\n ],\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"DataDisks\\": [\\n {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 80,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 5\\n }\\n ],\\n \\"SystemDisk\\": {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 60,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 1\\n },\\n \\"NodeGroupState\\": \\"CREATED\\",\\n \\"AdditionalSecurityGroupIds\\": [\\n \\"\\"\\n ],\\n \\"WithPublicIp\\": false,\\n \\"VSwitchIds\\": [\\n \\"\\"\\n ],\\n \\"SpotStrategy\\": \\"NoSpot\\",\\n \\"SpotBidPrices\\": [\\n {\\n \\"InstanceType\\": \\"ecs.g7.2xlarge\\",\\n \\"BidPrice\\": 1000\\n }\\n ],\\n \\"StateChangeReason\\": {\\n \\"Code\\": \\"MissingParameter\\",\\n \\"Message\\": \\"The instance type is required.\\"\\n },\\n \\"MinimalNodeCount\\": 0,\\n \\"MaximalNodeCount\\": 200,\\n \\"GracefulShutdown\\": false,\\n \\"SpotInstanceRemedy\\": true,\\n \\"CompensateWithOnDemand\\": true,\\n \\"NodeResizeStrategy\\": \\"PRIORITY\\",\\n \\"CostOptimizedConfig\\": {\\n \\"OnDemandBaseCapacity\\": 80,\\n \\"OnDemandPercentageAboveBaseCapacity\\": 80,\\n \\"SpotInstancePools\\": 2\\n },\\n \\"DeploymentSetStrategy\\": \\"NONE\\",\\n \\"AutoCompensateState\\": true,\\n \\"ExtraAttributes\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"AckConfig\\": {\\n \\"AckInstanceId\\": \\"\\",\\n \\"NodeSelectors\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"Tolerations\\": [\\n {\\n \\"Key\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Operator\\": \\"\\",\\n \\"Effect\\": \\"\\"\\n }\\n ],\\n \\"Namespace\\": \\"\\",\\n \\"RequestCpu\\": 0,\\n \\"RequestMemory\\": 0,\\n \\"LimitCpu\\": 0,\\n \\"LimitMemory\\": 0,\\n \\"DataDiskStorageClass\\": \\"\\",\\n \\"DataDiskSize\\": 0,\\n \\"CustomLabels\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"CustomAnnotations\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"MountHostCgroup\\": true,\\n \\"NodeAffinity\\": \\"\\",\\n \\"PodAntiAffinity\\": \\"\\",\\n \\"PodAffinity\\": \\"\\",\\n \\"PreStartCommand\\": [\\n \\"\\"\\n ],\\n \\"Pvcs\\": [\\n {\\n \\"DataDiskStorageClass\\": \\"\\",\\n \\"DataDiskSize\\": 0,\\n \\"Path\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"Volumes\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Path\\": \\"\\",\\n \\"Type\\": \\"\\"\\n }\\n ],\\n \\"VolumeMounts\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Path\\": \\"\\"\\n }\\n ]\\n },\\n \\"IaaSType\\": \\"\\",\\n \\"PrivatePoolOptions\\": {\\n \\"PrivatePoolIds\\": [\\n \\"\\"\\n ],\\n \\"MatchCriteria\\": \\"Open\\"\\n },\\n \\"Status\\": \\"CREATED\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","errorExample":""},{"type":"xml","example":"<ListNodeGroupsResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <MaxResults>20</MaxResults>\\n <NextToken>2</NextToken>\\n <TotalCount>1000</TotalCount>\\n <NodeGroups>\\n <NodeGroupId>G-21E39B11837E****</NodeGroupId>\\n <NodeGroupType>CORE</NodeGroupType>\\n <NodeGroupName>core-1</NodeGroupName>\\n <PaymentType>Subscription</PaymentType>\\n <NodeCount>2</NodeCount>\\n <InstanceTypes>ecs.g6e.xlarge</InstanceTypes>\\n <NodeStatus>Running</NodeStatus>\\n <DataDisks/>\\n <SystemDisk/>\\n <VSwitchIds>vsw-bp1opd2qejvhsabfe****</VSwitchIds>\\n </NodeGroups>\\n</ListNodeGroupsResponse>","errorExample":""}]', - 'title' => 'ListNodeGroups', - 'summary' => 'Queries the list of node groups in an EMR cluster.', ], - 'GetNodeGroup' => [ - 'description' => '获取节点组详情。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetClusterCloneMeta' => [ + 'summary' => 'Retrieves the clone metadata of an E-MapReduce (EMR) cluster. You can use this metadata to quickly create a cluster by calling the CreateCluster operation.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7327,640 +4222,717 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce51LGQ1', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '150379', + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S', 'FEATUREemapreduceGZP0FZ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The ID of the region in which you want to create the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The ID of the cluster.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], - ], - [ - 'name' => 'NodeGroupId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点组ID。', - 'description' => 'The ID of the node group.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ng-869471354ecd****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'NodeGroup' => [ - 'description' => 'The node group.'."\n", - '$ref' => '#/components/schemas/NodeGroup', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'ClusterCloneMeta' => [ + 'description' => 'The clone metadata of the cluster.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'ResourceGroupId' => ['title' => '', 'description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-acfmzabjyop****'], + 'ClusterState' => ['title' => '', 'description' => 'The state of the cluster. Valid values:'."\n" + ."\n" + .'- STARTING: The cluster is starting.'."\n" + ."\n" + .'- START\\_FAILED: The cluster failed to start.'."\n" + ."\n" + .'- BOOTSTRAPPING: The cluster is performing bootstrap actions.'."\n" + ."\n" + .'- RUNNING: The cluster is running.'."\n" + ."\n" + .'- TERMINATING: The cluster is being terminated.'."\n" + ."\n" + .'- TERMINATED: The cluster is terminated.'."\n" + ."\n" + .'- TERMINATED\\_WITH\\_ERRORS: The cluster is terminated due to an exception.'."\n" + ."\n" + .'- TERMINATE\\_FAILED: The cluster failed to be terminated.', 'type' => 'string', 'example' => 'RUNNING'], + 'ClusterId' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'example' => 'c-b933c5aac7f7****'], + 'ClusterName' => ['title' => '', 'description' => 'The cluster name.', 'type' => 'string', 'example' => 'emrtest'], + 'ClusterType' => ['title' => '', 'description' => 'The type of the cluster. Valid values:'."\n" + ."\n" + .'- DATALAKE: data lake.'."\n" + ."\n" + .'- OLAP: data analytics.'."\n" + ."\n" + .'- DATAFLOW: real-time data stream.'."\n" + ."\n" + .'- DATASERVING: data service.'."\n" + ."\n" + .'- CUSTOM: custom cluster.'."\n" + ."\n" + .'- HADOOP: Hadoop.', 'type' => 'string', 'example' => 'DATALAKE'], + 'PaymentType' => ['title' => '', 'description' => 'The billing method. Valid values:'."\n" + ."\n" + .'- PayAsYouGo: pay-as-you-go.'."\n" + ."\n" + .'- Subscription: subscription.', 'type' => 'string', 'example' => 'PayAsYouGo'], + 'SubscriptionConfig' => ['title' => '', 'description' => 'The subscription configuration.', '$ref' => '#/components/schemas/SubscriptionConfig', 'example' => ''], + 'ReleaseVersion' => ['title' => '', 'description' => 'The EMR release.', 'type' => 'string', 'example' => 'EMR-5.6.0'], + 'DeployMode' => ['title' => '', 'description' => 'The deployment mode of applications in the cluster. Valid values:'."\n" + ."\n" + .'- NORMAL: standard deployment.'."\n" + ."\n" + .'- HA: high-availability deployment.', 'type' => 'string', 'example' => 'HA'], + 'SecurityMode' => ['title' => '', 'description' => 'The Kerberos security mode of the cluster. Valid values:'."\n" + ."\n" + .'- NORMAL: The Kerberos mode is disabled.'."\n" + ."\n" + .'- KERBEROS: The Kerberos mode is enabled.', 'type' => 'string', 'example' => 'NORMAL'], + 'NodeAttributes' => ['title' => '', 'description' => 'The node attributes.', '$ref' => '#/components/schemas/NodeAttributes', 'example' => ''], + 'Tags' => [ + 'description' => 'The list of cluster tags.', + 'type' => 'array', + 'items' => ['description' => 'A tag.', '$ref' => '#/components/schemas/Tag', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', + ], + 'EmrDefaultRole' => ['title' => '', 'description' => 'The EMR server role.', 'type' => 'string', 'example' => 'AliyunEMRDefaultRole'], + 'Applications' => [ + 'title' => '', + 'description' => 'The cluster applications.', + 'type' => 'array', + 'items' => ['description' => 'An application.', '$ref' => '#/components/schemas/Application', 'title' => '', 'example' => ''], + 'example' => '', + ], + 'ApplicationConfigs' => [ + 'title' => '', + 'description' => 'The modified application configuration items.', + 'type' => 'array', + 'items' => ['description' => 'A configuration item.', '$ref' => '#/components/schemas/ApplicationConfig', 'title' => '', 'example' => ''], + 'example' => '', + ], + 'NodeGroups' => [ + 'description' => 'An array of node group configurations. The number of array elements N can be from 1 to 100.', + 'type' => 'array', + 'items' => ['description' => 'A node group.', '$ref' => '#/components/schemas/NodeGroup', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', + ], + 'BootstrapScripts' => [ + 'description' => 'An array of bootstrap scripts. The number of array elements N can be from 1 to 10.', + 'type' => 'array', + 'items' => ['description' => 'A bootstrap script.', '$ref' => '#/components/schemas/Script', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', + ], + 'ExistCloneConfig' => ['description' => 'Indicates whether the application configurations can be passed in when you clone a HADOOP cluster. Valid values:'."\n" + ."\n" + .'- False: Not supported.'."\n" + ."\n" + .'- True: Supported.', 'type' => 'boolean', 'title' => '', 'example' => 'True'], + 'ScalingPolicies' => [ + 'description' => 'The Auto Scaling policies for each node group in the cluster.', + 'type' => 'array', + 'items' => [ + 'description' => 'An Auto Scaling policy.', + 'type' => 'object', + 'properties' => [ + 'NodeGroupId' => ['title' => '', 'description' => 'The node group ID.', 'type' => 'string', 'example' => 'ng-869471354ecd****'], + 'ClusterId' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], + 'ScalingRules' => [ + 'title' => '', + 'description' => 'The list of scaling rules.', + 'type' => 'array', + 'items' => [ + 'description' => 'A scaling rule.', + 'type' => 'object', + 'properties' => [ + 'RuleName' => ['title' => '', 'description' => 'The name of the scaling rule.', 'type' => 'string', 'example' => 'scaling-out-memory'], + 'TriggerType' => ['title' => '', 'description' => 'The type of the scaling rule. This parameter is required. Valid values:'."\n" + ."\n" + .'- TIME\\_TRIGGER: time-based scaling.'."\n" + ."\n" + .'- METRICS\\_TRIGGER: metric-based scaling.', 'type' => 'string', 'example' => 'TIME_TRIGGER'], + 'ActivityType' => ['title' => '', 'description' => 'The type of the scaling activity. This parameter is required. Valid values:'."\n" + ."\n" + .'- SCALE\\_OUT: scale-out.'."\n" + ."\n" + .'- SCALE\\_IN: scale-in.', 'type' => 'string', 'example' => 'SCALE_OUT'], + 'AdjustmentValue' => ['title' => '', 'description' => 'The adjustment value. This parameter is required. It must be a positive integer. It specifies the number of instances to add or remove.', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'TimeTrigger' => ['title' => '', 'description' => 'The description of the time-based scaling rule.', '$ref' => '#/components/schemas/TimeTrigger', 'example' => ''], + 'MetricsTrigger' => ['title' => '', 'description' => 'The description of the metric-based scaling rule.', '$ref' => '#/components/schemas/MetricsTrigger', 'example' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + 'ScalingPolicyId' => ['title' => '', 'description' => 'The scaling policy ID.', 'type' => 'string', 'example' => 'asp-asduwe23znl***'], + 'Constraints' => [ + 'title' => '', + 'description' => 'The constraints on the maximum and minimum number of nodes in the node group.', + 'type' => 'object', + 'properties' => [ + 'MaxCapacity' => ['title' => '', 'description' => 'The maximum number of nodes in the node group. Default value: 2000.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'MinCapacity' => ['title' => '', 'description' => 'The minimum number of nodes in the node group. Default value: 0.', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], + 'MaxOnDemandCapacity' => ['title' => '', 'description' => 'The maximum number of pay-as-you-go instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + 'example' => '', + ], + 'ScalingPolicyType' => ['title' => '', 'description' => 'The type of the elastic policy.', 'type' => 'string', 'example' => ''], + 'NodeGroupName' => ['description' => 'The node group name.', 'type' => 'string', 'title' => '', 'example' => 'emr-etltask'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'DeletionProtection' => ['description' => 'Indicates whether deletion protection is enabled for the cluster. Valid values:'."\n" + ."\n" + .'- true: Deletion protection is enabled.'."\n" + ."\n" + .'- false: Deletion protection is disabled.'."\n" + ."\n" + .'Default value: false.', 'type' => 'boolean', 'title' => '', 'example' => 'false'], + 'CollationTimeZone' => ['$ref' => '#/components/schemas/CollationTimeZone', 'description' => '', 'title' => '', 'example' => ''], + ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"NodeGroup\\": {\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupName\\": \\"core-1\\",\\n \\"NodeGroupType\\": \\"CORE\\",\\n \\"RunningNodeCount\\": 3,\\n \\"InstanceTypes\\": [\\n \\"\\"\\n ],\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"DataDisks\\": [\\n {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 80,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 5\\n }\\n ],\\n \\"SystemDisk\\": {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 60,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 1\\n },\\n \\"NodeGroupState\\": \\"CREATED\\",\\n \\"AdditionalSecurityGroupIds\\": [\\n \\"\\"\\n ],\\n \\"WithPublicIp\\": false,\\n \\"VSwitchIds\\": [\\n \\"\\"\\n ],\\n \\"SpotStrategy\\": \\"NoSpot\\",\\n \\"SpotBidPrices\\": [\\n {\\n \\"InstanceType\\": \\"ecs.g7.2xlarge\\",\\n \\"BidPrice\\": 1000\\n }\\n ],\\n \\"StateChangeReason\\": {\\n \\"Code\\": \\"MissingParameter\\",\\n \\"Message\\": \\"The instance type is required.\\"\\n },\\n \\"MinimalNodeCount\\": 0,\\n \\"MaximalNodeCount\\": 200,\\n \\"GracefulShutdown\\": false,\\n \\"SpotInstanceRemedy\\": true,\\n \\"CompensateWithOnDemand\\": true,\\n \\"NodeResizeStrategy\\": \\"PRIORITY\\",\\n \\"CostOptimizedConfig\\": {\\n \\"OnDemandBaseCapacity\\": 80,\\n \\"OnDemandPercentageAboveBaseCapacity\\": 80,\\n \\"SpotInstancePools\\": 2\\n },\\n \\"DeploymentSetStrategy\\": \\"NONE\\",\\n \\"AutoCompensateState\\": true,\\n \\"ExtraAttributes\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"AckConfig\\": {\\n \\"AckInstanceId\\": \\"\\",\\n \\"NodeSelectors\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"Tolerations\\": [\\n {\\n \\"Key\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Operator\\": \\"\\",\\n \\"Effect\\": \\"\\"\\n }\\n ],\\n \\"Namespace\\": \\"\\",\\n \\"RequestCpu\\": 0,\\n \\"RequestMemory\\": 0,\\n \\"LimitCpu\\": 0,\\n \\"LimitMemory\\": 0,\\n \\"DataDiskStorageClass\\": \\"\\",\\n \\"DataDiskSize\\": 0,\\n \\"CustomLabels\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"CustomAnnotations\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"MountHostCgroup\\": true,\\n \\"NodeAffinity\\": \\"\\",\\n \\"PodAntiAffinity\\": \\"\\",\\n \\"PodAffinity\\": \\"\\",\\n \\"PreStartCommand\\": [\\n \\"\\"\\n ],\\n \\"Pvcs\\": [\\n {\\n \\"DataDiskStorageClass\\": \\"\\",\\n \\"DataDiskSize\\": 0,\\n \\"Path\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"Volumes\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Path\\": \\"\\",\\n \\"Type\\": \\"\\"\\n }\\n ],\\n \\"VolumeMounts\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Path\\": \\"\\"\\n }\\n ]\\n },\\n \\"IaaSType\\": \\"\\",\\n \\"PrivatePoolOptions\\": {\\n \\"PrivatePoolIds\\": [\\n \\"\\"\\n ],\\n \\"MatchCriteria\\": \\"Open\\"\\n },\\n \\"Status\\": \\"CREATED\\"\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<GetNodeGroupResponse>\\n <NodeGroup>\\n </NodeGroup>\\n</GetNodeGroupResponse>","errorExample":""}]', - 'title' => 'GetNodeGroup', - 'summary' => 'You can call this operation to obtain the details of a node group.', - ], - 'IncreaseNodes' => [ - 'methods' => [ - 'get', - 'post', + 'title' => 'GetClusterCloneMeta', + 'changeSet' => [ + ['createdAt' => '2025-01-16T14:05:32.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-11-28T11:46:08.000Z', 'description' => 'Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetClusterCloneMeta'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetClusterCloneMeta', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'translator' => 'manual', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ClusterCloneMeta\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"ClusterState\\": \\"RUNNING\\",\\n \\"ClusterId\\": \\"c-b933c5aac7f7****\\",\\n \\"ClusterName\\": \\"emrtest\\",\\n \\"ClusterType\\": \\"DATALAKE\\",\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"SubscriptionConfig\\": {\\n \\"AutoRenewDurationUnit\\": \\"Month\\",\\n \\"AutoRenew\\": true,\\n \\"PaymentDurationUnit\\": \\"Month\\",\\n \\"PaymentDuration\\": 12,\\n \\"AutoRenewDuration\\": 12\\n },\\n \\"ReleaseVersion\\": \\"EMR-5.6.0\\",\\n \\"DeployMode\\": \\"HA\\",\\n \\"SecurityMode\\": \\"NORMAL\\",\\n \\"NodeAttributes\\": {\\n \\"KeyPairName\\": \\"emr_login\\",\\n \\"VpcId\\": \\"vpc-bp1tgey2p0ytxmdo5****\\",\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"SecurityGroupId\\": \\"sg-hp3abbae8lb6lmb1****\\",\\n \\"RamRole\\": \\"AliyunECSInstanceForEMRRole\\"\\n },\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"IT\\",\\n \\"Key\\": \\"department\\"\\n }\\n ],\\n \\"EmrDefaultRole\\": \\"AliyunEMRDefaultRole\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationName\\": \\"SPARK\\"\\n }\\n ],\\n \\"ApplicationConfigs\\": [\\n {\\n \\"ConfigFileName\\": \\"hdfs-site.xml\\",\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ConfigItemKey\\": \\"dfs.namenode.checkpoint.period\\",\\n \\"NodeGroupName\\": \\"core-1\\",\\n \\"ConfigScope\\": \\"NODE_GROUP\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"ConfigItemValue\\": \\"3600s\\"\\n }\\n ],\\n \\"NodeGroups\\": [\\n {\\n \\"WithPublicIp\\": true,\\n \\"SpotInstanceRemedy\\": false,\\n \\"DataDisks\\": [\\n {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 80,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 5\\n }\\n ],\\n \\"CompensateWithOnDemand\\": true,\\n \\"NodeGroupState\\": \\"RESIZING\\",\\n \\"SystemDisk\\": {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 60,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 1\\n },\\n \\"PrivatePoolOptions\\": {\\n \\"MatchCriteria\\": \\"Open\\",\\n \\"PrivatePoolIds\\": [\\n \\"crp-xxxx\\"\\n ]\\n },\\n \\"NodeGroupType\\": \\"MASTER\\",\\n \\"PaymentType\\": \\"Subscription\\",\\n \\"InstanceTypes\\": [\\n \\"ecs.g7.2xlarge\\"\\n ],\\n \\"CostOptimizedConfig\\": {\\n \\"OnDemandBaseCapacity\\": 80,\\n \\"OnDemandPercentageAboveBaseCapacity\\": 80,\\n \\"SpotInstancePools\\": 2\\n },\\n \\"GracefulShutdown\\": false,\\n \\"SpotStrategy\\": \\"NoSpot\\",\\n \\"StateChangeReason\\": {\\n \\"Message\\": \\"The instance type is required.\\",\\n \\"Code\\": \\"UserRequest\\"\\n },\\n \\"Status\\": \\"CREATED\\",\\n \\"ZoneId\\": \\"cn-hangzhou\\",\\n \\"NodeGroupName\\": \\"core-1\\",\\n \\"VSwitchIds\\": [\\n \\"vsw-bp1opd2qejvhsabfe****\\"\\n ],\\n \\"SpotBidPrices\\": [\\n {\\n \\"BidPrice\\": 1000,\\n \\"InstanceType\\": \\"ecs.g7.2xlarge\\"\\n }\\n ],\\n \\"NodeResizeStrategy\\": \\"PRIORITY\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"AdditionalSecurityGroupIds\\": [\\n \\"\\"\\n ],\\n \\"DeploymentSetStrategy\\": \\"NONE\\",\\n \\"RunningNodeCount\\": 3\\n }\\n ],\\n \\"BootstrapScripts\\": [\\n {\\n \\"ScriptPath\\": \\"oss://bucket1/update_hosts.sh\\",\\n \\"ScriptArgs\\": \\"-host 10.0.10.5 -m 30\\",\\n \\"ExecutionFailStrategy\\": \\"FAILED_CONTINUE\\",\\n \\"Priority\\": 1,\\n \\"ScriptName\\": \\"脚本名-1\\",\\n \\"ExecutionMoment\\": \\"BEFORE_INSTALL\\",\\n \\"NodeSelector\\": {\\n \\"NodeGroupTypes\\": [\\n \\"MASTER\\"\\n ],\\n \\"NodeGroupName\\": \\"master-1\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupNames\\": [\\n \\"master-1\\"\\n ],\\n \\"NodeSelectType\\": \\"CLUSTER\\",\\n \\"NodeGroupIds\\": [\\n \\"ng-869471354ecd****\\"\\n ],\\n \\"NodeNames\\": [\\n \\"master-1-1\\"\\n ]\\n }\\n }\\n ],\\n \\"ExistCloneConfig\\": true,\\n \\"ScalingPolicies\\": [\\n {\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ScalingRules\\": [\\n {\\n \\"RuleName\\": \\"scaling-out-memory\\",\\n \\"TriggerType\\": \\"TIME_TRIGGER\\",\\n \\"ActivityType\\": \\"SCALE_OUT\\",\\n \\"AdjustmentValue\\": 100,\\n \\"TimeTrigger\\": {\\n \\"LaunchTime\\": \\"17:30\\",\\n \\"EndTime\\": 1639714800000,\\n \\"RecurrenceType\\": \\"WEEKLY\\",\\n \\"StartTime\\": 1639714800000,\\n \\"RecurrenceValue\\": \\"MON,FRI,SUN\\",\\n \\"LaunchExpirationTime\\": 600\\n },\\n \\"MetricsTrigger\\": {\\n \\"CoolDownInterval\\": 300,\\n \\"TimeConstraints\\": [\\n {\\n \\"EndTime\\": \\"23:59\\",\\n \\"StartTime\\": \\"06:00\\"\\n }\\n ],\\n \\"EvaluationCount\\": 2,\\n \\"TimeWindow\\": 30,\\n \\"Conditions\\": [\\n {\\n \\"MetricName\\": \\"yarn_resourcemanager_queue_PendingVCores\\",\\n \\"ComparisonOperator\\": \\"LT\\",\\n \\"Statistics\\": \\"AVG\\",\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"IT\\",\\n \\"Key\\": \\"department\\"\\n }\\n ],\\n \\"Threshold\\": 12.5\\n }\\n ],\\n \\"ConditionLogicOperator\\": \\"Or\\"\\n }\\n }\\n ],\\n \\"ScalingPolicyId\\": \\"asp-asduwe23znl***\\",\\n \\"Constraints\\": {\\n \\"MaxCapacity\\": 200,\\n \\"MinCapacity\\": 50,\\n \\"MaxOnDemandCapacity\\": 200\\n },\\n \\"ScalingPolicyType\\": \\"\\",\\n \\"NodeGroupName\\": \\"emr-etltask\\"\\n }\\n ],\\n \\"DeletionProtection\\": false,\\n \\"CollationTimeZone\\": {\\n \\"TimeZone\\": \\"Asia/Shanghai\\",\\n \\"CurrentTimeOffset\\": \\"UTC+08:00\\"\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + ], + 'GetDoctorApplication' => [ + 'description' => 'get one doctor analysis app', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '20107', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce6STB1S', - ], + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The ID of the region in which you want to create the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The ID of the cluster.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], - ], - [ - 'name' => 'NodeGroupId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点组ID。', - 'description' => 'The ID of the node group. The target node group to which you want to scale out the cluster.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ng-869471354ecd****', - ], - ], - [ - 'name' => 'IncreaseNodeCount', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点数量。', - 'description' => 'The number of nodes to add.Valid values: 1 to 500.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '3', - ], - ], - [ - 'name' => 'AutoPayOrder', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '是否自动支付。', - 'description' => 'Indicates whether to automatically pay for the orders involved in the scale-out operation. This parameter takes effect only when the PaymentType parameter is set to Subscription. Valid values:'."\n" - ."\n" - .'* true: automatically pays for the order involved in this operation.'."\n" - .'* false: does not automatically pay for the orders involved in this operation.'."\n" - ."\n" - .'Default value: false'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'AutoRenew', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable auto-renewal for nodes. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false (default value)'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'PaymentDuration', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '付费时长。', - 'description' => 'The subscription duration. Valid values when the PaymentDurationUnit value is Month: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '12', - ], + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****', 'title' => ''], ], [ - 'name' => 'PaymentDurationUnit', + 'name' => 'AppId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '付费时长单位。', - 'description' => 'The unit of the subscription duration. Valid values:'."\n" - ."\n" - .'* Month'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Month', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the job that is submitted to YARN.', 'type' => 'string', 'required' => true, 'example' => 'application_1542620905989_****'], ], [ - 'name' => 'ApplicationConfigs', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '应用配置。', - 'description' => 'The application configurations. Number of elements in the array: 1 to 1,000.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The application configuration.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/ApplicationConfig', - ], - 'required' => false, - 'example' => 'Month', - 'maxItems' => 100, - ], - ], - [ - 'name' => 'MinIncreaseNodeCount', - 'in' => 'query', - 'schema' => [ - 'description' => 'The minimum number of nodes that can be added. Valid values: 1 to 500.'."\n" - ."\n" - .'* If you configure this parameter, and the number of available Elastic Compute Service (ECS) instances is less than the value of the IncreaseNodeCount parameter, the system tries to add nodes based on the number specified by the `MinIncreaseNodeCount` parameter. If the minimum number of nodes are added, the scale-out status is `PARTIAL_COMPLETED`.'."\n" - .'* If you do not configure this parameter, and the number of available ECS instances is less than the value of the IncreaseNodeCount parameter, the scale-out process fails. The scale-out status is `FAILED`.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'Promotions', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/Promotion', - ], - 'required' => false, - ], + 'schema' => ['description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.', 'type' => 'string', 'required' => true, 'example' => '2023-01-01', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The returned data.'."\n", + 'title' => '', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'OperationId' => [ - 'title' => '操作ID。', - 'description' => 'The ID of the operation.'."\n", - 'type' => 'string', - 'example' => 'op-13c37a77c505****', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'Data' => [ + 'description' => 'The details of the job.', + 'type' => 'object', + 'properties' => [ + 'AppName' => ['description' => 'The name of the job.', 'type' => 'string', 'example' => 'CREATE TABLE test...ranks=1 (Stage-1)', 'title' => ''], + 'Ids' => [ + 'description' => 'The job IDs. Multiple job IDs are separated with commas (,).', + 'type' => 'array', + 'items' => ['description' => 'The job ID in YARN.', 'type' => 'string', 'example' => 'application_1643475036865_******', 'title' => ''], + 'example' => 'null', + 'title' => '', + ], + 'User' => ['description' => 'The username that is used to submit the job.', 'type' => 'string', 'example' => 'DW', 'title' => ''], + 'StartTime' => ['description' => 'The time when the job was submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1677465658275', 'title' => ''], + 'EndTime' => ['description' => 'The end time of the job. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1666213200000', 'title' => ''], + 'Queue' => ['description' => 'The YARN queue to which the job was submitted.', 'type' => 'string', 'example' => 'DW', 'title' => ''], + 'Type' => ['description' => 'The type of the compute engine.', 'type' => 'string', 'example' => 'SPARK', 'title' => ''], + 'QuerySql' => ['description' => 'The SQL statement of the job. This parameter is left empty for non-SQL jobs.', 'type' => 'string', 'example' => 'SELECT id, count(1) FROM test group by id;', 'title' => ''], + 'Metrics' => [ + 'description' => 'The metric information.', + 'type' => 'object', + 'properties' => [ + 'VcoreUtilization' => [ + 'description' => 'The CPU utilization. The meaning is the same as that of the %CPU command in the output of the Linux top command.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.', + 'enumValueTitles' => [], + 'type' => 'string', + 'example' => 'vcoreUtilization', + 'title' => '', + ], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '32.1', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Ratio of used vcore to total available cores', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MemUtilization' => [ + 'description' => 'The memory usage.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.', + 'enumValueTitles' => [], + 'type' => 'string', + 'example' => 'memUtilization', + 'title' => '', + ], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '0.82', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Ratio of used memory to total available memory', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'VcoreSeconds' => [ + 'description' => 'The aggregated number of vCPUs that are allocated to the job multiplied by the number of seconds the job has been running.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.', + 'enumValueTitles' => [], + 'type' => 'string', + 'example' => 'vcoreSeconds', + 'title' => '', + ], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '11123', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'VCores * Sec', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Total vcore usage over time in seconds', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MemSeconds' => [ + 'description' => 'The aggregated amount of memory that is allocated to the job multiplied by the number of seconds the job has been running.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.', + 'enumValueTitles' => [], + 'type' => 'string', + 'example' => 'memSeconds', + 'title' => '', + ], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '12312312', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'MB * Sec', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Total memory usage over time in seconds', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Analysis' => [ + 'description' => 'The job analysis result.', + 'type' => 'object', + 'properties' => [ + 'Score' => ['description' => 'The score of the job.', 'type' => 'integer', 'format' => 'int32', 'example' => '67', 'title' => ''], + 'Suggestion' => ['description' => 'The suggestion for running the job.', 'type' => 'string', 'example' => '##### 当前节点:container'."\n" + .'##### 存在问题:'."\n" + .'最大内存利用率为7.75%,利用率较低'."\n" + ."\n\n" + .'尝试减小Tez Container内存,可通过hive.tez.container.size进行设置'."\n" + ."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'OperationDenied', - 'errorMessage' => 'The operation is invalid. %s', - ], - [ - 'errorCode' => 'OutOfStock', - 'errorMessage' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', - ], - [ - 'errorCode' => 'QuotaExceeded', - 'errorMessage' => 'Request fail due to quota exceed. %s', - ], - [ - 'errorCode' => 'AccountException', - 'errorMessage' => 'Account exception. %s', - ], - [ - 'errorCode' => 'ConcurrentModification', - 'errorMessage' => 'The request on %s failed due to multiple requests to change this object were submitted simultaneously. Wait a few minutes and try again.', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<IncreaseNodesResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <OperationId>64bedf6d-96e3-4780-95a0-4ad376ad****</OperationId>\\n</IncreaseNodesResponse>","errorExample":""}]', - 'title' => 'IncreaseNodes', - 'summary' => 'Scales out the node group.', - ], - 'DecreaseNodes' => [ - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"AppName\\": \\"CREATE TABLE test...ranks=1 (Stage-1)\\",\\n \\"Ids\\": [\\n \\"application_1643475036865_******\\"\\n ],\\n \\"User\\": \\"DW\\",\\n \\"StartTime\\": 1677465658275,\\n \\"EndTime\\": 1666213200000,\\n \\"Queue\\": \\"DW\\",\\n \\"Type\\": \\"SPARK\\",\\n \\"QuerySql\\": \\"SELECT id, count(1) FROM test group by id;\\",\\n \\"Metrics\\": {\\n \\"VcoreUtilization\\": {\\n \\"Name\\": \\"vcoreUtilization\\",\\n \\"Value\\": 32.1,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Ratio of used vcore to total available cores\\"\\n },\\n \\"MemUtilization\\": {\\n \\"Name\\": \\"memUtilization\\",\\n \\"Value\\": 0.82,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Ratio of used memory to total available memory\\"\\n },\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"Score\\": 67,\\n \\"Suggestion\\": \\"##### 当前节点:container\\\\n##### 存在问题:\\\\n最大内存利用率为7.75%,利用率较低\\\\n\\\\n\\\\n尝试减小Tez Container内存,可通过hive.tez.container.size进行设置\\\\n\\\\n\\"\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorApplication', + 'summary' => 'Obtains job analysis information on E-MapReduce (EMR) Doctor.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:23.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorApplication', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'translator' => 'manual', + ], + 'GetDoctorComputeSummary' => [ + 'description' => 'get one specific luster engine queue by <type, name>', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '49020', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceS8IPKA', - ], + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The ID of the region in which you want to create the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], - ], - [ - 'name' => 'NodeGroupId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点组ID。', - 'description' => 'The ID of the node group.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ng-869471354ecd****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'DecreaseNodeCount', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '缩容节点数量。', - 'description' => 'The number of nodes to scale out. The number of nodes to be scaled out. The value should be less than the number of surviving nodes in the current node group.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3', - ], + 'schema' => ['description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", 'type' => 'string', 'required' => true, 'example' => '2023-01-01', 'title' => ''], ], [ - 'name' => 'NodeIds', + 'name' => 'ComponentInfo', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '节点ID列表。', - 'description' => 'The array of node IDs. Valid values of array element N: 1 to 500.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i-bp1cudc25w2bfwl5****', + 'description' => 'The resource information, which is used to filter the results.'."\n", + 'type' => 'object', + 'properties' => [ + 'ComponentType' => ['description' => 'The resource type for filtering. Valid values:'."\n" + ."\n" + .'* engine: filters results by engine.'."\n" + .'* queue: filters results by queue.'."\n" + .'* cluster: displays the results at the cluster level.'."\n" + ."\n" + .'If you do not specify this parameter, the information at the cluster level is displayed by default.'."\n", 'type' => 'string', 'required' => false, 'example' => 'engine', 'title' => ''], + 'ComponentName' => ['description' => 'Set the filter condition name based on the value of ComponentType. For example, if you set ComponentType to queue, you can specify a specific queue name to obtain the resource usage of a specific queue.'."\n", 'type' => 'string', 'required' => false, 'example' => 'MAPREDUCE', 'title' => ''], ], 'required' => false, - 'example' => '["i-bp1cudc25w2bfwl5****"]', - ], - ], - [ - 'name' => 'BatchInterval', - 'in' => 'query', - 'schema' => [ - 'title' => '各批次间的冷却时间。', - 'description' => 'The cooldown interval between two batches.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'BatchSize', - 'in' => 'query', - 'schema' => [ - 'title' => '单批次并发下线台数。', - 'description' => 'The number of nodes to be removed in a single batch.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The data returned.'."\n", + 'title' => '', + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'OperationId' => [ - 'title' => '操作ID', - 'description' => 'Operation ID.'."\n", - 'type' => 'string', - 'example' => 'op-13c37a77c505****', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '44430037-E59A-3E66-A2B0-97D155346F22', + 'Data' => [ + 'description' => 'The details of resource usage.'."\n", + 'type' => 'object', + 'properties' => [ + 'Metrics' => [ + 'description' => 'The metrics.'."\n", + 'type' => 'object', + 'properties' => [ + 'VcoreSeconds' => [ + 'description' => 'The total CPU consumption over time in seconds.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'vcoreSeconds'."\n", 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1231412', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'VCores * Sec'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total vcore usage over time in seconds'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MemSeconds' => [ + 'description' => 'The total memory consumption over time in seconds.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'memSeconds'."\n", 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12312312', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB * Sec'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total memory usage over time in seconds'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'VcoreUtilization' => [ + 'description' => 'The average CPU utilization. The meaning is the same as the %CPU parameter in the output of the top command in Linux.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'vcoreUtilization'."\n", 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '32.1'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '“”'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of used vcore to total available cores'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MemUtilization' => [ + 'description' => 'The average memory usage.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'memUtilization'."\n", 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.82', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of used memory to total available memory'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'VcoreSecondsDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total CPU consumption over time in seconds.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'vcoreSecondsDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.22', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Growth ratio of virtual core usage in seconds per day', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MemSecondsDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total memory consumption over time in seconds.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'memSecondsDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.36', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Growth ratio of memory usage in seconds per day', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ReadSize' => [ + 'description' => 'The total amount of data read from the file system.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'readSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '504888659968', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total cumulative size of data read in megabytes (MB)', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WriteSize' => [ + 'description' => 'The total amount of data written to the file system.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'writeSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '6294093393920', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total cumulative size of data written in megabytes (MB)', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Analysis' => [ + 'description' => 'The resource analysis information.'."\n", + 'type' => 'object', + 'properties' => [ + 'HealthyJobCount' => ['description' => 'The total number of healthy jobs.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + 'SubHealthyJobCount' => ['description' => 'The total number of sub-healthy jobs.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1123', 'title' => ''], + 'UnhealthyJobCount' => ['description' => 'The total number of unhealthy jobs.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '23', 'title' => ''], + 'NeedAttentionJobCount' => ['description' => 'The total number of jobs that require attention.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '234', 'title' => ''], + 'Score' => ['description' => 'The score for jobs.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '73', 'title' => ''], + 'ScoreDayGrowthRatio' => ['description' => 'The day-to-day growth rate of the score for jobs.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.02', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'OperationDenied', - 'errorMessage' => 'The operation is invalid. %s', - ], - [ - 'errorCode' => 'ConcurrentModification', - 'errorMessage' => 'The request on %s failed due to multiple requests to change this object were submitted simultaneously. Wait a few minutes and try again.', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"44430037-E59A-3E66-A2B0-97D155346F22\\"\\n}","type":"json"}]', - 'title' => 'DecreaseNodes', - 'summary' => 'Performs a scale-out operation on the target node group.', - ], - 'ListNodes' => [ - 'summary' => 'Queries the node list of an EMR cluster.', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\\\n\\",\\n \\"Value\\": 1231412,\\n \\"Unit\\": \\"VCores * Sec\\\\n\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\\\n\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\\\n\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\\\n\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\\\n\\"\\n },\\n \\"VcoreUtilization\\": {\\n \\"Name\\": \\"vcoreUtilization\\\\n\\",\\n \\"Value\\": 32.1,\\n \\"Unit\\": \\"“”\\\\n\\",\\n \\"Description\\": \\"Ratio of used vcore to total available cores\\\\n\\"\\n },\\n \\"MemUtilization\\": {\\n \\"Name\\": \\"memUtilization\\\\n\\",\\n \\"Value\\": 0.82,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of used memory to total available memory\\\\n\\"\\n },\\n \\"VcoreSecondsDayGrowthRatio\\": {\\n \\"Name\\": \\"vcoreSecondsDayGrowthRatio\\",\\n \\"Value\\": 0.22,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Growth ratio of virtual core usage in seconds per day\\"\\n },\\n \\"MemSecondsDayGrowthRatio\\": {\\n \\"Name\\": \\"memSecondsDayGrowthRatio\\",\\n \\"Value\\": 0.36,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Growth ratio of memory usage in seconds per day\\"\\n },\\n \\"ReadSize\\": {\\n \\"Name\\": \\"readSize\\",\\n \\"Value\\": 504888659968,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total cumulative size of data read in megabytes (MB)\\"\\n },\\n \\"WriteSize\\": {\\n \\"Name\\": \\"writeSize\\",\\n \\"Value\\": 6294093393920,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total cumulative size of data written in megabytes (MB)\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HealthyJobCount\\": 3,\\n \\"SubHealthyJobCount\\": 1123,\\n \\"UnhealthyJobCount\\": 23,\\n \\"NeedAttentionJobCount\\": 234,\\n \\"Score\\": 73,\\n \\"ScoreDayGrowthRatio\\": 0.02\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorComputeSummary', + 'summary' => 'Obtains the information about resource usage in a cluster on E-MapReduce (EMR) Doctor.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:23.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorComputeSummary', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetDoctorHBaseCluster' => [ + 'description' => 'get Doctor HBaseCluster', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7968,508 +4940,698 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceSNGGYA', - ], + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The ID of the region in which you want to create the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The ID of the cluster.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], - ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'Marks the current position where reading starts. If you set this value to null, you can start from the beginning.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'MaxResults', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The number of maximum number of records to obtain at a time. Valid values: 1 to 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The date.'."\n", 'type' => 'string', 'required' => true, 'example' => '2023-01-01', 'title' => ''], ], - [ - 'name' => 'NodeGroupIds', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '节点组ID列表。', - 'description' => 'The IDs of node groups.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the node group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ng-869471354ecd****'."\n", + 'title' => '', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'TableCount' => [ + 'description' => 'The number of tables.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tableCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of tables', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalDataSize' => [ + 'description' => 'The size of the cluster.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '256', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total data size in megabytes (MB)', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalReadRequest' => [ + 'description' => 'The total number of read requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalReadRequest', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '430', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total number of read requests', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalWriteRequest' => [ + 'description' => 'The total number of write requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalWriteRequest', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '520', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total number of write requests', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'AvgLoad' => [ + 'description' => 'The average load.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'avgLoad', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '36.0', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'The average load under normal working conditions', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'NormalAvgLoad' => [ + 'description' => 'The normal average load.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'normalAvgLoad', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '526.4', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'The average load under normal working conditions', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'RegionBalance' => [ + 'description' => 'The region balance degree.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'regionBalance', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '1.0', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'The ability to evenly distribute Regions on different RegionServer nodes', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalRequest' => [ + 'description' => 'The total number of requests in the cluster.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalRequest', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '576', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total number of requests', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'RegionServerCount' => [ + 'description' => 'The number of region servers.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'regionServerCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '6', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of region servers count', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'RegionCount' => [ + 'description' => 'The number of regions.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'regionCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '161', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of regions count', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MemHeap' => [ + 'description' => 'The memory size.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'memHeap', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '240', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Memory heap usage in megabytes (MB)', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'StoreFileCount' => [ + 'description' => 'The number of StoreFiles.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'storeFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '298', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of store files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DailyReadRequest' => [ + 'description' => 'The number of read requests in a day.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'dailyReadRequest', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '430', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of read requests per day', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DailyWriteRequest' => [ + 'description' => 'The number of write requests in a day.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'dailyWriteRequest', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '128', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of write requests per day', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Analysis' => [ + 'description' => 'The analysis result.'."\n", + 'type' => 'object', + 'properties' => [ + 'HbaseScore' => ['description' => 'The overall score of the HBase cluster.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '85', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], + ], + 503 => [ + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"TableCount\\": {\\n \\"Name\\": \\"tableCount\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tables\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 256,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\"\\n },\\n \\"TotalReadRequest\\": {\\n \\"Name\\": \\"totalReadRequest\\",\\n \\"Value\\": 430,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of read requests\\"\\n },\\n \\"TotalWriteRequest\\": {\\n \\"Name\\": \\"totalWriteRequest\\",\\n \\"Value\\": 520,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of write requests\\"\\n },\\n \\"AvgLoad\\": {\\n \\"Name\\": \\"avgLoad\\",\\n \\"Value\\": 36,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The average load under normal working conditions\\"\\n },\\n \\"NormalAvgLoad\\": {\\n \\"Name\\": \\"normalAvgLoad\\",\\n \\"Value\\": 526.4,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The average load under normal working conditions\\"\\n },\\n \\"RegionBalance\\": {\\n \\"Name\\": \\"regionBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The ability to evenly distribute Regions on different RegionServer nodes\\"\\n },\\n \\"TotalRequest\\": {\\n \\"Name\\": \\"totalRequest\\",\\n \\"Value\\": 576,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of requests\\"\\n },\\n \\"RegionServerCount\\": {\\n \\"Name\\": \\"regionServerCount\\",\\n \\"Value\\": 6,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of region servers count\\"\\n },\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 161,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"MemHeap\\": {\\n \\"Name\\": \\"memHeap\\",\\n \\"Value\\": 240,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Memory heap usage in megabytes (MB)\\"\\n },\\n \\"StoreFileCount\\": {\\n \\"Name\\": \\"storeFileCount\\",\\n \\"Value\\": 298,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of store files\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 430,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of read requests per day\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 128,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HbaseScore\\": 85\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorHBaseCluster', + 'summary' => 'Obtains the metrics of an HBase cluster.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:23.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'NodeIds', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '节点ID列表。', - 'description' => 'An array that consists of information about the ID of the node.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the node.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i-bp1cudc25w2bfwl5****'."\n", + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHBaseCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'required' => false, - 'example' => 'c-b933c5aac8fe****', - 'maxItems' => 100, ], ], + ], + ], + 'GetDoctorHBaseRegion' => [ + 'description' => 'List Doctor HBase Regions', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'NodeNames', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '节点名称列表。', - 'description' => 'The names of the nodes.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of the node.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'core1-1', - ], - 'required' => false, - 'example' => '20', - 'maxItems' => 100, - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], + ], + 'parameters' => [ [ - 'name' => 'PrivateIps', + 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '私网IP。', - 'description' => 'The private IP address.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The private IP address.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10.10.10.8', - ], - 'required' => false, - 'example' => '["172.12.0.91"]', - 'maxItems' => 1, - ], + 'schema' => ['title' => '', 'description' => 'Region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'PublicIps', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '公网IP。', - 'description' => 'The public IP address.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The public IP address.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '42.1.1.**', - ], - 'required' => false, - 'example' => '["120.13.14.38"]', - 'maxItems' => 1, - ], + 'schema' => ['title' => '', 'description' => 'Cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'NodeStates', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '节点状态。', - 'description' => 'The status of the node.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The status of the node. Valid values:'."\n" - ."\n" - .'* Pending: The instance is being created.'."\n" - .'* Starting: The instance is being started.'."\n" - .'* Running: The cluster is running.'."\n" - .'* Stopping: The gateway is being stopped.'."\n" - .'* Stopped: The instance is stopped.'."\n" - .'* Terminated: The instance is terminated.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Running', - ], - 'required' => false, - 'example' => '["CREATED"]', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'Date.', 'type' => 'string', 'required' => true, 'example' => '2023-01-01', 'title' => ''], ], [ - 'name' => 'Tags', + 'name' => 'HbaseRegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '标签列表。', - 'description' => 'The tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The tag.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/Tag', - ], - 'required' => false, - 'maxItems' => 20, - ], + 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => true, 'example' => '67f6808f60a8c357103a3a95fe00610e', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'Returned data', 'type' => 'object', 'properties' => [ - 'Nodes' => [ - 'description' => 'The node list.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The node information.'."\n", - '$ref' => '#/components/schemas/Node', + 'Data' => [ + 'description' => 'Returned data.', + 'type' => 'object', + 'properties' => [ + 'TableName' => ['description' => 'Table name.', 'type' => 'string', 'example' => 'tb_item', 'title' => ''], + 'RegionServerHost' => ['description' => 'Host of the RegionServer.', 'type' => 'string', 'example' => 'emr-worker-2.cluster-20****', 'title' => ''], + 'Metrics' => [ + 'description' => 'Metrics information.', + 'type' => 'object', + 'properties' => [ + 'TotalReadRequest' => [ + 'description' => 'Total read request count', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Metric name.', 'type' => 'string', 'example' => 'totalReadRequest', 'title' => ''], + 'Value' => ['description' => 'Metric value.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'Metric unit.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Metric description.', 'type' => 'string', 'example' => 'Total read request', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalWriteRequest' => [ + 'description' => 'Total write request count', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Metric name.', 'type' => 'string', 'example' => 'totalWriteRequest', 'title' => ''], + 'Value' => ['description' => 'Metric value.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'Metric unit.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Metric description.', 'type' => 'string', 'example' => 'Total Write Request', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'StoreFileCount' => [ + 'description' => 'Store file count.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Metric name.', 'type' => 'string', 'example' => 'storeFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Description of the metric.', 'type' => 'string', 'example' => 'Number of store file', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DailyReadRequest' => [ + 'description' => 'Number of read requests in a single day.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Name of the metric.', 'type' => 'string', 'example' => 'dailyReadRequest ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Description of the metric.', 'type' => 'string', 'example' => 'Number of read requests per day'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DailyWriteRequest' => [ + 'description' => 'Number of write requests in a single day.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Name of the metric.', 'type' => 'string', 'example' => 'dailyWriteRequest ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Description of the metric.', 'type' => 'string', 'example' => 'Number of write requests per day'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'The position at which the next read starts. If null is returned, the data has been read.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The maximum number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of records in this request.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Nodes\\": [\\n {\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupType\\": \\"CORE\\",\\n \\"NodeId\\": \\"i-bp1cudc25w2bfwl5****\\",\\n \\"NodeName\\": \\"core1-1\\",\\n \\"PublicIp\\": \\"42.120.75.***\\",\\n \\"PrivateIp\\": \\"10.10.10.1\\",\\n \\"InstanceType\\": \\"ecs.g6e.xlarge\\",\\n \\"NodeState\\": \\"Running\\",\\n \\"MaintenanceStatus\\": \\"\\",\\n \\"ExpireTime\\": 1603728394857,\\n \\"AutoRenew\\": false,\\n \\"AutoRenewDuration\\": 1,\\n \\"AutoRenewDurationUnit\\": \\"Month\\",\\n \\"CreateTime\\": 0\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","errorExample":""},{"type":"xml","example":"<ListNodesResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <MaxResults>20</MaxResults>\\n <NextToken>2</NextToken>\\n <TotalCount>1000</TotalCount>\\n <Nodes>\\n <NodeName>emr-header-1</NodeName>\\n <NodeId>i-bp1opd2qejvhsab****</NodeId>\\n <PublicIp>42.120.75.***</PublicIp>\\n <PrivateIp>10.10.10.1</PrivateIp>\\n <InstanceType>ecs.g6e.xlarge</InstanceType>\\n <NodeStatus>Running</NodeStatus>\\n <NodeGroupId>G-21E39B11837E****</NodeGroupId>\\n <NodeGroupType>CORE</NodeGroupType>\\n <StateChangeReason>手动重启</StateChangeReason>\\n </Nodes>\\n</ListNodesResponse>","errorExample":""}]', - 'title' => 'ListNodes', - ], - 'PutAutoScalingPolicy' => [ - 'summary' => 'Adds a custom auto scaling rule.', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TableName\\": \\"tb_item\\",\\n \\"RegionServerHost\\": \\"emr-worker-2.cluster-20****\\",\\n \\"Metrics\\": {\\n \\"TotalReadRequest\\": {\\n \\"Name\\": \\"totalReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total read request\\"\\n },\\n \\"TotalWriteRequest\\": {\\n \\"Name\\": \\"totalWriteRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total Write Request\\"\\n },\\n \\"StoreFileCount\\": {\\n \\"Name\\": \\"storeFileCount\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of store file\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of read requests per day\\\\n\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\\\n\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorHBaseRegion', + 'summary' => 'Get HBase Region information.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:22.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHBaseRegion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'translator' => 'machine', + ], + 'GetDoctorHBaseRegionServer' => [ + 'description' => 'get Doctor HBaseRegionServer', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '145776', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceYE4TE8', - ], + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], - ], - [ - 'name' => 'NodeGroupId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点组ID。', - 'description' => 'The ID of the node group.', - 'type' => 'string', - 'required' => true, - 'example' => 'ng-869471354ecd****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'ScalingRules', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '弹性伸缩规则描述列表。', - 'description' => 'The description list of auto scaling rules. Number of elements in the array: 0 to 100.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The auto scaling rule.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/ScalingRule', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The date.'."\n", 'type' => 'string', 'required' => true, 'example' => '2023-01-01', 'title' => ''], ], [ - 'name' => 'Constraints', + 'name' => 'RegionServerHost', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '最大最小值约束。', - 'description' => 'The constraints on the maximum and minimum numbers of nodes in a node group.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/ScalingConstraints', - ], + 'schema' => ['description' => 'The host of the region server.'."\n", 'type' => 'string', 'required' => true, 'example' => 'emr-worker-4.cluster-20****'."\n", 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => '', + 'title' => '', + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'Data' => [ + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'RegionCount' => [ + 'description' => 'The number of regions.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'regionCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '15', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of regions count', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalReadRequest' => [ + 'description' => 'The cumulative number of read requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalReadRequest', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total number of read requests', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalWriteRequest' => [ + 'description' => 'The cumulative number of write requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalWriteRequest ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total number of write requests', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalRequest' => [ + 'description' => 'The cumulative number of total requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalRequest', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total number of requests', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DailyReadRequest' => [ + 'description' => 'The number of daily read requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'dailyReadRequest', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of read requests per day', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DailyWriteRequest' => [ + 'description' => 'The number of daily write requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'dailyWriteRequest', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of write requests per day', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'AvgGc' => [ + 'description' => 'The average garbage collection (GC) duration.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'avgGc', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '42.3', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'The efficiency of garbage collection in the system', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'CacheRatio' => [ + 'description' => 'The cache hit ratio.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'cacheRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '95.3', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of the BlockCache memory size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DailyReadRequestDayGrowthRatio' => [ + 'description' => 'The day-to-day increment rate of the number of daily read requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'dailyReadRequestDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '1.0', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'The growth rate of daily read request quantity.'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DailyWriteRequestDayGrowthRatio' => [ + 'description' => 'The day-to-day increment rate of the number of daily write requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'dailyWriteRequestDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '1.0', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'The growth rate of daily write request quantity.', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NotFound.Cluster', - 'errorMessage' => 'Cluster does not exist.', - ], - [ - 'errorCode' => 'InvokeError.PutAutoScalingPolicy', - 'errorMessage' => 'Put auto scaling policy failed:%s.', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'PutAutoScalingPolicy', - 'description' => 'You can call this operation to configure auto scaling policies.'."\n", - ], - 'PutManagedScalingPolicy' => [ - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 15,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"TotalReadRequest\\": {\\n \\"Name\\": \\"totalReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of read requests\\"\\n },\\n \\"TotalWriteRequest\\": {\\n \\"Name\\": \\"totalWriteRequest\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of write requests\\"\\n },\\n \\"TotalRequest\\": {\\n \\"Name\\": \\"totalRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of requests\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of read requests per day\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n },\\n \\"AvgGc\\": {\\n \\"Name\\": \\"avgGc\\",\\n \\"Value\\": 42.3,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The efficiency of garbage collection in the system\\"\\n },\\n \\"CacheRatio\\": {\\n \\"Name\\": \\"cacheRatio\\",\\n \\"Value\\": 95.3,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of the BlockCache memory size\\"\\n },\\n \\"DailyReadRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyReadRequestDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The growth rate of daily read request quantity.\\\\n\\"\\n },\\n \\"DailyWriteRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyWriteRequestDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The growth rate of daily write request quantity.\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorHBaseRegionServer', + 'summary' => 'Obtains the information about an HBase region server.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:22.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHBaseRegionServer', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'GetDoctorHBaseTable' => [ + 'description' => 'get Doctor HBaseTable', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8478,143 +5640,435 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '235212', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceB95X9C', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['description' => 'Cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****', 'title' => ''], ], [ - 'name' => 'Constraints', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'The constrains on the maximum and minimum numbers of nodes in a node group.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/ManagedScalingConstraints', - ], + 'schema' => ['description' => 'Date.', 'type' => 'string', 'required' => true, 'example' => '2023-01-01', 'title' => ''], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'Table name.', 'type' => 'string', 'required' => true, 'example' => 'namespace1:tb_item', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The returned data.'."\n", + 'title' => '', + 'description' => 'Returned data', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'Data' => [ + 'description' => 'Returned data.', + 'type' => 'object', + 'properties' => [ + 'Metrics' => [ + 'description' => 'Metrics information.', + 'type' => 'object', + 'properties' => [ + 'RegionServerCount' => [ + 'description' => 'Number of RegionServers.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Metric name.', 'type' => 'string', 'example' => 'regionServerCount', 'title' => ''], + 'Value' => ['description' => 'Usage.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'Unit' => ['description' => 'Metric unit.', 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'Metric description.', 'type' => 'string', 'example' => 'Number of region servers count', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'RegionCount' => [ + 'description' => 'Number of regions.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Metric name.', 'type' => 'string', 'example' => 'regionCount', 'title' => ''], + 'Value' => ['description' => 'Metric value.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'Unit' => ['description' => 'Metric unit.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Metric description.', 'type' => 'string', 'example' => 'Number of regions count', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TableSize' => [ + 'description' => 'Table size.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Metric name.', 'type' => 'string', 'example' => 'tableSize', 'title' => ''], + 'Value' => ['description' => 'Metric value.', 'type' => 'integer', 'format' => 'int64', 'example' => 'tb_item', 'title' => ''], + 'Unit' => ['description' => 'Unit of the metric', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Description of the metric.', 'type' => 'string', 'example' => 'Size of the table', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'StoreFileCount' => [ + 'description' => 'Number of store files.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Name of the metric.', 'type' => 'string', 'example' => 'storeFileCount', 'title' => ''], + 'Value' => ['description' => 'Value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'Unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Description of the metric.', 'type' => 'string', 'example' => 'Number of store files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DailyReadRequest' => [ + 'description' => 'Number of read requests per day.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Name of the item.', 'type' => 'string', 'example' => 'dailyReadRequest', 'title' => ''], + 'Value' => ['description' => 'Value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'Unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Description of the metric.', 'type' => 'string', 'example' => 'test-update', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DailyWriteRequest' => [ + 'description' => 'Number of write requests per day.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Name of the metric.', 'type' => 'string', 'example' => 'dailyWriteRequest', 'title' => ''], + 'Value' => ['description' => 'Value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'Unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Description of the metric.', 'type' => 'string', 'example' => 'Number of write requests per day', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'RegionBalance' => [ + 'description' => 'Region balance.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Metric name.', 'type' => 'string', 'example' => 'regionBalance', 'title' => ''], + 'Value' => ['description' => 'The metric value.', 'type' => 'number', 'format' => 'float', 'example' => '1.0', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Description of the metric.', 'type' => 'string', 'example' => 'The ability to evenly distribute Regions on different RegionServer nodes', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'RequestBalance' => [ + 'description' => 'Request balance.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Name of the metric.', 'type' => 'string', 'example' => 'requestBalance', 'title' => ''], + 'Value' => ['description' => 'The metric value.', 'type' => 'number', 'format' => 'float', 'example' => '1.0', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Description of the metric.', 'type' => 'string', 'example' => 'The balance of distributing requests', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataSize' => [ + 'description' => 'Hot data size.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Name of the metric.', 'type' => 'string', 'example' => 'hotDataSize', 'title' => ''], + 'Value' => ['description' => 'The metric value.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'Description of the metric.', 'type' => 'string', 'example' => 'Size of the hot data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmDataSize' => [ + 'description' => 'Warm data size.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Name of the metric.', 'type' => 'string', 'example' => 'warmDataSize', 'title' => ''], + 'Value' => ['description' => 'Usage rate.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'Description of the metric.', 'type' => 'string', 'example' => 'Size of the warm data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataSize' => [ + 'description' => 'Cold data size.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Metric name.', 'type' => 'string', 'example' => 'coldDataSize', 'title' => ''], + 'Value' => ['description' => 'Metric value.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'Metric unit.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Metric description.', 'type' => 'string', 'example' => 'Size of the cold data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataSize' => [ + 'description' => 'Frozen data size.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Metric name.', 'type' => 'string', 'example' => 'freezeDataSize', 'title' => ''], + 'Value' => ['description' => 'Metric value.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'Metric unit.', 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'Metric description.', 'type' => 'string', 'example' => 'Size of the freeze data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmConfigDay' => [ + 'description' => 'Warm data access days configuration.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Metric name.', 'type' => 'string', 'example' => 'warmConfigDay', 'title' => ''], + 'Value' => ['description' => 'Metric value.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'Metric unit.', 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'Metric description.', 'type' => 'string', 'example' => 'Size of the warm data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdConfigDay' => [ + 'description' => 'Cold data access days configuration.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Metric name.', 'type' => 'string', 'example' => 'coldConfigDay', 'title' => ''], + 'Value' => ['description' => 'Metric value.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'Unit' => ['description' => 'Unit of the metric.', 'type' => 'string', 'example' => 'day', 'title' => ''], + 'Description' => ['description' => 'Description of the metric.', 'type' => 'string', 'example' => 'Cold config day', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeConfigDay' => [ + 'description' => 'Configuration for the number of days cold data is accessed.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Name of the metric.', 'type' => 'string', 'example' => 'freezeConfigDay', 'title' => ''], + 'Value' => ['description' => 'Value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'Unit' => ['description' => 'Unit of the metric.', 'type' => 'string', 'example' => 'day', 'title' => ''], + 'Description' => ['description' => 'Description of the metric.', 'type' => 'string', 'example' => 'Freeze config day'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Locality' => [ + 'description' => 'Locality rate.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Name of the metric.', 'type' => 'string', 'example' => 'locality', 'title' => ''], + 'Value' => ['description' => 'Value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'Unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Description of the metric.', 'type' => 'string', 'example' => 'The locality of data', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdAccessDay' => [ + 'description' => 'Number of days the table has not been accessed.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Name of the metric.', 'type' => 'string', 'example' => 'coldAccessDay', 'title' => ''], + 'Value' => ['description' => 'Value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + 'Unit' => ['description' => 'Unit of the metric.', 'type' => 'string', 'example' => 'day', 'title' => ''], + 'Description' => ['description' => 'Description of the metric.', 'type' => 'string', 'example' => 'Cold access day', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'RegionCountDayGrowthRatio' => [ + 'description' => 'Daily incremental ratio of regions', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Metric name.', 'type' => 'string', 'example' => 'regionCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'Metric value.', 'type' => 'number', 'format' => 'float', 'example' => '0.8', 'title' => ''], + 'Unit' => ['description' => 'Metric unit.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Metric description.', 'type' => 'string', 'example' => 'Day growth ratio of region count', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TableSizeDayGrowthRatio' => [ + 'description' => 'Daily growth ratio of table size.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Metric name.', 'type' => 'string', 'example' => 'tableSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'Metric value.', 'type' => 'number', 'format' => 'float', 'example' => '1.5', 'title' => ''], + 'Unit' => ['description' => 'Metric unit.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Metric description.', 'type' => 'string', 'example' => 'Day growth ratio of table size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'StoreFileCountDayGrowthRatio' => [ + 'description' => 'Daily growth ratio of store file count.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Metric name.', 'type' => 'string', 'example' => 'storeFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'Metric value.', 'type' => 'number', 'format' => 'float', 'example' => '1.5', 'title' => ''], + 'Unit' => ['description' => 'Metric unit.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Metric description.', 'type' => 'string', 'example' => 'Day growth ratio of store file count', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DailyReadRequestDayGrowthRatio' => [ + 'description' => 'Daily growth ratio of daily read requests.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Metric name.', 'type' => 'string', 'example' => 'dailyReadRequestDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '1.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Description of the metric.', 'type' => 'string', 'example' => 'Day growth ratio of table size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DailyWriteRequestDayGrowthRatio' => [ + 'description' => 'Daily write request growth ratio.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Name of the metric.', 'type' => 'string', 'example' => 'dailyWriteRequestDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Description of the metric.', 'type' => 'string', 'example' => 'The balance of distributing requests', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ReadRequestBalance' => [ + 'description' => 'Read request balance.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Name of the metric.', 'type' => 'string', 'example' => 'readRequestBalance', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Description of the metric.', 'type' => 'string', 'example' => 'The balance of distributing read requests', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WriteRequestBalance' => [ + 'description' => 'Write request balance.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Name of the metric.', 'type' => 'string', 'example' => 'writeRequestBalance', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'Unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'Description of the metric.', 'type' => 'string', 'example' => 'The balance of distributing write requests', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Analysis' => [ + 'description' => 'Diagnostic results.', + 'type' => 'object', + 'properties' => [ + 'TableScore' => ['description' => 'Table score.', 'type' => 'integer', 'format' => 'int32', 'example' => '85', 'title' => ''], + 'RequestUnbalanceSuggestion' => ['description' => 'Description of read/write imbalance.', 'type' => 'string', 'example' => 'read request unbalance is <p class=\'report-detail-topic\'>表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 4ac818a3ab3fd727490a5b4d4dac7667 读请求数量: 15485664</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 021b387ae92959def65041e25eade3aa 读请求数量: 7731980</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d58f33abfe857e5fd0045eaa31c93df8 读请求数量: 7705237</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4ca84757a7d0948b8552cfeebefa25a9 读请求数量: 7703492</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 1018192dae42995fc75c6d5b5981a9b7 读请求数量: 7695284</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>', 'title' => ''], + 'RequestHotspotRegionList' => [ + 'description' => 'List of read/write hotspot regions.', + 'type' => 'array', + 'items' => ['description' => 'Read/write hotspot region.', 'type' => 'string', 'example' => '5f019e8cf7c16be9768634cb99ccbe05', 'title' => ''], + 'example' => 'null', + 'title' => '', + ], + 'ReadRequestUnbalanceSuggestion' => ['description' => 'Description of read imbalance.', 'type' => 'string', 'example' => 'read request unbalance is <p class=\'report-detail-topic\'>表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 4ac818a3ab3fd727490a5b4d4dac7667 读请求数量: 15485664</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 021b387ae92959def65041e25eade3aa 读请求数量: 7731980</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d58f33abfe857e5fd0045eaa31c93df8 读请求数量: 7705237</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4ca84757a7d0948b8552cfeebefa25a9 读请求数量: 7703492</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 1018192dae42995fc75c6d5b5981a9b7 读请求数量: 7695284</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>', 'title' => ''], + 'ReadRequestHotspotRegionList' => [ + 'description' => 'List of read hotspot regions.', + 'type' => 'array', + 'items' => ['description' => 'Read hotspot region.', 'type' => 'string', 'example' => '5f019e8cf7c16be9768634cb99ccbe05', 'title' => ''], + 'example' => 'null', + 'title' => '', + ], + 'WriteRequestUnbalanceSuggestion' => ['description' => 'Description of write imbalance.', 'type' => 'string', 'example' => 'write request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均写请求数量为769954,以下分区存在写请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4a938c08750869c47b7a92edeeec2ccc 写请求数量: 2115051</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: b4d21974df92bdf3589e63e4da1fc923 写请求数量: 1592509</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 25eb6717470f4ddbabe9187ff0fc0cb3 写请求数量: 1585420</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>', 'title' => ''], + 'WriteRequestHotspotRegionList' => [ + 'description' => 'List of write hotspot regions.', + 'type' => 'array', + 'items' => ['description' => 'Write hotspot region.', 'type' => 'string', 'example' => '5f019e8cf7c16be9768634cb99ccbe05', 'title' => ''], + 'example' => 'null', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"RegionServerCount\\": {\\n \\"Name\\": \\"regionServerCount\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of region servers count\\"\\n },\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"TableSize\\": {\\n \\"Name\\": \\"tableSize\\",\\n \\"Value\\": 0,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Size of the table\\"\\n },\\n \\"StoreFileCount\\": {\\n \\"Name\\": \\"storeFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of store files\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"test-update\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n },\\n \\"RegionBalance\\": {\\n \\"Name\\": \\"regionBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The ability to evenly distribute Regions on different RegionServer nodes\\"\\n },\\n \\"RequestBalance\\": {\\n \\"Name\\": \\"requestBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing requests\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Size of the cold data size\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"WarmConfigDay\\": {\\n \\"Name\\": \\"warmConfigDay\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdConfigDay\\": {\\n \\"Name\\": \\"coldConfigDay\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Cold config day\\"\\n },\\n \\"FreezeConfigDay\\": {\\n \\"Name\\": \\"freezeConfigDay\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Freeze config day\\\\n\\"\\n },\\n \\"Locality\\": {\\n \\"Name\\": \\"locality\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The locality of data\\"\\n },\\n \\"ColdAccessDay\\": {\\n \\"Name\\": \\"coldAccessDay\\",\\n \\"Value\\": 3,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Cold access day\\"\\n },\\n \\"RegionCountDayGrowthRatio\\": {\\n \\"Name\\": \\"regionCountDayGrowthRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of region count\\"\\n },\\n \\"TableSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"tableSizeDayGrowthRatio\\",\\n \\"Value\\": 1.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of table size\\"\\n },\\n \\"StoreFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"storeFileCountDayGrowthRatio\\",\\n \\"Value\\": 1.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of store file count\\"\\n },\\n \\"DailyReadRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyReadRequestDayGrowthRatio\\",\\n \\"Value\\": 1.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of table size\\"\\n },\\n \\"DailyWriteRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyWriteRequestDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing requests\\"\\n },\\n \\"ReadRequestBalance\\": {\\n \\"Name\\": \\"readRequestBalance\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing read requests\\"\\n },\\n \\"WriteRequestBalance\\": {\\n \\"Name\\": \\"writeRequestBalance\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing write requests\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"TableScore\\": 85,\\n \\"RequestUnbalanceSuggestion\\": \\"read request unbalance is <p class=\'report-detail-topic\'>表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 4ac818a3ab3fd727490a5b4d4dac7667 读请求数量: 15485664</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 021b387ae92959def65041e25eade3aa 读请求数量: 7731980</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d58f33abfe857e5fd0045eaa31c93df8 读请求数量: 7705237</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4ca84757a7d0948b8552cfeebefa25a9 读请求数量: 7703492</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 1018192dae42995fc75c6d5b5981a9b7 读请求数量: 7695284</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"RequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"ReadRequestUnbalanceSuggestion\\": \\"read request unbalance is <p class=\'report-detail-topic\'>表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 4ac818a3ab3fd727490a5b4d4dac7667 读请求数量: 15485664</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 021b387ae92959def65041e25eade3aa 读请求数量: 7731980</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d58f33abfe857e5fd0045eaa31c93df8 读请求数量: 7705237</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4ca84757a7d0948b8552cfeebefa25a9 读请求数量: 7703492</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 1018192dae42995fc75c6d5b5981a9b7 读请求数量: 7695284</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"ReadRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"WriteRequestUnbalanceSuggestion\\": \\"write request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均写请求数量为769954,以下分区存在写请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4a938c08750869c47b7a92edeeec2ccc 写请求数量: 2115051</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: b4d21974df92bdf3589e63e4da1fc923 写请求数量: 1592509</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 25eb6717470f4ddbabe9187ff0fc0cb3 写请求数量: 1585420</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"WriteRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ]\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorHBaseTable', + 'summary' => 'Get HBase Table information.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:22.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'PutManagedScalingPolicy', - ], - 'GetAutoScalingPolicy' => [ - 'summary' => 'Queries custom auto scaling rules.', - 'methods' => [ - 'get', - 'post', + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHBaseTable', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'GetDoctorHDFSCluster' => [ + 'description' => 'list Doctor HBaseTableRegions', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8623,248 +6077,620 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '132560', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceB95X9C', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'NodeGroupId', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点组ID。', - 'description' => 'The ID of the node group.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ng-869471354ecd****', - ], + 'schema' => ['description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", 'type' => 'string', 'required' => true, 'example' => '2023-01-01', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', + 'title' => '', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'ScalingPolicy' => [ - 'description' => 'The auto scaling policy.'."\n", + 'Data' => [ + 'description' => 'The HDFS analysis results.'."\n", 'type' => 'object', 'properties' => [ - 'NodeGroupId' => [ - 'title' => '节点组ID。', - 'description' => 'The ID of the node group.'."\n", - 'type' => 'string', - 'example' => 'ng-869471354ecd****', - ], - 'ClusterId' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'example' => 'c-b933c5aac8fe****', - ], - 'ScalingRules' => [ - 'title' => '伸缩规则列表', - 'description' => 'The auto scaling rules.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The list of scaling rules.'."\n", - 'type' => 'object', - 'properties' => [ - 'RuleName' => [ - 'title' => '弹性伸缩规则名称。', - 'description' => 'The name of the auto scaling rule.'."\n", - 'type' => 'string', - 'example' => 'scaling-out-memory', - ], - 'TriggerType' => [ - 'title' => '伸缩规则类型。', - 'description' => 'The type of the auto scaling rule. Valid values:'."\n" - ."\n" - .'* TIME_TRIGGER: time-based scaling'."\n" - .'* METRICS_TRIGGER: load-based scaling'."\n", - 'type' => 'string', - 'example' => 'TIME_TRIGGER', - ], - 'ActivityType' => [ - 'title' => '伸缩类型。', - 'description' => 'The scaling type. Valid values:'."\n" - ."\n" - .'* SCALE_OUT'."\n" - .'* SCALE_IN'."\n", - 'type' => 'string', - 'example' => 'SCALE_OUT', - ], - 'AdjustmentType' => [ - 'title' => '调整类型。', - 'description' => 'The adjustment type.'."\n", - 'type' => 'string', - 'example' => 'CHANGE_IN_CAPACITY', - ], - 'AdjustmentValue' => [ - 'title' => '调整值。', - 'description' => 'The adjustment value. The parameter value must be a positive integer, which indicates the number of instances that you want to add or remove.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'TimeTrigger' => [ - 'title' => '按照时间伸缩描述。', - 'description' => 'The description of time-based scaling.'."\n", - '$ref' => '#/components/schemas/TimeTrigger', - ], - 'MetricsTrigger' => [ - 'title' => '按照负载伸缩描述。', - 'description' => 'The description of load-based scaling.'."\n", - '$ref' => '#/components/schemas/MetricsTrigger', - ], - 'CollationTimeZone' => [ - 'title' => '时区信息', - '$ref' => '#/components/schemas/CollationTimeZone', + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'LargeFileCount' => [ + 'description' => 'The number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of large files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MediumFileCount' => [ + 'description' => 'The number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '234', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of medium files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SmallFileCount' => [ + 'description' => 'The number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12345', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of small files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TinyFileCount' => [ + 'description' => 'The number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '232131', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of tiny files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'EmptyFileCount' => [ + 'description' => 'The number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '15595897', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of empty files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalFileCount' => [ + 'description' => 'The total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '51683279', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of total files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataSize' => [ + 'description' => 'The amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '6701531944206', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Size of the hot data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmDataSize' => [ + 'description' => 'The amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '4062349775577', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Size of the warm data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataSize' => [ + 'description' => 'The amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '5570958082267', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Size of the cold data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataSize' => [ + 'description' => 'The amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1231312431', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Size of the freeze data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalDataSize' => [ + 'description' => 'The total amount of data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '62086342083623', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total data size in megabytes (MB)', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'LargeFileRatio' => [ + 'description' => 'The proportion of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.22', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of large files', 'title' => ''], ], + 'title' => '', + 'example' => '', + ], + 'MediumFileRatio' => [ + 'description' => 'The proportion of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.21', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of medium files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SmallFileRatio' => [ + 'description' => 'The proportion of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.19', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of small files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TinyFileRatio' => [ + 'description' => 'The proportion of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.19', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of tiny files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'EmptyFileRatio' => [ + 'description' => 'The proportion of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.3', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of empty files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataRatio' => [ + 'description' => 'The proportion of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.22', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Hot data ratio', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmDataRatio' => [ + 'description' => 'The proportion of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.12', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of warm data', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataRatio' => [ + 'description' => 'The proportion of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Cold data ratio', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataRatio' => [ + 'description' => 'The proportion of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.12', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of freeze data', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalFileDayGrowthCount' => [ + 'description' => 'The daily increment of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '27809', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of total files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'LargeFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of large files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MediumFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '176', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of medium files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SmallFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12321', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of small files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TinyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '-123', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of tiny files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'EmptyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '114', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of empty files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '123154', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of hot data', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '-64806998319', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of warm data', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '-182636577752', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of cold data', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '-167683929450', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of freeze data', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalDataDayGrowthSize' => [ + 'description' => 'The daily incremental of the total data volume.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '256482228248', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of total data', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.02', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of total files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'LargeFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.39', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of large files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MediumFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.19', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of medium files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SmallFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.02', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of small files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TinyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.003', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of tiny files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'EmptyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.005', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of empty files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.1114', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of hot data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '-0.015', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of warm data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '-0.03', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of cold data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '-0.09', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of freeze data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total data volume.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.14', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of total data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'ScalingPolicyId' => [ - 'title' => '伸缩策略ID。', - 'description' => 'The ID of the scaling policy.'."\n", - 'type' => 'string', - 'example' => 'asp-asduwe23znl***', - ], - 'Constraints' => [ - 'title' => '最大最小值约束', - 'description' => 'The maximum and minimum number of nodes in the node group.'."\n", + 'Analysis' => [ + 'description' => 'The analysis results.'."\n", 'type' => 'object', 'properties' => [ - 'MaxCapacity' => [ - 'title' => '最大值', - 'description' => 'The maximum number of nodes in the node group. Default value: 2000.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2000', - ], - 'MinCapacity' => [ - 'title' => '最小值', - 'description' => 'The minimum number of nodes in the node group. Default value: 0.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], + 'HdfsScore' => ['description' => 'The overall score of HDFS storage resources.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '55', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingPolicy\\": {\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ScalingRules\\": [\\n {\\n \\"RuleName\\": \\"scaling-out-memory\\",\\n \\"TriggerType\\": \\"TIME_TRIGGER\\",\\n \\"ActivityType\\": \\"SCALE_OUT\\",\\n \\"AdjustmentType\\": \\"CHANGE_IN_CAPACITY\\",\\n \\"AdjustmentValue\\": 100,\\n \\"TimeTrigger\\": {\\n \\"LaunchTime\\": \\"\\",\\n \\"StartTime\\": 1639714800000,\\n \\"EndTime\\": 1639714800000,\\n \\"LaunchExpirationTime\\": 600,\\n \\"RecurrenceType\\": \\"WEEKLY\\",\\n \\"RecurrenceValue\\": \\"MON,FRI,SUN\\"\\n },\\n \\"MetricsTrigger\\": {\\n \\"TimeWindow\\": 30,\\n \\"EvaluationCount\\": 2,\\n \\"CoolDownInterval\\": 300,\\n \\"TimeConstraints\\": [\\n {\\n \\"StartTime\\": \\"06:00:00\\",\\n \\"EndTime\\": \\"23:59:59\\"\\n }\\n ],\\n \\"ConditionLogicOperator\\": \\"Or\\",\\n \\"Conditions\\": [\\n {\\n \\"MetricName\\": \\"yarn_resourcemanager_root_availablememoryusage\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"Statistics\\": \\"AVG\\",\\n \\"ComparisonOperator\\": \\"LT\\",\\n \\"Threshold\\": 12.5\\n }\\n ]\\n },\\n \\"CollationTimeZone\\": {\\n \\"TimeZone\\": \\"Asia/Shanghai\\",\\n \\"CurrentTimeOffset\\": \\"UTC+08:00\\"\\n }\\n }\\n ],\\n \\"ScalingPolicyId\\": \\"asp-asduwe23znl***\\",\\n \\"Constraints\\": {\\n \\"MaxCapacity\\": 2000,\\n \\"MinCapacity\\": 0\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'GetAutoScalingPolicy', - ], - 'GetManagedScalingPolicy' => [ - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of large files\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 234,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of medium files\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of small files\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 232131,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of tiny files\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 15595897,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of empty files\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 51683279,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of total files\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 6701531944206,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 4062349775577,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 5570958082267,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1231312431,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 62086342083623,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.22,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of large files\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.21,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of medium files\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of small files\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of tiny files\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.3,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.22,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Hot data ratio\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.12,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of warm data\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Cold data ratio\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.12,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of freeze data\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 27809,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Day growth count of total files\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 2,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Day growth count of large files\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 176,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of medium files\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 12321,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of small files\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": -123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of tiny files\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 114,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of empty files\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 123154,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of hot data\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": -64806998319,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": -182636577752,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": -167683929450,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of freeze data\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 256482228248,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total files\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.39,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of large files\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of small files\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.003,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.005,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.1114,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.015,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.03,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.09,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.14,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HdfsScore\\": 55\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorHDFSCluster', + 'summary' => 'Obtains the analysis results of the Hadoop Distributed File System (HDFS) storage resources of a cluster on E-MapReduce (EMR) Doctor.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:22.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHDFSCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetDoctorHDFSDirectory' => [ + 'description' => 'get Doctor HDFSNode', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8873,322 +6699,1193 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '235207', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceB95X9C', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", 'type' => 'string', 'required' => true, 'example' => '2023-01-01', 'title' => ''], + ], + [ + 'name' => 'DirPath', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The directory name. The depth of the directory is not greater than five.'."\n", 'type' => 'string', 'required' => true, 'example' => '/tmp/test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => '', + 'title' => '', + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'ScalingPolicy' => [ - 'description' => '', + 'Data' => [ + 'description' => 'The analysis results of the HDFS directory.'."\n", 'type' => 'object', 'properties' => [ - 'ClusterId' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'example' => 'c-b933c5aac8fe****', - ], - 'ScalingPolicyId' => [ - 'title' => '伸缩策略ID。', - 'description' => '伸缩策略ID。', - 'type' => 'string', - 'example' => 'asp-asduwe23znl***', - ], - 'Constraints' => [ - 'title' => '最大最小值约束', - 'description' => '最大最小值约束', + 'Depth' => ['description' => 'The directory level.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'User' => ['description' => 'The directory owner.'."\n", 'type' => 'string', 'example' => 'DW', 'title' => ''], + 'Group' => ['description' => 'The group to which the directory belongs.'."\n", 'type' => 'string', 'example' => 'DW', 'title' => ''], + 'Metrics' => [ + 'description' => 'The metric information.'."\n", 'type' => 'object', 'properties' => [ - 'MaxCapacity' => [ - 'title' => '最大值', - 'description' => '最大值', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'MinCapacity' => [ - 'title' => '最小值', - 'description' => '最小值', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'MaxOnDemandCapacity' => [ - 'title' => '最大按量数量', - 'description' => '最大按量数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', + 'TotalFileCount' => [ + 'description' => 'The total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '51683279', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of total files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'LargeFileCount' => [ + 'description' => 'The number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of large files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MediumFileCount' => [ + 'description' => 'The number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '234', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of medium files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SmallFileCount' => [ + 'description' => 'The number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12345', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of small files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TinyFileCount' => [ + 'description' => 'The number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '232131', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of tiny files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'EmptyFileCount' => [ + 'description' => 'The number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '15595897', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of empty files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataSize' => [ + 'description' => 'The amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '6701531944206', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Size of the hot data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmDataSize' => [ + 'description' => 'The amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '4062349775577', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Size of the warm data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataSize' => [ + 'description' => 'The amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '5570958082267', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Size of the cold data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataSize' => [ + 'description' => 'The amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1231312431', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Size of the freeze data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalDataSize' => [ + 'description' => 'The total amount of data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataSize'."\n", 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '62086342083623', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalFileDayGrowthCount' => [ + 'description' => 'The daily increment of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '27809', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of total files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'LargeFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of large files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MediumFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '176', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of medium files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SmallFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12345', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of small files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TinyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '-123'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of tiny files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'EmptyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileDayGrowthCount'."\n", 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '114', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of empty files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '123154'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of hot data'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '-64806998319'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of warm data'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '-182636577752'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of cold data'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '-167683929450'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of freeze data'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalDataDayGrowthSize' => [ + 'description' => 'The daily incremental of the total amount of data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '256482228248', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of total data'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio'."\n", 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.02'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of total files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'LargeFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.39'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of large files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MediumFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.19'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of medium files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SmallFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.02'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of small files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TinyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.003'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of tiny files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'EmptyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => ' '."\n" + .'0.005'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of empty files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.1114'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of hot data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '-0.015'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of warm data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '-0.03'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of cold data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '-0.09'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of freeze data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total data volume.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => ' '."\n" + .'0.14'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of total data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Depth\\": 2,\\n \\"User\\": \\"DW\\",\\n \\"Group\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 51683279,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 234,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 232131,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 15595897,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 6701531944206,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 4062349775577,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 5570958082267,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1231312431,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\\\n\\",\\n \\"Value\\": 62086342083623,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 27809,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 2,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 176,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": -123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\\\n\\",\\n \\"Value\\": 114,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 123154,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": -64806998319,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": -182636577752,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": -167683929450,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 256482228248,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\\\n\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.39,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.003,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.005,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.1114,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.015,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.03,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.09,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.14,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorHDFSDirectory', + 'summary' => 'Obtains the analysis results of a specific Hadoop Distributed File System (HDFS) directory of a cluster. The depth of the directory is not greater than five.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:22.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingPolicy\\": {\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ScalingPolicyId\\": \\"asp-asduwe23znl***\\",\\n \\"Constraints\\": {\\n \\"MaxCapacity\\": 20,\\n \\"MinCapacity\\": 0,\\n \\"MaxOnDemandCapacity\\": 10\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'GetManagedScalingPolicy', - 'summary' => 'View Managed Scaling Policy Content', - ], - 'RemoveAutoScalingPolicy' => [ - 'methods' => [ - 'get', - 'post', + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHDFSDirectory', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetDoctorHiveCluster' => [ + 'description' => 'list Doctor Hive Cluster', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '145777', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceEL79NN', - ], + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'NodeGroupId', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点组ID。', - 'description' => 'The ID of the node group.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ng-869471354ecd****', - ], + 'schema' => ['description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", 'type' => 'string', 'required' => true, 'example' => '2023-01-01', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', + 'title' => '', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'Data' => [ + 'description' => 'The analysis results of the Hive cluster.'."\n", + 'type' => 'object', + 'properties' => [ + 'Formats' => [ + 'description' => 'The information from the perspective of storage formats.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FormatName' => ['description' => 'The name of the storage format.'."\n", 'type' => 'string', 'example' => 'TextInputFormat'."\n", 'title' => ''], + 'FormatSize' => ['description' => 'The amount of data in the format.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'FormatSizeUnit' => ['description' => 'The unit of the amount of data in the format.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'FormatRatio' => ['description' => 'The proportion of the data in the format.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'TableCount' => [ + 'description' => 'The number of tables.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tableCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of tables', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'PartitionNum' => [ + 'description' => 'The number of partitions.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'partitionNum', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of partitions', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DatabaseCount' => [ + 'description' => 'The number of databases.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'databaseCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of databases', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'LargeFileCount' => [ + 'description' => 'The number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of large files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MediumFileCount' => [ + 'description' => 'The number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of medium files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SmallFileCount' => [ + 'description' => 'The number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileCount ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of small files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TinyFileCount' => [ + 'description' => 'The number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of tiny files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'EmptyFileCount' => [ + 'description' => 'The number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of empty files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalFileCount' => [ + 'description' => 'The total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of total files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'LargeFileRatio' => [ + 'description' => 'The proportion of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of large files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MediumFileRatio' => [ + 'description' => 'The proportion of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of medium files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SmallFileRatio' => [ + 'description' => 'The proportion of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of small files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TinyFileRatio' => [ + 'description' => 'The proportion of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of tiny files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'EmptyFileRatio' => [ + 'description' => 'The proportion of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of empty files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataSize' => [ + 'description' => 'The amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of hot files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmDataSize' => [ + 'description' => 'The amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of warm files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataSize' => [ + 'description' => 'The amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of cold files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataSize' => [ + 'description' => 'The amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of freeze files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalDataSize' => [ + 'description' => 'The total amount of data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataRatio' => [ + 'description' => 'The proportion of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Hot data ratio'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmDataRatio' => [ + 'description' => 'The proportion of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of warm data'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataRatio' => [ + 'description' => 'The proportion of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Cold data ratio'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataRatio' => [ + 'description' => 'The proportion of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.12', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of freeze data'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalFileDayGrowthCount' => [ + 'description' => 'The daily increment of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '27800', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of total files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'LargeFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileDayGrowthCount ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of large files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MediumFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileDayGrowthCount'."\n", 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '178', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of medium files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SmallFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of small files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TinyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'day growth count of tiny files'."\n", 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of tiny files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'EmptyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of empty files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of hot data'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '-100', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of warm data'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of cold data'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of freeze data'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalDataDayGrowthSize' => [ + 'description' => 'The daily incremental of the amount of total data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of total data'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of total files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'LargeFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of large files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MediumFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of medium files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SmallFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of small files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TinyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of tiny files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'EmptyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of empty files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of hot data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataSizeDayGrowthRatio ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of warm data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of cold data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of freeze data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total data volume.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of total data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Analysis' => [ + 'description' => 'The analysis results.'."\n", + 'type' => 'object', + 'properties' => [ + 'HiveFrequencyScore' => ['description' => 'The score for the access frequency of the Hive cluster.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''], + 'HiveDistributionScore' => ['description' => 'The score for the distribution of files of different sizes stored in the Hive cluster.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''], + 'HiveFormatScore' => ['description' => 'The score for the distribution of files stored in different formats in the Hive cluster.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''], + 'HiveScore' => ['description' => 'The overall score of the Hive cluster.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'RemoveAutoScalingPolicy', - 'summary' => 'Removes an auto scaling policy.', - ], - 'ListAutoScalingActivities' => [ - 'summary' => 'Queries a list of auto scaling activities.', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\\\n\\",\\n \\"FormatSize\\": 100,\\n \\"FormatSizeUnit\\": \\"MB\\",\\n \\"FormatRatio\\": 0.5\\n }\\n ],\\n \\"Metrics\\": {\\n \\"TableCount\\": {\\n \\"Name\\": \\"tableCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tables\\"\\n },\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"partitionNum\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of partitions\\"\\n },\\n \\"DatabaseCount\\": {\\n \\"Name\\": \\"databaseCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of databases\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of large files\\\\n\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of small files\\\\n\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of hot files\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of warm files\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of cold files\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of freeze files\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Hot data ratio\\\\n\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of warm data\\\\n\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Cold data ratio\\\\n\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.12,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of freeze data\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 27800,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\\\n\\",\\n \\"Value\\": 178,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"day growth count of tiny files\\\\n\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": -100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 80,\\n \\"HiveDistributionScore\\": 80,\\n \\"HiveFormatScore\\": 80,\\n \\"HiveScore\\": 80\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorHiveCluster', + 'summary' => 'Obtains the analysis results of a Hive cluster.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:21.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHiveCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'GetDoctorHiveDatabase' => [ + 'description' => 'get Doctor Hive Database', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9196,458 +7893,1338 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '118861', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce7I2Y7W', - ], + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'NextToken', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['description' => 'The query date.'."\n", 'type' => 'string', 'required' => true, 'example' => '2023-01-01', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'DatabaseName', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The database name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'db1', 'title' => ''], ], - [ - 'name' => 'NodeGroupId', - 'in' => 'query', - 'allowEmptyValue' => false, + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '节点组ID。', - 'description' => 'The ID of the node group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ng-869471354ecd****', + 'title' => '', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The analysis results of the Hive database.'."\n", + 'type' => 'object', + 'properties' => [ + 'Formats' => [ + 'description' => 'The information from the perspective of storage formats.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FormatName' => ['description' => 'The name of the storage format.'."\n", 'type' => 'string', 'example' => 'TextInputFormat', 'title' => ''], + 'FormatSize' => ['description' => 'The amount of data in the format.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'FormatSizeUnit' => ['description' => 'The unit of the amount of data in the format.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'FormatRatio' => ['description' => 'The proportion of the data in the format.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'FormatDayGrowthSize' => ['description' => 'The daily increment of data in the format.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'FormatSizeDayGrowthRatio' => ['description' => 'The day-to-day growth rate of data in the format.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'TableCount' => [ + 'description' => 'The number of tables.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tableCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of tables'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'PartitionNum' => [ + 'description' => 'The number of partitions.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'partitionNum', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of partitions'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'LargeFileCount' => [ + 'description' => 'The number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of large files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MediumFileCount' => [ + 'description' => 'The number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of medium files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SmallFileCount' => [ + 'description' => 'The number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of small files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TinyFileCount' => [ + 'description' => 'The number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of tiny files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'EmptyFileCount' => [ + 'description' => 'The number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of empty files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalFileCount' => [ + 'description' => 'The total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileCount ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of total files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'LargeFileRatio' => [ + 'description' => 'The proportion of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of large files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MediumFileRatio' => [ + 'description' => 'The proportion of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of medium files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SmallFileRatio' => [ + 'description' => 'The proportion of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of small files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TinyFileRatio' => [ + 'description' => 'The proportion of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of tiny files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'EmptyFileRatio' => [ + 'description' => 'The proportion of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileRatio ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of empty files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataSize' => [ + 'description' => 'The amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of hot files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmDataSize' => [ + 'description' => 'The amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of warm files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataSize' => [ + 'description' => 'The amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of cold files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataSize' => [ + 'description' => 'The amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of freeze files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalDataSize' => [ + 'description' => 'The total amount of data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataSize ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataRatio' => [ + 'description' => 'The proportion of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataRatio ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Hot data ratio'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmDataRatio' => [ + 'description' => 'The proportion of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of warm data'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataRatio' => [ + 'description' => 'The proportion of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataRatio ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Cold data ratio'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataRatio' => [ + 'description' => 'The proportion of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of freeze data'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalFileDayGrowthCount' => [ + 'description' => 'The daily increment of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of total files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'LargeFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileDayGrowthCount ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of large files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MediumFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileDayGrowthCount ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of medium files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SmallFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of small files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TinyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of tiny files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'EmptyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of empty files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of hot data'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of warm data'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataDayGrowthSize ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of cold data'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataDayGrowthSize ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of freeze data'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalDataDayGrowthSize' => [ + 'description' => 'The daily incremental of the total amount of data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataDayGrowthSize ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of total data'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of total files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'LargeFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of large files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MediumFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of medium files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SmallFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of small files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TinyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of tiny files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'EmptyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of empty files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of hot data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of warm data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of cold data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of freeze data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total data volume.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of total data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Analysis' => [ + 'description' => 'The analysis results.'."\n", + 'type' => 'object', + 'properties' => [ + 'HiveFrequencyScore' => ['description' => 'The score for the access frequency of the Hive database.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '85', 'title' => ''], + 'HiveDistributionScore' => ['description' => 'The score for the file sizes of the Hive database.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '85', 'title' => ''], + 'HiveFormatScore' => ['description' => 'The score for the data formats of the Hive database.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '85', 'title' => ''], + 'HiveScore' => ['description' => 'The overall score of the Hive database.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '85', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + ], + 'example' => '', ], ], - [ - 'name' => 'ScalingRuleName', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '伸缩规则名称。', - 'description' => 'The name of the scaling rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'scale-out-by-memroy', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], + 503 => [ + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\",\\n \\"FormatSize\\": 1000,\\n \\"FormatSizeUnit\\": \\"MB\\",\\n \\"FormatRatio\\": 0.5,\\n \\"FormatDayGrowthSize\\": 1000,\\n \\"FormatSizeDayGrowthRatio\\": 0.5\\n }\\n ],\\n \\"Metrics\\": {\\n \\"TableCount\\": {\\n \\"Name\\": \\"tableCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tables\\\\n\\"\\n },\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"partitionNum\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of partitions\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of large files\\\\n\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of small files\\\\n\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of hot files\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of warm files\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of cold files\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of freeze files\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Hot data ratio\\\\n\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of warm data\\\\n\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Cold data ratio\\\\n\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of freeze data\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 85,\\n \\"HiveDistributionScore\\": 85,\\n \\"HiveFormatScore\\": 85,\\n \\"HiveScore\\": 85\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorHiveDatabase', + 'summary' => 'Obtains the analysis results of a Hive database.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:21.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'ScalingActivityStates', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '伸缩活动状态。', - 'description' => 'The status of the scaling activity. Number of elements in the array: 1-20.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The status of the scaling activity. Valid values:'."\n" - ."\n" - .'* REJECTED'."\n" - .'* SUCCESSFUL'."\n" - .'* FAILED'."\n" - .'* IN_PROGRESS'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '['."\n" - .' "REJECTED",'."\n" - .' "SUCCESSFUL"'."\n" - .']', - 'title' => '伸缩活动状态。取值如下:'."\n" - .'-SUCCESSFUL:成功'."\n" - .'-REJECTED:拒绝'."\n" - .'-PARTIAL_SUCCESSFUL: 部分成功'."\n" - .'-FAILED: 失败'."\n" - .'-IN_PROGRESS: 进行中', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHiveDatabase', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'required' => false, - 'example' => '["REJECTED","SUCCESSFUL"]', - 'maxItems' => 20, ], ], + ], + ], + 'GetDoctorHiveTable' => [ + 'description' => 'get Doctor Hive Table', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ScalingActivityType', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '伸缩活动类型。', - 'description' => 'The type of the scaling activity. Valid values:'."\n" - ."\n" - .'* SCALE_OUT'."\n" - .'* SCALE_IN'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SCALE_IN', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], + ], + 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '查询伸缩活动创建时间的开始时间戳。', - 'description' => 'The beginning of the time range to query. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1639714634819', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'EndTime', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '查询伸缩活动创建时间的结束时间戳。', - 'description' => 'The end of the time range to query. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1639718634819', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'ScalingPolicyType', + 'name' => 'DateTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'title' => '弹性策略类型', - 'example' => 'MANAGED', - ], + 'allowEmptyValue' => false, + 'schema' => ['description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", 'type' => 'string', 'required' => true, 'example' => '2023-01-01', 'title' => ''], ], [ - 'name' => 'InstanceChargeTypes', + 'name' => 'TableName', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'title' => '实例付费类型枚举值:'."\n" - .'- ONDEMAND: 按量付费实例'."\n" - .'- SPOT: 竞价实例'."\n" - .'默认为null代表全选'."\n" - .'举例: ["ONDEMAND", "SPOT"]', - 'description' => '实例付费类型枚举值:'."\n" - .'- ONDEMAND: 按量付费实例'."\n" - .'- SPOT: 竞价实例'."\n" - .'默认为null代表全选'."\n" - .'举例: ["ONDEMAND", "SPOT"]', - 'type' => 'array', - 'items' => [ - 'title' => '实例付费类型枚举值:'."\n" - .'- ONDEMAND: 按量付费实例'."\n" - .'- SPOT: 竞价实例'."\n" - .'默认为null代表全选'."\n" - .'举例: ["ONDEMAND", "SPOT"]', - 'type' => 'string', - 'example' => 'ONDEMAND', - ], - 'example' => 'ONDEMAND', - 'enum' => [], - ], + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The table name. The table name must follow the rule in Hive. A name in the {database name.table identifier} format uniquely identifies a table.'."\n", 'type' => 'string', 'required' => true, 'example' => 'dw.dwd_creta_service_order_long_renew_long_da', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', + 'title' => '', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'ScalingActivities' => [ - 'description' => 'The scaling activities.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ActivityId' => [ - 'title' => '伸缩活动ID。', - 'description' => 'The ID of the scaling activity.'."\n", - 'type' => 'string', - 'example' => 'asa-36373b084d6b4b13aa50f4129a9e****', - ], - 'RuleName' => [ - 'title' => '伸缩规则名称。', - 'description' => 'The name of the scaling rule.'."\n", - 'type' => 'string', - 'example' => 'scaling-out-memory', - ], - 'ActivityType' => [ - 'title' => '伸缩活动类型。', - 'description' => 'The type of the scaling activity. Valid values:'."\n" - ."\n" - .'* SCALE_OUT'."\n" - .'* SCALE_IN'."\n", - 'type' => 'string', - 'example' => 'SCALE_OUT', - ], - 'ClusterId' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'example' => 'c-b933c5aac8fe****', - ], - 'NodeGroupId' => [ - 'title' => '节点组ID。', - 'description' => 'The ID of the node group.'."\n", - 'type' => 'string', - 'example' => 'ng-869471354ecd****', - ], - 'NodeGroupName' => [ - 'title' => '节点组名称。', - 'description' => 'The name of the node group.'."\n", - 'type' => 'string', - 'example' => 'task-01', - ], - 'StartTime' => [ - 'title' => '伸缩启动时间。', - 'description' => 'The start time of the scaling. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639714634819', - ], - 'EndTime' => [ - 'title' => '伸缩结束时间。', - 'description' => 'The end time of the scaling. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639715634819', - ], - 'ActivityState' => [ - 'title' => '伸缩活动状态。', - 'description' => 'The status of the scaling activity. Valid values:'."\n" - ."\n" - .'* REJECTED'."\n" - .'* SUCCESSFUL'."\n" - .'* FAILED'."\n" - .'* IN_PROGRESS'."\n", - 'type' => 'string', - 'example' => 'IN_PROGRESS', - ], - 'ExpectNum' => [ - 'title' => '本次扩缩数量。', - 'description' => 'The number of added or removed instances.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'OperationId' => [ - 'title' => '操作ID。', - 'description' => 'The operation ID.'."\n", - 'type' => 'string', - 'example' => 'op-13c37a77c505****', - ], - 'Description' => [ - 'title' => '伸缩活动描述。', - 'description' => 'The description of the scaling activity.'."\n", - 'type' => 'string', - 'example' => 'clusterId not exist', - ], - 'PolicyType' => [ - 'type' => 'string', - 'title' => '策略类型。', - 'example' => 'PRIORITY', - ], - 'InstanceTypeToNum' => [ + 'Data' => [ + 'description' => 'The analysis results of the Hive table.'."\n", + 'type' => 'object', + 'properties' => [ + 'Formats' => [ + 'description' => 'The information from the perspective of formats.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'integer', - 'format' => 'int32', - 'title' => '实例机型对应的台数', - 'example' => 'ecs.r6.xlarge: 2', - ], - 'title' => '实例机型对应的台数', + 'properties' => [ + 'FormatName' => ['description' => 'The name of the storage format.'."\n", 'type' => 'string', 'example' => 'TextInputFormat', 'title' => ''], + 'FormatSize' => ['description' => 'The size of storage format-specific data.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '506930200', 'title' => ''], + 'FormatSizeUnit' => ['description' => 'The unit of the data size.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'FormatRatio' => ['description' => 'The ratio of the data in a specific storage format.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.23', 'title' => ''], + 'FormatDayGrowthSize' => ['description' => 'The daily amount increment of the data in a specific storage format.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1232124', 'title' => ''], + 'FormatSizeDayGrowthRatio' => ['description' => 'The day-to-day growth rate of the amount of the data in a specific storage format.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.04', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'InstanceTypeDetails' => [ - 'title' => '实例类型详细信息。', - 'type' => 'array', - 'items' => [ - 'title' => '实例类型详细信息。', + 'title' => '', + 'example' => '', + ], + 'Owner' => ['description' => 'The owner.'."\n", 'type' => 'string', 'example' => 'DW', 'title' => ''], + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'PartitionNum' => [ + 'description' => 'The number of partitions.'."\n", 'type' => 'object', 'properties' => [ - 'SpotInstanceIds' => [ - 'title' => 'Spot实例ID列表', - 'type' => 'array', - 'items' => [ - 'title' => 'Spot实例ID列表', - 'type' => 'string', - 'example' => 'i-bp1ifuxmr8l6pb1yxxxx', - ], - ], - 'InstanceType' => [ - 'title' => '实例机型名称', - 'type' => 'string', - 'example' => 'ecs.g6.xlarge', - ], - 'OnDemandInstanceIds' => [ - 'title' => '按量实例ID列表', - 'type' => 'array', - 'items' => [ - 'title' => '按量实例ID列表', - 'type' => 'string', - 'example' => 'i-bp1ifuxmr8l6pb1sxxxx', - ], - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'partitionNum', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '441', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'number of partitions', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'LargeFileCount' => [ + 'description' => 'The number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of large files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MediumFileCount' => [ + 'description' => 'The number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of medium files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SmallFileCount' => [ + 'description' => 'The number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '18', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '"“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of small files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TinyFileCount' => [ + 'description' => 'The number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '451', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of tiny files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'EmptyFileCount' => [ + 'description' => 'The number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3123', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of empty files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalFileCount' => [ + 'description' => 'The total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of total files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'LargeFileRatio' => [ + 'description' => 'The proportion of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.02', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of large files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MediumFileRatio' => [ + 'description' => 'The proportion of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.80', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of medium files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SmallFileRatio' => [ + 'description' => 'The proportion of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.04', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of small files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TinyFileRatio' => [ + 'description' => 'The proportion of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.96', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of tiny files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'EmptyFileRatio' => [ + 'description' => 'The proportion of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of empty files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataSize' => [ + 'description' => 'The amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '203431', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Size of the hot data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmDataSize' => [ + 'description' => 'The amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '14981', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Size of the warm data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataSize' => [ + 'description' => 'The amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '217715', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Size of the cold data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataSize' => [ + 'description' => 'The amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '33229309', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Size of the freeze data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalDataSize' => [ + 'description' => 'The total amount of data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '33800296', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total data size in megabytes (MB)', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataRatio' => [ + 'description' => 'The proportion of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Hot data ratio', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmDataRatio' => [ + 'description' => 'The proportion of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.1', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of warm data', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataRatio' => [ + 'description' => 'The proportion of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Cold data ratio', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataRatio' => [ + 'description' => 'The proportion of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.98', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of freeze data', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalFileDayGrowthCount' => [ + 'description' => 'The daily increment of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of total files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'LargeFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '40', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of large files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MediumFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of medium files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SmallFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '18', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of small files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TinyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '482', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of tiny files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'EmptyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '-20', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of empty files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '203431', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of hot data', 'title' => ''], ], + 'title' => '', + 'example' => '', + ], + 'WarmDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '149841', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of warm data', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '217715', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of cold data', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '33229309', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of freeze data', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalDataDayGrowthSize' => [ + 'description' => 'The daily incremental of the total data volume.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '33800296', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of total data', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of total files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'LargeFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of large files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MediumFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of medium files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'SmallFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of small files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TinyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.04', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of tiny files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'EmptyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of empty files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of hot data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of warm data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of cold data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of freeze data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total data volume.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of total data size', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', + ], + 'Analysis' => [ + 'description' => 'The analysis results.'."\n", + 'type' => 'object', + 'properties' => [ + 'HiveFrequencyScore' => ['description' => 'The score for the access frequency of the Hive table.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '70', 'title' => ''], + 'HiveDistributionScore' => ['description' => 'The score for the distribution of files of different sizes stored in the Hive table.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''], + 'HiveFormatScore' => ['description' => 'The score for the distribution of files stored in different formats in the Hive table.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''], + 'HiveScore' => ['description' => 'The overall score of the Hive table.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'description' => '', - 'title' => '伸缩活动列表。', ], - 'title' => '伸缩活动列表。', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'A pagination token.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The maximum number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', + 'title' => '', + 'example' => '', ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivities\\": [\\n {\\n \\"ActivityId\\": \\"asa-36373b084d6b4b13aa50f4129a9e****\\",\\n \\"RuleName\\": \\"scaling-out-memory\\",\\n \\"ActivityType\\": \\"SCALE_OUT\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupName\\": \\"task-01\\",\\n \\"StartTime\\": 1639714634819,\\n \\"EndTime\\": 1639715634819,\\n \\"ActivityState\\": \\"IN_PROGRESS\\",\\n \\"ExpectNum\\": 10,\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"Description\\": \\"clusterId not exist\\",\\n \\"PolicyType\\": \\"PRIORITY\\",\\n \\"InstanceTypeToNum\\": {\\n \\"key\\": 0\\n },\\n \\"InstanceTypeDetails\\": [\\n {\\n \\"SpotInstanceIds\\": [\\n \\"i-bp1ifuxmr8l6pb1yxxxx\\"\\n ],\\n \\"InstanceType\\": \\"ecs.g6.xlarge\\",\\n \\"OnDemandInstanceIds\\": [\\n \\"i-bp1ifuxmr8l6pb1sxxxx\\"\\n ]\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => 'ListAutoScalingActivities', - ], - 'GetAutoScalingActivity' => [ - 'summary' => 'Queries the information about an auto scaling activity.', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\",\\n \\"FormatSize\\": 506930200,\\n \\"FormatSizeUnit\\": \\"MB\\",\\n \\"FormatRatio\\": 0.23,\\n \\"FormatDayGrowthSize\\": 1232124,\\n \\"FormatSizeDayGrowthRatio\\": 0.04\\n }\\n ],\\n \\"Owner\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"partitionNum\\",\\n \\"Value\\": 441,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"number of partitions\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of large files\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 5,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of medium files\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 18,\\n \\"Unit\\": \\"\\\\\\"“\\",\\n \\"Description\\": \\"Number of small files\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 451,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of tiny files\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 3123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of empty files\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of total files\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of large files\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of medium files\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.04,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of small files\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.96,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of tiny files\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 203431,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 14981,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 217715,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 33229309,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 33800296,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Hot data ratio\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of warm data\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Cold data ratio\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.98,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of freeze data\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 40,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of large files\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 20,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of medium files\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 18,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of small files\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": 482,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of tiny files\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": -20,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of empty files\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 203431,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of hot data\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": 149841,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": 217715,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": 33229309,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of freeze data\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 33800296,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total files\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of large files\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of small files\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.04,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 70,\\n \\"HiveDistributionScore\\": 80,\\n \\"HiveFormatScore\\": 60,\\n \\"HiveScore\\": 80\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorHiveTable', + 'summary' => 'Obtains the analysis results of a specific Hive table in a cluster on E-MapReduce (EMR) Doctor.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:21.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHiveTable', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetDoctorJob' => [ + 'description' => 'Get realtime job by yarn', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9656,250 +9233,152 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '132561', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce7I2Y7W', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'ScalingActivityId', + 'name' => 'AppId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '伸缩活动ID。', - 'description' => 'The ID of the scaling activity.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'asa-36373b084d6b4b13aa50f4129a9e****', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the job that is submitted to YARN.'."\n", 'type' => 'string', 'required' => true, 'example' => 'application_1542620905989_****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', + 'title' => '', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'ScalingActivity' => [ - 'description' => 'The information about the scaling activity.'."\n", + 'Data' => [ + 'description' => 'The information about the job.'."\n", 'type' => 'object', 'properties' => [ - 'ActivityId' => [ - 'title' => '伸缩活动ID。', - 'description' => 'The ID of the scaling activity.'."\n", - 'type' => 'string', - 'example' => 'asa-36373b084d6b4b13aa50f4129a9e****', - ], - 'RuleName' => [ - 'title' => '伸缩规则名称。', - 'description' => 'The name of the scaling rule.'."\n", - 'type' => 'string', - 'example' => 'scaling-out-memory', - ], - 'ActivityType' => [ - 'title' => '伸缩活动类型。', - 'description' => 'The type of the scaling activity. Valid value:'."\n" - ."\n" - .'* SCALE_OUT'."\n" - .'* SCALE_IN'."\n", - 'type' => 'string', - 'example' => 'SCALE_OUT', - ], - 'ClusterId' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'example' => 'c-b933c5aac8fe****', - ], - 'NodeGroupId' => [ - 'title' => '节点组ID。', - 'description' => 'The ID of the node group.'."\n", - 'type' => 'string', - 'example' => 'ng-869471354ecd****', - ], - 'NodeGroupName' => [ - 'title' => '节点组名称。', - 'description' => 'The name of the node group.'."\n", - 'type' => 'string', - 'example' => 'task-01', - ], - 'StartTime' => [ - 'title' => '伸缩启动时间。', - 'description' => 'The time when scaling started.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639714634819', - ], - 'EndTime' => [ - 'title' => '伸缩结束时间。', - 'description' => 'The time when scaling ended.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639715634819', - ], - 'ActivityState' => [ - 'title' => '伸缩活动状态。', - 'description' => 'The status of the scaling activity. Valid values:'."\n" - ."\n" - .'* REJECTED'."\n" - .'* SUCCESSFUL'."\n" - .'* FAILED'."\n" - .'* IN_PROGRESS'."\n", - 'type' => 'string', - 'example' => 'IN_PROGRESS', - ], - 'ExpectNum' => [ - 'title' => '本次扩缩数量。', - 'description' => 'The number of added or removed instances.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'OperationId' => [ - 'title' => '操作ID。', - 'description' => 'The operation ID.'."\n", - 'type' => 'string', - 'example' => 'op-13c37a77c505****', - ], - 'Description' => [ - 'title' => '伸缩活动描述。', - 'description' => 'The description of the scaling activity.'."\n", - 'type' => 'string', - 'example' => 'clusterId not exist', - ], - 'ActivityResults' => [ - 'title' => '本次伸缩活动对应的实例列表。', - 'description' => 'The instances that correspond to the scaling activity.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The instance that corresponds to the scaling activity.'."\n", - '$ref' => '#/components/schemas/ScalingActivityResult', + 'AppId' => ['description' => 'The ID of the job that was submitted to YARN.'."\n", 'type' => 'string', 'example' => 'application_1542620905989_****', 'title' => ''], + 'AppName' => ['description' => 'The name of the job.'."\n", 'type' => 'string', 'example' => 'CREATE TABLE test...ranks=1 (Stage-1)', 'title' => ''], + 'User' => ['description' => 'The username that was used to submit the job.'."\n", 'type' => 'string', 'example' => 'DW', 'title' => ''], + 'Queue' => ['description' => 'The YARN queue to which the job was submitted.'."\n", 'type' => 'string', 'example' => 'DW', 'title' => ''], + 'State' => ['description' => 'The running state of the job. Valid values:'."\n" + ."\n" + .'* FINISHED'."\n" + .'* FAILED'."\n" + .'* KILLED'."\n", 'type' => 'string', 'example' => 'FINISHED', 'title' => ''], + 'FinalStatus' => ['description' => 'The final state of the job. Valid values:'."\n" + ."\n" + .'* SUCCEEDED'."\n" + .'* FAILED'."\n" + .'* KILLED'."\n" + .'* ENDED'."\n" + .'* UNDEFINED'."\n", 'type' => 'string', 'example' => 'KILLED', 'title' => ''], + 'Type' => ['description' => 'The type of the compute engine.'."\n", 'type' => 'string', 'example' => 'SPARK', 'title' => ''], + 'StartTime' => ['description' => 'The time when the job was submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1673946000000', 'title' => ''], + 'LaunchTime' => ['description' => 'The time when the job was started. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1665014400000', 'title' => ''], + 'ElapsedTime' => ['description' => 'The total running time of the job. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '278', 'title' => ''], + 'FinishTime' => ['description' => 'The time when the job ended. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1658388322000', 'title' => ''], + 'Metrics' => [ + 'description' => 'The data about metrics.'."\n", + 'type' => 'object', + 'properties' => [ + 'VcoreSeconds' => [ + 'description' => 'The CPU usage.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'vcoreSeconds', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '11123', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'VCores * Sec', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total vcore usage over time in seconds', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MemSeconds' => [ + 'description' => 'The amount of memory consumed.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'memSeconds', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12312312', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB * Sec', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total memory usage over time in seconds', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], ], - ], - 'PolicyType' => [ - 'description' => 'The policy type.'."\n", - 'type' => 'string', - 'example' => 'AUTO', - ], - 'RuleDetail' => [ 'title' => '', - 'description' => 'The description of the scaling rule.'."\n", - '$ref' => '#/components/schemas/ScalingRule', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivity\\": {\\n \\"ActivityId\\": \\"asa-36373b084d6b4b13aa50f4129a9e****\\",\\n \\"RuleName\\": \\"scaling-out-memory\\",\\n \\"ActivityType\\": \\"SCALE_OUT\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupName\\": \\"task-01\\",\\n \\"StartTime\\": 1639714634819,\\n \\"EndTime\\": 1639715634819,\\n \\"ActivityState\\": \\"IN_PROGRESS\\",\\n \\"ExpectNum\\": 10,\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"Description\\": \\"clusterId not exist\\",\\n \\"ActivityResults\\": [\\n {\\n \\"InstanceId\\": \\"i-bp1cudc25w2bfwl5****\\"\\n }\\n ],\\n \\"PolicyType\\": \\"AUTO\\",\\n \\"RuleDetail\\": {\\n \\"RuleName\\": \\"scale-out-memory\\",\\n \\"TriggerType\\": \\"TIME_TRIGGER\\",\\n \\"ActivityType\\": \\"SCALE_IN\\",\\n \\"AdjustmentType\\": \\"CHANGE_IN_CAPACITY\\",\\n \\"AdjustmentValue\\": 100,\\n \\"TimeTrigger\\": {\\n \\"LaunchTime\\": \\"\\",\\n \\"StartTime\\": 1639714800000,\\n \\"EndTime\\": 1639714800000,\\n \\"LaunchExpirationTime\\": 600,\\n \\"RecurrenceType\\": \\"WEEKLY\\",\\n \\"RecurrenceValue\\": \\"MON,FRI,SUN\\"\\n },\\n \\"MetricsTrigger\\": {\\n \\"TimeWindow\\": 30,\\n \\"EvaluationCount\\": 2,\\n \\"CoolDownInterval\\": 300,\\n \\"TimeConstraints\\": [\\n {\\n \\"StartTime\\": \\"06:00:00\\",\\n \\"EndTime\\": \\"23:59:59\\"\\n }\\n ],\\n \\"ConditionLogicOperator\\": \\"Or\\",\\n \\"Conditions\\": [\\n {\\n \\"MetricName\\": \\"yarn_resourcemanager_root_availablememoryusage\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"Statistics\\": \\"AVG\\",\\n \\"ComparisonOperator\\": \\"LT\\",\\n \\"Threshold\\": 12.5\\n }\\n ]\\n },\\n \\"MinAdjustmentValue\\": 1,\\n \\"CollationTimeZone\\": {\\n \\"TimeZone\\": \\"Asia/Shanghai\\",\\n \\"CurrentTimeOffset\\": \\"UTC+08:00\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'GetAutoScalingActivity', - ], - 'ListApplications' => [ - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"AppId\\": \\"application_1542620905989_****\\",\\n \\"AppName\\": \\"CREATE TABLE test...ranks=1 (Stage-1)\\",\\n \\"User\\": \\"DW\\",\\n \\"Queue\\": \\"DW\\",\\n \\"State\\": \\"FINISHED\\",\\n \\"FinalStatus\\": \\"KILLED\\",\\n \\"Type\\": \\"SPARK\\",\\n \\"StartTime\\": 1673946000000,\\n \\"LaunchTime\\": 1665014400000,\\n \\"ElapsedTime\\": 278,\\n \\"FinishTime\\": 1658388322000,\\n \\"Metrics\\": {\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorJob', + 'summary' => 'Obtains the basic running information about a job on E-MapReduce (EMR) Doctor.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:21.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorJob', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'GetDoctorReportComponentSummary' => [ + 'description' => 'get specify component\'s report analysis by EMR Doctor', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9907,245 +9386,138 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '13072', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceU3PP4U', - ], + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-e6a9d46e92675****', - ], + 'schema' => ['description' => 'Cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****', 'title' => ''], ], [ - 'name' => 'NextToken', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'The page number of the next page returned.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0', - ], - ], - [ - 'name' => 'MaxResults', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The total number of pages.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - 'default' => '100', - ], + 'schema' => ['title' => '', 'description' => 'Report date.', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ - 'name' => 'ApplicationNames', + 'name' => 'ComponentType', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', 'schema' => [ - 'title' => '应用名称列表。', - 'description' => 'The application names.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of a component.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'HDFS', - ], - 'required' => false, - 'example' => 'c-b933c5aac8fe****', - 'maxItems' => 100, + 'title' => '', + 'description' => 'Select component filter type. Values:'."\n" + ."\n" + .'- compute'."\n" + ."\n" + .'- hive'."\n" + ."\n" + .'- hdfs'."\n" + ."\n" + .'- yarn'."\n" + ."\n" + .'- oss'."\n" + ."\n" + .'- hbase', + 'enumValueTitles' => ['compute' => 'compute', 'hive' => 'hive', 'hdfs' => 'hdfs', 'yarn' => 'yarn', 'oss' => 'oss', 'hbase' => 'hbase'], + 'type' => 'string', + 'required' => true, + 'example' => 'compute', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'Applications' => [ - 'description' => 'The applications.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The application.'."\n", - 'type' => 'object', - 'properties' => [ - 'ApplicationName' => [ - 'title' => '应用名称。', - 'description' => 'The application name.'."\n", - 'type' => 'string', - 'example' => 'HDFS', - ], - 'ApplicationVersion' => [ - 'title' => '应用版本。', - 'description' => 'The version of the application.'."\n", - 'type' => 'string', - 'deprecated' => true, - 'example' => '2.8.1', - ], - 'CommunityVersion' => [ - 'title' => '社区版本。', - 'description' => 'The community edition.'."\n", - 'type' => 'string', - 'example' => '2.8.5', - ], - 'ApplicationState' => [ - 'title' => '应用操作状态', - 'description' => 'The status of the applications. Valid values:'."\n" - ."\n" - .'* STOPPED: At least one application is in the Stopped state.'."\n" - .'* RUNNING: All applications are in the Running state.'."\n" - ."\n" - .'This parameter is returned only for DataLake, OLAP, Dataflow, DataServing, and custom clusters. For other types of clusters, no value is returned for this parameter.'."\n", - 'type' => 'string', - 'example' => 'RUNNING', - ], - ], + 'Data' => [ + 'description' => 'The content of the report.', + 'type' => 'object', + 'properties' => [ + 'Score' => ['description' => 'Score.', 'type' => 'integer', 'format' => 'int32', 'example' => '88', 'title' => ''], + 'Summary' => ['description' => 'The summary of the report.', 'type' => 'string', 'example' => ' [计算检测] 计算健康度分数为 88 ,健康度良好,继续加油'."\n" + .'集群中大部分任务保持健康状态'."\n" + .'集群内存利用率为: 47.8% 偏低', 'title' => ''], + 'Suggestion' => ['description' => 'Optimization suggestions.', 'type' => 'string', 'example' => '计算健康度分数为 88 ,集群处于健康状态,继续保持 '."\n" + .'计算任务扫描'."\n" + .'对集群中 1518 个计算任务进行了扫描,包含 209 个任务处于不健康状态 ,596 个任务处于亚健康状态 ,713 个任务处于健康状态。 '."\n" + .'其中:'."\n" + .' Tez 任务 1518 个,加权平均分为 88 ,内存使用量占整体集群的 100.0% ,CPU 使用量占整体集群的 100.0% ,其中 209 个任务处于不健康状态,596 个任务处于亚健康状态;'."\n" + .'可在下面的任务明细列表中点击\'\'查看详情\'\',查看存在的具体问题及解决方案。其中\'\'低分任务算力内存时 (GB*Sec)Top20 \'\'表根据内存时使用量进行排序,由于大任务对集群整体影响可能更大,建议优先关注。'."\n" + .'内存利用率较低'."\n" + .'集群整体内存利用率为 47.8% ,内存利用率较低,计算资源存在浪费,建议优先对内存算力时较大且内存利用率较低的 TOP 任务进行优化'."\n" + .'其中,Tez作业平均内存利用率为 47.8% ', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'The page number of the next page returned.'."\n", - 'type' => 'string', - 'example' => '2', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of pages.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvokeEcmError', - 'errorMessage' => 'An error occurred while invoking ECM service.', - ], - [ - 'errorCode' => 'NotFound.Cluster', - 'errorMessage' => 'The cluster is not found.', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Applications\\": [\\n {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ApplicationVersion\\": \\"2.8.5-20230620\\",\\n \\"CommunityVersion\\": \\"2.8.5\\",\\n \\"ApplicationState\\": \\"RUNNING\\"\\n }\\n ],\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\",\\n \\"NextToken\\": \\"2\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 20\\n}","errorExample":""},{"type":"xml","example":"<ListApplicationsResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <TotalCount>20</TotalCount>\\n <NextToken>1</NextToken>\\n <MaxResults>10</MaxResults>\\n <Applications>\\n <ApplicationName>hadoop</ApplicationName>\\n <ApplicationVersion>2.8.1</ApplicationVersion>\\n </Applications>\\n</ListApplicationsResponse>","errorExample":""}]', - 'title' => 'ListApplications', - 'summary' => 'Queries a list of applications.', - ], - 'GetApplication' => [ - 'description' => '查询应用详情。', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Score\\": 88,\\n \\"Summary\\": \\" [计算检测] 计算健康度分数为 88 ,健康度良好,继续加油\\\\n集群中大部分任务保持健康状态\\\\n集群内存利用率为: 47.8% 偏低\\",\\n \\"Suggestion\\": \\"计算健康度分数为 88 ,集群处于健康状态,继续保持 \\\\n计算任务扫描\\\\n对集群中 1518 个计算任务进行了扫描,包含 209 个任务处于不健康状态 ,596 个任务处于亚健康状态 ,713 个任务处于健康状态。 \\\\n其中:\\\\n Tez 任务 1518 个,加权平均分为 88 ,内存使用量占整体集群的 100.0% ,CPU 使用量占整体集群的 100.0% ,其中 209 个任务处于不健康状态,596 个任务处于亚健康状态;\\\\n可在下面的任务明细列表中点击\'\'查看详情\'\',查看存在的具体问题及解决方案。其中\'\'低分任务算力内存时 (GB*Sec)Top20 \'\'表根据内存时使用量进行排序,由于大任务对集群整体影响可能更大,建议优先关注。\\\\n内存利用率较低\\\\n集群整体内存利用率为 47.8% ,内存利用率较低,计算资源存在浪费,建议优先对内存算力时较大且内存利用率较低的 TOP 任务进行优化\\\\n其中,Tez作业平均内存利用率为 47.8% \\"\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorReportComponentSummary', + 'summary' => 'Obtain the analysis result report of a specified component from EMR Doctor.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:20.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorReportComponentSummary', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'translator' => 'manual', + ], + 'GetManagedScalingPolicy' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -10154,922 +9526,494 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceU3PP4U', - ], + 'abilityTreeCode' => '235207', + 'abilityTreeNodes' => ['FEATUREemapreduceB95X9C'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-e6a9d46e92675****', - ], - ], - [ - 'name' => 'ApplicationName', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '应用名称。', - 'description' => 'The application name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'HDFS', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The returned result.'."\n", + 'title' => '', + 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ - 'Application' => [ - 'description' => 'The application.'."\n", + 'ScalingPolicy' => [ + 'description' => 'The elastic scaling policy.', 'type' => 'object', 'properties' => [ - 'ApplicationName' => [ - 'title' => '应用名称。', - 'description' => 'The application name.'."\n", - 'type' => 'string', - 'example' => 'HDFS', - ], - 'ApplicationVersion' => [ - 'title' => '应用版本。', - 'description' => 'The application version.'."\n", - 'type' => 'string', - 'example' => '2.8.1', - ], - 'CommunityVersion' => [ - 'title' => '社区版本。', - 'description' => 'The community version.'."\n", - 'type' => 'string', - 'example' => '2.8.1', - ], - 'Actions' => [ - 'title' => '操作列表。', - 'description' => 'The list of actions supported by the application.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The action that you want to perform on requests that match the rule.'."\n", - 'type' => 'object', - 'properties' => [ - 'RunActionScope' => [ - 'title' => '执行范围。', - 'description' => 'The execution scope. Valid values:'."\n" - ."\n" - .'* APPLICATION: the application scope.'."\n" - .'* COMPONENT: the component scope.'."\n" - .'* COMPONENT_INSTANCE: the component instance scope.'."\n", - 'type' => 'string', - 'example' => 'COMPONENT_INSTANCE', - ], - 'ComponentName' => [ - 'title' => '组件名称。', - 'description' => 'The component name.'."\n", - 'type' => 'string', - 'example' => 'DataNode', - ], - 'ActionName' => [ - 'title' => '操作名称。', - 'description' => 'The action name.'."\n", - 'type' => 'string', - 'example' => 'decommission', - ], - 'Description' => [ - 'title' => '操作描述。', - 'description' => 'The description of the action.'."\n", - 'type' => 'string', - 'example' => '描述', - ], - 'Command' => [ - 'title' => '命令。', - 'description' => 'The action command.'."\n", - 'type' => 'string', - 'example' => 'decommission', - ], - 'ActionParams' => [ - 'title' => '操作参数。', - 'description' => 'The list of action parameters.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The parameters of the action.'."\n", - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => '动作参数KEY。', - 'description' => 'The parameter name.'."\n", - 'type' => 'string', - 'example' => 'timeout', - ], - 'ValueAttribute' => [ - 'title' => '动作参数属性。', - 'description' => 'The parameter value attribute.'."\n", - 'type' => 'object', - 'properties' => [ - 'ValueType' => [ - 'title' => '属性值类型。', - 'description' => 'The value type of the column.'."\n", - 'type' => 'string', - 'example' => 'int', - ], - 'ValueMaximum' => [ - 'title' => '最大值。', - 'description' => 'The maximum range of values.'."\n", - 'type' => 'string', - 'example' => '100', - ], - 'ValueMinimum' => [ - 'title' => '最小值。', - 'description' => 'The minimum range of values.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'ValueUnit' => [ - 'title' => '值单位。', - 'description' => 'The unit of the value.'."\n", - 'type' => 'string', - 'example' => 'number', - ], - 'ValueIncrementStep' => [ - 'title' => '值步长。', - 'description' => 'The size of the value increment.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'Description' => [ - 'title' => '值表述。', - 'description' => 'Value description.'."\n", - 'type' => 'string', - 'example' => '描述', - ], - ], - ], - 'Description' => [ - 'title' => '动作参数描述。', - 'description' => 'Description'."\n", - 'type' => 'string', - 'example' => 'start', - ], - ], - ], - ], - ], + 'ClusterId' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], + 'ScalingPolicyId' => ['title' => '', 'description' => 'The scaling policy ID.', 'type' => 'string', 'example' => 'asp-asduwe23znl***'], + 'Constraints' => [ + 'title' => '', + 'description' => 'The constraints on the maximum and minimum values.', + 'type' => 'object', + 'properties' => [ + 'MaxCapacity' => ['title' => '', 'description' => 'The maximum value.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'MinCapacity' => ['title' => '', 'description' => 'The minimum value.', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'MaxOnDemandCapacity' => ['title' => '', 'description' => 'The maximum number of pay-as-you-go task nodes.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], ], - ], - 'ApplicationState' => [ - 'title' => '应用操作状态。', - 'description' => 'The status of the application.'."\n", - 'type' => 'string', - 'example' => 'RUNNING', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvokeEcmError', - 'errorMessage' => 'An error occurred while invoking ECM service.', - ], - [ - 'errorCode' => 'NotFound.Cluster', - 'errorMessage' => 'The cluster is not found.', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingPolicy\\": {\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ScalingPolicyId\\": \\"asp-asduwe23znl***\\",\\n \\"Constraints\\": {\\n \\"MaxCapacity\\": 20,\\n \\"MinCapacity\\": 0,\\n \\"MaxOnDemandCapacity\\": 10\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetManagedScalingPolicy', + 'summary' => 'Retrieves the details of a managed scaling policy.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetManagedScalingPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Application\\": {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ApplicationVersion\\": \\"2.8.1\\",\\n \\"CommunityVersion\\": \\"2.8.1\\",\\n \\"Actions\\": [\\n {\\n \\"RunActionScope\\": \\"COMPONENT_INSTANCE\\",\\n \\"ComponentName\\": \\"DataNode\\",\\n \\"ActionName\\": \\"decommission\\",\\n \\"Description\\": \\"描述\\",\\n \\"Command\\": \\"decommission\\",\\n \\"ActionParams\\": [\\n {\\n \\"Key\\": \\"timeout\\",\\n \\"ValueAttribute\\": {\\n \\"ValueType\\": \\"int\\",\\n \\"ValueMaximum\\": \\"100\\",\\n \\"ValueMinimum\\": \\"1\\",\\n \\"ValueUnit\\": \\"秒\\",\\n \\"ValueIncrementStep\\": \\"1\\",\\n \\"Description\\": \\"设置超时时间\\"\\n },\\n \\"Description\\": \\"decommission下线动作\\"\\n }\\n ]\\n }\\n ],\\n \\"ApplicationState\\": \\"RUNNING\\"\\n },\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","errorExample":""},{"type":"xml","example":"<GetApplicationResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <Application>\\n <ApplicationName>KAFKA</ApplicationName>\\n <ApplicationVersion>2.8.1</ApplicationVersion>\\n <Actions>\\n <ComponentName>server</ComponentName>\\n <ActionName>innode_disks_balance</ActionName>\\n <ActionParams>\\n <Key>in-node-disks-balance-threshold</Key>\\n <ValueAttribute>\\n <ValueType>int</ValueType>\\n <ValueMaximum>111</ValueMaximum>\\n <ValueMinimum>111</ValueMinimum>\\n <ValueUnit>null</ValueUnit>\\n <ValueIncrementStep>1</ValueIncrementStep>\\n </ValueAttribute>\\n <Description>description of in-node-disks-balance-threshold key</Description>\\n </ActionParams>\\n </Actions>\\n </Application>\\n</GetApplicationResponse>","errorExample":""}]', - 'title' => 'GetApplication', - 'summary' => 'Retrieves the details of an application.', + 'translator' => 'manual', ], - 'RunApplicationAction' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetNodeGroup' => [ + 'description' => 'Queries the details of a node group.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceWFD0SJ', - ], + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduce51LGQ1'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region in which the cluster resides.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'C-C95F0A39D8FF****', - ], + 'schema' => ['description' => 'The ID of the cluster.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****', 'title' => ''], ], [ - 'name' => 'ActionName', + 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '操作名称。', - 'description' => 'The name of the action. Valid values:'."\n" - ."\n" - .'* start'."\n" - .'* stop'."\n" - .'* config'."\n" - .'* restart'."\n" - .'* refresh_queues'."\n" - .'* refresh_labels'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'start', - ], + 'schema' => ['description' => 'The ID of the node group.', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****', 'title' => ''], ], - [ - 'name' => 'ComponentInstanceSelector', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '组件实例选择器。', - 'description' => 'The operation object.'."\n", - 'required' => true, - '$ref' => '#/components/schemas/ComponentInstanceSelector', + 'title' => '', + 'description' => 'The response parameters.', + 'type' => 'object', + 'properties' => [ + 'NodeGroup' => ['description' => 'The node group.', '$ref' => '#/components/schemas/NodeGroup', 'title' => '', 'example' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', 'title' => ''], + ], + 'example' => '', ], ], - [ - 'name' => 'RollingExecute', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '是否滚动执行。', - 'description' => 'Specifies whether to enable rolling execution.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], + ], + 503 => [ + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NodeGroup\\": {\\n \\"WithPublicIp\\": true,\\n \\"SpotInstanceRemedy\\": false,\\n \\"DataDisks\\": [\\n {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 80,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 5\\n }\\n ],\\n \\"CompensateWithOnDemand\\": true,\\n \\"NodeGroupState\\": \\"RESIZING\\",\\n \\"SystemDisk\\": {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 60,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 1\\n },\\n \\"PrivatePoolOptions\\": {\\n \\"MatchCriteria\\": \\"Open\\",\\n \\"PrivatePoolIds\\": [\\n \\"crp-xxxx\\"\\n ]\\n },\\n \\"NodeGroupType\\": \\"MASTER\\",\\n \\"PaymentType\\": \\"Subscription\\",\\n \\"InstanceTypes\\": [\\n \\"ecs.g7.2xlarge\\"\\n ],\\n \\"CostOptimizedConfig\\": {\\n \\"OnDemandBaseCapacity\\": 80,\\n \\"OnDemandPercentageAboveBaseCapacity\\": 80,\\n \\"SpotInstancePools\\": 2\\n },\\n \\"GracefulShutdown\\": false,\\n \\"SpotStrategy\\": \\"NoSpot\\",\\n \\"StateChangeReason\\": {\\n \\"Message\\": \\"The instance type is required.\\",\\n \\"Code\\": \\"UserRequest\\"\\n },\\n \\"Status\\": \\"CREATED\\",\\n \\"ZoneId\\": \\"cn-hangzhou\\",\\n \\"NodeGroupName\\": \\"core-1\\",\\n \\"VSwitchIds\\": [\\n \\"vsw-bp1opd2qejvhsabfe****\\"\\n ],\\n \\"SpotBidPrices\\": [\\n {\\n \\"BidPrice\\": 1000,\\n \\"InstanceType\\": \\"ecs.g7.2xlarge\\"\\n }\\n ],\\n \\"NodeResizeStrategy\\": \\"PRIORITY\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"AdditionalSecurityGroupIds\\": [\\n \\"\\"\\n ],\\n \\"DeploymentSetStrategy\\": \\"NONE\\",\\n \\"RunningNodeCount\\": 3\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetNodeGroup', + 'summary' => 'Queries the details of a node group.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:20.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-10-12T06:06:51.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-10-12T06:06:51.000Z', 'description' => 'Error codes changed, Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetNodeGroup'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetNodeGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'translator' => 'manual', + ], + 'GetOperation' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ExecuteStrategy', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '运行策略。', - 'description' => 'The execution policy. Valid values:'."\n" - ."\n" - .'* FAILED_BLOCK: The system stops the execution if the execution fails.'."\n" - .'* FAILED_CONTINUE: The system continues the execution if the execution fails.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'FAILED_CONTINUE', - ], + 'AK' => [], ], + ], + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '38519', + 'abilityTreeNodes' => ['FEATUREemapreduceW8BA0F'], + ], + 'parameters' => [ [ - 'name' => 'Interval', + 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '滚动执行间隔时间 单位:秒。', - 'description' => 'The interval for rolling execution. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['title' => '', 'description' => 'The district ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'BatchSize', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '每批数量。', - 'description' => 'The number of applications in each batch.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the cluster that you want to query.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'Description', + 'name' => 'OperationId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '描述。', - 'description' => 'The description of the execution.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '运行描述', - ], + 'schema' => ['title' => '', 'description' => 'The operation ID.'."\n" + ."\n" + .'References:'."\n" + ."\n" + .'* [CreateCluster](~~454393~~)'."\n" + .'* [IncreaseNodes](~~454397~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'op-13c37a77c505****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', + 'title' => '', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'OperationId' => [ - 'title' => '操作ID。', - 'description' => 'The operation ID.'."\n", - 'type' => 'string', - 'example' => 'op-13c37a77c505****', - ], - 'AbnInstances' => [ - 'title' => '异常节点列表。', - 'description' => 'The abnormal nodes.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'NodeName' => [ - 'description' => 'The name of the abnormal node.'."\n", - 'type' => 'string', - 'example' => 'core1-1', - ], - 'NodeId' => [ - 'description' => 'The ID of the abnormal node.'."\n", - 'type' => 'string', - 'example' => 'i-bp1cudc25w2bfwl5****', - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', - ], + 'Operation' => ['description' => 'The operation that was performed.'."\n", '$ref' => '#/components/schemas/Operation', 'title' => '', 'example' => ''], + 'RequestId' => ['title' => '', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3896A'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConcurrentModification', - 'errorMessage' => 'The request on %s failed due to multiple requests to change this object were submitted simultaneously. Wait a few minutes and try again.', - ], - [ - 'errorCode' => 'InvalidParameter.InvalidRunActionScope', - 'errorMessage' => 'The specified run action scope is invalid.', - ], - [ - 'errorCode' => 'MissingParameter.ComponentInstance', - 'errorMessage' => 'You must specify componentInstance.', - ], - [ - 'errorCode' => 'MissingParameter.NodeId', - 'errorMessage' => 'You must specify nodeId.', - ], - [ - 'errorCode' => 'MissingParameter.ComponentName', - 'errorMessage' => 'You must specify componentName.', - ], - [ - 'errorCode' => 'MissingParameter.ApplicationName', - 'errorMessage' => 'You must specify applicationName.', - ], - [ - 'errorCode' => 'MissingParameter.NodeGroupId', - 'errorMessage' => 'You must specify nodeGroupId.', - ], - [ - 'errorCode' => 'InvokeEcmError', - 'errorMessage' => 'An error occurred while invoking ECM service.', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Operation\\": {\\n \\"Description\\": \\"start\\",\\n \\"EndTime\\": 1628589439114,\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"CreateTime\\": 1628589439114,\\n \\"StartTime\\": 1628589439114,\\n \\"OperationType\\": \\"CREATE_CLUSTER\\",\\n \\"OperationState\\": \\"COMPLETED\\",\\n \\"StateChangeReason\\": {\\n \\"Message\\": \\"The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.\\",\\n \\"Code\\": \\"OutOfStock\\"\\n }\\n },\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\"\\n}","errorExample":""},{"type":"xml","example":"<GetOperationResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <OperationState>COMPLETED</OperationState>\\n <Orders/>\\n <PriceInfo>\\n <PromotionResults/>\\n </PriceInfo>\\n</GetOperationResponse>","errorExample":""}]', + 'title' => 'GetOperation', + 'summary' => 'Gets the details of an asynchronous operation.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-06-10T10:52:10.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-10-12T06:06:49.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-10-12T06:06:49.000Z', 'description' => 'Error codes changed, Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetOperation'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetOperation', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"AbnInstances\\": [\\n {\\n \\"NodeName\\": \\"core1-1\\",\\n \\"NodeId\\": \\"i-bp1cudc25w2bfwl5****\\"\\n }\\n ],\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","errorExample":""},{"type":"xml","example":"<RunApplicationActionResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <OperationId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</OperationId>\\n</RunApplicationActionResponse>","errorExample":""}]', - 'title' => 'RunApplicationAction', - 'summary' => 'Manages a service deployed in a cluster. For example, you can call this operation to start pr stop a service.', ], - 'ListApplicationConfigs' => [ - 'description' => '查询应用配置。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'IncreaseNodes' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce961UGJ', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '20107', + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-e6a9d46e9267****', - ], + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****', 'title' => ''], ], [ - 'name' => 'NextToken', + 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'The page number of the next page returned.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the node group to scale out.', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'IncreaseNodeCount', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['description' => 'The number of nodes to add. Valid values: 1 to 500.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '3', 'title' => ''], ], [ - 'name' => 'ApplicationName', + 'name' => 'AutoPayOrder', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '应用名称。', - 'description' => 'The name of the application.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'HDFS', - ], + 'schema' => ['description' => 'Specifies whether to automatically pay for the order. This parameter is effective only when the PaymentType of the node group is Subscription. Valid values:'."\n" + ."\n" + .'- true: Automatically pays for the order.'."\n" + ."\n" + .'- false: Does not automatically pay for the order.'."\n" + ."\n" + .'Default value: false.', 'type' => 'boolean', 'example' => 'false', 'title' => '', 'required' => false], ], [ - 'name' => 'NodeGroupId', + 'name' => 'AutoRenew', 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点组ID。', - 'description' => 'The ID of the node group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ng-d555335ced5c****', - ], + 'schema' => ['description' => 'Specifies whether to enable auto-renewal for the added nodes. The default value is false. Valid values:'."\n" + ."\n" + .'- true: Enables auto-renewal.'."\n" + ."\n" + .'- false: Disables auto-renewal.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'ConfigFileName', + 'name' => 'PaymentDuration', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '配置文件名称。', - 'description' => 'The name of the configuration file.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'hdfs-site.xml', - ], + 'schema' => ['description' => 'The subscription duration. If PaymentDurationUnit is set to Month, valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => '', 'required' => false], ], [ - 'name' => 'ConfigItemKey', + 'name' => 'PaymentDurationUnit', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '配置键值。', - 'description' => 'The key of the configuration item.', - 'type' => 'string', - 'required' => false, - 'example' => 'dfs.replication', - ], + 'schema' => ['description' => 'The unit of the subscription duration. Valid values:'."\n" + ."\n" + .'- Month: The unit is month.', 'type' => 'string', 'example' => 'Month', 'title' => '', 'required' => false], ], [ - 'name' => 'ConfigItemValue', + 'name' => 'ApplicationConfigs', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '配置项值。', - 'description' => 'The value of the configuration item.'."\n", - 'type' => 'string', + 'title' => '', + 'description' => 'The application configurations. The number of array elements can range from 1 to 1,000.', + 'type' => 'array', + 'items' => ['description' => 'The application configuration.', '$ref' => '#/components/schemas/ApplicationConfig', 'required' => false, 'title' => '', 'example' => ''], 'required' => false, - 'example' => '2', + 'example' => 'Month', + 'maxItems' => 100, ], ], [ - 'name' => 'NodeId', + 'name' => 'MinIncreaseNodeCount', 'in' => 'query', - 'allowEmptyValue' => false, + 'schema' => ['description' => 'The minimum number of nodes to add in this scale-out operation. The value must be between 1 and 500.'."\n" + ."\n" + .'- If you set this parameter and the available ECS inventory is less than IncreaseNodeCount, the system attempts to create at least the number of nodes specified by MinIncreaseNodeCount. The scale-out flow is then marked as `PARTIAL_COMPLETED`.'."\n" + ."\n" + .'- If you do not set this parameter and the available ECS inventory is less than IncreaseNodeCount, the scale-out flow fails and is marked as `FAILED`.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => ''], + ], + [ + 'name' => 'Promotions', + 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'title' => '节点ID。', - 'description' => 'The node ID.'."\n", - 'type' => 'string', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/Promotion', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], 'required' => false, - 'example' => 'i-bp10h9rezawz1i4o****', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'ApplicationConfigs' => [ - 'description' => 'The application configurations.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ApplicationName' => [ - 'title' => '应用名称。', - 'description' => 'The name of the application.'."\n", - 'type' => 'string', - 'example' => 'HDFS', - ], - 'ConfigFileName' => [ - 'title' => '配置文件名称。', - 'description' => 'The name of the configuration file.'."\n", - 'type' => 'string', - 'example' => 'hdfs-site.xml', - ], - 'ConfigItemKey' => [ - 'title' => '配置项键。', - 'description' => 'The key of the configuration item.'."\n", - 'type' => 'string', - 'example' => 'dfs.replication'."\n", - ], - 'ConfigItemValue' => [ - 'title' => '配置项值。', - 'description' => 'The value of the configuration item.'."\n", - 'type' => 'string', - 'example' => '2', - ], - 'CreateTime' => [ - 'title' => '创建时间。', - 'description' => 'The creation time.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1628589439114', - ], - 'UpdateTime' => [ - 'title' => '更新时间。', - 'description' => 'The update time.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1628589439114', - ], - 'Modifier' => [ - 'title' => '修改人员。', - 'description' => 'The person who modified the configurations.'."\n", - 'type' => 'string', - 'example' => '170906468757****', - ], - 'Custom' => [ - 'title' => '是否是自定义配置。', - 'description' => 'Indicates whether the configurations are custom.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'InitValue' => [ - 'title' => '初始值。', - 'description' => 'The initial value.'."\n", - 'type' => 'string', - 'example' => '2', - ], - 'Description' => [ - 'title' => '描述。', - 'description' => 'The description.'."\n", - 'type' => 'string', - 'example' => 'dfs.replication description', - ], - 'ConfigEffectState' => [ - 'title' => '配置值生效状态。', - 'description' => 'The status of the configuration value.'."\n", - 'type' => 'string', - 'example' => 'EFFECT', - ], - 'NodeId' => [ - 'title' => '节点ID。', - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'example' => 'i-bp18y0ng3qqxog4mw****', - ], - 'NodeGroupId' => [ - 'title' => '节点组ID。', - 'description' => 'The node group ID.'."\n", - 'type' => 'string', - 'example' => 'ng-d555335ced5****', - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'The page number of the next page returned.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of pages returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], + 'OperationId' => ['description' => 'The operation ID.', 'type' => 'string', 'example' => 'op-13c37a77c505****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvokeEcmError', - 'errorMessage' => 'An error occurred while invoking ECM service.', - ], - [ - 'errorCode' => 'NotFound.Cluster', - 'errorMessage' => 'The cluster is not found.', - ], - [ - 'errorCode' => 'InvalidParameter.Application', - 'errorMessage' => 'The specified application is invalid.', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'OperationDenied', 'errorMessage' => 'The operation is invalid. %s', 'description' => ''], + ['errorCode' => 'OutOfStock', 'errorMessage' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', 'description' => ''], + ['errorCode' => 'QuotaExceeded', 'errorMessage' => 'Request fail due to quota exceed. %s', 'description' => ''], + ['errorCode' => 'AccountException', 'errorMessage' => 'Account exception. %s', 'description' => ''], + ['errorCode' => 'ConcurrentModification', 'errorMessage' => 'The request on %s failed due to multiple requests to change this object were submitted simultaneously. Wait a few minutes and try again.', 'description' => ''], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'IncreaseNodes', + 'summary' => 'Scales out a target node group.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:30.000Z', 'description' => 'Error codes changed, Request parameters changed'], + ['createdAt' => '2024-02-23T07:10:11.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-06T07:30:24.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-09-05T22:16:57.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-10-12T06:06:50.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-10-12T06:06:50.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-10-12T06:06:50.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'IncreaseNodes'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:IncreaseNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ApplicationConfigs\\": [\\n {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ConfigFileName\\": \\"hdfs-site.xml\\",\\n \\"ConfigItemKey\\": \\"dfs.replication\\\\n\\",\\n \\"ConfigItemValue\\": \\"2\\",\\n \\"CreateTime\\": 1628589439114,\\n \\"UpdateTime\\": 1628589439114,\\n \\"Modifier\\": \\"170906468757****\\",\\n \\"Custom\\": false,\\n \\"InitValue\\": \\"2\\",\\n \\"Description\\": \\"dfs.replication description\\",\\n \\"ConfigEffectState\\": \\"EFFECT\\",\\n \\"NodeId\\": \\"i-bp18y0ng3qqxog4mw****\\",\\n \\"NodeGroupId\\": \\"ng-d555335ced5****\\"\\n }\\n ],\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\",\\n \\"NextToken\\": \\"1\\",\\n \\"MaxResults\\": 100,\\n \\"TotalCount\\": 100\\n}","errorExample":""},{"type":"xml","example":"<ListApplicationConfigsResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <ApplicationConfigs>\\n <ApplicationName>HADOOP</ApplicationName>\\n <ConfigFileName>mapred-site</ConfigFileName>\\n <ConfigVersion>162859798****</ConfigVersion>\\n <ConfigItemKey>yarn.app.mapreduce.am.resource.mb</ConfigItemKey>\\n <ConfigItemValue>3072</ConfigItemValue>\\n <CreateTime>1628589439114</CreateTime>\\n <UpdateTime>1628589439114</UpdateTime>\\n <Modifier>170906468757****</Modifier>\\n <Custom>false</Custom>\\n <Applied>true</Applied>\\n <InitValue>3072</InitValue>\\n <Description>yarn.app.mapreduce.am.resource.mb description</Description>\\n <ConfigItemValueAttribute>\\n <ConfigItemValueType>int</ConfigItemValueType>\\n <ConfigItemValueMaximum>3072</ConfigItemValueMaximum>\\n <ConfigItemValueMinimum>2000</ConfigItemValueMinimum>\\n <ConfigItemValueUnit>mb</ConfigItemValueUnit>\\n <ConfigItemValueReadOnly>true</ConfigItemValueReadOnly>\\n <ConfigItemValueIncrementStep>1</ConfigItemValueIncrementStep>\\n </ConfigItemValueAttribute>\\n </ApplicationConfigs>\\n <MaxResults>100</MaxResults>\\n <NextToken>1</NextToken>\\n <TotalCount>100</TotalCount>\\n</ListApplicationConfigsResponse>","errorExample":""}]', - 'title' => 'ListApplicationConfigs', - 'summary' => 'Queries the configurations of the application.', + 'translator' => 'machine', ], - 'UpdateApplicationConfigs' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'JoinResourceGroup' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11078,523 +10022,243 @@ 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '19029', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce961UGJ', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceGZP0FZ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ClusterId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-e6a9d46e9267****', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the region in which you want to create the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ApplicationName', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '应用名称。', - 'description' => 'The application name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'HDFS', - ], - ], - [ - 'name' => 'RefreshConfig', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '是否刷新配置。', - 'description' => 'Specifies whether to refresh the configurations. Default value: True.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'ConfigAction', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '配置项操作。', - 'description' => 'The operation performed on configuration items. Valid values:'."\n" - ."\n" - .'* ADD'."\n" - .'* UPDATE'."\n" - .'* DELETE'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ADD', - ], - ], - [ - 'name' => 'ConfigScope', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '配置操作范围。', - 'description' => 'The operation scope. Valid values:'."\n" - ."\n" - .'* CLUSTER'."\n" - .'* NODE_GROUP'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CLUSTER', - ], - ], - [ - 'name' => 'ApplicationConfigs', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '应用配置列表。', - 'description' => 'The application configurations.'."\n", - 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/UpdateApplicationConfig', - 'description' => '', - ], - 'required' => true, - 'example' => 'CLUSTER', - ], - ], - [ - 'name' => 'Description', + 'name' => 'ResourceType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '本次更新操作描述。', - 'description' => 'The description.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '更新YARN内存配置。', - ], + 'schema' => ['title' => '', 'description' => 'The type of the resource. Valid values:'."\n" + ."\n" + .'* cluster: cluster'."\n", 'type' => 'string', 'required' => true, 'example' => 'cluster'], ], [ - 'name' => 'NodeGroupId', + 'name' => 'ResourceGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点组ID.', - 'description' => 'The node group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ng-869471354ecd****', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the resource group.'."\n", 'type' => 'string', 'required' => true, 'example' => 'rg-acfmzabjyop****'], ], [ - 'name' => 'NodeId', + 'name' => 'ResourceId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点ID。', - 'description' => 'The node ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i-bp1cudc25w2bfwl5****', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the resource.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-c95f0a39d8ff****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The returned data.'."\n", 'type' => 'object', 'properties' => [ - 'OperationId' => [ - 'title' => '操作ID。', - 'description' => 'The operation ID.'."\n", - 'type' => 'string', - 'example' => 'op-13c37a77c505****', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', - ], + 'RequestId' => ['title' => '', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateApplicationConfigsResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n</UpdateApplicationConfigsResponse>","errorExample":""}]', - 'title' => 'UpdateApplicationConfigs', - 'summary' => 'Updates the application configurations.', - ], - 'ListComponents' => [ - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","type":"json"}]', + 'title' => 'JoinResourceGroup', + 'summary' => 'Adds an EMR resource to a resource group. A resource can belong to only one resource group.', + 'changeSet' => [ + ['createdAt' => '2023-12-07T07:46:44.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2022-02-15T15:24:24.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'JoinResourceGroup'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:JoinResourceGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListApiTemplates' => [ + 'summary' => 'Lists API templates.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeCode' => '13082', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce2ERXZY', - ], + 'abilityTreeCode' => '189428', + 'abilityTreeNodes' => ['FEATUREemapreduceU64T1A'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => 'The region ID. You can call the [ListRegions](url) view.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ClusterId', + 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'C-8CFEBCCFFEF5****', - ], + 'schema' => ['title' => '', 'description' => 'The starting position for the read operation.', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ - 'name' => 'NextToken', + 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If you leave this parameter empty, the query starts from the beginning.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '""', - ], + 'schema' => ['title' => '', 'description' => 'The maximum number of records to return in a single request.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ - 'name' => 'MaxResults', + 'name' => 'TemplateId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['title' => '', 'description' => 'The cluster template ID.', 'type' => 'string', 'required' => false, 'example' => 'at-41b4c6a0fc63****'], ], [ - 'name' => 'ApplicationNames', + 'name' => 'TemplateIds', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '应用名称列表。', - 'description' => 'The application name.'."\n", + 'title' => '', + 'description' => 'A list of API template IDs.', 'type' => 'array', - 'items' => [ - 'description' => 'The application name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'KNOX', - ], + 'items' => ['description' => 'An API template ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'at-41b4c6a0fc63****'], 'required' => false, - 'example' => '20', - 'maxItems' => 100, + 'example' => '["AT-****"]', ], ], [ - 'name' => 'ComponentNames', + 'name' => 'ApiName', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '组件名称列表。', - 'description' => 'The list of component names.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The component name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'KNOX', - ], - 'required' => false, - 'example' => '["HDFS"]', - 'maxItems' => 100, - ], + 'schema' => ['title' => '', 'description' => 'The API operation name.', 'type' => 'string', 'required' => true, 'example' => 'CreateCluster'], ], [ - 'name' => 'ComponentStates', + 'name' => 'TemplateName', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'The list of component status.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The status of the component.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'INSTALLED', - ], - 'required' => false, - 'example' => 'null', - 'maxItems' => 100, - ], + 'schema' => ['title' => '', 'description' => 'The name of the cluster template.', 'type' => 'string', 'required' => false, 'example' => 'DATALAKE template'], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzabjyop****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'Schema of Response'."\n", + 'title' => '', + 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'Components' => [ - 'description' => 'The list of component information.'."\n", + 'ApiTemplates' => [ + 'description' => 'The array of API templates.', 'type' => 'array', - 'items' => [ - 'description' => 'The component information.'."\n", - 'type' => 'object', - 'properties' => [ - 'ComponentName' => [ - 'title' => '组件名称。', - 'description' => 'The component name.'."\n", - 'type' => 'string', - 'example' => 'KNOX', - ], - 'ApplicationName' => [ - 'title' => '应用名称。', - 'description' => 'The application name.'."\n", - 'type' => 'string', - 'example' => 'KNOX', - ], - 'Replica' => [ - 'title' => '安装该组件的ecs总数。', - 'description' => 'The total number of instances on which the component is installed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Namespace' => [ - 'title' => '命名空间。', - 'description' => 'The reserved field.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Attributes' => [ - 'title' => '属性列表。', - 'description' => 'The list of attributes.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of the attribute.'."\n", - '$ref' => '#/components/schemas/Attribute', - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'FFAC608A-5DC3-174F-93C6-9F88CA6D5875', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The maximum number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', + 'items' => ['description' => 'The details of the API template.', '$ref' => '#/components/schemas/ApiTemplate', 'title' => '', 'example' => ''], + 'deprecated' => true, + 'title' => '', + 'example' => '', ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '', 'description' => 'The token to use to retrieve the next page of results. This value is empty when there are no more results to return.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries returned for the current request.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '', 'description' => 'The total number of entries that meet the filter criteria.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ApiTemplates\\": [\\n {\\n \\"Status\\": \\"READY\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"ApiName\\": \\"CreateCluster\\",\\n \\"Content\\": \\"content\\\\n\\",\\n \\"TemplateName\\": \\"datalakeTest1\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"TemplateId\\": \\"AT-Af***\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListApiTemplates', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListApiTemplates', + 'authLevel' => '', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Components\\": [\\n {\\n \\"ComponentName\\": \\"KNOX\\",\\n \\"ApplicationName\\": \\"KNOX\\",\\n \\"Replica\\": 1,\\n \\"Namespace\\": \\"“”\\",\\n \\"Attributes\\": [\\n {\\n \\"Key\\": \\"currentYarnRangerPluginState\\",\\n \\"Value\\": \\"true\\"\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"FFAC608A-5DC3-174F-93C6-9F88CA6D5875\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","errorExample":""},{"type":"xml","example":"<ListComponentsResponse>\\n <RequestId>FFAC608A-5DC3-174F-93C6-9F88CA6D5875</RequestId>\\n <Components>\\n <ComponentName>KNOX</ComponentName>\\n <Replica>1</Replica>\\n <ApplicationName>KNOX</ApplicationName>\\n <Namespace/>\\n </Components>\\n</ListComponentsResponse>","errorExample":""}]', - 'title' => 'ListComponents', - 'summary' => 'Retrieves a list of components.', + 'translator' => 'manual', ], - 'ListComponentInstances' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListApplicationConfigs' => [ + 'description' => 'Queries application configurations.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11603,877 +10267,594 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeCode' => '13081', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce2ERXZY', - ], + 'abilityTreeNodes' => ['FEATUREemapreduce961UGJ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => 'The region ID. You can call the [ListRegions](url) view.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'C-8CFEBCCFFEF5****', - ], + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-e6a9d46e9267****', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If you leave this parameter empty, the query starts from the beginning.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '“”', - ], + 'schema' => ['description' => 'The page number of the next page returned.', 'type' => 'string', 'example' => '1', 'title' => '', 'required' => false], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The maximum number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => '', 'required' => false], ], [ - 'name' => 'ApplicationNames', + 'name' => 'ApplicationName', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '应用名称列表。', - 'description' => 'The list of component names.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The application name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'KNOX', - ], - 'required' => false, - 'example' => 'c-b933c5aac8fe****', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The name of the application.', 'type' => 'string', 'example' => 'HDFS', 'title' => '', 'required' => false], ], [ - 'name' => 'NodeIds', + 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '节点ID列表。', - 'description' => 'The list of instance IDs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i-bp17yy050pxo01m2****', - ], - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The ID of the node group.', 'type' => 'string', 'example' => 'ng-d555335ced5c****', 'title' => '', 'required' => false], ], [ - 'name' => 'NodeNames', + 'name' => 'ConfigFileName', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '节点名称列表。', - 'description' => 'The instance IDs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The instance name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'emr-worker-1', - ], - 'required' => false, - 'example' => '20', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The name of the configuration file.', 'type' => 'string', 'example' => 'hdfs-site.xml', 'title' => '', 'required' => false], ], [ - 'name' => 'ComponentNames', + 'name' => 'ConfigItemKey', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '组件名称列表。', - 'description' => 'The list of component names.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The component name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'KNOX', - ], - 'required' => false, - 'example' => '["HDFS"]', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The key of the configuration item.', 'type' => 'string', 'example' => 'dfs.replication', 'title' => '', 'required' => false], ], [ - 'name' => 'ComponentStates', + 'name' => 'ConfigItemValue', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'The list of component status.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The status of the component.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'INSTALLED', - ], - 'required' => false, - 'example' => 'null', - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The value of the configuration item.', 'type' => 'string', 'example' => '2', 'title' => '', 'required' => false], ], [ - 'name' => 'ZoneId', + 'name' => 'NodeId', 'in' => 'query', - 'schema' => [ - 'description' => 'The zone ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-i', - ], + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The node ID.', 'type' => 'string', 'example' => 'i-bp10h9rezawz1i4o****', 'title' => '', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'Schema of Response'."\n", + 'title' => '', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'ComponentInstances' => [ - 'description' => 'The list of instance component installation information.'."\n", + 'ApplicationConfigs' => [ + 'description' => 'The application configurations.', 'type' => 'array', 'items' => [ - 'description' => 'The installation information of the instance component.'."\n", + 'description' => '', 'type' => 'object', 'properties' => [ - 'ComponentName' => [ - 'title' => '组件名称。', - 'description' => 'The component name.'."\n", - 'type' => 'string', - 'example' => 'KNOX', - ], - 'ApplicationName' => [ - 'title' => '应用名称。', - 'description' => 'The application name.'."\n", - 'type' => 'string', - 'example' => 'KNOX', - ], - 'ComponentInstanceState' => [ - 'title' => '组件实例操作状态。', - 'description' => 'The status of the component. Valid values:'."\n" - ."\n" - .'* WAITING'."\n" - .'* INSTALLING'."\n" - .'* INSTALLED'."\n" - .'* INSTALL_FAILED'."\n" - .'* STARTING'."\n" - .'* STARTED'."\n" - .'* START_FAILED'."\n" - .'* STOPPING'."\n" - .'* STOPPED'."\n" - .'* STOP_FAILED'."\n", - 'type' => 'string', - 'example' => 'STARTED', - ], - 'NodeId' => [ - 'title' => '节点ID。', - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'example' => 'i-bp17yy050pxo01m2****', - ], - 'NodeName' => [ - 'title' => '节点名称。', - 'description' => 'The instance name.'."\n", - 'type' => 'string', - 'example' => 'emr-worker-1', - ], - 'CommissionState' => [ - 'title' => 'Commission状态。', - 'description' => 'The status of the Commission. Valid values:'."\n" - ."\n" - .'* COMMISSIONED'."\n" - .'* COMMISSIONING'."\n" - .'* DECOMMISSIONED'."\n" - .'* DECOMMISSIONINPROGRESS'."\n" - .'* DECOMMISSIONFAILED'."\n" - .'* INSERVICE'."\n" - .'* UNKNOWN'."\n", - 'type' => 'string', - 'example' => 'INSERVICE', - ], - 'BizState' => [ - 'title' => '业务状态。', - 'description' => 'The status of the component service. Valid values:'."\n" - ."\n" - .'* active: the primary service.'."\n" - .'* standby: the standby service.'."\n", - 'type' => 'string', - 'example' => 'active', - ], - 'CreateTime' => [ - 'title' => '安装时间戳。', - 'description' => 'The timestamp of the installation.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1628248947000', - ], - 'DesiredState' => [ - 'title' => '期待状态。', - 'description' => 'Valid values:'."\n" - ."\n" - .'* WAITING'."\n" - .'* INSTALLING'."\n" - .'* INSTALLED'."\n" - .'* INSTALL_FAILED'."\n" - .'* STARTING'."\n" - .'* STARTED'."\n" - .'* START_FAILED'."\n" - .'* STOPPING'."\n" - .'* STOPPED'."\n" - .'* STOP_FAILED'."\n", - 'type' => 'string', - 'example' => 'STARTED', - ], - 'ZoneId' => [ - 'description' => 'The zone ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-i', - ], + 'ApplicationName' => ['description' => 'The name of the application.', 'type' => 'string', 'example' => 'HDFS', 'title' => ''], + 'ConfigFileName' => ['description' => 'The name of the configuration file.', 'type' => 'string', 'example' => 'hdfs-site.xml', 'title' => ''], + 'ConfigItemKey' => ['description' => 'The key of the configuration item.', 'type' => 'string', 'example' => 'dfs.replication'."\n", 'title' => ''], + 'ConfigItemValue' => ['description' => 'The value of the configuration item.', 'type' => 'string', 'example' => '2', 'title' => ''], + 'CreateTime' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1628589439114', 'title' => ''], + 'UpdateTime' => ['description' => 'The update time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1628589439114', 'title' => ''], + 'Modifier' => ['description' => 'The person who modified the configurations.', 'type' => 'string', 'example' => '170906468757****', 'title' => ''], + 'Custom' => ['description' => 'Indicates whether the configurations are custom.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'InitValue' => ['description' => 'The initial value.', 'type' => 'string', 'example' => '2', 'title' => ''], + 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => 'dfs.replication description', 'title' => ''], + 'ConfigEffectState' => ['description' => 'The status of the configuration value.', 'type' => 'string', 'example' => 'EFFECT', 'title' => ''], + 'NodeId' => ['description' => 'The node ID.', 'type' => 'string', 'example' => 'i-bp18y0ng3qqxog4mw****', 'title' => ''], + 'NodeGroupId' => ['description' => 'The node group ID.', 'type' => 'string', 'example' => 'ng-d555335ced5****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '7345241A-014C-17D2-A3AC-C72771188F46', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If you leave this parameter empty, the query starts from the beginning.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The maximum number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', 'title' => ''], + 'NextToken' => ['description' => 'The page number of the next page returned.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'MaxResults' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of pages returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'InvokeEcmError', 'errorMessage' => 'An error occurred while invoking ECM service.', 'description' => ''], + ['errorCode' => 'NotFound.Cluster', 'errorMessage' => 'The cluster is not found.', 'description' => ''], + ['errorCode' => 'InvalidParameter.Application', 'errorMessage' => 'The specified application is invalid.', 'description' => ''], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ComponentInstances\\": [\\n {\\n \\"ComponentName\\": \\"KNOX\\",\\n \\"ApplicationName\\": \\"KNOX\\",\\n \\"ComponentInstanceState\\": \\"STARTED\\",\\n \\"NodeId\\": \\"i-bp17yy050pxo01m2****\\",\\n \\"NodeName\\": \\"emr-worker-1\\",\\n \\"CommissionState\\": \\"INSERVICE\\",\\n \\"BizState\\": \\"active\\",\\n \\"CreateTime\\": 1628248947000,\\n \\"DesiredState\\": \\"STARTED\\",\\n \\"ZoneId\\": \\"cn-hangzhou-i\\"\\n }\\n ],\\n \\"RequestId\\": \\"7345241A-014C-17D2-A3AC-C72771188F46\\",\\n \\"NextToken\\": \\"“”\\",\\n \\"MaxResults\\": 2,\\n \\"TotalCount\\": 2\\n}","errorExample":""},{"type":"xml","example":"<ListComponentInstancesResponse>\\n <RequestId>7345241A-014C-17D2-A3AC-C72771188F46</RequestId>\\n <TotalCount>2</TotalCount>\\n <NextToken/>\\n <MaxResults>2</MaxResults>\\n <ComponentInstances>\\n <ComponentName>KNOX</ComponentName>\\n <ApplicationName>KNOX</ApplicationName>\\n <ComponentInstanceState>STARTED</ComponentInstanceState>\\n <NodeId>i-bp17yy050pxo01m2****</NodeId>\\n <NodeName>emr-worker-1</NodeName>\\n <CommissionState>INSERVICE</CommissionState>\\n <DesiredState>STARTED</DesiredState>\\n <MaintenanceState>ON</MaintenanceState>\\n <BizState>active</BizState>\\n <CreateTime>1628248947000</CreateTime>\\n </ComponentInstances>\\n</ListComponentInstancesResponse>","errorExample":""}]', - 'title' => 'ListComponentInstances', - 'summary' => 'Retrieves the list of component instances.', - ], - 'GetOperation' => [ - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ApplicationConfigs\\": [\\n {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ConfigFileName\\": \\"hdfs-site.xml\\",\\n \\"ConfigItemKey\\": \\"dfs.replication\\\\n\\",\\n \\"ConfigItemValue\\": \\"2\\",\\n \\"CreateTime\\": 1628589439114,\\n \\"UpdateTime\\": 1628589439114,\\n \\"Modifier\\": \\"170906468757****\\",\\n \\"Custom\\": false,\\n \\"InitValue\\": \\"2\\",\\n \\"Description\\": \\"dfs.replication description\\",\\n \\"ConfigEffectState\\": \\"EFFECT\\",\\n \\"NodeId\\": \\"i-bp18y0ng3qqxog4mw****\\",\\n \\"NodeGroupId\\": \\"ng-d555335ced5****\\"\\n }\\n ],\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\",\\n \\"NextToken\\": \\"1\\",\\n \\"MaxResults\\": 100,\\n \\"TotalCount\\": 100\\n}","type":"json"}]', + 'title' => 'ListApplicationConfigs', + 'summary' => 'Queries the configurations of the application.', + 'changeSet' => [ + ['createdAt' => '2022-06-10T10:52:10.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-04-22T23:54:54.000Z', 'description' => 'Error codes changed, Request parameters changed, Response parameters changed'], + ['createdAt' => '2021-04-22T23:54:54.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListApplicationConfigs'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListApplicationConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'ListApplications' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '38519', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceW8BA0F', - ], + 'operationType' => 'list', + 'abilityTreeCode' => '13072', + 'abilityTreeNodes' => ['FEATUREemapreduceU3PP4U'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The district ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The ID of the cluster that you want to query.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-e6a9d46e92675****'], ], [ - 'name' => 'OperationId', + 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The page number of the next page returned.'."\n", 'type' => 'string', 'required' => false, 'example' => '0'], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The total number of pages.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '100'], + ], + [ + 'name' => 'ApplicationNames', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '操作ID。', - 'description' => 'The operation ID.'."\n" - ."\n" - .'References:'."\n" - ."\n" - .'* [CreateCluster](~~454393~~)'."\n" - .'* [IncreaseNodes](~~454397~~)'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'op-13c37a77c505****', + 'title' => '', + 'description' => 'The application names.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The name of a component.'."\n", 'type' => 'string', 'required' => false, 'example' => 'HDFS', 'title' => ''], + 'required' => false, + 'example' => 'c-b933c5aac8fe****', + 'maxItems' => 100, ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', + 'title' => '', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'Operation' => [ - 'description' => 'The operation that was performed.'."\n", - '$ref' => '#/components/schemas/Operation', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3896A', + 'Applications' => [ + 'description' => 'The applications.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The application.'."\n", + 'type' => 'object', + 'properties' => [ + 'ApplicationName' => ['title' => '', 'description' => 'The application name.'."\n", 'type' => 'string', 'example' => 'HDFS'], + 'ApplicationVersion' => ['title' => '', 'description' => 'The version of the application.'."\n", 'type' => 'string', 'deprecated' => true, 'example' => '2.8.5-20230620'], + 'CommunityVersion' => ['title' => '', 'description' => 'The community edition.'."\n", 'type' => 'string', 'example' => '2.8.5'], + 'ApplicationState' => ['title' => '', 'description' => 'The status of the applications. Valid values:'."\n" + ."\n" + .'* STOPPED: At least one application is in the Stopped state.'."\n" + .'* RUNNING: All applications are in the Running state.'."\n" + ."\n" + .'This parameter is returned only for DataLake, OLAP, Dataflow, DataServing, and custom clusters. For other types of clusters, no value is returned for this parameter.'."\n", 'type' => 'string', 'example' => 'RUNNING'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****'], + 'NextToken' => ['title' => '', 'description' => 'The page number of the next page returned.'."\n", 'type' => 'string', 'example' => '2'], + 'MaxResults' => ['title' => '', 'description' => 'The number of entries per page.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['title' => '', 'description' => 'The total number of pages.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'InvokeEcmError', 'errorMessage' => 'An error occurred while invoking ECM service.', 'description' => ''], + ['errorCode' => 'NotFound.Cluster', 'errorMessage' => 'The cluster is not found.', 'description' => ''], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Applications\\": [\\n {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ApplicationVersion\\": \\"2.8.5-20230620\\",\\n \\"CommunityVersion\\": \\"2.8.5\\",\\n \\"ApplicationState\\": \\"RUNNING\\"\\n }\\n ],\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\",\\n \\"NextToken\\": \\"2\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 20\\n}","errorExample":""},{"type":"xml","example":"<ListApplicationsResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <TotalCount>20</TotalCount>\\n <NextToken>1</NextToken>\\n <MaxResults>10</MaxResults>\\n <Applications>\\n <ApplicationName>hadoop</ApplicationName>\\n <ApplicationVersion>2.8.1</ApplicationVersion>\\n </Applications>\\n</ListApplicationsResponse>","errorExample":""}]', + 'title' => 'ListApplications', + 'summary' => 'Queries a list of applications.', + 'changeSet' => [ + ['createdAt' => '2024-08-21T09:14:55.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-06-18T08:43:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-04-22T23:54:55.000Z', 'description' => 'Error codes changed, Request parameters changed, Response parameters changed'], + ['createdAt' => '2021-04-22T23:54:55.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListApplications'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListApplications', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Operation\\": {\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"CreateTime\\": 1628589439114,\\n \\"StartTime\\": 1628589439114,\\n \\"EndTime\\": 1628589439114,\\n \\"OperationType\\": \\"CLUSTER\\",\\n \\"OperationState\\": \\"COMPLETED\\",\\n \\"Description\\": \\"start\\",\\n \\"StateChangeReason\\": {\\n \\"Code\\": \\"OutOfStock\\",\\n \\"Message\\": \\"The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.\\"\\n }\\n },\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\"\\n}","errorExample":""},{"type":"xml","example":"<GetOperationResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <OperationState>COMPLETED</OperationState>\\n <Orders/>\\n <PriceInfo>\\n <PromotionResults/>\\n </PriceInfo>\\n</GetOperationResponse>","errorExample":""}]', - 'title' => 'GetOperation', - 'summary' => 'Gets the details of an asynchronous operation.', ], - 'JoinResourceGroup' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListAutoScalingActivities' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceGZP0FZ', - ], + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '118861', + 'abilityTreeNodes' => ['FEATUREemapreduce7I2Y7W'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => 'The ID of the region in which you want to create the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ResourceType', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '资源类型。', - 'description' => 'The type of the resource. Valid values:'."\n" - ."\n" - .'* cluster: cluster'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cluster', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '资源组ID。', - 'description' => 'The ID of the resource group.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'rg-acfmzabjyop****', - ], + 'schema' => ['title' => '', 'description' => 'The token that marks the position from which the query starts.', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ - 'name' => 'ResourceId', + 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '资源ID。', - 'description' => 'The ID of the resource.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-c95f0a39d8ff****', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => '返回数据', - 'description' => 'The returned data.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], - ], - 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], - ], - 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + 'schema' => ['title' => '', 'description' => 'The maximum number of records to return in a single request.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","type":"json"}]', - 'title' => 'JoinResourceGroup', - 'summary' => 'Adds an EMR resource to a resource group. A resource can belong to only one resource group.', - ], - 'TagResources' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '25001', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceWV7Y23', + 'name' => 'NodeGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The node group ID.', 'type' => 'string', 'required' => false, 'example' => 'ng-869471354ecd****'], ], - ], - 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'ScalingRuleName', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The ID of the region in which you want to create the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The name of the scaling rule.', 'type' => 'string', 'required' => false, 'example' => 'scale-out-by-memroy'], ], [ - 'name' => 'ResourceType', + 'name' => 'ScalingActivityStates', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '资源类型。', - 'description' => 'The type of the resource to which the tag belongs. Valid values:'."\n" + 'title' => '', + 'description' => 'The status of the scaling activity. The number of elements in the array can range from 1 to 20.', + 'type' => 'array', + 'items' => ['description' => 'The status of the scaling activity. Valid values:'."\n" ."\n" - .'* cluster: cluster'."\n", - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [], - 'example' => 'cluster', + .'- REJECTED: The scaling activity is rejected.'."\n" + ."\n" + .'- SUCCESSFUL: The scaling activity is successful.'."\n" + ."\n" + .'- FAILED: The scaling activity failed.'."\n" + ."\n" + .'- IN\\_PROGRESS: The scaling activity is in progress.', 'type' => 'string', 'required' => false, 'example' => '['."\n" + .' "REJECTED",'."\n" + .' "SUCCESSFUL"'."\n" + .']', 'title' => ''], + 'required' => false, + 'example' => '["REJECTED","SUCCESSFUL"]', + 'maxItems' => 20, ], ], [ - 'name' => 'ResourceIds', + 'name' => 'ScalingActivityType', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '资源ID。', - 'description' => 'The list of resource IDs. Valid values of N: 1 to 1.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of a resource. If the ResourceType parameter is set to cluster, set the value to the ID of the cluster.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'c-b933c5aac8fe****', - ], - 'required' => true, - 'example' => 'cluster', - 'maxItems' => 1, - ], + 'schema' => ['title' => '', 'description' => 'The type of the scaling activity. Valid values:'."\n" + ."\n" + .'- SCALE\\_OUT: Scale-out.'."\n" + ."\n" + .'- SCALE\\_IN: Scale-in.', 'type' => 'string', 'required' => false, 'example' => 'SCALE_IN'], ], [ - 'name' => 'Tags', + 'name' => 'StartTime', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The start timestamp for querying the creation time of scaling activities. The unit is milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1639714634819'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The end timestamp for querying the creation time of scaling activities. The unit is milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1639718634819'], + ], + [ + 'name' => 'ScalingPolicyType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'example' => 'MANAGED', 'description' => '', 'title' => ''], + ], + [ + 'name' => 'InstanceChargeTypes', + 'in' => 'query', 'style' => 'flat', 'schema' => [ - 'title' => '标签列表。', - 'description' => 'The tags.'."\n", + 'description' => 'The billing method of the instance. Valid values:'."\n" + ."\n" + .'- ONDEMAND: Pay-as-you-go instance.'."\n" + ."\n" + .'- SPOT: Spot instance.The default value is null, which means all billing methods are selected.Example: \\["ONDEMAND", "SPOT"]', 'type' => 'array', - 'items' => [ - 'description' => 'The tag of the job.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/Tag', - ], - 'required' => true, - 'example' => '[null]', - 'maxItems' => 20, + 'items' => ['type' => 'string', 'example' => 'ONDEMAND', 'description' => '', 'title' => ''], + 'example' => 'ONDEMAND', + 'enum' => [], + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The data structure.'."\n", + 'title' => '', + 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A964BDB2-0FDA-1037-AF3F-2633D5C3F20F', + 'ScalingActivities' => [ + 'description' => 'The list of scaling activities.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ActivityId' => ['title' => '', 'description' => 'The ID of the scaling activity.', 'type' => 'string', 'example' => 'asa-36373b084d6b4b13aa50f4129a9e****'], + 'RuleName' => ['title' => '', 'description' => 'The name of the scaling rule.', 'type' => 'string', 'example' => 'scaling-out-memory'], + 'ActivityType' => ['title' => '', 'description' => 'The type of the scaling activity. Valid values:'."\n" + ."\n" + .'- SCALE\\_OUT: Scale-out.'."\n" + ."\n" + .'- SCALE\\_IN: Scale-in.', 'type' => 'string', 'example' => 'SCALE_OUT'], + 'ClusterId' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], + 'NodeGroupId' => ['title' => '', 'description' => 'The node group ID.', 'type' => 'string', 'example' => 'ng-869471354ecd****'], + 'NodeGroupName' => ['title' => '', 'description' => 'The name of the node group.', 'type' => 'string', 'example' => 'task-01'], + 'StartTime' => ['title' => '', 'description' => 'The start time of the scaling activity. The unit is milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1639714634819'], + 'EndTime' => ['title' => '', 'description' => 'The end time of the scaling activity. The unit is milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1639715634819'], + 'ActivityState' => ['title' => '', 'description' => 'The status of the scaling activity. Valid values:'."\n" + ."\n" + .'- REJECTED: The scaling activity is rejected.'."\n" + ."\n" + .'- SUCCESSFUL: The scaling activity is successful.'."\n" + ."\n" + .'- FAILED: The scaling activity failed.'."\n" + ."\n" + .'- IN\\_PROGRESS: The scaling activity is in progress.', 'type' => 'string', 'example' => 'IN_PROGRESS'], + 'ExpectNum' => ['title' => '', 'description' => 'The number of instances to be added or removed in this scaling activity.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'OperationId' => ['title' => '', 'description' => 'The operation ID.', 'type' => 'string', 'example' => 'op-13c37a77c505****'], + 'Description' => ['title' => '', 'description' => 'The description of the scaling activity.', 'type' => 'string', 'example' => 'clusterId not exist'], + 'PolicyType' => ['type' => 'string', 'example' => 'PRIORITY', 'description' => '', 'title' => ''], + 'InstanceTypeToNum' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'integer', 'format' => 'int32', 'example' => 'ecs.r6.xlarge: 2', 'description' => '', 'title' => ''], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'InstanceTypeDetails' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SpotInstanceIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'example' => 'i-bp1ifuxmr8l6pb1yxxxx', 'description' => '', 'title' => ''], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'InstanceType' => ['type' => 'string', 'example' => 'ecs.g6.xlarge', 'description' => '', 'title' => ''], + 'OnDemandInstanceIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'example' => 'i-bp1ifuxmr8l6pb1sxxxx', 'description' => '', 'title' => ''], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '', 'description' => 'The token that is used to start the next query.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries returned for this request.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '', 'description' => 'The total number of entries that meet the query conditions.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A964BDB2-0FDA-1037-AF3F-2633D5C3F20F\\"\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse>\\n <RequestId>A964BDB2-0FDA-1037-AF3F-2633D5C3F20F</RequestId>\\n <Data>true</Data>\\n</TagResourcesResponse>","errorExample":""}]', - 'title' => 'TagResources', - 'summary' => 'Binds tags to a specified EMR cluster.', - ], - 'UntagResources' => [ - 'methods' => [ - 'get', - 'post', + 'title' => 'ListAutoScalingActivities', + 'summary' => 'Lists Auto Scaling activities.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-02-15T15:24:11.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAutoScalingActivities'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListAutoScalingActivities', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivities\\": [\\n {\\n \\"ActivityId\\": \\"asa-36373b084d6b4b13aa50f4129a9e****\\",\\n \\"RuleName\\": \\"scaling-out-memory\\",\\n \\"ActivityType\\": \\"SCALE_OUT\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupName\\": \\"task-01\\",\\n \\"StartTime\\": 1639714634819,\\n \\"EndTime\\": 1639715634819,\\n \\"ActivityState\\": \\"IN_PROGRESS\\",\\n \\"ExpectNum\\": 10,\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"Description\\": \\"clusterId not exist\\",\\n \\"PolicyType\\": \\"PRIORITY\\",\\n \\"InstanceTypeToNum\\": {\\n \\"key\\": 0\\n },\\n \\"InstanceTypeDetails\\": [\\n {\\n \\"SpotInstanceIds\\": [\\n \\"i-bp1ifuxmr8l6pb1yxxxx\\"\\n ],\\n \\"InstanceType\\": \\"ecs.g6.xlarge\\",\\n \\"OnDemandInstanceIds\\": [\\n \\"i-bp1ifuxmr8l6pb1sxxxx\\"\\n ]\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'ListClusters' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceACW5KS', - ], + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '13343', + 'abilityTreeNodes' => ['FEATUREemapreduceGZP0FZ'], ], 'parameters' => [ [ @@ -12481,175 +10862,233 @@ 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The ID of the region in which you want to create the instance.'."\n", + 'description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', + 'enum' => [ + 'cn-qingdao', 'cn-beijing', 'cn-zhangjiakou', 'cn-huhehaote', 'cn-hangzhou', 'cn-shanghai', 'cn-shenzhen', 'cn-chengdu', 'cn-hongkong', 'cn-wulanchabu', 'cn-heyuan-acdr-1', 'cn-qingdao-acdr-ut-1', 'ap-northeast-1', 'ap-southeast-1', 'ap-southeast-2', 'ap-southeast-3', 'ap-southeast-5', 'ap-south-1', 'us-east-1', 'us-west-1', + 'me-east-1', 'me-central-1', 'eu-central-1', 'eu-west-1', 'cn-north-2-gov-1', 'cn-wulanchabu-acdr-1', 'cn-shanghai-cloudspe', + ], + 'title' => '', ], ], [ - 'name' => 'ResourceType', + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The token that specifies the position from which to start the query. If you leave this parameter empty, the query starts from the beginning.', 'type' => 'string', 'example' => 'eyJlY21OZXh0VG9rZW4iOiIxIiwidGFpaGFvTmV4dFRva2VuIjoiNTYiLCJ0YWloYW9OZXh0VG9rZW5JbnQiOjU2LCJlY21OZXh0VG9rZW5JbnQiOjF9', 'title' => '', 'required' => false], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The maximum number of entries to return on each page. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => '', 'required' => false], + ], + [ + 'name' => 'ClusterName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The name of the cluster.', 'type' => 'string', 'example' => 'emrtest', 'title' => '', 'required' => false], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'example' => 'rg-acfmzabjyop****', 'title' => '', 'required' => false], + ], + [ + 'name' => 'ClusterIds', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '资源类型。', - 'description' => 'The type of the resource. Set the value to cluster.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cluster', + 'title' => '', + 'description' => 'A list of cluster IDs. The number of array elements N can range from 1 to 100.', + 'type' => 'array', + 'items' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => false, 'example' => 'c-b933c5aac8fe****', 'title' => ''], + 'required' => false, + 'example' => 'rg-acfmzabjyop****', + 'maxItems' => 100, ], ], [ - 'name' => 'ResourceIds', + 'name' => 'ClusterTypes', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '资源ID。', - 'description' => 'The list of resource IDs.'."\n", + 'title' => '', + 'description' => 'A list of cluster types. The number of array elements N can range from 1 to 100.', 'type' => 'array', - 'items' => [ - 'description' => 'The ID of a resource. If the ResourceType parameter is set to cluster, set the value to the ID of the cluster.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'c-b933c5aac8fe****', - ], - 'required' => true, - 'example' => 'cluster', - 'maxItems' => 1, + 'items' => ['description' => 'The cluster type. Valid values:'."\n" + ."\n" + .'- DATALAKE: A new version of data lake.'."\n" + ."\n" + .'- OLAP: Data analytics.'."\n" + ."\n" + .'- DATAFLOW: Real-time data stream.'."\n" + ."\n" + .'- DATASERVING: Data service.'."\n" + ."\n" + .'- CUSTOM: A custom mixed-deployment cluster.'."\n" + ."\n" + .'- HADOOP: An earlier version of data lake.', 'type' => 'string', 'required' => false, 'example' => 'DATALAKE', 'title' => ''], + 'required' => false, + 'example' => '["c-b933c5aac8fe****"]', + 'maxItems' => 100, ], ], [ - 'name' => 'TagKeys', + 'name' => 'ClusterStates', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '标签Key列表。', - 'description' => 'The key of the label. Valid values of N: 1 to 20.'."\n", + 'title' => '', + 'description' => 'An array of cluster states. The number of array elements N can range from 1 to 100.', 'type' => 'array', - 'items' => [ - 'description' => 'The list of tag key values.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Department', - ], + 'items' => ['description' => 'The cluster status. Valid values:'."\n" + ."\n" + .'- STARTING: The cluster is starting.'."\n" + ."\n" + .'- START\\_FAILED: The cluster failed to start.'."\n" + ."\n" + .'- BOOTSTRAPPING: The cluster is running bootstrap actions.'."\n" + ."\n" + .'- RUNNING: The cluster is running.'."\n" + ."\n" + .'- TERMINATING: The cluster is being terminated.'."\n" + ."\n" + .'- TERMINATED: The cluster is terminated.'."\n" + ."\n" + .'- TERMINATED\\_WITH\\_ERRORS: The cluster was terminated due to an error.'."\n" + ."\n" + .'- TERMINATE\\_FAILED: The cluster failed to terminate.', 'type' => 'string', 'required' => false, 'example' => 'RUNNING', 'title' => ''], 'required' => false, - 'example' => '["c-b933c5aac8fe****"]', + 'example' => '["HADOOP"]', + 'maxItems' => 100, ], ], [ - 'name' => 'All', + 'name' => 'PaymentTypes', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '是否删除指定指定的所有标签。', - 'description' => 'Specifies whether to remove all tags. This parameter is valid only when the **Tagkeys** is empty. Valid values:'."\n" + 'title' => '', + 'description' => 'The billing methods. The number of array elements N can be 1 or 2.', + 'type' => 'array', + 'items' => ['description' => 'The billing method. Valid values:'."\n" ."\n" - .'* true: All the data is deleted.'."\n" - .'* false: Not all of them are deleted.'."\n" + .'- PayAsYouGo: Pay-as-you-go.'."\n" ."\n" - .'Default value: false'."\n", - 'type' => 'boolean', + .'- Subscription: Subscription.', 'type' => 'string', 'required' => false, 'example' => 'PayAsYouGo', 'title' => ''], + 'required' => false, + 'example' => '["ECS"]', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '', + 'description' => 'A list of tags. The number of array elements N can range from 1 to 20.', + 'type' => 'array', + 'items' => ['description' => 'The tag.', '$ref' => '#/components/schemas/Tag', 'required' => false, 'title' => '', 'example' => ''], 'required' => false, - 'example' => 'false', + 'example' => '["PayAsYouGo"]', + 'maxItems' => 20, ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The data structure.'."\n", + 'title' => '', + 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '17A6A3D5-4B13-1DAD-9A23-66EA5FC83B50', + 'Clusters' => [ + 'description' => 'The list of clusters.', + 'type' => 'array', + 'items' => ['description' => 'The cluster information.', '$ref' => '#/components/schemas/ClusterSummary', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3896A', 'title' => ''], + 'NextToken' => ['description' => 'The token for the next page of results.', 'type' => 'string', 'example' => 'eyJlY21OZXh0VG9rZW4iOiIxIiwidGFpaGFvTmV4dFRva2VuIjoiNTYiLCJ0YWloYW9OZXh0VG9rZW5JbnQiOjU2LCJlY21OZXh0VG9rZW5JbnQiOjF9', 'title' => ''], + 'MaxResults' => ['description' => 'The number of entries returned on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '1000', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'title' => 'ListClusters', + 'summary' => 'Lists EMR clusters.', + 'changeSet' => [ + ['createdAt' => '2025-08-14T09:03:46.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-02-11T14:58:57.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-12T12:36:10.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-07T07:46:45.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-10-23T12:58:51.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-09T06:43:41.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-08-04T07:42:07.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-12-02T03:53:48.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-10-12T06:06:54.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-10-12T06:06:54.000Z', 'description' => 'Error codes changed, Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListClusters'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListClusters', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"17A6A3D5-4B13-1DAD-9A23-66EA5FC83B50\\"\\n}","errorExample":""},{"type":"xml","example":"<UntagResourcesResponse>\\n <RequestId>17A6A3D5-4B13-1DAD-9A23-66EA5FC83B50</RequestId>\\n <Data>true</Data>\\n</UntagResourcesResponse>","errorExample":""}]', - 'title' => 'UntagResources', - 'summary' => 'Unbinds tags from a specified column in an EMR cluster. If the tag is not bound to other resources, the tag is automatically deleted.', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Clusters\\": [\\n {\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ClusterName\\": \\"emrtest\\",\\n \\"ClusterType\\": \\"DATALAKE\\",\\n \\"ClusterState\\": \\"RUNNING\\",\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"CreateTime\\": 1592837465788,\\n \\"ReadyTime\\": 1592837465788,\\n \\"ExpireTime\\": 1592837475788,\\n \\"EndTime\\": 1592837485788,\\n \\"ReleaseVersion\\": \\"EMR-5.8.0\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"StateChangeReason\\": {\\n \\"Message\\": \\"The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.\\",\\n \\"Code\\": \\"OutOfStock\\"\\n },\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"IT\\",\\n \\"Key\\": \\"department\\"\\n }\\n ],\\n \\"EmrDefaultRole\\": \\"AliyunEMRDefaultRole\\",\\n \\"Description\\": \\"EMR cluster\\",\\n \\"DeletionProtection\\": false\\n }\\n ],\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\",\\n \\"NextToken\\": \\"eyJlY21OZXh0VG9rZW4iOiIxIiwidGFpaGFvTmV4dFRva2VuIjoiNTYiLCJ0YWloYW9OZXh0VG9rZW5JbnQiOjU2LCJlY21OZXh0VG9rZW5JbnQiOjF9\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 1000\\n}","type":"json"}]', + 'translator' => 'manual', ], - 'ListTagResources' => [ - 'summary' => 'Queries the tags that are bound to an EMR cluster.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListComponentInstances' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12658,1114 +11097,1282 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '24996', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceGZP0FZ', - 'FEATUREemapreduceZG5CIX', - ], + 'abilityTreeCode' => '13081', + 'abilityTreeNodes' => ['FEATUREemapreduce2ERXZY'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The ID of the region in which you want to create the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID. You can call the [ListRegions](url) view.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'C-8CFEBCCFFEF5****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If you leave this parameter empty, the query starts from the beginning.'."\n", 'type' => 'string', 'required' => false, 'example' => '“”'], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The maximum number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'ApplicationNames', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'The pagination token that is used in the request to retrieve a new page of results. If NextToken is empty, the query starts from the beginning.'."\n", - 'type' => 'string', + 'title' => '', + 'description' => 'The list of component names.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The application name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'KNOX', 'title' => ''], 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + 'example' => 'c-b933c5aac8fe****', + 'maxItems' => 100, ], ], [ - 'name' => 'MaxResults', + 'name' => 'NodeIds', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The number of maximum number of records to obtain at a time.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'title' => '', + 'description' => 'The list of instance IDs.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The instance ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'i-bp17yy050pxo01m2****', 'title' => ''], 'required' => false, - 'example' => '20', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + 'maxItems' => 100, ], ], [ - 'name' => 'ResourceType', + 'name' => 'NodeNames', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '资源类型。', - 'description' => 'The type of the resource. Set the value to cluster.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cluster', + 'title' => '', + 'description' => 'The instance IDs.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The instance name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'emr-worker-1', 'title' => ''], + 'required' => false, + 'example' => '20', + 'maxItems' => 100, ], ], [ - 'name' => 'ResourceIds', + 'name' => 'ComponentNames', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '资源ID列表。', - 'description' => 'The list of resource IDs. Number of array elements N Valid values: 1 to 1'."\n", + 'title' => '', + 'description' => 'The list of component names.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The ID of a resource. If the ResourceType parameter is set to cluster, set the value to the ID of the cluster.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'c-b933c5aac8fe****', - ], + 'items' => ['description' => 'The component name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'KNOX', 'title' => ''], 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - 'maxItems' => 1, + 'example' => '["HDFS"]', + 'maxItems' => 100, ], ], [ - 'name' => 'Tags', + 'name' => 'ComponentStates', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '标签列表。', - 'description' => 'An array of tags. The number of elements in the array. Valid values: 1 to 20.'."\n", + 'description' => 'The list of component status.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The tag.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/Tag', - ], + 'items' => ['description' => 'The status of the component.'."\n", 'type' => 'string', 'required' => false, 'example' => 'INSTALLED', 'title' => ''], 'required' => false, - 'example' => '20', + 'example' => 'null', + 'maxItems' => 100, + 'title' => '', ], ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => ['description' => 'The zone ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-i', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The data returned.'."\n", + 'title' => '', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'TagResources' => [ - 'description' => 'The details about the tag. Contains the resource ID, resource type, and tag key-value information.'."\n", + 'ComponentInstances' => [ + 'description' => 'The list of instance component installation information.'."\n", 'type' => 'array', 'items' => [ - 'description' => 'The labels of the resource.'."\n", + 'description' => 'The installation information of the instance component.'."\n", 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'title' => '标签键。', - 'description' => 'The tag key of the ENI.'."\n", - 'type' => 'string', - 'example' => 'Department', - ], - 'TagValue' => [ - 'title' => '标签值。', - 'description' => 'The tag value of the ENI.'."\n", - 'type' => 'string', - 'example' => 'Dev', - ], - 'ResourceType' => [ - 'title' => '资源类型。', - 'description' => 'The resource type.'."\n", - 'type' => 'string', - 'example' => 'cluster', - ], - 'ResourceId' => [ - 'title' => '资源ID。', - 'description' => 'Indicates the ID of a resource.'."\n", - 'type' => 'string', - 'example' => 'c-b933c5aac8fe****', - ], + 'ComponentName' => ['title' => '', 'description' => 'The component name.'."\n", 'type' => 'string', 'example' => 'KNOX'], + 'ApplicationName' => ['title' => '', 'description' => 'The application name.'."\n", 'type' => 'string', 'example' => 'KNOX'], + 'ComponentInstanceState' => ['title' => '', 'description' => 'The status of the component. Valid values:'."\n" + ."\n" + .'* WAITING'."\n" + .'* INSTALLING'."\n" + .'* INSTALLED'."\n" + .'* INSTALL_FAILED'."\n" + .'* STARTING'."\n" + .'* STARTED'."\n" + .'* START_FAILED'."\n" + .'* STOPPING'."\n" + .'* STOPPED'."\n" + .'* STOP_FAILED'."\n", 'type' => 'string', 'example' => 'STARTED'], + 'NodeId' => ['title' => '', 'description' => 'The instance ID.'."\n", 'type' => 'string', 'example' => 'i-bp17yy050pxo01m2****'], + 'NodeName' => ['title' => '', 'description' => 'The instance name.'."\n", 'type' => 'string', 'example' => 'emr-worker-1'], + 'CommissionState' => ['title' => '', 'description' => 'The status of the Commission. Valid values:'."\n" + ."\n" + .'* COMMISSIONED'."\n" + .'* COMMISSIONING'."\n" + .'* DECOMMISSIONED'."\n" + .'* DECOMMISSIONINPROGRESS'."\n" + .'* DECOMMISSIONFAILED'."\n" + .'* INSERVICE'."\n" + .'* UNKNOWN'."\n", 'type' => 'string', 'example' => 'INSERVICE'], + 'BizState' => ['title' => '', 'description' => 'The status of the component service. Valid values:'."\n" + ."\n" + .'* active: the primary service.'."\n" + .'* standby: the standby service.'."\n", 'type' => 'string', 'example' => 'active'], + 'CreateTime' => ['title' => '', 'description' => 'The timestamp of the installation.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1628248947000'], + 'DesiredState' => ['title' => '', 'description' => 'Valid values:'."\n" + ."\n" + .'* WAITING'."\n" + .'* INSTALLING'."\n" + .'* INSTALLED'."\n" + .'* INSTALL_FAILED'."\n" + .'* STARTING'."\n" + .'* STARTED'."\n" + .'* START_FAILED'."\n" + .'* STOPPING'."\n" + .'* STOPPED'."\n" + .'* STOP_FAILED'."\n", 'type' => 'string', 'example' => 'STARTED'], + 'ZoneId' => ['description' => 'The zone ID.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou-i', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '372D4E9B-2509-5EFA-846B-B34FBF143F56', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'Returns the location of the data that was read. Empty indicates that the data has been read.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The maximum number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '7345241A-014C-17D2-A3AC-C72771188F46'], + 'NextToken' => ['title' => '', 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If you leave this parameter empty, the query starts from the beginning.'."\n", 'type' => 'string', 'example' => '“”'], + 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'TotalCount' => ['title' => '', 'description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TagResources\\": [\\n {\\n \\"TagKey\\": \\"Department\\",\\n \\"TagValue\\": \\"Dev\\",\\n \\"ResourceType\\": \\"cluster\\",\\n \\"ResourceId\\": \\"c-b933c5aac8fe****\\"\\n }\\n ],\\n \\"RequestId\\": \\"372D4E9B-2509-5EFA-846B-B34FBF143F56\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","errorExample":""},{"type":"xml","example":"<ListTagResourcesResponse>\\n <RequestId>372D4E9B-2509-5EFA-846B-B34FBF143F56</RequestId>\\n <Data/>\\n</ListTagResourcesResponse>","errorExample":""}]', - 'title' => 'ListTagResources', - ], - 'CreateScript' => [ - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"ComponentInstances\\": [\\n {\\n \\"ComponentName\\": \\"KNOX\\",\\n \\"ApplicationName\\": \\"KNOX\\",\\n \\"ComponentInstanceState\\": \\"STARTED\\",\\n \\"NodeId\\": \\"i-bp17yy050pxo01m2****\\",\\n \\"NodeName\\": \\"emr-worker-1\\",\\n \\"CommissionState\\": \\"INSERVICE\\",\\n \\"BizState\\": \\"active\\",\\n \\"CreateTime\\": 1628248947000,\\n \\"DesiredState\\": \\"STARTED\\",\\n \\"ZoneId\\": \\"cn-hangzhou-i\\"\\n }\\n ],\\n \\"RequestId\\": \\"7345241A-014C-17D2-A3AC-C72771188F46\\",\\n \\"NextToken\\": \\"“”\\",\\n \\"MaxResults\\": 2,\\n \\"TotalCount\\": 2\\n}","errorExample":""},{"type":"xml","example":"<ListComponentInstancesResponse>\\n <RequestId>7345241A-014C-17D2-A3AC-C72771188F46</RequestId>\\n <TotalCount>2</TotalCount>\\n <NextToken/>\\n <MaxResults>2</MaxResults>\\n <ComponentInstances>\\n <ComponentName>KNOX</ComponentName>\\n <ApplicationName>KNOX</ApplicationName>\\n <ComponentInstanceState>STARTED</ComponentInstanceState>\\n <NodeId>i-bp17yy050pxo01m2****</NodeId>\\n <NodeName>emr-worker-1</NodeName>\\n <CommissionState>INSERVICE</CommissionState>\\n <DesiredState>STARTED</DesiredState>\\n <MaintenanceState>ON</MaintenanceState>\\n <BizState>active</BizState>\\n <CreateTime>1628248947000</CreateTime>\\n </ComponentInstances>\\n</ListComponentInstancesResponse>","errorExample":""}]', + 'title' => 'ListComponentInstances', + 'summary' => 'Retrieves the list of component instances.', + 'changeSet' => [ + ['createdAt' => '2021-08-18T13:30:22.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2021-08-18T13:30:22.000Z', 'description' => 'Error codes changed, Request parameters changed, Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListComponentInstances'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListComponentInstances', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListComponents' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'deprecated' => false, + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '119860', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceY1BE2N', - 'FEATUREemapreduce42QKNE', - ], + 'operationType' => 'list', + 'abilityTreeCode' => '13082', + 'abilityTreeNodes' => ['FEATUREemapreduce2ERXZY'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID. You can call the [ListRegions](url) view.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'C-8CFEBCCFFEF5****'], ], [ - 'name' => 'ScriptType', + 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If you leave this parameter empty, the query starts from the beginning.'."\n", 'type' => 'string', 'required' => false, 'example' => '""'], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'ApplicationNames', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群脚本类型。', - 'description' => 'The type of the script. Valid values:'."\n" - ."\n" - .'* BOOTSTRAP: indicates a bootstrap action of the Elastic Compute Service (ECS) instance.'."\n" - .'* NORMAL: indicates a common script.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'BOOTSTRAP', + 'title' => '', + 'description' => 'The application name.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The application name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'KNOX', 'title' => ''], + 'required' => false, + 'example' => '20', + 'maxItems' => 100, ], ], [ - 'name' => 'Scripts', + 'name' => 'ComponentNames', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '集群脚本列表。', - 'description' => 'The list of scripts.'."\n", + 'title' => '', + 'description' => 'The list of component names.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The script.'."\n", - 'required' => false, - '$ref' => '#/components/schemas/Script', - ], - 'required' => true, - 'maxItems' => 20, + 'items' => ['description' => 'The component name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'KNOX', 'title' => ''], + 'required' => false, + 'example' => '["HDFS"]', + 'maxItems' => 100, ], ], [ - 'name' => 'TimeoutSecs', + 'name' => 'ComponentStates', 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '手动执行脚本超时时间,不支持引导脚本设置', - 'description' => 'The timeout period for a manual execution script. You cannot specify a timeout period for a bootstrap action.'."\n", - 'type' => 'string', + 'description' => 'The list of component status.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The status of the component.'."\n", 'type' => 'string', 'required' => false, 'example' => 'INSTALLED', 'title' => ''], 'required' => false, + 'example' => 'null', + 'maxItems' => 100, + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'ScriptId' => [ - 'description' => 'The script ID.'."\n", - 'type' => 'string', - 'example' => 'cs-d6d6bc841c0d415fb81808bc6d09****', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'Components' => [ + 'description' => 'The list of component information.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The component information.'."\n", + 'type' => 'object', + 'properties' => [ + 'ComponentName' => ['title' => '', 'description' => 'The component name.'."\n", 'type' => 'string', 'example' => 'KNOX'], + 'ApplicationName' => ['title' => '', 'description' => 'The application name.'."\n", 'type' => 'string', 'example' => 'KNOX'], + 'Replica' => ['title' => '', 'description' => 'The total number of instances on which the component is installed.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Namespace' => ['title' => '', 'description' => 'The reserved field.'."\n", 'type' => 'string', 'example' => '“”'], + 'Attributes' => [ + 'title' => '', + 'description' => 'The list of attributes.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The name of the attribute.'."\n", '$ref' => '#/components/schemas/Attribute', 'title' => '', 'example' => ''], + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'FFAC608A-5DC3-174F-93C6-9F88CA6D5875'], + 'NextToken' => ['title' => '', 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '', 'description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter.ClusterId', - 'errorMessage' => 'The specified clusterId is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter.ClusterScript', - 'errorMessage' => 'The specified clusterScript is invalid', - ], - [ - 'errorCode' => 'InvalidParameter.ClusterScriptType', - 'errorMessage' => 'The specified scriptType is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter.ClusterScriptNumberOverLimit', - 'errorMessage' => 'The cluster script number has already exceeded max limit [%s]', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Components\\": [\\n {\\n \\"ComponentName\\": \\"KNOX\\",\\n \\"ApplicationName\\": \\"KNOX\\",\\n \\"Replica\\": 1,\\n \\"Namespace\\": \\"“”\\",\\n \\"Attributes\\": [\\n {\\n \\"Value\\": \\"true\\",\\n \\"Key\\": \\"currentYarnRangerPluginState\\"\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"FFAC608A-5DC3-174F-93C6-9F88CA6D5875\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","errorExample":""},{"type":"xml","example":"<ListComponentsResponse>\\n <RequestId>FFAC608A-5DC3-174F-93C6-9F88CA6D5875</RequestId>\\n <Components>\\n <ComponentName>KNOX</ComponentName>\\n <Replica>1</Replica>\\n <ApplicationName>KNOX</ApplicationName>\\n <Namespace/>\\n </Components>\\n</ListComponentsResponse>","errorExample":""}]', + 'title' => 'ListComponents', + 'summary' => 'Retrieves a list of components.', + 'changeSet' => [ + ['createdAt' => '2021-08-18T13:30:22.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScriptId\\": \\"cs-d6d6bc841c0d415fb81808bc6d09****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'CreateScript', - 'summary' => 'Adds a bootstrap action or a common script of an E-MapReduce (EMR) cluster.', - ], - 'ListScripts' => [ - 'methods' => [ - 'get', - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListComponents'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListComponents', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListDoctorApplications' => [ + 'description' => 'list all doctor analysis apps', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeCode' => '119909', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceY1BE2N', - 'FEATUREemapreduce42QKNE', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'Region ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'Cluster ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'Marks the current position to start reading from.', - 'type' => 'string', - 'required' => false, - 'example' => 'dd6b1b2a-5837-5237-abe4-ff0c89568980', - ], + 'schema' => ['description' => 'The pagination token that is used in the request to retrieve a new page of results.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', 'title' => '', 'required' => false], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The maximum number of records to retrieve at once.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The maximum number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => '', 'required' => false], ], [ - 'name' => 'ScriptType', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.', 'type' => 'string', 'required' => true, 'example' => '2023-01-01', 'title' => ''], + ], + [ + 'name' => 'AppIds', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群脚本类型。', - 'description' => 'Type of cluster script. Possible values:'."\n" - ."\n" - .'- BOOTSTRAP: Bootstrap script.'."\n" - .'- NORMAL: Regular cluster script.', - 'type' => 'string', - 'required' => true, - 'example' => 'BOOTSTRAP', + 'description' => 'The IDs of jobs that are submitted to YARN.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the job that is submitted to YARN.', 'type' => 'string', 'required' => false, 'example' => 'application_1643475036865_******', 'title' => ''], + 'required' => false, + 'example' => 'null', + 'title' => '', ], ], [ - 'name' => 'ScriptName', + 'name' => 'Users', 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群脚本名称,仅限NORMAL脚本,支持模糊搜索。', - 'description' => 'The name of the script. Only common scripts are supported. Fuzzy search is supported.'."\n", - 'type' => 'string', + 'description' => 'The users who submit the jobs.', + 'type' => 'array', + 'items' => ['description' => 'The username that is used to submit the job to YARN.', 'type' => 'string', 'required' => false, 'example' => 'DW', 'title' => ''], 'required' => false, + 'example' => 'null', + 'title' => '', ], ], [ - 'name' => 'ScriptId', + 'name' => 'Queues', 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群脚本id,仅限NORMAL脚本', - 'description' => 'The script ID. Only common scripts are supported.'."\n", - 'type' => 'string', + 'description' => 'The YARN queues to which the jobs are submitted.', + 'type' => 'array', + 'items' => ['description' => 'The name of the YARN queue to which the job is submitted.', 'type' => 'string', 'required' => false, 'example' => 'DW', 'title' => ''], 'required' => false, + 'example' => 'null', + 'title' => '', ], ], [ - 'name' => 'Statuses', + 'name' => 'Types', 'in' => 'query', + 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '脚本状态,仅支持NORMAL脚本。', - 'description' => 'The script status list.'."\n", + 'description' => 'The YARN engines to which the jobs are submitted.', 'type' => 'array', - 'items' => [ - 'description' => 'The status of the script. Only common scripts are supported.'."\n", - 'type' => 'string', - 'required' => false, - ], + 'items' => ['description' => 'The type of the YARN engine to which the job is submitted.', 'type' => 'string', 'required' => false, 'example' => 'SPARK', 'title' => ''], 'required' => false, + 'example' => 'null', + 'title' => '', ], ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The order in which you want to sort the query results. Valid values:'."\n" + ."\n" + .'- ASC: the ascending order'."\n" + ."\n" + .'- DESC: the descending order', 'type' => 'string', 'required' => false, 'example' => 'ASC', 'title' => ''], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The field that you use to sort the query results. Valid values:'."\n" + ."\n" + .'1. startTime: the time when the job starts'."\n" + ."\n" + .'2. endTime: the time when the job ends'."\n" + ."\n" + .'3. vcoreUtilization: the vCPU utilization of the job'."\n" + ."\n" + .'4. memUtilization: the memory usage of the job'."\n" + ."\n" + .'5. vcoreSeconds: the aggregated number of vCPUs that are allocated to the job multiplied by the number of seconds the job has been running'."\n" + ."\n" + .'6. memSeconds: the aggregated amount of memory that is allocated to the job multiplied by the number of seconds the job has been running'."\n" + ."\n" + .'7. score: the score of the job', 'type' => 'string', 'required' => false, 'example' => 'score', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'Scripts' => [ - 'description' => 'The scripts.'."\n", + 'Data' => [ + 'description' => 'The details of jobs.', 'type' => 'array', 'items' => [ - 'description' => 'The script.'."\n", + 'description' => '', 'type' => 'object', 'properties' => [ - 'Action' => [ - 'title' => 'API名称。', - 'description' => 'API name.', - 'type' => 'string', - 'example' => 'ListScripts', - ], - 'RegionId' => [ - 'title' => '区域ID。', - 'description' => 'Region ID.', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'ScriptId' => [ - 'title' => '脚本ID。', - 'description' => 'Script ID.', - 'type' => 'string', - 'example' => 'cs-bf25219d103043a0820613e32781****', - ], - 'ScriptName' => [ - 'title' => '集群脚本名称。', - 'description' => 'Script name.', - 'type' => 'string', - 'example' => 'check_env', - ], - 'ScriptPath' => [ - 'title' => '集群脚本路径。', - 'description' => 'Script path.', - 'type' => 'string', - 'example' => 'oss://bucket1/check_evn.sh', - ], - 'ScriptArgs' => [ - 'title' => '集群脚本执行参数。', - 'description' => 'Script execution parameters.', - 'type' => 'string', - 'example' => '--mode=client -h -p', - ], - 'LastUpdateTime' => [ - 'title' => '最近一次编辑时间。', - 'description' => 'Time of the last update.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639714634819', - ], - 'ExecutionFailStrategy' => [ - 'title' => '执行失败策略。', - 'description' => 'Execution failure strategy. Possible values:'."\n" - ."\n" - .'- FAILED_CONTINUE: Continue after failure.'."\n" - .'- FAILED_BLOCK: Block after failure.', - 'type' => 'string', - 'example' => 'FAILED_CONTINUE', - ], - 'ExecutionMoment' => [ - 'title' => '执行时机。', - 'description' => 'Execution timing. Possible values:'."\n" - ."\n" - .'- BEFORE_INSTALL: Before application installation.'."\n" - .'- AFTER_STARTED: After application startup.', - 'type' => 'string', - 'example' => 'BEFORE_INSTALL', - ], - 'NodeSelector' => [ - 'title' => '节点选择器。', - 'description' => 'The node selector.'."\n", - '$ref' => '#/components/schemas/NodeSelector', - ], - 'StartTime' => [ - 'title' => '开始执行时间。', - 'description' => 'Start execution time. This value is returned only when `ScriptType` is `NORMAL`.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639714634000', + 'AppId' => ['description' => 'The job ID in YARN. The value of QueryID or SessionID is returned for a Hive job.', 'type' => 'string', 'example' => 'application_1665056147236_*****', 'title' => ''], + 'Ids' => [ + 'description' => 'The job IDs. Multiple job IDs are separated with commas (,).', + 'type' => 'array', + 'items' => ['description' => 'The ID of the job that was submitted to YARN.', 'type' => 'string', 'example' => 'application_1665056147236_*****', 'title' => ''], + 'example' => 'null', + 'title' => '', ], - 'EndTime' => [ - 'title' => '结束执行时间。', - 'description' => 'End execution time. This value is returned only when `ScriptType` is `NORMAL`.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639715635819', + 'AppName' => ['description' => 'The name of the job.', 'type' => 'string', 'example' => 'data-upload', 'title' => ''], + 'User' => ['description' => 'The username that was used to submit the job.', 'type' => 'string', 'example' => 'DW', 'title' => ''], + 'StartTime' => ['description' => 'The time when the job was submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1677465658275', 'title' => ''], + 'EndTime' => ['description' => 'The time when the job ended. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1682049088086', 'title' => ''], + 'Queue' => ['description' => 'The YARN queue to which the job was submitted.', 'type' => 'string', 'example' => 'DW', 'title' => ''], + 'Type' => ['description' => 'The type of the compute engine.', 'type' => 'string', 'example' => 'TEZ', 'title' => ''], + 'QuerySql' => ['description' => 'The query statement. This parameter is left empty for non-SQL jobs.', 'type' => 'string', 'example' => 'SELECT id, count(1) FROM test group by id;'."\n", 'title' => ''], + 'Metrics' => [ + 'description' => 'The data about metrics.', + 'type' => 'object', + 'properties' => [ + 'VcoreUtilization' => [ + 'description' => 'The CPU utilization. This parameter has the same meaning as %CPU in the Linux top command.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'vcoreUtilization', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '23.1', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Ratio of used vcore to total available cores'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MemUtilization' => [ + 'description' => 'The memory usage', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'memUtilization'."\n", 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '0.23', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Ratio of used memory to total available memory'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'VcoreSeconds' => [ + 'description' => 'The CPU usage.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'vcoreSeconds', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '11123'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'VCores * Sec'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Total vcore usage over time in seconds', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MemSeconds' => [ + 'description' => 'The amount of memory consumed.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'memSeconds', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '12312312', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'MB * Sec', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Total memory usage over time in seconds', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], - 'ExecutionState' => [ - 'description' => 'Script execution state. This value is returned only when `ScriptType` is `NORMAL`. Possible values:'."\n" - ."\n" - .'- SCRIPT_COMPLETED: Script executed successfully.'."\n" - .'- SCRIPT_SUBMISSION_FAILED: Script execution failed.'."\n" - .'- SCRIPT_RUNNING: Script is running.', - 'type' => 'string', - 'example' => 'SCRIPT_COMPLETED', + 'Analysis' => [ + 'description' => 'The analysis results of the jobs.', + 'type' => 'object', + 'properties' => [ + 'Score' => ['description' => 'The score of the job.', 'type' => 'integer', 'format' => 'int32', 'example' => '23', 'title' => ''], + 'Suggestion' => ['description' => 'The suggestion on executing the job.', 'type' => 'string', 'example' => '##### 当前节点:container'."\n" + .'##### 存在问题:'."\n" + .'最大内存利用率为7.75%,利用率较低'."\n" + ."\n\n" + .'尝试减小Tez Container内存,可通过hive.tez.container.size进行设置', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'Request ID.', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'The position of the data read.', - 'type' => 'string', - 'example' => 'dd6b1b2a-5837-5237-abe4-ff0c89568982', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The maximum number of records returned in this request.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total amount of data under the conditions of this request.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', 'title' => ''], + 'NextToken' => ['description' => 'A pagination token.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Scripts\\": [\\n {\\n \\"Action\\": \\"ListScripts\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ScriptId\\": \\"cs-bf25219d103043a0820613e32781****\\",\\n \\"ScriptName\\": \\"check_env\\",\\n \\"ScriptPath\\": \\"oss://bucket1/check_evn.sh\\",\\n \\"ScriptArgs\\": \\"--mode=client -h -p\\",\\n \\"LastUpdateTime\\": 1639714634819,\\n \\"ExecutionFailStrategy\\": \\"FAILED_CONTINUE\\",\\n \\"ExecutionMoment\\": \\"BEFORE_INSTALL\\",\\n \\"NodeSelector\\": {\\n \\"NodeSelectType\\": \\"CLUSTER\\",\\n \\"NodeNames\\": [\\n \\"\\"\\n ],\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupIds\\": [\\n \\"ng-869471354ecd****\\"\\n ],\\n \\"NodeGroupTypes\\": [\\n \\"\\"\\n ],\\n \\"NodeGroupName\\": \\"master-1\\",\\n \\"NodeGroupNames\\": [\\n \\"master-1\\"\\n ]\\n },\\n \\"StartTime\\": 1639714634000,\\n \\"EndTime\\": 1639715635819,\\n \\"ExecutionState\\": \\"SCRIPT_COMPLETED\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"dd6b1b2a-5837-5237-abe4-ff0c89568982\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => 'ListScripts', - 'summary' => 'Query EMR cluster bootstrap scripts or regular scripts.', - 'translator' => 'machine', - ], - 'UpdateScript' => [ - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"AppId\\": \\"application_1665056147236_*****\\",\\n \\"Ids\\": [\\n \\"application_1665056147236_*****\\"\\n ],\\n \\"AppName\\": \\"data-upload\\",\\n \\"User\\": \\"DW\\",\\n \\"StartTime\\": 1677465658275,\\n \\"EndTime\\": 1682049088086,\\n \\"Queue\\": \\"DW\\",\\n \\"Type\\": \\"TEZ\\",\\n \\"QuerySql\\": \\"SELECT id, count(1) FROM test group by id;\\\\n\\",\\n \\"Metrics\\": {\\n \\"VcoreUtilization\\": {\\n \\"Name\\": \\"vcoreUtilization\\",\\n \\"Value\\": 23.1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of used vcore to total available cores\\\\n\\"\\n },\\n \\"MemUtilization\\": {\\n \\"Name\\": \\"memUtilization\\\\n\\",\\n \\"Value\\": 0.23,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of used memory to total available memory\\\\n\\"\\n },\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\\\n\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"Score\\": 23,\\n \\"Suggestion\\": \\"##### 当前节点:container\\\\n##### 存在问题:\\\\n最大内存利用率为7.75%,利用率较低\\\\n\\\\n\\\\n尝试减小Tez Container内存,可通过hive.tez.container.size进行设置\\"\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorApplications', + 'summary' => 'Obtains the analysis results of multiple jobs on E-MapReduce (EMR) Doctor.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:09.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorApplications', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'ListDoctorComputeSummary' => [ + 'description' => 'list Doctor analysis result of cluster engine queue view', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'deprecated' => false, + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '119867', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceY1BE2N', - 'FEATUREemapreduce42QKNE', - ], + 'operationType' => 'list', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'ScriptId', + 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '脚本ID。', - 'description' => 'The script ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cs-da7476a7679a4d4c9cede62ebe09****', - ], + 'schema' => ['title' => '', 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ - 'name' => 'ScriptType', + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The maximum number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", 'type' => 'string', 'required' => true, 'example' => '2023-01-01', 'title' => ''], + ], + [ + 'name' => 'ComponentTypes', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群脚本类型。', - 'description' => 'The type of the script. Valid values:'."\n" + 'description' => 'The resource types, which are used to filter query results. Valid values:'."\n" ."\n" - .'* BOOTSTRAP: indicates a bootstrap action of the Elastic Compute Service (ECS) instance.'."\n" - .'* NORMAL: indicates a common script.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'BOOTSTRAP', + .'* engine: filters results by engine.'."\n" + .'* queue: filters results by queue.'."\n" + .'* cluster: displays the results at the cluster level.'."\n" + ."\n" + .'If you do not specify this parameter, the information at the cluster level is displayed by default. Currently, only one resource type is supported. If you specify multiple resource types, the first resource type is used by default.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The resource type.'."\n", 'type' => 'string', 'required' => false, 'example' => 'queue', 'title' => ''], + 'required' => false, + 'example' => 'null', + 'title' => '', ], ], [ - 'name' => 'Script', + 'name' => 'OrderType', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'json', - 'schema' => [ - 'title' => '集群脚本。', - 'description' => 'The script.'."\n", - 'required' => true, - '$ref' => '#/components/schemas/Script', - ], + 'schema' => ['description' => 'The order in which you want to sort the query results. Valid values:'."\n" + ."\n" + .'* ASC: in ascending order.'."\n" + .'* DESC: in descending order.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ASC', 'title' => ''], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The basis on which you want to sort the query results. Valid values:'."\n" + ."\n" + .'1. vcoreSeconds: the total CPU consumption over time in seconds.'."\n" + .'2. memSeconds: the total memory consumption over time in seconds.'."\n" + .'3. vcoreUtilization: the average CPU utilization. The meaning is the same as the %CPU parameter in the output of the top command in Linux.'."\n" + .'4. memUtilization: the average memory usage.'."\n" + .'5. vcoreSecondsDayGrowthRatio: the day-to-day growth rate of the total CPU consumption over time in seconds.'."\n" + .'6. memSecondsDayGrowthRatio: the day-to-day growth rate of the total memory consumption over time in seconds.'."\n" + .'7. readSize: the total amount of data read from the file system.'."\n" + .'8. writeSize: the total amount of data written to the file system.'."\n" + .'9. healthyJobCount: the total number of healthy jobs.'."\n" + .'10. subHealthyJobCount: the total number of sub-healthy jobs.'."\n" + .'11. unhealthyJobCount: the total number of unhealthy jobs.'."\n" + .'12. needAttentionJobCount: the total number of jobs that require attention.'."\n" + .'13. score: the score for jobs.'."\n" + .'14. scoreDayGrowthRatio: the day-to-day growth rate of the score for jobs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'score', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', + 'title' => '', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'Data' => [ + 'description' => 'The details of resource usage.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ComponentName' => ['description' => 'The name of the resource whose details are obtained based on the value of ComponentTypes. For example, if the value of ComponentTypes is Queue, the value of this parameter is a queue, such as DW.'."\n", 'type' => 'string', 'example' => 'DW', 'title' => ''], + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'VcoreSeconds' => [ + 'description' => 'The total CPU consumption over time in seconds.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'vcoreSeconds', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1231412', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'VCores * Sec', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total vcore usage over time in seconds'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MemSeconds' => [ + 'description' => 'The total memory consumption over time in seconds.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'memSeconds', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12312312', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB * Sec', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total memory usage over time in seconds', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'VcoreUtilization' => [ + 'description' => 'The average CPU utilization. The meaning is the same as the %CPU parameter in the output of the top command in Linux.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'vcoreUtilization', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '32.1', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of used vcore to total available cores'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MemUtilization' => [ + 'description' => 'The average memory usage.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'memUtilization', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.82', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of used memory to total available memory'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'VcoreSecondsDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total CPU consumption over time in seconds.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'vcoreSecondsDayGrowthRatio'."\n", 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.22'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Growth ratio of virtual core usage in seconds per day'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MemSecondsDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total memory consumption over time in seconds.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'memSecondsDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.36', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Growth ratio of memory usage in seconds per day'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ReadSize' => [ + 'description' => 'The total amount of data read from the file system.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'readSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '504888659968', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total cumulative size of data read in megabytes (MB)'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WriteSize' => [ + 'description' => 'The total amount of data written to the file system.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'writeSize'."\n", 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '6294093393920', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total cumulative size of data written in megabytes (MB)', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Analysis' => [ + 'description' => 'The resource analysis results.'."\n", + 'type' => 'object', + 'properties' => [ + 'HealthyJobCount' => ['description' => 'The total number of healthy jobs.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + 'SubHealthyJobCount' => ['description' => 'The total number of sub-healthy jobs.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '13', 'title' => ''], + 'UnhealthyJobCount' => ['description' => 'The total number of unhealthy jobs.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => ''], + 'NeedAttentionJobCount' => ['description' => 'The total number of jobs that require attention.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '23', 'title' => ''], + 'Score' => ['description' => 'The score for jobs.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '56', 'title' => ''], + 'ScoreDayGrowthRatio' => ['description' => 'The day-to-day growth rate of the score for jobs.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.03', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '', 'description' => 'A pagination token.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries that are returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '', 'description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter.ClusterId', - 'errorMessage' => 'The specified clusterId is invalid.', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'UpdateScript', - 'summary' => 'Updates a bootstrap action or a common script of an E-MapReduce (EMR) cluster.', - ], - 'DeleteScript' => [ - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"ComponentName\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 1231412,\\n \\"Unit\\": \\"VCores * Sec\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\\\n\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n },\\n \\"VcoreUtilization\\": {\\n \\"Name\\": \\"vcoreUtilization\\",\\n \\"Value\\": 32.1,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Ratio of used vcore to total available cores\\\\n\\"\\n },\\n \\"MemUtilization\\": {\\n \\"Name\\": \\"memUtilization\\",\\n \\"Value\\": 0.82,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Ratio of used memory to total available memory\\\\n\\"\\n },\\n \\"VcoreSecondsDayGrowthRatio\\": {\\n \\"Name\\": \\"vcoreSecondsDayGrowthRatio\\\\n\\",\\n \\"Value\\": 0.22,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Growth ratio of virtual core usage in seconds per day\\\\n\\"\\n },\\n \\"MemSecondsDayGrowthRatio\\": {\\n \\"Name\\": \\"memSecondsDayGrowthRatio\\",\\n \\"Value\\": 0.36,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Growth ratio of memory usage in seconds per day\\\\n\\"\\n },\\n \\"ReadSize\\": {\\n \\"Name\\": \\"readSize\\",\\n \\"Value\\": 504888659968,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total cumulative size of data read in megabytes (MB)\\\\n\\"\\n },\\n \\"WriteSize\\": {\\n \\"Name\\": \\"writeSize\\\\n\\",\\n \\"Value\\": 6294093393920,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Total cumulative size of data written in megabytes (MB)\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HealthyJobCount\\": 3,\\n \\"SubHealthyJobCount\\": 13,\\n \\"UnhealthyJobCount\\": 123,\\n \\"NeedAttentionJobCount\\": 23,\\n \\"Score\\": 56,\\n \\"ScoreDayGrowthRatio\\": 0.03\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorComputeSummary', + 'summary' => 'Obtains the information about resource usage by resource type in a cluster on E-MapReduce (EMR) Doctor.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:09.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorComputeSummary', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], + ], + ], + 'ListDoctorHBaseRegionServers' => [ + 'description' => 'list Doctor HBaseRegionServers', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'APP' => [], + 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '119859', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceY1BE2N', - 'FEATUREemapreduce42QKNE', - ], + 'operationType' => 'list', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'ScriptType', + 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群脚本类型。', - 'description' => 'The type of the script. Valid values:'."\n" - ."\n" - .'* BOOTSTRAP: indicates a bootstrap action of the Elastic Compute Service (ECS) instance.'."\n" - .'* NORMAL: indicates a common script.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'BOOTSTRAP', - ], + 'schema' => ['title' => '', 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ - 'name' => 'ScriptId', + 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The maximum number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The query date.'."\n", 'type' => 'string', 'required' => true, 'example' => '2023-01-01', 'title' => ''], + ], + [ + 'name' => 'RegionServerHosts', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '脚本ID。', - 'description' => 'The script ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cs-da7476a7679a4d4c9cede62ebe09****', + 'description' => 'The RegionServer hosts.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The RegionServer host.'."\n", 'type' => 'string', 'required' => false, 'example' => 'emr-worker-4.cluster-20****', 'title' => ''], + 'required' => false, + 'example' => 'null', + 'title' => '', ], ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The order in which you want to sort the query results. Valid value:'."\n" + ."\n" + .'* ASC: in ascending order'."\n" + .'* DESC: in descending order'."\n", 'type' => 'string', 'required' => false, 'example' => 'ASC', 'title' => ''], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The field that you use to sort the query results. Valid value:'."\n" + ."\n" + .'* regionCount: the number of regions.'."\n", 'type' => 'string', 'required' => false, 'example' => 'regionCount', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', + 'title' => '', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'Data' => [ + 'description' => 'The returned data.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RegionServerHost' => ['description' => 'The RegionServer host.'."\n", 'type' => 'string', 'example' => 'emr-worker-4.cluster-20****', 'title' => ''], + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'RegionCount' => [ + 'description' => 'The number of regions.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'regionCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '81', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of regions count', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalReadRequest' => [ + 'description' => 'The cumulative number of read requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalReadRequest', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '170500567', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total number of read requests', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalWriteRequest' => [ + 'description' => 'The cumulative number of write requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalWriteRequest', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '30109837', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total number of write requests', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalRequest' => [ + 'description' => 'The cumulative number of all requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalRequest', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '89499511', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total number of requests', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DailyReadRequest' => [ + 'description' => 'The number of daily read requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'dailyReadRequest', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '42571', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of read requests per day', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DailyWriteRequest' => [ + 'description' => 'The number of daily write requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'dailyWriteRequest', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '23124', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of write requests per day', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'AvgGc' => [ + 'description' => 'The average garbage collection (GC) duration.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'avgGc', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '37.9', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'The efficiency of garbage collection in the system', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'CacheRatio' => [ + 'description' => 'The cache hit ratio.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'cacheRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '96.7', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of the BlockCache memory size', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DailyReadRequestDayGrowthRatio' => [ + 'description' => 'The growth rate of the number of daily read requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'dailyReadRequestDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '1.0', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'The growth rate of daily read request quantity.', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DailyWriteRequestDayGrowthRatio' => [ + 'description' => 'The growth rate of the number of daily write requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'dailyWriteRequestDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '1.0', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'The growth rate of daily write request quantity.', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '', 'description' => 'A pagination token.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries that are returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '', 'description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'DeleteScript', - 'summary' => 'Deletes a bootstrap action or a common script of an E-MapReduce (EMR) cluster.', - ], - 'ListDoctorHiveDatabases' => [ - 'description' => 'list Doctor Hive Databases', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"RegionServerHost\\": \\"emr-worker-4.cluster-20****\\",\\n \\"Metrics\\": {\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 81,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"TotalReadRequest\\": {\\n \\"Name\\": \\"totalReadRequest\\",\\n \\"Value\\": 170500567,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of read requests\\"\\n },\\n \\"TotalWriteRequest\\": {\\n \\"Name\\": \\"totalWriteRequest\\",\\n \\"Value\\": 30109837,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of write requests\\"\\n },\\n \\"TotalRequest\\": {\\n \\"Name\\": \\"totalRequest\\",\\n \\"Value\\": 89499511,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of requests\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 42571,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of read requests per day\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 23124,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n },\\n \\"AvgGc\\": {\\n \\"Name\\": \\"avgGc\\",\\n \\"Value\\": 37.9,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The efficiency of garbage collection in the system\\"\\n },\\n \\"CacheRatio\\": {\\n \\"Name\\": \\"cacheRatio\\",\\n \\"Value\\": 96.7,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of the BlockCache memory size\\"\\n },\\n \\"DailyReadRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyReadRequestDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The growth rate of daily read request quantity.\\"\\n },\\n \\"DailyWriteRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyWriteRequestDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The growth rate of daily write request quantity.\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorHBaseRegionServers', + 'summary' => 'Obtains the information about multiple HBase RegionServers at a time.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:09.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHBaseRegionServers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListDoctorHBaseTables' => [ + 'description' => 'list Doctor HBaseTables', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13774,1513 +12381,1098 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['description' => 'The ID of the cluster.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['description' => 'Marks the current position to start reading. If this field is empty, the data is read from the beginning.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', 'title' => '', 'required' => false], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The maximum number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The maximum number of entries that are returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => '', 'required' => false], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The query date.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], + 'schema' => ['description' => 'The query date.', 'type' => 'string', 'required' => true, 'example' => '2023-01-01', 'title' => ''], ], [ - 'name' => 'DatabaseNames', + 'name' => 'TableNames', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'description' => 'The database names.'."\n", + 'description' => 'The table names, which are used to filter the query results.', 'type' => 'array', - 'items' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'db1', - ], + 'items' => ['description' => 'The table names.', 'type' => 'string', 'required' => false, 'example' => 'namespace1:tb_item'."\n", 'title' => ''], 'required' => false, 'example' => 'null', + 'title' => '', ], ], [ 'name' => 'OrderType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The order in which you want to sort the query results. Valid values:'."\n" - ."\n" - .'* ASC: in ascending order'."\n" - .'* DESC: in descending order'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], + 'schema' => ['description' => 'The order in which you want to sort the query results. Valid value:'."\n" + ."\n" + .'- ASC: in ascending order'."\n" + ."\n" + .'- DESC: in descending order', 'type' => 'string', 'required' => false, 'example' => 'ASC', 'title' => ''], ], [ 'name' => 'OrderBy', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The basis on which you want to sort the query results. Valid values:'."\n" - ."\n" - .'* tableCount: the number of tables'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'tableCount', - ], + 'schema' => ['description' => 'The field that you use to sort the query results.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- tableSize', 'type' => 'string', 'required' => false, 'example' => 'tableSize', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ 'Data' => [ - 'description' => 'The analysis results of Hive databases.'."\n", + 'description' => 'The data returned.', 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'DatabaseName' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'example' => 'db1', - ], - 'Formats' => [ - 'description' => 'The information from the perspective of storage formats.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'FormatName' => [ - 'description' => 'The name of the storage format.'."\n", - 'type' => 'string', - 'example' => 'TextInputFormat', + 'TableName' => ['description' => 'The name of the table.', 'type' => 'string', 'example' => 'tb_item', 'title' => ''], + 'Metrics' => [ + 'description' => 'The metric information.', + 'type' => 'object', + 'properties' => [ + 'RegionServerCount' => [ + 'description' => 'The number of region servers that host the table.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'regionServerCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Number of region servers count', 'title' => ''], ], - 'FormatSize' => [ - 'description' => 'The amount of storage format-specific data.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', + 'title' => '', + 'example' => '', + ], + 'RegionCount' => [ + 'description' => 'The number of regions that host the table.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'regionCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Number of regions count', 'title' => ''], ], - 'FormatSizeUnit' => [ - 'description' => 'The unit of the amount of storage format-specific data.'."\n", - 'type' => 'string', - 'example' => 'MB', + 'title' => '', + 'example' => '', + ], + 'TableSize' => [ + 'description' => 'The size of the table.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'tableSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '678', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Size of the table', 'title' => ''], ], - 'FormatRatio' => [ - 'description' => 'The proportion of data in a specific storage format.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', + 'title' => '', + 'example' => '', + ], + 'StoreFileCount' => [ + 'description' => 'The number of StoreFiles.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'storeFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '36', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Number of store files', 'title' => ''], ], - 'FormatDayGrowthSize' => [ - 'description' => 'The daily increment of storage format-specific data.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', + 'title' => '', + 'example' => '', + ], + 'DailyReadRequest' => [ + 'description' => 'The total number of read requests for the table in a day.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'dailyReadRequest', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Number of read requests per day', 'title' => ''], ], - 'FormatSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of storage format-specific data.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', + 'title' => '', + 'example' => '', + ], + 'DailyWriteRequest' => [ + 'description' => 'The total number of write requests for the table in a day.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'dailyWriteRequest', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Number of write requests per day', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - ], - 'Metrics' => [ - 'description' => 'The metric information.'."\n", - 'type' => 'object', - 'properties' => [ - 'TableCount' => [ - 'description' => 'The number of tables.'."\n", + 'RegionBalance' => [ + 'description' => 'The balancing degree.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'TableCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of tables'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'regionBalance', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '1.0', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'The ability to evenly distribute Regions on different RegionServer nodes', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'PartitionNum' => [ - 'description' => 'The number of partitions.'."\n", + 'RequestBalance' => [ + 'description' => 'The request balancing degree.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'ppartitionNum', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of partitions'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'requestBalance', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '0.9', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'The balance of distributing requests', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'LargeFileCount' => [ - 'description' => 'The number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'HotDataSize' => [ + 'description' => 'The size of hot data.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of large files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'hotDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Size of the hot data size', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'MediumFileCount' => [ - 'description' => 'The number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'WarmDataSize' => [ + 'description' => 'The size of warm data.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of medium files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'warmDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Size of the warm data size', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'SmallFileCount' => [ - 'description' => 'The number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'ColdDataSize' => [ + 'description' => 'The size of cold data.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of small files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'coldDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Size of the cold data size', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'TinyFileCount' => [ - 'description' => 'The number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'FreezeDataSize' => [ + 'description' => 'The size of very cold data.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of tiny files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'freezeDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Size of the freeze data size', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'EmptyFileCount' => [ - 'description' => 'The number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'WarmConfigDay' => [ + 'description' => 'The number of consecutive days without access to data before the data is considered as cold data.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of empty files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'warmConfigDay', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'day', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Warm config day', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'TotalFileCount' => [ - 'description' => 'The total number of files.'."\n", + 'ColdConfigDay' => [ + 'description' => 'The number of consecutive days without access to data before the data is considered as very cold data.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of total files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'coldConfigDay', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'day', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Cold config day', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'LargeFileRatio' => [ - 'description' => 'The proportion of large files. Large files are those with a size greater than 1 GB.'."\n", + 'FreezeConfigDay' => [ + 'description' => 'The number of consecutive days without access to data before the data was considered as very cold data.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of large files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'freezeConfigDay', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'day', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Freeze config day', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'MediumFileRatio' => [ - 'description' => 'The proportion of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'Locality' => [ + 'description' => 'The localization rate.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of medium files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'locality', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '0', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'The locality of data', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'SmallFileRatio' => [ - 'description' => 'The proportion of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'ColdAccessDay' => [ + 'description' => 'The number of days during which the table was not accessed.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of small files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'coldAccessDay', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'day', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Cold access day', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'TinyFileRatio' => [ - 'description' => 'The proportion of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'RegionCountDayGrowthRatio' => [ + 'description' => 'The daily increment ratio of the number of regions.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of tiny files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'regionCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '1.0', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth ratio of region count', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'EmptyFileRatio' => [ - 'description' => 'The proportion of empty files. Empty files are those with a size of 0 MB.'."\n", + 'TableSizeDayGrowthRatio' => [ + 'description' => 'The daily increment ratio of the table size.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of empty files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'tableSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '1.0', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '\'"', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth ratio of table size', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'HotDataSize' => [ - 'description' => 'The amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'StoreFileCountDayGrowthRatio' => [ + 'description' => 'The daily increment ratio of the number of StoreFiles.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of hot files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'storeFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '0.7', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth ratio of store file count', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'WarmDataSize' => [ - 'description' => 'The amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'DailyReadRequestDayGrowthRatio' => [ + 'description' => 'The daily increment ratio of the number of read requests in a day.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of warm files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'dailyReadRequestDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '0.8', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth ratio of read requests', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'ColdDataSize' => [ - 'description' => 'The amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'DailyWriteRequestDayGrowthRatio' => [ + 'description' => 'The daily increment ratio of the number of write requests in a day.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of cold files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'dailyWriteRequestDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '0.8', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'The balance of distributing requests', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'FreezeDataSize' => [ - 'description' => 'The amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'ReadRequestBalance' => [ + 'description' => 'The read balancing degree.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataSize ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of freeze files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'readRequestBalance', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '1.0', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'The balance of distributing read requests', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'TotalDataSize' => [ - 'description' => 'The total amount of data.'."\n", + 'WriteRequestBalance' => [ + 'description' => 'The write balancing degree.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total data size in megabytes (MB)'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'writeRequestBalance', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '1.0', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'The balance of distributing write requests', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'HotDataRatio' => [ - 'description' => 'The proportion of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + ], + 'title' => '', + 'example' => '', + ], + 'Analysis' => [ + 'description' => 'The diagnosis result.', + 'type' => 'object', + 'properties' => [ + 'TableScore' => ['description' => 'The score of the table.', 'type' => 'integer', 'format' => 'int32', 'example' => '67', 'title' => ''], + 'RequestUnbalanceSuggestion' => ['description' => 'The description of read/write imbalance.', 'type' => 'string', 'example' => 'ead request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均读请求数量为764361,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 读请求数量: 1543919</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 读请求数量: 1512817</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 读请求数量: 1504293</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>', 'title' => ''], + 'RequestHotspotRegionList' => [ + 'description' => 'The regions that have read/write hotspot issues.', + 'type' => 'array', + 'items' => ['description' => 'The region that has read/write hotspot issues.', 'type' => 'string', 'example' => '5f019e8cf7c16be9768634cb99ccbe05', 'title' => ''], + 'example' => 'null', + 'title' => '', + ], + 'ReadRequestUnbalanceSuggestion' => ['description' => 'The description of read imbalance.', 'type' => 'string', 'example' => 'ead request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均读请求数量为764361,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 读请求数量: 1543919</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 读请求数量: 1512817</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 读请求数量: 1504293</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>', 'title' => ''], + 'ReadRequestHotspotRegionList' => [ + 'description' => 'The regions that have read hotspot issues.', + 'type' => 'array', + 'items' => ['description' => 'The region that has read hotspot issues.', 'type' => 'string', 'example' => '5f019e8cf7c16be9768634cb99ccbe05', 'title' => ''], + 'example' => 'null', + 'title' => '', + ], + 'WriteRequestUnbalanceSuggestion' => ['description' => 'The description of write imbalance.', 'type' => 'string', 'example' => 'write request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均写请求数量为786142,以下分区存在写请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 写请求数量: 1588305</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 写请求数量: 1556984</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 写请求数量: 1548764</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>', 'title' => ''], + 'WriteRequestHotspotRegionList' => [ + 'description' => 'The regions that have write hotspot issues.', + 'type' => 'array', + 'items' => ['description' => 'The region that has write hotspot issues.', 'type' => 'string', 'example' => '5f019e8cf7c16be9768634cb99ccbe05', 'title' => ''], + 'example' => 'null', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', 'title' => ''], + 'NextToken' => ['description' => 'The page number of the next page returned.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], + ], + 503 => [ + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"TableName\\": \\"tb_item\\",\\n \\"Metrics\\": {\\n \\"RegionServerCount\\": {\\n \\"Name\\": \\"regionServerCount\\",\\n \\"Value\\": 2,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of region servers count\\"\\n },\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 3,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"TableSize\\": {\\n \\"Name\\": \\"tableSize\\",\\n \\"Value\\": 678,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the table\\"\\n },\\n \\"StoreFileCount\\": {\\n \\"Name\\": \\"storeFileCount\\",\\n \\"Value\\": 36,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of store files\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of read requests per day\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n },\\n \\"RegionBalance\\": {\\n \\"Name\\": \\"regionBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"The ability to evenly distribute Regions on different RegionServer nodes\\"\\n },\\n \\"RequestBalance\\": {\\n \\"Name\\": \\"requestBalance\\",\\n \\"Value\\": 0.9,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"The balance of distributing requests\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"WarmConfigDay\\": {\\n \\"Name\\": \\"warmConfigDay\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Warm config day\\"\\n },\\n \\"ColdConfigDay\\": {\\n \\"Name\\": \\"coldConfigDay\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Cold config day\\"\\n },\\n \\"FreezeConfigDay\\": {\\n \\"Name\\": \\"freezeConfigDay\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Freeze config day\\"\\n },\\n \\"Locality\\": {\\n \\"Name\\": \\"locality\\",\\n \\"Value\\": 0,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The locality of data\\"\\n },\\n \\"ColdAccessDay\\": {\\n \\"Name\\": \\"coldAccessDay\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Cold access day\\"\\n },\\n \\"RegionCountDayGrowthRatio\\": {\\n \\"Name\\": \\"regionCountDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of region count\\"\\n },\\n \\"TableSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"tableSizeDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\'\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of table size\\"\\n },\\n \\"StoreFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"storeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.7,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of store file count\\"\\n },\\n \\"DailyReadRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyReadRequestDayGrowthRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of read requests\\"\\n },\\n \\"DailyWriteRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyWriteRequestDayGrowthRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing requests\\"\\n },\\n \\"ReadRequestBalance\\": {\\n \\"Name\\": \\"readRequestBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing read requests\\"\\n },\\n \\"WriteRequestBalance\\": {\\n \\"Name\\": \\"writeRequestBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing write requests\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"TableScore\\": 67,\\n \\"RequestUnbalanceSuggestion\\": \\"ead request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均读请求数量为764361,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 读请求数量: 1543919</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 读请求数量: 1512817</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 读请求数量: 1504293</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"RequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"ReadRequestUnbalanceSuggestion\\": \\"ead request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均读请求数量为764361,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 读请求数量: 1543919</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 读请求数量: 1512817</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 读请求数量: 1504293</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"ReadRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"WriteRequestUnbalanceSuggestion\\": \\"write request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均写请求数量为786142,以下分区存在写请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 写请求数量: 1588305</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 写请求数量: 1556984</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 写请求数量: 1548764</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"WriteRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ]\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorHBaseTables', + 'summary' => 'Obtains the information about multiple HBase tables at a time.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:09.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHBaseTables', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'translator' => 'manual', + ], + 'ListDoctorHDFSDirectories' => [ + 'description' => 'Queries the analysis results for HDFS directories.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The ID of the cluster.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The token that is used to start the next query.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', 'title' => '', 'required' => false], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The maximum number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => '', 'required' => false], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The date. The value is in the ISO 8601 format. For example, 2023-01-01 represents January 1, 2023.', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'."\n", 'title' => ''], + ], + [ + 'name' => 'DirPath', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The path of the directory. The directory depth cannot exceed five levels. If you do not specify this parameter, the analysis results of all directories are returned.', 'type' => 'string', 'required' => false, 'example' => '/tmp/test'."\n", 'title' => ''], + ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The sort order. Valid values:'."\n" + ."\n" + .'- ASC: ascending'."\n" + ."\n" + .'- DESC: descending', 'type' => 'string', 'required' => false, 'example' => 'ASC', 'title' => ''], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The property based on which to sort the query results. Valid values:'."\n" + ."\n" + .'- totalFileCount: the total number of files.'."\n" + ."\n" + .'- largeFileCount: the number of large files. A large file is 1 GB or larger.'."\n" + ."\n" + .'- mediumFileCount: the number of medium-sized files. A medium-sized file is larger than 128 MB and smaller than 1 GB.'."\n" + ."\n" + .'- smallFileCount: the number of small files. A small file is larger than 10 MB and less than or equal to 128 MB.'."\n" + ."\n" + .'- tinyFileCount: the number of tiny files. A tiny file is larger than 0 MB and less than or equal to 10 MB.'."\n" + ."\n" + .'- emptyFileCount: the number of empty files. An empty file is 0 MB in size.'."\n" + ."\n" + .'- hotDataSize: the size of hot data. Hot data is data that was accessed in the last 7 days.'."\n" + ."\n" + .'- warmDataSize: the size of warm data. Warm data is data that was not accessed in the last 7 days but was accessed in the last 30 days.'."\n" + ."\n" + .'- coldDataSize: the size of cold data. Cold data is data that was not accessed in the last 30 days but was accessed in the last 90 days.'."\n" + ."\n" + .'- freezeDataSize: the size of freeze data. Freeze data is data that was not accessed in the last 90 days.'."\n" + ."\n" + .'- totalDataSize: the total data size.'."\n" + ."\n" + .'- totalFileDayGrowthCount: the daily increase in the total number of files.'."\n" + ."\n" + .'- largeFileDayGrowthCount: the daily increase in the number of large files. A large file is 1 GB or larger.'."\n" + ."\n" + .'- mediumFileDayGrowthCount: the daily increase in the number of medium-sized files. A medium-sized file is larger than 128 MB and smaller than 1 GB.'."\n" + ."\n" + .'- smallFileDayGrowthCount: the daily increase in the number of small files. A small file is larger than 10 MB and less than or equal to 128 MB.'."\n" + ."\n" + .'- tinyFileDayGrowthCount: the daily increase in the number of tiny files. A tiny file is larger than 0 MB and less than or equal to 10 MB.'."\n" + ."\n" + .'- emptyFileDayGrowthCount: the daily increase in the number of empty files. An empty file is 0 MB in size.'."\n" + ."\n" + .'- hotDataDayGrowthSize: the daily increase in the size of hot data. Hot data is data that was accessed in the last 7 days.'."\n" + ."\n" + .'- warmDataDayGrowthSize: the daily increase in the size of warm data. Warm data is data that was not accessed in the last 7 days but was accessed in the last 30 days.'."\n" + ."\n" + .'- coldDataDayGrowthSize: the daily increase in the size of cold data. Cold data is data that was not accessed in the last 30 days but was accessed in the last 90 days.'."\n" + ."\n" + .'- freezeDataDayGrowthSize: the daily increase in the size of freeze data. Freeze data is data that was not accessed in the last 90 days.'."\n" + ."\n" + .'- totalDataDayGrowthSize: the daily increase in the total data size.'."\n" + ."\n" + .'- totalFileCountDayGrowthRatio: the day-over-day growth ratio of the total number of files.'."\n" + ."\n" + .'- largeFileCountDayGrowthRatio: the day-over-day growth ratio of the number of large files. A large file is 1 GB or larger.'."\n" + ."\n" + .'- mediumFileCountDayGrowthRatio: the day-over-day growth ratio of the number of medium-sized files. A medium-sized file is larger than 128 MB and smaller than 1 GB.'."\n" + ."\n" + .'- smallFileCountDayGrowthRatio: the day-over-day growth ratio of the number of small files. A small file is larger than 10 MB and less than or equal to 128 MB.'."\n" + ."\n" + .'- tinyFileCountDayGrowthRatio: the day-over-day growth ratio of the number of tiny files. A tiny file is larger than 0 MB and less than or equal to 10 MB.'."\n" + ."\n" + .'- emptyFileCountDayGrowthRatio: the day-over-day growth ratio of the number of empty files. An empty file is 0 MB in size.', 'type' => 'string', 'required' => false, 'example' => 'smallFileCount', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'Returned data', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The analytical data for the batch analysis of HDFS directories.', + 'type' => 'array', + 'items' => [ + 'description' => 'Analytical data for an HDFS directory.', + 'type' => 'object', + 'properties' => [ + 'DirPath' => ['description' => 'The directory name.', 'type' => 'string', 'example' => '/tmp/test', 'title' => ''], + 'Depth' => ['description' => 'The directory level.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'User' => ['description' => 'The owner of the directory.', 'type' => 'string', 'example' => 'DW', 'title' => ''], + 'Group' => ['description' => 'The group of the folder.', 'type' => 'string', 'example' => 'DW', 'title' => ''], + 'Metrics' => [ + 'description' => 'The metric information.', + 'type' => 'object', + 'properties' => [ + 'TotalFileCount' => [ + 'description' => 'The total number of files.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Hot data ratio'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'totalFileCount', 'title' => ''], + 'Value' => ['description' => 'The metric value.', 'type' => 'integer', 'format' => 'int64', 'example' => '51683279', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Number of total files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'WarmDataRatio' => [ - 'description' => 'The proportion of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'LargeFileCount' => [ + 'description' => 'The number of large files. A large file is a file that is 1 GB or larger.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of warm data'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'largeFileCount', 'title' => ''], + 'Value' => ['description' => 'The metric value.', 'type' => 'integer', 'format' => 'int64', 'example' => '123'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Number of large files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'ColdDataRatio' => [ - 'description' => 'The proportion of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'MediumFileCount' => [ + 'description' => 'The number of files larger than 128 MB and up to 1 GB.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Cold data ratio'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'mediumFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '323', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Number of medium files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'FreezeDataRatio' => [ - 'description' => 'The proportion of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'SmallFileCount' => [ + 'description' => 'The number of small files. A small file is a file with a size from 10 MB to 128 MB.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of freeze data'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'smallFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '12345'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Number of small files'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TinyFileCount' => [ + 'description' => 'The number of tiny files. A tiny file is larger than 0 MB and up to 10 MB in size.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'tinyFileCount'."\n", 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '232131', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Number of tiny files', 'title' => ''], ], + 'title' => '', + 'example' => '', + ], + 'EmptyFileCount' => [ + 'description' => 'The count of empty files. An empty file is a file with a size of 0 MB.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'emptyFileCount', 'title' => ''], + 'Value' => ['description' => 'The metric value.', 'type' => 'integer', 'format' => 'int64', 'example' => '15595897', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Number of empty files', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'HotDataSize' => [ + 'description' => 'The size of the hot data. Hot data is data accessed within the last 7 days.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'hotDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '6701531944206', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Size of the hot data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'WarmDataSize' => [ + 'description' => 'The size of the warm data. Warm data is data that has been accessed within the past 30 days, but not within the past 7 days.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'warmDataSize'."\n", 'title' => ''], + 'Value' => ['description' => 'The metric value.', 'type' => 'integer', 'format' => 'int64', 'example' => '4062349775577', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Size of the warm data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'ColdDataSize' => [ + 'description' => 'The size of the cold data. Cold data is data that was last accessed between 30 and 90 days ago.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'coldDataSize', 'title' => ''], + 'Value' => ['description' => 'The metric value.', 'type' => 'integer', 'format' => 'int64', 'example' => '5570958082267', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Size of the cold data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'FreezeDataSize' => [ + 'description' => 'The size of the frozen data. Data is considered frozen if it has not been accessed in the last 90 days.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'freezeDataSize', 'title' => ''], + 'Value' => ['description' => 'The metric value.', 'type' => 'integer', 'format' => 'int64', 'example' => '1231312431', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Size of the freeze data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TotalDataSize' => [ + 'description' => 'The total data size.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'totalDataSize', 'title' => ''], + 'Value' => ['description' => 'The metric value.', 'type' => 'integer', 'format' => 'int64', 'example' => '62086342083623', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', ], 'TotalFileDayGrowthCount' => [ - 'description' => 'The daily increment of the total number of files.'."\n", + 'description' => 'The daily growth in the total file count.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of total files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'totalFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '27809', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth count of total files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'LargeFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'description' => 'The daily increase in the number of large files. A large file is a file larger than 1 GB.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of large files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'largeFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '2'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth count of large files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'MediumFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'description' => 'The daily increase in the number of medium-sized files. A medium-sized file is larger than 128 MB and less than or equal to 1 GB.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of medium files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'mediumFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '176', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth count of medium files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'SmallFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'description' => 'The number of new small files added each day. A small file is 10 MB to 128 MB.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileDayGrowthCount ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of small files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'smallFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The metric value.', 'type' => 'integer', 'format' => 'int64', 'example' => '12345', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth count of small files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'TinyFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'description' => 'The daily growth in the tiny file count. A tiny file is a file larger than 0 MB and smaller than 10 MB.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of tiny files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'tinyFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The metric value.', 'type' => 'integer', 'format' => 'int64', 'example' => '-123'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth count of tiny files', 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'EmptyFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'description' => 'The daily growth in the number of empty files. An empty file has a size of 0 MB.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of empty files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'emptyFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The metric value.', 'type' => 'integer', 'format' => 'int64', 'example' => '114'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth count of empty files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'HotDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'description' => 'The daily increase in hot data size. Hot data is data that has been accessed within the last 7 days.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataDayGrowthSize ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of hot data'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'hotDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '123154'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => ' '."\n" + .'Day growth size of hot data'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'WarmDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'description' => 'The daily growth in the size of warm data. Warm data is data that has not been accessed in the last 7 days, but has been accessed in the last 30 days.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataDayGrowthSize ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of warm data'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'warmDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '-64806998319'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth size of warm data'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'ColdDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'description' => 'The daily growth in the size of cold data. Cold data is data that was last accessed between 30 and 90 days ago.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of cold data'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'coldDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '-182636577752'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth size of cold data'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'FreezeDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'description' => 'The daily growth in the size of freeze data. Freeze data is data that has not been accessed for 90 days.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataDayGrowthSize ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of freeze data'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'freezeDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'integer', 'format' => 'int64', 'example' => '-167683929450'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth size of freeze data'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'TotalDataDayGrowthSize' => [ - 'description' => 'The daily increment of the total data volume.', + 'description' => 'The daily growth in the total data size.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of total data'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'totalDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The metric value.', 'type' => 'integer', 'format' => 'int64', 'example' => '256482228248', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth size of total data'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'TotalFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the total number of files.'."\n", + 'description' => 'The day-over-day growth ratio of the total file count.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of total files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio'."\n", 'title' => ''], + 'Value' => ['description' => 'The metric value.', 'type' => 'number', 'format' => 'float', 'example' => '0.02'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth ratio of total files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'LargeFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'description' => 'The day-over-day growth ratio of the large file count. A large file is a file that is 1 GB or larger.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of large files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The metric value.', 'type' => 'number', 'format' => 'float', 'example' => '0.39'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth ratio of large files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'MediumFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'description' => 'The day-over-day growth ratio of the number of medium-sized files. A medium-sized file is larger than 128 MB and smaller than 1 GB.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileCountDayGrowthRatio ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of medium files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '0.19'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth ratio of medium files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'SmallFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'description' => 'The day-over-day growth ratio of the number of small files. A small file has a size greater than 10 MB and less than or equal to 128 MB.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileCountDayGrowthRatio ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of small files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The metric value.', 'type' => 'number', 'format' => 'float', 'example' => '0.02'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth ratio of small files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'TinyFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'description' => 'The daily growth rate of tiny files. A tiny file is larger than 0 MB and smaller than 10 MB.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileCountDayGrowthRatio ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of tiny files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The metric value.', 'type' => 'number', 'format' => 'float', 'example' => '0.003', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth ratio of tiny files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'EmptyFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'description' => 'The day-over-day growth ratio of the empty file count. An empty file is a file with a size of 0 MB.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileCountDayGrowthRatio ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of empty files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The metric value.', 'type' => 'number', 'format' => 'float', 'example' => '0.005'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth ratio of empty files', 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'HotDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'description' => 'The daily growth rate of the hot data size. Hot data is any data accessed in the past 7 days.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataSizeDayGrowthRatio ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of hot data size'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => ' '."\n" + .'0.1114'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth ratio of hot data size'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'WarmDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'description' => 'The day-over-day growth ratio of the warm data size. Warm data has not been accessed in the last 7 days but has been accessed in the last 30 days.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'WarmDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of warm data size'."\n", - ], - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => ' '."\n" + .'warmDataSizeDayGrowthRatio'."\n", 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => ' '."\n" + .'-0.015'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth ratio of warm data size'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', ], 'ColdDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'description' => 'The day-over-day growth rate of the cold data size. Cold data refers to data last accessed between 30 and 90 days ago.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataSizeDayGrowthRatio ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of cold data size'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The metric value.', 'type' => 'number', 'format' => 'float', 'example' => '-0.03'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth ratio of cold data size'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'FreezeDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'description' => 'The daily growth rate of freeze data. Freeze data is data that has not been accessed in 90 days.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataSizeDayGrowthRatio ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of freeze data size'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '-0.09'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth ratio of freeze data size'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'TotalDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the total data volume.'."\n", + 'description' => 'The day-over-day growth ratio of the total data size.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataSizeDayGrowthRatio ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of total data size'."\n", - ], + 'Name' => ['description' => 'The name of the metric.', 'type' => 'string', 'example' => 'totalDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'float', 'example' => '0.14', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.', 'type' => 'string', 'example' => 'Day growth ratio of total data size'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], - ], - 'Analysis' => [ - 'description' => 'The analysis results.'."\n", - 'type' => 'object', - 'properties' => [ - 'HiveFrequencyScore' => [ - 'description' => 'The score for the access frequency of the Hive database.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '85', - ], - 'HiveDistributionScore' => [ - 'description' => 'The score for the distribution of files of different sizes stored in the Hive database.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '85', - ], - 'HiveFormatScore' => [ - 'description' => 'The score for the distribution of files stored in different formats in the Hive database.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '85', - ], - 'HiveScore' => [ - 'description' => 'The overall score of the Hive database.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '85', - ], - ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'A pagination token.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The maximum number of entries that are returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', 'title' => ''], + 'NextToken' => ['description' => 'The starting position for the next read.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of records returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries that match the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"DirPath\\": \\"/tmp/test\\",\\n \\"Depth\\": 2,\\n \\"User\\": \\"DW\\",\\n \\"Group\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 51683279,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 323,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\\\n\\",\\n \\"Value\\": 232131,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tiny files\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 15595897,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of empty files\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 6701531944206,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the hot data size\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\\\n\\",\\n \\"Value\\": 4062349775577,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the warm data size\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 5570958082267,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1231312431,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the freeze data size\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 62086342083623,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 27809,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 2,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 176,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": -123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of tiny files\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 114,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 123154,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"\\\\t\\\\nDay growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": -64806998319,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": -182636577752,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": -167683929450,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 256482228248,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\\\n\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.39,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.003,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.005,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.1114,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"\\\\t\\\\nwarmDataSizeDayGrowthRatio\\\\n\\",\\n \\"Value\\": -0.015,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.03,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.09,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.14,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorHDFSDirectories', + 'summary' => 'Retrieves batch analysis results for specific directories using EMR Doctor. The directory depth cannot exceed five levels.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:08.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHDFSDirectories', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"DatabaseName\\": \\"db1\\",\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\",\\n \\"FormatSize\\": 1000,\\n \\"FormatSizeUnit\\": \\"MB\\",\\n \\"FormatRatio\\": 0.5,\\n \\"FormatDayGrowthSize\\": 1000,\\n \\"FormatSizeDayGrowthRatio\\": 0.5\\n }\\n ],\\n \\"Metrics\\": {\\n \\"TableCount\\": {\\n \\"Name\\": \\"TableCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tables\\\\n\\"\\n },\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"ppartitionNum\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of partitions\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of large files\\\\n\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of small files\\\\n\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of hot files\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of warm files\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of cold files\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of freeze files\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Hot data ratio\\\\n\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of warm data\\\\n\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Cold data ratio\\\\n\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of freeze data\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"WarmDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 85,\\n \\"HiveDistributionScore\\": 85,\\n \\"HiveFormatScore\\": 85,\\n \\"HiveScore\\": 85\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => 'ListDoctorHiveDatabases', - 'summary' => 'Obtains the analysis results of multiple Hive databases at a time.', + 'translator' => 'manual', ], - 'GetDoctorHiveDatabase' => [ - 'description' => 'get Doctor Hive Database', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDoctorHDFSUGI' => [ + 'description' => 'list Doctor HDFS UGIs', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15288,1426 +13480,194 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'list', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The maximum number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The query date.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], + 'schema' => ['description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", 'type' => 'string', 'required' => true, 'example' => '2023-01-01', 'title' => ''], ], [ - 'name' => 'DatabaseName', + 'name' => 'Type', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The database name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'db1', - ], + 'schema' => ['description' => 'The filter condition. Valid values:'."\n" + ."\n" + .'* user'."\n" + .'* group'."\n", 'type' => 'string', 'required' => true, 'example' => 'group', 'title' => ''], + ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The order in which you want to sort the query results. Valid values:'."\n" + ."\n" + .'* ASC: in ascending order'."\n" + .'* DESC: in descending order'."\n", 'type' => 'string', 'required' => false, 'example' => 'ASC', 'title' => ''], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The basis on which you want to sort the query results. Valid values:'."\n" + ."\n" + .'* totalFileCount: the total number of files'."\n" + .'* totalDataSize: the total data size'."\n" + .'* totalDirCount: the total number of directories'."\n", 'type' => 'string', 'required' => false, 'example' => 'totalFileCount', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', + 'title' => '', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'Data' => [ - 'description' => 'The analysis results of the Hive database.'."\n", - 'type' => 'object', - 'properties' => [ - 'Formats' => [ - 'description' => 'The information from the perspective of storage formats.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', + 'description' => 'The results of batch HDFS analysis.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The actual name of the owner or group returned based on the value of Type.'."\n", 'type' => 'string', 'example' => 'DW', 'title' => ''], + 'Metrics' => [ + 'description' => 'The metric information.'."\n", 'type' => 'object', 'properties' => [ - 'FormatName' => [ - 'description' => 'The name of the storage format.'."\n", - 'type' => 'string', - 'example' => 'TextInputFormat', - ], - 'FormatSize' => [ - 'description' => 'The amount of data in the format.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'FormatSizeUnit' => [ - 'description' => 'The unit of the amount of data in the format.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'FormatRatio' => [ - 'description' => 'The proportion of the data in the format.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'FormatDayGrowthSize' => [ - 'description' => 'The daily increment of data in the format.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'FormatSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of data in the format.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - ], - ], - ], - 'Metrics' => [ - 'description' => 'The metric information.'."\n", - 'type' => 'object', - 'properties' => [ - 'TableCount' => [ - 'description' => 'The number of tables.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tableCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of tables'."\n", - ], - ], - ], - 'PartitionNum' => [ - 'description' => 'The number of partitions.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'partitionNum', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of partitions'."\n", - ], - ], - ], - 'LargeFileCount' => [ - 'description' => 'The number of large files. Large files are those with a size greater than 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of large files'."\n", - ], - ], - ], - 'MediumFileCount' => [ - 'description' => 'The number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of medium files'."\n", - ], - ], - ], - 'SmallFileCount' => [ - 'description' => 'The number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of small files'."\n", - ], - ], - ], - 'TinyFileCount' => [ - 'description' => 'The number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of tiny files'."\n", - ], - ], - ], - 'EmptyFileCount' => [ - 'description' => 'The number of empty files. Empty files are those with a size of 0 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of empty files'."\n", - ], - ], - ], - 'TotalFileCount' => [ - 'description' => 'The total number of files.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileCount ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of total files'."\n", - ], - ], - ], - 'LargeFileRatio' => [ - 'description' => 'The proportion of large files. Large files are those with a size greater than 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of large files'."\n", - ], - ], - ], - 'MediumFileRatio' => [ - 'description' => 'The proportion of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of medium files'."\n", - ], - ], - ], - 'SmallFileRatio' => [ - 'description' => 'The proportion of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of small files'."\n", - ], - ], - ], - 'TinyFileRatio' => [ - 'description' => 'The proportion of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of tiny files'."\n", - ], - ], - ], - 'EmptyFileRatio' => [ - 'description' => 'The proportion of empty files. Empty files are those with a size of 0 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileRatio ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of empty files'."\n", - ], - ], - ], - 'HotDataSize' => [ - 'description' => 'The amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of hot files'."\n", - ], - ], - ], - 'WarmDataSize' => [ - 'description' => 'The amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of warm files'."\n", - ], - ], - ], - 'ColdDataSize' => [ - 'description' => 'The amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of cold files'."\n", - ], - ], - ], - 'FreezeDataSize' => [ - 'description' => 'The amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of freeze files'."\n", - ], - ], - ], - 'TotalDataSize' => [ - 'description' => 'The total amount of data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataSize ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total data size in megabytes (MB)'."\n", - ], - ], - ], - 'HotDataRatio' => [ - 'description' => 'The proportion of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataRatio ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Hot data ratio'."\n", - ], - ], - ], - 'WarmDataRatio' => [ - 'description' => 'The proportion of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of warm data'."\n", - ], - ], - ], - 'ColdDataRatio' => [ - 'description' => 'The proportion of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataRatio ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Cold data ratio'."\n", - ], - ], - ], - 'FreezeDataRatio' => [ - 'description' => 'The proportion of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of freeze data'."\n", - ], - ], - ], - 'TotalFileDayGrowthCount' => [ - 'description' => 'The daily increment of the total number of files.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of total files'."\n", - ], - ], - ], - 'LargeFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileDayGrowthCount ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of large files'."\n", - ], - ], - ], - 'MediumFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileDayGrowthCount ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of medium files'."\n", - ], - ], - ], - 'SmallFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of small files'."\n", - ], - ], - ], - 'TinyFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of tiny files'."\n", - ], - ], - ], - 'EmptyFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of empty files'."\n", - ], - ], - ], - 'HotDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of hot data'."\n", - ], - ], - ], - 'WarmDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of warm data'."\n", - ], - ], - ], - 'ColdDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataDayGrowthSize ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of cold data'."\n", - ], - ], - ], - 'FreezeDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataDayGrowthSize ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of freeze data'."\n", - ], - ], - ], - 'TotalDataDayGrowthSize' => [ - 'description' => 'The daily incremental of the total amount of data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataDayGrowthSize ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of total data'."\n", - ], - ], - ], - 'TotalFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the total number of files.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileCountDayGrowthRatio ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of total files'."\n", - ], - ], - ], - 'LargeFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of large files'."\n", - ], - ], - ], - 'MediumFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileCountDayGrowthRatio ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of medium files'."\n", - ], - ], - ], - 'SmallFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileCountDayGrowthRatio ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of small files'."\n", - ], - ], - ], - 'TinyFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileCountDayGrowthRatio ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of tiny files'."\n", - ], - ], - ], - 'EmptyFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of empty files'."\n", - ], - ], - ], - 'HotDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataSizeDayGrowthRatio ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of hot data size'."\n", - ], - ], - ], - 'WarmDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of warm data size'."\n", - ], - ], - ], - 'ColdDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of cold data size'."\n", + 'TotalFileCount' => [ + 'description' => 'The total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '34'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of total files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'FreezeDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataSizeDayGrowthRatio ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of freeze data size'."\n", + 'TotalDataSize' => [ + 'description' => 'The total data size.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '40440503', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total data size in megabytes (MB)', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'TotalDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the total data volume.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of total data size'."\n", + 'TotalDirCount' => [ + 'description' => 'The total number of directories.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDirCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of total dirs'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], - 'Analysis' => [ - 'description' => 'The analysis results.'."\n", - 'type' => 'object', - 'properties' => [ - 'HiveFrequencyScore' => [ - 'description' => 'The score for the access frequency of the Hive database.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '85', - ], - 'HiveDistributionScore' => [ - 'description' => 'The score for the file sizes of the Hive database.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '85', - ], - 'HiveFormatScore' => [ - 'description' => 'The score for the data formats of the Hive database.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '85', - ], - 'HiveScore' => [ - 'description' => 'The overall score of the Hive database.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '85', - ], - ], - ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '', 'description' => 'A pagination token.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries that are returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '', 'description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\",\\n \\"FormatSize\\": 1000,\\n \\"FormatSizeUnit\\": \\"MB\\",\\n \\"FormatRatio\\": 0.5,\\n \\"FormatDayGrowthSize\\": 1000,\\n \\"FormatSizeDayGrowthRatio\\": 0.5\\n }\\n ],\\n \\"Metrics\\": {\\n \\"TableCount\\": {\\n \\"Name\\": \\"tableCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tables\\\\n\\"\\n },\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"partitionNum\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of partitions\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of large files\\\\n\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of small files\\\\n\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of hot files\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of warm files\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of cold files\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of freeze files\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Hot data ratio\\\\n\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of warm data\\\\n\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Cold data ratio\\\\n\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of freeze data\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 85,\\n \\"HiveDistributionScore\\": 85,\\n \\"HiveFormatScore\\": 85,\\n \\"HiveScore\\": 85\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'GetDoctorHiveDatabase', - 'summary' => 'Obtains the analysis results of a Hive database.', - ], - 'GetDoctorHiveCluster' => [ - 'description' => 'list Doctor Hive Cluster', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Name\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 34,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 40440503,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\"\\n },\\n \\"TotalDirCount\\": {\\n \\"Name\\": \\"totalDirCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of total dirs\\\\n\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorHDFSUGI', + 'summary' => 'Obtains the analysis results of Hadoop Distributed File System (HDFS) storage resources for multiple owners or groups at a time on E-MapReduce (EMR) Doctor.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:08.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHDFSUGI', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListDoctorHiveDatabases' => [ + 'description' => 'list Doctor Hive Databases', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16715,1430 +13675,721 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'list', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The maximum number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['description' => 'The query date.'."\n", 'type' => 'string', 'required' => true, 'example' => '2023-01-01', 'title' => ''], + ], + [ + 'name' => 'DatabaseNames', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', + 'description' => 'The database names.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The database name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'db1', 'title' => ''], + 'required' => false, + 'example' => 'null', + 'title' => '', ], ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The order in which you want to sort the query results. Valid values:'."\n" + ."\n" + .'* ASC: in ascending order'."\n" + .'* DESC: in descending order'."\n", 'type' => 'string', 'required' => false, 'example' => 'ASC', 'title' => ''], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The basis on which you want to sort the query results. Valid values:'."\n" + ."\n" + .'* tableCount: the number of tables'."\n", 'type' => 'string', 'required' => false, 'example' => 'tableCount', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', + 'title' => '', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'Data' => [ - 'description' => 'The analysis results of the Hive cluster.'."\n", - 'type' => 'object', - 'properties' => [ - 'Formats' => [ - 'description' => 'The information from the perspective of storage formats.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'FormatName' => [ - 'description' => 'The name of the storage format.'."\n", - 'type' => 'string', - 'example' => 'TextInputFormat'."\n", - ], - 'FormatSize' => [ - 'description' => 'The amount of data in the format.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'FormatSizeUnit' => [ - 'description' => 'The unit of the amount of data in the format.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'FormatRatio' => [ - 'description' => 'The proportion of the data in the format.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - ], - ], - ], - 'Metrics' => [ - 'description' => 'The metric information.'."\n", - 'type' => 'object', - 'properties' => [ - 'TableCount' => [ - 'description' => 'The number of tables.'."\n", + 'description' => 'The analysis results of Hive databases.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DatabaseName' => ['description' => 'The database name.'."\n", 'type' => 'string', 'example' => 'db1', 'title' => ''], + 'Formats' => [ + 'description' => 'The information from the perspective of storage formats.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tableCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of tables', - ], + 'FormatName' => ['description' => 'The name of the storage format.'."\n", 'type' => 'string', 'example' => 'TextInputFormat', 'title' => ''], + 'FormatSize' => ['description' => 'The amount of storage format-specific data.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'FormatSizeUnit' => ['description' => 'The unit of the amount of storage format-specific data.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'FormatRatio' => ['description' => 'The proportion of data in a specific storage format.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'FormatDayGrowthSize' => ['description' => 'The daily increment of storage format-specific data.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'FormatSizeDayGrowthRatio' => ['description' => 'The day-to-day growth rate of storage format-specific data.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'PartitionNum' => [ - 'description' => 'The number of partitions.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'partitionNum', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of partitions', + 'title' => '', + 'example' => '', + ], + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'TableCount' => [ + 'description' => 'The number of tables.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'TableCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of tables'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'DatabaseCount' => [ - 'description' => 'The number of databases.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'databaseCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of databases', + 'PartitionNum' => [ + 'description' => 'The number of partitions.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'ppartitionNum', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of partitions'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'LargeFileCount' => [ - 'description' => 'The number of large files. Large files are those with a size greater than 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of large files'."\n", + 'LargeFileCount' => [ + 'description' => 'The number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of large files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'MediumFileCount' => [ - 'description' => 'The number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of medium files'."\n", + 'MediumFileCount' => [ + 'description' => 'The number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of medium files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'SmallFileCount' => [ - 'description' => 'The number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileCount ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of small files'."\n", + 'SmallFileCount' => [ + 'description' => 'The number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of small files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'TinyFileCount' => [ - 'description' => 'The number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of tiny files'."\n", + 'TinyFileCount' => [ + 'description' => 'The number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of tiny files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'EmptyFileCount' => [ - 'description' => 'The number of empty files. Empty files are those with a size of 0 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of empty files'."\n", + 'EmptyFileCount' => [ + 'description' => 'The number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of empty files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'TotalFileCount' => [ - 'description' => 'The total number of files.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of total files'."\n", + 'TotalFileCount' => [ + 'description' => 'The total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of total files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'LargeFileRatio' => [ - 'description' => 'The proportion of large files. Large files are those with a size greater than 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of large files'."\n", + 'LargeFileRatio' => [ + 'description' => 'The proportion of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of large files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'MediumFileRatio' => [ - 'description' => 'The proportion of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of medium files'."\n", + 'MediumFileRatio' => [ + 'description' => 'The proportion of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of medium files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'SmallFileRatio' => [ - 'description' => 'The proportion of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of small files'."\n", + 'SmallFileRatio' => [ + 'description' => 'The proportion of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of small files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'TinyFileRatio' => [ - 'description' => 'The proportion of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of tiny files'."\n", + 'TinyFileRatio' => [ + 'description' => 'The proportion of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of tiny files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'EmptyFileRatio' => [ - 'description' => 'The proportion of empty files. Empty files are those with a size of 0 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of empty files'."\n", + 'EmptyFileRatio' => [ + 'description' => 'The proportion of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of empty files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'HotDataSize' => [ - 'description' => 'The amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of hot files'."\n", + 'HotDataSize' => [ + 'description' => 'The amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of hot files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'WarmDataSize' => [ - 'description' => 'The amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of warm files'."\n", + 'WarmDataSize' => [ + 'description' => 'The amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of warm files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'ColdDataSize' => [ - 'description' => 'The amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of cold files'."\n", + 'ColdDataSize' => [ + 'description' => 'The amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of cold files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'FreezeDataSize' => [ - 'description' => 'The amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of freeze files'."\n", + 'FreezeDataSize' => [ + 'description' => 'The amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataSize ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of freeze files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'TotalDataSize' => [ - 'description' => 'The total amount of data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total data size in megabytes (MB)'."\n", + 'TotalDataSize' => [ + 'description' => 'The total amount of data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'HotDataRatio' => [ - 'description' => 'The proportion of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Hot data ratio'."\n", + 'HotDataRatio' => [ + 'description' => 'The proportion of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Hot data ratio'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'WarmDataRatio' => [ - 'description' => 'The proportion of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of warm data'."\n", + 'WarmDataRatio' => [ + 'description' => 'The proportion of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of warm data'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'ColdDataRatio' => [ - 'description' => 'The proportion of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Cold data ratio'."\n", + 'ColdDataRatio' => [ + 'description' => 'The proportion of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Cold data ratio'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'FreezeDataRatio' => [ - 'description' => 'The proportion of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.12', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of freeze data'."\n", + 'FreezeDataRatio' => [ + 'description' => 'The proportion of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of freeze data'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'TotalFileDayGrowthCount' => [ - 'description' => 'The daily increment of the total number of files.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27800', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of total files'."\n", + 'TotalFileDayGrowthCount' => [ + 'description' => 'The daily increment of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of total files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'LargeFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileDayGrowthCount ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of large files'."\n", + 'LargeFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of large files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'MediumFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileDayGrowthCount'."\n", - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '178', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of medium files'."\n", + 'MediumFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of medium files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'SmallFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of small files'."\n", + 'SmallFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileDayGrowthCount ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of small files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'TinyFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'day growth count of tiny files'."\n", - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of tiny files'."\n", + 'TinyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of tiny files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'EmptyFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of empty files'."\n", + 'EmptyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of empty files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'HotDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of hot data'."\n", + 'HotDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataDayGrowthSize ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of hot data'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'WarmDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-100', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of warm data'."\n", + 'WarmDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataDayGrowthSize ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of warm data'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'ColdDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of cold data'."\n", + 'ColdDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of cold data'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'FreezeDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of freeze data'."\n", + 'FreezeDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataDayGrowthSize ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of freeze data'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'TotalDataDayGrowthSize' => [ - 'description' => 'The daily incremental of the amount of total data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of total data'."\n", + 'TotalDataDayGrowthSize' => [ + 'description' => 'The daily increment of the total data volume.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of total data'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'TotalFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the total number of files.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of total files'."\n", + 'TotalFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of total files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'LargeFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of large files'."\n", + 'LargeFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of large files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'MediumFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of medium files'."\n", + 'MediumFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of medium files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'SmallFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of small files'."\n", + 'SmallFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of small files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'TinyFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of tiny files'."\n", + 'TinyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of tiny files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'EmptyFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of empty files'."\n", + 'EmptyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of empty files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'HotDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of hot data size'."\n", + 'HotDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of hot data size'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'WarmDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataSizeDayGrowthRatio ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of warm data size'."\n", + 'WarmDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'WarmDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of warm data size'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'ColdDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of cold data size'."\n", + 'ColdDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of cold data size'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'FreezeDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataSizeDayGrowthRatio ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of freeze data size'."\n", + 'FreezeDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of freeze data size'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - ], - 'TotalDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the total data volume.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of total data size'."\n", + 'TotalDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total data volume.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataSizeDayGrowthRatio ', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of total data size'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - ], - 'Analysis' => [ - 'description' => 'The analysis results.'."\n", - 'type' => 'object', - 'properties' => [ - 'HiveFrequencyScore' => [ - 'description' => 'The score for the access frequency of the Hive cluster.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'HiveDistributionScore' => [ - 'description' => 'The score for the distribution of files of different sizes stored in the Hive cluster.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'HiveFormatScore' => [ - 'description' => 'The score for the distribution of files stored in different formats in the Hive cluster.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'HiveScore' => [ - 'description' => 'The overall score of the Hive cluster.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', + 'Analysis' => [ + 'description' => 'The analysis results.'."\n", + 'type' => 'object', + 'properties' => [ + 'HiveFrequencyScore' => ['description' => 'The score for the access frequency of the Hive database.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '85', 'title' => ''], + 'HiveDistributionScore' => ['description' => 'The score for the distribution of files of different sizes stored in the Hive database.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '85', 'title' => ''], + 'HiveFormatScore' => ['description' => 'The score for the distribution of files stored in different formats in the Hive database.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '85', 'title' => ''], + 'HiveScore' => ['description' => 'The overall score of the Hive database.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '85', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '', 'description' => 'A pagination token.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries that are returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '', 'description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"DatabaseName\\": \\"db1\\",\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\",\\n \\"FormatSize\\": 1000,\\n \\"FormatSizeUnit\\": \\"MB\\",\\n \\"FormatRatio\\": 0.5,\\n \\"FormatDayGrowthSize\\": 1000,\\n \\"FormatSizeDayGrowthRatio\\": 0.5\\n }\\n ],\\n \\"Metrics\\": {\\n \\"TableCount\\": {\\n \\"Name\\": \\"TableCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tables\\\\n\\"\\n },\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"ppartitionNum\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of partitions\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of large files\\\\n\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of small files\\\\n\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of hot files\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of warm files\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of cold files\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of freeze files\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Hot data ratio\\\\n\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of warm data\\\\n\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Cold data ratio\\\\n\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of freeze data\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"WarmDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 85,\\n \\"HiveDistributionScore\\": 85,\\n \\"HiveFormatScore\\": 85,\\n \\"HiveScore\\": 85\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorHiveDatabases', + 'summary' => 'Obtains the analysis results of multiple Hive databases at a time.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:08.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHiveDatabases', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\\\n\\",\\n \\"FormatSize\\": 100,\\n \\"FormatSizeUnit\\": \\"MB\\",\\n \\"FormatRatio\\": 0.5\\n }\\n ],\\n \\"Metrics\\": {\\n \\"TableCount\\": {\\n \\"Name\\": \\"tableCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tables\\"\\n },\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"partitionNum\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of partitions\\"\\n },\\n \\"DatabaseCount\\": {\\n \\"Name\\": \\"databaseCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of databases\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of large files\\\\n\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of small files\\\\n\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of hot files\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of warm files\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of cold files\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of freeze files\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Hot data ratio\\\\n\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of warm data\\\\n\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Cold data ratio\\\\n\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.12,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of freeze data\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 27800,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\\\n\\",\\n \\"Value\\": 178,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"day growth count of tiny files\\\\n\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": -100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 80,\\n \\"HiveDistributionScore\\": 80,\\n \\"HiveFormatScore\\": 80,\\n \\"HiveScore\\": 80\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'GetDoctorHiveCluster', - 'summary' => 'Obtains the analysis results of a Hive cluster.', ], 'ListDoctorHiveTables' => [ 'description' => 'list Doctor Hive Tables', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18147,70 +14398,38 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['title' => '', 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The maximum number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['title' => '', 'description' => 'The maximum number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], + 'schema' => ['description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", 'type' => 'string', 'required' => true, 'example' => '2023-01-01', 'title' => ''], ], [ 'name' => 'TableNames', @@ -18220,90 +14439,76 @@ 'schema' => [ 'description' => 'The table names, which are used to filter the query results.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The table name. The table name must follow the naming rule in Hive. A name in the {database name.table identifier} format uniquely identifies a table.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'dw.dwd_creta_service_order_long_renew_long_da'."\n", - ], + 'items' => ['description' => 'The table name. The table name must follow the naming rule in Hive. A name in the {database name.table identifier} format uniquely identifies a table.'."\n", 'type' => 'string', 'required' => false, 'example' => 'dw.dwd_creta_service_order_long_renew_long_da'."\n", 'title' => ''], 'required' => false, 'example' => 'null', + 'title' => '', ], ], [ 'name' => 'OrderType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The order in which you want to sort the query results. Valid value:'."\n" - ."\n" - .'* ASC: in ascending order'."\n" - .'* DESC: in descending order'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], + 'schema' => ['description' => 'The order in which you want to sort the query results. Valid value:'."\n" + ."\n" + .'* ASC: in ascending order'."\n" + .'* DESC: in descending order'."\n", 'type' => 'string', 'required' => false, 'example' => 'ASC', 'title' => ''], ], [ 'name' => 'OrderBy', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The basis on which you want to sort the query results. Valid values:'."\n" - ."\n" - .'* partitionNum: the number of partitions.'."\n" - .'* totalFileCount: the total number of files.'."\n" - .'* largeFileCount: the number of large files. Large files are those with a size greater than 1 GB.'."\n" - .'* mediumFileCount: the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n" - .'* smallFileCount: the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n" - .'* tinyFileCount: the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n" - .'* emptyFileCount: the number of empty files. Empty files are those with a size of 0 MB.'."\n" - .'* largeFileRatio: the proportion of large files. Large files are those with a size greater than 1 GB.'."\n" - .'* mediumFileRatio: the proportion of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n" - .'* smallFileRatio: the proportion of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n" - .'* tinyFileRatio: the proportion of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n" - .'* emptyFileRatio: the proportion of empty files. Empty files are those with a size of 0 MB.'."\n" - .'* hotDataSize: the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n" - .'* WarmDataSize: the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n" - .'* coldDataSize: the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n" - .'* freezeDataSize: the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n" - .'* totalDataSize: the total amount of data.'."\n" - .'* hotDataRatio: the proportion of hot data. Hot data refers to data that is accessed in previous seven days.'."\n" - .'* WarmDataRatio: the proportion of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n" - .'* coldDataRatio: the proportion of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n" - .'* freezeDataRatio: the proportion of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n" - .'* totalFileDayGrowthCount: the daily increment of the total number of files.'."\n" - .'* largeFileDayGrowthCount: the daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n" - .'* mediumFileDayGrowthCount: the daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n" - .'* smallFileDayGrowthCount: the daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n" - .'* tinyFileDayGrowthCount: the daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n" - .'* emptyFileDayGrowthCount: the daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n" - .'* hotDataDayGrowthSize: the daily increment of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n" - .'* warmDataDayGrowthSize: the daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n" - .'* coldDataDayGrowthSize: the daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n" - .'* freezeDataDayGrowthSize: the daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n" - .'* totalDataDayGrowthSize: the daily increment of the amount of total data.'."\n" - .'* totalFileCountDayGrowthRatio: the day-to-day growth rate of the total number of files.'."\n" - .'* largeFileCountDayGrowthRatio: the day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n" - .'* mediumFileCountDayGrowthRatio: the day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n" - .'* smallFileCountDayGrowthRatio: the day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n" - .'* tinyFileCountDayGrowthRatio: the day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n" - .'* emptyFileCountDayGrowthRatio: the day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n" - .'* hotDataSizeDayGrowthRatio: the day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n" - .'* warmDataSizeDayGrowthRatio: the day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n" - .'* coldDataSizeDayGrowthRatio: the day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n" - .'* freezeDataSizeDayGrowthRatio: the day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n" - .'* totalDataSizeDayGrowthRatio: the day-to-day growth rate of the total amount of data.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'totalFileCount', - ], + 'schema' => ['description' => 'The basis on which you want to sort the query results. Valid values:'."\n" + ."\n" + .'* partitionNum: the number of partitions.'."\n" + .'* totalFileCount: the total number of files.'."\n" + .'* largeFileCount: the number of large files. Large files are those with a size greater than 1 GB.'."\n" + .'* mediumFileCount: the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n" + .'* smallFileCount: the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n" + .'* tinyFileCount: the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n" + .'* emptyFileCount: the number of empty files. Empty files are those with a size of 0 MB.'."\n" + .'* largeFileRatio: the proportion of large files. Large files are those with a size greater than 1 GB.'."\n" + .'* mediumFileRatio: the proportion of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n" + .'* smallFileRatio: the proportion of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n" + .'* tinyFileRatio: the proportion of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n" + .'* emptyFileRatio: the proportion of empty files. Empty files are those with a size of 0 MB.'."\n" + .'* hotDataSize: the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n" + .'* WarmDataSize: the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n" + .'* coldDataSize: the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n" + .'* freezeDataSize: the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n" + .'* totalDataSize: the total amount of data.'."\n" + .'* hotDataRatio: the proportion of hot data. Hot data refers to data that is accessed in previous seven days.'."\n" + .'* WarmDataRatio: the proportion of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n" + .'* coldDataRatio: the proportion of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n" + .'* freezeDataRatio: the proportion of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n" + .'* totalFileDayGrowthCount: the daily increment of the total number of files.'."\n" + .'* largeFileDayGrowthCount: the daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n" + .'* mediumFileDayGrowthCount: the daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n" + .'* smallFileDayGrowthCount: the daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n" + .'* tinyFileDayGrowthCount: the daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n" + .'* emptyFileDayGrowthCount: the daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n" + .'* hotDataDayGrowthSize: the daily increment of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n" + .'* warmDataDayGrowthSize: the daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n" + .'* coldDataDayGrowthSize: the daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n" + .'* freezeDataDayGrowthSize: the daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n" + .'* totalDataDayGrowthSize: the daily increment of the amount of total data.'."\n" + .'* totalFileCountDayGrowthRatio: the day-to-day growth rate of the total number of files.'."\n" + .'* largeFileCountDayGrowthRatio: the day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n" + .'* mediumFileCountDayGrowthRatio: the day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n" + .'* smallFileCountDayGrowthRatio: the day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n" + .'* tinyFileCountDayGrowthRatio: the day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n" + .'* emptyFileCountDayGrowthRatio: the day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n" + .'* hotDataSizeDayGrowthRatio: the day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n" + .'* warmDataSizeDayGrowthRatio: the day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n" + .'* coldDataSizeDayGrowthRatio: the day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n" + .'* freezeDataSizeDayGrowthRatio: the day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n" + .'* totalDataSizeDayGrowthRatio: the day-to-day growth rate of the total amount of data.'."\n", 'type' => 'string', 'required' => false, 'example' => 'totalFileCount', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', + 'title' => '', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ @@ -18314,16 +14519,8 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'TableName' => [ - 'description' => 'The table name. The table name must follow the naming rule in Hive. A name in the {Database name.Table name} format uniquely identifies a table.'."\n", - 'type' => 'string', - 'example' => 'dw.dwd_creta_service_order_long_renew_long_da'."\n", - ], - 'Owner' => [ - 'description' => 'The owner.'."\n", - 'type' => 'string', - 'example' => 'DW', - ], + 'TableName' => ['description' => 'The table name. The table name must follow the naming rule in Hive. A name in the {Database name.Table name} format uniquely identifies a table.'."\n", 'type' => 'string', 'example' => 'dw.dwd_creta_service_order_long_renew_long_da'."\n", 'title' => ''], + 'Owner' => ['description' => 'The owner.'."\n", 'type' => 'string', 'example' => 'DW', 'title' => ''], 'Formats' => [ 'description' => 'The table format information.'."\n", 'type' => 'array', @@ -18331,42 +14528,18 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'FormatName' => [ - 'description' => 'The name of the storage format.'."\n", - 'type' => 'string', - 'example' => 'TextInputFormat', - ], - 'FormatSize' => [ - 'description' => 'The amount of data in the format.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '506930200', - ], - 'FormatSizeUnit' => [ - 'description' => 'The unit of the amount of data in the format.'."\n", - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'FormatRatio' => [ - 'description' => 'The proportion of the data in the format.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.23', - ], - 'FormatDayGrowthSize' => [ - 'description' => 'The daily increment of data in the format.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1232124', - ], - 'FormatSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of data in the format.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.04'."\n", - ], + 'FormatName' => ['description' => 'The name of the storage format.'."\n", 'type' => 'string', 'example' => 'TextInputFormat', 'title' => ''], + 'FormatSize' => ['description' => 'The amount of data in the format.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '506930200', 'title' => ''], + 'FormatSizeUnit' => ['description' => 'The unit of the amount of data in the format.'."\n", 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'FormatRatio' => ['description' => 'The proportion of the data in the format.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.23', 'title' => ''], + 'FormatDayGrowthSize' => ['description' => 'The daily increment of data in the format.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1232124', 'title' => ''], + 'FormatSizeDayGrowthRatio' => ['description' => 'The day-to-day growth rate of data in the format.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.04'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], 'Metrics' => [ 'description' => 'The metric information.'."\n", @@ -18376,1305 +14549,601 @@ 'description' => 'The number of partitions.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'partitionNum', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '331', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'number of partitions'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'partitionNum', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '331', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '“”', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'number of partitions'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'LargeFileCount' => [ 'description' => 'The number of large files. Large files are those with a size greater than 1 GB.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '132', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of large files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '132', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '“”'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of large files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'MediumFileCount' => [ 'description' => 'The number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of medium files', - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '“”'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of medium files', 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'SmallFileCount' => [ 'description' => 'The number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '18'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '"“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of small files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '18'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '"“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of small files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'TinyFileCount' => [ 'description' => 'The number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '451'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of tiny files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '451'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of tiny files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'EmptyFileCount' => [ 'description' => 'The number of empty files. Empty files are those with a size of 0 MB.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3123', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of empty files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3123', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of empty files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'TotalFileCount' => [ 'description' => 'The total number of files.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of total files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Number of total files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'LargeFileRatio' => [ 'description' => 'The proportion of large files. Large files are those with a size greater than 1 GB.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.02'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of large files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.02'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of large files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'MediumFileRatio' => [ 'description' => 'The proportion of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.8'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of medium files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.8'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of medium files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'SmallFileRatio' => [ 'description' => 'The proportion of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.04'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of small files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.04'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of small files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'TinyFileRatio' => [ 'description' => 'The proportion of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.96'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of tiny files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.96'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of tiny files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'EmptyFileRatio' => [ 'description' => 'The proportion of empty files. Empty files are those with a size of 0 MB.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of empty files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of empty files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'HotDataSize' => [ 'description' => 'The amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '203431', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the hot data size'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '203431', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Size of the hot data size'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'WarmDataSize' => [ 'description' => 'The amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '14981'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the warm data size'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '14981'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Size of the warm data size'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'ColdDataSize' => [ 'description' => 'The amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '217715', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the cold data size'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '217715', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Size of the cold data size'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'FreezeDataSize' => [ 'description' => 'The amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '33229309'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the freeze data size', - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '33229309'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Size of the freeze data size', 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'TotalDataSize' => [ 'description' => 'The total amount of data.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '33800296', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total data size in megabytes (MB)'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '33800296', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'HotDataRatio' => [ 'description' => 'The proportion of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Hot data ratio'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Hot data ratio'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'WarmDataRatio' => [ 'description' => 'The proportion of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.1'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of warm data'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.1'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of warm data'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'ColdDataRatio' => [ 'description' => 'The proportion of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => ' '."\n" - .'""'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Cold data ratio'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => ' '."\n" + .'""'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Cold data ratio'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'FreezeDataRatio' => [ 'description' => 'The proportion of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.98'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of freeze data'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.98'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Ratio of freeze data'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'TotalFileDayGrowthCount' => [ 'description' => 'The daily increment of the total number of files.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of total files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of total files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'LargeFileDayGrowthCount' => [ 'description' => 'The daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '40'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of large files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '40'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of large files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'MediumFileDayGrowthCount' => [ 'description' => 'The daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of medium files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of medium files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'SmallFileDayGrowthCount' => [ 'description' => 'The daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '18'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of small files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '18'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of small files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'TinyFileDayGrowthCount' => [ 'description' => 'The daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '482'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of tiny files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '482'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of tiny files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'EmptyFileDayGrowthCount' => [ 'description' => 'The daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-20'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of empty files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileDayGrowthCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '-20'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth count of empty files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'HotDataDayGrowthSize' => [ 'description' => 'The daily increment of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '203431', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of hot data'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '203431', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of hot data'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'WarmDataDayGrowthSize' => [ 'description' => 'The daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '149841', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of warm data'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '149841', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of warm data'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'ColdDataDayGrowthSize' => [ 'description' => 'The daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '217715', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of cold data'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '217715', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of cold data'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'FreezeDataDayGrowthSize' => [ 'description' => 'The daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '33229309', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of freeze data'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '33229309', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of freeze data'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'TotalDataDayGrowthSize' => [ 'description' => 'The daily increment of the total amount of data.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '33800296', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of total data'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataDayGrowthSize', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '33800296', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth size of total data'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'TotalFileCountDayGrowthRatio' => [ 'description' => 'The day-to-day growth rate of the total number of files.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of total files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of total files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'LargeFileCountDayGrowthRatio' => [ 'description' => 'The day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of large files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of large files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'MediumFileCountDayGrowthRatio' => [ 'description' => 'The day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of medium files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of medium files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'SmallFileCountDayGrowthRatio' => [ 'description' => 'The day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of small files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of small files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'TinyFileCountDayGrowthRatio' => [ 'description' => 'The day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.04'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of tiny files', - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.04'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of tiny files', 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'EmptyFileCountDayGrowthRatio' => [ 'description' => 'The day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of empty files'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of empty files'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'HotDataSizeDayGrowthRatio' => [ 'description' => 'The day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of hot data size'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of hot data size'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'WarmDataSizeDayGrowthRatio' => [ 'description' => 'The day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of warm data size'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'warmDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of warm data size'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'ColdDataSizeDayGrowthRatio' => [ 'description' => 'The day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of cold data size'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of cold data size'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'FreezeDataSizeDayGrowthRatio' => [ 'description' => 'The day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of freeze data size'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of freeze data size'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], 'TotalDataSizeDayGrowthRatio' => [ 'description' => 'The day-to-day growth rate of the total amount of data.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of total data size'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'totalDataSizeDayGrowthRatio', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n", 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '”“'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Day growth ratio of total data size'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], 'Analysis' => [ 'description' => 'The analysis results.'."\n", 'type' => 'object', 'properties' => [ - 'HiveFrequencyScore' => [ - 'description' => 'The score for the access frequency of the Hive table.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '70'."\n", - ], - 'HiveDistributionScore' => [ - 'description' => 'The score for the file sizes of the Hive table.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80'."\n", - ], - 'HiveFormatScore' => [ - 'description' => 'The score for the data formats of the Hive table.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60'."\n", - ], - 'HiveScore' => [ - 'description' => 'The overall score of the Hive table.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80'."\n", - ], + 'HiveFrequencyScore' => ['description' => 'The score for the access frequency of the Hive table.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '70'."\n", 'title' => ''], + 'HiveDistributionScore' => ['description' => 'The score for the file sizes of the Hive table.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '80'."\n", 'title' => ''], + 'HiveFormatScore' => ['description' => 'The score for the data formats of the Hive table.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '60'."\n", 'title' => ''], + 'HiveScore' => ['description' => 'The overall score of the Hive table.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '80'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'A pagination token.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The maximum number of entries that are returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '', 'description' => 'A pagination token.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries that are returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '', 'description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"TableName\\": \\"dw.dwd_creta_service_order_long_renew_long_da\\\\n\\",\\n \\"Owner\\": \\"DW\\",\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\",\\n \\"FormatSize\\": 506930200,\\n \\"FormatSizeUnit\\": \\"MB\\\\n\\",\\n \\"FormatRatio\\": 0.23,\\n \\"FormatDayGrowthSize\\": 1232124,\\n \\"FormatSizeDayGrowthRatio\\": 0.04\\n }\\n ],\\n \\"Metrics\\": {\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"partitionNum\\",\\n \\"Value\\": 331,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"number of partitions\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 132,\\n \\"Unit\\": \\"“”\\\\n\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 5,\\n \\"Unit\\": \\"“”\\\\n\\",\\n \\"Description\\": \\"Number of medium files\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 18,\\n \\"Unit\\": \\"\\\\\\"“\\\\n\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 451,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 3123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Ratio of large files\\\\n\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.04,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Ratio of small files\\\\n\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.96,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 203431,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the hot data size\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 14981,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the warm data size\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 217715,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the cold data size\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 33229309,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 33800296,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Hot data ratio\\\\n\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Ratio of warm data\\\\n\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\t\\\\n\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Cold data ratio\\\\n\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.98,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Ratio of freeze data\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 40,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 20,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 18,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": 482,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": -20,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 203431,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": 149841,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": 217715,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": 33229309,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 33800296,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.04,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 70,\\n \\"HiveDistributionScore\\": 80,\\n \\"HiveFormatScore\\": 60,\\n \\"HiveScore\\": 80\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', 'title' => 'ListDoctorHiveTables', 'summary' => 'Obtains the analysis results of multiple Hive tables at a time on E-MapReduce (EMR) Doctor.', - ], - 'GetDoctorHiveTable' => [ - 'description' => 'get Doctor Hive Table', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:08.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHiveTables', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListDoctorJobs' => [ + 'description' => 'list realtime jobs by yarn', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19682,1736 +15151,276 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'list', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'DateTime', + 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], + 'schema' => ['title' => '', 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ - 'name' => 'TableName', + 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The table name. The table name must follow the rule in Hive. A name in the {database name.table identifier} format uniquely identifies a table.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'dw.dwd_creta_service_order_long_renew_long_da', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'Data' => [ - 'description' => 'The analysis results of the Hive table.'."\n", - 'type' => 'object', - 'properties' => [ - 'Formats' => [ - 'description' => 'The information from the perspective of formats.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'FormatName' => [ - 'description' => 'The name of the storage format.'."\n", - 'type' => 'string', - 'example' => 'TextInputFormat', - ], - 'FormatSize' => [ - 'description' => 'The size of storage format-specific data.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '506930200', - ], - 'FormatSizeUnit' => [ - 'description' => 'The unit of the data size.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'FormatRatio' => [ - 'description' => 'The ratio of the data in a specific storage format.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.23', - ], - 'FormatDayGrowthSize' => [ - 'description' => 'The daily amount increment of the data in a specific storage format.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1232124', - ], - 'FormatSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of the data in a specific storage format.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.04', - ], - ], - ], - ], - 'Owner' => [ - 'description' => 'The owner.'."\n", - 'type' => 'string', - 'example' => 'DW', - ], - 'Metrics' => [ - 'description' => 'The metric information.'."\n", - 'type' => 'object', - 'properties' => [ - 'PartitionNum' => [ - 'description' => 'The number of partitions.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'partitionNum', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '441', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'number of partitions', - ], - ], - ], - 'LargeFileCount' => [ - 'description' => 'The number of large files. Large files are those with a size greater than 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of large files', - ], - ], - ], - 'MediumFileCount' => [ - 'description' => 'The number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of medium files', - ], - ], - ], - 'SmallFileCount' => [ - 'description' => 'The number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '18', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '"“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of small files', - ], - ], - ], - 'TinyFileCount' => [ - 'description' => 'The number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '451', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of tiny files', - ], - ], - ], - 'EmptyFileCount' => [ - 'description' => 'The number of empty files. Empty files are those with a size of 0 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3123', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of empty files', - ], - ], - ], - 'TotalFileCount' => [ - 'description' => 'The total number of files.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of total files', - ], - ], - ], - 'LargeFileRatio' => [ - 'description' => 'The proportion of large files. Large files are those with a size greater than 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.02', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of large files', - ], - ], - ], - 'MediumFileRatio' => [ - 'description' => 'The proportion of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.80', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of medium files', - ], - ], - ], - 'SmallFileRatio' => [ - 'description' => 'The proportion of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.04', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of small files', - ], - ], - ], - 'TinyFileRatio' => [ - 'description' => 'The proportion of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.96', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of tiny files', - ], - ], - ], - 'EmptyFileRatio' => [ - 'description' => 'The proportion of empty files. Empty files are those with a size of 0 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of empty files', - ], - ], - ], - 'HotDataSize' => [ - 'description' => 'The amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '203431', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the hot data size', - ], - ], - ], - 'WarmDataSize' => [ - 'description' => 'The amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '14981', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the warm data size', - ], - ], - ], - 'ColdDataSize' => [ - 'description' => 'The amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '217715', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the cold data size', - ], - ], - ], - 'FreezeDataSize' => [ - 'description' => 'The amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '33229309', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the freeze data size', - ], - ], - ], - 'TotalDataSize' => [ - 'description' => 'The total amount of data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '33800296', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total data size in megabytes (MB)', - ], - ], - ], - 'HotDataRatio' => [ - 'description' => 'The proportion of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Hot data ratio', - ], - ], - ], - 'WarmDataRatio' => [ - 'description' => 'The proportion of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.1', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of warm data', - ], - ], - ], - 'ColdDataRatio' => [ - 'description' => 'The proportion of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Cold data ratio', - ], - ], - ], - 'FreezeDataRatio' => [ - 'description' => 'The proportion of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.98', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of freeze data', - ], - ], - ], - 'TotalFileDayGrowthCount' => [ - 'description' => 'The daily increment of the total number of files.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of total files', - ], - ], - ], - 'LargeFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '40', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of large files', - ], - ], - ], - 'MediumFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of medium files', - ], - ], - ], - 'SmallFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '18', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of small files', - ], - ], - ], - 'TinyFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '482', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of tiny files', - ], - ], - ], - 'EmptyFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-20', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of empty files', - ], - ], - ], - 'HotDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '203431', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of hot data', - ], - ], - ], - 'WarmDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '149841', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of warm data', - ], - ], - ], - 'ColdDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '217715', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of cold data', - ], - ], - ], - 'FreezeDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '33229309', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of freeze data', - ], - ], - ], - 'TotalDataDayGrowthSize' => [ - 'description' => 'The daily incremental of the total data volume.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '33800296', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of total data', - ], - ], - ], - 'TotalFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the total number of files.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of total files', - ], - ], - ], - 'LargeFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of large files', - ], - ], - ], - 'MediumFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of medium files', - ], - ], - ], - 'SmallFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of small files', - ], - ], - ], - 'TinyFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.04', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of tiny files', - ], - ], - ], - 'EmptyFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of empty files', - ], - ], - ], - 'HotDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of hot data size', - ], - ], - ], - 'WarmDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of warm data size', - ], - ], - ], - 'ColdDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of cold data size', - ], - ], - ], - 'FreezeDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of freeze data size', - ], - ], - ], - 'TotalDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the total data volume.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of total data size', - ], - ], - ], - ], - ], - 'Analysis' => [ - 'description' => 'The analysis results.'."\n", - 'type' => 'object', - 'properties' => [ - 'HiveFrequencyScore' => [ - 'description' => 'The score for the access frequency of the Hive table.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '70', - ], - 'HiveDistributionScore' => [ - 'description' => 'The score for the distribution of files of different sizes stored in the Hive table.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'HiveFormatScore' => [ - 'description' => 'The score for the distribution of files stored in different formats in the Hive table.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'HiveScore' => [ - 'description' => 'The overall score of the Hive table.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - ], - ], + 'schema' => ['title' => '', 'description' => 'The maximum number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], - ], - 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], - ], - 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\",\\n \\"FormatSize\\": 506930200,\\n \\"FormatSizeUnit\\": \\"MB\\",\\n \\"FormatRatio\\": 0.23,\\n \\"FormatDayGrowthSize\\": 1232124,\\n \\"FormatSizeDayGrowthRatio\\": 0.04\\n }\\n ],\\n \\"Owner\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"partitionNum\\",\\n \\"Value\\": 441,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"number of partitions\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of large files\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 5,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of medium files\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 18,\\n \\"Unit\\": \\"\\\\\\"“\\",\\n \\"Description\\": \\"Number of small files\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 451,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of tiny files\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 3123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of empty files\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of total files\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of large files\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of medium files\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.04,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of small files\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.96,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of tiny files\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 203431,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 14981,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 217715,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 33229309,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 33800296,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Hot data ratio\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of warm data\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Cold data ratio\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.98,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of freeze data\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 40,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of large files\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 20,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of medium files\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 18,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of small files\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": 482,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of tiny files\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": -20,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of empty files\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 203431,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of hot data\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": 149841,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": 217715,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": 33229309,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of freeze data\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 33800296,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total files\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of large files\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of small files\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.04,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 70,\\n \\"HiveDistributionScore\\": 80,\\n \\"HiveFormatScore\\": 60,\\n \\"HiveScore\\": 80\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'GetDoctorHiveTable', - 'summary' => 'Obtains the analysis results of a specific Hive table in a cluster on E-MapReduce (EMR) Doctor.', - ], - 'ListDoctorHDFSUGI' => [ - 'description' => 'list Doctor HDFS UGIs', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], - ], - 'parameters' => [ - [ - 'name' => 'RegionId', + 'name' => 'StartRange', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + 'title' => '', + 'description' => 'The range of start time. You can filter jobs whose start time falls within the specified time range.'."\n", + 'type' => 'object', + 'properties' => [ + 'StartTime' => ['description' => 'The beginning of the time range during which jobs were submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1683340662016', 'title' => ''], + 'EndTime' => ['description' => 'The end of the time range during which jobs were submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1683340662020', 'title' => ''], + ], + 'required' => false, + 'example' => '', ], ], [ - 'name' => 'ClusterId', + 'name' => 'EndRange', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', + 'title' => '', + 'description' => 'The range of end time. You can filter jobs whose end time falls within the specified time range.'."\n", + 'type' => 'object', + 'properties' => [ + 'StartTime' => ['description' => 'The beginning of the time range during which jobs ended. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1679135111960', 'title' => ''], + 'EndTime' => ['description' => 'The end of the time range during which jobs ended. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1666865137099', 'title' => ''], + ], + 'required' => false, + 'example' => '', ], ], [ - 'name' => 'NextToken', + 'name' => 'AppIds', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", - 'type' => 'string', + 'title' => '', + 'description' => 'The IDs of the jobs that are submitted to YARN.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the job that is submitted to YARN.'."\n", 'type' => 'string', 'required' => false, 'example' => 'application_1643475036865_******'."\n", 'title' => ''], 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + 'example' => 'null', ], ], [ - 'name' => 'MaxResults', + 'name' => 'Users', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The maximum number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The users who submit the jobs.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The username that is used to submit the job to YARN.'."\n", 'type' => 'string', 'required' => false, 'example' => 'DW'."\n", 'title' => ''], 'required' => false, - 'example' => '20', + 'example' => 'null', + 'title' => '', ], ], [ - 'name' => 'DateTime', + 'name' => 'Queues', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', + 'description' => 'The YARN queues to which the jobs are submitted.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The name of the YARN queue to which the job is submitted.'."\n", 'type' => 'string', 'required' => false, 'example' => 'DW'."\n", 'title' => ''], + 'required' => false, + 'example' => 'null', + 'title' => '', ], ], [ - 'name' => 'Type', + 'name' => 'Types', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => 'The filter condition. Valid values:'."\n" - ."\n" - .'* user'."\n" - .'* group'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'group', + 'description' => 'The YARN engines to which the jobs are submitted.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The type of the YARN engine to which the job is submitted.'."\n", 'type' => 'string', 'required' => false, 'example' => 'SPARK', 'title' => ''], + 'required' => false, + 'example' => 'null', + 'title' => '', ], ], [ 'name' => 'OrderType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The order in which you want to sort the query results. Valid values:'."\n" - ."\n" - .'* ASC: in ascending order'."\n" - .'* DESC: in descending order'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], + 'schema' => ['title' => '', 'description' => 'The order in which you want to sort the query results. Valid values:'."\n" + ."\n" + .'* ASC: the ascending order'."\n" + .'* DESC: the descending order'."\n", 'type' => 'string', 'required' => false, 'example' => 'ASC'], ], [ 'name' => 'OrderBy', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The basis on which you want to sort the query results. Valid values:'."\n" - ."\n" - .'* totalFileCount: the total number of files'."\n" - .'* totalDataSize: the total data size'."\n" - .'* totalDirCount: the total number of directories'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'totalFileCount', - ], + 'schema' => ['title' => '', 'description' => 'The field that you use to sort the query results. Valid values:'."\n" + ."\n" + .'* vcoreSeconds: the aggregated number of vCPUs that are allocated to the job multiplied by the number of seconds the job has been running'."\n" + .'* memSeconds: the aggregated amount of memory that is allocated to the job multiplied by the number of seconds the job has been running'."\n", 'type' => 'string', 'required' => false, 'example' => 'vcoreSeconds'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', + 'title' => '', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'Data' => [ - 'description' => 'The results of batch HDFS analysis.'."\n", + 'description' => 'The information about the jobs.'."\n", 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The actual name of the owner or group returned based on the value of Type.'."\n", - 'type' => 'string', - 'example' => 'DW', - ], + 'AppId' => ['description' => 'The ID of the job that was submitted to YARN.'."\n", 'type' => 'string', 'example' => 'application_1607584549220_*****', 'title' => ''], + 'AppName' => ['description' => 'The name of the job.'."\n", 'type' => 'string', 'example' => 'tpcds', 'title' => ''], + 'User' => ['description' => 'The username that was used to submit the job.'."\n", 'type' => 'string', 'example' => 'DW', 'title' => ''], + 'Queue' => ['description' => 'The YARN queue to which the job was submitted.'."\n", 'type' => 'string', 'example' => 'DW', 'title' => ''], + 'State' => ['description' => 'The running state of the job. Valid values:'."\n" + ."\n" + .'* FINISHED'."\n" + .'* FAILED'."\n" + .'* KILLED'."\n", 'type' => 'string', 'example' => 'FINISHED', 'title' => ''], + 'FinalStatus' => ['description' => 'The final state of the job. Valid values:'."\n" + ."\n" + .'* SUCCEEDED'."\n" + .'* FAILED'."\n" + .'* KILLED'."\n" + .'* ENDED'."\n" + .'* UNDEFINED'."\n", 'type' => 'string', 'example' => 'KILLED', 'title' => ''], + 'Type' => ['description' => 'The type of the compute engine.'."\n", 'type' => 'string', 'example' => 'SPARK', 'title' => ''], + 'StartTime' => ['description' => 'The time when the job was submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1675180800000', 'title' => ''], + 'LaunchTime' => ['description' => 'The time when the job was started. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1672148400000', 'title' => ''], + 'ElapsedTime' => ['description' => 'The total running time of the job. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '242', 'title' => ''], + 'FinishTime' => ['description' => 'The end time of the job. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1683690929000', 'title' => ''], 'Metrics' => [ - 'description' => 'The metric information.'."\n", + 'description' => 'The data about the metrics.'."\n", 'type' => 'object', 'properties' => [ - 'TotalFileCount' => [ - 'description' => 'The total number of files.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '34'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of total files'."\n", - ], - ], - ], - 'TotalDataSize' => [ - 'description' => 'The total data size.'."\n", + 'VcoreSeconds' => [ + 'description' => 'The CPU usage.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '40440503', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total data size in megabytes (MB)', - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'vcoreSeconds'."\n", 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '11123', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'VCores * Sec'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total vcore usage over time in seconds'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'TotalDirCount' => [ - 'description' => 'The total number of directories.'."\n", + 'MemSeconds' => [ + 'description' => 'The amount of memory consumed.'."\n", 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDirCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of total dirs'."\n", - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'memSeconds', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12312312', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB * Sec'."\n", 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total memory usage over time in seconds'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'A pagination token.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The maximum number of entries that are returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '', 'description' => 'A pagination token.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '', 'description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Name\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 34,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 40440503,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\"\\n },\\n \\"TotalDirCount\\": {\\n \\"Name\\": \\"totalDirCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of total dirs\\\\n\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => 'ListDoctorHDFSUGI', - 'summary' => 'Obtains the analysis results of Hadoop Distributed File System (HDFS) storage resources for multiple owners or groups at a time on E-MapReduce (EMR) Doctor.', - ], - 'ListDoctorHBaseTables' => [ - 'description' => 'list Doctor HBaseTables', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"AppId\\": \\"application_1607584549220_*****\\",\\n \\"AppName\\": \\"tpcds\\",\\n \\"User\\": \\"DW\\",\\n \\"Queue\\": \\"DW\\",\\n \\"State\\": \\"FINISHED\\",\\n \\"FinalStatus\\": \\"KILLED\\",\\n \\"Type\\": \\"SPARK\\",\\n \\"StartTime\\": 1675180800000,\\n \\"LaunchTime\\": 1672148400000,\\n \\"ElapsedTime\\": 242,\\n \\"FinishTime\\": 1683690929000,\\n \\"Metrics\\": {\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\\\n\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\\\n\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\\\n\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\\\n\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\\\n\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorJobs', + 'summary' => 'Obtains the basic running information about multiple jobs at a time on E-MapReduce (EMR) Doctor.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:08.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorJobs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListDoctorJobsStats' => [ + 'description' => 'list stats groupBy jobs by yarn', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21420,957 +15429,225 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The ID of the region.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The ID of the cluster.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'Marks the current position to start reading. If this field is empty, the data is read from the beginning.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['title' => '', 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The maximum number of entries to return on each page.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'StartRange', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The maximum number of entries that are returned.', - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The range of start time. You can filter jobs whose start time falls within the specified time range.'."\n", + 'type' => 'object', + 'properties' => [ + 'StartTime' => ['description' => 'The beginning of the time range during which jobs were submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1679036826987', 'title' => ''], + 'EndTime' => ['description' => 'The end of the time range during which jobs were submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1666406820000', 'title' => ''], + ], 'required' => false, - 'example' => '20', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'DateTime', + 'name' => 'EndRange', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => 'The query date.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', + 'description' => 'The range of end time. You can filter jobs whose end time falls within the specified time range.'."\n", + 'type' => 'object', + 'properties' => [ + 'StartTime' => ['description' => 'The beginning of the time range during which jobs ended. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1675180800000', 'title' => ''], + 'EndTime' => ['description' => 'The end of the time range during which jobs ended. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1680019200000', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'TableNames', + 'name' => 'GroupBy', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'description' => 'The table names, which are used to filter the query results.'."\n", + 'description' => 'The fields that are used for grouping data.'."\n" + ."\n" + .'Currently, only the first value is used for grouping data. Combinations of multiple values will be supported in the future.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The table names.', - 'type' => 'string', - 'required' => false, - 'example' => 'namespace1:tb_item'."\n", - ], + 'items' => ['description' => 'The field that is used for grouping data. Valid values:'."\n" + ."\n" + .'* queue: grouping by queue'."\n" + .'* user: grouping by user'."\n" + .'* type: grouping by engine type'."\n", 'type' => 'string', 'required' => false, 'example' => 'type', 'title' => ''], 'required' => false, 'example' => 'null', + 'title' => '', ], ], [ 'name' => 'OrderType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The order in which you want to sort the query results. Valid value:'."\n" - ."\n" - .'* ASC: in ascending order'."\n" - .'* DESC: in descending order'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], + 'schema' => ['description' => 'The order in which you want to sort the query results. Valid values:'."\n" + ."\n" + .'* ASC: in ascending order'."\n" + .'* DESC: in descending order'."\n", 'type' => 'string', 'required' => false, 'example' => 'ASC', 'title' => ''], ], [ 'name' => 'OrderBy', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The field that you use to sort the query results.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* tableSize', - 'type' => 'string', - 'required' => false, - 'example' => 'tableSize', - ], + 'schema' => ['description' => 'The field that you use to sort the query results. Valid values:'."\n" + ."\n" + .'* vcoreSeconds: the aggregated number of vCPUs that are allocated to the job multiplied by the number of seconds the job has been running'."\n" + .'* memSeconds: the aggregated amount of memory that is allocated to the job multiplied by the number of seconds the job has been running'."\n", 'type' => 'string', 'required' => false, 'example' => 'vcoreSeconds', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', + 'title' => '', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'Data' => [ - 'description' => 'The data returned.', + 'description' => 'The summary of job information.'."\n", 'type' => 'array', 'items' => [ + 'description' => '', 'type' => 'object', 'properties' => [ - 'TableName' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'example' => 'tb_item', + 'Queue' => ['description' => 'The YARN queue to which the job was submitted.'."\n", 'type' => 'string', 'example' => 'DW', 'title' => ''], + 'Type' => ['description' => 'The type of the compute engine.'."\n", 'type' => 'string', 'example' => 'SPARK', 'title' => ''], + 'User' => ['description' => 'The username that is used to submit the job.'."\n", 'type' => 'string', 'example' => 'DW', 'title' => ''], + 'VcoreSeconds' => [ + 'description' => 'The aggregated number of vCPUs that are allocated to the job multiplied by the number of seconds the job has been running.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'vcoreSeconds', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '11123', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'VCores * Sec', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total vcore usage over time in seconds', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'Metrics' => [ - 'description' => 'The metric information.'."\n", + 'MemSeconds' => [ + 'description' => 'The aggregated amount of memory that is allocated to the job multiplied by the number of seconds the job has been running.'."\n", 'type' => 'object', 'properties' => [ - 'RegionServerCount' => [ - 'description' => 'The number of region servers that host the table.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'regionServerCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of region servers count', - ], - ], - ], - 'RegionCount' => [ - 'description' => 'The number of regions that host the table.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'regionCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of regions count', - ], - ], - ], - 'TableSize' => [ - 'description' => 'The size of the table.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tableSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '678', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the table', - ], - ], - ], - 'StoreFileCount' => [ - 'description' => 'The number of StoreFiles.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'storeFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '36', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of store files', - ], - ], - ], - 'DailyReadRequest' => [ - 'description' => 'The total number of read requests for the table in a day.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'dailyReadRequest', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of read requests per day', - ], - ], - ], - 'DailyWriteRequest' => [ - 'description' => 'The total number of write requests for the table in a day.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'dailyWriteRequest', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of write requests per day', - ], - ], - ], - 'RegionBalance' => [ - 'description' => 'The balancing degree.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'regionBalance', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'The ability to evenly distribute Regions on different RegionServer nodes', - ], - ], - ], - 'RequestBalance' => [ - 'description' => 'The request balancing degree.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'requestBalance', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.9', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'The balance of distributing requests', - ], - ], - ], - 'HotDataSize' => [ - 'description' => 'The size of hot data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the hot data size', - ], - ], - ], - 'WarmDataSize' => [ - 'description' => 'The size of warm data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the warm data size', - ], - ], - ], - 'ColdDataSize' => [ - 'description' => 'The size of cold data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the cold data size', - ], - ], - ], - 'FreezeDataSize' => [ - 'description' => 'The size of very cold data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the freeze data size', - ], - ], - ], - 'WarmConfigDay' => [ - 'description' => 'The number of consecutive days without access to data before the data is considered as cold data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmConfigDay', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'day', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Warm config day', - ], - ], - ], - 'ColdConfigDay' => [ - 'description' => 'The number of consecutive days without access to data before the data is considered as very cold data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldConfigDay', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'day', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Cold config day', - ], - ], - ], - 'FreezeConfigDay' => [ - 'description' => 'The number of consecutive days without access to data before the data was considered as very cold data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeConfigDay', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'day', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Freeze config day', - ], - ], - ], - 'Locality' => [ - 'description' => 'The localization rate.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'locality', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'The locality of data', - ], - ], - ], - 'ColdAccessDay' => [ - 'description' => 'The number of days during which the table was not accessed.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldAccessDay', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'day', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Cold access day', - ], - ], - ], - 'RegionCountDayGrowthRatio' => [ - 'description' => 'The daily increment ratio of the number of regions.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'regionCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of region count', - ], - ], - ], - 'TableSizeDayGrowthRatio' => [ - 'description' => 'The daily increment ratio of the table size.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tableSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '\'"', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of table size', - ], - ], - ], - 'StoreFileCountDayGrowthRatio' => [ - 'description' => 'The daily increment ratio of the number of StoreFiles.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'storeFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.7', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of store file count', - ], - ], - ], - 'DailyReadRequestDayGrowthRatio' => [ - 'description' => 'The daily increment ratio of the number of read requests in a day.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'dailyReadRequestDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.8', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of read requests', - ], - ], - ], - 'DailyWriteRequestDayGrowthRatio' => [ - 'description' => 'The daily increment ratio of the number of write requests in a day.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'dailyWriteRequestDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.8', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'The balance of distributing requests', - ], - ], - ], - 'ReadRequestBalance' => [ - 'description' => 'The read balancing degree.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'readRequestBalance', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'The balance of distributing read requests', - ], - ], - ], - 'WriteRequestBalance' => [ - 'description' => 'The write balancing degree.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'writeRequestBalance', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'The balance of distributing write requests', - ], - ], - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'memSeconds', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12312312', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => 'MB * Sec', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total memory usage over time in seconds', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'Analysis' => [ - 'description' => 'The diagnosis result.'."\n", + 'AppsCount' => [ + 'description' => 'The total number of jobs.'."\n", 'type' => 'object', 'properties' => [ - 'TableScore' => [ - 'description' => 'The score of the table.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '67', - ], - 'RequestUnbalanceSuggestion' => [ - 'description' => 'The description of read/write imbalance.'."\n", - 'type' => 'string', - 'example' => 'read request unbalance is <p class=\'report-detail-topic\'>', - ], - 'RequestHotspotRegionList' => [ - 'description' => 'The regions that have read/write hotspot issues.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The region that has read/write hotspot issues.'."\n", - 'type' => 'string', - 'example' => '5f019e8cf7c16be9768634cb99ccbe05', - ], - 'example' => 'null', - ], - 'ReadRequestUnbalanceSuggestion' => [ - 'description' => 'The description of read imbalance.'."\n", - 'type' => 'string', - 'example' => 'read request unbalance is <p class=\'report-detail-topic\'>', - ], - 'ReadRequestHotspotRegionList' => [ - 'description' => 'The regions that have read hotspot issues.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The region that has read hotspot issues.'."\n", - 'type' => 'string', - 'example' => '5f019e8cf7c16be9768634cb99ccbe05', - ], - 'example' => 'null', - ], - 'WriteRequestUnbalanceSuggestion' => [ - 'description' => 'The description of write imbalance.'."\n", - 'type' => 'string', - 'example' => 'write request unbalance is <p class=\'report-detail-topic\'>', - ], - 'WriteRequestHotspotRegionList' => [ - 'description' => 'The regions that have write hotspot issues.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The region that has write hotspot issues.'."\n", - 'type' => 'string', - 'example' => '5f019e8cf7c16be9768634cb99ccbe05', - ], - 'example' => 'null', - ], + 'Name' => ['description' => 'The name of the metric.'."\n", 'type' => 'string', 'example' => 'appsCount', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => ''], + 'Unit' => ['description' => 'The unit of the metric.'."\n", 'type' => 'string', 'example' => '""', 'title' => ''], + 'Description' => ['description' => 'The description of the metric.'."\n", 'type' => 'string', 'example' => 'Total apps count', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'The page number of the next page returned.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The maximum number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '', 'description' => 'A pagination token.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '', 'description' => 'The total number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"TableName\\": \\"tb_item\\",\\n \\"Metrics\\": {\\n \\"RegionServerCount\\": {\\n \\"Name\\": \\"regionServerCount\\",\\n \\"Value\\": 2,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of region servers count\\"\\n },\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 3,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"TableSize\\": {\\n \\"Name\\": \\"tableSize\\",\\n \\"Value\\": 678,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the table\\"\\n },\\n \\"StoreFileCount\\": {\\n \\"Name\\": \\"storeFileCount\\",\\n \\"Value\\": 36,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of store files\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of read requests per day\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n },\\n \\"RegionBalance\\": {\\n \\"Name\\": \\"regionBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"The ability to evenly distribute Regions on different RegionServer nodes\\"\\n },\\n \\"RequestBalance\\": {\\n \\"Name\\": \\"requestBalance\\",\\n \\"Value\\": 0.9,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"The balance of distributing requests\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"WarmConfigDay\\": {\\n \\"Name\\": \\"warmConfigDay\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Warm config day\\"\\n },\\n \\"ColdConfigDay\\": {\\n \\"Name\\": \\"coldConfigDay\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Cold config day\\"\\n },\\n \\"FreezeConfigDay\\": {\\n \\"Name\\": \\"freezeConfigDay\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Freeze config day\\"\\n },\\n \\"Locality\\": {\\n \\"Name\\": \\"locality\\",\\n \\"Value\\": 0,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The locality of data\\"\\n },\\n \\"ColdAccessDay\\": {\\n \\"Name\\": \\"coldAccessDay\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Cold access day\\"\\n },\\n \\"RegionCountDayGrowthRatio\\": {\\n \\"Name\\": \\"regionCountDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of region count\\"\\n },\\n \\"TableSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"tableSizeDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\'\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of table size\\"\\n },\\n \\"StoreFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"storeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.7,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of store file count\\"\\n },\\n \\"DailyReadRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyReadRequestDayGrowthRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of read requests\\"\\n },\\n \\"DailyWriteRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyWriteRequestDayGrowthRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing requests\\"\\n },\\n \\"ReadRequestBalance\\": {\\n \\"Name\\": \\"readRequestBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing read requests\\"\\n },\\n \\"WriteRequestBalance\\": {\\n \\"Name\\": \\"writeRequestBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing write requests\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"TableScore\\": 67,\\n \\"RequestUnbalanceSuggestion\\": \\"ead request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均读请求数量为764361,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 读请求数量: 1543919</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 读请求数量: 1512817</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 读请求数量: 1504293</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"RequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"ReadRequestUnbalanceSuggestion\\": \\"ead request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均读请求数量为764361,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 读请求数量: 1543919</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 读请求数量: 1512817</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 读请求数量: 1504293</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"ReadRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"WriteRequestUnbalanceSuggestion\\": \\"write request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均写请求数量为786142,以下分区存在写请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 写请求数量: 1588305</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 写请求数量: 1556984</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 写请求数量: 1548764</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"WriteRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ]\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => 'ListDoctorHBaseTables', - 'summary' => 'Obtains the information about multiple HBase tables at a time.', - ], - 'ListDoctorHBaseRegionServers' => [ - 'description' => 'list Doctor HBaseRegionServers', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Queue\\": \\"DW\\",\\n \\"Type\\": \\"SPARK\\",\\n \\"User\\": \\"DW\\",\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n },\\n \\"AppsCount\\": {\\n \\"Name\\": \\"appsCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total apps count\\"\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorJobsStats', + 'summary' => 'Obtains the summary of basic running information about multiple jobs at a time on E-MapReduce (EMR) Doctor.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:07.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorJobsStats', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListDoctorReports' => [ + 'description' => 'list all reports analysis by emr doctor', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22379,520 +15656,196 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['description' => 'The pagination token that is used in the request to retrieve a new page of results.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', 'title' => '', 'required' => false], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The maximum number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], - ], - [ - 'name' => 'DateTime', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The query date.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], - ], - [ - 'name' => 'RegionServerHosts', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'The RegionServer hosts.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The RegionServer host.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'emr-worker-4.cluster-20****', - ], - 'required' => false, - 'example' => 'null', - ], - ], - [ - 'name' => 'OrderType', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The order in which you want to sort the query results. Valid value:'."\n" - ."\n" - .'* ASC: in ascending order'."\n" - .'* DESC: in descending order'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], - ], - [ - 'name' => 'OrderBy', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The field that you use to sort the query results. Valid value:'."\n" - ."\n" - .'* regionCount: the number of regions.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'regionCount', - ], + 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => '', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ 'Data' => [ - 'description' => 'The returned data.'."\n", + 'description' => 'The reports.', 'type' => 'array', 'items' => [ + 'description' => '', 'type' => 'object', 'properties' => [ - 'RegionServerHost' => [ - 'description' => 'The RegionServer host.'."\n", - 'type' => 'string', - 'example' => 'emr-worker-4.cluster-20****', + 'DateTime' => ['description' => 'The date on which the report was generated.', 'type' => 'string', 'example' => '2023-06-29', 'title' => ''], + 'ComponentTypes' => [ + 'description' => 'The component types.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- compute'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'- hive'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'- hdfs'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'- yarn'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'- oss'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'- hbase'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->', + 'type' => 'array', + 'items' => ['description' => 'The type of the component. Valid values:'."\n" + ."\n" + .'- compute'."\n" + ."\n" + .'- hive'."\n" + ."\n" + .'- hdfs'."\n" + ."\n" + .'- yarn'."\n" + ."\n" + .'- oss'."\n" + ."\n" + .'- hbase', 'type' => 'string', 'example' => 'compute', 'title' => ''], + 'enumValueTitles' => ['compute' => 'compute', 'hive' => 'hive', 'hdfs' => 'hdfs', 'yarn' => 'yarn', 'oss' => 'oss', 'hbase' => 'hbase'], + 'example' => 'null', + 'title' => '', ], - 'Metrics' => [ - 'description' => 'The metric information.'."\n", + 'SummaryReport' => [ + 'description' => 'The summary of the report.', 'type' => 'object', 'properties' => [ - 'RegionCount' => [ - 'description' => 'The number of regions.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'regionCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '81', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of regions count', - ], - ], - ], - 'TotalReadRequest' => [ - 'description' => 'The cumulative number of read requests.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalReadRequest', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '170500567', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total number of read requests', - ], - ], - ], - 'TotalWriteRequest' => [ - 'description' => 'The cumulative number of write requests.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalWriteRequest', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30109837', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total number of write requests', - ], - ], - ], - 'TotalRequest' => [ - 'description' => 'The cumulative number of all requests.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalRequest', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '89499511', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total number of requests', - ], - ], - ], - 'DailyReadRequest' => [ - 'description' => 'The number of daily read requests.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'dailyReadRequest', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '42571', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of read requests per day', - ], - ], - ], - 'DailyWriteRequest' => [ - 'description' => 'The number of daily write requests.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'dailyWriteRequest', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '23124', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of write requests per day', - ], - ], - ], - 'AvgGc' => [ - 'description' => 'The average garbage collection (GC) duration.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'avgGc', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '37.9', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'The efficiency of garbage collection in the system', - ], - ], - ], - 'CacheRatio' => [ - 'description' => 'The cache hit ratio.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'cacheRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '96.7', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of the BlockCache memory size', - ], - ], - ], - 'DailyReadRequestDayGrowthRatio' => [ - 'description' => 'The growth rate of the number of daily read requests.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'dailyReadRequestDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'The growth rate of daily read request quantity.', - ], - ], - ], - 'DailyWriteRequestDayGrowthRatio' => [ - 'description' => 'The growth rate of the number of daily write requests.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'dailyWriteRequestDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'The growth rate of daily write request quantity.', - ], - ], - ], + 'Score' => ['description' => 'The score.', 'type' => 'integer', 'format' => 'int32', 'example' => '88', 'title' => ''], + 'Summary' => ['description' => 'The summary of the report.', 'type' => 'string', 'example' => '<h4>[Compute Check] Compute health score: 88. Good health. Keep it up.</h4><p style=\'text-indent:2em\'>Most tasks in the cluster are in healthy state.</p><p style=\'text-indent:2em\'>Cluster memory utilization: 47.8%, relatively low.</p>', 'title' => ''], + 'Suggestion' => ['description' => 'The optimization suggestion.', 'type' => 'string', 'example' => '<h3>Compute health score: 88. The cluster is in healthy state. Keep it up.</h3><ul><li><strong>Compute task scan</strong><ul><li>Scanned 1518 compute tasks in the cluster: <span style=\'color: #D93026;\'>209 tasks in unhealthy state</span>, <span style=\'color: #F1A600;\'>596 tasks in sub-healthy state</span>, <span style=\'color: #1E8E3E;\'>713 tasks in healthy state</span>.</li></ul><ul><li> 1518 Tez tasks with a weighted average score of 88. Memory usage accounts for 100.0% of the cluster, CPU usage accounts for 100.0% of the cluster. 209 tasks are in unhealthy state, 596 tasks are in sub-healthy state.</li></ul><ul>Click \'View Details\' in the task detail list below to view specific issues and solutions. The \'Low-Score Task Compute Memory Time (GB*Sec) Top 20\' table is sorted by memory time usage. Large tasks may have a greater impact on the overall cluster, so prioritize them.</ul><li><strong><span style=\'color: #D93026;\'>Low memory utilization</span></strong><ul><li>Overall cluster memory utilization is 47.8%, which is relatively low. Compute resources are being wasted. Prioritize optimizing TOP tasks with high memory compute time but low memory utilization.</li></ul><ul><li>Tez jobs have an average memory utilization of 47.8%.</li></ul></li></ul>', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'A pagination token.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The maximum number of entries that are returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', 'title' => ''], + 'NextToken' => ['description' => 'A pagination token.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"RegionServerHost\\": \\"emr-worker-4.cluster-20****\\",\\n \\"Metrics\\": {\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 81,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"TotalReadRequest\\": {\\n \\"Name\\": \\"totalReadRequest\\",\\n \\"Value\\": 170500567,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of read requests\\"\\n },\\n \\"TotalWriteRequest\\": {\\n \\"Name\\": \\"totalWriteRequest\\",\\n \\"Value\\": 30109837,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of write requests\\"\\n },\\n \\"TotalRequest\\": {\\n \\"Name\\": \\"totalRequest\\",\\n \\"Value\\": 89499511,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of requests\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 42571,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of read requests per day\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 23124,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n },\\n \\"AvgGc\\": {\\n \\"Name\\": \\"avgGc\\",\\n \\"Value\\": 37.9,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The efficiency of garbage collection in the system\\"\\n },\\n \\"CacheRatio\\": {\\n \\"Name\\": \\"cacheRatio\\",\\n \\"Value\\": 96.7,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of the BlockCache memory size\\"\\n },\\n \\"DailyReadRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyReadRequestDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The growth rate of daily read request quantity.\\"\\n },\\n \\"DailyWriteRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyWriteRequestDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The growth rate of daily write request quantity.\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => 'ListDoctorHBaseRegionServers', - 'summary' => 'Obtains the information about multiple HBase RegionServers at a time.', - ], - 'GetDoctorHBaseTable' => [ - 'description' => 'get Doctor HBaseTable', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"DateTime\\": \\"2023-06-29\\",\\n \\"ComponentTypes\\": [\\n \\"compute\\"\\n ],\\n \\"SummaryReport\\": {\\n \\"Score\\": 88,\\n \\"Summary\\": \\"<h4>[Compute Check] Compute health score: 88. Good health. Keep it up.</h4><p style=\'text-indent:2em\'>Most tasks in the cluster are in healthy state.</p><p style=\'text-indent:2em\'>Cluster memory utilization: 47.8%, relatively low.</p>\\",\\n \\"Suggestion\\": \\"<h3>Compute health score: 88. The cluster is in healthy state. Keep it up.</h3><ul><li><strong>Compute task scan</strong><ul><li>Scanned 1518 compute tasks in the cluster: <span style=\'color: #D93026;\'>209 tasks in unhealthy state</span>, <span style=\'color: #F1A600;\'>596 tasks in sub-healthy state</span>, <span style=\'color: #1E8E3E;\'>713 tasks in healthy state</span>.</li></ul><ul><li> 1518 Tez tasks with a weighted average score of 88. Memory usage accounts for 100.0% of the cluster, CPU usage accounts for 100.0% of the cluster. 209 tasks are in unhealthy state, 596 tasks are in sub-healthy state.</li></ul><ul>Click \'View Details\' in the task detail list below to view specific issues and solutions. The \'Low-Score Task Compute Memory Time (GB*Sec) Top 20\' table is sorted by memory time usage. Large tasks may have a greater impact on the overall cluster, so prioritize them.</ul><li><strong><span style=\'color: #D93026;\'>Low memory utilization</span></strong><ul><li>Overall cluster memory utilization is 47.8%, which is relatively low. Compute resources are being wasted. Prioritize optimizing TOP tasks with high memory compute time but low memory utilization.</li></ul><ul><li>Tez jobs have an average memory utilization of 47.8%.</li></ul></li></ul>\\"\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorReports', + 'summary' => 'Obtains the overall analysis result reports of E-MapReduce (EMR) Doctor at a time.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:07.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorReports', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'translator' => 'manual', + ], + 'ListInstanceTypes' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22900,870 +15853,141 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'list', + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S', 'FEATUREemapreduceSNGGYA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'Region ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'Cluster ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'example' => 'c-b933c5aac8fe****', 'title' => '', 'required' => false], ], [ - 'name' => 'DateTime', + 'name' => 'ZoneId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'Date.', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], + 'schema' => ['description' => 'The zone ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing-h', 'title' => ''], ], [ - 'name' => 'TableName', + 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'Table name.', - 'type' => 'string', - 'required' => true, - 'example' => 'namespace1:tb_item', - ], + 'schema' => ['description' => 'The node group ID.', 'type' => 'string', 'example' => 'G-F06C4B47966A****', 'title' => '', 'required' => false], + ], + [ + 'name' => 'ClusterType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The cluster type.', 'type' => 'string', 'required' => true, 'example' => 'DATALAKE', 'title' => ''], + ], + [ + 'name' => 'PaymentType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The billing method.', 'type' => 'string', 'required' => true, 'example' => 'PayAsYouGo', 'title' => ''], + ], + [ + 'name' => 'NodeGroupType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The node group type.', 'type' => 'string', 'required' => true, 'example' => 'CORE', 'title' => ''], + ], + [ + 'name' => 'IsModification', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'Specifies whether the instance type is for an instance type change. A value of true indicates an instance type change.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'ReleaseVersion', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The EMR release version.', 'type' => 'string', 'example' => 'Released version EMR-5.8.0', 'title' => '', 'required' => false], + ], + [ + 'name' => 'DeployMode', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'Specifies the deployment mode.', 'type' => 'string', 'example' => 'HA', 'title' => '', 'required' => false], + ], + [ + 'name' => 'InstanceType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The instance type.', 'type' => 'string', 'example' => 'ecs.g6.xlarge', 'title' => '', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'Returned data', + 'title' => '', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'Returned data.', - 'type' => 'object', - 'properties' => [ - 'Metrics' => [ - 'description' => 'Metrics information.', - 'type' => 'object', - 'properties' => [ - 'RegionServerCount' => [ - 'description' => 'Number of RegionServers.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Metric name.', - 'type' => 'string', - 'example' => 'regionServerCount', - ], - 'Value' => [ - 'description' => 'Usage.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Unit' => [ - 'description' => 'Metric unit.', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'Metric description.', - 'type' => 'string', - 'example' => 'Number of region servers count', - ], - ], - ], - 'RegionCount' => [ - 'description' => 'Number of regions.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Metric name.', - 'type' => 'string', - 'example' => 'regionCount', - ], - 'Value' => [ - 'description' => 'Metric value.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Unit' => [ - 'description' => 'Metric unit.', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Metric description.', - 'type' => 'string', - 'example' => 'Number of regions count', - ], - ], - ], - 'TableSize' => [ - 'description' => 'Table size.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Metric name.', - 'type' => 'string', - 'example' => 'tableSize', - ], - 'Value' => [ - 'description' => 'Metric value.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => 'tb_item', - ], - 'Unit' => [ - 'description' => 'Unit of the metric', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Description of the metric.', - 'type' => 'string', - 'example' => 'Size of the table', - ], - ], - ], - 'StoreFileCount' => [ - 'description' => 'Number of store files.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Name of the metric.', - 'type' => 'string', - 'example' => 'storeFileCount', - ], - 'Value' => [ - 'description' => 'Value of the metric.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'Unit of the metric.', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Description of the metric.', - 'type' => 'string', - 'example' => 'Number of store files', - ], - ], - ], - 'DailyReadRequest' => [ - 'description' => 'Number of read requests per day.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Name of the item.', - 'type' => 'string', - 'example' => 'dailyReadRequest', - ], - 'Value' => [ - 'description' => 'Value of the metric.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'Unit of the metric.', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Description of the metric.', - 'type' => 'string', - 'example' => 'test-update', - ], - ], - ], - 'DailyWriteRequest' => [ - 'description' => 'Number of write requests per day.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Name of the metric.', - 'type' => 'string', - 'example' => 'dailyWriteRequest', - ], - 'Value' => [ - 'description' => 'Value of the metric.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'Unit of the metric.', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Description of the metric.', - 'type' => 'string', - 'example' => 'Number of write requests per day', - ], - ], - ], - 'RegionBalance' => [ - 'description' => 'Region balance.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Metric name.', - 'type' => 'string', - 'example' => 'regionBalance', - ], - 'Value' => [ - 'description' => 'The metric value.', - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Description of the metric.', - 'type' => 'string', - 'example' => 'The ability to evenly distribute Regions on different RegionServer nodes', - ], - ], - ], - 'RequestBalance' => [ - 'description' => 'Request balance.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Name of the metric.', - 'type' => 'string', - 'example' => 'requestBalance', - ], - 'Value' => [ - 'description' => 'The metric value.', - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Description of the metric.', - 'type' => 'string', - 'example' => 'The balance of distributing requests', - ], - ], - ], - 'HotDataSize' => [ - 'description' => 'Hot data size.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Name of the metric.', - 'type' => 'string', - 'example' => 'hotDataSize', - ], - 'Value' => [ - 'description' => 'The metric value.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'Description of the metric.', - 'type' => 'string', - 'example' => 'Size of the hot data size', - ], - ], - ], - 'WarmDataSize' => [ - 'description' => 'Warm data size.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Name of the metric.', - 'type' => 'string', - 'example' => 'warmDataSize', - ], - 'Value' => [ - 'description' => 'Usage rate.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'Description of the metric.', - 'type' => 'string', - 'example' => 'Size of the warm data size'."\n", - ], - ], - ], - 'ColdDataSize' => [ - 'description' => 'Cold data size.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Metric name.', - 'type' => 'string', - 'example' => 'coldDataSize', - ], - 'Value' => [ - 'description' => 'Metric value.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'Metric unit.', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Metric description.', - 'type' => 'string', - 'example' => 'Size of the cold data size', - ], - ], - ], - 'FreezeDataSize' => [ - 'description' => 'Frozen data size.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Metric name.', - 'type' => 'string', - 'example' => 'freezeDataSize', - ], - 'Value' => [ - 'description' => 'Metric value.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'Metric unit.', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'Metric description.', - 'type' => 'string', - 'example' => 'Size of the freeze data size', - ], - ], - ], - 'WarmConfigDay' => [ - 'description' => 'Warm data access days configuration.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Metric name.', - 'type' => 'string', - 'example' => 'warmConfigDay', - ], - 'Value' => [ - 'description' => 'Metric value.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'Metric unit.', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'Metric description.', - 'type' => 'string', - 'example' => 'Size of the warm data size', - ], - ], - ], - 'ColdConfigDay' => [ - 'description' => 'Cold data access days configuration.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Metric name.', - 'type' => 'string', - 'example' => 'coldConfigDay', - ], - 'Value' => [ - 'description' => 'Metric value.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Unit' => [ - 'description' => 'Unit of the metric.', - 'type' => 'string', - 'example' => 'day', - ], - 'Description' => [ - 'description' => 'Description of the metric.', - 'type' => 'string', - 'example' => 'Cold config day', - ], - ], - ], - 'FreezeConfigDay' => [ - 'description' => 'Configuration for the number of days cold data is accessed.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Name of the metric.', - 'type' => 'string', - 'example' => 'freezeConfigDay', - ], - 'Value' => [ - 'description' => 'Value of the metric.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Unit' => [ - 'description' => 'Unit of the metric.', - 'type' => 'string', - 'example' => 'day', - ], - 'Description' => [ - 'description' => 'Description of the metric.', - 'type' => 'string', - 'example' => 'Freeze config day'."\n", - ], - ], - ], - 'Locality' => [ - 'description' => 'Locality rate.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Name of the metric.', - 'type' => 'string', - 'example' => 'locality', - ], - 'Value' => [ - 'description' => 'Value of the metric.', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'Unit of the metric.', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Description of the metric.', - 'type' => 'string', - 'example' => 'The locality of data', - ], - ], - ], - 'ColdAccessDay' => [ - 'description' => 'Number of days the table has not been accessed.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Name of the metric.', - 'type' => 'string', - 'example' => 'coldAccessDay', - ], - 'Value' => [ - 'description' => 'Value of the metric.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'Unit' => [ - 'description' => 'Unit of the metric.', - 'type' => 'string', - 'example' => 'day', - ], - 'Description' => [ - 'description' => 'Description of the metric.', - 'type' => 'string', - 'example' => 'Cold access day', - ], - ], - ], - 'RegionCountDayGrowthRatio' => [ - 'description' => 'Daily incremental ratio of regions', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Metric name.', - 'type' => 'string', - 'example' => 'regionCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'Metric value.', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.8', - ], - 'Unit' => [ - 'description' => 'Metric unit.', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Metric description.', - 'type' => 'string', - 'example' => 'Day growth ratio of region count', - ], - ], - ], - 'TableSizeDayGrowthRatio' => [ - 'description' => 'Daily growth ratio of table size.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Metric name.', - 'type' => 'string', - 'example' => 'tableSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'Metric value.', - 'type' => 'number', - 'format' => 'float', - 'example' => '1.5', - ], - 'Unit' => [ - 'description' => 'Metric unit.', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Metric description.', - 'type' => 'string', - 'example' => 'Day growth ratio of table size', - ], - ], - ], - 'StoreFileCountDayGrowthRatio' => [ - 'description' => 'Daily growth ratio of store file count.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Metric name.', - 'type' => 'string', - 'example' => 'storeFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'Metric value.', - 'type' => 'number', - 'format' => 'float', - 'example' => '1.5', - ], - 'Unit' => [ - 'description' => 'Metric unit.', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Metric description.', - 'type' => 'string', - 'example' => 'Day growth ratio of store file count', - ], - ], - ], - 'DailyReadRequestDayGrowthRatio' => [ - 'description' => 'Daily growth ratio of daily read requests.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Metric name.', - 'type' => 'string', - 'example' => 'dailyReadRequestDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.', - 'type' => 'number', - 'format' => 'float', - 'example' => '1.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Description of the metric.', - 'type' => 'string', - 'example' => 'Day growth ratio of table size', - ], - ], - ], - 'DailyWriteRequestDayGrowthRatio' => [ - 'description' => 'Daily write request growth ratio.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Name of the metric.', - 'type' => 'string', - 'example' => 'dailyWriteRequestDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Description of the metric.', - 'type' => 'string', - 'example' => 'The balance of distributing requests', - ], - ], - ], - 'ReadRequestBalance' => [ - 'description' => 'Read request balance.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Name of the metric.', - 'type' => 'string', - 'example' => 'readRequestBalance', - ], - 'Value' => [ - 'description' => 'The value of the metric.', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Description of the metric.', - 'type' => 'string', - 'example' => 'The balance of distributing read requests', - ], - ], - ], - 'WriteRequestBalance' => [ - 'description' => 'Write request balance.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Name of the metric.', - 'type' => 'string', - 'example' => 'writeRequestBalance', - ], - 'Value' => [ - 'description' => 'The value of the metric.', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => 'Unit of the metric.', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Description of the metric.', - 'type' => 'string', - 'example' => 'The balance of distributing write requests', - ], - ], - ], - ], - ], - 'Analysis' => [ - 'description' => 'Diagnostic results.', - 'type' => 'object', - 'properties' => [ - 'TableScore' => [ - 'description' => 'Table score.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '85', - ], - 'RequestUnbalanceSuggestion' => [ - 'description' => 'Description of read/write imbalance.', - 'type' => 'string', - 'example' => '', - ], - 'RequestHotspotRegionList' => [ - 'description' => 'List of read/write hotspot regions.', - 'type' => 'array', - 'items' => [ - 'description' => 'Read/write hotspot region.', - 'type' => 'string', - 'example' => '5f019e8cf7c16be9768634cb99ccbe05', - ], - 'example' => 'null', - ], - 'ReadRequestUnbalanceSuggestion' => [ - 'description' => 'Description of read imbalance.', - 'type' => 'string', - 'example' => '', - ], - 'ReadRequestHotspotRegionList' => [ - 'description' => 'List of read hotspot regions.', - 'type' => 'array', - 'items' => [ - 'description' => 'Read hotspot region.', - 'type' => 'string', - 'example' => '5f019e8cf7c16be9768634cb99ccbe05', - ], - 'example' => 'null', - ], - 'WriteRequestUnbalanceSuggestion' => [ - 'description' => 'Description of write imbalance.', - 'type' => 'string', - 'example' => '', - ], - 'WriteRequestHotspotRegionList' => [ - 'description' => 'List of write hotspot regions.', - 'type' => 'array', - 'items' => [ - 'description' => 'Write hotspot region.', - 'type' => 'string', - 'example' => '5f019e8cf7c16be9768634cb99ccbe05', - ], - 'example' => 'null', - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'Request ID.', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'InstanceTypes' => [ + 'description' => 'The instance types.', + 'type' => 'array', + 'items' => ['description' => 'The instance type.', '$ref' => '#/components/schemas/InstanceType', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', 'title' => ''], + 'NextToken' => ['description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"RegionServerCount\\": {\\n \\"Name\\": \\"regionServerCount\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of region servers count\\"\\n },\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"TableSize\\": {\\n \\"Name\\": \\"tableSize\\",\\n \\"Value\\": 0,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Size of the table\\"\\n },\\n \\"StoreFileCount\\": {\\n \\"Name\\": \\"storeFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of store files\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"test-update\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n },\\n \\"RegionBalance\\": {\\n \\"Name\\": \\"regionBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The ability to evenly distribute Regions on different RegionServer nodes\\"\\n },\\n \\"RequestBalance\\": {\\n \\"Name\\": \\"requestBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing requests\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Size of the cold data size\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"WarmConfigDay\\": {\\n \\"Name\\": \\"warmConfigDay\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdConfigDay\\": {\\n \\"Name\\": \\"coldConfigDay\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Cold config day\\"\\n },\\n \\"FreezeConfigDay\\": {\\n \\"Name\\": \\"freezeConfigDay\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Freeze config day\\\\n\\"\\n },\\n \\"Locality\\": {\\n \\"Name\\": \\"locality\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The locality of data\\"\\n },\\n \\"ColdAccessDay\\": {\\n \\"Name\\": \\"coldAccessDay\\",\\n \\"Value\\": 3,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Cold access day\\"\\n },\\n \\"RegionCountDayGrowthRatio\\": {\\n \\"Name\\": \\"regionCountDayGrowthRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of region count\\"\\n },\\n \\"TableSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"tableSizeDayGrowthRatio\\",\\n \\"Value\\": 1.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of table size\\"\\n },\\n \\"StoreFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"storeFileCountDayGrowthRatio\\",\\n \\"Value\\": 1.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of store file count\\"\\n },\\n \\"DailyReadRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyReadRequestDayGrowthRatio\\",\\n \\"Value\\": 1.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of table size\\"\\n },\\n \\"DailyWriteRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyWriteRequestDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing requests\\"\\n },\\n \\"ReadRequestBalance\\": {\\n \\"Name\\": \\"readRequestBalance\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing read requests\\"\\n },\\n \\"WriteRequestBalance\\": {\\n \\"Name\\": \\"writeRequestBalance\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing write requests\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"TableScore\\": 85,\\n \\"RequestUnbalanceSuggestion\\": \\"read request unbalance is <p class=\'report-detail-topic\'>表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 4ac818a3ab3fd727490a5b4d4dac7667 读请求数量: 15485664</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 021b387ae92959def65041e25eade3aa 读请求数量: 7731980</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d58f33abfe857e5fd0045eaa31c93df8 读请求数量: 7705237</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4ca84757a7d0948b8552cfeebefa25a9 读请求数量: 7703492</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 1018192dae42995fc75c6d5b5981a9b7 读请求数量: 7695284</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"RequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"ReadRequestUnbalanceSuggestion\\": \\"read request unbalance is <p class=\'report-detail-topic\'>表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 4ac818a3ab3fd727490a5b4d4dac7667 读请求数量: 15485664</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 021b387ae92959def65041e25eade3aa 读请求数量: 7731980</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d58f33abfe857e5fd0045eaa31c93df8 读请求数量: 7705237</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4ca84757a7d0948b8552cfeebefa25a9 读请求数量: 7703492</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 1018192dae42995fc75c6d5b5981a9b7 读请求数量: 7695284</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"ReadRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"WriteRequestUnbalanceSuggestion\\": \\"write request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均写请求数量为769954,以下分区存在写请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4a938c08750869c47b7a92edeeec2ccc 写请求数量: 2115051</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: b4d21974df92bdf3589e63e4da1fc923 写请求数量: 1592509</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 25eb6717470f4ddbabe9187ff0fc0cb3 写请求数量: 1585420</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"WriteRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ]\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'GetDoctorHBaseTable', - 'summary' => 'Get HBase Table information.', - 'translator' => 'machine', - ], - 'GetDoctorHBaseRegionServer' => [ - 'description' => 'get Doctor HBaseRegionServer', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InstanceTypes\\": [\\n {\\n \\"InstanceTypeFamily\\": \\"ecs.g6\\",\\n \\"InstanceType\\": \\"ecs.g6.large\\",\\n \\"Optimized\\": true,\\n \\"CpuCore\\": 4,\\n \\"InstanceCategory\\": \\"Compute-optimized\\",\\n \\"CpuArchitecture\\": \\"X86\\",\\n \\"LocalStorageCapacity\\": 40,\\n \\"LocalStorageAmount\\": 8,\\n \\"ModifyType\\": \\"\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListInstanceTypes', + 'summary' => 'Retrieves a list of EMR instance types.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:06.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-03-28T10:50:13.000Z', 'description' => 'Error codes changed, Request parameters changed, Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListInstanceTypes'], + ], ], + 'ramActions' => [], + 'translator' => 'manual', + ], + 'ListNodeGroups' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -23771,434 +15995,201 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'list', + 'abilityTreeCode' => '13702', + 'abilityTreeNodes' => ['FEATUREemapreduceSNGGYA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The token that marks the start of the query. Leave this parameter empty to start from the beginning.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', 'title' => '', 'required' => false], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The maximum number of records to return in a single request. Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => '', 'required' => false], + ], + [ + 'name' => 'NodeGroupIds', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, + 'title' => '', + 'description' => 'A list of node group IDs. The number of array elements N can range from 1 to 100.', + 'type' => 'array', + 'items' => ['description' => 'The node group ID.', 'type' => 'string', 'required' => false, 'example' => 'ng-869471354ecd****', 'title' => ''], + 'required' => false, 'example' => 'c-b933c5aac8fe****', + 'maxItems' => 100, ], ], [ - 'name' => 'DateTime', + 'name' => 'NodeGroupNames', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => 'The date.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', + 'title' => '', + 'description' => 'A list of node group names. The number of array elements N can range from 1 to 100.', + 'type' => 'array', + 'items' => ['description' => 'The node group name.', 'type' => 'string', 'required' => false, 'example' => 'core-1', 'title' => ''], + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + 'maxItems' => 100, ], ], [ - 'name' => 'RegionServerHost', + 'name' => 'NodeGroupTypes', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => 'The host of the region server.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'emr-worker-4.cluster-20****'."\n", + 'title' => '', + 'description' => 'A list of node group types. The number of array elements N can range from 1 to 100.', + 'type' => 'array', + 'items' => ['description' => 'The type of the node group. Valid values:'."\n" + ."\n" + .'- MASTER: The master node group.'."\n" + ."\n" + .'- CORE: The core node group.'."\n" + ."\n" + .'- TASK: The task node group.', 'type' => 'string', 'required' => false, 'example' => 'CORE', 'title' => ''], + 'required' => false, + 'example' => '20', + 'maxItems' => 100, ], ], + [ + 'name' => 'NodeGroupStates', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '', + 'description' => 'The state of the node group. The number of array elements N can range from 1 to 100.', + 'type' => 'array', + 'items' => ['description' => 'The state of the node group. Valid values:'."\n" + ."\n" + .'- PROVISIONING: The node group is being initialized.'."\n" + ."\n" + .'- INCREASING: The node group is scaling out.'."\n" + ."\n" + .'- DECREASING: The node group is scaling in.'."\n" + ."\n" + .'- SUSPENDED: The node group is suspended.'."\n" + ."\n" + .'- RUNNING: The node group is running.'."\n" + ."\n" + .'- RECONFIGURING: The node group is being reconfigured.'."\n" + ."\n" + .'- TERMINATING: The node group is being terminated.'."\n" + ."\n" + .'- TERMINATED: The node group is terminated.', 'type' => 'string', 'required' => false, 'example' => 'RUNNING', 'title' => ''], + 'required' => false, + 'example' => '["CORE"]', + 'maxItems' => 50, + ], + ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The response data.', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'The returned data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Metrics' => [ - 'description' => 'The metric information.'."\n", - 'type' => 'object', - 'properties' => [ - 'RegionCount' => [ - 'description' => 'The number of regions.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'regionCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of regions count', - ], - ], - ], - 'TotalReadRequest' => [ - 'description' => 'The cumulative number of read requests.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalReadRequest', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total number of read requests', - ], - ], - ], - 'TotalWriteRequest' => [ - 'description' => 'The cumulative number of write requests.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalWriteRequest ', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total number of write requests', - ], - ], - ], - 'TotalRequest' => [ - 'description' => 'The cumulative number of total requests.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalRequest', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total number of requests', - ], - ], - ], - 'DailyReadRequest' => [ - 'description' => 'The number of daily read requests.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'dailyReadRequest', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of read requests per day', - ], - ], - ], - 'DailyWriteRequest' => [ - 'description' => 'The number of daily write requests.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'dailyWriteRequest', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of write requests per day', - ], - ], - ], - 'AvgGc' => [ - 'description' => 'The average garbage collection (GC) duration.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'avgGc', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '42.3', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'The efficiency of garbage collection in the system', - ], - ], - ], - 'CacheRatio' => [ - 'description' => 'The cache hit ratio.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'cacheRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '95.3', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of the BlockCache memory size', - ], - ], - ], - 'DailyReadRequestDayGrowthRatio' => [ - 'description' => 'The day-to-day increment rate of the number of daily read requests.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'dailyReadRequestDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'The growth rate of daily read request quantity.'."\n", - ], - ], - ], - 'DailyWriteRequestDayGrowthRatio' => [ - 'description' => 'The day-to-day increment rate of the number of daily write requests.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'dailyWriteRequestDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'The growth rate of daily write request quantity.', - ], - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'NodeGroups' => [ + 'description' => 'An array of node groups.', + 'type' => 'array', + 'items' => ['description' => 'The node group.', '$ref' => '#/components/schemas/NodeGroup', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', 'title' => ''], + 'NextToken' => ['description' => 'The token to retrieve the next page of results. An empty value indicates that all results have been returned.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of entries returned for the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries that match the query conditions.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NodeGroups\\": [\\n {\\n \\"WithPublicIp\\": true,\\n \\"SpotInstanceRemedy\\": false,\\n \\"DataDisks\\": [\\n {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 80,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 5\\n }\\n ],\\n \\"CompensateWithOnDemand\\": true,\\n \\"NodeGroupState\\": \\"RESIZING\\",\\n \\"SystemDisk\\": {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 60,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 1\\n },\\n \\"PrivatePoolOptions\\": {\\n \\"MatchCriteria\\": \\"Open\\",\\n \\"PrivatePoolIds\\": [\\n \\"crp-xxxx\\"\\n ]\\n },\\n \\"NodeGroupType\\": \\"MASTER\\",\\n \\"PaymentType\\": \\"Subscription\\",\\n \\"InstanceTypes\\": [\\n \\"ecs.g7.2xlarge\\"\\n ],\\n \\"CostOptimizedConfig\\": {\\n \\"OnDemandBaseCapacity\\": 80,\\n \\"OnDemandPercentageAboveBaseCapacity\\": 80,\\n \\"SpotInstancePools\\": 2\\n },\\n \\"GracefulShutdown\\": false,\\n \\"SpotStrategy\\": \\"NoSpot\\",\\n \\"StateChangeReason\\": {\\n \\"Message\\": \\"The instance type is required.\\",\\n \\"Code\\": \\"UserRequest\\"\\n },\\n \\"Status\\": \\"CREATED\\",\\n \\"ZoneId\\": \\"cn-hangzhou\\",\\n \\"NodeGroupName\\": \\"core-1\\",\\n \\"VSwitchIds\\": [\\n \\"vsw-bp1opd2qejvhsabfe****\\"\\n ],\\n \\"SpotBidPrices\\": [\\n {\\n \\"BidPrice\\": 1000,\\n \\"InstanceType\\": \\"ecs.g7.2xlarge\\"\\n }\\n ],\\n \\"NodeResizeStrategy\\": \\"PRIORITY\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"AdditionalSecurityGroupIds\\": [\\n \\"\\"\\n ],\\n \\"DeploymentSetStrategy\\": \\"NONE\\",\\n \\"RunningNodeCount\\": 3\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListNodeGroups', + 'summary' => 'Queries the node groups in an EMR cluster.', + 'changeSet' => [ + ['createdAt' => '2023-12-07T07:46:45.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2021-10-12T06:06:54.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-10-12T06:06:54.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListNodeGroups'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListNodeGroups', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 15,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"TotalReadRequest\\": {\\n \\"Name\\": \\"totalReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of read requests\\"\\n },\\n \\"TotalWriteRequest\\": {\\n \\"Name\\": \\"totalWriteRequest\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of write requests\\"\\n },\\n \\"TotalRequest\\": {\\n \\"Name\\": \\"totalRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of requests\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of read requests per day\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n },\\n \\"AvgGc\\": {\\n \\"Name\\": \\"avgGc\\",\\n \\"Value\\": 42.3,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The efficiency of garbage collection in the system\\"\\n },\\n \\"CacheRatio\\": {\\n \\"Name\\": \\"cacheRatio\\",\\n \\"Value\\": 95.3,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of the BlockCache memory size\\"\\n },\\n \\"DailyReadRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyReadRequestDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The growth rate of daily read request quantity.\\\\n\\"\\n },\\n \\"DailyWriteRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyWriteRequestDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The growth rate of daily write request quantity.\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'GetDoctorHBaseRegionServer', - 'summary' => 'Obtains the information about an HBase region server.', + 'translator' => 'machine', ], - 'GetDoctorHBaseRegion' => [ - 'description' => 'List Doctor HBase Regions', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListNodes' => [ + 'summary' => 'Queries the node list of an EMR cluster.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -24206,310 +16197,223 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'list', + 'abilityTreeNodes' => ['FEATUREemapreduceSNGGYA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The ID of the region in which you want to create the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The ID of the cluster.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'Marks the current position where reading starts. If you set this value to null, you can start from the beginning.'."\n", 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The number of maximum number of records to obtain at a time. Valid values: 1 to 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'NodeGroupIds', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '区域ID。', - 'description' => 'Region ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + 'title' => '', + 'description' => 'The IDs of node groups.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the node group.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ng-869471354ecd****'."\n", 'title' => ''], + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', ], ], [ - 'name' => 'ClusterId', + 'name' => 'NodeIds', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群ID。', - 'description' => 'Cluster ID.', - 'type' => 'string', - 'required' => true, + 'title' => '', + 'description' => 'An array that consists of information about the ID of the node.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the node.'."\n", 'type' => 'string', 'required' => false, 'example' => 'i-bp1cudc25w2bfwl5****'."\n", 'title' => ''], + 'required' => false, 'example' => 'c-b933c5aac8fe****', + 'maxItems' => 100, ], ], [ - 'name' => 'DateTime', + 'name' => 'NodeNames', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => 'Date.', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', + 'title' => '', + 'description' => 'The names of the nodes.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The name of the node.'."\n", 'type' => 'string', 'required' => false, 'example' => 'core1-1', 'title' => ''], + 'required' => false, + 'example' => '20', + 'maxItems' => 100, ], ], [ - 'name' => 'HbaseRegionId', + 'name' => 'PrivateIps', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '', + 'description' => 'The private IP address.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The private IP address.'."\n", 'type' => 'string', 'required' => false, 'example' => '10.10.10.8', 'title' => ''], + 'required' => false, + 'example' => '["172.12.0.91"]', + 'maxItems' => 1, + ], + ], + [ + 'name' => 'PublicIps', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => 'Region ID.', - 'type' => 'string', - 'required' => true, - 'example' => '67f6808f60a8c357103a3a95fe00610e', + 'title' => '', + 'description' => 'The public IP address.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The public IP address.'."\n", 'type' => 'string', 'required' => false, 'example' => '42.1.1.**', 'title' => ''], + 'required' => false, + 'example' => '["120.13.14.38"]', + 'maxItems' => 1, + ], + ], + [ + 'name' => 'NodeStates', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '', + 'description' => 'The status of the node.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The status of the node. Valid values:'."\n" + ."\n" + .'* Pending: The instance is being created.'."\n" + .'* Starting: The instance is being started.'."\n" + .'* Running: The cluster is running.'."\n" + .'* Stopping: The gateway is being stopped.'."\n" + .'* Stopped: The instance is stopped.'."\n" + .'* Terminated: The instance is terminated.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Running', 'title' => ''], + 'required' => false, + 'example' => '["CREATED"]', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '', + 'description' => 'The tags.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The tag.'."\n", 'required' => false, '$ref' => '#/components/schemas/Tag', 'title' => '', 'example' => ''], + 'required' => false, + 'maxItems' => 20, + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'Returned data', + 'title' => '', + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'Returned data.', - 'type' => 'object', - 'properties' => [ - 'TableName' => [ - 'description' => 'Table name.', - 'type' => 'string', - 'example' => 'tb_item', - ], - 'RegionServerHost' => [ - 'description' => 'Host of the RegionServer.', - 'type' => 'string', - 'example' => 'emr-worker-2.cluster-20****', - ], - 'Metrics' => [ - 'description' => 'Metrics information.', - 'type' => 'object', - 'properties' => [ - 'TotalReadRequest' => [ - 'description' => 'Total read request count', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Metric name.', - 'type' => 'string', - 'example' => 'totalReadRequest', - ], - 'Value' => [ - 'description' => 'Metric value.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'Metric unit.', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Metric description.', - 'type' => 'string', - 'example' => 'Total read request', - ], - ], - ], - 'TotalWriteRequest' => [ - 'description' => 'Total write request count', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Metric name.', - 'type' => 'string', - 'example' => 'totalWriteRequest', - ], - 'Value' => [ - 'description' => 'Metric value.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'Metric unit.', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Metric description.', - 'type' => 'string', - 'example' => 'Total Write Request', - ], - ], - ], - 'StoreFileCount' => [ - 'description' => 'Store file count.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Metric name.', - 'type' => 'string', - 'example' => 'storeFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Description of the metric.', - 'type' => 'string', - 'example' => 'Number of store file', - ], - ], - ], - 'DailyReadRequest' => [ - 'description' => 'Number of read requests in a single day.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Name of the metric.', - 'type' => 'string', - 'example' => 'dailyReadRequest ', - ], - 'Value' => [ - 'description' => 'The value of the metric.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Description of the metric.', - 'type' => 'string', - 'example' => 'Number of read requests per day'."\n", - ], - ], - ], - 'DailyWriteRequest' => [ - 'description' => 'Number of write requests in a single day.', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'Name of the metric.', - 'type' => 'string', - 'example' => 'dailyWriteRequest ', - ], - 'Value' => [ - 'description' => 'The value of the metric.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'Description of the metric.', - 'type' => 'string', - 'example' => 'Number of write requests per day'."\n", - ], - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'Request ID.', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'Nodes' => [ + 'description' => 'The node list.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The node information.'."\n", '$ref' => '#/components/schemas/Node', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['title' => '', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '', 'description' => 'The position at which the next read starts. If null is returned, the data has been read.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries returned.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '', 'description' => 'The total number of records in this request.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Nodes\\": [\\n {\\n \\"AutoRenewDurationUnit\\": \\"Month\\",\\n \\"NodeState\\": \\"Running\\",\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"NodeName\\": \\"core1-1\\",\\n \\"PublicIp\\": \\"42.1.1.**\\",\\n \\"AutoRenew\\": false,\\n \\"CreateTime\\": 1603728394857,\\n \\"AutoRenewDuration\\": 1,\\n \\"PrivateIp\\": \\"10.10.**.**\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupType\\": \\"CORE\\",\\n \\"NodeId\\": \\"i-bp1cudc25w2bfwl5****\\",\\n \\"InstanceType\\": \\"ecs.g7.xlarge\\",\\n \\"ExpireTime\\": 1603728394857,\\n \\"MaintenanceStatus\\": \\"\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'ListNodes', + 'changeSet' => [ + ['createdAt' => '2023-12-07T07:46:47.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-10-12T15:24:20.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-10-12T06:06:54.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-10-12T06:06:54.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListNodes'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TableName\\": \\"tb_item\\",\\n \\"RegionServerHost\\": \\"emr-worker-2.cluster-20****\\",\\n \\"Metrics\\": {\\n \\"TotalReadRequest\\": {\\n \\"Name\\": \\"totalReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total read request\\"\\n },\\n \\"TotalWriteRequest\\": {\\n \\"Name\\": \\"totalWriteRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total Write Request\\"\\n },\\n \\"StoreFileCount\\": {\\n \\"Name\\": \\"storeFileCount\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of store file\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of read requests per day\\\\n\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\\\n\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'GetDoctorHBaseRegion', - 'summary' => 'Get HBase Region information.', - 'translator' => 'machine', ], - 'GetDoctorHBaseCluster' => [ - 'description' => 'get Doctor HBaseCluster', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListReleaseVersions' => [ + 'description' => 'Queries release versions.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -24517,1617 +16421,282 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'list', + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ClusterId', + 'name' => 'IaasType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['description' => 'The type of the IaaS resource.', 'type' => 'string', 'example' => 'ECS', 'title' => '', 'required' => false], ], [ - 'name' => 'DateTime', + 'name' => 'ClusterType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The date.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], + 'schema' => ['description' => 'The type of the cluster.', 'type' => 'string', 'required' => true, 'example' => 'DATALAKE', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'The returned data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Metrics' => [ - 'description' => 'The metric information.'."\n", - 'type' => 'object', - 'properties' => [ - 'TableCount' => [ - 'description' => 'The number of tables.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tableCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of tables', - ], - ], - ], - 'TotalDataSize' => [ - 'description' => 'The size of the cluster.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '256', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total data size in megabytes (MB)', - ], - ], - ], - 'TotalReadRequest' => [ - 'description' => 'The total number of read requests.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalReadRequest', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '430', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total number of read requests', - ], - ], - ], - 'TotalWriteRequest' => [ - 'description' => 'The total number of write requests.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalWriteRequest', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '520', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total number of write requests', - ], - ], - ], - 'AvgLoad' => [ - 'description' => 'The average load.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'avgLoad', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '36.0', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'The average load under normal working conditions', - ], - ], - ], - 'NormalAvgLoad' => [ - 'description' => 'The normal average load.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'normalAvgLoad', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '526.4', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'The average load under normal working conditions', - ], - ], - ], - 'RegionBalance' => [ - 'description' => 'The region balance degree.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'regionBalance', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'The ability to evenly distribute Regions on different RegionServer nodes', - ], - ], - ], - 'TotalRequest' => [ - 'description' => 'The total number of requests in the cluster.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalRequest', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '576', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total number of requests', - ], - ], - ], - 'RegionServerCount' => [ - 'description' => 'The number of region servers.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'regionServerCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of region servers count', - ], - ], - ], - 'RegionCount' => [ - 'description' => 'The number of regions.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'regionCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '161', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of regions count', - ], - ], - ], - 'MemHeap' => [ - 'description' => 'The memory size.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'memHeap', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '240', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Memory heap usage in megabytes (MB)', - ], - ], - ], - 'StoreFileCount' => [ - 'description' => 'The number of StoreFiles.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'storeFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '298', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of store files', - ], - ], - ], - 'DailyReadRequest' => [ - 'description' => 'The number of read requests in a day.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'dailyReadRequest', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '430', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of read requests per day', - ], - ], - ], - 'DailyWriteRequest' => [ - 'description' => 'The number of write requests in a day.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'dailyWriteRequest', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '128', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of write requests per day', - ], - ], - ], - ], - ], - 'Analysis' => [ - 'description' => 'The analysis result.'."\n", - 'type' => 'object', - 'properties' => [ - 'HbaseScore' => [ - 'description' => 'The overall score of the HBase cluster.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '85', - ], - ], + 'ReleaseVersions' => [ + 'description' => 'The major EMR versions.', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Series' => ['description' => 'The version series.', 'type' => 'string', 'example' => 'EMR-5.X', 'title' => ''], + 'ReleaseVersion' => ['description' => 'The EMR version.', 'type' => 'string', 'example' => 'EMR-5.8.0', 'title' => ''], + 'IaasType' => ['description' => 'The IaaS type.', 'type' => 'string', 'example' => 'ECS', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', 'title' => ''], + 'NextToken' => ['description' => 'Returns the location of the data that was read.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"TableCount\\": {\\n \\"Name\\": \\"tableCount\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tables\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 256,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\"\\n },\\n \\"TotalReadRequest\\": {\\n \\"Name\\": \\"totalReadRequest\\",\\n \\"Value\\": 430,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of read requests\\"\\n },\\n \\"TotalWriteRequest\\": {\\n \\"Name\\": \\"totalWriteRequest\\",\\n \\"Value\\": 520,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of write requests\\"\\n },\\n \\"AvgLoad\\": {\\n \\"Name\\": \\"avgLoad\\",\\n \\"Value\\": 36,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The average load under normal working conditions\\"\\n },\\n \\"NormalAvgLoad\\": {\\n \\"Name\\": \\"normalAvgLoad\\",\\n \\"Value\\": 526.4,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The average load under normal working conditions\\"\\n },\\n \\"RegionBalance\\": {\\n \\"Name\\": \\"regionBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The ability to evenly distribute Regions on different RegionServer nodes\\"\\n },\\n \\"TotalRequest\\": {\\n \\"Name\\": \\"totalRequest\\",\\n \\"Value\\": 576,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of requests\\"\\n },\\n \\"RegionServerCount\\": {\\n \\"Name\\": \\"regionServerCount\\",\\n \\"Value\\": 6,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of region servers count\\"\\n },\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 161,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"MemHeap\\": {\\n \\"Name\\": \\"memHeap\\",\\n \\"Value\\": 240,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Memory heap usage in megabytes (MB)\\"\\n },\\n \\"StoreFileCount\\": {\\n \\"Name\\": \\"storeFileCount\\",\\n \\"Value\\": 298,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of store files\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 430,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of read requests per day\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 128,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HbaseScore\\": 85\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'GetDoctorHBaseCluster', - 'summary' => 'Obtains the metrics of an HBase cluster.', - ], - 'GetDoctorHDFSDirectory' => [ - 'description' => 'get Doctor HDFSNode', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ReleaseVersions\\": [\\n {\\n \\"Series\\": \\"EMR-5.X\\",\\n \\"ReleaseVersion\\": \\"EMR-5.8.0\\",\\n \\"IaasType\\": \\"ECS\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListReleaseVersions', + 'summary' => 'Queries the major E-MapReduce (EMR) versions.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:02.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListReleaseVersions'], + ], ], + 'ramActions' => [], + 'translator' => 'manual', + ], + 'ListScripts' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'list', + 'abilityTreeCode' => '119909', + 'abilityTreeNodes' => ['FEATUREemapreduceY1BE2N', 'FEATUREemapreduce42QKNE'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****', 'title' => ''], ], [ - 'name' => 'DateTime', + 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], + 'schema' => ['description' => 'The token that marks the position from which to start reading.', 'type' => 'string', 'example' => 'dd6b1b2a-5837-5237-abe4-ff0c89568980', 'title' => '', 'required' => false], ], [ - 'name' => 'DirPath', + 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['description' => 'The maximum number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => '', 'required' => false], + ], + [ + 'name' => 'ScriptType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The type of the cluster script. Valid values:'."\n" + ."\n" + .'- BOOTSTRAP: a bootstrap script.'."\n" + ."\n" + .'- NORMAL: a normal cluster script.', 'type' => 'string', 'required' => true, 'example' => 'BOOTSTRAP', 'title' => ''], + ], + [ + 'name' => 'ScriptName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the cluster script. This parameter is valid only for NORMAL scripts and supports fuzzy search.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => ''], + ], + [ + 'name' => 'ScriptId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the cluster script. This parameter is valid only for NORMAL scripts.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => ''], + ], + [ + 'name' => 'Statuses', + 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => 'The directory name. The depth of the directory is not greater than five.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '/tmp/test', + 'title' => '', + 'description' => 'The list of script statuses.', + 'type' => 'array', + 'items' => ['description' => 'The script status. This parameter is valid only for NORMAL scripts.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'required' => false, + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'The analysis results of the HDFS directory.'."\n", - 'type' => 'object', - 'properties' => [ - 'Depth' => [ - 'description' => 'The directory level.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'User' => [ - 'description' => 'The directory owner.'."\n", - 'type' => 'string', - 'example' => 'DW', - ], - 'Group' => [ - 'description' => 'The group to which the directory belongs.'."\n", - 'type' => 'string', - 'example' => 'DW', - ], - 'Metrics' => [ - 'description' => 'The metric information.'."\n", - 'type' => 'object', - 'properties' => [ - 'TotalFileCount' => [ - 'description' => 'The total number of files.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '51683279', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of total files'."\n", - ], - ], - ], - 'LargeFileCount' => [ - 'description' => 'The number of large files. Large files are those with a size greater than 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of large files'."\n", - ], - ], - ], - 'MediumFileCount' => [ - 'description' => 'The number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '234', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of medium files'."\n", - ], - ], - ], - 'SmallFileCount' => [ - 'description' => 'The number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of small files'."\n", - ], - ], - ], - 'TinyFileCount' => [ - 'description' => 'The number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '232131', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of tiny files'."\n", - ], - ], - ], - 'EmptyFileCount' => [ - 'description' => 'The number of empty files. Empty files are those with a size of 0 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15595897', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of empty files'."\n", - ], - ], - ], - 'HotDataSize' => [ - 'description' => 'The amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6701531944206', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the hot data size'."\n", - ], - ], - ], - 'WarmDataSize' => [ - 'description' => 'The amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4062349775577', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the warm data size', - ], - ], - ], - 'ColdDataSize' => [ - 'description' => 'The amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5570958082267', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the cold data size'."\n", - ], - ], - ], - 'FreezeDataSize' => [ - 'description' => 'The amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1231312431', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the freeze data size'."\n", - ], - ], - ], - 'TotalDataSize' => [ - 'description' => 'The total amount of data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataSize'."\n", - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '62086342083623', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total data size in megabytes (MB)'."\n", - ], - ], - ], - 'TotalFileDayGrowthCount' => [ - 'description' => 'The daily increment of the total number of files.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27809', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of total files'."\n", - ], - ], - ], - 'LargeFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of large files'."\n", - ], - ], - ], - 'MediumFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '176', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of medium files'."\n", - ], - ], - ], - 'SmallFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of small files'."\n", - ], - ], - ], - 'TinyFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-123'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of tiny files'."\n", - ], - ], - ], - 'EmptyFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileDayGrowthCount'."\n", - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '114', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of empty files'."\n", - ], - ], - ], - 'HotDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123154'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of hot data'."\n", - ], - ], - ], - 'WarmDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-64806998319'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of warm data'."\n", - ], - ], - ], - 'ColdDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-182636577752'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of cold data'."\n", - ], - ], - ], - 'FreezeDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-167683929450'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of freeze data'."\n", - ], - ], - ], - 'TotalDataDayGrowthSize' => [ - 'description' => 'The daily incremental of the total amount of data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '256482228248', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of total data'."\n", - ], - ], - ], - 'TotalFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the total number of files.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileCountDayGrowthRatio'."\n", - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.02'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of total files'."\n", - ], - ], - ], - 'LargeFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.39'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of large files'."\n", - ], - ], - ], - 'MediumFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.19'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of medium files'."\n", - ], - ], - ], - 'SmallFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.02'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of small files'."\n", - ], - ], - ], - 'TinyFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.003'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of tiny files'."\n", - ], - ], - ], - 'EmptyFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => ' '."\n" - .'0.005'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of empty files'."\n", - ], - ], - ], - 'HotDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.1114'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of hot data size'."\n", - ], - ], - ], - 'WarmDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '-0.015'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of warm data size'."\n", - ], - ], - ], - 'ColdDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '-0.03'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of cold data size'."\n", - ], - ], - ], - 'FreezeDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '-0.09'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of freeze data size'."\n", - ], - ], - ], - 'TotalDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the total data volume.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => ' '."\n" - .'0.14'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of total data size'."\n", - ], - ], - ], - ], + 'Scripts' => [ + 'description' => 'The list of scripts.', + 'type' => 'array', + 'items' => [ + 'description' => 'The script.', + 'type' => 'object', + 'properties' => [ + 'Action' => ['description' => 'The name of the API.', 'type' => 'string', 'example' => 'ListScripts', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'ScriptId' => ['description' => 'The script ID.', 'type' => 'string', 'example' => 'cs-bf25219d103043a0820613e32781****', 'title' => ''], + 'ScriptName' => ['description' => 'The script name.', 'type' => 'string', 'example' => 'check_env', 'title' => ''], + 'ScriptPath' => ['description' => 'The script path.', 'type' => 'string', 'example' => 'oss://bucket1/check_evn.sh', 'title' => ''], + 'ScriptArgs' => ['description' => 'The runtime parameters of the script.', 'type' => 'string', 'example' => '--mode=client -h -p', 'title' => ''], + 'LastUpdateTime' => ['description' => 'The time when the script was last updated.', 'type' => 'integer', 'format' => 'int64', 'example' => '1639714634819', 'title' => ''], + 'ExecutionFailStrategy' => ['description' => 'The policy used to handle an execution failure. Valid values:'."\n" + ."\n" + .'- FAILED\\_CONTINUE: Continue the execution.'."\n" + ."\n" + .'- FAILED\\_BLOCK: Block the execution.', 'type' => 'string', 'example' => 'FAILED_CONTINUE', 'title' => ''], + 'ExecutionMoment' => ['description' => 'The time to execute the script. Valid values:'."\n" + ."\n" + .'- BEFORE\\_INSTALL: before application installation.'."\n" + ."\n" + .'- AFTER\\_STARTED: after application startup.', 'type' => 'string', 'example' => 'BEFORE_INSTALL', 'title' => ''], + 'NodeSelector' => ['description' => 'The node selector.', '$ref' => '#/components/schemas/NodeSelector', 'title' => '', 'example' => ''], + 'StartTime' => ['description' => 'The time when the execution started. This parameter is returned only when ScriptType is set to NORMAL.', 'type' => 'integer', 'format' => 'int64', 'example' => '1639714634000', 'title' => ''], + 'EndTime' => ['description' => 'The time when the execution ended. This parameter is returned only when ScriptType is set to NORMAL.', 'type' => 'integer', 'format' => 'int64', 'example' => '1639715635819', 'title' => ''], + 'ExecutionState' => ['description' => 'The execution status of the script. This parameter is returned only when `ScriptType` is set to `NORMAL`. Valid values:'."\n" + ."\n" + .'- SCRIPT\\_COMPLETED: The script is successfully executed.'."\n" + ."\n" + .'- SCRIPT\\_SUBMISSION\\_FAILED: The script fails to be executed.'."\n" + ."\n" + .'- SCRIPT\\_RUNNING: The script is being executed.', 'type' => 'string', 'example' => 'SCRIPT_COMPLETED', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', 'title' => ''], + 'NextToken' => ['description' => 'The token that is used to start the next query.', 'type' => 'string', 'example' => 'dd6b1b2a-5837-5237-abe4-ff0c89568982', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of entries returned in the request.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries that meet the request conditions.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Depth\\": 2,\\n \\"User\\": \\"DW\\",\\n \\"Group\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 51683279,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 234,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 232131,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 15595897,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 6701531944206,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 4062349775577,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 5570958082267,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1231312431,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\\\n\\",\\n \\"Value\\": 62086342083623,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 27809,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 2,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 176,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": -123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\\\n\\",\\n \\"Value\\": 114,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 123154,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": -64806998319,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": -182636577752,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": -167683929450,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 256482228248,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\\\n\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.39,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.003,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.005,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.1114,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.015,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.03,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.09,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.14,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'GetDoctorHDFSDirectory', - 'summary' => 'Obtains the analysis results of a specific Hadoop Distributed File System (HDFS) directory of a cluster. The depth of the directory is not greater than five.', - ], - 'ListDoctorJobsStats' => [ - 'description' => 'list stats groupBy jobs by yarn', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Scripts\\": [\\n {\\n \\"Action\\": \\"ListScripts\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ScriptId\\": \\"cs-bf25219d103043a0820613e32781****\\",\\n \\"ScriptName\\": \\"check_env\\",\\n \\"ScriptPath\\": \\"oss://bucket1/check_evn.sh\\",\\n \\"ScriptArgs\\": \\"--mode=client -h -p\\",\\n \\"LastUpdateTime\\": 1639714634819,\\n \\"ExecutionFailStrategy\\": \\"FAILED_CONTINUE\\",\\n \\"ExecutionMoment\\": \\"BEFORE_INSTALL\\",\\n \\"NodeSelector\\": {\\n \\"NodeGroupTypes\\": [\\n \\"MASTER\\"\\n ],\\n \\"NodeGroupName\\": \\"master-1\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupNames\\": [\\n \\"master-1\\"\\n ],\\n \\"NodeSelectType\\": \\"CLUSTER\\",\\n \\"NodeGroupIds\\": [\\n \\"ng-869471354ecd****\\"\\n ],\\n \\"NodeNames\\": [\\n \\"master-1-1\\"\\n ]\\n },\\n \\"StartTime\\": 1639714634000,\\n \\"EndTime\\": 1639715635819,\\n \\"ExecutionState\\": \\"SCRIPT_COMPLETED\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"dd6b1b2a-5837-5237-abe4-ff0c89568982\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListScripts', + 'summary' => 'Queries the bootstrap or normal scripts of an EMR cluster.', + 'changeSet' => [ + ['createdAt' => '2025-01-16T14:05:33.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-06-18T08:43:31.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListScripts'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListScripts', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'machine', + ], + 'ListTagResources' => [ + 'summary' => 'Queries the tags attached to E-MapReduce (EMR) clusters.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26136,866 +16705,426 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '24996', + 'abilityTreeNodes' => ['FEATUREemapreduceGZP0FZ', 'FEATUREemapreduceZG5CIX'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ClusterId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['title' => '', 'description' => 'The token to start the query. Leave this parameter empty to start the query from the beginning.', 'type' => 'string', 'required' => false, 'example' => '2'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The maximum number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['title' => '', 'description' => 'The maximum number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ - 'name' => 'StartRange', + 'name' => 'ResourceType', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'The range of start time. You can filter jobs whose start time falls within the specified time range.'."\n", - 'type' => 'object', - 'properties' => [ - 'StartTime' => [ - 'description' => 'The beginning of the time range during which jobs were submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1679036826987', - ], - 'EndTime' => [ - 'description' => 'The end of the time range during which jobs were submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1666406820000', - ], - ], - 'required' => false, - ], + 'schema' => ['title' => '', 'description' => 'The resource type. Set the value to \\`cluster\\`.', 'type' => 'string', 'required' => true, 'example' => 'cluster'], ], [ - 'name' => 'EndRange', + 'name' => 'ResourceIds', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'description' => 'The range of end time. You can filter jobs whose end time falls within the specified time range.'."\n", - 'type' => 'object', - 'properties' => [ - 'StartTime' => [ - 'description' => 'The beginning of the time range during which jobs ended. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1675180800000', - ], - 'EndTime' => [ - 'description' => 'The end of the time range during which jobs ended. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1680019200000', - ], - ], + 'title' => '', + 'description' => 'The list of resource IDs. The number of elements in the array N must be 1.', + 'type' => 'array', + 'items' => ['description' => 'The resource ID. If \\`ResourceType\\` is set to \\`cluster\\`, this parameter specifies the cluster ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'c-b933c5aac8fe****'], 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + 'maxItems' => 1, ], ], [ - 'name' => 'GroupBy', + 'name' => 'Tags', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'description' => 'The fields that are used for grouping data.'."\n" - ."\n" - .'Currently, only the first value is used for grouping data. Combinations of multiple values will be supported in the future.'."\n", + 'title' => '', + 'description' => 'The tags. The number of elements in the array N can be from 1 to 20.', 'type' => 'array', - 'items' => [ - 'description' => 'The field that is used for grouping data. Valid values:'."\n" - ."\n" - .'* queue: grouping by queue'."\n" - .'* user: grouping by user'."\n" - .'* type: grouping by engine type'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'type', - ], + 'items' => ['description' => 'The tag.', 'required' => false, '$ref' => '#/components/schemas/Tag', 'title' => '', 'example' => ''], 'required' => false, - 'example' => 'null', - ], - ], - [ - 'name' => 'OrderType', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The order in which you want to sort the query results. Valid values:'."\n" - ."\n" - .'* ASC: in ascending order'."\n" - .'* DESC: in descending order'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], - ], - [ - 'name' => 'OrderBy', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The field that you use to sort the query results. Valid values:'."\n" - ."\n" - .'* vcoreSeconds: the aggregated number of vCPUs that are allocated to the job multiplied by the number of seconds the job has been running'."\n" - .'* memSeconds: the aggregated amount of memory that is allocated to the job multiplied by the number of seconds the job has been running'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vcoreSeconds', + 'example' => '20', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'The summary of job information.'."\n", + 'TagResources' => [ + 'description' => 'The list of tag resources. It contains the resource ID, resource type, tag key, and tag value.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The tag resource.', 'type' => 'object', 'properties' => [ - 'Queue' => [ - 'description' => 'The YARN queue to which the job was submitted.'."\n", - 'type' => 'string', - 'example' => 'DW', - ], - 'Type' => [ - 'description' => 'The type of the compute engine.'."\n", - 'type' => 'string', - 'example' => 'SPARK', - ], - 'User' => [ - 'description' => 'The username that is used to submit the job.'."\n", - 'type' => 'string', - 'example' => 'DW', - ], - 'VcoreSeconds' => [ - 'description' => 'The aggregated number of vCPUs that are allocated to the job multiplied by the number of seconds the job has been running.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'vcoreSeconds', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11123', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'VCores * Sec', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total vcore usage over time in seconds', - ], - ], - ], - 'MemSeconds' => [ - 'description' => 'The aggregated amount of memory that is allocated to the job multiplied by the number of seconds the job has been running.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'memSeconds', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12312312', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB * Sec', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total memory usage over time in seconds', - ], - ], - ], - 'AppsCount' => [ - 'description' => 'The total number of jobs.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'appsCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total apps count', - ], - ], - ], + 'TagKey' => ['title' => '', 'description' => 'The tag key.', 'type' => 'string', 'example' => 'Department'], + 'TagValue' => ['title' => '', 'description' => 'The tag value.', 'type' => 'string', 'example' => 'Dev'], + 'ResourceType' => ['title' => '', 'description' => 'The resource type.', 'type' => 'string', 'example' => 'cluster'], + 'ResourceId' => ['title' => '', 'description' => 'The resource ID.', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'A pagination token.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The maximum number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '372D4E9B-2509-5EFA-846B-B34FBF143F56'], + 'NextToken' => ['title' => '', 'description' => 'The token that is used to start the next query. If this parameter is not returned, all results have been returned.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '', 'description' => 'The maximum number of entries returned in this request.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '', 'description' => 'The total number of entries that meet the filter criteria.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'title' => 'ListTagResources', + 'changeSet' => [ + ['createdAt' => '2023-07-06T06:56:50.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-12-02T02:56:41.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-10-12T06:06:50.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-10-12T06:06:50.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-10-12T06:06:50.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTagResources'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Queue\\": \\"DW\\",\\n \\"Type\\": \\"SPARK\\",\\n \\"User\\": \\"DW\\",\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n },\\n \\"AppsCount\\": {\\n \\"Name\\": \\"appsCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total apps count\\"\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => 'ListDoctorJobsStats', - 'summary' => 'Obtains the summary of basic running information about multiple jobs at a time on E-MapReduce (EMR) Doctor.', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TagResources\\": [\\n {\\n \\"TagKey\\": \\"Department\\",\\n \\"TagValue\\": \\"Dev\\",\\n \\"ResourceType\\": \\"cluster\\",\\n \\"ResourceId\\": \\"c-b933c5aac8fe****\\"\\n }\\n ],\\n \\"RequestId\\": \\"372D4E9B-2509-5EFA-846B-B34FBF143F56\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'translator' => 'manual', ], - 'ListDoctorReports' => [ - 'description' => 'list all reports analysis by emr doctor', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListUsers' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'abilityTreeCode' => '119862', + 'abilityTreeNodes' => ['FEATUREemapreduceQF0AGF'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['description' => 'The pagination token that is used in the request to retrieve a new page of results.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', 'title' => '', 'required' => false], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['description' => 'The maximum number of entries to return.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => '', 'required' => false], + ], + [ + 'name' => 'UserName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The username. Fuzzy match is supported.', 'type' => 'string', 'example' => 'test', 'title' => '', 'required' => false], + ], + [ + 'name' => 'UserNames', + 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The usernames. Number of elements in the array: 0 to 20.', + 'type' => 'array', + 'items' => ['description' => 'The username.', 'type' => 'string', 'required' => false, 'example' => 'xi', 'title' => ''], 'required' => false, - 'example' => '20', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'The reports.'."\n", + 'IsAdmin' => ['description' => 'Indicates whether the user is an admin user. Valid values:'."\n" + ."\n" + .'- true'."\n" + ."\n" + .'- false', 'type' => 'boolean', 'deprecated' => true, 'example' => 'False', 'title' => ''], + 'Users' => [ + 'title' => '', + 'description' => 'The users.', 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'DateTime' => [ - 'description' => 'The date on which the report was generated.'."\n", - 'type' => 'string', - 'example' => '2023-06-29', - ], - 'ComponentTypes' => [ - 'description' => 'The component types.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* compute'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .'* hive'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .'* hdfs'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .'* yarn'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .'* oss'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .'* hbase'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n" - ."\n" - .' <!-- -->'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The type of the component. Valid values:'."\n" - ."\n" - .'* compute'."\n" - .'* hive'."\n" - .'* hdfs'."\n" - .'* yarn'."\n" - .'* oss'."\n" - .'* hbase'."\n", - 'type' => 'string', - 'example' => 'compute', - ], - 'enumValueTitles' => [ - 'compute' => 'compute', - 'hive' => 'hive', - 'hdfs' => 'hdfs', - 'yarn' => 'yarn', - 'oss' => 'oss', - 'hbase' => 'hbase', - ], - 'example' => 'null', - ], - 'SummaryReport' => [ - 'description' => 'The summary of the report.'."\n", - 'type' => 'object', - 'properties' => [ - 'Score' => [ - 'description' => 'The score.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '88', - ], - 'Summary' => [ - 'description' => 'The summary of the report.'."\n", - 'type' => 'string', - 'example' => 'eastbuy-mse-plugin-auth', - ], - 'Suggestion' => [ - 'description' => 'The optimization suggestion.'."\n", - 'type' => 'string', - 'example' => 'block', - ], - ], - ], + 'LdapUrl' => ['description' => 'The Lightweight Directory Access Protocol (LDAP) link.', 'type' => 'string', 'title' => '', 'example' => 'ldap://master-1-1.c-c6ce2d16d118****.cn-hangzhou.emr.aliyuncs.com:10389'], + 'UserId' => ['description' => 'The user ID.', 'type' => 'string', 'example' => '125046002175****', 'title' => ''], + 'UserName' => ['description' => 'The username.', 'type' => 'string', 'title' => '', 'example' => 'yun****'], + 'KeytabHex' => ['description' => 'The Base64-encoded content of the keytab file.', 'type' => 'string', 'example' => 'DBEDASDF==', 'title' => ''], + 'CreateTime' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1509338726362', 'title' => ''], + 'Description' => ['description' => 'The remarks.', 'type' => 'string', 'example' => 'Add test user', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'A pagination token.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The maximum number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', 'title' => ''], + 'NextToken' => ['description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IsAdmin\\": true,\\n \\"Users\\": [\\n {\\n \\"LdapUrl\\": \\"ldap://master-1-1.c-c6ce2d16d118****.cn-hangzhou.emr.aliyuncs.com:10389\\",\\n \\"UserId\\": \\"125046002175****\\",\\n \\"UserName\\": \\"yun****\\",\\n \\"KeytabHex\\": \\"DBEDASDF==\\",\\n \\"CreateTime\\": 1509338726362,\\n \\"Description\\": \\"Add test user\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListUsers', + 'summary' => 'Queries a user.', + 'description' => 'Queries a user.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListUsers'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListUsers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"DateTime\\": \\"2023-06-29\\",\\n \\"ComponentTypes\\": [\\n \\"compute\\"\\n ],\\n \\"SummaryReport\\": {\\n \\"Score\\": 88,\\n \\"Summary\\": \\"<h4> [计算检测] 计算健康度分数为 88 ,健康度良好,继续加油 </h4><p style=\'\'text-indent:2em\'\'>集群中大部分任务保持健康状态 </p><p style=\'\'text-indent:2em\'\'>集群内存利用率为:47.8% 偏低 </p>\\",\\n \\"Suggestion\\": \\"<h3> 计算健康度分数为 88 ,集群处于健康状态,继续保持 </h3><ul><li><strong>计算任务扫描</strong><ul><li>对集群中 1518 个计算任务进行了扫描,包含 <span style=\'\'color: #D93026; \'\'>209 个任务处于不健康状态 </span>,<span style=\'\'color: #F1A600; \'\'>596 个任务处于亚健康状态 </span>,<span style=\'\'color: #1E8E3E; \'\'>713 个任务处于健康状态</span>。 </ul><ul>其中:<li> Tez 任务 1518 个,加权平均分为 88 ,内存使用量占整体集群的 100.0% ,CPU 使用量占整体集群的 100.0% ,其中 209 个任务处于不健康状态,596 个任务处于亚健康状态;</li></ul><ul>可在下面的任务明细列表中点击\'\'查看详情\'\',查看存在的具体问题及解决方案。其中\'\'低分任务算力内存时 (GB*Sec)Top20 \'\'表根据内存时使用量进行排序,由于大任务对集群整体影响可能更大,建议优先关注。</ul><li><strong><span style=\'\'color: #D93026; \'\'>内存利用率较低</span></strong><ul><li>集群整体内存利用率为 47.8% ,内存利用率较低,计算资源存在浪费,建议优先对内存算力时较大且内存利用率较低的 TOP 任务进行优化</ul><ul><li>其中,Tez作业平均内存利用率为 47.8% , </ul></ul>\\"\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => 'ListDoctorReports', - 'summary' => 'Obtains the overall analysis result reports of E-MapReduce (EMR) Doctor at a time.', + 'translator' => 'manual', ], - 'GetDoctorReportComponentSummary' => [ - 'description' => 'get specify component\'s report analysis by EMR Doctor', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PutAutoScalingPolicy' => [ + 'summary' => 'Creates a custom Auto Scaling policy.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '145776', + 'abilityTreeNodes' => ['FEATUREemapreduceYE4TE8'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'Region ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'Cluster ID.', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'DateTime', + 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => 'dateTime for specify report', - 'description' => 'Report date.', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], + 'schema' => ['title' => '', 'description' => 'The node group ID.', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], ], [ - 'name' => 'ComponentType', + 'name' => 'ScalingRules', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => 'component type', - 'description' => 'Select component filter type. Values: '."\n" - .'- compute '."\n" - .'- hive'."\n" - .'- hdfs'."\n" - .'- yarn'."\n" - .'- oss'."\n" - .'- hbase', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'compute' => 'compute', - 'hive' => 'hive', - 'hdfs' => 'hdfs', - 'yarn' => 'yarn', - 'oss' => 'oss', - 'hbase' => 'hbase', - ], - 'example' => 'compute', + 'title' => '', + 'description' => 'The scaling rules. The number of elements in the array can be from 0 to 100.', + 'type' => 'array', + 'items' => ['description' => 'A scaling rule.', 'required' => false, '$ref' => '#/components/schemas/ScalingRule', 'title' => '', 'example' => ''], + 'required' => false, + 'maxItems' => 100, + 'example' => '', ], ], + [ + 'name' => 'Constraints', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => ['title' => '', 'description' => 'The maximum and minimum size constraints for the node group.', 'required' => false, '$ref' => '#/components/schemas/ScalingConstraints', 'example' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'The content of the report.'."\n", - 'type' => 'object', - 'properties' => [ - 'Score' => [ - 'description' => 'Score.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '88', - ], - 'Summary' => [ - 'description' => 'The summary of the report.'."\n", - 'type' => 'string', - 'example' => '', - ], - 'Suggestion' => [ - 'description' => 'Optimization suggestions.', - 'type' => 'string', - 'example' => '', - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'Request ID.', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'NotFound.Cluster', 'errorMessage' => 'Cluster does not exist.', 'description' => ''], + ['errorCode' => 'InvokeError.PutAutoScalingPolicy', 'errorMessage' => 'Put auto scaling policy failed:%s.', 'description' => ''], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Score\\": 88,\\n \\"Summary\\": \\" [计算检测] 计算健康度分数为 88 ,健康度良好,继续加油\\\\n集群中大部分任务保持健康状态\\\\n集群内存利用率为: 47.8% 偏低\\",\\n \\"Suggestion\\": \\"计算健康度分数为 88 ,集群处于健康状态,继续保持 \\\\n计算任务扫描\\\\n对集群中 1518 个计算任务进行了扫描,包含 209 个任务处于不健康状态 ,596 个任务处于亚健康状态 ,713 个任务处于健康状态。 \\\\n其中:\\\\n Tez 任务 1518 个,加权平均分为 88 ,内存使用量占整体集群的 100.0% ,CPU 使用量占整体集群的 100.0% ,其中 209 个任务处于不健康状态,596 个任务处于亚健康状态;\\\\n可在下面的任务明细列表中点击\'\'查看详情\'\',查看存在的具体问题及解决方案。其中\'\'低分任务算力内存时 (GB*Sec)Top20 \'\'表根据内存时使用量进行排序,由于大任务对集群整体影响可能更大,建议优先关注。\\\\n内存利用率较低\\\\n集群整体内存利用率为 47.8% ,内存利用率较低,计算资源存在浪费,建议优先对内存算力时较大且内存利用率较低的 TOP 任务进行优化\\\\n其中,Tez作业平均内存利用率为 47.8% \\"\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'GetDoctorReportComponentSummary', - 'summary' => 'Obtain the analysis result report of a specified component from EMR Doctor.', - 'translator' => 'machine', - ], - 'ListDoctorJobs' => [ - 'description' => 'list realtime jobs by yarn', - 'methods' => [ - 'get', - 'post', + 'title' => 'PutAutoScalingPolicy', + 'description' => 'Configures an Auto Scaling policy.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:42:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-08-25T03:32:08.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'PutAutoScalingPolicy'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:PutAutoScalingPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'PutManagedScalingPolicy' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -27003,5322 +17132,1871 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '235212', + 'abilityTreeNodes' => ['FEATUREemapreduceB95X9C'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****', 'title' => ''], ], [ - 'name' => 'NextToken', + 'name' => 'Constraints', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => ['description' => 'The maximum and minimum value constraints for the cluster.', '$ref' => '#/components/schemas/ManagedScalingConstraints', 'required' => false, 'title' => '', 'example' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + 'title' => '', + 'description' => 'The data returned.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', 'title' => ''], + ], + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], + ], + 503 => [ + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'PutManagedScalingPolicy', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:PutManagedScalingPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'summary' => '', + 'translator' => 'machine', + ], + 'RemoveAutoScalingPolicy' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '145777', + 'abilityTreeNodes' => ['FEATUREemapreduceEL79NN'], + ], + 'parameters' => [ [ - 'name' => 'MaxResults', + 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The maximum number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'StartRange', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '开始range', - 'description' => 'The range of start time. You can filter jobs whose start time falls within the specified time range.'."\n", - 'type' => 'object', - 'properties' => [ - 'StartTime' => [ - 'description' => 'The beginning of the time range during which jobs were submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1683340662016', - ], - 'EndTime' => [ - 'description' => 'The end of the time range during which jobs were submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1683340662020', - ], - ], - 'required' => false, - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'EndRange', + 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', + 'schema' => ['title' => '', 'description' => 'The ID of the node group.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '结束range', - 'description' => 'The range of end time. You can filter jobs whose end time falls within the specified time range.'."\n", + 'title' => '', + 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'StartTime' => [ - 'description' => 'The beginning of the time range during which jobs ended. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1679135111960', - ], - 'EndTime' => [ - 'description' => 'The end of the time range during which jobs ended. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1666865137099', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], - 'required' => false, + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], + ], + 503 => [ + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'RemoveAutoScalingPolicy', + 'summary' => 'Removes an auto scaling policy.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RemoveAutoScalingPolicy'], + ], + ], + 'ramActions' => [ [ - 'name' => 'AppIds', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => 'app ID数组', - 'description' => 'The IDs of the jobs that are submitted to YARN.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the job that is submitted to YARN.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'application_1643475036865_******'."\n", + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'emr:RemoveAutoScalingPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'required' => false, - 'example' => 'null', ], ], + ], + ], + 'RunApiTemplate' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Users', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'The users who submit the jobs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The username that is used to submit the job to YARN.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DW'."\n", - ], - 'required' => false, - 'example' => 'null', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '189472', + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], + ], + 'parameters' => [ [ - 'name' => 'Queues', + 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'The YARN queues to which the jobs are submitted.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of the YARN queue to which the job is submitted.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DW'."\n", - ], - 'required' => false, - 'example' => 'null', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Types', + 'name' => 'TemplateId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'The YARN engines to which the jobs are submitted.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The type of the YARN engine to which the job is submitted.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SPARK', - ], - 'required' => false, - 'example' => 'null', - ], + 'schema' => ['description' => 'The cluster template ID.', 'type' => 'string', 'required' => true, 'example' => 'AT-****', 'title' => ''], ], [ - 'name' => 'OrderType', + 'name' => 'ApiName', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '排序类型', - 'description' => 'The order in which you want to sort the query results. Valid values:'."\n" - ."\n" - .'* ASC: the ascending order'."\n" - .'* DESC: the descending order'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], + 'schema' => ['description' => 'The API name.', 'type' => 'string', 'required' => true, 'example' => 'CreateCluster', 'title' => ''], ], [ - 'name' => 'OrderBy', + 'name' => 'ClientToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '排序字段', - 'description' => 'The field that you use to sort the query results. Valid values:'."\n" - ."\n" - .'* vcoreSeconds: the aggregated number of vCPUs that are allocated to the job multiplied by the number of seconds the job has been running'."\n" - .'* memSeconds: the aggregated amount of memory that is allocated to the job multiplied by the number of seconds the job has been running'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vcoreSeconds', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.', 'type' => 'string', 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****', 'title' => '', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'The information about the jobs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'AppId' => [ - 'description' => 'The ID of the job that was submitted to YARN.'."\n", - 'type' => 'string', - 'example' => 'application_1607584549220_*****', - ], - 'AppName' => [ - 'description' => 'The name of the job.'."\n", - 'type' => 'string', - 'example' => 'tpcds', - ], - 'User' => [ - 'description' => 'The username that was used to submit the job.'."\n", - 'type' => 'string', - 'example' => 'DW', - ], - 'Queue' => [ - 'description' => 'The YARN queue to which the job was submitted.'."\n", - 'type' => 'string', - 'example' => 'DW', - ], - 'State' => [ - 'description' => 'The running state of the job. Valid values:'."\n" - ."\n" - .'* FINISHED'."\n" - .'* FAILED'."\n" - .'* KILLED'."\n", - 'type' => 'string', - 'example' => 'FINISHED', - ], - 'FinalStatus' => [ - 'description' => 'The final state of the job. Valid values:'."\n" - ."\n" - .'* SUCCEEDED'."\n" - .'* FAILED'."\n" - .'* KILLED'."\n" - .'* ENDED'."\n" - .'* UNDEFINED'."\n", - 'type' => 'string', - 'example' => 'KILLED', - ], - 'Type' => [ - 'description' => 'The type of the compute engine.'."\n", - 'type' => 'string', - 'example' => 'SPARK', - ], - 'StartTime' => [ - 'description' => 'The time when the job was submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1675180800000', - ], - 'LaunchTime' => [ - 'description' => 'The time when the job was started. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1672148400000', - ], - 'ElapsedTime' => [ - 'description' => 'The total running time of the job. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '242', - ], - 'FinishTime' => [ - 'description' => 'The end time of the job. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1683690929000', - ], - 'Metrics' => [ - 'description' => 'The data about the metrics.'."\n", - 'type' => 'object', - 'properties' => [ - 'VcoreSeconds' => [ - 'description' => 'The CPU usage.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'vcoreSeconds'."\n", - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11123', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'VCores * Sec'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total vcore usage over time in seconds'."\n", - ], - ], - ], - 'MemSeconds' => [ - 'description' => 'The amount of memory consumed.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'memSeconds', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12312312', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB * Sec'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total memory usage over time in seconds'."\n", - ], - ], - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'A pagination token.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The maximum number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'Data' => ['description' => 'The content returned for the request.', 'type' => 'string', 'example' => '{\\"clusterId\\":\\"c-b7be171f1928****\\",\\"operationId\\":\\"op-61126efe629d****\\"}', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"{\\\\\\\\\\\\\\"clusterId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"c-b7be171f1928****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operationId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"op-61126efe629d****\\\\\\\\\\\\\\"}\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'RunApiTemplate', + 'summary' => 'Runs an API template.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:42:57.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:RunApiTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"AppId\\": \\"application_1607584549220_*****\\",\\n \\"AppName\\": \\"tpcds\\",\\n \\"User\\": \\"DW\\",\\n \\"Queue\\": \\"DW\\",\\n \\"State\\": \\"FINISHED\\",\\n \\"FinalStatus\\": \\"KILLED\\",\\n \\"Type\\": \\"SPARK\\",\\n \\"StartTime\\": 1675180800000,\\n \\"LaunchTime\\": 1672148400000,\\n \\"ElapsedTime\\": 242,\\n \\"FinishTime\\": 1683690929000,\\n \\"Metrics\\": {\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\\\n\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\\\n\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\\\n\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\\\n\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\\\n\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => 'ListDoctorJobs', - 'summary' => 'Obtains the basic running information about multiple jobs at a time on E-MapReduce (EMR) Doctor.', + 'translator' => 'manual', ], - 'ListDoctorComputeSummary' => [ - 'description' => 'list Doctor analysis result of cluster engine queue view', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RunApplicationAction' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'update', + 'abilityTreeNodes' => ['FEATUREemapreduceWFD0SJ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'C-C95F0A39D8FF****', 'title' => ''], ], [ - 'name' => 'NextToken', + 'name' => 'ActionName', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['description' => 'The name of the action. Valid values:'."\n" + ."\n" + .'- start'."\n" + ."\n" + .'- stop'."\n" + ."\n" + .'- config'."\n" + ."\n" + .'- restart'."\n" + ."\n" + .'- refresh\\_queues'."\n" + ."\n" + .'- refresh\\_labels', 'type' => 'string', 'required' => true, 'example' => 'start', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'ComponentInstanceSelector', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The maximum number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'style' => 'flat', + 'schema' => ['description' => 'The operation object.', 'required' => true, '$ref' => '#/components/schemas/ComponentInstanceSelector', 'title' => '', 'example' => ''], ], [ - 'name' => 'DateTime', + 'name' => 'RollingExecute', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], + 'schema' => ['description' => 'Specifies whether to enable rolling execution.', 'type' => 'boolean', 'example' => 'true', 'title' => '', 'required' => false], ], [ - 'name' => 'ComponentTypes', + 'name' => 'ExecuteStrategy', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'The resource types, which are used to filter query results. Valid values:'."\n" - ."\n" - .'* engine: filters results by engine.'."\n" - .'* queue: filters results by queue.'."\n" - .'* cluster: displays the results at the cluster level.'."\n" - ."\n" - .'If you do not specify this parameter, the information at the cluster level is displayed by default. Currently, only one resource type is supported. If you specify multiple resource types, the first resource type is used by default.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The resource type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'queue', - ], - 'required' => false, - 'example' => 'null', - ], + 'schema' => ['description' => 'The execution policy. Valid values:'."\n" + ."\n" + .'- FAILED\\_BLOCK: The system stops the execution if the execution fails.'."\n" + ."\n" + .'- FAILED\\_CONTINUE: The system continues the execution if the execution fails.', 'type' => 'string', 'example' => 'FAILED_CONTINUE', 'title' => '', 'required' => false], ], [ - 'name' => 'OrderType', + 'name' => 'Interval', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The order in which you want to sort the query results. Valid values:'."\n" - ."\n" - .'* ASC: in ascending order.'."\n" - .'* DESC: in descending order.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], + 'schema' => ['description' => 'The interval for rolling execution. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => '', 'required' => false], ], [ - 'name' => 'OrderBy', + 'name' => 'BatchSize', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The basis on which you want to sort the query results. Valid values:'."\n" - ."\n" - .'1. vcoreSeconds: the total CPU consumption over time in seconds.'."\n" - .'2. memSeconds: the total memory consumption over time in seconds.'."\n" - .'3. vcoreUtilization: the average CPU utilization. The meaning is the same as the %CPU parameter in the output of the top command in Linux.'."\n" - .'4. memUtilization: the average memory usage.'."\n" - .'5. vcoreSecondsDayGrowthRatio: the day-to-day growth rate of the total CPU consumption over time in seconds.'."\n" - .'6. memSecondsDayGrowthRatio: the day-to-day growth rate of the total memory consumption over time in seconds.'."\n" - .'7. readSize: the total amount of data read from the file system.'."\n" - .'8. writeSize: the total amount of data written to the file system.'."\n" - .'9. healthyJobCount: the total number of healthy jobs.'."\n" - .'10. subHealthyJobCount: the total number of sub-healthy jobs.'."\n" - .'11. unhealthyJobCount: the total number of unhealthy jobs.'."\n" - .'12. needAttentionJobCount: the total number of jobs that require attention.'."\n" - .'13. score: the score for jobs.'."\n" - .'14. scoreDayGrowthRatio: the day-to-day growth rate of the score for jobs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'score', - ], + 'schema' => ['description' => 'The number of applications in each batch.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The description of the execution.', 'type' => 'string', 'example' => 'Running description', 'title' => '', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'The details of resource usage.'."\n", + 'OperationId' => ['description' => 'The operation ID.', 'type' => 'string', 'example' => 'op-13c37a77c505****', 'title' => ''], + 'AbnInstances' => [ + 'title' => '', + 'description' => 'The abnormal nodes.', 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'ComponentName' => [ - 'description' => 'The name of the resource whose details are obtained based on the value of ComponentTypes. For example, if the value of ComponentTypes is Queue, the value of this parameter is a queue, such as DW.'."\n", - 'type' => 'string', - 'example' => 'DW', - ], - 'Metrics' => [ - 'description' => 'The metric information.'."\n", - 'type' => 'object', - 'properties' => [ - 'VcoreSeconds' => [ - 'description' => 'The total CPU consumption over time in seconds.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'vcoreSeconds', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1231412', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'VCores * Sec', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total vcore usage over time in seconds'."\n", - ], - ], - ], - 'MemSeconds' => [ - 'description' => 'The total memory consumption over time in seconds.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'memSeconds', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12312312', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB * Sec', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total memory usage over time in seconds', - ], - ], - ], - 'VcoreUtilization' => [ - 'description' => 'The average CPU utilization. The meaning is the same as the %CPU parameter in the output of the top command in Linux.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'vcoreUtilization', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '32.1', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of used vcore to total available cores'."\n", - ], - ], - ], - 'MemUtilization' => [ - 'description' => 'The average memory usage.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'memUtilization', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.82', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of used memory to total available memory'."\n", - ], - ], - ], - 'VcoreSecondsDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the total CPU consumption over time in seconds.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'vcoreSecondsDayGrowthRatio'."\n", - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.22'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Growth ratio of virtual core usage in seconds per day'."\n", - ], - ], - ], - 'MemSecondsDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the total memory consumption over time in seconds.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'memSecondsDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.36', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Growth ratio of memory usage in seconds per day'."\n", - ], - ], - ], - 'ReadSize' => [ - 'description' => 'The total amount of data read from the file system.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'readSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '504888659968', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total cumulative size of data read in megabytes (MB)'."\n", - ], - ], - ], - 'WriteSize' => [ - 'description' => 'The total amount of data written to the file system.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'writeSize'."\n", - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6294093393920', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total cumulative size of data written in megabytes (MB)', - ], - ], - ], - ], - ], - 'Analysis' => [ - 'description' => 'The resource analysis results.'."\n", - 'type' => 'object', - 'properties' => [ - 'HealthyJobCount' => [ - 'description' => 'The total number of healthy jobs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'SubHealthyJobCount' => [ - 'description' => 'The total number of sub-healthy jobs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '13', - ], - 'UnhealthyJobCount' => [ - 'description' => 'The total number of unhealthy jobs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'NeedAttentionJobCount' => [ - 'description' => 'The total number of jobs that require attention.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '23', - ], - 'Score' => [ - 'description' => 'The score for jobs.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '56', - ], - 'ScoreDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the score for jobs.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.03', - ], - ], - ], + 'NodeName' => ['description' => 'The name of the abnormal node.', 'type' => 'string', 'example' => 'core1-1', 'title' => ''], + 'NodeId' => ['description' => 'The ID of the abnormal node.', 'type' => 'string', 'example' => 'i-bp1cudc25w2bfwl5****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'example' => '', ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'A pagination token.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The maximum number of entries that are returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConcurrentModification', 'errorMessage' => 'The request on %s failed due to multiple requests to change this object were submitted simultaneously. Wait a few minutes and try again.', 'description' => ''], + ['errorCode' => 'InvalidParameter.InvalidRunActionScope', 'errorMessage' => 'The specified run action scope is invalid.', 'description' => ''], + ['errorCode' => 'MissingParameter.ComponentInstance', 'errorMessage' => 'You must specify componentInstance.', 'description' => ''], + ['errorCode' => 'MissingParameter.NodeId', 'errorMessage' => 'You must specify nodeId.', 'description' => ''], + ['errorCode' => 'MissingParameter.ComponentName', 'errorMessage' => 'You must specify componentName.', 'description' => ''], + ['errorCode' => 'MissingParameter.ApplicationName', 'errorMessage' => 'You must specify applicationName.', 'description' => ''], + ['errorCode' => 'MissingParameter.NodeGroupId', 'errorMessage' => 'You must specify nodeGroupId.', 'description' => ''], + ['errorCode' => 'InvokeEcmError', 'errorMessage' => 'An error occurred while invoking ECM service.', 'description' => ''], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"AbnInstances\\": [\\n {\\n \\"NodeName\\": \\"core1-1\\",\\n \\"NodeId\\": \\"i-bp1cudc25w2bfwl5****\\"\\n }\\n ],\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","type":"json"}]', + 'title' => 'RunApplicationAction', + 'summary' => 'Manages a service deployed in a cluster. For example, you can call this operation to start pr stop a service.', + 'changeSet' => [ + ['createdAt' => '2023-12-07T07:46:46.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-10-23T12:59:43.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-04-22T23:54:55.000Z', 'description' => 'Error codes changed, Request parameters changed, Response parameters changed'], + ['createdAt' => '2021-04-22T23:54:55.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RunApplicationAction'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:RunApplicationAction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"ComponentName\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 1231412,\\n \\"Unit\\": \\"VCores * Sec\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\\\n\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n },\\n \\"VcoreUtilization\\": {\\n \\"Name\\": \\"vcoreUtilization\\",\\n \\"Value\\": 32.1,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Ratio of used vcore to total available cores\\\\n\\"\\n },\\n \\"MemUtilization\\": {\\n \\"Name\\": \\"memUtilization\\",\\n \\"Value\\": 0.82,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Ratio of used memory to total available memory\\\\n\\"\\n },\\n \\"VcoreSecondsDayGrowthRatio\\": {\\n \\"Name\\": \\"vcoreSecondsDayGrowthRatio\\\\n\\",\\n \\"Value\\": 0.22,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Growth ratio of virtual core usage in seconds per day\\\\n\\"\\n },\\n \\"MemSecondsDayGrowthRatio\\": {\\n \\"Name\\": \\"memSecondsDayGrowthRatio\\",\\n \\"Value\\": 0.36,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Growth ratio of memory usage in seconds per day\\\\n\\"\\n },\\n \\"ReadSize\\": {\\n \\"Name\\": \\"readSize\\",\\n \\"Value\\": 504888659968,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total cumulative size of data read in megabytes (MB)\\\\n\\"\\n },\\n \\"WriteSize\\": {\\n \\"Name\\": \\"writeSize\\\\n\\",\\n \\"Value\\": 6294093393920,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Total cumulative size of data written in megabytes (MB)\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HealthyJobCount\\": 3,\\n \\"SubHealthyJobCount\\": 13,\\n \\"UnhealthyJobCount\\": 123,\\n \\"NeedAttentionJobCount\\": 23,\\n \\"Score\\": 56,\\n \\"ScoreDayGrowthRatio\\": 0.03\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => 'ListDoctorComputeSummary', - 'summary' => 'Obtains the information about resource usage by resource type in a cluster on E-MapReduce (EMR) Doctor.', + 'translator' => 'manual', ], - 'GetDoctorComputeSummary' => [ - 'description' => 'get one specific luster engine queue by <type, name>', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RunCluster' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'create', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeCode' => '246666', + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzabjyop****'], + ], + [ + 'name' => 'PaymentType', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The billing method. Valid values:'."\n" + ."\n" + .'- PayAsYouGo: pay-as-you-go.'."\n" + ."\n" + .'- Subscription: subscription.'."\n" + ."\n" + .'Default value: PayAsYouGo.', 'type' => 'string', 'required' => false, 'example' => 'PayAsYouGo'], + ], + [ + 'name' => 'SubscriptionConfig', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => ['description' => 'The subscription configurations. This parameter is required if you set PaymentType to Subscription.', 'required' => false, '$ref' => '#/components/schemas/SubscriptionConfig', 'title' => '', 'example' => ''], + ], + [ + 'name' => 'ClusterType', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The cluster type. Valid values:'."\n" + ."\n" + .'- DATALAKE: new data lake.'."\n" + ."\n" + .'- OLAP: data analytics.'."\n" + ."\n" + .'- DATAFLOW: real-time data stream.'."\n" + ."\n" + .'- DATASERVING: DataService Studio.'."\n" + ."\n" + .'- CUSTOM: custom cluster.'."\n" + ."\n" + .'- HADOOP: legacy data lake. This value is not recommended. Use the new data lake cluster type instead.'."\n" + ."\n" + .'If you create an EMR cluster for the first time after 17:00 (UTC+8) on December 19, 2022, you cannot select HADOOP, DATA\\_SCIENCE, PRESTO, or ZOOKEEPER as the cluster type.', 'type' => 'string', 'required' => true, 'example' => 'DATALAKE'], + ], + [ + 'name' => 'ReleaseVersion', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The EMR release version. You can find the EMR release version on the EMR cluster purchase page.', 'type' => 'string', 'required' => true, 'example' => 'EMR-5.16.0'], + ], + [ + 'name' => 'ClusterName', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The cluster name. The name must be 1 to 128 characters in length. It must start with a letter or a Chinese character. It cannot start with http\\:// or https\\://. It can contain Chinese characters, letters, digits, colons (:), underscores (\\_), periods (.), or hyphens (-).', 'type' => 'string', 'required' => true, 'example' => 'emrtest'], + ], + [ + 'name' => 'DeployMode', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The deployment mode of applications in the cluster. Valid values:'."\n" + ."\n" + .'- NORMAL (default): non-high availability deployment. The cluster has one master node.'."\n" + ."\n" + .'- HA: high availability (HA) deployment. This deployment mode requires at least three master nodes.', 'type' => 'string', 'required' => false, 'example' => 'HA'], + ], + [ + 'name' => 'SecurityMode', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The Kerberos security mode of the cluster. Valid values:'."\n" + ."\n" + .'- NORMAL (default): normal mode. Kerberos is disabled.'."\n" + ."\n" + .'- KERBEROS: Kerberos mode. Kerberos is enabled.', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'], + ], + [ + 'name' => 'Applications', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'json', 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', + 'title' => '', + 'description' => 'The list of applications. The number of array elements N can range from 1 to 100.', + 'type' => 'array', + 'items' => ['description' => 'The application.', 'required' => false, '$ref' => '#/components/schemas/Application', 'title' => '', 'example' => ''], 'required' => true, - 'example' => 'cn-hangzhou', + 'example' => '', ], ], [ - 'name' => 'ClusterId', - 'in' => 'query', + 'name' => 'ApplicationConfigs', + 'in' => 'formData', 'allowEmptyValue' => false, + 'style' => 'json', 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', + 'title' => '', + 'description' => 'The application configurations. The number of array elements N can range from 1 to 1000.', + 'type' => 'array', + 'items' => ['description' => 'The application configuration.', 'required' => false, '$ref' => '#/components/schemas/ApplicationConfig', 'title' => '', 'example' => ''], + 'required' => false, + 'example' => '', ], ], [ - 'name' => 'DateTime', - 'in' => 'query', + 'name' => 'NodeAttributes', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => ['description' => 'The node attributes. These are the basic attributes of all ECS nodes in the cluster.', 'required' => false, '$ref' => '#/components/schemas/NodeAttributes', 'title' => '', 'example' => ''], + ], + [ + 'name' => 'NodeGroups', + 'in' => 'formData', 'allowEmptyValue' => false, + 'style' => 'json', 'schema' => [ - 'description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", - 'type' => 'string', + 'title' => '', + 'description' => 'The array of node group configurations. The number of array elements N can range from 1 to 100.', + 'type' => 'array', + 'items' => ['description' => 'The node group configuration.', 'required' => false, '$ref' => '#/components/schemas/NodeGroupConfig', 'title' => '', 'example' => ''], 'required' => true, - 'example' => '2023-01-01', + 'example' => '', ], ], [ - 'name' => 'ComponentInfo', - 'in' => 'query', + 'name' => 'BootstrapScripts', + 'in' => 'formData', 'allowEmptyValue' => false, - 'style' => 'flat', + 'style' => 'json', 'schema' => [ - 'description' => 'The resource information, which is used to filter the results.'."\n", - 'type' => 'object', - 'properties' => [ - 'ComponentType' => [ - 'description' => 'The resource type for filtering. Valid values:'."\n" - ."\n" - .'* engine: filters results by engine.'."\n" - .'* queue: filters results by queue.'."\n" - .'* cluster: displays the results at the cluster level.'."\n" - ."\n" - .'If you do not specify this parameter, the information at the cluster level is displayed by default.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'engine', - ], - 'ComponentName' => [ - 'description' => 'Set the filter condition name based on the value of ComponentType. For example, if you set ComponentType to queue, you can specify a specific queue name to obtain the resource usage of a specific queue.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MAPREDUCE', - ], - ], + 'title' => '', + 'description' => 'The array of bootstrap scripts. The number of array elements N can range from 1 to 10.', + 'type' => 'array', + 'items' => ['description' => 'The bootstrap script.', 'required' => false, '$ref' => '#/components/schemas/Script', 'title' => '', 'example' => ''], + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => [ + 'title' => '', + 'description' => 'The tags. The number of array elements N can range from 0 to 20.', + 'type' => 'array', + 'items' => ['description' => 'The tag.', 'required' => false, '$ref' => '#/components/schemas/Tag', 'title' => '', 'example' => ''], 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'A client token to ensure the idempotence of the request. Multiple calls with the same client token return the same result and create only one cluster.', 'type' => 'string', 'required' => false, 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****'], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => 'The description of the cluster.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Emr cluster for ETL'], + ], + [ + 'name' => 'DeletionProtection', + 'in' => 'formData', + 'schema' => ['description' => 'Specifies whether to enable deletion protection for the cluster. Valid values:'."\n" + ."\n" + .'- true: Enables deletion protection.'."\n" + ."\n" + .'- false: Disables deletion protection.'."\n" + ."\n" + .'Default value: false.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], + ], + [ + 'name' => 'Promotions', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => ['required' => false, '$ref' => '#/components/schemas/Promotion', 'description' => '', 'title' => '', 'example' => ''], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'Response schema', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'The details of resource usage.'."\n", - 'type' => 'object', - 'properties' => [ - 'Metrics' => [ - 'description' => 'The metrics.'."\n", - 'type' => 'object', - 'properties' => [ - 'VcoreSeconds' => [ - 'description' => 'The total CPU consumption over time in seconds.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'vcoreSeconds'."\n", - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1231412', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'VCores * Sec'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total vcore usage over time in seconds'."\n", - ], - ], - ], - 'MemSeconds' => [ - 'description' => 'The total memory consumption over time in seconds.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'memSeconds'."\n", - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12312312', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB * Sec'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total memory usage over time in seconds'."\n", - ], - ], - ], - 'VcoreUtilization' => [ - 'description' => 'The average CPU utilization. The meaning is the same as the %CPU parameter in the output of the top command in Linux.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'vcoreUtilization'."\n", - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '32.1'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of used vcore to total available cores'."\n", - ], - ], - ], - 'MemUtilization' => [ - 'description' => 'The average memory usage.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'memUtilization'."\n", - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.82', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of used memory to total available memory'."\n", - ], - ], - ], - 'VcoreSecondsDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the total CPU consumption over time in seconds.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'vcoreSecondsDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.22', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Growth ratio of virtual core usage in seconds per day', - ], - ], - ], - 'MemSecondsDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the total memory consumption over time in seconds.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'memSecondsDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.36', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Growth ratio of memory usage in seconds per day', - ], - ], - ], - 'ReadSize' => [ - 'description' => 'The total amount of data read from the file system.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'readSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '504888659968', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total cumulative size of data read in megabytes (MB)', - ], - ], - ], - 'WriteSize' => [ - 'description' => 'The total amount of data written to the file system.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'writeSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6294093393920', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total cumulative size of data written in megabytes (MB)', - ], - ], - ], - ], - ], - 'Analysis' => [ - 'description' => 'The resource analysis information.'."\n", - 'type' => 'object', - 'properties' => [ - 'HealthyJobCount' => [ - 'description' => 'The total number of healthy jobs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'SubHealthyJobCount' => [ - 'description' => 'The total number of sub-healthy jobs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1123', - ], - 'UnhealthyJobCount' => [ - 'description' => 'The total number of unhealthy jobs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '23', - ], - 'NeedAttentionJobCount' => [ - 'description' => 'The total number of jobs that require attention.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '234', - ], - 'Score' => [ - 'description' => 'The score for jobs.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '73', - ], - 'ScoreDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the score for jobs.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.02', - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'ClusterId' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'example' => 'c-b933c5aac7f7***'], + 'OperationId' => ['title' => '', 'description' => 'The operation ID.', 'type' => 'string', 'example' => 'op-13c37a77c505****'], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'OperationDenied', 'errorMessage' => 'The operation is invalid. %s', 'description' => ''], + ['errorCode' => 'OutOfStock', 'errorMessage' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', 'description' => ''], + ['errorCode' => 'QuotaExceeded', 'errorMessage' => 'Request fail due to quota exceed. %s', 'description' => ''], + ['errorCode' => 'AccountException', 'errorMessage' => 'Account exception. %s', 'description' => ''], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\\\n\\",\\n \\"Value\\": 1231412,\\n \\"Unit\\": \\"VCores * Sec\\\\n\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\\\n\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\\\n\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\\\n\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\\\n\\"\\n },\\n \\"VcoreUtilization\\": {\\n \\"Name\\": \\"vcoreUtilization\\\\n\\",\\n \\"Value\\": 32.1,\\n \\"Unit\\": \\"“”\\\\n\\",\\n \\"Description\\": \\"Ratio of used vcore to total available cores\\\\n\\"\\n },\\n \\"MemUtilization\\": {\\n \\"Name\\": \\"memUtilization\\\\n\\",\\n \\"Value\\": 0.82,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of used memory to total available memory\\\\n\\"\\n },\\n \\"VcoreSecondsDayGrowthRatio\\": {\\n \\"Name\\": \\"vcoreSecondsDayGrowthRatio\\",\\n \\"Value\\": 0.22,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Growth ratio of virtual core usage in seconds per day\\"\\n },\\n \\"MemSecondsDayGrowthRatio\\": {\\n \\"Name\\": \\"memSecondsDayGrowthRatio\\",\\n \\"Value\\": 0.36,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Growth ratio of memory usage in seconds per day\\"\\n },\\n \\"ReadSize\\": {\\n \\"Name\\": \\"readSize\\",\\n \\"Value\\": 504888659968,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total cumulative size of data read in megabytes (MB)\\"\\n },\\n \\"WriteSize\\": {\\n \\"Name\\": \\"writeSize\\",\\n \\"Value\\": 6294093393920,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total cumulative size of data written in megabytes (MB)\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HealthyJobCount\\": 3,\\n \\"SubHealthyJobCount\\": 1123,\\n \\"UnhealthyJobCount\\": 23,\\n \\"NeedAttentionJobCount\\": 234,\\n \\"Score\\": 73,\\n \\"ScoreDayGrowthRatio\\": 0.02\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'GetDoctorComputeSummary', - 'summary' => 'Obtains the information about resource usage in a cluster on E-MapReduce (EMR) Doctor.', - ], - 'GetDoctorJob' => [ - 'description' => 'Get realtime job by yarn', - 'methods' => [ - 'get', - 'post', + 'title' => 'RunCluster', + 'summary' => 'Creates a pay-as-you-go or subscription cluster.', + 'description' => 'RunCluster is an upgraded version of CreateCluster. It uses HTTPS POST requests and supports larger parameter values. For complex parameters, such as objects and arrays, RunCluster uses the JSON format. This improves compatibility with command-line interface (CLI) tools.', + 'changeSet' => [ + ['createdAt' => '2024-11-28T11:46:08.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:RunCluster', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ClusterId\\": \\"c-b933c5aac7f7***\\",\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], ], + 'translator' => 'manual', + ], + 'TagResources' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '25001', + 'abilityTreeNodes' => ['FEATUREemapreduceWV7Y23'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The ID of the region in which you want to create the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'allowEmptyValue' => false, 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", + 'title' => '', + 'description' => 'The type of the resource to which the tag belongs. Valid values:'."\n" + ."\n" + .'* cluster: cluster'."\n", 'type' => 'string', 'required' => true, - 'example' => 'cn-hangzhou', + 'enumValueTitles' => [], + 'example' => 'cluster', ], ], [ - 'name' => 'ClusterId', + 'name' => 'ResourceIds', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', + 'title' => '', + 'description' => 'The list of resource IDs. Valid values of N: 1 to 1.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of a resource. If the ResourceType parameter is set to cluster, set the value to the ID of the cluster.'."\n", 'type' => 'string', 'required' => false, 'example' => 'c-b933c5aac8fe****', 'title' => ''], 'required' => true, - 'example' => 'c-b933c5aac8fe****', + 'example' => 'cluster', + 'maxItems' => 1, ], ], [ - 'name' => 'AppId', + 'name' => 'Tags', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => 'app id', - 'description' => 'The ID of the job that is submitted to YARN.'."\n", - 'type' => 'string', + 'title' => '', + 'description' => 'The tags.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The tag of the job.'."\n", 'required' => false, '$ref' => '#/components/schemas/Tag', 'title' => '', 'example' => ''], 'required' => true, - 'example' => 'application_1542620905989_****', + 'example' => '[null]', + 'maxItems' => 20, ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The data structure.'."\n", 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'The information about the job.'."\n", - 'type' => 'object', - 'properties' => [ - 'AppId' => [ - 'description' => 'The ID of the job that was submitted to YARN.'."\n", - 'type' => 'string', - 'example' => 'application_1542620905989_****', - ], - 'AppName' => [ - 'description' => 'The name of the job.'."\n", - 'type' => 'string', - 'example' => 'CREATE TABLE test...ranks=1 (Stage-1)', - ], - 'User' => [ - 'description' => 'The username that was used to submit the job.'."\n", - 'type' => 'string', - 'example' => 'DW', - ], - 'Queue' => [ - 'description' => 'The YARN queue to which the job was submitted.'."\n", - 'type' => 'string', - 'example' => 'DW', - ], - 'State' => [ - 'description' => 'The running state of the job. Valid values:'."\n" - ."\n" - .'* FINISHED'."\n" - .'* FAILED'."\n" - .'* KILLED'."\n", - 'type' => 'string', - 'example' => 'FINISHED', - ], - 'FinalStatus' => [ - 'description' => 'The final state of the job. Valid values:'."\n" - ."\n" - .'* SUCCEEDED'."\n" - .'* FAILED'."\n" - .'* KILLED'."\n" - .'* ENDED'."\n" - .'* UNDEFINED'."\n", - 'type' => 'string', - 'example' => 'KILLED', - ], - 'Type' => [ - 'description' => 'The type of the compute engine.'."\n", - 'type' => 'string', - 'example' => 'SPARK', - ], - 'StartTime' => [ - 'description' => 'The time when the job was submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1673946000000', - ], - 'LaunchTime' => [ - 'description' => 'The time when the job was started. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1665014400000', - ], - 'ElapsedTime' => [ - 'description' => 'The total running time of the job. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '278', - ], - 'FinishTime' => [ - 'description' => 'The time when the job ended. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1658388322000', - ], - 'Metrics' => [ - 'description' => 'The data about metrics.'."\n", - 'type' => 'object', - 'properties' => [ - 'VcoreSeconds' => [ - 'description' => 'The CPU usage.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'vcoreSeconds', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11123', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'VCores * Sec', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total vcore usage over time in seconds', - ], - ], - ], - 'MemSeconds' => [ - 'description' => 'The amount of memory consumed.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'memSeconds', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12312312', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB * Sec', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total memory usage over time in seconds', - ], - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['title' => '', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => 'A964BDB2-0FDA-1037-AF3F-2633D5C3F20F'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A964BDB2-0FDA-1037-AF3F-2633D5C3F20F\\"\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse>\\n <RequestId>A964BDB2-0FDA-1037-AF3F-2633D5C3F20F</RequestId>\\n <Data>true</Data>\\n</TagResourcesResponse>","errorExample":""}]', + 'title' => 'TagResources', + 'summary' => 'Binds tags to a specified EMR cluster.', + 'changeSet' => [ + ['createdAt' => '2023-10-23T12:58:51.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-10-12T06:06:49.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-10-12T06:06:49.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-10-12T06:06:49.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'TagResources'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:TagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"AppId\\": \\"application_1542620905989_****\\",\\n \\"AppName\\": \\"CREATE TABLE test...ranks=1 (Stage-1)\\",\\n \\"User\\": \\"DW\\",\\n \\"Queue\\": \\"DW\\",\\n \\"State\\": \\"FINISHED\\",\\n \\"FinalStatus\\": \\"KILLED\\",\\n \\"Type\\": \\"SPARK\\",\\n \\"StartTime\\": 1673946000000,\\n \\"LaunchTime\\": 1665014400000,\\n \\"ElapsedTime\\": 278,\\n \\"FinishTime\\": 1658388322000,\\n \\"Metrics\\": {\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'GetDoctorJob', - 'summary' => 'Obtains the basic running information about a job on E-MapReduce (EMR) Doctor.', ], - 'ListDoctorApplications' => [ - 'description' => 'list all doctor analysis apps', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UntagResources' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'update', + 'abilityTreeNodes' => ['FEATUREemapreduceACW5KS'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the region in which you want to create the instance.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ClusterId', + 'name' => 'ResourceType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The type of the resource. Set the value to cluster.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cluster'], ], [ - 'name' => 'NextToken', + 'name' => 'ResourceIds', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + 'title' => '', + 'description' => 'The list of resource IDs.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of a resource. If the ResourceType parameter is set to cluster, set the value to the ID of the cluster.'."\n", 'type' => 'string', 'required' => false, 'example' => 'c-b933c5aac8fe****', 'title' => ''], + 'required' => true, + 'example' => 'cluster', + 'maxItems' => 1, ], ], [ - 'name' => 'MaxResults', + 'name' => 'TagKeys', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The maximum number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', + 'title' => '', + 'description' => 'The key of the label. Valid values of N: 1 to 20.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The list of tag key values.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Department', 'title' => ''], 'required' => false, - 'example' => '20', + 'example' => '["c-b933c5aac8fe****"]', ], ], [ - 'name' => 'DateTime', + 'name' => 'All', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'Specifies whether to remove all tags. This parameter is valid only when the **Tagkeys** is empty. Valid values:'."\n" + ."\n" + .'* true: All the data is deleted.'."\n" + .'* false: Not all of them are deleted.'."\n" + ."\n" + .'Default value: false'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', + 'title' => '', + 'description' => 'The data structure.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '17A6A3D5-4B13-1DAD-9A23-66EA5FC83B50'], + ], + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], + ], + 503 => [ + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"17A6A3D5-4B13-1DAD-9A23-66EA5FC83B50\\"\\n}","errorExample":""},{"type":"xml","example":"<UntagResourcesResponse>\\n <RequestId>17A6A3D5-4B13-1DAD-9A23-66EA5FC83B50</RequestId>\\n <Data>true</Data>\\n</UntagResourcesResponse>","errorExample":""}]', + 'title' => 'UntagResources', + 'summary' => 'Unbinds tags from a specified column in an EMR cluster. If the tag is not bound to other resources, the tag is automatically deleted.', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:43:32.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-10-12T06:06:49.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-10-12T06:06:49.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-10-12T06:06:49.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UntagResources'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UntagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateApiTemplate' => [ + 'description' => 'Modifies a cluster template.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], + ], + 'parameters' => [ [ - 'name' => 'AppIds', + 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'The IDs of jobs that are submitted to YARN.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the job that is submitted to YARN.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'application_1643475036865_******', - ], - 'required' => false, - 'example' => 'null', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Users', + 'name' => 'TemplateName', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'The users who submit the jobs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The username that is used to submit the job to YARN.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DW', - ], - 'required' => false, - 'example' => 'null', - ], + 'schema' => ['description' => 'The name of the template.', 'type' => 'string', 'example' => 'DATALAKE template', 'required' => true, 'title' => ''], ], [ - 'name' => 'Queues', + 'name' => 'ApiName', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'The YARN queues to which the jobs are submitted.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of the YARN queue to which the job is submitted.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DW', - ], - 'required' => false, - 'example' => 'null', - ], + 'schema' => ['description' => 'The name of the API operation. You can create only a cluster API operation template. Set the value to CreateCluster.', 'type' => 'string', 'required' => true, 'example' => 'CreateCluster', 'title' => ''], ], [ - 'name' => 'Types', + 'name' => 'Content', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'The YARN engines to which the jobs are submitted.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The type of the YARN engine to which the job is submitted.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SPARK', - ], - 'required' => false, - 'example' => 'null', - ], + 'schema' => ['description' => 'The content of the cluster API operation template. Set the value to JSON strings of the request parameters of the [CreateCluster](~~454393~~) API operation for creating a cluster.', 'type' => 'string', 'required' => true, 'example' => 'content', 'title' => ''], ], [ - 'name' => 'OrderType', + 'name' => 'ResourceGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The order in which you want to sort the query results. Valid values:'."\n" - ."\n" - .'* ASC: the ascending order'."\n" - .'* DESC: the descending order'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], + 'schema' => ['description' => 'Resource group ID.', 'type' => 'string', 'example' => 'rg-acfmzabjyop****', 'title' => '', 'required' => false], ], [ - 'name' => 'OrderBy', + 'name' => 'TemplateId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'The field that you use to sort the query results. Valid values:'."\n" - ."\n" - .'1. startTime: the time when the job starts'."\n" - .'2. endTime: the time when the job ends'."\n" - .'3. vcoreUtilization: the vCPU utilization of the job'."\n" - .'4. memUtilization: the memory usage of the job'."\n" - .'5. vcoreSeconds: the aggregated number of vCPUs that are allocated to the job multiplied by the number of seconds the job has been running'."\n" - .'6. memSeconds: the aggregated amount of memory that is allocated to the job multiplied by the number of seconds the job has been running'."\n" - .'7. score: the score of the job'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'score', - ], + 'schema' => ['description' => 'Template ID (it is recommended to use the parameter TemplateId).', 'type' => 'string', 'required' => true, 'example' => 'AT-****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => '', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'The details of jobs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'AppId' => [ - 'description' => 'The job ID in YARN. The value of QueryID or SessionID is returned for a Hive job.'."\n", - 'type' => 'string', - 'example' => 'application_1665056147236_*****', - ], - 'Ids' => [ - 'description' => 'The job IDs. Multiple job IDs are separated with commas (,).'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the job that was submitted to YARN.'."\n", - 'type' => 'string', - 'example' => 'application_1665056147236_*****', - ], - 'example' => 'null', - ], - 'AppName' => [ - 'description' => 'The name of the job.'."\n", - 'type' => 'string', - 'example' => 'data-upload', - ], - 'User' => [ - 'description' => 'The username that was used to submit the job.'."\n", - 'type' => 'string', - 'example' => 'DW', - ], - 'StartTime' => [ - 'description' => 'The time when the job was submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677465658275', - ], - 'EndTime' => [ - 'description' => 'The time when the job ended. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1682049088086', - ], - 'Queue' => [ - 'description' => 'The YARN queue to which the job was submitted.'."\n", - 'type' => 'string', - 'example' => 'DW', - ], - 'Type' => [ - 'description' => 'The type of the compute engine.'."\n", - 'type' => 'string', - 'example' => 'TEZ', - ], - 'QuerySql' => [ - 'description' => 'The query statement. This parameter is left empty for non-SQL jobs.'."\n", - 'type' => 'string', - 'example' => 'SELECT id, count(1) FROM test group by id;'."\n", - ], - 'Metrics' => [ - 'description' => 'The data about metrics.'."\n", - 'type' => 'object', - 'properties' => [ - 'VcoreUtilization' => [ - 'description' => 'The CPU utilization. This parameter has the same meaning as %CPU in the Linux top command.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'vcoreUtilization', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '23.1', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of used vcore to total available cores'."\n", - ], - ], - ], - 'MemUtilization' => [ - 'description' => 'The memory usage'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'memUtilization'."\n", - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.23', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of used memory to total available memory'."\n", - ], - ], - ], - 'VcoreSeconds' => [ - 'description' => 'The CPU usage.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'vcoreSeconds', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11123'."\n", - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'VCores * Sec'."\n", - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total vcore usage over time in seconds', - ], - ], - ], - 'MemSeconds' => [ - 'description' => 'The amount of memory consumed.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'memSeconds', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12312312', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB * Sec', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total memory usage over time in seconds', - ], - ], - ], - ], - ], - 'Analysis' => [ - 'description' => 'The analysis results of the jobs.'."\n", - 'type' => 'object', - 'properties' => [ - 'Score' => [ - 'description' => 'The score of the job.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '23', - ], - 'Suggestion' => [ - 'description' => 'The suggestion on executing the job.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'A pagination token.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The maximum number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'Success' => ['description' => 'Template ID (to be deprecated).', 'type' => 'boolean', 'deprecated' => true, 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'UpdateApiTemplate', + 'summary' => 'Updates an API operation template.', + 'requestParamsDescription' => 'Example value of the Content parameter (Java language): \\`'."\n" + ."\n" + .'CreateClusterRequest request = new CreateClusterRequest();'."\n" + ."\n" + .'request.setRegionId("cn-beijing");'."\n" + ."\n" + .'request.setClusterType("DATALAKE");'."\n" + ."\n" + .'// Other parameters for creating a cluster.'."\n" + ."\n" + .'String content = new Gson().toJson(request); \\`', + 'changeSet' => [ + ['createdAt' => '2024-06-18T08:42:55.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateApiTemplate', + 'authLevel' => '', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"AppId\\": \\"application_1665056147236_*****\\",\\n \\"Ids\\": [\\n \\"application_1665056147236_*****\\"\\n ],\\n \\"AppName\\": \\"data-upload\\",\\n \\"User\\": \\"DW\\",\\n \\"StartTime\\": 1677465658275,\\n \\"EndTime\\": 1682049088086,\\n \\"Queue\\": \\"DW\\",\\n \\"Type\\": \\"TEZ\\",\\n \\"QuerySql\\": \\"SELECT id, count(1) FROM test group by id;\\\\n\\",\\n \\"Metrics\\": {\\n \\"VcoreUtilization\\": {\\n \\"Name\\": \\"vcoreUtilization\\",\\n \\"Value\\": 23.1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of used vcore to total available cores\\\\n\\"\\n },\\n \\"MemUtilization\\": {\\n \\"Name\\": \\"memUtilization\\\\n\\",\\n \\"Value\\": 0.23,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of used memory to total available memory\\\\n\\"\\n },\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\\\n\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"Score\\": 23,\\n \\"Suggestion\\": \\"##### 当前节点:container\\\\n##### 存在问题:\\\\n最大内存利用率为7.75%,利用率较低\\\\n\\\\n\\\\n尝试减小Tez Container内存,可通过hive.tez.container.size进行设置\\"\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => 'ListDoctorApplications', - 'summary' => 'Obtains the analysis results of multiple jobs on E-MapReduce (EMR) Doctor.', + 'translator' => 'manual', ], - 'ListDoctorHDFSDirectories' => [ - 'description' => 'list Doctor HDFSNodes', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateApplicationConfigs' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '19029', + 'abilityTreeNodes' => ['FEATUREemapreduce961UGJ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-e6a9d46e9267****', 'title' => ''], ], [ - 'name' => 'NextToken', + 'name' => 'ApplicationName', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置,置空表示从头开始。', - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['description' => 'The application name.', 'type' => 'string', 'required' => true, 'example' => 'HDFS', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'RefreshConfig', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。取值范围:1~100。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'Specifies whether to refresh the configurations.'."\n" + .'The default value is true.', 'type' => 'boolean', 'example' => 'true', 'title' => '', 'required' => false], ], [ - 'name' => 'DateTime', + 'name' => 'ConfigAction', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['description' => 'The operation on the configuration items. Valid values:'."\n" + ."\n" + .'- ADD: Adds configuration items.'."\n" + ."\n" + .'- UPDATE: Updates configuration items.'."\n" + ."\n" + .'- DELETE: Deletes configuration items.', 'type' => 'string', 'example' => 'ADD', 'title' => '', 'required' => false], + ], + [ + 'name' => 'ConfigScope', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The scope of the configuration operation. Valid values:'."\n" + ."\n" + .'- CLUSTER: The cluster level.'."\n" + ."\n" + .'- NODE\\_GROUP: The node group level.', 'type' => 'string', 'example' => 'CLUSTER', 'title' => '', 'required' => false], + ], + [ + 'name' => 'ApplicationConfigs', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'title' => '', + 'description' => 'The list of application configurations.', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/UpdateApplicationConfig', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], 'required' => true, - 'example' => '2023-01-01'."\n", + 'example' => 'CLUSTER', ], ], [ - 'name' => 'DirPath', + 'name' => 'Description', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '/tmp/test'."\n", - ], + 'schema' => ['description' => 'The description.', 'type' => 'string', 'example' => 'Description', 'title' => '', 'required' => false], ], [ - 'name' => 'OrderType', + 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], + 'schema' => ['description' => 'The node group ID.', 'type' => 'string', 'example' => 'ng-869471354ecd****', 'title' => '', 'required' => false], ], [ - 'name' => 'OrderBy', + 'name' => 'NodeId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'smallFileCount', - ], + 'schema' => ['description' => 'The node ID.', 'type' => 'string', 'example' => 'i-bp1cudc25w2bfwl5****', 'title' => '', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => '', + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'DirPath' => [ - 'description' => '', - 'type' => 'string', - 'example' => '/tmp/test', - ], - 'Depth' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'User' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'DW', - ], - 'Group' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'DW', - ], - 'Metrics' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'TotalFileCount' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'totalFileCount', - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '51683279', - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Number of total files'."\n", - ], - ], - ], - 'LargeFileCount' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'largeFileCount', - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123'."\n", - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Number of large files'."\n", - ], - ], - ], - 'MediumFileCount' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'mediumFileCount', - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '323', - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Number of medium files'."\n", - ], - ], - ], - 'SmallFileCount' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'smallFileCount', - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345'."\n", - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Number of small files'."\n", - ], - ], - ], - 'TinyFileCount' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tinyFileCount'."\n", - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '232131', - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Number of tiny files', - ], - ], - ], - 'EmptyFileCount' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'emptyFileCount', - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15595897', - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Number of empty files', - ], - ], - ], - 'HotDataSize' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'hotDataSize', - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6701531944206', - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Size of the hot data size'."\n", - ], - ], - ], - 'WarmDataSize' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'warmDataSize'."\n", - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4062349775577', - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Size of the warm data size'."\n", - ], - ], - ], - 'ColdDataSize' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'coldDataSize', - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5570958082267', - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Size of the cold data size'."\n", - ], - ], - ], - 'FreezeDataSize' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'freezeDataSize', - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1231312431', - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Size of the freeze data size'."\n", - ], - ], - ], - 'TotalDataSize' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'totalDataSize', - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '62086342083623', - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Total data size in megabytes (MB)'."\n", - ], - ], - ], - 'TotalFileDayGrowthCount' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'totalFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27809', - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth count of total files'."\n", - ], - ], - ], - 'LargeFileDayGrowthCount' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'largeFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2'."\n", - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth count of large files'."\n", - ], - ], - ], - 'MediumFileDayGrowthCount' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'mediumFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '176', - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth count of medium files'."\n", - ], - ], - ], - 'SmallFileDayGrowthCount' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'smallFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth count of small files'."\n", - ], - ], - ], - 'TinyFileDayGrowthCount' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tinyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-123'."\n", - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth count of tiny files', - ], - ], - ], - 'EmptyFileDayGrowthCount' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'emptyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '114'."\n", - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth count of empty files'."\n", - ], - ], - ], - 'HotDataDayGrowthSize' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'hotDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123154'."\n", - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => ' '."\n" - .'Day growth size of hot data'."\n", - ], - ], - ], - 'WarmDataDayGrowthSize' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'warmDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-64806998319'."\n", - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth size of warm data'."\n", - ], - ], - ], - 'ColdDataDayGrowthSize' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'coldDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-182636577752'."\n", - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth size of cold data'."\n", - ], - ], - ], - 'FreezeDataDayGrowthSize' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'freezeDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-167683929450'."\n", - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth size of freeze data'."\n", - ], - ], - ], - 'TotalDataDayGrowthSize' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'totalDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '256482228248', - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth size of total data'."\n", - ], - ], - ], - 'TotalFileCountDayGrowthRatio' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'totalFileCountDayGrowthRatio'."\n", - ], - 'Value' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.02'."\n", - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth ratio of total files'."\n", - ], - ], - ], - 'LargeFileCountDayGrowthRatio' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'largeFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.39'."\n", - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth ratio of large files'."\n", - ], - ], - ], - 'MediumFileCountDayGrowthRatio' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'mediumFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.19'."\n", - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth ratio of medium files'."\n", - ], - ], - ], - 'SmallFileCountDayGrowthRatio' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'smallFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.02'."\n", - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth ratio of small files'."\n", - ], - ], - ], - 'TinyFileCountDayGrowthRatio' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tinyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.003', - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth ratio of tiny files'."\n", - ], - ], - ], - 'EmptyFileCountDayGrowthRatio' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'emptyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.005'."\n", - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth ratio of empty files', - ], - ], - ], - 'HotDataSizeDayGrowthRatio' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'hotDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'float', - 'example' => ' '."\n" - .'0.1114'."\n", - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth ratio of hot data size'."\n", - ], - ], - ], - 'WarmDataSizeDayGrowthRatio' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => ' '."\n" - .'warmDataSizeDayGrowthRatio'."\n", - ], - 'Value' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'float', - 'example' => ' '."\n" - .'-0.015'."\n", - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth ratio of warm data size'."\n", - ], - ], - ], - 'ColdDataSizeDayGrowthRatio' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'coldDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'float', - 'example' => '-0.03'."\n", - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth ratio of cold data size'."\n", - ], - ], - ], - 'FreezeDataSizeDayGrowthRatio' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'freezeDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'float', - 'example' => '-0.09'."\n", - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth ratio of freeze data size'."\n", - ], - ], - ], - 'TotalDataSizeDayGrowthRatio' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'totalDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.14', - ], - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Day growth ratio of total data size'."\n", - ], - ], - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置,空代表数据已经读取完毕。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'OperationId' => ['description' => 'The operation ID.', 'type' => 'string', 'example' => 'op-13c37a77c505****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","type":"json"}]', + 'title' => 'UpdateApplicationConfigs', + 'summary' => 'Updates the configurations of an application.', + 'changeSet' => [ + ['createdAt' => '2024-07-13T05:53:19.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-06-27T03:23:13.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-06-27T02:57:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-06-18T08:43:30.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-04-22T23:54:55.000Z', 'description' => 'Error codes changed, Request parameters changed, Response parameters changed'], + ['createdAt' => '2021-04-22T23:54:55.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2021-04-22T23:54:55.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateApplicationConfigs'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateApplicationConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"DirPath\\": \\"/tmp/test\\",\\n \\"Depth\\": 2,\\n \\"User\\": \\"DW\\",\\n \\"Group\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 51683279,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 323,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\\\n\\",\\n \\"Value\\": 232131,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tiny files\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 15595897,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of empty files\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 6701531944206,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the hot data size\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\\\n\\",\\n \\"Value\\": 4062349775577,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the warm data size\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 5570958082267,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1231312431,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the freeze data size\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 62086342083623,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 27809,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 2,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 176,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": -123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of tiny files\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 114,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 123154,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"\\\\t\\\\nDay growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": -64806998319,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": -182636577752,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": -167683929450,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 256482228248,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\\\n\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.39,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.003,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.005,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.1114,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"\\\\t\\\\nwarmDataSizeDayGrowthRatio\\\\n\\",\\n \\"Value\\": -0.015,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.03,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.09,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.14,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => 'ListDoctorHDFSDirectories', - 'summary' => 'Obtains the analysis results of multiple Hadoop Distributed File System (HDFS) directories at a time on E-MapReduce (EMR) Doctor. The depth of directories is not greater than five.', + 'translator' => 'machine', ], - 'GetDoctorHDFSCluster' => [ - 'description' => 'list Doctor HBaseTableRegions', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateClusterAttribute' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '101707', + 'abilityTreeNodes' => ['FEATUREemapreduceGZP0FZ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'DateTime', + 'name' => 'ClusterName', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], + 'schema' => ['title' => '', 'description' => 'The cluster name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'emrtest'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The cluster description.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Emr cluster for ETL', 'title' => ''], + ], + [ + 'name' => 'DeletionProtection', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether release protection is enabled.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The returned data.'."\n", 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'The HDFS analysis results.'."\n", - 'type' => 'object', - 'properties' => [ - 'Metrics' => [ - 'description' => 'The metric information.'."\n", - 'type' => 'object', - 'properties' => [ - 'LargeFileCount' => [ - 'description' => 'The number of large files. Large files are those with a size greater than 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of large files', - ], - ], - ], - 'MediumFileCount' => [ - 'description' => 'The number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '234', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of medium files', - ], - ], - ], - 'SmallFileCount' => [ - 'description' => 'The number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of small files', - ], - ], - ], - 'TinyFileCount' => [ - 'description' => 'The number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '232131', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of tiny files', - ], - ], - ], - 'EmptyFileCount' => [ - 'description' => 'The number of empty files. Empty files are those with a size of 0 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15595897', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of empty files', - ], - ], - ], - 'TotalFileCount' => [ - 'description' => 'The total number of files.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '51683279', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Number of total files', - ], - ], - ], - 'HotDataSize' => [ - 'description' => 'The amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6701531944206', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the hot data size', - ], - ], - ], - 'WarmDataSize' => [ - 'description' => 'The amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4062349775577', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the warm data size', - ], - ], - ], - 'ColdDataSize' => [ - 'description' => 'The amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5570958082267', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the cold data size', - ], - ], - ], - 'FreezeDataSize' => [ - 'description' => 'The amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1231312431', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Size of the freeze data size', - ], - ], - ], - 'TotalDataSize' => [ - 'description' => 'The total amount of data.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '62086342083623', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total data size in megabytes (MB)', - ], - ], - ], - 'LargeFileRatio' => [ - 'description' => 'The proportion of large files. Large files are those with a size greater than 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.22', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of large files', - ], - ], - ], - 'MediumFileRatio' => [ - 'description' => 'The proportion of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.21', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of medium files', - ], - ], - ], - 'SmallFileRatio' => [ - 'description' => 'The proportion of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.19', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of small files', - ], - ], - ], - 'TinyFileRatio' => [ - 'description' => 'The proportion of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.19', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of tiny files', - ], - ], - ], - 'EmptyFileRatio' => [ - 'description' => 'The proportion of empty files. Empty files are those with a size of 0 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.3', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of empty files', - ], - ], - ], - 'HotDataRatio' => [ - 'description' => 'The proportion of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.22', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Hot data ratio', - ], - ], - ], - 'WarmDataRatio' => [ - 'description' => 'The proportion of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.12', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of warm data', - ], - ], - ], - 'ColdDataRatio' => [ - 'description' => 'The proportion of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Cold data ratio', - ], - ], - ], - 'FreezeDataRatio' => [ - 'description' => 'The proportion of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.12', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of freeze data', - ], - ], - ], - 'TotalFileDayGrowthCount' => [ - 'description' => 'The daily increment of the total number of files.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27809', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of total files', - ], - ], - ], - 'LargeFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of large files', - ], - ], - ], - 'MediumFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '176', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of medium files', - ], - ], - ], - 'SmallFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12321', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of small files', - ], - ], - ], - 'TinyFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-123', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of tiny files', - ], - ], - ], - 'EmptyFileDayGrowthCount' => [ - 'description' => 'The daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '114', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth count of empty files', - ], - ], - ], - 'HotDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123154', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of hot data', - ], - ], - ], - 'WarmDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-64806998319', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of warm data', - ], - ], - ], - 'ColdDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-182636577752', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of cold data', - ], - ], - ], - 'FreezeDataDayGrowthSize' => [ - 'description' => 'The daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-167683929450', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of freeze data', - ], - ], - ], - 'TotalDataDayGrowthSize' => [ - 'description' => 'The daily incremental of the total data volume.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataDayGrowthSize', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '256482228248', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth size of total data', - ], - ], - ], - 'TotalFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the total number of files.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.02', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of total files', - ], - ], - ], - 'LargeFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'largeFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.39', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of large files', - ], - ], - ], - 'MediumFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'mediumFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.19', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of medium files', - ], - ], - ], - 'SmallFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'smallFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.02', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of small files', - ], - ], - ], - 'TinyFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'tinyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.003', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of tiny files', - ], - ], - ], - 'EmptyFileCountDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'emptyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.005', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of empty files', - ], - ], - ], - 'HotDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'hotDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.1114', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of hot data size', - ], - ], - ], - 'WarmDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'warmDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '-0.015', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of warm data size', - ], - ], - ], - 'ColdDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'coldDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '-0.03', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of cold data size', - ], - ], - ], - 'FreezeDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'freezeDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '-0.09', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of freeze data size', - ], - ], - ], - 'TotalDataSizeDayGrowthRatio' => [ - 'description' => 'The day-to-day growth rate of the total data volume.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'example' => 'totalDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.14', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Day growth ratio of total data size', - ], - ], - ], - ], - ], - 'Analysis' => [ - 'description' => 'The analysis results.'."\n", - 'type' => 'object', - 'properties' => [ - 'HdfsScore' => [ - 'description' => 'The overall score of HDFS storage resources.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '55', - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of large files\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 234,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of medium files\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of small files\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 232131,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of tiny files\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 15595897,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of empty files\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 51683279,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of total files\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 6701531944206,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 4062349775577,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 5570958082267,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1231312431,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 62086342083623,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.22,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of large files\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.21,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of medium files\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of small files\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of tiny files\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.3,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.22,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Hot data ratio\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.12,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of warm data\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Cold data ratio\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.12,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of freeze data\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 27809,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Day growth count of total files\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 2,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Day growth count of large files\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 176,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of medium files\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 12321,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of small files\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": -123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of tiny files\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 114,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of empty files\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 123154,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of hot data\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": -64806998319,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": -182636577752,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": -167683929450,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of freeze data\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 256482228248,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total files\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.39,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of large files\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of small files\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.003,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.005,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.1114,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.015,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.03,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.09,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.14,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HdfsScore\\": 55\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'GetDoctorHDFSCluster', - 'summary' => 'Obtains the analysis results of the Hadoop Distributed File System (HDFS) storage resources of a cluster on E-MapReduce (EMR) Doctor.', - ], - 'GetDoctorApplication' => [ - 'description' => 'get one doctor analysis app', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'UpdateClusterAttribute', + 'summary' => 'Updates cluster attributes.', + 'changeSet' => [ + ['createdAt' => '2021-11-15T06:43:37.000Z', 'description' => 'Error codes changed, Request parameters changed, Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateClusterAttribute'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateClusterAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateClusterAutoRenew' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '19032', + 'abilityTreeNodes' => ['SPUemapreduceZSGDF4'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-d6661c71139a****'], ], [ - 'name' => 'AppId', + 'name' => 'ClusterAutoRenew', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => 'app id', - 'description' => 'The ID of the job that is submitted to YARN.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'application_1542620905989_****', - ], + 'schema' => ['title' => '', 'description' => 'Specifies whether to enable auto-renewal for the cluster. Valid values:'."\n" + ."\n" + .'- true: Enables auto-renewal.'."\n" + ."\n" + .'- false: Disables auto-renewal.'."\n" + ."\n" + .'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ - 'name' => 'DateTime', + 'name' => 'ClusterAutoRenewDuration', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The auto-renewal duration for the cluster. This parameter takes effect only when ClusterAutoRenew is set to true.'."\n" + .'If ClusterAutoRenewDurationUnit is set to Month, the valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, and 36. If ClusterAutoRenewDurationUnit is set to Year, the valid values are 1, 2, and 3.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'ClusterAutoRenewDurationUnit', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The unit of the auto-renewal duration. Valid values:'."\n" + ."\n" + .'- Month'."\n" + ."\n" + .'- Year'."\n" + ."\n" + .'Default value: Month.', 'type' => 'string', 'required' => false, 'example' => 'Monthly'], + ], + [ + 'name' => 'RenewAllInstances', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'Specifies whether to enable auto-renewal for all ECS instances in the cluster. Valid values:'."\n" + ."\n" + .'- true: Enables auto-renewal for all ECS instances in the cluster. The default auto-renewal duration is one month.'."\n" + ."\n" + .'- false: Does not enable auto-renewal for all ECS instances in the cluster. You can specify the ECS instances for which to enable auto-renewal in the AutoRenewInstances parameter.'."\n" + ."\n" + .'Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => ''], + ], + [ + 'name' => 'AutoRenewInstances', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', + 'title' => '', + 'description' => 'The list of ECS instances for which to enable auto-renewal. This parameter takes effect only when RenewAllInstances is not set to true.', + 'type' => 'array', + 'items' => ['description' => 'An ECS instance for which to enable auto-renewal.', 'required' => false, '$ref' => '#/components/schemas/AutoRenewInstance', 'title' => '', 'example' => ''], + 'required' => false, + 'maxItems' => 5000, + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", + 'title' => '', + 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'The details of the job.'."\n", - 'type' => 'object', - 'properties' => [ - 'AppName' => [ - 'description' => 'The name of the job.'."\n", - 'type' => 'string', - 'example' => 'CREATE TABLE test...ranks=1 (Stage-1)', - ], - 'Ids' => [ - 'description' => 'The job IDs. Multiple job IDs are separated with commas (,).'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The job ID in YARN.'."\n", - 'type' => 'string', - 'example' => 'application_1643475036865_******', - ], - 'example' => 'null', - ], - 'User' => [ - 'description' => 'The username that is used to submit the job.'."\n", - 'type' => 'string', - 'example' => 'DW', - ], - 'StartTime' => [ - 'description' => 'The time when the job was submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677465658275', - ], - 'EndTime' => [ - 'description' => 'The end time of the job. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1666213200000', - ], - 'Queue' => [ - 'description' => 'The YARN queue to which the job was submitted.'."\n", - 'type' => 'string', - 'example' => 'DW', - ], - 'Type' => [ - 'description' => 'The type of the compute engine.'."\n", - 'type' => 'string', - 'example' => 'SPARK', - ], - 'QuerySql' => [ - 'description' => 'The SQL statement of the job. This parameter is left empty for non-SQL jobs.'."\n", - 'type' => 'string', - 'example' => 'SELECT id, count(1) FROM test group by id;', - ], - 'Metrics' => [ - 'description' => 'The metric information.'."\n", - 'type' => 'object', - 'properties' => [ - 'VcoreUtilization' => [ - 'description' => 'The CPU utilization. The meaning is the same as that of the %CPU command in the output of the Linux top command.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'vcoreUtilization', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '32.1', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of used vcore to total available cores', - ], - ], - ], - 'MemUtilization' => [ - 'description' => 'The memory usage.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'memUtilization', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '0.82', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Ratio of used memory to total available memory', - ], - ], - ], - 'VcoreSeconds' => [ - 'description' => 'The aggregated number of vCPUs that are allocated to the job multiplied by the number of seconds the job has been running.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'vcoreSeconds', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11123', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'VCores * Sec', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total vcore usage over time in seconds', - ], - ], - ], - 'MemSeconds' => [ - 'description' => 'The aggregated amount of memory that is allocated to the job multiplied by the number of seconds the job has been running.'."\n", - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => 'The name of the metric.'."\n", - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'memSeconds', - ], - 'Value' => [ - 'description' => 'The value of the metric.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12312312', - ], - 'Unit' => [ - 'description' => 'The unit of the metric.'."\n", - 'type' => 'string', - 'example' => 'MB * Sec', - ], - 'Description' => [ - 'description' => 'The description of the metric.'."\n", - 'type' => 'string', - 'example' => 'Total memory usage over time in seconds', - ], - ], - ], - ], - ], - 'Analysis' => [ - 'description' => 'The job analysis result.'."\n", - 'type' => 'object', - 'properties' => [ - 'Score' => [ - 'description' => 'The score of the job.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '67', - ], - 'Suggestion' => [ - 'description' => 'The suggestion for running the job.'."\n", - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'Success' => ['description' => 'Indicates whether the operation was successful.', 'type' => 'boolean', 'deprecated' => true, 'title' => '', 'example' => 'true'], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3896A'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"AppName\\": \\"CREATE TABLE test...ranks=1 (Stage-1)\\",\\n \\"Ids\\": [\\n \\"application_1643475036865_******\\"\\n ],\\n \\"User\\": \\"DW\\",\\n \\"StartTime\\": 1677465658275,\\n \\"EndTime\\": 1666213200000,\\n \\"Queue\\": \\"DW\\",\\n \\"Type\\": \\"SPARK\\",\\n \\"QuerySql\\": \\"SELECT id, count(1) FROM test group by id;\\",\\n \\"Metrics\\": {\\n \\"VcoreUtilization\\": {\\n \\"Name\\": \\"vcoreUtilization\\",\\n \\"Value\\": 32.1,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Ratio of used vcore to total available cores\\"\\n },\\n \\"MemUtilization\\": {\\n \\"Name\\": \\"memUtilization\\",\\n \\"Value\\": 0.82,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Ratio of used memory to total available memory\\"\\n },\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"Score\\": 67,\\n \\"Suggestion\\": \\"##### 当前节点:container\\\\n##### 存在问题:\\\\n最大内存利用率为7.75%,利用率较低\\\\n\\\\n\\\\n尝试减小Tez Container内存,可通过hive.tez.container.size进行设置\\\\n\\\\n\\"\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'GetDoctorApplication', - 'summary' => 'Obtains job analysis information on E-MapReduce (EMR) Doctor.', - ], - 'CreateUsers' => [ - 'summary' => 'Creates multiple users at a time.', - 'methods' => [ - 'post', + 'title' => 'UpdateClusterAutoRenew', + 'summary' => 'Enables or disables auto-renewal for an EMR cluster and its Elastic Compute Service (ECS) instances.', + 'description' => 'Before you call this operation, make sure you understand the billing methods and [pricing](https://www.aliyun.com/price/product?spm=openapi-amp.newDocPublishment.0.0.d54d281ftXTbvg#/emapreduce/detail/emrpre) of E-MapReduce. Note: Auto-renewal is different from manual renewal. If an instance has expired or will expire the next day, you must perform a manual renewal first.', + 'changeSet' => [ + ['createdAt' => '2021-10-12T06:06:52.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateClusterAutoRenew', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\"\\n}","type":"json"}]', + 'translator' => 'manual', + ], + 'UpdateNodeGroupAttributes' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '258146', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceUBSEPK', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREemapreduceSNGGYA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The cluster ID.', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The node group ID.', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], + ], + [ + 'name' => 'NodeGroupName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The node group name.', 'type' => 'string', 'example' => 'CORE1', 'required' => false], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The node group description.', 'type' => 'string', 'example' => 'emr-core-1', 'required' => false], + ], + [ + 'name' => 'VSwitchId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The vSwitch ID.', 'type' => 'string', 'deprecated' => true, 'example' => 'vsw-hp35g7ya5ymw68mmg****', 'required' => false], + ], + [ + 'name' => 'AdditionalSecurityGroupIds', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + 'title' => '', + 'description' => 'The list of security group IDs.', + 'type' => 'array', + 'items' => ['description' => 'The additional security group ID.', 'type' => 'string', 'required' => false, 'example' => 'sg-2ze7z8a4kxz8l0am6l09', 'title' => ''], + 'deprecated' => true, + 'required' => false, + 'example' => '["sg-hp3abbae8lb6lmb1****"]', ], ], [ - 'name' => 'ClusterId', + 'name' => 'KeyPairName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The key pair for ECS logon.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'test_pair'], + ], + [ + 'name' => 'MinSize', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The minimum number of instances in the node group.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'required' => false], + ], + [ + 'name' => 'MaxSize', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The maximum number of instances in the node group.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'required' => false], + ], + [ + 'name' => 'EnableGracefulDecommission', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'Specifies whether to enable graceful decommission. When a cluster is created in V303, graceful decommission is disabled by default for task groups.', 'type' => 'boolean', 'example' => 'true', 'required' => false], + ], + [ + 'name' => 'SpotInstanceRemedy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'Specifies whether to enable spot instance supplementation. If this feature is enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed when the system sends a reclamation notification. Default value: false.', 'type' => 'boolean', 'example' => 'true', 'required' => false], + ], + [ + 'name' => 'NodeResizeStrategy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The node scale-out strategy. Valid values: COST_OPTIMIZED and PRIORITY. Default value: PRIORITY.', 'type' => 'string', 'example' => 'PRIORITY', 'required' => false], + ], + [ + 'name' => 'CostOptimizedConfig', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => ['title' => '', 'description' => 'The cost-optimized mode configuration.', '$ref' => '#/components/schemas/CostOptimizedConfig', 'required' => false, 'example' => ''], + ], + [ + 'name' => 'SpotBidPrices', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', + 'title' => '', + 'description' => 'The maximum bid prices for spot instances. This parameter takes effect only when spotStrategy is set to SpotWithPriceLimit.', + 'type' => 'array', + 'items' => ['description' => 'The maximum hourly bid price for the instance. The value can contain up to three decimal places. This parameter takes effect only when SpotStrategy is set to SpotWithPriceLimit.', '$ref' => '#/components/schemas/SpotBidPrice', 'required' => false, 'title' => '', 'example' => ''], + 'required' => false, + 'example' => '', ], ], [ - 'name' => 'Users', + 'name' => 'EcsSpotStrategy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The spot instance strategy.', 'type' => 'string', 'example' => 'SpotWithPriceLimit', 'required' => false], + ], + [ + 'name' => 'InstanceTypeList', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '用户列表。', - 'description' => '用户列表。', + 'title' => '', + 'description' => 'The list of ECS instance types.', 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'UserName' => [ - 'title' => '用户名。', - 'description' => '用户名。', - 'type' => 'string', - 'required' => true, - 'example' => 'xi', - ], - 'Password' => [ - 'title' => '用户密码。', - 'description' => '用户密码。', - 'type' => 'string', - 'required' => true, - 'example' => '*Ab123', - ], - ], - 'required' => false, - ], - 'required' => true, - 'maxItems' => 20, + 'items' => ['description' => 'The instance type.', 'type' => 'string', 'required' => false, 'example' => 'ecs.g8a.16xlarge', 'title' => ''], + 'required' => false, + 'example' => 'null', ], ], + [ + 'name' => 'AutoCompensateState', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The automatic compensation state.', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'NodeCount', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The target number of nodes in the node group.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8'], + ], + [ + 'name' => 'AckConfig', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => ['description' => 'The ACK cluster configuration.', '$ref' => '#/components/schemas/AckConfig', 'required' => false, 'title' => '', 'example' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'Data' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"Data\\": true\\n}","type":"json"}]', - 'title' => 'CreateUsers', - 'description' => 'You can call this operation to create multiple users at a time.'."\n", - ], - 'DeleteUsers' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', + 'title' => 'Update cluster node group attributes', + 'summary' => 'Updates the attributes of a node group.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'UpdateScript' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '258145', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce3NR9KZ', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '119867', + 'abilityTreeNodes' => ['FEATUREemapreduceY1BE2N', 'FEATUREemapreduce42QKNE'], ], 'parameters' => [ [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ 'name' => 'ClusterId', - 'in' => 'formData', + 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'UserNames', - 'in' => 'formData', + 'name' => 'ScriptId', + 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'json', - 'schema' => [ - 'description' => 'The usernames. Number of elements in the array: 0 to 10.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The username.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'xi', - ], - 'required' => false, - ], + 'schema' => ['title' => '', 'description' => 'The script ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cs-da7476a7679a4d4c9cede62ebe09****'], ], [ - 'name' => 'RegionId', + 'name' => 'ScriptType', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'allowEmptyValue' => false, + 'schema' => ['title' => '', 'description' => 'The type of the script. Valid values:'."\n" + ."\n" + .'* BOOTSTRAP: indicates a bootstrap action of the Elastic Compute Service (ECS) instance.'."\n" + .'* NORMAL: indicates a common script.'."\n", 'type' => 'string', 'required' => true, 'example' => 'BOOTSTRAP'], + ], + [ + 'name' => 'Script', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => ['title' => '', 'description' => 'The script.'."\n", 'required' => true, '$ref' => '#/components/schemas/Script', 'example' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', + 'title' => '', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => ' '."\n" - .'DD6B1B2A-5837-5237-ABE4-FF0C8944****'."\n", - ], - 'Data' => [ - 'description' => 'Indicates whether the request was successful. Valid values: true and false.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'InvalidParameter.ClusterId', 'errorMessage' => 'The specified clusterId is invalid.', 'description' => ''], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'UpdateScript', + 'summary' => 'Updates a bootstrap action or a common script of an E-MapReduce (EMR) cluster.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateScript'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateScript', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\\\t\\\\nDD6B1B2A-5837-5237-ABE4-FF0C8944****\\\\n\\",\\n \\"Data\\": true\\n}","type":"json"}]', - 'title' => 'DeleteUsers', - 'summary' => 'Deletes multiple users at a time.', - 'description' => 'Deletes multiple users at a time.'."\n", ], 'UpdateUserAttribute' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -32328,759 +19006,1520 @@ 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '119865', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQF0AGF', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceQF0AGF'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ 'name' => 'UserId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '用户ID。', - 'description' => 'The user ID.'."\n", - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '125046002175****', - ], + 'schema' => ['title' => '', 'description' => 'The user ID.'."\n", 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '125046002175****'], ], [ 'name' => 'UserName', 'in' => 'query', - 'schema' => [ - 'description' => 'The username.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'yun****', - ], + 'schema' => ['description' => 'The username.'."\n", 'type' => 'string', 'required' => false, 'example' => 'yun****', 'title' => ''], ], [ 'name' => 'Password', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '用户密码。', - 'description' => 'The user password.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1234', - ], + 'schema' => ['title' => '', 'description' => 'The user password.'."\n", 'type' => 'string', 'required' => false, 'example' => '1234'], ], [ 'name' => 'Description', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '用户备注。', - 'description' => 'The remarks of the user.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['title' => '', 'description' => 'The remarks of the user.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', + 'title' => '', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'Indicates whether the request was successful. Valid values: true and false.'."\n", - 'type' => 'boolean', - 'deprecated' => true, - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'Data' => ['description' => 'Indicates whether the request was successful. Valid values: true and false.'."\n", 'type' => 'boolean', 'deprecated' => true, 'example' => 'true', 'title' => ''], + 'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => ''], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => ''], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => ''], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => ''], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => ''], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => ''], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => ''], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => ''], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => ''], + ], + 503 => [ + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => ''], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'UpdateUserAttribute', + 'summary' => 'Updates the information about a user.', + 'description' => 'Updates the information about a user.'."\n", + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateUserAttribute'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateUserAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + ], + 'endpoints' => [ + ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'emr.ap-northeast-1.aliyuncs.com', 'endpoint' => 'emr.ap-northeast-1.aliyuncs.com', 'vpc' => 'emr-vpc.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'emr.ap-southeast-1.aliyuncs.com', 'endpoint' => 'emr.ap-southeast-1.aliyuncs.com', 'vpc' => 'emr-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'emr.ap-southeast-3.aliyuncs.com', 'endpoint' => 'emr.ap-southeast-3.aliyuncs.com', 'vpc' => 'emr-vpc.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'emr.ap-southeast-5.aliyuncs.com', 'endpoint' => 'emr.ap-southeast-5.aliyuncs.com', 'vpc' => 'emr-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'emr.cn-beijing.aliyuncs.com', 'endpoint' => 'emr.cn-beijing.aliyuncs.com', 'vpc' => 'emr-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'emr.cn-chengdu.aliyuncs.com', 'endpoint' => 'emr.cn-chengdu.aliyuncs.com', 'vpc' => 'emr-vpc.cn-chengdu.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'emr.cn-hangzhou.aliyuncs.com', 'endpoint' => 'emr.cn-hangzhou.aliyuncs.com', 'vpc' => 'emr-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'emr.cn-hongkong.aliyuncs.com', 'endpoint' => 'emr.cn-hongkong.aliyuncs.com', 'vpc' => 'emr-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'emr.cn-huhehaote.aliyuncs.com', 'endpoint' => 'emr.cn-huhehaote.aliyuncs.com', 'vpc' => 'emr-vpc.cn-huhehaote.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'emr.cn-qingdao.aliyuncs.com', 'endpoint' => 'emr.cn-qingdao.aliyuncs.com', 'vpc' => 'emr-vpc.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'emr.cn-shanghai.aliyuncs.com', 'endpoint' => 'emr.cn-shanghai.aliyuncs.com', 'vpc' => 'emr-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'emr.cn-shenzhen.aliyuncs.com', 'endpoint' => 'emr.cn-shenzhen.aliyuncs.com', 'vpc' => 'emr-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'emr.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'emr.cn-wulanchabu.aliyuncs.com', 'vpc' => 'emr-vpc.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'emr.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'emr.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'emr-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'emr.us-west-1.aliyuncs.com', 'endpoint' => 'emr.us-west-1.aliyuncs.com', 'vpc' => 'emr-vpc.us-west-1.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'emr.us-east-1.aliyuncs.com', 'endpoint' => 'emr.us-east-1.aliyuncs.com', 'vpc' => 'emr-vpc.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'emr.eu-west-1.aliyuncs.com', 'endpoint' => 'emr.eu-west-1.aliyuncs.com', 'vpc' => 'emr-vpc.eu-west-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'emr.eu-central-1.aliyuncs.com', 'endpoint' => 'emr.eu-central-1.aliyuncs.com', 'vpc' => 'emr-vpc.eu-central-1.aliyuncs.com'], + ['regionId' => 'me-east-1', 'regionName' => 'UAE (Dubai)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'emr.me-east-1.aliyuncs.com', 'endpoint' => 'emr.me-east-1.aliyuncs.com', 'vpc' => 'emr-vpc.me-east-1.aliyuncs.com'], + ['regionId' => 'me-central-1', 'regionName' => 'Saudi Arabia (Riyadh)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'emr.me-central-1.aliyuncs.com', 'endpoint' => 'emr.me-central-1.aliyuncs.com', 'vpc' => 'emr-vpc.me-central-1.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'emr.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'emr.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'emr-vpc.cn-shanghai-finance-1.aliyuncs.com'], + ['regionId' => 'cn-heyuan-acdr-1', 'regionName' => 'Heyuan ACDR Auto', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'emr.cn-heyuan-acdr-1.aliyuncs.com', 'endpoint' => 'emr.cn-heyuan-acdr-1.aliyuncs.com', 'vpc' => 'emr-vpc.cn-heyuan-acdr-1.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'AccountException', 'message' => 'Account exception. %s', 'http_code' => 400, 'description' => ''], + ['code' => 'ConcurrentModification', 'message' => 'The request on %s failed due to multiple requests to change this object were submitted simultaneously. Wait a few minutes and try again.', 'http_code' => 400, 'description' => ''], + ['code' => 'ConflictParameters', 'message' => 'Parameters that must not be used together. %s', 'http_code' => 400, 'description' => ''], + ['code' => 'EcsAbnormalStatus', 'message' => 'ECS instance is abnormal.', 'http_code' => 400, 'description' => ''], + ['code' => 'EMR.AssumeRole.Failed', 'message' => 'You should create a role for EMR', 'http_code' => null, 'description' => ''], + ['code' => 'ExistUnpaidOrder', 'message' => 'There are unpaid orders.', 'http_code' => 400, 'description' => ''], + ['code' => 'IdempotentParameterMismatch', 'message' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'http_code' => 400, 'description' => ''], + ['code' => 'IncompleteSignature', 'message' => 'The request signature is invalid.', 'http_code' => 400, 'description' => ''], + ['code' => 'InternalError', 'message' => 'The request processing has failed due to some unknown error, exception or failure.', 'http_code' => 500, 'description' => ''], + ['code' => 'InvalidAction', 'message' => 'The action %s requested is invalid.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidParameter', 'message' => 'The specified parameter %s is not valid.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidParameterValue', 'message' => 'The input parameter %s is invalid or out of range.', 'http_code' => 400, 'description' => ''], + ['code' => 'MissingAction', 'message' => 'The action %s requested is missing.', 'http_code' => 400, 'description' => ''], + ['code' => 'MissingParameter', 'message' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => ''], + ['code' => 'NotAuthorized', 'message' => 'You do not have permission to perform this action. %s', 'http_code' => 400, 'description' => ''], + ['code' => 'OperationDenied', 'message' => 'The operation is invalid. %s', 'http_code' => 400, 'description' => ''], + ['code' => 'OutOfStock', 'message' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', 'http_code' => 400, 'description' => ''], + ['code' => 'ParameterIsEmpty', 'message' => 'The required parameter is empty. %s', 'http_code' => null, 'description' => ''], + ['code' => 'QuotaExceeded', 'message' => 'Request fail due to quota exceed. %s', 'http_code' => 400, 'description' => ''], + ['code' => 'RequestEcsServiceFail', 'message' => 'Request ecs service fail. %s', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceNotFound', 'message' => 'The resource not found by %s.', 'http_code' => 404, 'description' => ''], + ['code' => 'ServiceFailure', 'message' => 'The request has failed due to a temporary failure of %s service.', 'http_code' => 503, 'description' => ''], + ['code' => 'ServiceUnavailable', 'message' => 'The request has failed due to a temporary failure of the server.', 'http_code' => 503, 'description' => ''], + ['code' => 'ThrottlingException', 'message' => 'The request was denied due to request throttling. %s', 'http_code' => 400, 'description' => ''], + ['code' => 'ValidationFail', 'message' => 'The request fails to satisfy the constraints specified by emr service. %s', 'http_code' => 400, 'description' => ''], + ['code' => 'PermissionException', 'message' => 'No permission for the specified resource %s.', 'http_code' => 401, 'description' => 'No permission to specify resource% s.'], + ['code' => 'EntityNotExist.Role', 'message' => 'Authorization service role is required.', 'http_code' => 400, 'description' => 'The authorization service role is required.'], + ['code' => 'ErrorClusterNotFound', 'message' => 'Cluster not found.', 'http_code' => 404, 'description' => 'Cluster not found.'], + ['code' => '4000', 'message' => 'The specified parameter %s is not valid. %s.', 'http_code' => 400, 'description' => 'The specified parameter %s is not valid. %s'], + ['code' => 'Error.EntityNotExist.Role', 'message' => 'Authorization service role %s is required for %s.', 'http_code' => 400, 'description' => 'Authorization service role %s is required for %s. %s.'], + ['code' => 'OperationDenied', 'message' => 'The operation is invalid.', 'http_code' => 403, 'description' => 'The operation is invalid.'], + ['code' => 'RequestFailed', 'message' => 'An error occurred while calling the API.', 'http_code' => 500, 'description' => 'An error occurred while calling the API.'], + ['code' => 'InvokeError.RunScalingAction', 'message' => 'An error occurred while calling runScalingAction.', 'http_code' => 500, 'description' => 'An error occurred while calling RunScalingAction.'], + ['code' => 'AccessDenied', 'message' => 'You don\'t have required permissions.', 'http_code' => 403, 'description' => 'You don\'t have required permissions. User %s is not authorized to perform: %s on resource: %s. Ask your RAM administrator for permissions.'], + ['code' => 'RAM.Permission.NotAllow', 'message' => 'It is not allow to execute this operation, ask your RAM administrator for permissions.', 'http_code' => 400, 'description' => 'It is not allow to execute this operation, ask your RAM administrator for permissions.'], + ['code' => 'BusinessException', 'message' => 'An error occurred while calling the API.', 'http_code' => 500, 'description' => 'An error occurred while calling the API. %s'], + ['code' => 'FLOW_API_FAILED', 'message' => 'An error occurred while calling flow API.', 'http_code' => 500, 'description' => 'An error occurred while calling the process API.'], + ['code' => 'MissingParameter', 'message' => 'The input parameter is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => 'Missing required parameter.'], + ['code' => 'DataBaseError', 'message' => 'The database field format has error.', 'http_code' => 500, 'description' => 'The database field format has error.'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListClusters'], + ], + 'createdAt' => '2025-02-11T14:59:19.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateScript'], + ['description' => 'Response parameters changed', 'api' => 'GetClusterCloneMeta'], + ['description' => 'Request parameters changed', 'api' => 'ListScripts'], + ], + 'createdAt' => '2025-01-16T14:05:56.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateCluster'], + ['description' => 'Request parameters changed', 'api' => 'DecreaseNodes'], + ['description' => 'Response parameters changed', 'api' => 'GetClusterCloneMeta'], + ['description' => 'Request parameters changed', 'api' => 'RunCluster'], + ], + 'createdAt' => '2024-11-28T11:46:35.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListApplications'], + ], + 'createdAt' => '2024-08-21T09:15:29.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateCluster'], + ], + 'createdAt' => '2024-08-20T12:57:32.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateApplicationConfigs'], + ], + 'createdAt' => '2024-07-13T05:53:43.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateApplicationConfigs'], + ], + 'createdAt' => '2024-06-27T03:23:35.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateApplicationConfigs'], + ], + 'createdAt' => '2024-06-27T02:57:58.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateNodeGroup'], + ['description' => 'Error codes changed', 'api' => 'DeleteApiTemplate'], + ['description' => 'Error codes changed', 'api' => 'GetAutoScalingActivity'], + ['description' => 'Response parameters changed', 'api' => 'GetAutoScalingPolicy'], + ['description' => 'Error codes changed', 'api' => 'GetDoctorApplication'], + ['description' => 'Error codes changed', 'api' => 'GetDoctorComputeSummary'], + ['description' => 'Error codes changed', 'api' => 'GetDoctorHBaseCluster'], + ], + 'createdAt' => '2024-06-18T08:58:03.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'GetAutoScalingPolicy'], + ], + 'createdAt' => '2024-03-15T06:40:50.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'IncreaseNodes'], + ], + 'createdAt' => '2024-02-23T07:10:52.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListClusters'], + ], + 'createdAt' => '2023-12-12T12:36:32.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'GetCluster'], + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'JoinResourceGroup'], + ['description' => 'Request parameters changed', 'api' => 'ListClusters'], + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'ListNodeGroups'], + ['description' => 'Error codes changed', 'api' => 'ListNodes'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'RunApplicationAction'], + ], + 'createdAt' => '2023-12-07T08:16:00.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'GetCluster'], + ['description' => 'Request parameters changed', 'api' => 'ListClusters'], + ['description' => 'Request parameters changed', 'api' => 'RunApplicationAction'], + ['description' => 'Error codes changed', 'api' => 'TagResources'], + ], + 'createdAt' => '2023-10-23T13:00:18.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateCluster'], + ], + 'createdAt' => '2023-09-14T10:26:11.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateCluster'], + ], + 'createdAt' => '2023-08-29T20:45:39.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'PutAutoScalingPolicy'], + ], + 'createdAt' => '2023-08-25T03:32:33.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'ListClusters'], + ], + 'createdAt' => '2023-08-09T06:43:56.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListClusters'], + ], + 'createdAt' => '2023-08-04T07:43:08.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'ListTagResources'], + ], + 'createdAt' => '2023-07-06T06:58:59.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateCluster'], + ], + 'createdAt' => '2023-04-20T08:48:10.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed, Request parameters changed, Response parameters changed', 'api' => 'ListInstanceTypes'], + ], + 'createdAt' => '2023-03-28T10:51:28.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListClusters'], + ], + 'createdAt' => '2022-12-02T03:54:14.000Z', + 'description' => 'ListClusters更新', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListTagResources'], + ], + 'createdAt' => '2022-12-02T02:57:38.000Z', + 'description' => 'Add ListClusters, TagResources, UntagResources, ListResources', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListNodes'], + ], + 'createdAt' => '2022-10-12T15:24:39.000Z', + 'description' => 'v3.5.0 hotfix', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateCluster'], + ], + 'createdAt' => '2022-09-17T23:19:17.000Z', + 'description' => 'GetNodeGroup, ListNodeGroup改为公有', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DeleteCluster'], + ['description' => 'Response parameters changed', 'api' => 'DeleteCluster'], + ], + 'createdAt' => '2022-09-12T22:41:52.000Z', + 'description' => '更新API参数注释', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'IncreaseNodes'], + ], + 'createdAt' => '2022-09-06T07:30:41.000Z', + 'description' => '错误码更新。', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateCluster'], + ], + 'createdAt' => '2022-09-06T04:24:21.000Z', + 'description' => '错误信息优化', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed, Response parameters changed', 'api' => 'CreateCluster'], + ['description' => 'Error codes changed', 'api' => 'IncreaseNodes'], + ], + 'createdAt' => '2022-09-05T22:31:28.000Z', + 'description' => '错误信息更新', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'GetClusterClientMeta'], + ], + 'createdAt' => '2022-08-04T08:23:43.000Z', + 'description' => '1', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'GetCluster'], + ['description' => 'Request parameters changed', 'api' => 'GetOperation'], + ['description' => 'Request parameters changed', 'api' => 'ListApplicationConfigs'], + ], + 'createdAt' => '2022-06-10T10:53:15.000Z', + 'description' => '修改regionId为必填。', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'UpdateApplicationConfigs'], + ], + 'createdAt' => '2022-03-21T11:52:23.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed, Request parameters changed, Response parameters changed', 'api' => 'AddApplications'], + ], + 'createdAt' => '2022-02-25T03:31:32.000Z', + 'description' => 'AddApplications接口更新。', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CreateAutoScalingPolicy'], + ['description' => 'OpenAPI offline', 'api' => 'CreateAutoScalingRule'], + ['description' => 'OpenAPI offline', 'api' => 'CreateOnAckCluster'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateOnKubeCluster'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateScalingGroup'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteAutoScalingPolicy'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteAutoScalingRule'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DeleteNodeGroup'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteOnAckCluster'], + ['description' => 'OpenAPI offline', 'api' => 'DisableAutoScalingPolicy'], + ], + 'createdAt' => '2022-02-15T15:25:20.000Z', + 'description' => '新版本控制台OpenApi2.0上线', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed, Request parameters changed, Response parameters changed', 'api' => 'CreateCluster'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DecreaseNodes'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DeleteCluster'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DeleteScalingGroup'], + ['description' => 'OpenAPI offline', 'api' => 'GetOnAckCluster'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'IncreaseNodes'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListApplicationConfigs'], + ['description' => 'OpenAPI offline', 'api' => 'ListOnAckComponents'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListScalingActivities'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListTagResources'], + ], + 'createdAt' => '2022-02-15T15:21:00.000Z', + 'description' => '新版本控制台OpenApi2.0上线', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'AddApplication'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateNodeGroup'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'GetApplication'], + ], + 'createdAt' => '2022-02-15T15:19:28.000Z', + 'description' => '新版本控制台OpenApi2.0上线', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CreateClusterPreCheck'], + ['description' => 'Error codes changed', 'api' => 'IncreaseNodes'], + ['description' => 'Error codes changed', 'api' => 'ListTagResources'], + ['description' => 'Error codes changed', 'api' => 'TagResources'], + ['description' => 'Error codes changed', 'api' => 'UntagResources'], + ], + 'createdAt' => '2022-02-15T14:58:01.000Z', + 'description' => '版本发布', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'AddApplications'], + ['description' => 'OpenAPI offline', 'api' => 'CancelOperationOrders'], + ['description' => 'OpenAPI offline', 'api' => 'CreateCluster'], + ['description' => 'OpenAPI offline', 'api' => 'CreateClusterScript'], + ['description' => 'OpenAPI offline', 'api' => 'CreateNodeGroup'], + ['description' => 'OpenAPI offline', 'api' => 'CreateScalingGroup'], + ['description' => 'OpenAPI offline', 'api' => 'DecreaseNodes'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteCluster'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteClusterScript'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteNodeGroup'], + ], + 'createdAt' => '2021-10-13T09:51:25.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed, Request parameters changed', 'api' => 'CreateOnKubeCluster'], + ['description' => 'OpenAPI offline', 'api' => 'ListAckClusterNodePools'], + ['description' => 'OpenAPI offline', 'api' => 'ListAckClusterNodes'], + ['description' => 'Error codes changed, Request parameters changed', 'api' => 'ReleaseOnKubeCluster'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateAckClusterNodePools'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateAckClusterNodes'], + ], + 'createdAt' => '2021-08-18T13:33:42.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateOnKubeCluster'], + ], + 'createdAt' => '2021-07-04T09:32:56.000Z', + 'description' => 'emr', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'ListOnKubeClusterDedicatedNodes'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateOnKubeClusterDedicatedNodePools'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateOnKubeClusterDedicatedNodes'], + ], + 'createdAt' => '2021-07-02T06:43:13.000Z', + 'description' => 'release-0.4', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RunApplicationAction'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'IncreaseNodes'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListReleaseVersions'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetOperation'], + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTagResources'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListUsers'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UntagResources'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAutoScalingActivity'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAutoScalingActivities'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListNodes'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateClusterAttribute'], + ['threshold' => '3600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAutoScalingPolicy'], + ['threshold' => '1200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListNodeGroups'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetNodeGroup'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetClusterCloneMeta'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DecreaseNodes'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'JoinResourceGroup'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListInstanceTypes'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListScripts'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateCluster'], + ['threshold' => '1200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListApplicationConfigs'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateUserAttribute'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateScript'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteCluster'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateNodeGroup'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListComponentInstances'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListClusters'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListComponents'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateScript'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RemoveAutoScalingPolicy'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateApplicationConfigs'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListApplications'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'TagResources'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteScript'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ExportApplicationConfigs'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetApplication'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'PutAutoScalingPolicy'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetCluster'], + ], + ], + 'ram' => [ + 'productCode' => 'EMR', + 'productName' => 'E-MapReduce', + 'ramCodes' => ['emr'], + 'ramLevel' => 'RESOURCE', + 'ramActions' => [ + [ + 'apiName' => 'ListDoctorHDFSDirectories', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHDFSDirectories', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', + ], + ], + [ + 'apiName' => 'CreateCluster', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:CreateCluster', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', + ], + ], + [ + 'apiName' => 'GetDoctorHBaseTable', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHBaseTable', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RemoveAutoScalingPolicy', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'emr:RemoveAutoScalingPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', + ], + ], + [ + 'apiName' => 'CreateScript', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:CreateScript', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + ], + [ + 'apiName' => 'UpdateApiTemplate', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateApiTemplate', + 'authLevel' => '', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', + ], + ], + [ + 'apiName' => 'IncreaseNodes', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:IncreaseNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + ], + [ + 'apiName' => 'ListClusters', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListClusters', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + ], + [ + 'apiName' => 'UpdateClusterAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateClusterAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + [ + 'apiName' => 'UntagResources', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UntagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', + ], + [ + 'apiName' => 'DeleteScript', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'emr:DeleteScript', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + [ + 'apiName' => 'ListDoctorHiveTables', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHiveTables', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'apiName' => 'ListNodes', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + [ + 'apiName' => 'ListDoctorHBaseTables', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHBaseTables', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => 'UpdateUserAttribute', - 'summary' => 'Updates the information about a user.', - 'description' => 'Updates the information about a user.'."\n", - ], - 'ListUsers' => [ - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'GetNodeGroup', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetNodeGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'ListDoctorComputeSummary', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorComputeSummary', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeleteApiTemplate', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'emr:DeleteApiTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'systemTags' => [ + [ + 'apiName' => 'ListUsers', + 'description' => '', 'operationType' => 'list', - 'abilityTreeCode' => '119862', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQF0AGF', + 'ramAction' => [ + 'action' => 'emr:ListUsers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + [ + 'apiName' => 'GetDoctorHDFSCluster', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHDFSCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ClusterId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => 'The cluster ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', + ], + [ + 'apiName' => 'ListApiTemplates', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListApiTemplates', + 'authLevel' => '', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + [ + 'apiName' => 'RunApplicationAction', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:RunApplicationAction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'MaxResults', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => 'The maximum number of entries to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', + ], + [ + 'apiName' => 'GetDoctorHiveDatabase', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHiveDatabase', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'UserName', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '用户名,支持模糊搜索。', - 'description' => 'The username. Fuzzy match is supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', + ], + [ + 'apiName' => 'CreateApiTemplate', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:CreateApiTemplate', + 'authLevel' => '', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'UserNames', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => 'The usernames. Number of elements in the array: 0 to 20.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The username.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'xi', - ], - 'required' => false, + ], + [ + 'apiName' => 'ListDoctorApplications', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorApplications', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => '返回数据', - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'IsAdmin' => [ - 'description' => 'Indicates whether the user is an admin user. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'deprecated' => true, - 'example' => 'False', - ], - 'Users' => [ - 'title' => '用户列表。', - 'description' => 'The users.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'LdapUrl' => [ - 'title' => 'LDAP链接。', - 'description' => 'The Lightweight Directory Access Protocol (LDAP) link.'."\n", - 'type' => 'string', - 'example' => 'ldap://master-1-1.c-c6ce2d16d118****.cn-hangzhou.emr.aliyuncs.com:10389', - ], - 'UserId' => [ - 'title' => '用户ID。', - 'description' => 'The user ID.'."\n", - 'type' => 'string', - 'example' => '125046002175****', - ], - 'UserName' => [ - 'title' => '用户名称。', - 'description' => 'The username.'."\n", - 'type' => 'string', - 'example' => 'yun****', - ], - 'KeytabHex' => [ - 'title' => 'Keytab内容Base64编码。', - 'description' => 'The Base64-encoded content of the keytab file.'."\n", - 'type' => 'string', - 'example' => 'DBEDASDF==', - ], - 'CreateTime' => [ - 'title' => '创建时间。', - 'description' => 'The creation time.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1509338726362', - ], - 'Description' => [ - 'title' => '备注。', - 'description' => 'The remarks.'."\n", - 'type' => 'string', - 'example' => '添加test用户', - ], - ], - 'description' => '', - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n", - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => 'The maximum number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - ], + [ + 'apiName' => 'GetCluster', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', + [ + 'apiName' => 'ListComponentInstances', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListComponentInstances', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', + ], + ], + [ + 'apiName' => 'ListScripts', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListScripts', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', + ], + ], + [ + 'apiName' => 'UpdateClusterAutoRenew', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateClusterAutoRenew', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', + ], + ], + [ + 'apiName' => 'ListTagResources', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + ], + [ + 'apiName' => 'GetDoctorHBaseRegion', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHBaseRegion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', + ], + ], + [ + 'apiName' => 'GetAutoScalingPolicy', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetAutoScalingPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + ], + [ + 'apiName' => 'ListDoctorJobsStats', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorJobsStats', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListDoctorHDFSUGI', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHDFSUGI', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + ], + [ + 'apiName' => 'ListDoctorHBaseRegionServers', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHBaseRegionServers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + [ + 'apiName' => 'ListNodeGroups', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListNodeGroups', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', + ], + [ + 'apiName' => 'GetDoctorHBaseRegionServer', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHBaseRegionServer', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + [ + 'apiName' => 'RunApiTemplate', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:RunApiTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'apiName' => 'ListAutoScalingActivities', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListAutoScalingActivities', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + [ + 'apiName' => 'GetDoctorJob', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorJob', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IsAdmin\\": true,\\n \\"Users\\": [\\n {\\n \\"LdapUrl\\": \\"ldap://master-1-1.c-c6ce2d16d118****.cn-hangzhou.emr.aliyuncs.com:10389\\",\\n \\"UserId\\": \\"125046002175****\\",\\n \\"UserName\\": \\"yun****\\",\\n \\"KeytabHex\\": \\"DBEDASDF==\\",\\n \\"CreateTime\\": 1509338726362,\\n \\"Description\\": \\"添加test用户\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => 'ListUsers', - 'summary' => 'Queries a user.', - 'description' => 'Queries a user.'."\n", - ], - 'ExportApplicationConfigs' => [ - 'summary' => '导出应用服务配置', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'ListApplications', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListApplications', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'GetApplication', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetApplication', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'GetDoctorHBaseCluster', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHBaseCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'ListDoctorJobs', + 'description' => '', 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce66Y5VC', + 'ramAction' => [ + 'action' => 'emr:ListDoctorJobs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + [ + 'apiName' => 'DeleteUsers', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'emr:DeleteUsers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'Cluster', 'arn' => 'acs:emr:{#regionId}:{#accountId}:cluster/{#Clusterld}'], ], ], - [ - 'name' => 'ClusterId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', + ], + [ + 'apiName' => 'UpdateUserAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateUserAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ApplicationConfigFiles', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '导出应用配置。', - 'description' => '导出应用配置。', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'required' => false, - '$ref' => '#/components/schemas/ApplicationConfigFile', - ], - 'required' => false, + ], + [ + 'apiName' => 'ExportApplicationConfigs', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ExportApplicationConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'FileFormat', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '导出应用配置的文件格式。', - 'description' => '导出应用配置的文件格式。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'XML' => 'XML', - 'JSON' => 'JSON', - ], - 'example' => 'XML', + ], + [ + 'apiName' => 'UpdateApplicationConfigs', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateApplicationConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ExportMode', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'MODIFICATION', - 'default' => 'ALL', - 'enum' => [ - 'MODIFICATION', - 'ALL', - ], + ], + [ + 'apiName' => 'TagResources', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:TagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ConfigScope', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', + ], + [ + 'apiName' => 'GetOperation', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetOperation', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'NodeGroupIds', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + ], + [ + 'apiName' => 'GetApiTemplate', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetApiTemplate', + 'authLevel' => '', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'NodeIds', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + ], + [ + 'apiName' => 'ListDoctorHiveDatabases', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHiveDatabases', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => '返回数据', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ApplicationConfigs' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ApplicationName' => [ - 'title' => '应用名称。', - 'description' => '应用名称。', - 'type' => 'string', - 'example' => 'YARN', - ], - 'ConfigFileName' => [ - 'title' => '文件名称。', - 'description' => '文件名称。', - 'type' => 'string', - 'example' => 'yarn-site.xml', - ], - 'Content' => [ - 'title' => '文件内容,base64加密。', - 'description' => '文件内容,base64加密。', - 'type' => 'string', - 'example' => 'export key=value', - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - ], + [ + 'apiName' => 'CreateNodeGroup', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:CreateNodeGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', + [ + 'apiName' => 'JoinResourceGroup', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:JoinResourceGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', + ], + ], + [ + 'apiName' => 'GetAutoScalingActivity', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetAutoScalingActivity', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', + ], + ], + [ + 'apiName' => 'ListDoctorReports', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorReports', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', + ], + ], + [ + 'apiName' => 'GetDoctorComputeSummary', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorComputeSummary', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + ], + [ + 'apiName' => 'PutManagedScalingPolicy', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:PutManagedScalingPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', + ], + ], + [ + 'apiName' => 'GetDoctorHiveCluster', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHiveCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + ], + [ + 'apiName' => 'GetDoctorApplication', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorApplication', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + ], + [ + 'apiName' => 'ListComponents', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListComponents', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + [ + 'apiName' => 'CreateUsers', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:CreateUsers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', + ], + [ + 'apiName' => 'GetDoctorReportComponentSummary', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorReportComponentSummary', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + [ + 'apiName' => 'DeleteCluster', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'emr:DeleteCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'apiName' => 'GetClusterCloneMeta', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetClusterCloneMeta', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + [ + 'apiName' => 'UpdateScript', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateScript', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetManagedScalingPolicy', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetManagedScalingPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DecreaseNodes', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:DecreaseNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RunCluster', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:RunCluster', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDoctorHDFSDirectory', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHDFSDirectory', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDoctorHiveTable', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHiveTable', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'PutAutoScalingPolicy', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:PutAutoScalingPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListApplicationConfigs', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListApplicationConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ApplicationConfigs\\": [\\n {\\n \\"ApplicationName\\": \\"YARN\\",\\n \\"ConfigFileName\\": \\"yarn-site.xml\\",\\n \\"Content\\": \\"export key=value\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'emr.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'emr.cn-qingdao.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'emr.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'emr.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'emr.cn-huhehaote.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'emr.cn-wulanchabu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'emr.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'emr.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'emr.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'emr.cn-chengdu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'emr.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'emr.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'emr.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'emr.ap-southeast-3.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'emr.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'emr.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'emr.eu-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'emr.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'emr.me-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'emr.cn-shanghai-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'me-central-1', - 'endpoint' => 'emr.me-central-1.aliyuncs.com', ], - [ - 'regionId' => 'cn-heyuan-acdr-1', - 'endpoint' => 'emr.cn-heyuan-acdr-1.aliyuncs.com', + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'Cluster', 'arn' => 'acs:emr:{#regionId}:{#accountId}:Cluster/*'], + ['validationType' => 'always', 'resourceType' => 'Cluster', 'arn' => 'acs:emr:{#regionId}:{#accountId}:cluster/{#Clusterld}'], ], ], ]; |
