'1.0', 'info' => ['style' => 'RPC', 'product' => 'Emr', 'version' => '2021-03-20'], 'directories' => [ [ 'children' => ['ListReleaseVersions', 'ListInstanceTypes'], 'type' => 'directory', 'title' => '基础', 'id' => 143855, ], [ 'children' => ['RunCluster', 'CreateCluster', 'GetCluster', 'UpdateClusterAttribute', 'ListClusters', 'DeleteCluster', 'GetClusterCloneMeta', 'UpdateClusterAutoRenew'], 'type' => 'directory', 'title' => '集群', 'id' => 143779, ], [ 'children' => ['CreateApiTemplate', 'UpdateApiTemplate', 'ListApiTemplates', 'GetApiTemplate', 'DeleteApiTemplate', 'RunApiTemplate'], 'type' => 'directory', 'title' => '集群模板', 'id' => 143848, ], [ 'children' => ['CreateNodeGroup', 'ListNodeGroups', 'GetNodeGroup', 'IncreaseNodes', 'DecreaseNodes', 'ListNodes', 'UpdateNodeGroupAttributes', 'DeleteNodeGroup'], 'type' => 'directory', 'title' => '节点组', 'id' => 143787, ], [ 'children' => ['PutAutoScalingPolicy', 'PutManagedScalingPolicy', 'GetAutoScalingPolicy', 'GetManagedScalingPolicy', 'RemoveAutoScalingPolicy', 'ListAutoScalingActivities', 'GetAutoScalingActivity'], 'type' => 'directory', 'title' => '弹性伸缩', 'id' => 143802, ], [ 'children' => ['ListApplications', 'GetApplication', 'RunApplicationAction', 'ListApplicationConfigs', 'UpdateApplicationConfigs', 'ListComponents', 'ListComponentInstances'], 'type' => 'directory', 'title' => '应用', 'id' => 143835, ], [ 'children' => ['GetOperation'], 'type' => 'directory', 'title' => '操作', 'id' => 143794, ], [ 'children' => ['JoinResourceGroup'], 'type' => 'directory', 'title' => '资源组', 'id' => 143796, ], [ 'children' => ['TagResources', 'UntagResources', 'ListTagResources'], 'type' => 'directory', 'title' => '标签', 'id' => 143798, ], [ 'children' => ['CreateScript', 'ListScripts', 'UpdateScript', 'DeleteScript'], 'type' => 'directory', 'title' => '脚本', 'id' => 143843, ], [ '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', ], 'type' => 'directory', 'title' => '监控诊断', 'id' => 143810, ], [ 'children' => ['CreateUsers', 'DeleteUsers', 'UpdateUserAttribute', 'ListUsers'], 'type' => 'directory', 'title' => 'OpenLDAP用户管理', 'id' => 143858, ], [ 'children' => ['ExportApplicationConfigs'], 'type' => 'directory', 'title' => '其他', 'id' => 143863, ], ], 'components' => [ 'schemas' => [ 'AckConfig' => [ 'type' => 'object', 'properties' => [ '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'], ], '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'], ], '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'], ], ], ], 'PodAffinity' => ['title' => '应用亲和性', 'type' => 'string'], 'CustomLabels' => [ 'title' => 'label', 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/Tag'], ], 'Volumes' => [ 'title' => '卷定义', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Path' => ['title' => '源路径', 'type' => 'string'], 'Type' => ['title' => 'type', 'type' => 'string'], 'Name' => ['title' => '卷名称', 'type' => 'string'], ], ], ], 'VolumeMounts' => [ 'title' => '卷挂载', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Path' => ['title' => '容器内挂载路径', 'type' => 'string'], 'Name' => ['title' => '卷名称', 'type' => 'string'], ], ], ], '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'], ], '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'], ], ], ], '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' => 'Api模板。', 'type' => 'object', 'properties' => [ 'Status' => ['title' => '模板状态。', 'description' => '模板状态。', 'type' => 'string', 'example' => 'READY'], 'ResourceGroupId' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfmzabjyop****'], 'ApiName' => ['title' => '接口名。', 'description' => '接口名。', 'type' => 'string', 'example' => 'CreateCluster'], 'Content' => ['title' => '模版接口参数。', 'description' => '模板接口参数。', 'type' => 'string', 'example' => 'content'."\n"], 'TemplateName' => ['title' => '模板ID。', 'description' => '模板名称。', 'type' => 'string', 'example' => 'datalakeTest1'], 'RegionId' => ['title' => '区域ID。', 'description' => '地域ID 。', 'type' => 'string', 'example' => 'cn-hangzhou'], 'TemplateId' => ['title' => '模板ID。', 'description' => '模板ID。', 'type' => 'string', 'example' => 'AT-Af***'], ], ], 'Application' => [ 'type' => 'object', 'properties' => [ 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名称。从EMR控制台集群创建页面可查看到各EMR发行版的应用名称列表。', 'type' => 'string', 'required' => true, 'example' => 'SPARK'], ], 'description' => '', ], 'ApplicationConfig' => [ 'description' => '参数配置', 'type' => 'object', 'properties' => [ 'ConfigFileName' => ['title' => '应用配置文件名。', 'description' => '配置文件名称。'."\n", 'type' => 'string', 'required' => true, 'example' => 'hdfs-site.xml'], 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名称。从EMR控制台集群创建页面可查看到各EMR发行版的应用名称列表。', 'type' => 'string', 'required' => true, 'example' => 'HDFS'], 'ConfigItemKey' => ['title' => '配置项键。', 'description' => '配置项键。', 'type' => 'string', 'required' => true, 'example' => 'dfs.namenode.checkpoint.period'], 'NodeGroupName' => ['title' => '节点组名称。', 'description' => '节点组名称。ConfigScope取值NODE_GROUP时,且参数NodeGroupId为空时生效,该参数生效。', 'type' => 'string', 'example' => 'core-1'], 'ConfigScope' => ['title' => '配置范围。', 'description' => '配置范围。取值范围:'."\n" .'- CLUSTER:集群级别。'."\n" .'- NODE_GROUP:节点组级别。'."\n" ."\n" .'默认值:CLUSTER。', 'type' => 'string', 'example' => 'NODE_GROUP'], 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。ConfigScope取值NODE_GROUP时,该参数生效。NodeGroupId参数优先级高于NodeGroupName。', 'type' => 'string', 'example' => 'ng-869471354ecd****'], 'ConfigItemValue' => ['title' => '配置项值。', 'description' => '配置项值。', 'type' => 'string', 'example' => '3600s'], ], ], 'ApplicationConfigFile' => [ 'type' => 'object', 'properties' => [ 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名称。', 'type' => 'string', 'required' => true, 'example' => 'HDFS'], 'ConfigFileName' => ['title' => '配置文件名称。', 'description' => '配置文件名称。', 'type' => 'string', 'required' => false, 'example' => 'core-site.xml'], ], ], 'ApplicationConfigurationFile' => [ 'type' => 'object', 'properties' => [ 'ApplicationName' => ['type' => 'string', 'required' => false], 'ConfigFileName' => ['type' => 'string', 'required' => false], 'ConfigFilePath' => ['type' => 'string', 'required' => false], 'ConfigFileFormat' => ['type' => 'string'], 'ConfigFileLink' => ['type' => 'string'], 'ConfigFileOwner' => ['type' => 'string'], 'ConfigFileGroup' => ['type' => 'string'], 'ConfigFileMode' => ['type' => 'string'], 'Description' => ['type' => 'string'], 'NodeGroupId' => ['type' => 'string'], 'NodeId' => ['type' => 'string'], 'ClusterId' => ['type' => 'string'], ], ], '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"]', ], 'SupportMetrics' => [ 'title' => '支持的按负载弹性伸缩指标列表。', 'description' => '支持的按负载弹性伸缩指标列表。', 'type' => 'array', 'items' => ['type' => 'string'], 'example' => '["YarnRootAvailableMemoryUsage","YarnRootAvailableVcores"]', ], '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'], ], ], ], ], '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'], ], 'DefaultMetricTriggeredRules' => [ 'title' => '默认按负载弹性伸缩规则列表', 'description' => '默认按负载弹性伸缩规则列表', 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/ScalingRule'], ], ], ], 'AutoScalingPolicy' => [ 'title' => 'A short description of struct', 'type' => 'object', 'properties' => [ 'ScalingRules' => [ 'title' => '弹性伸缩规则列表', 'type' => 'array', 'items' => ['required' => false, '$ref' => '#/components/schemas/ScalingRule'], 'required' => false, ], 'Constraints' => [ 'title' => '最大最小值约束', 'type' => 'object', 'properties' => [ 'MaxCapacity' => ['title' => '最大值', 'type' => 'integer', 'format' => 'int32'], 'MinCapacity' => ['title' => '最小值', 'type' => 'integer', 'format' => 'int32'], ], ], ], ], 'Cluster' => [ 'title' => '集群实体', 'description' => '集群实体', 'type' => 'object', 'properties' => [ 'ClusterState' => ['title' => '集群状态。', 'description' => '集群状态。取值范围:'."\n" .'- STARTING:启动中。'."\n" .'- START_FAILED:启动失败。'."\n" .'- BOOTSTRAPPING:引导操作初始化。'."\n" .'- RUNNING:运行中。'."\n" .'- TERMINATING:终止中。'."\n" .'- TERMINATED:已终止。'."\n" .'- TERMINATED\\_WITH\\_ERRORS:发生异常导致终止'."\n" .'- TERMINATE_FAILED:终止失败。', 'type' => 'string', 'example' => 'RUNNING'], 'Description' => ['title' => '集群备注', 'description' => '集群备注', 'type' => 'string', 'example' => 'EMR cluster'], 'ResourceGroupId' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfmzabjyop****'], 'ReadyTime' => ['title' => '可用时间。', 'description' => '集群可用时间戳。自1970年1月1日(00:00:00 GMT)至集群可用时间的总毫秒数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837465784'], 'EndTime' => ['title' => '删除时间。', 'description' => '集群删除时间。自1970年1月1日(00:00:00 GMT)至集群删除时间的总毫秒数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837465784'], 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], 'CreateTime' => ['title' => '创建时间。', 'description' => '集群创建时间戳。自1970年1月1日(00:00:00 GMT)至集群创建时的总毫秒数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837465784'], 'EmrDefaultRole' => ['title' => 'EMR默认角色。', 'description' => 'EMR默认角色。', 'type' => 'string', 'example' => 'AliyunEMRDefaultRole'], 'ClusterType' => ['title' => '集群类型。', 'description' => '集群类型。取值范围:'."\n" .'- DATALAKE:新版数据湖。'."\n" .'- OLAP:数据分析。'."\n" .'- DATAFLOW:实时数据流。'."\n" .'- DATASERVING:数据服务。'."\n" .'- CUSTOM:自定义混部集群。'."\n" .'- HADOOP:旧版数据湖。', 'type' => 'string', 'example' => 'DATALAKE'], 'DeletionProtection' => ['title' => '释放保护', 'description' => '释放保护', 'type' => 'boolean', 'example' => 'false'], 'ReleaseVersion' => ['title' => 'EMR发行版。', 'description' => 'EMR发行版。', 'type' => 'string', 'example' => 'EMR-5.8.0'], 'SubscriptionConfig' => ['title' => '预付费配置。', 'description' => '预付费配置。', '$ref' => '#/components/schemas/SubscriptionConfig'], 'DeployMode' => ['title' => '部署模式。', 'description' => '集群中的应用部署模式。取值范围:'."\n" .'- NORMAL:非高可用部署。'."\n" .'- HA:高可用部署。', 'type' => 'string', 'example' => 'HA'], 'SecurityMode' => ['title' => 'Kerberos安全模式。', 'description' => '集群Kerberos安全模式。取值范围:'."\n" .'- NORMAL:普通模式,不开启Kerberos模式。'."\n" .'- KERBEROS:开启Kerberos模式。', 'type' => 'string', 'example' => 'NORMAL'], 'NodeAttributes' => ['title' => '节点属性。', 'description' => '节点属性。', '$ref' => '#/components/schemas/NodeAttributes'], 'ClusterName' => ['title' => '集群名称。', 'description' => '集群名称。', 'type' => 'string', 'example' => 'emrtest'], 'PaymentType' => ['title' => '付费类型。', 'description' => '付费类型。取值范围:'."\n" .'- PayAsYouGo:后付费。'."\n" .'- Subscription:预付费。', 'type' => 'string', 'example' => 'PayAsYouGo'], 'RegionId' => ['title' => '地域ID。', 'description' => '区域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], 'ExpireTime' => ['title' => '过期时间。', 'description' => '集群过期时间。自1970年1月1日(00:00:00 GMT)至集群过期时间的总毫秒数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837465784'], 'StateChangeReason' => ['description' => '集群状态变化原因。', '$ref' => '#/components/schemas/ClusterStateChangeReason'], 'Tags' => [ 'title' => '集群标签。', 'description' => '集群标签。', 'type' => 'array', 'items' => ['description' => '标签。', '$ref' => '#/components/schemas/Tag'], ], ], ], 'ClusterStateChangeReason' => [ 'type' => 'object', 'properties' => [ 'Message' => ['title' => '状态变化信息。', 'description' => '集群状态变化信息。', 'type' => 'string', 'example' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.'], 'Code' => ['title' => '状态码。', 'description' => '状态码。取值范围:'."\n" .'- UserRequest:用户请求。'."\n" .'- OutOfStock:请求的ECS实例类型无库存。'."\n" .'- NotAuthorized:无权限。'."\n" .'- QuotaExceeded:Quota超出。'."\n" .'- OperationDenied:操作被拒绝。'."\n" .'- AccountException:账号异常。'."\n" .'- NodeFailure:ECS节点异常。'."\n" .'- BootstrapFailure:引导失败。'."\n" .'- ValidationFail:业务逻辑校验失败。'."\n" .'- ServiceFailure:依赖的其他服务失败。'."\n" .'- InternalError:内部错误。', 'type' => 'string', 'example' => 'OutOfStock'], ], 'description' => '', ], 'ClusterSummary' => [ 'type' => 'object', 'properties' => [ 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], 'ClusterName' => ['title' => '集群名称。', 'description' => '集群名称。', 'type' => 'string', 'example' => 'emrtest'], 'ClusterType' => ['title' => '集群类型。', 'description' => '集群类型。取值范围:'."\n" .'- DATALAKE:新版数据湖。'."\n" .'- OLAP:数据分析。'."\n" .'- DATAFLOW:实时数据流。'."\n" .'- DATASERVING:数据服务。', 'type' => 'string', 'example' => 'DATALAKE'], 'ClusterState' => ['title' => '集群状态。', 'description' => '集群状态。取值范围:'."\n" .'- STARTING:启动中。'."\n" .'- START_FAILED:启动失败。'."\n" .'- BOOTSTRAPPING:引导操作初始化。'."\n" .'- RUNNING:运行中。'."\n" .'- TERMINATING:终止中。'."\n" .'- TERMINATED:已终止。'."\n" .'- TERMINATED\\_WITH\\_ERRORS:发生异常导致终止'."\n" .'- TERMINATE_FAILED:终止失败。', 'type' => 'string', 'example' => 'RUNNING'], 'PaymentType' => ['title' => '付费类型。', 'description' => '付费类型。取值范围:'."\n" .'- PayAsYouGo:后付费。'."\n" .'- Subscription:预付费。', 'type' => 'string', 'example' => 'PayAsYouGo'], 'CreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837465788'], 'ReadyTime' => ['title' => '可用时间。', 'description' => '可用时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837465788'], 'ExpireTime' => ['title' => '过期时间。', 'description' => '过期时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837475788'], 'EndTime' => ['title' => '删除时间。', 'description' => '删除时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837485788'], 'ReleaseVersion' => ['title' => 'EMR发行版。', 'description' => 'EMR发行版。', 'type' => 'string', 'example' => 'EMR-5.8.0'], 'ResourceGroupId' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfmzabjyop****'], 'StateChangeReason' => ['title' => '失败原因。', 'description' => '失败原因。', '$ref' => '#/components/schemas/ClusterStateChangeReason'], 'Tags' => [ 'title' => '标签列表。', 'description' => '标签列表。', 'type' => 'array', 'items' => ['description' => '标签。', '$ref' => '#/components/schemas/Tag'], ], 'EmrDefaultRole' => ['title' => 'EMR服务角色。', 'description' => 'EMR服务角色。', 'type' => 'string', 'example' => 'AliyunEMRDefaultRole'], 'Description' => ['title' => '集群描述', 'description' => '集群描述。', 'type' => 'string', 'example' => 'EMR cluster'], 'DeletionProtection' => ['title' => 'DeletionProtection', 'description' => '释放保护。', 'type' => 'boolean', 'example' => 'false'], ], 'description' => '', ], 'CollationTimeZone' => [ 'type' => 'object', 'properties' => [ 'TimeZone' => ['title' => 'IANA时区标识符', 'type' => 'string', 'example' => 'Asia/Shanghai'], 'CurrentTimeOffset' => ['title' => '当前UTC偏移量', 'type' => 'string', 'example' => 'UTC+08:00'], ], ], 'ComponentInstanceSelector' => [ 'description' => '组件实例选择器。', 'type' => 'object', 'properties' => [ 'ActionScope' => ['description' => '执行范围。取值范围:'."\n" ."\n" .'- APPLICATION:应用级别。'."\n" .'- COMPONENT:组件级别。'."\n" .'- COMPONENT_INSTANCE:组件实例级别。', 'type' => 'string', 'deprecated' => true, 'example' => 'APPLICATION'."\n"], 'Components' => [ 'title' => '组件列表。', 'description' => '组件列表。'."\n" .'RunActionScope为COPONENT时使用。', 'type' => 'array', 'items' => [ 'description' => '组件信息。', 'type' => 'object', 'properties' => [ 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名称。', 'type' => 'string', 'example' => 'HDFS'], 'ComponentName' => ['title' => '组件名称。', 'description' => '组件名称。', 'type' => 'string', 'example' => 'DataNode'], ], ], ], 'RunActionScope' => ['title' => '执行范围。', 'description' => '执行范围。取值范围:'."\n" .'- APPLICATION:应用级别。'."\n" .'- COMPONENT:组件级别。'."\n" .'- COMPONENT_INSTANCE:组件实例级别。', 'type' => 'string', 'required' => true, 'example' => 'APPLICATION'], 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名称。', 'type' => 'string', 'example' => 'HDFS'], 'ComponentInstances' => [ 'title' => '组件实例列表。', 'description' => '组件实例列表。RunActionScope为COPONENT_INSTANCE时使用。', 'type' => 'array', 'items' => [ 'description' => '实例组件安装信息。', 'type' => 'object', 'properties' => [ 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名称。', 'type' => 'string', 'example' => 'HDFS'], 'NodeId' => ['title' => '节点ID。', 'description' => '节点ID。', 'type' => 'string', 'example' => 'i-bp1cudc25w2bfwl5****'], 'ComponentName' => ['title' => '组件名称。', 'description' => '组件名称。', 'type' => 'string', 'example' => 'DataNode'], ], ], ], ], ], 'ConfigEffectActions' => [ 'type' => 'object', 'properties' => [ 'ConfigEffectAction' => ['title' => '配置生效动作。', 'description' => '配置生效动作。', 'type' => 'string', 'example' => 'restart'], 'ConfigFiles' => [ 'title' => '配置生效配置文件。', 'description' => '配置生效配置文件。', 'type' => 'array', 'items' => ['type' => 'string'], 'example' => 'null', ], ], ], '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'], ], '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' => '成本优化模式配置。', 'type' => 'object', 'properties' => [ 'OnDemandBaseCapacity' => ['title' => '按量实例个数的最小值。', 'description' => '按量实例个数的最小值。节点组所需要按量实例个数的最小值,取值范围:0~1000。当按量实例个数少于该值时,将优先创建按量实例。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '80'], 'OnDemandPercentageAboveBaseCapacity' => ['title' => '超出的实例中按量实例应占的比例。', 'description' => '节点组满足最小按量实例OnDemandBaseCapacity要求后,超出的实例中按量实例应占的比例,取值范围:0~100。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '80'], 'SpotInstancePools' => ['title' => '可用实例规格的个数。', 'description' => '指定可用实例规格的个数,伸缩组将按成本最低的多个规格均衡创建抢占式实例。取值范围:0~10。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2'], ], ], 'DataDisk' => [ 'type' => 'object', 'properties' => [ 'Category' => ['title' => '磁盘类型。', 'description' => '磁盘类型。取值范围:'."\n" .' - cloud_efficiency:高效云盘。'."\n" .' - cloud_ssd:SSD云盘。'."\n" .' - cloud_essd:ESSD云盘。'."\n" .' - cloud:普通云盘。', 'type' => 'string', 'required' => true, 'example' => 'cloud_essd'], 'Size' => ['title' => '磁盘大小。', 'description' => '单位GB。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '80'], 'PerformanceLevel' => ['title' => 'ESSD云盘性能级别。', 'description' => '创建ESSD云盘作为数据盘使用时,设置云盘的性能等级。取值范围:'."\n" .'- PL0:单盘最高随机读写IOPS 1万。'."\n" .'- PL1:单盘最高随机读写IOPS 5万。'."\n" .'- PL2:单盘最高随机读写IOPS 10万。'."\n" .'- PL3:单盘最高随机读写IOPS 100万。'."\n" ."\n" .'默认值:PL1。', 'type' => 'string', 'example' => 'PL1'], 'Count' => ['title' => '每个节点磁盘数量。', 'description' => '磁盘数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], ], 'description' => '', ], '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' => '地域ID', 'type' => 'string', 'required' => true], 'ClusterType' => ['title' => '集群类型', 'type' => 'string', 'required' => true], 'ReleaseVersion' => ['title' => 'EMR发行版', 'type' => 'string', 'required' => true], 'DeployMode' => ['title' => '部署模式', 'type' => 'string', 'required' => false], 'LogCollectStrategy' => ['title' => '日志开关策略', 'type' => 'string', 'required' => false], 'ClusterName' => ['title' => '容灾集群名称', 'type' => 'string', 'required' => true], 'DeletionProtection' => ['type' => 'boolean'], 'SecurityMode' => ['title' => 'Kerberos安全模式', 'type' => 'string', 'required' => true], 'PaymentType' => ['title' => '付费类型', 'type' => 'string', 'required' => true], 'NodeAttributes' => ['title' => '节点属性', 'required' => true, '$ref' => '#/components/schemas/NodeAttributes'], 'ManagedScalingPolicy' => [ 'type' => 'object', 'properties' => [ 'Constraints' => ['$ref' => '#/components/schemas/ManagedScalingConstraints'], ], ], 'ResourceGroupId' => ['type' => 'string'], 'Description' => ['type' => 'string'], 'SubscriptionConfig' => ['$ref' => '#/components/schemas/SubscriptionConfig'], 'BootstrapScripts' => [ 'title' => '引导脚本列表', 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/Script'], ], 'Tags' => [ 'title' => '标签列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Key' => ['title' => '标签键。', 'description' => '标签键。必填参数,不允许为空字符串。最多支持128个字符,不能以aliyun和acs:开头,不能包含http://或https://。', 'type' => 'string', 'required' => true, 'example' => 'department'], 'Value' => ['title' => '标签值。', 'description' => '标签值。非必填,可以为空字符串。最多支持128个字符,不能以acs:开头,不能包含http://或者https://。', 'type' => 'string', 'example' => 'IT'], ], ], ], 'NodeGroups' => [ 'title' => '节点组配置', 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/NodeGroupConfig'], 'required' => true, ], 'Applications' => [ 'title' => '集群应用列表', 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/Application'], 'required' => true, ], 'ApplicationConfigs' => [ 'title' => '应用配置项', 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/ApplicationConfig'], ], ], ], 'DRPlanConfigurationDetail' => [ 'type' => 'object', 'properties' => [ 'RegionId' => ['title' => '地域ID', 'type' => 'string', 'required' => true], 'ClusterType' => ['title' => '集群类型', 'type' => 'string', 'required' => true], 'ReleaseVersion' => ['title' => 'EMR发行版', 'type' => 'string', 'required' => true], 'DeployMode' => ['title' => '部署模式', 'type' => 'string', 'required' => true], 'LogCollectStrategy' => ['title' => '日志开关策略', 'type' => 'string', 'required' => true], 'ClusterName' => ['title' => '容灾集群名称', 'type' => 'string', 'required' => false], 'DeletionProtection' => ['type' => 'boolean'], 'MetaStoreType' => ['title' => '元数据存储类型', 'type' => 'string', 'required' => true], 'SecurityMode' => ['title' => 'Kerberos安全模式', 'type' => 'string', 'required' => true], 'PaymentType' => ['title' => '付费类型', 'type' => 'string', 'required' => true], 'NodeAttributes' => ['title' => '节点属性', 'required' => true, '$ref' => '#/components/schemas/NodeAttributes'], 'ManagedScalingPolicy' => [ 'type' => 'object', 'properties' => [ 'Constraints' => ['$ref' => '#/components/schemas/ManagedScalingConstraints'], ], ], 'ResourceGroupId' => ['type' => 'string'], 'SubscriptionConfig' => ['$ref' => '#/components/schemas/SubscriptionConfig'], 'Description' => ['type' => 'string'], 'BootstrapScripts' => [ 'title' => '引导脚本列表', 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/Script'], ], 'Tags' => [ 'title' => '标签列表', 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/Tag'], ], 'NodeGroups' => [ 'title' => '节点组配置', 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/NodeGroupConfig'], ], 'Applications' => [ 'title' => '集群应用列表', 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/Application'], ], 'ApplicationConfigs' => [ 'title' => '应用配置项', 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/ApplicationConfig'], ], 'ScalingPolicies' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/ScalingPolicy'], ], 'ScalingTimeZone' => ['type' => 'string'], ], ], 'FailedReason' => [ 'type' => 'object', 'properties' => [ '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', ], 'Values' => [ 'type' => 'array', 'items' => ['type' => 'string'], 'example' => 'null', ], 'DefaultValue' => ['title' => '默认值。', 'description' => '默认值。', 'type' => 'string', 'example' => 'CLUSTER'], ], ], 'InstanceType' => [ 'type' => 'object', 'properties' => [ 'InstanceTypeFamily' => ['title' => '实例规格所属的实例规格族。', 'description' => '实例规格所属的实例规格族。取值请参见ECS的文档[DescribeInstanceTypeFamilies](~~25621~~)。', 'type' => 'string', 'example' => 'ecs.g6'], 'InstanceType' => ['title' => '实例规格。', 'description' => 'ECS的实例规格。更多信息请参见ECS[实例规格族](~~25378~~)。', 'type' => 'string', 'example' => 'ecs.g6.large'], 'Optimized' => ['title' => '是否IO优化类型。', 'description' => '是否IO优化类型。取值范围:'."\n" ."\n" .'- true:I/O优化。'."\n" .'- false:非I/O优化。', 'type' => 'boolean', 'example' => 'true'], 'CpuCore' => ['title' => 'vCPU内核数目。', 'description' => 'vCPU内核数目。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], 'InstanceCategory' => ['title' => '实例规格分类。', 'description' => '实例规格分类。取值范围:'."\n" .'- General-purpose: 通用型。'."\n" .'- Compute-optimized:计算型。'."\n" .'- Memory-optimized:内存型。'."\n" .'- Big data:大数据型。'."\n" .'- Local SSDs :本地SSD型。'."\n" .'- High Clock Speed :高主频型。'."\n" .'- Enhanced :增强型。'."\n" .'- Shared:共享型。'."\n" .'- Compute-optimized with GPU :GPU计算型。'."\n" .'- Visual Compute-optimized :视觉计算型。'."\n" .'- Heterogeneous Service :异构服务型。'."\n" .'- Compute-optimized with FPGA :FPGA计算型。'."\n" .'- Compute-optimized with NPU :NPU计算型。'."\n" .'- ECS Bare Metal :弹性裸金属服务器。'."\n" .'- Super Computing Cluster:超级计算集群。', 'type' => 'string', 'example' => 'Compute-optimized'], 'CpuArchitecture' => ['title' => 'cpu架构。', 'description' => 'CPU架构。取值范围:'."\n" ."\n" .'- X86:X86架构。'."\n" .'- ARM:ARM架构。', 'type' => 'string', 'example' => 'X86'], 'LocalStorageCapacity' => ['title' => '实例挂载的本地盘的单盘容量。', 'description' => '实例挂载的本地盘的单盘容量。单位:GiB。', 'type' => 'integer', 'format' => 'int64', 'example' => '40'], 'LocalStorageAmount' => ['title' => '实例挂载的本地盘的数量。', 'description' => '实例挂载的本地盘的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], 'ModifyType' => ['type' => 'string'], ], 'description' => '', ], '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' => '托管伸缩约束。', 'type' => 'object', 'properties' => [ 'MaxOnDemandCapacity' => ['title' => '最大按量节点数量。', 'description' => '按量付费Task节点的最大数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], 'MinCapacity' => ['title' => '最小值。', 'description' => '最小值。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], 'MaxCapacity' => ['title' => '最大值。', 'description' => '最大值。', 'type' => 'integer', 'format' => 'int32', 'example' => '2000'], ], ], 'MetricsTrigger' => [ 'description' => '指标触发。', 'type' => 'object', 'properties' => [ 'CoolDownInterval' => ['title' => '冷却时间。', 'description' => '冷却时间。 单位为秒。取值范围:0~10800。', 'type' => 'integer', 'format' => 'int32', 'example' => '300'], 'TimeConstraints' => [ 'title' => '时间限制。', 'description' => '时间限制。', 'type' => 'array', 'items' => ['description' => '时间限制。', '$ref' => '#/components/schemas/TimeConstraint'], ], 'EvaluationCount' => ['title' => '统计次数。', 'description' => '统计次数。必填参数,取值范围:1~5。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2'], 'TimeWindow' => ['title' => '统计窗口。', 'description' => '统计窗口。必填参数,单位为秒。取值范围30~1800。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30'], 'Conditions' => [ 'title' => '指标触发条件列表。', 'description' => '指标触发条件列表。', 'type' => 'array', 'items' => ['description' => '触发阈值。必填参数。', '$ref' => '#/components/schemas/TriggerCondition'], ], 'ConditionLogicOperator' => ['title' => '多指标逻辑关系。', 'description' => '多指标逻辑关系。取值范围:'."\n" .'- And:与。'."\n" .'- Or(默认值):或。', 'type' => 'string', 'example' => 'Or'], ], ], 'MetricUnitValue' => [ 'type' => 'object', 'properties' => [ 'MetricName' => ['title' => '指标名称。', 'description' => '指标名称。', 'type' => 'string'], 'MetricUnit' => ['title' => '指标单位。', 'description' => '指标单位。', 'type' => 'string'], ], ], 'Node' => [ 'type' => 'object', 'properties' => [ 'AutoRenewDurationUnit' => ['title' => '节点自动续费时长单位。', 'description' => '节点自动续费时长单位。', 'type' => 'string', 'example' => 'Month'], 'NodeState' => ['title' => '节点状态。', 'description' => '节点状态。取值范围:'."\n" .'- Pending:创建中。'."\n" .'- Starting:启动中。'."\n" .'- Running:运行中。'."\n" .'- Stopping:停止中。'."\n" .'- Stopped:已停止。'."\n" .'- Terminated:已终止。', 'type' => 'string', 'example' => 'Running'], 'ZoneId' => ['title' => '可用区ID。', 'description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-beijing-h'], 'NodeName' => ['title' => '节点名称。', 'description' => '节点名称。', 'type' => 'string', 'example' => 'core1-1'], 'PublicIp' => ['title' => '公网IP。', 'description' => '公网IP。', 'type' => 'string', 'example' => '42.1.1.**'], 'AutoRenew' => ['title' => '节点是否自动续费。', 'description' => '节点是否自动续费。取值范围:'."\n" .'- true:已开启自动续费。'."\n" .'- false:未开启自动续费。', 'type' => 'boolean', 'example' => 'false'], 'CreateTime' => ['title' => '节点创建时间。返回状态使用。', 'description' => '节点创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1603728394857'], 'AutoRenewDuration' => ['title' => '节点自动续费时长。', 'description' => '节点自动续费时长。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'PrivateIp' => ['title' => '私网IP。', 'description' => '私网IP。', 'type' => 'string', 'example' => '10.10.**.**'], 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'example' => 'ng-869471354ecd****'], 'NodeGroupType' => ['title' => '节点组类型。', 'description' => '节点组类型。取值范围:'."\n" .'- MASTER:主节点组类型。'."\n" .'- CORE:核心节点组类型。'."\n" .'- TASK:计算节点组类型。', 'type' => 'string', 'example' => 'CORE'], 'NodeId' => ['title' => '节点ID。', 'description' => '节点ID。', 'type' => 'string', 'example' => 'i-bp1cudc25w2bfwl5****'], 'InstanceType' => ['title' => '实例类型。', 'description' => '实例类型。对应ECS的实例类型,您可以通过调用ECS服务的[DescribeInstanceTypes](~~25620~~)获取可用的实例类型。', 'type' => 'string', 'example' => 'ecs.g7.xlarge'], 'ExpireTime' => ['title' => '节点过期时间。', 'description' => '节点过期时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1603728394857'], 'MaintenanceStatus' => ['title' => '运维模式状态。', 'description' => '运维模式状态。取值范围:'."\n" .'- ON:处于运维模式。'."\n" .'- OFF:处于非运维模式。'."\n" ."\n" .'为空表示处于非运维模式。', 'type' => 'string'], ], 'description' => '', ], 'NodeAttributes' => [ 'type' => 'object', 'properties' => [ 'KeyPairName' => ['title' => 'ECS ssh登录秘钥。', 'description' => 'ECS ssh登录密钥。', 'type' => 'string', 'example' => 'emr_login'], 'VpcId' => ['title' => '专有网络ID。', 'description' => '专有网络ID。', 'type' => 'string', 'required' => true, 'example' => 'vpc-bp1tgey2p0ytxmdo5****'], 'ZoneId' => ['title' => '可用区ID。', 'description' => '可用区ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing-h'], 'MasterRootPassword' => ['title' => 'MASTER节点root密码。', 'description' => 'MASTER节点root用户密码。作为API的出参时,该参数将返回空。', 'type' => 'string', 'example' => 'EAQ#86****'], 'SystemDiskKMSKeyId' => ['title' => 'KMS加密秘钥ID。', 'description' => 'KMS密钥ID。', 'type' => 'string', 'example' => '0e478b7a-4262-4802-b8cb-00d3fb40****'], 'SecurityGroupId' => ['title' => '安全组ID。', 'description' => '安全组ID。EMR只支持普通安全组,不支持企业安全组。', 'type' => 'string', 'required' => true, 'example' => 'sg-hp3abbae8lb6lmb1****'], 'DataDiskKMSKeyId' => ['title' => 'KMS加密秘钥ID。', 'description' => '数据盘KMS密钥ID。', 'type' => 'string', 'example' => '0e478b7a-4262-4802-b8cb-00d3fb40****'], 'RamRole' => ['title' => 'ECS访问资源绑定的角色。', 'description' => 'ECS访问资源绑定的角色。'."\n" .'默认值:AliyunECSInstanceForEMRRole。', 'type' => 'string', 'example' => 'AliyunECSInstanceForEMRRole'], 'DataDiskEncrypted' => ['title' => '是否启用云盘加密。', 'description' => '数据盘是否启用加密,详见:[加密数据盘](https://help.aliyun.com/zh/ecs/user-guide/encrypt-a-data-disk)[加密数据盘](https://www.alibabacloud.com/help/en/ecs/user-guide/encryption-overview)。取值范围:'."\n" .'- true:启用加密。'."\n" .'- false(默认值):不加密。', 'type' => 'boolean', 'example' => 'false'], 'SystemDiskEncrypted' => ['title' => '是否启用云盘加密。', 'description' => '是否启用云盘加密。取值范围:'."\n" .'- true:启用加密。'."\n" .'- false(默认值):不加密。', 'type' => 'boolean', 'example' => 'false'], ], 'description' => '', ], 'NodeGroup' => [ 'description' => '节点组。', 'type' => 'object', 'properties' => [ 'WithPublicIp' => ['title' => '是否开公网IP。', 'description' => '是否开通公网IP。', 'type' => 'boolean', 'example' => 'true'], 'SpotInstanceRemedy' => ['title' => '是否开启补齐抢占式实例。', 'description' => '开启补齐抢占式实例后,当收到抢占式实例将被回收的系统消息时,伸缩组将尝试创建新的实例,替换掉将被回收的抢占式实例。取值范围:'."\n" .'- true:开启补齐抢占式实例。'."\n" .'- false:不开启补齐抢占式实例。'."\n" ."\n" .'默认值:false。', 'type' => 'boolean', 'example' => 'false'], 'DataDisks' => [ 'title' => '数据盘列表。', 'description' => '数据盘组。', 'type' => 'array', 'items' => ['description' => '数据盘。', '$ref' => '#/components/schemas/DataDisk'], ], 'CompensateWithOnDemand' => ['title' => '当 nodeResizeStrategy 取值为 COST_OPTIMIZED 时,如果因价格、库存等原因无法创建足够的抢占式实例,是否允许自动尝试创建按量实例满足', 'description' => '当 nodeResizeStrategy 取值为 COST_OPTIMIZED 时,如果因价格、库存等原因无法创建足够的抢占式实例,是否允许自动尝试创建按量实例满足ECS实例数量要求。', 'type' => 'boolean', 'example' => 'true'], 'NodeGroupState' => ['title' => '节点组状态。', 'description' => '节点组状态。', 'type' => 'string', 'example' => 'RESIZING'], 'SystemDisk' => ['title' => '系统盘信息。', 'description' => '系统盘。', '$ref' => '#/components/schemas/SystemDisk'], 'PrivatePoolOptions' => ['title' => '节点组私有池设置', 'description' => '节点组私有池设置', '$ref' => '#/components/schemas/PrivatePoolOptions'], 'NodeGroupType' => ['title' => '节点组类型。', 'description' => '节点组类型。取值范围:'."\n" ."\n" .'- MASTER:主节点。'."\n" .'- CORE:核心节点。'."\n" .'- TASK:任务节点。'."\n" .'- GATEWAY:网关节点。DATALAKE、OLAP、DATASERVING不支持该参数。', 'type' => 'string', 'example' => 'MASTER'], 'PaymentType' => ['title' => '节点组付费类型。', 'description' => '付费类型。取值范围:'."\n" .'Subscription: 包年包月。'."\n" .'PayAsYouGo:按量付费。', 'type' => 'string', 'example' => 'Subscription'], 'InstanceTypes' => [ 'title' => '实例类型列表。', 'description' => '实例类型集合。', 'type' => 'array', 'items' => ['description' => '实例类型。', 'type' => 'string', 'example' => 'ecs.g7.2xlarge'], 'example' => '["ecs.g6.4xlarge"]', ], 'CostOptimizedConfig' => ['title' => '成本优化模式配置。', 'description' => '成本优化模式配置。', '$ref' => '#/components/schemas/CostOptimizedConfig'], 'GracefulShutdown' => ['title' => '是否开启优雅下线。', 'description' => '节点组上部署的组件是否开启优雅下线。取值范围:'."\n" .'- true:开启优雅下线。'."\n" .'- false:不开启优雅下线。', 'type' => 'boolean', 'example' => 'false'], 'SpotStrategy' => ['title' => '是否支持竞价实例。', 'description' => '竞价实例使用策略。取值范围:'."\n" ."\n" .'- NoSpot:不使用竞价实例。'."\n" .'- SpotWithPriceLimit:竞价实例,自定义价格上限。'."\n" .'- SpotAsPriceGo:竞价实例,系统自动调节竞价上限,最高价格不超过按量实例的价格。'."\n" ."\n" .'默认值:NoSpot。', 'type' => 'string', 'example' => 'NoSpot'], 'StateChangeReason' => ['title' => '状态变化原因。', 'description' => '状态改变原因。', 'example' => '手动重启', '$ref' => '#/components/schemas/NodeGroupStateChangeReason'], 'Status' => ['title' => '节点组状态。', 'description' => '节点组状态。', 'type' => 'string', 'example' => 'CREATED'], 'ZoneId' => ['title' => '可用区ID。', 'description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], 'NodeGroupName' => ['title' => '节点组名称。', 'description' => '节点组名。', 'type' => 'string', 'example' => 'core-1'], 'VSwitchIds' => [ 'title' => '虚拟机交换机ID列表。', 'description' => '交换机ID集合。', 'type' => 'array', 'items' => ['description' => '交换机ID。', 'type' => 'string', 'example' => 'vsw-bp1opd2qejvhsabfe****'], 'example' => '["vsw-hp35g7ya5ymw68mmg****"]', ], 'SpotBidPrices' => [ 'title' => '竞价参数', 'description' => '抢占式Spot实例出价价格。参数SpotStrategy取值为SpotWithPriceLimit时生效。数组元数个数N的取值范围:0~100。', 'type' => 'array', 'items' => ['description' => '抢占式Spot实例出价价格。', '$ref' => '#/components/schemas/SpotBidPrice'], ], 'NodeResizeStrategy' => ['title' => '节点扩容策略。取值范围:', 'description' => '- COST_OPTIMIZED:成本优化策略。'."\n" .'- PRIORITY:优先级策略。', 'type' => 'string', 'example' => 'PRIORITY'], 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'example' => 'ng-869471354ecd****'], 'AdditionalSecurityGroupIds' => [ 'title' => '额外安全组ID列表。', 'description' => '安全组ID。', 'type' => 'array', 'items' => ['type' => 'string', 'description' => ''], 'example' => '["sg-hp3abbae8lb6lmb1****"]', ], 'DeploymentSetStrategy' => ['title' => '部署集策略。', 'description' => '部署集策略。取值范围:'."\n" .'- NONE:不适用部署集。'."\n" .'- CLUSTER:使用集群级别部署集。'."\n" .'- NODE_GROUP:使用节点组级别部署集。'."\n" ."\n" .'默认值:NONE。', 'type' => 'string', 'example' => 'NONE'], 'RunningNodeCount' => ['title' => '存活节点数量。', 'description' => '存活节点数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], ], ], 'NodeGroupConfig' => [ 'type' => 'object', 'properties' => [ 'NodeGroupType' => ['title' => '节点组类型。', 'description' => '节点组类型。取值范围:'."\n" .'- MASTER:管理类型节点组。'."\n" .'- CORE:存储类型节点组。'."\n" .'- TASK:计算类型节点组。', 'type' => 'string', 'required' => true, 'example' => 'CORE'], 'NodeGroupName' => ['title' => '节点组名称。', 'description' => '节点组名称。最大长度128个字符。集群内要求节点组名称唯一。', 'type' => 'string', 'example' => 'core-1'], 'PaymentType' => ['title' => '节点组付费类型。', 'description' => '节点组付费类型。不传入时默认和集群付费类型一致。取值范围:'."\n" .'- PayAsYouGo:后付费,按量付费。'."\n" .'- Subscription:预付费,包年包月。'."\n" ."\n" .'默认值:PayAsYouGo。', 'type' => 'string', 'example' => 'PayAsYouGo'], 'SubscriptionConfig' => ['title' => '节点组预付费配置。', 'description' => '节点组预付费配置。不传入时默认和集群预付费配置一致。', '$ref' => '#/components/schemas/SubscriptionConfig'], 'SpotStrategy' => ['title' => '抢占式Spot实例策略。', 'description' => '抢占式Spot实例策略。取值范围:'."\n" .'- NoSpot:正常按量付费实例。'."\n" .'- SpotWithPriceLimit:设置最高出价的抢占式实例。'."\n" .'- SpotAsPriceGo:系统自动出价,最高按量付费价格的抢占式实例。'."\n" ."\n" .'默认值:NoSpot。', 'type' => 'string', 'example' => 'NoSpot'], 'SpotBidPrices' => [ 'title' => '抢占式Spot实例出价价格。', 'description' => '抢占式Spot实例出价价格。参数SpotStrategy取值为SpotWithPriceLimit时生效。数组元数个数N的取值范围:0~100。', 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/SpotBidPrice', 'description' => ''], 'maxItems' => 100, ], 'VSwitchIds' => [ 'title' => '虚拟机交换机ID列表。', 'description' => '虚拟机交换机ID列表。数组元数个数N的取值范围:1~20。', 'type' => 'array', 'items' => ['description' => '虚拟机交换机ID。', 'type' => 'string'], 'example' => '["vsw-hp35g7ya5ymw68mmg****"]', 'maxItems' => 20, ], 'WithPublicIp' => ['title' => '是否开公网IP。', 'description' => '是否开公网IP。取值范围:'."\n" .'- true:开公网。'."\n" .'- false:不开公网。'."\n" ."\n" .'默认值:false。', 'type' => 'boolean', 'example' => 'false'], 'AdditionalSecurityGroupIds' => [ 'title' => '附加安全组。', 'description' => '附加安全组。除集群设置的安全组外,为节点组单独设置的附加安全组。数组元数个数N的取值范围:0~2。', 'type' => 'array', 'items' => ['description' => '安全组ID。', 'type' => 'string', 'example' => 'sg-hp3abbae8lb6lmb1****'], 'example' => '["sg-hp3abbae8lb6lmb1****"]', 'maxItems' => 5, ], 'InstanceTypes' => [ 'title' => '节点实例类型列表。', 'description' => '节点实例类型列表。数组元数个数N的取值范围:1~100。', 'type' => 'array', 'items' => ['description' => '节点实例类型。', 'type' => 'string', 'example' => 'ecs.g7.2xlarge'], 'example' => '["ecs.g6.xlarge"]', 'maxItems' => 100, ], 'NodeCount' => ['title' => '节点数量。', 'description' => '节点数量。取值范围:1~1000。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], 'SystemDisk' => ['title' => '系统盘。', 'description' => '系统盘。', '$ref' => '#/components/schemas/SystemDisk'], 'DataDisks' => [ 'title' => '数据盘。', 'description' => '数据盘。当前数据盘只支持一种磁盘类型,即数组元数个数N的取值范围:1~1。', 'type' => 'array', 'items' => ['description' => '数据盘。', '$ref' => '#/components/schemas/DataDisk'], 'maxItems' => 1, ], 'GracefulShutdown' => ['title' => '是否开启优雅下线。', 'description' => '节点组上部署的组件是否开启优雅下线。取值范围:'."\n" .'- true:开启优雅下线。'."\n" .'- false:不开启优雅下线。'."\n" ."\n" .'默认值:false。', 'type' => 'boolean', 'example' => 'false'], 'SpotInstanceRemedy' => ['title' => '是否开启补齐抢占式实例。', 'description' => '开启后,当收到抢占式实例将被回收的系统消息时,伸缩组将尝试创建新的实例,替换掉将被回收的抢占式实例。取值范围:'."\n" .'- true:开启补齐抢占式实例。'."\n" .'- false:不开启补齐抢占式实例。'."\n" ."\n" .'默认值:false。', 'type' => 'boolean', 'example' => 'true'], 'CompensateWithOnDemand' => ['title' => '当 nodeResizeStrategy 取值为 COST_OPTIMIZED 时,如果因价格、库存等原因无法创建足够的抢占式实例,是否允许自动尝试创建按量实例满足', 'description' => '当 nodeResizeStrategy 取值为 COST_OPTIMIZED 时,如果因价格、库存等原因无法创建足够的抢占式实例,是否允许自动尝试创建按量实例满足', 'type' => 'boolean', 'example' => 'true'], 'NodeResizeStrategy' => ['title' => '节点扩容策略。', 'description' => '节点扩容策略。取值范围:'."\n" .'- COST_OPTIMIZED:成本优化策略。'."\n" .'- PRIORITY:优先级策略。'."\n" ."\n" .'默认值:PRIORITY。', 'type' => 'string', 'example' => 'PRIORITY'], 'CostOptimizedConfig' => ['title' => '成本优化模式配置。', 'description' => '成本优化模式配置。', '$ref' => '#/components/schemas/CostOptimizedConfig'], 'DeploymentSetStrategy' => ['title' => '部署集策略。', 'description' => '部署集策略。取值范围:'."\n" .'- NONE:不适用部署集。'."\n" .'- CLUSTER:使用集群级别部署集。'."\n" .'- NODE_GROUP:使用节点组级别部署集。'."\n" ."\n" .'默认值:NONE。', 'type' => 'string', 'example' => 'NONE'], 'ComponentTags' => [ 'title' => '自定义组件列表', 'description' => '自定义组件列表', 'type' => 'array', 'items' => ['type' => 'string', 'description' => ''], ], 'AutoScalingPolicy' => ['title' => '弹性伸缩规则', 'description' => '弹性伸缩规则', '$ref' => '#/components/schemas/AutoScalingPolicy'], 'PrivatePoolOptions' => ['title' => '创建实例时使用的资源池策略,该参数只在创建按量付费实例时生效。', 'description' => '创建实例时使用的资源池策略,该参数只在创建按量付费实例时生效。', '$ref' => '#/components/schemas/PrivatePoolOptions'], ], 'description' => '', ], 'NodeGroupStateChangeReason' => [ 'type' => 'object', 'properties' => [ 'Message' => ['title' => '描述信息。', 'description' => '状态变化详细描述信息。', 'type' => 'string', 'example' => 'The instance type is required.'], 'Code' => ['title' => '状态码。', 'description' => '状态码。取值范围:'."\n" .'- UserRequest:用户请求。'."\n" .'- OutOfStock:请求的ECS实例类型无库存。'."\n" .'- NotAuthorized:无权限。'."\n" .'- QuotaExceeded:Quota超出。'."\n" .'- OperationDenied:操作被拒绝。'."\n" .'- AccountException:账号异常。'."\n" .'- NodeFailure:ECS节点异常。'."\n" .'- BootstrapFailure:引导失败。'."\n" .'- ValidationFail:业务逻辑校验失败。'."\n" .'- ServiceFailure:依赖的其他服务失败。'."\n" .'- InternalError:内部错误。', 'type' => 'string', 'example' => 'UserRequest'], ], 'description' => '', ], 'NodeSelector' => [ 'description' => '节点选择器。', 'type' => 'object', 'properties' => [ 'NodeGroupTypes' => [ 'title' => '节点组类型。', 'description' => '节点组类型。当NodeSelectType取值NodeGroup,且参数NodeGroupId为空时生效。数组元数个数N取值范围:0~10。', 'type' => 'array', 'items' => ['description' => '节点组类型。取值范围:'."\n" .'- MASTER:主节点组类型。'."\n" .'- CORE:核心节点组类型。'."\n" .'- TASK:计算阶节点组类型。', 'type' => 'string', 'example' => 'MASTER'], 'example' => '["CORE","TASK"]', 'maxItems' => 10, ], 'NodeGroupName' => ['title' => '节点组名称。', 'description' => '> 该参数已废弃,替换为NodeGroupNames。', 'type' => 'string', 'deprecated' => true, 'example' => 'master-1'], 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '> 该参数已废弃,替换为NodeGroupIds参数。', 'type' => 'string', 'deprecated' => true, 'example' => 'ng-869471354ecd****'], 'NodeGroupNames' => [ 'title' => '节点组名称数组', 'description' => '节点组名称数组', 'type' => 'array', 'items' => ['type' => 'string', 'example' => 'master-1', 'description' => ''], ], 'NodeSelectType' => ['title' => '节点选择类型。', 'description' => '节点选择类型。取值范围:'."\n" .'- CLUSTER:集群。'."\n" .'- NODE_GROUP:节点组。'."\n" .'- NODE:节点。', 'type' => 'string', 'required' => true, 'example' => 'CLUSTER'], 'NodeGroupIds' => [ 'title' => '节点组ID数组', 'description' => '节点组ID数组', 'type' => 'array', 'items' => ['type' => 'string', 'example' => 'ng-869471354ecd****', 'description' => ''], ], 'NodeNames' => [ 'title' => '节点名称数组。', 'description' => '节点名称列表。当NodeSelectType取值Node时,该参数生效。', 'type' => 'array', 'items' => ['description' => '节点名称。', 'type' => 'string', 'example' => 'master-1-1'], 'example' => '["core1-1"]', ], ], ], 'Operation' => [ 'type' => 'object', 'properties' => [ 'Description' => ['title' => '描述。', 'description' => '描述。', 'type' => 'string', 'example' => 'start'], 'EndTime' => ['title' => '结束时间。', 'description' => '结束时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1628589439114'], 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], 'OperationId' => ['title' => '操作ID。', 'description' => '操作ID。', 'type' => 'string', 'example' => 'op-13c37a77c505****'], 'CreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1628589439114'], 'StartTime' => ['title' => '开始时间。', 'description' => '开始时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1628589439114'], 'OperationType' => ['title' => '操作类型。', 'description' => '操作类型。', 'type' => 'string', 'example' => 'CREATE_CLUSTER'], 'OperationState' => ['title' => '操作状态。', 'description' => '操作状态。取值范围:'."\n" .'- IN_PROGRESS:执行中。'."\n" .'- COMPLETED:已完成。'."\n" .'- HUMAN_PROCESSING:人工介入。'."\n" .'- FAILED:失败。', 'type' => 'string', 'example' => 'COMPLETED'], 'StateChangeReason' => ['title' => '状态转换原因。', 'description' => '操作状态转换原因。', '$ref' => '#/components/schemas/OperationStateChangeReason'], ], 'description' => '', ], 'OperationData' => [ 'title' => 'A short description of struct', 'description' => '集群操作数据', 'type' => 'object', 'properties' => [ 'actualDeliveredAmounts' => ['title' => 'actualDeliveredAmounts', 'type' => 'integer', 'format' => 'int32'], 'toBeDeliveredAmounts' => ['title' => 'toBeDeliveredAmounts', 'type' => 'integer', 'format' => 'int32'], 'failedRefundInstanceIds' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], ], 'OperationStateChangeReason' => [ 'type' => 'object', 'properties' => [ 'Message' => ['title' => '状态变化信息。', 'description' => '操作状态变化信息。', 'type' => 'string', 'example' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.'], 'Code' => ['title' => '状态码。', 'description' => '操作状态码。取值范围:'."\n" .'- UserRequest:用户请求。'."\n" .'- OutOfStock:请求的ECS实例类型无库存。'."\n" .'- NotAuthorized:无权限。'."\n" .'- QuotaExceeded:Quota超出。'."\n" .'- OperationDenied:操作被拒绝。'."\n" .'- AccountException:账号异常。'."\n" .'- NodeFailure:ECS节点异常。'."\n" .'- BootstrapFailure:引导失败。'."\n" .'- ValidationFail:业务逻辑校验失败。'."\n" .'- ServiceFailure:依赖的其他服务失败。'."\n" .'- InternalError:内部错误。', 'type' => 'string', 'example' => 'OutOfStock'], ], 'description' => '', ], 'PrivatePoolOptions' => [ 'title' => '私有池设置', 'description' => 'PrivatePoolOptions', 'type' => 'object', 'properties' => [ 'MatchCriteria' => ['title' => '实例启动的私有池容量选项。弹性保障服务或容量预定服务在生效后会生成私有池容量,供实例启动时选择。取值范围: Open:开放模式。将自动匹配开放类型的私有池容量。如果没有符合条件的私有池容量,则使用公共池资源启动。该模式下无需设置PrivatePoolOptions.Id参数。 Target:指定模式。使用指定的私有池容量启动实例,如果该私有池容量不可用,则实例会启动失败。该模式下必须指定私有池 ID,即PrivatePoolOptions.Id参数为必填项。 None:不使用模式。实例启动将不使用私有池容量。 默认值:None。', 'description' => '实例启动的私有池容量选项。弹性保障服务或容量预定服务在生效后会生成私有池容量,供实例启动时选择。取值范围: '."\n" .'Open:开放模式。将自动匹配开放类型的私有池容量。如果没有符合条件的私有池容量,则使用公共池资源启动。该模式下无需设置PrivatePoolIds参数。'."\n" .'Target:指定模式。使用指定的私有池容量启动实例,如果该私有池容量不可用,则实例会启动失败。该模式下必须指定私有池 ID,即PrivatePoolIds参数为必填项。 '."\n" .'None:不使用模式。实例启动将不使用私有池容量。 默认值:None。', 'type' => 'string', 'example' => 'Open'], 'PrivatePoolIds' => [ 'title' => '私有池 ID。即弹性保障服务 ID 或容量预定服务 ID。', 'description' => '私有池 ID列表。', 'type' => 'array', 'items' => ['description' => '私有池 ID。即弹性保障服务 ID 或容量预定服务 ID。', 'type' => 'string', 'example' => 'crp-xxxx'], 'example' => 'eap-bp67acfmxazb4****', ], ], ], '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' => '伸缩活动结果。', 'type' => 'object', 'properties' => [ 'InstanceId' => ['title' => '实例ID。', 'description' => '实例ID。', 'type' => 'string', 'example' => 'i-bp1cudc25w2bfwl5****'], ], ], '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' => '弹性伸缩约束。', 'type' => 'object', 'properties' => [ 'MaxCapacity' => ['title' => '最大值。', 'description' => '节点组最大节点数。 默认值:2000。', 'type' => 'integer', 'format' => 'int32', 'example' => '2000'], 'MinCapacity' => ['title' => '最小值。', 'description' => '节点组最小节点数。'."\n" .'默认值:0。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], ], ], 'ScalingGroupConfig' => [ 'type' => 'object', 'properties' => [ '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'], ], ], ], 'NodeOfflinePolicy' => [ 'title' => '节点下线策略。', 'description' => '节点下线策略。', 'type' => 'object', 'properties' => [ 'TimeoutMs' => ['title' => '下线超时时间,单位毫秒。', 'description' => '下线超时时间,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Mode' => ['title' => '下线模式,是否为优雅下线。', 'description' => '下线模式,是否为优雅下线。', 'type' => 'string', 'example' => 'DEFAULT'], ], ], 'PrivatePoolOptions' => [ 'title' => '私有池选项 。', 'description' => '私有池选项 。', 'type' => 'object', 'properties' => [ 'MatchCriteria' => ['title' => '实例启动的私有池容量选项。。', 'description' => '实例启动的私有池容量选项。。', 'type' => 'string', 'example' => 'Open'], 'Id' => ['title' => '私有池id。', 'description' => '私有池id。', 'type' => 'string', 'example' => 'eap-bp67acfmxazb4****'], ], ], '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'], ], ], ], ], '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'], ], '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' => '伸缩规则配置。', 'type' => 'object', 'properties' => [ 'RuleName' => ['title' => '规则名称。', 'description' => '规则名称。必填参数,不允许为空字符串。', 'type' => 'string', 'required' => true, 'example' => 'scalingByYarnMemory'], 'TriggerType' => ['title' => '伸缩规则类型。', 'description' => '伸缩规则类型。必填参数。取值范围:'."\n" .'- TIME_TRIGGER:按时间伸缩。'."\n" .'- METRICS_TRIGGER:按负载伸缩。', 'type' => 'string', 'required' => true, 'example' => 'TIME_TRIGGER'], 'ActivityType' => ['title' => '伸缩活动类型。', 'description' => '伸缩活动类型。必填参数。取值范围:'."\n" .'- SCALE_OUT:扩容。'."\n" .'- SCALE_IN:缩容。', 'type' => 'string', 'required' => true, 'example' => 'SCALE_IN'], 'AdjustmentValue' => ['title' => '调整值。', 'description' => '调整值。必填参数,需要为正数,代表需要扩容或者缩容的实例数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '100'], 'TimeTrigger' => ['title' => '按照时间伸缩描述。', 'description' => '按照时间伸缩描述。'."\n" .'

', '$ref' => '#/components/schemas/TimeTrigger'], 'MetricsTrigger' => ['title' => '按照负载伸缩描述。', 'description' => '按照负载伸缩描述。'."\n" .'

', '$ref' => '#/components/schemas/MetricsTrigger'], 'MinAdjustmentValue' => ['title' => '弹性伸缩扩容最小交付数量。', 'description' => '扩容最小交付数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], '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' => [ 'type' => 'object', 'properties' => [ 'ScriptPath' => ['title' => '脚本路径。', 'description' => '脚本所在OSS路径。必填。以 oss:// 开头。', 'type' => 'string', 'required' => true, 'example' => 'oss://bucket1/update_hosts.sh'], 'ScriptArgs' => ['title' => '脚本参数。', 'description' => '脚本执行参数。非必填参数。', 'type' => 'string', 'example' => '-host 10.0.10.5 -m 30'], 'ExecutionFailStrategy' => ['title' => '执行失败策略。', 'description' => '执行失败策略。取值范围:'."\n" .'- FAILED_CONTINUE:失败后不阻塞集群创建或者阻塞集群扩容。'."\n" .'- FAILED_BLOCK:失败后阻塞集群创建或者阻塞集群扩容。', 'type' => 'string', 'example' => 'FAILED_CONTINUE'], 'Priority' => ['title' => '优先级。', 'description' => '> 此参数已废弃,脚本执行的顺序同脚本定义的顺序。', 'type' => 'integer', 'format' => 'int32', 'deprecated' => true, 'example' => '1'], 'ScriptName' => ['title' => '脚本名称。', 'description' => '脚本名称。必填。长度为1~64个字符,必须以大小字母或中文开头,不能以 http:// 和 https:// 开头。可以包含中文、英文、数字、下划线(_)、或者短划线(-)', 'type' => 'string', 'required' => true, 'example' => '脚本名-1'], 'ExecutionMoment' => ['title' => '脚本的执行时机。', 'description' => '脚本的执行时机。取值范围:'."\n" .'- BEFORE_INSTALL:应用安装前。'."\n" .'- AFTER_STARTED:应用启动后。', 'type' => 'string', 'example' => 'BEFORE_INSTALL'], 'NodeSelector' => ['title' => '节点选择器。', 'description' => '节点选择器。', 'required' => true, '$ref' => '#/components/schemas/NodeSelector'], ], 'description' => '', ], 'SpotBidPrice' => [ 'type' => 'object', 'properties' => [ 'BidPrice' => ['title' => '实例的每小时最高出价。', 'description' => '实例的每小时最高出价。支持最大3位小数,参数SpotStrategy=SpotWithPriceLimit时,该参数生效。', 'type' => 'number', 'format' => 'double', 'example' => '1000.0'], 'InstanceType' => ['title' => '实例类型。', 'description' => 'ECS实例类型。', 'type' => 'string', 'example' => 'ecs.g7.2xlarge'], ], 'description' => '', ], 'StateChangeReason' => [ 'type' => 'object', 'properties' => [ 'Code' => ['title' => '状态码。', 'description' => '状态码。取值范围:'."\n" .'- UserRequest:用户请求。'."\n" .'- QuotaExceeded:配额超出。'."\n" .'- InternalError:内部错误。', 'type' => 'string', 'example' => 'MissingParameter'], 'Message' => ['title' => '描述信息。', 'description' => '描述信息。', 'type' => 'string', 'example' => 'The instance type is required.'], ], 'description' => '', ], 'SubscriptionConfig' => [ 'type' => 'object', 'properties' => [ 'AutoRenewDurationUnit' => ['title' => '自动续费时长单位。AutoRenew取值为true时生效,取值范围:', 'description' => '自动续费时长单位,取值范围:'."\n" .'- Month:月。', 'type' => 'string', 'example' => 'Month'], 'AutoRenew' => ['title' => '自动续费。', 'description' => '自动续费。取值范围:'."\n" .'- true:开启启动续费。'."\n" .'- false:不开启自动续费。'."\n" .'默认值:false。', 'type' => 'boolean', 'example' => 'true'], 'PaymentDurationUnit' => ['title' => '付费时长单位。', 'description' => '付费时长单位。取值范围:'."\n" .'- Month:月。', 'type' => 'string', 'required' => true, 'example' => 'Month'], 'PaymentDuration' => ['title' => '付费时长。', 'description' => '付费时长。PaymentDurationUnit取值为Month时,取值:1、2、3、4、5、6、7、8、9、12、24、36、48、60。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '12'], 'AutoRenewDuration' => ['title' => '自动续费时长。', 'description' => '自动续费时长。当AutoRenew取值为true时生效。当AutoRenewDurationUnit取值为Month时,取值:1、2、3、4、5、6、7、8、9、12、24、36、48、60。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], ], 'description' => '', ], 'SystemDisk' => [ 'type' => 'object', 'properties' => [ 'Category' => ['title' => '磁盘类型。', 'description' => '磁盘类型。取值范围:'."\n" .' - cloud_efficiency:高效云盘。'."\n" .' - cloud_ssd:SSD云盘。'."\n" .' - cloud_essd:ESSD云盘。'."\n" .' - cloud:普通云盘。', 'type' => 'string', 'required' => true, 'example' => 'cloud_essd'], 'Size' => ['title' => '磁盘大小。', 'description' => '单位GB。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60'], 'PerformanceLevel' => ['title' => 'ESSD云盘性能级别。', 'description' => '创建ESSD云盘作为系统盘使用时,设置云盘的性能等级。取值范围:'."\n" .'- PL0:单盘最高随机读写IOPS 1万。'."\n" .'- PL1(默认):单盘最高随机读写IOPS 5万。'."\n" .'- PL2:单盘最高随机读写IOPS 10万。'."\n" .'- PL3:单盘最高随机读写IOPS 100万。'."\n" ."\n" .'默认值:PL1。', 'type' => 'string', 'example' => 'PL1'], 'Count' => ['title' => '每个节点磁盘数量。', 'description' => '每个节点系统盘数量,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], 'description' => '', ], 'Tag' => [ 'description' => '标签', 'type' => 'object', 'properties' => [ 'Value' => ['title' => '标签值。', 'description' => '标签值。非必填,可以为空字符串。最多支持128个字符,不能以```acs:```开头,不能包含```http://```或者```https://```。', 'type' => 'string', 'example' => 'IT'], 'Key' => ['title' => '标签键。', 'description' => '标签键。必填参数,不允许为空字符串。最多支持128个字符,不能以```aliyun```和```acs:```开头,不能包含```http://```或 ```https://```。', 'type' => 'string', 'required' => true, 'example' => 'department'], ], ], 'TimeConstraint' => [ 'description' => '时间限制。', 'type' => 'object', 'properties' => [ 'EndTime' => ['title' => '结束时间。', 'description' => '结束时间。取值范围:00:00至23:59。', 'type' => 'string', 'example' => '23:59'], 'StartTime' => ['title' => '开始时间。', 'description' => '开始时间。取值范围:00:00至23:59。', 'type' => 'string', 'example' => '06:00'], ], ], 'TimeRange' => [ 'type' => 'object', 'properties' => [ 'EndTime' => ['title' => '结束时间。', 'description' => '结束时间。', 'type' => 'string', 'example' => '1676441972000'], 'StartTime' => ['title' => '起始时间。', 'description' => '起始时间。', 'type' => 'string', 'example' => '1676441971000'], ], ], 'TimeTrigger' => [ 'description' => '时间触发条件。', 'type' => 'object', 'properties' => [ 'LaunchTime' => ['title' => '启动时间。', 'description' => '伸缩规则执行时间。必填参数。HH:MM格式字符串。', 'type' => 'string', 'required' => true, 'example' => '17:30'], 'EndTime' => ['title' => '结束时间戳。', 'description' => '结束时间戳。单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1639714800000'], 'RecurrenceType' => ['title' => '指定时间规则的执行类型。', 'description' => '指定时间规则的执行类型。取值范围:'."\n" .'- DAILY:按天重复。'."\n" .'- WEEKLY:按周重复。'."\n" .'- MONTHLY:按月重复。', 'type' => 'string', 'example' => 'WEEKLY'], 'StartTime' => ['title' => '开始时间戳。', 'description' => '开始时间戳。必填参数。单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1639714800000'], 'RecurrenceValue' => ['title' => '重复执行定时任务的数值。', 'description' => '重复执行定时任务的数值。具体取值取决于RecurrenceType设置。'."\n" .'- RecurrenceType取DAILY时,只能填一个数值,取值范围:1~31。'."\n" .'- RecurrenceType取WEEKLY时,可以填入多个值,填多个值时使用英文逗号(,)分隔。周一到周天分别用MON,TUE,WED,THU,FRI,SAT,SUN代替。例如,MON,FRI,SUN代表周一、周五、周天。'."\n" .'- RecurrenceType取MONTHLY时,格式为A-B或者A,B。A和B的取值范围都为1~31,如果使用A-B时B必须大于A。', 'type' => 'string', 'example' => 'MON,FRI,SUN'], 'LaunchExpirationTime' => ['title' => '定时任务触发操作失败后,在此时间内重试。单位为秒,取值范围:0~3600。', 'description' => '定时任务触发操作失败后,在此时间内重试。单位为秒,取值范围:0~3600。', 'type' => 'integer', 'format' => 'int32', 'example' => '600'], ], ], 'Toleration' => [ 'type' => 'object', 'properties' => [ 'Operator' => ['type' => 'string'], 'Value' => ['type' => 'string'], 'Effect' => ['type' => 'string'], 'Key' => ['type' => 'string'], ], ], 'TriggerCondition' => [ 'description' => '触发条件。', 'type' => 'object', 'properties' => [ 'MetricName' => ['title' => '指标名称。', 'description' => '指标名称。必填参数,不允许为空字符串。您可以在[添加弹性伸缩规则](~~445658~~)中查看指标名称。', 'type' => 'string', 'required' => true, 'example' => 'yarn_resourcemanager_queue_PendingVCores'], 'ComparisonOperator' => ['title' => '比较符。', 'description' => '比较符。必填参数。取值范围:'."\n" .'- EQ:等于。'."\n" .'- NE:不等于。'."\n" .'- GT:大于。'."\n" .'- LT:小于。'."\n" .'- GE:大于等于。'."\n" .'- LE:小于等于。', 'type' => 'string', 'required' => true, 'example' => 'LT'], 'Statistics' => ['title' => '统计量名称。', 'description' => '统计量名称。必填参数。取值范围:'."\n" .'- MAX:最大值。'."\n" .'- MIN:最小值。'."\n" .'- AVG:平均值。', 'type' => 'string', 'required' => true, 'example' => 'AVG'], 'Tags' => [ 'title' => '指标Tag。', 'description' => '指标分区标签列表'."\n" ."\n" .'### 对于带 queue 的指标'."\n" ."\n" .'默认值:'."\n" ."\n" .'标签键(key):queue_name。值(value):root。'."\n" ."\n" .'当您使用带有队列的指标时,您可以设置 queue_name 标签,指定所属的队列。确保输入完整的队列层级名称。'."\n" ."\n" .'示例'."\n" ."\n" .'指标名:yarn_resourcemanager_queue_AvailableVCoresPercentage'."\n" ."\n" .'标签:'."\n" .'`queue_name: root.default.a`'."\n" ."\n" .'### 对于带 partition 的指标'."\n" ."\n" .'默认值:'."\n" .'标签键(key):无。值(value):无。'."\n" .'> 对于带有分区的指标,必须设置 partition_name 标签且明确指定分区名称。'."\n" ."\n" .'示例'."\n" ."\n" .'指标名:yarn_cluster_availMemoryMBByPartition'."\n" ."\n" .'标签:`partition_name: DEFAULT_PARTITION`', 'type' => 'array', 'items' => ['description' => '标签。', '$ref' => '#/components/schemas/Tag'], ], 'Threshold' => ['title' => '阈值。', 'description' => '触发阈值。必填参数。', 'type' => 'number', 'format' => 'double', 'required' => true, 'example' => '12.5'], ], ], 'UpdateApplicationConfig' => [ 'type' => 'object', 'properties' => [ 'ConfigFileName' => ['title' => '应用配置文件名。', 'description' => '应用配置文件名。', 'type' => 'string', 'example' => 'hdfs-site.xml'], 'ConfigItemKey' => ['title' => '配置项键。', 'description' => '配置项键。', 'type' => 'string', 'example' => 'dfs.namenode.checkpoint.period'], 'ConfigDescription' => ['title' => '修改描述。', 'description' => '修改描述。', 'type' => 'string', 'example' => 'dfs.namenode.checkpoint.period'], 'ConfigItemValue' => ['title' => '配置项值。', 'description' => '配置项值。', 'type' => 'string', 'example' => '3600s'], ], 'description' => '', ], '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'], ], ], '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'], ], ], ], ], 'apis' => [ 'CreateApiTemplate' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'create', 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '地域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'TemplateName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群模板名字。', 'description' => '集群模板名字。', 'type' => 'string', 'required' => true, 'example' => 'DATALAKE template'], ], [ 'name' => 'ApiName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '接口名。', 'description' => 'API名称,目前只支持创建集群API模板。取值范围:CreateCluster。', 'type' => 'string', 'required' => true, 'example' => 'CreateCluster'], ], [ 'name' => 'Content', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '接口参数request内容', 'description' => '集群模版内容。取值:创建集群[CreateCluster](~~454393~~)的入参JSON化后的内容。', 'type' => 'string', 'required' => true, 'example' => 'content'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzabjyop****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'TemplateId' => ['description' => '模板ID(建议使用参数TemplateId)。', 'type' => 'string', 'example' => 'at-41b4c6a0fc63****'], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], 'Success' => ['description' => '模板ID(待废弃)。', 'type' => 'string', 'example' => 'at-41b4c6a0fc63****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '创建API模板', 'summary' => '创建一个预定义的API模板,该模板包含了API的基本结构、请求方式、URL路径、请求参数和响应格式等信息。', 'requestParamsDescription' => '参数 Content 值示例(JAVA语言):'."\n" .'`'."\n" ."\n" .'CreateClusterRequest request = new CreateClusterRequest();'."\n" ."\n" .'request.setRegionId("cn-beijing");'."\n" ."\n" .'request.setClusterType("DATALAKE");'."\n" ."\n" .'//创建集群其他参数... '."\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' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TemplateId\\": \\"at-41b4c6a0fc63****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"Success\\": \\"at-41b4c6a0fc63****\\"\\n}","type":"json"}]', ], 'CreateCluster' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'high', 'chargeType' => 'paid', 'abilityTreeCode' => '12612', 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzabjyop****'], ], [ 'name' => 'PaymentType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '付费类型。', 'description' => '付费类型。取值范围:'."\n" .'- PayAsYouGo:后付费。'."\n" .'- Subscription:预付费。'."\n" ."\n" .'默认值:PayAsYouGo。', 'type' => 'string', 'required' => false, 'example' => 'PayAsYouGo'], ], [ 'name' => 'SubscriptionConfig', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => ['title' => '预付费配置。', 'description' => '预付费配置。当PaymentType取值为Subscription时必填。', 'required' => false, '$ref' => '#/components/schemas/SubscriptionConfig'], ], [ 'name' => 'ClusterType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群类型。', 'description' => '集群类型。取值范围:'."\n" .'- DATALAKE:新版数据湖。'."\n" .'- OLAP:数据分析。'."\n" .'- DATAFLOW:实时数据流。'."\n" .'- DATASERVING:数据服务。'."\n" .'- CUSTOM:自定义混部集群。'."\n" .'- HADOOP:旧版数据湖(不推荐使用,建议使用新版数据湖)。'."\n" ."\n" .'如果您在2022年12月19日17点(UTC+8)以后第一次创建EMR集群,不能选择HADOOP、DATA_SCIENCE、PRESTO、ZOOKEEPER集群类型。', 'type' => 'string', 'required' => true, 'example' => 'DATALAKE'], ], [ 'name' => 'ReleaseVersion', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => 'EMR发行版。', 'description' => 'EMR发行版。可通过EMR集群售卖页面查看EMR发行版。', 'type' => 'string', 'required' => true, 'example' => 'EMR-5.16.0'], ], [ 'name' => 'ClusterName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群名称。', 'description' => '集群名称。长度为1~128个字符,必须以大小字母或中文开头,不能以 http:// 和 https:// 开头。可以包含中文、英文、数字、半角冒号(:)、下划线(_)、半角句号(.)或者短划线(-)', 'type' => 'string', 'required' => true, 'example' => 'emrtest'], ], [ 'name' => 'DeployMode', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '部署模式。', 'description' => '集群中的应用部署模式。取值范围:'."\n" .'- NORMAL(默认值):非高可用部署。集群1个MASTER节点。'."\n" .'- HA:高可用部署。高可用部署要求至少3个MASTER节点。', 'type' => 'string', 'required' => false, 'example' => 'HA'], ], [ 'name' => 'SecurityMode', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => 'Kerberos安全模式。', 'description' => '集群Kerberos安全模式。取值范围:'."\n" .'- NORMAL(默认值):普通模式,不开启Kerberos模式。'."\n" .'- KERBEROS:开启Kerberos模式。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'], ], [ 'name' => 'Applications', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '应用列表。', 'description' => '应用列表。数组元素个数N的取值范围:1~100。', 'type' => 'array', 'items' => ['description' => '应用。', 'required' => false, '$ref' => '#/components/schemas/Application'], 'required' => true, 'maxItems' => 100, ], ], [ 'name' => 'ApplicationConfigs', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '应用配置。', 'description' => '应用配置。数组元素个数N的取值范围:1~1000。', 'type' => 'array', 'items' => ['description' => '应用配置。', 'required' => false, '$ref' => '#/components/schemas/ApplicationConfig'], 'required' => false, 'maxItems' => 1000, ], ], [ 'name' => 'NodeAttributes', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => ['title' => '节点属性。', 'description' => '节点属性。集群所有ECS节点基础属性。', 'required' => true, '$ref' => '#/components/schemas/NodeAttributes'], ], [ 'name' => 'NodeGroups', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '节点组。', 'description' => '节点组配置数组。数组元素个数N的取值范围:1~100。', 'type' => 'array', 'items' => ['description' => '节点组配置。', 'required' => false, '$ref' => '#/components/schemas/NodeGroupConfig'], 'required' => true, 'example' => 'NORMAL', 'maxItems' => 100, ], ], [ 'name' => 'BootstrapScripts', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '引导脚本。', 'description' => '引导脚本数组。数组元素个数N的取值范围:1~10。', 'type' => 'array', 'items' => ['description' => '引导脚本。', 'required' => false, '$ref' => '#/components/schemas/Script'], 'required' => false, 'maxItems' => 10, ], ], [ 'name' => 'Tags', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '标签。', 'description' => '标签。数组元数个数N的取值范围:0~20。', 'type' => 'array', 'items' => ['description' => '标签。', 'required' => false, '$ref' => '#/components/schemas/Tag'], 'required' => false, 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****', 'maxItems' => 20, ], ], [ 'name' => 'ClientToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '幂等客户端TOKEN。', 'description' => '幂等客户端TOKEN。同一个ClientToken多次调用的返回结果一致,同一个ClientToken最多只创建一个集群。', 'type' => 'string', 'required' => false, 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****'], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => '集群描述。', 'type' => 'string', 'required' => false, 'example' => 'Emr cluster for ETL'], ], [ 'name' => 'DeletionProtection', 'in' => 'query', 'schema' => ['description' => '集群是否开启删除保护。取值范围:'."\n" .'- true:开启删除保护。'."\n" .'- false:不开启删除保护。'."\n" ."\n" .'默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac7f7***'], 'OperationId' => ['title' => '操作ID。', 'description' => '操作ID。', 'type' => 'string', 'example' => 'op-13c37a77c505****'], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['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' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => 'asynchronous', 'callback' => 'Emr::2021-03-20::GetOperation', 'callbackInterval' => 10000, 'maxCallbackTimes' => 180], 'title' => '创建集群', 'summary' => '创建一个按量付费或者预付费(包年包月)的集群。', 'changeSet' => [], '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' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"ClusterId\\": \\"c-b933c5aac7f7***\\",\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n B51A4569-34A9-4EE3-B072-4BD054C21384\\n a5fdae32-ba06-4208-944b-53a8c209c9d9\\n C-DEE18D2E8D890652\\n","errorExample":""}]', ], 'CreateNodeGroup' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREemapreduceSNGGYA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'C-E525E04F3914****'], ], [ 'name' => 'NodeGroup', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => ['title' => '节点组信息。', 'description' => '机器组信息。', 'required' => true, '$ref' => '#/components/schemas/NodeGroupConfig'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'NodeGroupId' => ['description' => '机器组ID。', 'type' => 'string', 'example' => 'G-21E39B11837E****'], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '创建节点组', 'summary' => '创建节点组。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateNodeGroup'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'emr:CreateNodeGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"NodeGroupId\\": \\"G-21E39B11837E****\\",\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 9E3A7161-EB7B-172B-8D18-FFB06BA3****\\n G-21E39B11837E****\\n","errorExample":""}]', ], 'CreateScript' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '119860', 'abilityTreeNodes' => ['FEATUREemapreduceY1BE2N', 'FEATUREemapreduce42QKNE'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'ScriptType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群脚本类型。', 'description' => '脚本类型。取值范围:'."\n" .' '."\n" .'- BOOTSTRAP:ECS实例引导脚本。'."\n" .'- NORMAL:普通脚本。', 'type' => 'string', 'required' => true, 'example' => 'BOOTSTRAP'], ], [ 'name' => 'Scripts', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '集群脚本列表。', 'description' => '脚本列表。', 'type' => 'array', 'items' => ['description' => '脚本。', 'required' => false, '$ref' => '#/components/schemas/Script'], 'required' => true, 'maxItems' => 20, ], ], [ 'name' => 'TimeoutSecs', 'in' => 'query', 'schema' => ['title' => '手动执行脚本超时时间,不支持引导脚本设置', 'description' => '手动执行脚本超时时间,不支持引导脚本设置。', 'type' => 'string', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'ScriptId' => ['description' => '脚本ID。', 'type' => 'string', 'example' => 'cs-d6d6bc841c0d415fb81808bc6d09****'], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['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' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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'], 'title' => '创建脚本', 'summary' => '创建引导脚本或者普通集群脚本。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateScript'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'emr:CreateScript', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScriptId\\": \\"cs-d6d6bc841c0d415fb81808bc6d09****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], 'CreateUsers' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '258146', 'abilityTreeNodes' => ['FEATUREemapreduceUBSEPK'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', '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****'], ], [ 'name' => 'Users', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '用户列表。', 'description' => '用户列表。数组元数个数 N 的取值范围:0~10。', '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, 'description' => '', ], 'required' => true, 'maxItems' => 20, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], 'Data' => ['description' => '请求结果,取值如下:true:请求成功。 false:请求失败。', 'type' => 'boolean', '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' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '批量创建用户', 'summary' => '批量创建用户', 'description' => '批量创建用户。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'emr:CreateUsers', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"Data\\": true\\n}","type":"json"}]', ], 'DecreaseNodes' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '49020', 'abilityTreeNodes' => ['FEATUREemapreduceS8IPKA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', '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****'], ], [ 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], ], [ 'name' => 'DecreaseNodeCount', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '缩容节点数量。', 'description' => '缩容节点数量。本次缩容节点数量。取值应小于当前节点组存活节点数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3'], ], [ 'name' => 'NodeIds', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '节点ID列表。', 'description' => '节点ID数组。数组元数个数N的取值范围:1~500。', 'type' => 'array', 'items' => ['description' => '节点ID。', 'type' => 'string', 'required' => false, 'example' => 'i-bp1cudc25w2bfwl5****'], 'required' => false, 'example' => '["i-bp1cudc25w2bfwl5****"]', ], ], [ 'name' => 'BatchInterval', 'in' => 'query', 'schema' => ['title' => '各批次间的冷却时间。', 'description' => '各批次间的冷却时间。', 'type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'BatchSize', 'in' => 'query', 'schema' => ['title' => '单批次并发下线台数。', 'description' => '单批次并发下线台数。', 'type' => 'integer', 'format' => 'int32', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'OperationId' => ['title' => '操作ID', 'description' => '操作ID', 'type' => 'string', 'example' => 'op-13c37a77c505****'], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '44430037-E59A-3E66-A2B0-97D155346F22'], ], ], ], ], 'errorCodes' => [ 400 => [ ['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' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '缩容', 'summary' => '对目标节点组执行缩容操作。', 'changeSet' => [], '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' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"44430037-E59A-3E66-A2B0-97D155346F22\\"\\n}","type":"json"}]', ], 'DeleteApiTemplate' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '189491', 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], ], '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-****'], ], [ 'name' => 'ApiName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '接口名。', 'description' => '接口名。', 'type' => 'string', 'required' => true, 'example' => 'CreateCluster'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzabjyop****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'Success' => ['description' => '调用是否成功:'."\n" .'- true :调用成功'."\n" .'- false:调用失败。', 'type' => 'boolean', 'deprecated' => true, 'example' => 'true'], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '删除API模板', 'summary' => '删除指定的API模板。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'emr:DeleteApiTemplate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], 'DeleteCluster' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '14474', 'abilityTreeNodes' => ['FEATUREemapreduceC8NILI'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', '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****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'OperationId' => ['title' => '操作ID。', 'description' => '操作ID。', 'type' => 'string', 'example' => 'op-13c37a77c505****'], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['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' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => 'asynchronous', 'callback' => 'Emr::2021-03-20::GetOperation', 'callbackInterval' => 10000, 'maxCallbackTimes' => 60], 'title' => '删除集群', 'summary' => '删除一个按量付费的集群。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteCluster'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'emr:DeleteCluster', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 69EBEFC7-9193-1DDA-8E16-9E03779377B5\\n true\\n","errorExample":""}]', ], 'DeleteNodeGroup' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeNodes' => ['FEATUREemapreduceSNGGYA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '区域ID。您可以调用[ListRegions](url)查看。', '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****'], ], [ 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], ], [ 'name' => 'Description', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '描述备注。', 'description' => '描述备注。', 'type' => 'string', 'required' => false, 'example' => '机器组不再需要'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'Success' => ['description' => '调用释放机器组接口的操作结果。取值为布尔值:'."\n" ."\n" .'- true:操作成功'."\n" .'- false:操作失败', 'type' => 'boolean', 'example' => 'true'], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '64EBE3F5-0498-1578-BEC0-6ACE364E912D'], ], ], ], ], 'errorCodes' => [ 400 => [ ['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' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '删除节点组', 'summary' => '删除已创建的集群节点组。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"64EBE3F5-0498-1578-BEC0-6ACE364E912D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 64EBE3F5-0498-1578-BEC0-6ACE364E912D\\n true\\n","errorExample":""}]', ], 'DeleteScript' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], [ 'APP' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '119859', 'abilityTreeNodes' => ['FEATUREemapreduceY1BE2N', 'FEATUREemapreduce42QKNE'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'ScriptType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群脚本类型。', 'description' => '脚本类型。取值范围:'."\n" ."\n" .'- BOOTSTRAP:ECS实例引导脚本。'."\n" .'- NORMAL:普通脚本。', 'type' => 'string', 'required' => true, 'example' => 'BOOTSTRAP'], ], [ 'name' => 'ScriptId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '脚本ID。', 'description' => '脚本ID。', 'type' => 'string', 'required' => true, 'example' => 'cs-da7476a7679a4d4c9cede62ebe09****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '删除脚本', 'summary' => '删除引导脚本或者普通脚本。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteScript'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'emr:DeleteScript', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], 'DeleteUsers' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '258145', 'abilityTreeNodes' => ['FEATUREemapreduce3NR9KZ'], ], 'parameters' => [ [ 'name' => 'ClusterId', 'in' => 'formData', 'allowEmptyValue' => false, 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ 'name' => 'UserNames', 'in' => 'formData', 'allowEmptyValue' => false, 'style' => 'json', 'schema' => [ 'description' => '用户名称列表,不得为空。数组元数个数 N 的取值范围:1~10。', 'type' => 'array', 'items' => ['description' => '用户名称', 'type' => 'string', 'required' => false, 'example' => 'xi'], 'required' => false, ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => ' '."\n" .'DD6B1B2A-5837-5237-ABE4-FF0C8944****'."\n"], 'Data' => ['description' => '请求结果,取值如下:true:请求成功。 false:请求失败。', 'type' => 'boolean', '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' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '批量删除用户', 'summary' => '批量删除用户。', 'description' => '批量删除用户。', '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 \\"RequestId\\": \\"\\\\t\\\\nDD6B1B2A-5837-5237-ABE4-FF0C8944****\\\\n\\",\\n \\"Data\\": true\\n}","type":"json"}]', ], 'ExportApplicationConfigs' => [ 'summary' => '导出集群指定服务配置', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', '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'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ 'name' => 'ApplicationConfigFiles', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '导出应用配置。', 'description' => '导出应用配置列表。', 'type' => 'array', 'items' => ['description' => '导出应用配置。', 'required' => false, '$ref' => '#/components/schemas/ApplicationConfigFile'], 'required' => false, ], ], [ 'name' => 'FileFormat', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '导出应用配置的文件格式。', 'description' => '导出应用配置的文件格式。取值范围:'."\n" .'- JSON'."\n" .'- XML', 'type' => 'string', 'required' => false, 'enumValueTitles' => ['XML' => 'XML', 'JSON' => 'JSON'], 'example' => 'XML', ], ], [ 'name' => 'ExportMode', 'in' => 'query', 'schema' => [ 'description' => '服务配置导出模式。取值范围:'."\n" .'- MODIFICATION'."\n" .'- ALL', 'type' => 'string', 'required' => false, 'example' => 'MODIFICATION', 'default' => 'ALL', 'enum' => ['MODIFICATION', 'ALL'], ], ], [ 'name' => 'ConfigScope', 'in' => 'query', 'schema' => ['type' => 'string'], ], [ 'name' => 'NodeGroupIds', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], [ 'name' => 'NodeIds', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], ], '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****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '导出服务配置', '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' => '全部资源', '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"}]', ], 'GetApiTemplate' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '189863', 'abilityTreeNodes' => ['FEATUREemapreduceU64T1A'], ], '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-41b4c6a0fc63****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => ['description' => 'API模板内容。', 'deprecated' => true, '$ref' => '#/components/schemas/ApiTemplate'], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '查看API模板内容', 'summary' => '获取特定API模板的详细配置信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetApiTemplate', 'authLevel' => '', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'GetApplication' => [ 'description' => '查询应用详情。', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeNodes' => ['FEATUREemapreduceU3PP4U'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '地域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群ID。', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => 'c-e6a9d46e92675****'], ], [ 'name' => 'ApplicationName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '应用名称。', 'description' => '应用名称。', 'type' => 'string', 'required' => true, 'example' => 'HDFS'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'Application' => [ 'description' => '应用。', 'type' => 'object', 'properties' => [ 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名称。', 'type' => 'string', 'example' => 'HDFS'], 'ApplicationVersion' => ['title' => '应用版本。', 'description' => '应用版本。', 'type' => 'string', 'example' => '2.8.1'], 'CommunityVersion' => ['title' => '社区版本。', 'description' => '社区版本。', 'type' => 'string', 'example' => '2.8.1'], 'Actions' => [ 'title' => '操作列表。', 'description' => '应用支持的动作列表。', 'type' => 'array', 'items' => [ 'description' => '动作。', 'type' => 'object', 'properties' => [ 'RunActionScope' => ['title' => '执行范围。', 'description' => '执行范围。取值范围:'."\n" ."\n" .'- APPLICATION:应用范围。'."\n" .'- COMPONENT:组件范围。'."\n" .'- COMPONENT_INSTANCE:组件实例范围。', 'type' => 'string', 'example' => 'COMPONENT_INSTANCE'], 'ComponentName' => ['title' => '组件名称。', 'description' => '组件名称。', 'type' => 'string', 'example' => 'DataNode'], 'ActionName' => ['title' => '操作名称。', 'description' => '动作名称。', 'type' => 'string', 'example' => 'decommission'], 'Description' => ['title' => '操作描述。', 'description' => '动作描述。', 'type' => 'string', 'example' => 'Description'], 'Command' => ['title' => '命令。', 'description' => '动作命令。', 'type' => 'string', 'example' => 'decommission'], 'ActionParams' => [ 'title' => '操作参数。', 'description' => '动作参数列表。', 'type' => 'array', 'items' => [ 'description' => '动作参数。', 'type' => 'object', 'properties' => [ 'Key' => ['title' => '动作参数KEY。', 'description' => '参数名称。', 'type' => 'string', 'example' => 'timeout'], 'ValueAttribute' => [ 'title' => '动作参数属性。', 'description' => '参数值属性。', 'type' => 'object', 'properties' => [ 'ValueType' => ['title' => '属性值类型。', 'description' => '值类型。', 'type' => 'string', 'example' => 'int'], 'ValueMaximum' => ['title' => '最大值。', 'description' => '值最大范围。', 'type' => 'string', 'example' => '100'], 'ValueMinimum' => ['title' => '最小值。', 'description' => '值最小范围。', 'type' => 'string', 'example' => '1'], 'ValueUnit' => ['title' => '值单位。', 'description' => '值单位。', 'type' => 'string', 'example' => 'Second'], 'ValueIncrementStep' => ['title' => '值步长。', 'description' => '值增量大小。', 'type' => 'string', 'example' => '1'], 'Description' => ['title' => '值表述。', 'description' => '值表述。', 'type' => 'string', 'example' => 'Set timeout duration'], ], ], 'Description' => ['title' => '动作参数描述。', 'description' => '动作描述。', 'type' => 'string', 'example' => 'Decommission action'], ], ], ], ], ], ], 'ApplicationState' => ['title' => '应用操作状态。', 'description' => '应用操作状态。', 'type' => 'string', 'example' => 'RUNNING'], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['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' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '获取应用详情', 'summary' => '获取应用详情。', 'changeSet' => [], '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' => '全部资源', '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\\": \\"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}","errorExample":""},{"type":"xml","example":"\\n 9E3A7161-EB7B-172B-8D18-FFB06BA3****\\n \\n KAFKA\\n 2.8.1\\n \\n server\\n innode_disks_balance\\n \\n in-node-disks-balance-threshold\\n \\n int\\n 111\\n 111\\n null\\n 1\\n \\n description of in-node-disks-balance-threshold key\\n \\n \\n \\n","errorExample":""}]', ], 'GetAutoScalingActivity' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ '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' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ 'name' => 'ScalingActivityId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '伸缩活动ID。', 'description' => '伸缩活动ID。', 'type' => 'string', 'required' => true, 'example' => 'asa-36373b084d6b4b13aa50f4129a9e****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'ScalingActivity' => [ 'description' => '伸缩活动信息。', 'type' => 'object', 'properties' => [ 'ActivityId' => ['title' => '伸缩活动ID。', 'description' => '伸缩活动ID。', 'type' => 'string', 'example' => 'asa-36373b084d6b4b13aa50f4129a9e****'], 'RuleName' => ['title' => '伸缩规则名称。', 'description' => '伸缩规则名称。', 'type' => 'string', 'example' => 'scaling-out-memory'], 'ActivityType' => ['title' => '伸缩活动类型。', 'description' => '伸缩活动类型。取值范围:'."\n" .'- SCALE_OUT:扩容。'."\n" .'- SCALE_IN:缩容。', 'type' => 'string', 'example' => 'SCALE_OUT'], 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'example' => 'ng-869471354ecd****'], 'NodeGroupName' => ['title' => '节点组名称。', 'description' => '节点组名称。', 'type' => 'string', 'example' => 'task-01'], 'StartTime' => ['title' => '伸缩启动时间。', 'description' => '伸缩启动时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1639714634819'], 'EndTime' => ['title' => '伸缩结束时间。', 'description' => '伸缩结束时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1639715634819'], 'ActivityState' => ['title' => '伸缩活动状态。', 'description' => '伸缩活动状态。取值范围:'."\n" .'- REJECTED:拒绝。'."\n" .'- SUCCESSFUL:成功。'."\n" .'- FAILED:失败。'."\n" .'- IN_PROGRESS:进行中。', 'type' => 'string', 'example' => 'IN_PROGRESS'], 'ExpectNum' => ['title' => '本次扩缩数量。', 'description' => '本次扩缩数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'OperationId' => ['title' => '操作ID。', 'description' => '操作ID。', 'type' => 'string', 'example' => 'op-13c37a77c505****'], 'Description' => ['title' => '伸缩活动描述。', 'description' => '伸缩活动描述。', 'type' => 'string', 'example' => 'clusterId not exist'], 'ActivityResults' => [ 'title' => '本次伸缩活动对应的实例列表。', 'description' => '本次伸缩活动对应的实例列表。', 'type' => 'array', 'items' => ['description' => '伸缩活动对应的实例列表。', '$ref' => '#/components/schemas/ScalingActivityResult'], ], 'PolicyType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'AUTO'], 'RuleDetail' => ['title' => '伸缩规则详述。', 'description' => '伸缩规则详述。', '$ref' => '#/components/schemas/ScalingRule'], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '获取弹性伸缩活动', 'summary' => '获取弹性伸缩活动详情。', 'changeSet' => [], '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' => '全部资源', '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"}]', ], 'GetAutoScalingPolicy' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '132560', 'abilityTreeNodes' => ['FEATUREemapreduceB95X9C'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'ScalingPolicy' => [ 'description' => '弹性伸缩策略。', 'type' => 'object', 'properties' => [ 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'example' => 'ng-869471354ecd****'], 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], 'ScalingRules' => [ 'title' => '伸缩规则列表', 'description' => '伸缩规则列表', 'type' => 'array', 'items' => [ 'description' => '伸缩规则列表。', 'type' => 'object', 'properties' => [ 'RuleName' => ['title' => '弹性伸缩规则名称。', 'description' => '弹性伸缩规则名称。', 'type' => 'string', 'example' => 'scaling-out-memory'], 'TriggerType' => ['title' => '伸缩规则类型。', 'description' => '伸缩规则类型。取值范围:'."\n" .'- TIME_TRIGGER:按时间伸缩。'."\n" .'- METRICS_TRIGGER:按负载伸缩。', 'type' => 'string', 'example' => 'TIME_TRIGGER'], 'ActivityType' => ['title' => '伸缩类型。', 'description' => '伸缩活动类型。取值范围:'."\n" .'- SCALE_OUT:扩容。'."\n" .'- SCALE_IN:缩容。', 'type' => 'string', 'example' => 'SCALE_OUT'], 'AdjustmentType' => ['title' => '调整类型。', 'description' => '调整类型。', 'type' => 'string', 'example' => 'CHANGE_IN_CAPACITY'], 'AdjustmentValue' => ['title' => '调整值。', 'description' => '调整值。需要为正数,代表需要扩容或者缩容的实例数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], 'TimeTrigger' => ['title' => '按照时间伸缩描述。', 'description' => '按照时间伸缩描述。', '$ref' => '#/components/schemas/TimeTrigger'], 'MetricsTrigger' => ['title' => '按照负载伸缩描述。', 'description' => '按照负载伸缩描述。', '$ref' => '#/components/schemas/MetricsTrigger'], 'CollationTimeZone' => ['$ref' => '#/components/schemas/CollationTimeZone'], ], ], ], 'ScalingPolicyId' => ['title' => '伸缩策略ID。', 'description' => '伸缩策略ID。', 'type' => 'string', 'example' => 'asp-asduwe23znl***'], 'Constraints' => [ 'title' => '最大最小值约束', 'description' => '节点组的节点数最大最小值约束。', 'type' => 'object', 'properties' => [ 'MaxCapacity' => ['title' => '最大值', 'description' => '节点组最大节点数。'."\n" .'默认值:2000。', 'type' => 'integer', 'format' => 'int32', 'example' => '2000'], 'MinCapacity' => ['title' => '最小值', 'description' => '节点组最小节点数。'."\n" .'默认值:0。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], ], ], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '查看自定义弹性伸缩策略', 'summary' => '查看自定义弹性伸缩策略。', 'changeSet' => [], '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' => '全部资源', '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"}]', ], 'GetCluster' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '13223', 'abilityTreeNodes' => ['FEATUREemapreduceGZP0FZ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '地域ID。', 'description' => '地域ID。', '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****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Cluster' => ['description' => '集群详情。', '$ref' => '#/components/schemas/Cluster'], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '获取集群', 'summary' => '获取集群详情。', 'changeSet' => [], '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' => '全部资源', 'arn' => '*'], ], ], ], ], '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 \\"MasterRootPassword\\": \\"EAQ#86****\\",\\n \\"SystemDiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"SecurityGroupId\\": \\"sg-hp3abbae8lb6lmb1****\\",\\n \\"DataDiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"RamRole\\": \\"AliyunECSInstanceForEMRRole\\",\\n \\"DataDiskEncrypted\\": false,\\n \\"SystemDiskEncrypted\\": false\\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":"\\n 9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\n \\n C-E525E04F3914****\\n emr-hadoop-cluster\\n HADOOP\\n IDEL\\n Subscription\\n 1592837465784\\n 1592837465784\\n vpc\\n NORMAL\\n NORMAL\\n LOCAL\\n 1592837465784\\n cn-hangzhou\\n EMR-3.33.0\\n 手动重启\\n \\n","errorExample":""}]', ], 'GetClusterCloneMeta' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '150379', 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S', 'FEATUREemapreduceGZP0FZ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '地域ID。', 'description' => '地域ID。', '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****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'ClusterCloneMeta' => [ 'description' => '集群克隆元数据。', 'type' => 'object', 'properties' => [ 'RegionId' => ['title' => '地域ID。', 'description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], 'ResourceGroupId' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfmzabjyop****'], 'ClusterState' => ['title' => '集群状态。', 'description' => '集群状态。取值范围:'."\n" .'- STARTING:启动中。'."\n" .'- START_FAILED:启动失败。'."\n" .'- BOOTSTRAPPING:引导操作初始化。'."\n" .'- RUNNING:运行中。'."\n" .'- TERMINATING:终止中。'."\n" .'- TERMINATED:已终止。'."\n" .'- TERMINATED\\_WITH\\_ERRORS:发生异常导致终止'."\n" .'- TERMINATE_FAILED:终止失败。', 'type' => 'string', 'example' => 'RUNNING'], 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac7f7****'], 'ClusterName' => ['title' => '集群名称。', 'description' => '集群名称。', 'type' => 'string', 'example' => 'emrtest'], 'ClusterType' => ['title' => '集群类型。', 'description' => '集群类型。取值范围:'."\n" .'- DATALAKE:新版数据湖。'."\n" .'- OLAP:数据分析。'."\n" .'- DATAFLOW:实时数据流。'."\n" .'- DATASERVING:数据服务。'."\n" .'- CUSTOM:自定义混部集群。'."\n" .'- HADOOP:旧版数据湖。', 'type' => 'string', 'example' => 'DATALAKE'], 'PaymentType' => ['title' => '付费类型。', 'description' => '付费类型。取值范围:'."\n" .'- PayAsYouGo:后付费。'."\n" .'- Subscription:预付费。', 'type' => 'string', 'example' => 'PayAsYouGo'], 'SubscriptionConfig' => ['title' => '预付费配置。', 'description' => '预付费配置。', '$ref' => '#/components/schemas/SubscriptionConfig'], 'ReleaseVersion' => ['title' => 'EMR发行版。', 'description' => 'EMR发行版。', 'type' => 'string', 'example' => 'EMR-5.6.0'], 'DeployMode' => ['title' => '部署模式。', 'description' => '集群中的应用部署模式。取值范围:'."\n" .'- NORMAL:非高可用部署。'."\n" .'- HA:高可用部署。', 'type' => 'string', 'example' => 'HA'], 'SecurityMode' => ['title' => 'Kerberos安全模式。', 'description' => '集群Kerberos安全模式。取值范围:'."\n" .'- NORMAL:普通模式,不开启Kerberos模式。'."\n" .'- KERBEROS:开启Kerberos模式。', 'type' => 'string', 'example' => 'NORMAL'], 'NodeAttributes' => ['title' => '节点属性。', 'description' => '节点属性。', '$ref' => '#/components/schemas/NodeAttributes'], 'Tags' => [ 'description' => '集群标签列表。', 'type' => 'array', 'items' => ['description' => '标签。', '$ref' => '#/components/schemas/Tag'], ], 'EmrDefaultRole' => ['title' => 'EMR服务角色。', 'description' => 'EMR服务角色。', 'type' => 'string', 'example' => 'AliyunEMRDefaultRole'], 'Applications' => [ 'title' => '集群应用。', 'description' => '集群应用。', 'type' => 'array', 'items' => ['description' => '应用。', '$ref' => '#/components/schemas/Application'], ], 'ApplicationConfigs' => [ 'title' => '创建集群时的服务配置项。', 'description' => '修改过的应用配置项。', 'type' => 'array', 'items' => ['description' => '配置项。', '$ref' => '#/components/schemas/ApplicationConfig'], ], 'NodeGroups' => [ 'description' => '节点组配置数组。数组元素个数N的取值范围:1~100。', 'type' => 'array', 'items' => ['description' => '节点组。', '$ref' => '#/components/schemas/NodeGroup'], ], 'BootstrapScripts' => [ 'description' => '引导脚本数组。数组元素个数N的取值范围:1~10。', 'type' => 'array', 'items' => ['description' => '引导脚本。', '$ref' => '#/components/schemas/Script'], ], 'ExistCloneConfig' => ['description' => 'HADOOP集群是支持克隆创建集群时传入的应用配置。取值范围:'."\n" .'- False:不支持。'."\n" .'- True:支持。', 'type' => 'boolean', 'example' => 'True'], 'ScalingPolicies' => [ 'description' => '集群各节点组的弹性伸缩策略。', 'type' => 'array', 'items' => [ 'description' => '弹性伸缩策略。', 'type' => 'object', 'properties' => [ 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'example' => 'ng-869471354ecd****'], 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], 'ScalingRules' => [ 'title' => '伸缩规则列表', 'description' => '弹性伸缩规则列表。', 'type' => 'array', 'items' => [ 'description' => '弹性伸缩规则。', 'type' => 'object', 'properties' => [ 'RuleName' => ['title' => '弹性伸缩规则名称。', 'description' => '弹性伸缩规则名称。', 'type' => 'string', 'example' => 'scaling-out-memory'], 'TriggerType' => ['title' => '伸缩规则类型。', 'description' => '伸缩规则类型。必填参数。取值范围:'."\n" .'- TIME_TRIGGER:按时间伸缩。'."\n" .'- METRICS_TRIGGER:按负载伸缩。', 'type' => 'string', 'example' => 'TIME_TRIGGER'], 'ActivityType' => ['title' => '伸缩类型。', 'description' => '伸缩活动类型。必填参数。取值范围:'."\n" .'- SCALE_OUT:扩容。'."\n" .'- SCALE_IN:缩容。', 'type' => 'string', 'example' => 'SCALE_OUT'], 'AdjustmentValue' => ['title' => '调整值。', 'description' => '调整值。必填参数,需要为正数,代表需要扩容或者缩容的实例数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], 'TimeTrigger' => ['title' => '按照时间伸缩描述。', 'description' => '按照时间伸缩描述。', '$ref' => '#/components/schemas/TimeTrigger'], 'MetricsTrigger' => ['title' => '按照负载伸缩描述。', 'description' => '按照负载伸缩描述。', '$ref' => '#/components/schemas/MetricsTrigger'], ], ], ], 'ScalingPolicyId' => ['title' => '伸缩策略ID。', 'description' => '伸缩策略ID。', 'type' => 'string', 'example' => 'asp-asduwe23znl***'], 'Constraints' => [ 'title' => '最大最小值约束', 'description' => '节点组的节点数最大最小值约束。', 'type' => 'object', 'properties' => [ 'MaxCapacity' => ['title' => '最大值', 'description' => '节点组最大节点数。 默认值:2000。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'MinCapacity' => ['title' => '最小值', 'description' => '节点组最小节点数。 默认值:0。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], 'MaxOnDemandCapacity' => ['title' => '最大按量值。', 'description' => '最大按量值。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], 'ScalingPolicyType' => ['title' => '弹性策略类型', 'description' => '弹性策略类型', 'type' => 'string'], 'NodeGroupName' => ['description' => '节点组名称。', 'type' => 'string', 'example' => 'emr-etltask'], ], ], ], 'DeletionProtection' => ['description' => '集群是否开启删除保护。取值范围:'."\n" .'- true:开启删除保护。'."\n" .'- false:不开启删除保护。'."\n" ."\n" .'默认值:false。', 'type' => 'boolean', 'example' => 'false'], 'CollationTimeZone' => ['$ref' => '#/components/schemas/CollationTimeZone'], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '获取集群克隆元数据', 'summary' => '获取EMR集群克隆元数据信息,便于通过 CreateCluster API快速创建集群。', 'changeSet' => [], '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' => '全部资源', 'arn' => '*'], ], ], ], ], '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 \\"MasterRootPassword\\": \\"EAQ#86****\\",\\n \\"SystemDiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"SecurityGroupId\\": \\"sg-hp3abbae8lb6lmb1****\\",\\n \\"DataDiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"RamRole\\": \\"AliyunECSInstanceForEMRRole\\",\\n \\"DataDiskEncrypted\\": false,\\n \\"SystemDiskEncrypted\\": false\\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' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'AppId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => 'app id', 'description' => '任务提交到YARN的ID。', 'type' => 'string', 'required' => true, 'example' => 'application_1542620905989_****'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '其日期和时间信息以ISO 8601格式表示,例如:2023年1月1日为 2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '任务详情。', 'type' => 'object', 'properties' => [ 'AppName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'CREATE TABLE test...ranks=1 (Stage-1)'], 'Ids' => [ 'description' => '任务IDs,多个ID间使用英文逗号(,)分隔。', 'type' => 'array', 'items' => ['description' => 'YARN的任务ID。', 'type' => 'string', 'example' => 'application_1643475036865_******'], 'example' => 'null', ], 'User' => ['description' => '任务提交用户名。', 'type' => 'string', 'example' => 'DW'], 'StartTime' => ['description' => '任务提交时间,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1677465658275'], 'EndTime' => ['description' => '任务结束时间,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1666213200000'], 'Queue' => ['description' => '任务提交到YARN的队列。', 'type' => 'string', 'example' => 'DW'], 'Type' => ['description' => '计算引擎类型。', 'type' => 'string', 'example' => 'SPARK'], 'QuerySql' => ['description' => '任务提交的SQL语句,非SQL任务为空。', 'type' => 'string', 'example' => 'SELECT id, count(1) FROM test group by id;'], 'Metrics' => [ 'description' => '指标数据。', 'type' => 'object', 'properties' => [ 'VcoreUtilization' => [ 'description' => 'CPU使用率,同Linux Top的%CPU含义。', 'type' => 'object', 'properties' => [ 'Name' => [ 'description' => '指标名称。', 'type' => 'string', 'enumValueTitles' => [], 'example' => 'vcoreUtilization', ], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '32.1'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of used vcore to total available cores'], ], ], 'MemUtilization' => [ 'description' => '内存使用率。', 'type' => 'object', 'properties' => [ 'Name' => [ 'description' => '指标名称。', 'type' => 'string', 'enumValueTitles' => [], 'example' => 'memUtilization', ], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.82'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of used memory to total available memory'], ], ], 'VcoreSeconds' => [ 'description' => 'CPU使用量。', 'type' => 'object', 'properties' => [ 'Name' => [ 'description' => '指标名称。', 'type' => 'string', 'enumValueTitles' => [], 'example' => 'vcoreSeconds', ], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '11123'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'VCores * Sec'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total vcore usage over time in seconds'], ], ], 'MemSeconds' => [ 'description' => '内存使用量。', 'type' => 'object', 'properties' => [ 'Name' => [ 'description' => '指标名称。', 'type' => 'string', 'enumValueTitles' => [], 'example' => 'memSeconds', ], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12312312'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB * Sec'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total memory usage over time in seconds'], ], ], ], ], 'Analysis' => [ 'description' => '任务分析。', 'type' => 'object', 'properties' => [ 'Score' => ['description' => '任务评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '67'], 'Suggestion' => ['description' => '任务运行建议。', 'type' => 'string', 'example' => '##### 当前节点:container'."\n" .'##### 存在问题:'."\n" .'最大内存利用率为7.75%,利用率较低'."\n" ."\n\n" .'尝试减小Tez Container内存,可通过hive.tez.container.size进行设置'."\n" ."\n"], ], ], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '获取单个任务分析结果', 'summary' => '通过EMR Doctor获取任务分析信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorApplication', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'GetDoctorComputeSummary' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ 'name' => 'ComponentInfo', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'description' => '资源信息,用于过滤结果。', 'type' => 'object', 'properties' => [ 'ComponentType' => ['description' => '过滤资源的类型。取值:'."\n" .'- engine:通过引擎类型来过滤结果。'."\n" .'- queue:通过队列来过滤结果。'."\n" .'- cluster:展示整个集群结果。'."\n" ."\n\n" .'如果不填写,默认展示整个集群信息。', 'type' => 'string', 'required' => false, 'example' => 'engine'], 'ComponentName' => ['description' => '根据ComponentType来设置特定过滤条件,如ComponentType为queue,就可以指定特定队列名称来获取特定队列资源使用情况。', 'type' => 'string', 'required' => false, 'example' => 'MAPREDUCE'], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '资源使用详情。', 'type' => 'object', 'properties' => [ 'Metrics' => [ 'description' => '指标数据。', 'type' => 'object', 'properties' => [ 'VcoreSeconds' => [ 'description' => '资源CPU使用总量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreSeconds'."\n"], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1231412'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'VCores * Sec'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total vcore usage over time in seconds'."\n"], ], ], 'MemSeconds' => [ 'description' => '资源内存使用总量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memSeconds'."\n"], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12312312'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB * Sec'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total memory usage over time in seconds'."\n"], ], ], 'VcoreUtilization' => [ 'description' => '资源平均CPU使用率。同Linux Top的%CPU含义。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreUtilization'."\n"], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '32.1'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of used vcore to total available cores'."\n"], ], ], 'MemUtilization' => [ 'description' => '资源平均内存利用率。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memUtilization'."\n"], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.82'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of used memory to total available memory'."\n"], ], ], 'VcoreSecondsDayGrowthRatio' => [ 'description' => '资源CPU使用总量日环比。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreSecondsDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.22'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Growth ratio of virtual core usage in seconds per day'], ], ], 'MemSecondsDayGrowthRatio' => [ 'description' => '资源内存使用总量日环比。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memSecondsDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.36'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Growth ratio of memory usage in seconds per day'], ], ], 'ReadSize' => [ 'description' => '资源读取文件系统总量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'readSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '504888659968'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total cumulative size of data read in megabytes (MB)'], ], ], 'WriteSize' => [ 'description' => '资源写入文件系统总量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'writeSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '6294093393920'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total cumulative size of data written in megabytes (MB)'], ], ], ], ], 'Analysis' => [ 'description' => '资源分析。', 'type' => 'object', 'properties' => [ 'HealthyJobCount' => ['description' => '健康任务总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], 'SubHealthyJobCount' => ['description' => '亚健康任务总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1123'], 'UnhealthyJobCount' => ['description' => '不健康任务总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '23'], 'NeedAttentionJobCount' => ['description' => '需要关注的任务总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '234'], 'Score' => ['description' => '资源任务评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '73'], 'ScoreDayGrowthRatio' => ['description' => '资源任务评分日环比。', 'type' => 'number', 'format' => 'float', 'example' => '0.02'], ], ], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '获取集群单个资源使用结果', 'summary' => '通过EMR Doctor获取集群单个资源使用结果。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorComputeSummary', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'GetDoctorHBaseCluster' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '日期。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'Metrics' => [ 'description' => '指标信息。', 'type' => 'object', 'properties' => [ 'TableCount' => [ 'description' => '表数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tableCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tables'], ], ], 'TotalDataSize' => [ 'description' => '集群大小。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '256'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'], ], ], 'TotalReadRequest' => [ 'description' => '总的读取请求次数。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalReadRequest'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '430'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total number of read requests'], ], ], 'TotalWriteRequest' => [ 'description' => '总的写入请求次数', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalWriteRequest'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '520'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total number of write requests'], ], ], 'AvgLoad' => [ 'description' => '平均负载。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'avgLoad'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '36.0'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The average load under normal working conditions'], ], ], 'NormalAvgLoad' => [ 'description' => '正常的平均负载。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'normalAvgLoad'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '526.4'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The average load under normal working conditions'], ], ], 'RegionBalance' => [ 'description' => 'region均衡度。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionBalance'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The ability to evenly distribute Regions on different RegionServer nodes'], ], ], 'TotalRequest' => [ 'description' => '集群请求总数。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalRequest'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '576'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total number of requests'], ], ], 'RegionServerCount' => [ 'description' => 'Region Server 数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionServerCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of region servers count'], ], ], 'RegionCount' => [ 'description' => 'Region 数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '161'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of regions count'], ], ], 'MemHeap' => [ 'description' => '内存大小。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memHeap'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '240'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Memory heap usage in megabytes (MB)'], ], ], 'StoreFileCount' => [ 'description' => 'store file个数。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'storeFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '298'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of store files'], ], ], 'DailyReadRequest' => [ 'description' => '单日的读请求数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyReadRequest'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '430'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of read requests per day'], ], ], 'DailyWriteRequest' => [ 'description' => '单日的写请求数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyWriteRequest'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '128'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of write requests per day'], ], ], ], ], 'Analysis' => [ 'description' => '分析结果。', 'type' => 'object', 'properties' => [ 'HbaseScore' => ['description' => 'HBase 集群整体得分。', 'type' => 'integer', 'format' => 'int32', 'example' => '85'], ], ], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '获取 HBase 集群信息', 'summary' => '获取 HBase 集群维度指标信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorHBaseCluster', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'GetDoctorHBaseRegion' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '日期。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ 'name' => 'HbaseRegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => 'Region ID。', 'type' => 'string', 'required' => true, 'example' => '67f6808f60a8c357103a3a95fe00610e'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'TableName' => ['description' => '表名称。', 'type' => 'string', 'example' => 'tb_item'], 'RegionServerHost' => ['description' => 'RegionServer的Host。', 'type' => 'string', 'example' => 'emr-worker-2.cluster-20****'], 'Metrics' => [ 'description' => '指标信息。', 'type' => 'object', 'properties' => [ 'TotalReadRequest' => [ 'description' => '总的读取请求次数', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalReadRequest'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total read request'], ], ], 'TotalWriteRequest' => [ 'description' => '总的写入请求次数', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalWriteRequest'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total Write Request'], ], ], 'StoreFileCount' => [ 'description' => 'store file个数。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'storeFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of store file'], ], ], 'DailyReadRequest' => [ 'description' => '单日的读请求数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyReadRequest '], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of read requests per day'."\n"], ], ], 'DailyWriteRequest' => [ 'description' => '单日的写请求数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyWriteRequest '], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of write requests per day'."\n"], ], ], ], ], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '获取 HBase Region 信息', 'summary' => '获取 HBase Region 信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorHBaseRegion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', '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"}]', ], 'GetDoctorHBaseRegionServer' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '日期。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ 'name' => 'RegionServerHost', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => 'RegionServer的Host。', 'type' => 'string', 'required' => true, 'example' => 'emr-worker-4.cluster-20****'."\n"], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'Metrics' => [ 'description' => '指标信息。', 'type' => 'object', 'properties' => [ 'RegionCount' => [ 'description' => 'Region的数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '15'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of regions count'], ], ], 'TotalReadRequest' => [ 'description' => '累积的读请求数量', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalReadRequest'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total number of read requests'], ], ], 'TotalWriteRequest' => [ 'description' => '累积的写请求数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalWriteRequest '], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total number of write requests'], ], ], 'TotalRequest' => [ 'description' => '累积的总请求数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalRequest'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total number of requests'], ], ], 'DailyReadRequest' => [ 'description' => '单日的读请求数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyReadRequest'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of read requests per day'], ], ], 'DailyWriteRequest' => [ 'description' => '单日的写请求数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyWriteRequest'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of write requests per day'], ], ], 'AvgGc' => [ 'description' => '平均GC时间。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'avgGc'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '42.3'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The efficiency of garbage collection in the system'], ], ], 'CacheRatio' => [ 'description' => '缓存比例。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'cacheRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '95.3'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of the BlockCache memory size'], ], ], 'DailyReadRequestDayGrowthRatio' => [ 'description' => '单日读请求数量的增长率。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyReadRequestDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The growth rate of daily read request quantity.'."\n"], ], ], 'DailyWriteRequestDayGrowthRatio' => [ 'description' => '单日写请求数量的增长率。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyWriteRequestDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The growth rate of daily write request quantity.'], ], ], ], ], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '获取 HBase ReagionServer 信息', 'summary' => '获取 HBase ReagionServer 信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorHBaseRegionServer', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', '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"}]', ], 'GetDoctorHBaseTable' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '日期。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ 'name' => 'TableName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '表名。', 'type' => 'string', 'required' => true, 'example' => 'namespace1:tb_item'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'Metrics' => [ 'description' => '指标信息。', 'type' => 'object', 'properties' => [ 'RegionServerCount' => [ 'description' => 'RegionServer数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionServerCount'], 'Value' => ['description' => '使用量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of region servers count'], ], ], 'RegionCount' => [ 'description' => 'region数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of regions count'], ], ], 'TableSize' => [ 'description' => '表大小。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tableSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => 'tb_item'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the table'], ], ], 'StoreFileCount' => [ 'description' => 'store file个数。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'storeFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of store files'], ], ], 'DailyReadRequest' => [ 'description' => '单日的读请求数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '项目名称。', 'type' => 'string', 'example' => 'dailyReadRequest'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'test-update'], ], ], 'DailyWriteRequest' => [ 'description' => '单日的写请求数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyWriteRequest'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of write requests per day'], ], ], 'RegionBalance' => [ 'description' => 'region均衡度。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionBalance'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The ability to evenly distribute Regions on different RegionServer nodes'], ], ], 'RequestBalance' => [ 'description' => '请求均衡度。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'requestBalance'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The balance of distributing requests'], ], ], 'HotDataSize' => [ 'description' => '热数据大小。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the hot data size'], ], ], 'WarmDataSize' => [ 'description' => '温数据大小。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSize'], 'Value' => ['description' => '使用率。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], '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' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the cold data size'], ], ], 'FreezeDataSize' => [ 'description' => '极冷数据大小。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the freeze data size'], ], ], 'WarmConfigDay' => [ 'description' => '热数据访问天数配置。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmConfigDay'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the warm data size'], ], ], 'ColdConfigDay' => [ 'description' => '冷数据访问天数配置。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldConfigDay'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'day'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Cold config day'], ], ], 'FreezeConfigDay' => [ 'description' => '冷数据访问天数配置。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeConfigDay'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'day'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Freeze config day'."\n"], ], ], 'Locality' => [ 'description' => '本地化率。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'locality'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The locality of data'], ], ], 'ColdAccessDay' => [ 'description' => '表多少天没被访问。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldAccessDay'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'day'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Cold access day'], ], ], 'RegionCountDayGrowthRatio' => [ 'description' => 'region个数日增量比例。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.8'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of region count'], ], ], 'TableSizeDayGrowthRatio' => [ 'description' => '表大小日增量比例。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tableSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of table size'], ], ], 'StoreFileCountDayGrowthRatio' => [ 'description' => 'store file个数日增量比例。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'storeFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of store file count'], ], ], 'DailyReadRequestDayGrowthRatio' => [ 'description' => '单日读请求日增量比例。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyReadRequestDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of table size'], ], ], 'DailyWriteRequestDayGrowthRatio' => [ 'description' => '单日写请求日增量比例。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyWriteRequestDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The balance of distributing requests'], ], ], 'ReadRequestBalance' => [ 'description' => '读均衡度。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'readRequestBalance'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The balance of distributing read requests'], ], ], 'WriteRequestBalance' => [ 'description' => '写均衡度。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'writeRequestBalance'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The balance of distributing write requests'], ], ], ], ], 'Analysis' => [ 'description' => '诊断结果。', 'type' => 'object', 'properties' => [ 'TableScore' => ['description' => '表打分。', 'type' => 'integer', 'format' => 'int32', 'example' => '85'], 'RequestUnbalanceSuggestion' => ['description' => '读写不均衡描述。', 'type' => 'string', 'example' => 'read request unbalance is

表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:

 

'], 'RequestHotspotRegionList' => [ 'description' => '读写热点region列表。', 'type' => 'array', 'items' => ['description' => '读写热点region。', 'type' => 'string', 'example' => '5f019e8cf7c16be9768634cb99ccbe05'], 'example' => 'null', ], 'ReadRequestUnbalanceSuggestion' => ['description' => '读不均衡描述。', 'type' => 'string', 'example' => 'read request unbalance is

表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:

 

'], 'ReadRequestHotspotRegionList' => [ 'description' => '读热点hotspot regions列表。', 'type' => 'array', 'items' => ['description' => '读热点hotspot regions列表。', 'type' => 'string', 'example' => '5f019e8cf7c16be9768634cb99ccbe05'], 'example' => 'null', ], 'WriteRequestUnbalanceSuggestion' => ['description' => '写不均衡度描述。', 'type' => 'string', 'example' => 'write request unbalance is

表分区总数量为15,分区平均写请求数量为769954,以下分区存在写请求热点访问:

 

'], 'WriteRequestHotspotRegionList' => [ 'description' => '写热点hotspot regions列表。', 'type' => 'array', 'items' => ['description' => '写热点hotspot regions。', 'type' => 'string', 'example' => '5f019e8cf7c16be9768634cb99ccbe05'], 'example' => 'null', ], ], ], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '获取 HBase Table 信息', 'summary' => '获取 HBase Table 信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorHBaseTable', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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

表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:

 

\\",\\n \\"RequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"ReadRequestUnbalanceSuggestion\\": \\"read request unbalance is

表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:

 

\\",\\n \\"ReadRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"WriteRequestUnbalanceSuggestion\\": \\"write request unbalance is

表分区总数量为15,分区平均写请求数量为769954,以下分区存在写请求热点访问:

 

\\",\\n \\"WriteRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ]\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], 'GetDoctorHDFSCluster' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => 'HDFS分析数据。', 'type' => 'object', 'properties' => [ 'Metrics' => [ 'description' => '指标信息。', 'type' => 'object', 'properties' => [ 'LargeFileCount' => [ 'description' => '大文件个数。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of large files'], ], ], 'MediumFileCount' => [ 'description' => '中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '234'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of medium files'], ], ], 'SmallFileCount' => [ 'description' => '小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12345'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of small files'], ], ], 'TinyFileCount' => [ 'description' => '极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '232131'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tiny files'], ], ], 'EmptyFileCount' => [ 'description' => '空文件个数。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '15595897'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of empty files'], ], ], 'TotalFileCount' => [ 'description' => '总文件个数。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '51683279'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of total files'], ], ], 'HotDataSize' => [ 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '6701531944206'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the hot data size'], ], ], 'WarmDataSize' => [ 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '4062349775577'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the warm data size'], ], ], 'ColdDataSize' => [ 'description' => '冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', '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'], ], ], 'FreezeDataSize' => [ 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1231312431'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the freeze data size'], ], ], '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'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'], ], ], 'LargeFileRatio' => [ 'description' => '大文件个数占比。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.22'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of large files'], ], ], 'MediumFileRatio' => [ 'description' => '中文件个数占比。中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.21'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of medium files'], ], ], 'SmallFileRatio' => [ 'description' => '小文件个数占比。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.19'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of small files'], ], ], 'TinyFileRatio' => [ 'description' => '极小文件个数占比。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.19'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of tiny files'], ], ], 'EmptyFileRatio' => [ 'description' => '空文件个数占比。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.3'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of empty files'], ], ], 'HotDataRatio' => [ 'description' => '热数据的数据量大小占比。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.22'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Hot data ratio'], ], ], 'WarmDataRatio' => [ 'description' => '温数据的数据量大小占比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.12'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of warm data'], ], ], 'ColdDataRatio' => [ 'description' => '冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Cold data ratio'], ], ], 'FreezeDataRatio' => [ 'description' => '极冷数据的数据量大小占比。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.12'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of freeze data'], ], ], 'TotalFileDayGrowthCount' => [ 'description' => '总文件个数日增量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '27809'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of total files'], ], ], 'LargeFileDayGrowthCount' => [ 'description' => '大文件个数日增量。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of large files'], ], ], 'MediumFileDayGrowthCount' => [ 'description' => '中文件个数增量。比中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '176'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of medium files'], ], ], 'SmallFileDayGrowthCount' => [ 'description' => '小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12321'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of small files'], ], ], 'TinyFileDayGrowthCount' => [ 'description' => '极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-123'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of tiny files'], ], ], 'EmptyFileDayGrowthCount' => [ 'description' => '空文件个数日增量。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '114'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of empty files'], ], ], 'HotDataDayGrowthSize' => [ 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '123154'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of hot data'], ], ], 'WarmDataDayGrowthSize' => [ 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-64806998319'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of warm data'], ], ], 'ColdDataDayGrowthSize' => [ 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-182636577752'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of cold data'], ], ], 'FreezeDataDayGrowthSize' => [ 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-167683929450'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of freeze data'], ], ], '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'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of total data'], ], ], 'TotalFileCountDayGrowthRatio' => [ 'description' => '总文件个数日环比。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.02'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total files'], ], ], 'LargeFileCountDayGrowthRatio' => [ 'description' => '大文件个数日环比。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.39'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of large files'], ], ], 'MediumFileCountDayGrowthRatio' => [ 'description' => '中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.19'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of medium files'], ], ], 'SmallFileCountDayGrowthRatio' => [ 'description' => '小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.02'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of small files'], ], ], 'TinyFileCountDayGrowthRatio' => [ 'description' => '极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.003'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of tiny files'], ], ], 'EmptyFileCountDayGrowthRatio' => [ 'description' => '空文件个数日环比。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.005'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of empty files'], ], ], 'HotDataSizeDayGrowthRatio' => [ 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.1114'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of hot data size'], ], ], 'WarmDataSizeDayGrowthRatio' => [ 'description' => '温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '-0.015'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of warm data size'], ], ], 'ColdDataSizeDayGrowthRatio' => [ 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '-0.03'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of cold data size'], ], ], 'FreezeDataSizeDayGrowthRatio' => [ 'description' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '-0.09'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of freeze data size'], ], ], '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' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total data size'], ], ], ], ], 'Analysis' => [ 'description' => '分析结果。', 'type' => 'object', 'properties' => [ 'HdfsScore' => ['description' => 'HDFS整体评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '55'], ], ], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '获取HDFS分析结果', 'summary' => '通过EMR Doctor获取集群HDFS数据分析结果。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorHDFSCluster', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'GetDoctorHDFSDirectory' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ 'name' => 'DirPath', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '目录名称。目录不超过5级。', 'type' => 'string', 'required' => true, 'example' => '/tmp/test'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => 'HDFS目录分析数据。', 'type' => 'object', 'properties' => [ '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' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of total files'."\n"], ], ], 'LargeFileCount' => [ 'description' => '大文件个数。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of large files'."\n"], ], ], 'MediumFileCount' => [ 'description' => '中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '234'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of medium files'."\n"], ], ], 'SmallFileCount' => [ 'description' => '小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12345'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of small files'."\n"], ], ], 'TinyFileCount' => [ 'description' => '极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '232131'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tiny files'."\n"], ], ], 'EmptyFileCount' => [ 'description' => '空文件个数。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '15595897'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of empty files'."\n"], ], ], 'HotDataSize' => [ 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '6701531944206'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the hot data size'."\n"], ], ], 'WarmDataSize' => [ 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '4062349775577'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the warm data size'], ], ], 'ColdDataSize' => [ 'description' => '冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', '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' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1231312431'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the freeze data size'."\n"], ], ], 'TotalDataSize' => [ 'description' => '总数据量大小。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSize'."\n"], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '62086342083623'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], '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' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of total files'."\n"], ], ], 'LargeFileDayGrowthCount' => [ 'description' => '大文件个数日增量。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of large files'."\n"], ], ], 'MediumFileDayGrowthCount' => [ 'description' => '中文件个数增量。比中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '176'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of medium files'."\n"], ], ], 'SmallFileDayGrowthCount' => [ 'description' => '小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12345'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of small files'."\n"], ], ], 'TinyFileDayGrowthCount' => [ 'description' => '极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。', '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'."\n"], ], ], 'EmptyFileDayGrowthCount' => [ 'description' => '空文件个数日增量。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileDayGrowthCount'."\n"], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '114'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of empty files'."\n"], ], ], 'HotDataDayGrowthSize' => [ 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', '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' => 'Day growth size of hot data'."\n"], ], ], 'WarmDataDayGrowthSize' => [ 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-64806998319'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of warm data'."\n"], ], ], 'ColdDataDayGrowthSize' => [ 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-182636577752'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of cold data'."\n"], ], ], 'FreezeDataDayGrowthSize' => [ 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-167683929450'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], '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'], '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' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total files'."\n"], ], ], 'LargeFileCountDayGrowthRatio' => [ 'description' => '大文件个数日环比。大文件指的是1 GB以上大小的文件。', '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' => '中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。', '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' => '小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。', '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' => '极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.003'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of tiny files'."\n"], ], ], 'EmptyFileCountDayGrowthRatio' => [ 'description' => '空文件个数日环比。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => ' '."\n" .'0.005'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of empty files'."\n"], ], ], 'HotDataSizeDayGrowthRatio' => [ 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.1114'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of hot data size'."\n"], ], ], 'WarmDataSizeDayGrowthRatio' => [ 'description' => '温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '-0.015'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of warm data size'."\n"], ], ], 'ColdDataSizeDayGrowthRatio' => [ 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', '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' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '-0.09'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], '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' => ' '."\n" .'0.14'."\n"], '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****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '获取HDFS特定目录分析结果', 'summary' => '通过EMR Doctor获取集群HDFS特定目录数据分析结果,目录不超过5级。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorHDFSDirectory', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'GetDoctorHiveCluster' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => 'Hive分析数据。', 'type' => 'object', 'properties' => [ 'Formats' => [ 'description' => '存储格式信息。', 'type' => 'array', 'items' => [ 'description' => '存储格式信息。', 'type' => 'object', 'properties' => [ 'FormatName' => ['description' => '存储格式名称。', 'type' => 'string', 'example' => 'TextInputFormat'."\n"], 'FormatSize' => ['description' => '格式大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], 'FormatSizeUnit' => ['description' => '格式大小单位。', 'type' => 'string', 'example' => 'MB'], 'FormatRatio' => ['description' => '格式占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], ], ], ], 'Metrics' => [ 'description' => '指标信息。', 'type' => 'object', 'properties' => [ 'TableCount' => [ 'description' => '表数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tableCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tables'], ], ], 'PartitionNum' => [ 'description' => '分区数。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'partitionNum'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of partitions'], ], ], 'DatabaseCount' => [ 'description' => '库数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'databaseCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of databases'], ], ], 'LargeFileCount' => [ 'description' => '大文件个数。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of large files'."\n"], ], ], 'MediumFileCount' => [ 'description' => '中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of medium files'."\n"], ], ], 'SmallFileCount' => [ 'description' => '小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCount '], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of small files'."\n"], ], ], 'TinyFileCount' => [ 'description' => '极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tiny files'."\n"], ], ], 'EmptyFileCount' => [ 'description' => '空文件个数。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of empty files'."\n"], ], ], 'TotalFileCount' => [ 'description' => '总文件个数。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total files'."\n"], ], ], 'LargeFileRatio' => [ 'description' => '大文件个数占比。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of large files'."\n"], ], ], 'MediumFileRatio' => [ 'description' => '中文件个数占比。中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of medium files'."\n"], ], ], 'SmallFileRatio' => [ 'description' => '小文件个数占比。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of small files'."\n"], ], ], 'TinyFileRatio' => [ 'description' => '极小文件个数占比。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of tiny files'."\n"], ], ], 'EmptyFileRatio' => [ 'description' => '空文件个数占比。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of empty files'."\n"], ], ], 'HotDataSize' => [ 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of hot files'."\n"], ], ], 'WarmDataSize' => [ 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of warm files'."\n"], ], ], 'ColdDataSize' => [ 'description' => '冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of cold files'."\n"], ], ], 'FreezeDataSize' => [ 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of freeze files'."\n"], ], ], 'TotalDataSize' => [ 'description' => '总数据量大小。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'."\n"], ], ], 'HotDataRatio' => [ 'description' => '热数据的数据量大小澳盘占比。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Hot data ratio'."\n"], ], ], 'WarmDataRatio' => [ 'description' => '温数据的数据量大小占比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of warm data'."\n"], ], ], 'ColdDataRatio' => [ 'description' => '冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Cold data ratio'."\n"], ], ], 'FreezeDataRatio' => [ 'description' => '极冷数据的数据量大小占比。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.12'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of freeze data'."\n"], ], ], 'TotalFileDayGrowthCount' => [ 'description' => '总文件个数日增量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '27800'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of total files'."\n"], ], ], 'LargeFileDayGrowthCount' => [ 'description' => '大文件个数日增量。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileDayGrowthCount '], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of large files'."\n"], ], ], 'MediumFileDayGrowthCount' => [ 'description' => '中文件个数日增量。中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileDayGrowthCount'."\n"], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '178'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of medium files'."\n"], ], ], 'SmallFileDayGrowthCount' => [ 'description' => '小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of small files'."\n"], ], ], 'TinyFileDayGrowthCount' => [ 'description' => '极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'day growth count of tiny files'."\n"], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of tiny files'."\n"], ], ], 'EmptyFileDayGrowthCount' => [ 'description' => '空文件个数日增量。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of empty files'."\n"], ], ], 'HotDataDayGrowthSize' => [ 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of hot data'."\n"], ], ], 'WarmDataDayGrowthSize' => [ 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-100'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of warm data'."\n"], ], ], 'ColdDataDayGrowthSize' => [ 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of cold data'."\n"], ], ], 'FreezeDataDayGrowthSize' => [ 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], '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' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of total data'."\n"], ], ], 'TotalFileCountDayGrowthRatio' => [ 'description' => '总文件个数日环比。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total files'."\n"], ], ], 'LargeFileCountDayGrowthRatio' => [ 'description' => '大文件个数日环比。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of large files'."\n"], ], ], 'MediumFileCountDayGrowthRatio' => [ 'description' => '中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of medium files'."\n"], ], ], 'SmallFileCountDayGrowthRatio' => [ 'description' => '小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of small files'."\n"], ], ], 'TinyFileCountDayGrowthRatio' => [ 'description' => '极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of tiny files'."\n"], ], ], 'EmptyFileCountDayGrowthRatio' => [ 'description' => '空文件个数日环比。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of empty files'."\n"], ], ], 'HotDataSizeDayGrowthRatio' => [ 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of hot data size'."\n"], ], ], 'WarmDataSizeDayGrowthRatio' => [ 'description' => '温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSizeDayGrowthRatio '], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of warm data size'."\n"], ], ], 'ColdDataSizeDayGrowthRatio' => [ 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of cold data size'."\n"], ], ], 'FreezeDataSizeDayGrowthRatio' => [ 'description' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio '], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], '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.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total data size'."\n"], ], ], ], ], 'Analysis' => [ 'description' => '分析结果。', 'type' => 'object', 'properties' => [ 'HiveFrequencyScore' => ['description' => 'hive访问频率得分', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], 'HiveDistributionScore' => ['description' => 'hive大小文件分布得分', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], 'HiveFormatScore' => ['description' => 'hive文件存储格式得分', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], 'HiveScore' => ['description' => 'hive总评分', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], ], ], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '获取 Hive 集群信息', 'summary' => '获取 Hive 集群维度分析结果。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorHiveCluster', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', '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"}]', ], 'GetDoctorHiveDatabase' => [ 'description' => 'get Doctor Hive Database', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '日期。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ 'name' => 'DatabaseName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '数据库名称。', 'type' => 'string', 'required' => true, 'example' => 'db1'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => 'Hive库分析数据。', 'type' => 'object', 'properties' => [ 'Formats' => [ 'description' => '存储格式信息。', 'type' => 'array', 'items' => [ 'description' => '存储格式信息。', 'type' => 'object', 'properties' => [ 'FormatName' => ['description' => '存储格式名称。', 'type' => 'string', 'example' => 'TextInputFormat'], 'FormatSize' => ['description' => '格式数据量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'FormatSizeUnit' => ['description' => '格式数据量单位。', 'type' => 'string', 'example' => 'MB'], 'FormatRatio' => ['description' => '格式占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'FormatDayGrowthSize' => ['description' => '格式数据量日增量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'FormatSizeDayGrowthRatio' => ['description' => '格式数据量日环比。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], ], ], ], 'Metrics' => [ 'description' => '指标信息。', 'type' => 'object', 'properties' => [ 'TableCount' => [ 'description' => '表数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tableCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tables'."\n"], ], ], 'PartitionNum' => [ 'description' => '分区数。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'partitionNum'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of partitions'."\n"], ], ], 'LargeFileCount' => [ 'description' => '大文件个数。大文件指的是 1 GB 以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of large files'."\n"], ], ], 'MediumFileCount' => [ 'description' => '中文件个数。中文件指的是 128 MB 以上,1 GB 以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of medium files'."\n"], ], ], 'SmallFileCount' => [ 'description' => '小文件个数。小文件指的是 10 MB 以上,128 MB 以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of small files'."\n"], ], ], 'TinyFileCount' => [ 'description' => '极小文件个数。极小文件指的是 0 MB 以上,10 MB 以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tiny files'."\n"], ], ], 'EmptyFileCount' => [ 'description' => '空文件个数。空文件指的是 0 MB 大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of empty files'."\n"], ], ], 'TotalFileCount' => [ 'description' => '总文件个数。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCount '], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of total files'."\n"], ], ], 'LargeFileRatio' => [ 'description' => '大文件个数占比。大文件指的是 1 GB 以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of large files'."\n"], ], ], 'MediumFileRatio' => [ 'description' => '中文件个数占比。中文件指的是 128 MB 以上,1 GB 以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of medium files'."\n"], ], ], 'SmallFileRatio' => [ 'description' => '小文件个数占比。小文件指的是 10 MB 以上,128 MB 以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of small files'."\n"], ], ], 'TinyFileRatio' => [ 'description' => '极小文件个数占比。极小文件指的是 0 MB 以上,10 MB 以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of tiny files'."\n"], ], ], 'EmptyFileRatio' => [ 'description' => '空文件个数占比。空文件指的是 0 MB 大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileRatio '], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of empty files'."\n"], ], ], 'HotDataSize' => [ 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of hot files'."\n"], ], ], 'WarmDataSize' => [ 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of warm files'."\n"], ], ], 'ColdDataSize' => [ 'description' => '冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of cold files'."\n"], ], ], 'FreezeDataSize' => [ 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of freeze files'."\n"], ], ], 'TotalDataSize' => [ 'description' => '总数据量大小。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSize '], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'."\n"], ], ], 'HotDataRatio' => [ 'description' => '热数据的数据量大小占比。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataRatio '], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Hot data ratio'."\n"], ], ], 'WarmDataRatio' => [ 'description' => '温数据的数据量大小占比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of warm data'."\n"], ], ], 'ColdDataRatio' => [ 'description' => '冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataRatio '], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Cold data ratio'."\n"], ], ], 'FreezeDataRatio' => [ 'description' => '极冷数据的数据量大小占比。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of freeze data'."\n"], ], ], 'TotalFileDayGrowthCount' => [ 'description' => '总文件个数日增量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of total files'."\n"], ], ], 'LargeFileDayGrowthCount' => [ 'description' => '大文件个数日增量。大文件指的是 1 GB 以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileDayGrowthCount '], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of large files'."\n"], ], ], 'MediumFileDayGrowthCount' => [ 'description' => '中文件个数日增量。中文件指的是 128 M 以上,1 G 以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileDayGrowthCount '], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of medium files'."\n"], ], ], 'SmallFileDayGrowthCount' => [ 'description' => '小文件个数日增量。小文件指的是10 MB 以上,128 MB 以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of small files'."\n"], ], ], 'TinyFileDayGrowthCount' => [ 'description' => '极小文件个数日增量。极小文件指的是 0 MB 以上,10 MB 以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of tiny files'."\n"], ], ], 'EmptyFileDayGrowthCount' => [ 'description' => '空文件个数日增量。空文件指的是 0 MB 大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of empty files'."\n"], ], ], 'HotDataDayGrowthSize' => [ 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of hot data'."\n"], ], ], 'WarmDataDayGrowthSize' => [ 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of warm data'."\n"], ], ], 'ColdDataDayGrowthSize' => [ 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataDayGrowthSize '], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of cold data'."\n"], ], ], 'FreezeDataDayGrowthSize' => [ 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataDayGrowthSize '], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], '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' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of total data'."\n"], ], ], 'TotalFileCountDayGrowthRatio' => [ 'description' => '总文件个数日环比。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio '], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total files'."\n"], ], ], 'LargeFileCountDayGrowthRatio' => [ 'description' => '大文件个数日环比。大文件指的是 1 GB 以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of large files'."\n"], ], ], 'MediumFileCountDayGrowthRatio' => [ 'description' => '中文件个数日环比。比中文件指的是 128 MB 以上,1 GB 以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio '], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of medium files'."\n"], ], ], 'SmallFileCountDayGrowthRatio' => [ 'description' => '小文件个数日环比。小文件指的是10 MB 以上,128 MB 以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio '], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of small files'."\n"], ], ], 'TinyFileCountDayGrowthRatio' => [ 'description' => '极小文件个数日环比。极小文件指的是 0 MB 以上,10 MB 以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio '], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of tiny files'."\n"], ], ], 'EmptyFileCountDayGrowthRatio' => [ 'description' => '空文件个数日环比。空文件指的是 0 MB 大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of empty files'."\n"], ], ], 'HotDataSizeDayGrowthRatio' => [ 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio '], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of hot data size'."\n"], ], ], 'WarmDataSizeDayGrowthRatio' => [ 'description' => '温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of warm data size'."\n"], ], ], 'ColdDataSizeDayGrowthRatio' => [ 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of cold data size'."\n"], ], ], 'FreezeDataSizeDayGrowthRatio' => [ 'description' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio '], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], '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.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total data size'."\n"], ], ], ], ], 'Analysis' => [ 'description' => '分析结果。', 'type' => 'object', 'properties' => [ 'HiveFrequencyScore' => ['description' => 'Hive 库访问频率得分。', 'type' => 'integer', 'format' => 'int32', 'example' => '85'], 'HiveDistributionScore' => ['description' => 'Hive 库文件大小评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '85'], 'HiveFormatScore' => ['description' => 'Hive 库格式评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '85'], 'HiveScore' => ['description' => 'Hive 库综合评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '85'], ], ], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '获取Hive库信息', 'summary' => '获取 Hive 库维度分析结果。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorHiveDatabase', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'GetDoctorHiveTable' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ 'name' => 'TableName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '表名称,表名称遵循Hive通用写法,以{库名称.表名称}唯一确定。', 'type' => 'string', 'required' => true, 'example' => 'dw.dwd_creta_service_order_long_renew_long_da'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => 'Hive表分析数据。', 'type' => 'object', 'properties' => [ 'Formats' => [ 'description' => '表格式数据。', 'type' => 'array', 'items' => [ 'description' => '表格式信息。', 'type' => 'object', 'properties' => [ 'FormatName' => ['description' => '存储格式名称。', 'type' => 'string', 'example' => 'TextInputFormat'], 'FormatSize' => ['description' => '格式数据量。', 'type' => 'integer', 'format' => 'int64', 'example' => '506930200'], 'FormatSizeUnit' => ['description' => '格式数据量单位。', 'type' => 'string', 'example' => 'MB'], 'FormatRatio' => ['description' => '格式占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.23'], 'FormatDayGrowthSize' => ['description' => '格式数据量日增量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1232124'], 'FormatSizeDayGrowthRatio' => ['description' => '格式数据量日环比。', 'type' => 'number', 'format' => 'float', 'example' => '0.04'], ], ], ], 'Owner' => ['description' => '属主。', 'type' => 'string', 'example' => 'DW'], 'Metrics' => [ 'description' => '指标信息。', 'type' => 'object', 'properties' => [ 'PartitionNum' => [ 'description' => '分区数。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'partitionNum'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '441'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'number of partitions'], ], ], 'LargeFileCount' => [ 'description' => '大文件个数。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of large files'], ], ], 'MediumFileCount' => [ 'description' => '中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of medium files'], ], ], 'SmallFileCount' => [ 'description' => '小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '18'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '"“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of small files'], ], ], 'TinyFileCount' => [ 'description' => '极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '451'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tiny files'], ], ], 'EmptyFileCount' => [ 'description' => '空文件个数。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '3123'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of empty files'], ], ], 'TotalFileCount' => [ 'description' => '总文件个数。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of total files'], ], ], 'LargeFileRatio' => [ 'description' => '大文件个数占比。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.02'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of large files'], ], ], 'MediumFileRatio' => [ 'description' => '中文件个数占比。中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.80'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of medium files'], ], ], 'SmallFileRatio' => [ 'description' => '小文件个数占比。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.04'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of small files'], ], ], 'TinyFileRatio' => [ 'description' => '极小文件个数占比。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.96'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of tiny files'], ], ], 'EmptyFileRatio' => [ 'description' => '空文件个数占比。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of empty files'], ], ], 'HotDataSize' => [ 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '203431'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the hot data size'], ], ], 'WarmDataSize' => [ 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '14981'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the warm data size'], ], ], 'ColdDataSize' => [ 'description' => '冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '217715'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the cold data size'], ], ], 'FreezeDataSize' => [ 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '33229309'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the freeze data size'], ], ], 'TotalDataSize' => [ 'description' => '总数据量大小。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '33800296'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'], ], ], 'HotDataRatio' => [ 'description' => '热数据的数据量大小占比。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Hot data ratio'], ], ], 'WarmDataRatio' => [ 'description' => '温数据的数据量大小占比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.1'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of warm data'], ], ], 'ColdDataRatio' => [ 'description' => '冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Cold data ratio'], ], ], 'FreezeDataRatio' => [ 'description' => '极冷数据的数据量大小占比。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.98'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of freeze data'], ], ], 'TotalFileDayGrowthCount' => [ 'description' => '总文件个数日增量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of total files'], ], ], 'LargeFileDayGrowthCount' => [ 'description' => '大文件个数日增量。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '40'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of large files'], ], ], 'MediumFileDayGrowthCount' => [ 'description' => '中文件个数日增量。中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of medium files'], ], ], 'SmallFileDayGrowthCount' => [ 'description' => '小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '18'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of small files'], ], ], 'TinyFileDayGrowthCount' => [ 'description' => '极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '482'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of tiny files'], ], ], 'EmptyFileDayGrowthCount' => [ 'description' => '空文件个数日增量。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-20'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of empty files'], ], ], 'HotDataDayGrowthSize' => [ 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '203431'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of hot data'], ], ], 'WarmDataDayGrowthSize' => [ 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '149841'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of warm data'], ], ], 'ColdDataDayGrowthSize' => [ 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '217715'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of cold data'], ], ], 'FreezeDataDayGrowthSize' => [ 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '33229309'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of freeze data'], ], ], 'TotalDataDayGrowthSize' => [ 'description' => '全部数据的数据量日增量大小。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '33800296'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of total data'], ], ], 'TotalFileCountDayGrowthRatio' => [ 'description' => '总文件个数日环比。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total files'], ], ], 'LargeFileCountDayGrowthRatio' => [ 'description' => '大文件个数日环比。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of large files'], ], ], 'MediumFileCountDayGrowthRatio' => [ 'description' => '中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of medium files'], ], ], 'SmallFileCountDayGrowthRatio' => [ 'description' => '小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of small files'], ], ], 'TinyFileCountDayGrowthRatio' => [ 'description' => '极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.04'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of tiny files'], ], ], 'EmptyFileCountDayGrowthRatio' => [ 'description' => '空文件个数日环比。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of empty files'], ], ], 'HotDataSizeDayGrowthRatio' => [ 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of hot data size'], ], ], 'WarmDataSizeDayGrowthRatio' => [ 'description' => '温数的据数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of warm data size'], ], ], 'ColdDataSizeDayGrowthRatio' => [ 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of cold data size'], ], ], 'FreezeDataSizeDayGrowthRatio' => [ 'description' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of freeze data size'], ], ], 'TotalDataSizeDayGrowthRatio' => [ 'description' => '总数据量大小日环比。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total data size'], ], ], ], ], 'Analysis' => [ 'description' => '分析结果。', 'type' => 'object', 'properties' => [ 'HiveFrequencyScore' => ['description' => 'Hive表访问频率得分。', 'type' => 'integer', 'format' => 'int32', 'example' => '70'], 'HiveDistributionScore' => ['description' => 'Hive表文件大小评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], 'HiveFormatScore' => ['description' => 'Hive表格式评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'], 'HiveScore' => ['description' => 'Hive表综合评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], ], ], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '获取Hive表分析结果', 'summary' => '通过EMR Doctor获取集群Hive特定表分析结果。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorHiveTable', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'GetDoctorJob' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'AppId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => 'app id', 'description' => '任务提交到YARN的ID。', 'type' => 'string', 'required' => true, 'example' => 'application_1542620905989_****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '任务信息。', 'type' => 'object', 'properties' => [ 'AppId' => ['description' => '任务提交到YARN的ID。', 'type' => 'string', 'example' => 'application_1542620905989_****'], 'AppName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'CREATE TABLE test...ranks=1 (Stage-1)'], 'User' => ['description' => '任务提交用户名。', 'type' => 'string', 'example' => 'DW'], 'Queue' => ['description' => '任务提交到YARN的队列。', 'type' => 'string', 'example' => 'DW'], 'State' => ['description' => '应用执行状态,取值说明:'."\n" .'* FINISHED:结束的。'."\n" .'* FAILED:失败的。'."\n" .'* KILLED:中止的。', 'type' => 'string', 'example' => 'FINISHED'], 'FinalStatus' => ['description' => '应用执行结束状态,取值说明:'."\n" .'* SUCCEEDED:成功的。'."\n" .'* FAILED:失败的。'."\n" .'* KILLED:中止的。'."\n" .'* ENDED: 结束的。'."\n" .'* UNDEFINED:未定义的。', 'type' => 'string', 'example' => 'KILLED'], 'Type' => ['description' => '计算引擎类型。', 'type' => 'string', 'example' => 'SPARK'], 'StartTime' => ['description' => '任务提交时间,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1673946000000'], 'LaunchTime' => ['description' => '任务启动时间,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1665014400000'], 'ElapsedTime' => ['description' => '任务运行总时间,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '278'], 'FinishTime' => ['description' => '任务结束时间,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1658388322000'], 'Metrics' => [ 'description' => '指标数据。', 'type' => 'object', 'properties' => [ 'VcoreSeconds' => [ 'description' => 'CPU使用量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreSeconds'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '11123'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'VCores * Sec'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total vcore usage over time in seconds'], ], ], 'MemSeconds' => [ 'description' => '内存使用量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memSeconds'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12312312'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB * Sec'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total memory usage over time in seconds'], ], ], ], ], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '获取单个任务运行结果', 'summary' => '通过EMR Doctor获取任务基本运行信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', '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"}]', ], 'GetDoctorReportComponentSummary' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => 'dateTime for specify report', 'description' => '报告日期。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ 'name' => 'ComponentType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => 'component type', 'description' => '选择组件过滤类型。取值:'."\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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '报告内容。', 'type' => 'object', 'properties' => [ 'Score' => ['description' => '分数。', 'type' => 'integer', 'format' => 'int32', 'example' => '88'], 'Summary' => ['description' => '报告摘要。', 'type' => 'string', 'example' => ' [计算检测] 计算健康度分数为 88 ,健康度良好,继续加油'."\n" .'集群中大部分任务保持健康状态'."\n" .'集群内存利用率为: 47.8% 偏低'], 'Suggestion' => ['description' => '优化建议。', '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% '], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '获取指定组件报告', 'summary' => '获取 EMR Doctor 指定组件分析结果报告。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorReportComponentSummary', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'GetManagedScalingPolicy' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '235207', 'abilityTreeNodes' => ['FEATUREemapreduceB95X9C'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', '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****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'ScalingPolicy' => [ 'description' => '弹性伸缩策略。', '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' => '最大最小值约束。', 'type' => 'object', 'properties' => [ 'MaxCapacity' => ['title' => '最大值', 'description' => '最大值。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], 'MinCapacity' => ['title' => '最小值', 'description' => '最小值。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], 'MaxOnDemandCapacity' => ['title' => '最大按量数量', 'description' => '按量付费Task节点的最大数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], ], ], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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'], 'title' => '查看托管弹性伸缩策略', 'summary' => '查看托管伸缩策略内容。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetManagedScalingPolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'GetNodeGroup' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeNodes' => ['FEATUREemapreduce51LGQ1'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', '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****'], ], [ 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'NodeGroup' => ['description' => '节点组。', '$ref' => '#/components/schemas/NodeGroup'], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '获取节点组', 'summary' => '获取节点组详情。', 'changeSet' => [], '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' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"type":"json","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}","errorExample":""},{"type":"xml","example":"\\n \\n \\n","errorExample":""}]', ], 'GetOperation' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '38519', 'abilityTreeNodes' => ['FEATUREemapreduceW8BA0F'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', '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****'], ], [ 'name' => 'OperationId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '操作ID。', 'description' => '操作ID。'."\n" ."\n" .'参考取值来源:'."\n" ."\n" .'- [CreateCluster](~~454393~~)'."\n" .'- [IncreaseNodes](~~454397~~)', 'type' => 'string', 'required' => true, 'example' => 'op-13c37a77c505****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'Operation' => ['description' => '操作。', '$ref' => '#/components/schemas/Operation'], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3896A'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '获取操作', 'summary' => '获取一个异步操作详情。', 'changeSet' => [], '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' => '全部资源', 'arn' => '*'], ], ], ], ], '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":"\\n 9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\n COMPLETED\\n \\n \\n \\n \\n","errorExample":""}]', ], 'IncreaseNodes' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '20107', 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', '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****'], ], [ 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。扩容的目标节点组。', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], ], [ 'name' => 'IncreaseNodeCount', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点数量。', 'description' => '节点数量。本次扩容的增量节点数量。取值范围:1~500。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '3'], ], [ 'name' => 'AutoPayOrder', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '是否自动支付。', 'description' => '是否自动支付本次扩容操作涉及的订单。节点组付费类型PaymentType取值Subscription时该参数生效。取值范围:'."\n" .'- true:自动支付本次操作涉及的订单。'."\n" .'- false:不自动支付本次操作涉及的订单。'."\n" ."\n" .'默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'AutoRenew', 'in' => 'query', 'schema' => ['description' => '本次扩容的节点是否开启自动续费,默认值为false。取值范围:'."\n" .'- true:开启自动续费。'."\n" .'- false:不开启自动续费。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'PaymentDuration', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '付费时长。', 'description' => '付费时长。当PaymentDurationUnit取值为Month时,取值:1、2、3、4、5、6、7、8、9、12、24、36、48、60。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12'], ], [ 'name' => 'PaymentDurationUnit', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '付费时长单位。', 'description' => '付费时长单位。取值范围:'."\n" .'- Month:月。', 'type' => 'string', 'required' => false, 'example' => 'Month'], ], [ 'name' => 'ApplicationConfigs', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '应用配置。', 'description' => '应用配置。数组元素个数N的取值范围:1~1000。', 'type' => 'array', 'items' => ['description' => '应用配置。', 'required' => false, '$ref' => '#/components/schemas/ApplicationConfig'], 'required' => false, 'example' => 'Month', 'maxItems' => 100, ], ], [ 'name' => 'MinIncreaseNodeCount', 'in' => 'query', 'schema' => ['description' => '本次扩容接受的最小节点数量。取值范围为 1 到 500。'."\n" ."\n" .'- 若设置了该值,当ECS库存数量小于IncreaseNodeCount 时,扩容流程将尽力创建 `MinIncreaseNodeCount` 个节点,扩容流程状态将显示为部分成功 `PARTIAL_COMPLETED`。'."\n" .'- 如果不设置该值,当ECS库存数量小于IncreaseNodeCount 时,扩容流程失败,状态为失败 `FAILED`。', 'type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Promotions', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'type' => 'array', 'items' => ['required' => false, '$ref' => '#/components/schemas/Promotion', 'description' => ''], 'required' => false, 'description' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'OperationId' => ['title' => '操作ID。', 'description' => '操作ID。', 'type' => 'string', 'example' => 'op-13c37a77c505****'], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['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' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '扩容', 'summary' => '对目标节点组执行扩容操作。', 'changeSet' => [], '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' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\n 64bedf6d-96e3-4780-95a0-4ad376ad****\\n","errorExample":""}]', ], 'JoinResourceGroup' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'abilityTreeNodes' => ['FEATUREemapreduceGZP0FZ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '地域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ResourceType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '资源类型。', 'description' => '资源类型。取值范围:'."\n" .'- cluster:集群。', 'type' => 'string', 'required' => true, 'example' => 'cluster'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '资源组ID。', 'description' => '资源组。', 'type' => 'string', 'required' => true, 'example' => 'rg-acfmzabjyop****'], ], [ 'name' => 'ResourceId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '资源ID。', 'description' => '资源ID。', 'type' => 'string', 'required' => true, 'example' => 'c-c95f0a39d8ff****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '加入资源组', 'summary' => '将一个EMR资源加入目标资源组。一个资源只能属于一个资源组。', 'changeSet' => [], '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' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","type":"json"}]', ], 'ListApiTemplates' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '189428', 'abilityTreeNodes' => ['FEATUREemapreduceU64T1A'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'TemplateId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群模板id。', 'description' => '集群模板ID。', 'type' => 'string', 'required' => false, 'example' => 'at-41b4c6a0fc63****'], ], [ 'name' => 'TemplateIds', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '集群模板id列表。', 'description' => 'API模板ID列表。', 'type' => 'array', 'items' => ['description' => 'API模板ID。', 'type' => 'string', 'required' => false, 'example' => 'at-41b4c6a0fc63****'], 'required' => false, 'example' => '["AT-****"]', ], ], [ 'name' => 'ApiName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '接口名。', 'description' => '接口名。', 'type' => 'string', 'required' => true, 'example' => 'CreateCluster'], ], [ 'name' => 'TemplateName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群模板名字。', 'description' => '集群模板名字。', 'type' => 'string', 'required' => false, 'example' => 'DATALAKE template'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzabjyop****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'ApiTemplates' => [ 'description' => 'API模板数组。', 'type' => 'array', 'items' => ['description' => 'API模板详情。', '$ref' => '#/components/schemas/ApiTemplate'], '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'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '查看API模板列表', 'summary' => '查看API模板列表。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListApiTemplates', 'authLevel' => '', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'ListApplicationConfigs' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeNodes' => ['FEATUREemapreduce961UGJ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-e6a9d46e9267****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '下页页码。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'], ], [ 'name' => 'ApplicationName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '应用名称。', 'description' => '应用名。', 'type' => 'string', 'required' => false, 'example' => 'HDFS'], ], [ 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => false, 'example' => 'ng-d555335ced5c****'], ], [ 'name' => 'ConfigFileName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '配置文件名称。', 'description' => '配置文件名称。', 'type' => 'string', 'required' => false, 'example' => 'hdfs-site.xml'], ], [ 'name' => 'ConfigItemKey', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '配置键值。', 'description' => '配置项键。', 'type' => 'string', 'required' => false, 'example' => 'dfs.replication'], ], [ 'name' => 'ConfigItemValue', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '配置项值。', 'description' => '配置项值。', 'type' => 'string', 'required' => false, 'example' => '2'], ], [ 'name' => 'NodeId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点ID。', 'description' => '节点ID。', 'type' => 'string', 'required' => false, 'example' => 'i-bp10h9rezawz1i4o****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'ApplicationConfigs' => [ 'description' => '应用配置列表。', 'type' => 'array', 'items' => [ 'description' => '应用。', 'type' => 'object', 'properties' => [ 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名称。', 'type' => 'string', 'example' => 'HDFS'], 'ConfigFileName' => ['title' => '配置文件名称。', 'description' => '配置文件名称。', 'type' => 'string', 'example' => 'hdfs-site.xml'], 'ConfigItemKey' => ['title' => '配置项键。', 'description' => '配置项键。', 'type' => 'string', 'example' => 'dfs.replication'."\n"], 'ConfigItemValue' => ['title' => '配置项值。', 'description' => '配置项值。', 'type' => 'string', 'example' => '2'], 'CreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1628589439114'], 'UpdateTime' => ['title' => '更新时间。', 'description' => '更新时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1628589439114'], 'Modifier' => ['title' => '修改人员。', 'description' => '修改人。', 'type' => 'string', 'example' => '170906468757****'], 'Custom' => ['title' => '是否是自定义配置。', 'description' => '是否是自定义配置。', 'type' => 'boolean', 'example' => 'false'], 'InitValue' => ['title' => '初始值。', 'description' => '初始值。', 'type' => 'string', 'example' => '2'], 'Description' => ['title' => '描述。', 'description' => '描述。', 'type' => 'string', 'example' => 'dfs.replication description'], 'ConfigEffectState' => ['title' => '配置值生效状态。', 'description' => '配置值生效状态。', 'type' => 'string', 'example' => 'EFFECT'], 'NodeId' => ['title' => '节点ID。', 'description' => '节点ID。', 'type' => 'string', 'example' => 'i-bp18y0ng3qqxog4mw****'], 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'example' => 'ng-d555335ced5****'], ], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****'], 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '下页页码。', 'type' => 'string', 'example' => '1'], 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '分页总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], ], ], ], ], 'errorCodes' => [ 400 => [ ['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' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '查询应用配置', 'summary' => '查询应用配置。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListApplicationConfigs'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListApplicationConfigs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', '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":"\\n 9E3A7161-EB7B-172B-8D18-FFB06BA3****\\n \\n HADOOP\\n mapred-site\\n 162859798****\\n yarn.app.mapreduce.am.resource.mb\\n 3072\\n 1628589439114\\n 1628589439114\\n 170906468757****\\n false\\n true\\n 3072\\n yarn.app.mapreduce.am.resource.mb description\\n \\n int\\n 3072\\n 2000\\n mb\\n true\\n 1\\n \\n \\n 100\\n 1\\n 100\\n","errorExample":""}]', ], 'ListApplications' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '13072', 'abilityTreeNodes' => ['FEATUREemapreduceU3PP4U'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-e6a9d46e92675****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '下页页码。', 'type' => 'string', 'required' => false, 'example' => '0'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '分页总数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '100'], ], [ 'name' => 'ApplicationNames', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '应用名称列表。', 'description' => '应用名称列表。', 'type' => 'array', 'items' => ['description' => '组件名称。', 'type' => 'string', 'required' => false, 'example' => 'HDFS'], 'required' => false, 'example' => 'c-b933c5aac8fe****', 'maxItems' => 100, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'Applications' => [ 'description' => '应用列表。', 'type' => 'array', 'items' => [ 'description' => '应用。', 'type' => 'object', 'properties' => [ 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名称。', 'type' => 'string', 'example' => 'HDFS'], 'ApplicationVersion' => ['title' => '应用版本。', 'description' => '应用版本。', 'type' => 'string', 'deprecated' => true, 'example' => '2.8.5-20230620'], 'CommunityVersion' => ['title' => '社区版本。', 'description' => '社区版本。', 'type' => 'string', 'example' => '2.8.5'], 'ApplicationState' => ['title' => '应用操作状态', 'description' => '组件实例聚合操作状态, 取值范围:'."\n" .'- STOPPED:只要有一个组件实例为STOPPED。 '."\n" .'- RUNNING:所有组件实例状态都为RUNNING。'."\n" ."\n" .'该参数只对 DATALAKE,OLAP,DATAFLOW,DATASERVING,CUSTOM 集群生效,其他集群类型该参数返回值为空。', 'type' => 'string', 'example' => 'RUNNING'], ], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****'], 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '下页页码。', 'type' => 'string', 'example' => '2'], 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '分页总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], ], ], ], ], 'errorCodes' => [ 400 => [ ['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' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '查询应用列表', 'summary' => '查询应用列表。', 'changeSet' => [], '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' => '全部资源', 'arn' => '*'], ], ], ], ], '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":"\\n 9E3A7161-EB7B-172B-8D18-FFB06BA3****\\n 20\\n 1\\n 10\\n \\n hadoop\\n 2.8.1\\n \\n","errorExample":""}]', ], 'ListAutoScalingActivities' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '118861', 'abilityTreeNodes' => ['FEATUREemapreduce7I2Y7W'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => false, 'example' => 'ng-869471354ecd****'], ], [ 'name' => 'ScalingRuleName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '伸缩规则名称。', 'description' => '伸缩规则名称。', 'type' => 'string', 'required' => false, 'example' => 'scale-out-by-memroy'], ], [ 'name' => 'ScalingActivityStates', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '伸缩活动状态。', 'description' => '伸缩活动状态。数组元数个数N的取值范围:1~20。', 'type' => 'array', 'items' => ['description' => '伸缩活动状态。取值范围:'."\n" .'- REJECTED:拒绝。'."\n" .'- SUCCESSFUL:成功。'."\n" .'- FAILED:失败。'."\n" .'- IN_PROGRESS:进行中。', 'type' => 'string', 'required' => false, 'example' => '['."\n" .' "REJECTED",'."\n" .' "SUCCESSFUL"'."\n" .']'], 'required' => false, 'example' => '["REJECTED","SUCCESSFUL"]', 'maxItems' => 20, ], ], [ 'name' => 'ScalingActivityType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '伸缩活动类型。', 'description' => '伸缩活动类型。取值范围:'."\n" .'- SCALE_OUT:扩容。'."\n" .'- SCALE_IN:缩容。', 'type' => 'string', 'required' => false, 'example' => 'SCALE_IN'], ], [ 'name' => 'StartTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '查询伸缩活动创建时间的开始时间戳。', 'description' => '查询伸缩活动创建时间的开始时间戳。单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1639714634819'], ], [ 'name' => 'EndTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '查询伸缩活动创建时间的结束时间戳。', 'description' => '查询伸缩活动创建时间的结束时间戳。单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1639718634819'], ], [ 'name' => 'ScalingPolicyType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'example' => 'MANAGED', 'description' => ''], ], [ 'name' => 'InstanceChargeTypes', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'description' => '实例付费类型枚举值:'."\n" .'- ONDEMAND: 按量付费实例'."\n" .'- SPOT: 竞价实例'."\n" .'默认为null代表全选'."\n" .'举例: ["ONDEMAND", "SPOT"]', 'type' => 'array', 'items' => ['type' => 'string', 'example' => 'ONDEMAND'], 'example' => 'ONDEMAND', 'enum' => [], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'ScalingActivities' => [ 'description' => '伸缩活动列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ActivityId' => ['title' => '伸缩活动ID。', 'description' => '伸缩活动ID。', 'type' => 'string', 'example' => 'asa-36373b084d6b4b13aa50f4129a9e****'], 'RuleName' => ['title' => '伸缩规则名称。', 'description' => '伸缩规则名称。', 'type' => 'string', 'example' => 'scaling-out-memory'], 'ActivityType' => ['title' => '伸缩活动类型。', 'description' => '伸缩活动类型。取值范围:'."\n" .'- SCALE_OUT:扩容。'."\n" .'- SCALE_IN:缩容。', 'type' => 'string', 'example' => 'SCALE_OUT'], 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'example' => 'ng-869471354ecd****'], 'NodeGroupName' => ['title' => '节点组名称。', 'description' => '节点组名称。', 'type' => 'string', 'example' => 'task-01'], 'StartTime' => ['title' => '伸缩启动时间。', 'description' => '伸缩启动时间。单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1639714634819'], 'EndTime' => ['title' => '伸缩结束时间。', 'description' => '伸缩结束时间。单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1639715634819'], 'ActivityState' => ['title' => '伸缩活动状态。', 'description' => '伸缩活动状态。取值范围:'."\n" .'- REJECTED:拒绝。'."\n" .'- SUCCESSFUL:成功。'."\n" .'- FAILED:失败。'."\n" .'- IN_PROGRESS:进行中。', 'type' => 'string', 'example' => 'IN_PROGRESS'], 'ExpectNum' => ['title' => '本次扩缩数量。', 'description' => '本次扩缩数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'OperationId' => ['title' => '操作ID。', 'description' => '操作ID。', 'type' => 'string', 'example' => 'op-13c37a77c505****'], 'Description' => ['title' => '伸缩活动描述。', 'description' => '伸缩活动描述。', 'type' => 'string', 'example' => 'clusterId not exist'], 'PolicyType' => ['type' => 'string', 'example' => 'PRIORITY', 'description' => ''], 'InstanceTypeToNum' => [ 'type' => 'object', 'additionalProperties' => ['type' => 'integer', 'format' => 'int32', 'example' => 'ecs.r6.xlarge: 2', 'description' => ''], 'description' => '', ], 'InstanceTypeDetails' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'SpotInstanceIds' => [ 'type' => 'array', 'items' => ['type' => 'string', 'example' => 'i-bp1ifuxmr8l6pb1yxxxx'], ], 'InstanceType' => ['type' => 'string', 'example' => 'ecs.g6.xlarge'], 'OnDemandInstanceIds' => [ 'type' => 'array', 'items' => ['type' => 'string', 'example' => 'i-bp1ifuxmr8l6pb1sxxxx'], ], ], ], ], ], 'description' => '', ], ], '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'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '查询弹性伸缩活动', 'summary' => '查询弹性伸缩活动列表。', 'changeSet' => [], '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' => '全部资源', '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"}]', ], 'ListClusters' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '13343', 'abilityTreeNodes' => ['FEATUREemapreduceGZP0FZ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '地域ID。', 'description' => '区域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', 'na-south-1', ], ], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置,置空表示从头开始。', 'type' => 'string', 'required' => false, 'example' => 'eyJlY21OZXh0VG9rZW4iOiIxIiwidGFpaGFvTmV4dFRva2VuIjoiNTYiLCJ0YWloYW9OZXh0VG9rZW5JbnQiOjU2LCJlY21OZXh0VG9rZW5JbnQiOjF9'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'ClusterName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群名称。', 'description' => '集群名称。', 'type' => 'string', 'required' => false, 'example' => 'emrtest'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzabjyop****'], ], [ 'name' => 'ClusterIds', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '集群ID列表。数组元数个数N的取值范围:1~100。', 'description' => '集群ID列表。数组元素个数N的取值范围:1~100。', 'type' => 'array', 'items' => ['description' => '集群ID。', 'type' => 'string', 'required' => false, 'example' => 'c-b933c5aac8fe****'], 'required' => false, 'example' => 'rg-acfmzabjyop****', 'maxItems' => 100, ], ], [ 'name' => 'ClusterTypes', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '集群类型列表。数组元数个数N的取值范围:1~100。', 'description' => '集群类型列表。数组元素个数N的取值范围:1~100。', 'type' => 'array', 'items' => ['description' => '集群类型。取值范围:'."\n" .'- DATALAKE:新版数据湖。'."\n" .'- OLAP:数据分析。'."\n" .'- DATAFLOW:实时数据流。'."\n" .'- DATASERVING:数据服务。'."\n" .'- CUSTOM:自定义混部集群。'."\n" .'- HADOOP:旧版数据湖。', 'type' => 'string', 'required' => false, 'example' => 'DATALAKE'], 'required' => false, 'example' => '["c-b933c5aac8fe****"]', 'maxItems' => 100, ], ], [ 'name' => 'ClusterStates', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '集群状态列表。数组元数个数N的取值范围:1~100。', 'description' => '集群状态数组。数组元素个数N的取值范围:1~100。', 'type' => 'array', 'items' => ['description' => '集群状态。取值范围:'."\n" .'- STARTING:启动中。'."\n" .'- START_FAILED:启动失败。'."\n" .'- BOOTSTRAPPING:引导操作初始化。'."\n" .'- RUNNING:运行中。'."\n" .'- TERMINATING:终止中。'."\n" .'- TERMINATED:已终止。'."\n" .'- TERMINATED\\_WITH\\_ERRORS:发生异常导致终止'."\n" .'- TERMINATE_FAILED:终止失败。', 'type' => 'string', 'required' => false, 'example' => 'RUNNING'], 'required' => false, 'example' => '["HADOOP"]', 'maxItems' => 100, ], ], [ 'name' => 'PaymentTypes', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '付费类型列表。数组元数个数N的取值范围:1~100。', 'description' => '付费类型。数据元素个数N的取值范围:1~2。', 'type' => 'array', 'items' => ['description' => '付费类型。取值范围:'."\n" .'- PayAsYouGo:后付费。'."\n" .'- Subscription:预付费。', 'type' => 'string', 'required' => false, 'example' => 'PayAsYouGo'], 'required' => false, 'example' => '["ECS"]', 'maxItems' => 100, ], ], [ 'name' => 'Tags', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '标签列表。数组元数个数N的取值范围:1~20。', 'description' => '标签列表。数组元素个数N取值范围:1~20。', 'type' => 'array', 'items' => ['description' => '标签。', 'required' => false, '$ref' => '#/components/schemas/Tag'], 'required' => false, 'example' => '["PayAsYouGo"]', 'maxItems' => 20, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'Clusters' => [ 'description' => '集群列表。', 'type' => 'array', 'items' => ['description' => '集群信息。', '$ref' => '#/components/schemas/ClusterSummary'], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3896A'], 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '下页页码。', 'type' => 'string', 'example' => 'eyJlY21OZXh0VG9rZW4iOiIxIiwidGFpaGFvTmV4dFRva2VuIjoiNTYiLCJ0YWloYW9OZXh0VG9rZW5JbnQiOjU2LCJlY21OZXh0VG9rZW5JbnQiOjF9'], 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '分页总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '查询集群', 'summary' => '查询EMR集群列表。', 'changeSet' => [], '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' => '全部资源', '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\\": 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}","errorExample":""},{"type":"xml","example":"\\n \\n C-E525E04F3914****\\n emr-hadoop-cluster\\n HADOOP\\n IDEL\\n Subscription\\n 1592837465784\\n 1592837465784\\n 1592837465784\\n \\n 1000\\n 9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\n 2\\n 20\\n","errorExample":""}]', ], 'ListComponentInstances' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '13081', 'abilityTreeNodes' => ['FEATUREemapreduce2ERXZY'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '地域ID。', 'description' => '区域ID。您可以调用[ListRegions](url)查看。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'C-8CFEBCCFFEF5****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '用来标记当前开始读取的位置,置空表示从头开始。', 'type' => 'string', 'required' => false, 'example' => '“”'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '读取的最大数据记录数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'ApplicationNames', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '应用名称列表。', 'description' => '应用名列表。', 'type' => 'array', 'items' => ['description' => '应用名。', 'type' => 'string', 'required' => false, 'example' => 'KNOX'], 'required' => false, 'example' => 'c-b933c5aac8fe****', 'maxItems' => 100, ], ], [ 'name' => 'NodeIds', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '节点ID列表。', 'description' => '机器ID列表。', 'type' => 'array', 'items' => ['description' => '机器ID。', 'type' => 'string', 'required' => false, 'example' => 'i-bp17yy050pxo01m2****'], 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', 'maxItems' => 100, ], ], [ 'name' => 'NodeNames', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '节点名称列表。', 'description' => '机器名列表。', 'type' => 'array', 'items' => ['description' => '机器名。', 'type' => 'string', 'required' => false, 'example' => 'emr-worker-1'], 'required' => false, 'example' => '20', 'maxItems' => 100, ], ], [ 'name' => 'ComponentNames', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '组件名称列表。', 'description' => '组件名列表。', 'type' => 'array', 'items' => ['description' => '组件名。', 'type' => 'string', 'required' => false, 'example' => 'KNOX'], 'required' => false, 'example' => '["HDFS"]', 'maxItems' => 100, ], ], [ 'name' => 'ComponentStates', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'description' => '组件状态列表。', 'type' => 'array', 'items' => ['description' => '组件状态。', 'type' => 'string', 'required' => false, 'example' => 'INSTALLED'], 'required' => false, 'example' => 'null', 'maxItems' => 100, ], ], [ 'name' => 'ZoneId', 'in' => 'query', 'schema' => ['description' => '可用区 ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-i'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'ComponentInstances' => [ 'description' => '实例组件安装信息列表。', 'type' => 'array', 'items' => [ 'description' => '实例组件安装信息。', 'type' => 'object', 'properties' => [ 'ComponentName' => ['title' => '组件名称。', 'description' => '组件名。', 'type' => 'string', 'example' => 'KNOX'], 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名。', 'type' => 'string', 'example' => 'KNOX'], 'ComponentInstanceState' => ['title' => '组件实例操作状态。', 'description' => '组件状态,取值如下:'."\n" ."\n" .'- WAITING:等待中。'."\n" .'- INSTALLING:安装中。'."\n" .'- INSTALLED:已安装。'."\n" .'- INSTALL_FAILED:安装失败。'."\n" .'- STARTING:启动中。'."\n" .'- STARTED:已启动。'."\n" .'- START_FAILED:启动失败。'."\n" .'- STOPPING:停止中。'."\n" .'- STOPPED:已停止。'."\n" .'- STOP_FAILED:停止失败。', 'type' => 'string', 'example' => 'STARTED'], 'NodeId' => ['title' => '节点ID。', 'description' => '机器ID。', 'type' => 'string', 'example' => 'i-bp17yy050pxo01m2****'], 'NodeName' => ['title' => '节点名称。', 'description' => '机器名。', 'type' => 'string', 'example' => 'emr-worker-1'], 'CommissionState' => ['title' => 'Commission状态。', 'description' => 'Commission状态,取值如下:'."\n" ."\n" .'- COMMISSIONED:已上线。'."\n" .'- COMMISSIONING:上线中。'."\n" .'- DECOMMISSIONED:已下线。'."\n" .'- DECOMMISSIONINPROGRESS:下线进程中。'."\n" .'- DECOMMISSIONFAILED:下线失败。'."\n" .'- INSERVICE:服务中。'."\n" .'- UNKNOWN:未知状态。', 'type' => 'string', 'example' => 'INSERVICE'], 'BizState' => ['title' => '业务状态。', 'description' => '组件服务状态,取值如下:'."\n" ."\n" .'- active:主服务。'."\n" .'- standby:备用服务。', 'type' => 'string', 'example' => 'active'], 'CreateTime' => ['title' => '安装时间戳。', 'description' => '安装时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1628248947000'], 'DesiredState' => ['title' => '期待状态。', 'description' => '期望状态,取值如下:'."\n" ."\n" .'- WAITING:等待中。 '."\n" .'- INSTALLING:安装中。'."\n" .'- INSTALLED:已安装。'."\n" .'- INSTALL_FAILED:安装失败。'."\n" .'- STARTING:启动中。'."\n" .'- STARTED:已启动。'."\n" .'- START_FAILED:启动失败。'."\n" .'- STOPPING:停止中。'."\n" .'- STOPPED:已停止。'."\n" .'- STOP_FAILED:停止失败。', 'type' => 'string', 'example' => 'STARTED'], 'ZoneId' => ['description' => '可用区 ID。', 'type' => 'string', 'example' => 'cn-hangzhou-i'], ], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '7345241A-014C-17D2-A3AC-C72771188F46'], 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '用来标记当前开始读取的位置,置空表示从头开始。', 'type' => 'string', 'example' => '“”'], 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '读取的最大数据记录数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '结果总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '查询组件实例列表', 'summary' => '查询组件实例列表。', 'changeSet' => [], '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' => '全部资源', 'arn' => '*'], ], ], ], ], '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":"\\n 7345241A-014C-17D2-A3AC-C72771188F46\\n 2\\n \\n 2\\n \\n KNOX\\n KNOX\\n STARTED\\n i-bp17yy050pxo01m2****\\n emr-worker-1\\n INSERVICE\\n STARTED\\n ON\\n active\\n 1628248947000\\n \\n","errorExample":""}]', ], 'ListComponents' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '13082', 'abilityTreeNodes' => ['FEATUREemapreduce2ERXZY'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '地域ID。', 'description' => '区域ID。您可以调用[ListRegions](url)查看。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'C-8CFEBCCFFEF5****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '用来标记当前开始读取的位置,置空表示从头开始。', 'type' => 'string', 'required' => false, 'example' => '""'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '读取的最大数据记录数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'ApplicationNames', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '应用名称列表。', 'description' => '应用名列表。', 'type' => 'array', 'items' => ['description' => '应用名。', 'type' => 'string', 'required' => false, 'example' => 'KNOX'], 'required' => false, 'example' => '20', 'maxItems' => 100, ], ], [ 'name' => 'ComponentNames', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '组件名称列表。', 'description' => '组件名称列表。', 'type' => 'array', 'items' => ['description' => '组件名。', 'type' => 'string', 'required' => false, 'example' => 'KNOX'], 'required' => false, 'example' => '["HDFS"]', 'maxItems' => 100, ], ], [ 'name' => 'ComponentStates', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'description' => '组件状态列表。', 'type' => 'array', 'items' => ['description' => '组件状态。', 'type' => 'string', 'required' => false, 'example' => 'INSTALLED'], 'required' => false, 'example' => 'null', 'maxItems' => 100, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'Components' => [ 'description' => '组件信息列表。', 'type' => 'array', 'items' => [ 'description' => '组件信息。', 'type' => 'object', 'properties' => [ 'ComponentName' => ['title' => '组件名称。', 'description' => '组件名。', 'type' => 'string', 'example' => 'KNOX'], 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名。', 'type' => 'string', 'example' => 'KNOX'], 'Replica' => ['title' => '安装该组件的ecs总数。', 'description' => '安装该组件的机器总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Namespace' => ['title' => '命名空间。', 'description' => '保留字段。', 'type' => 'string', 'example' => '“”'], 'Attributes' => [ 'title' => '属性列表。', 'description' => '属性列表。', 'type' => 'array', 'items' => ['description' => '属性名。', '$ref' => '#/components/schemas/Attribute'], ], ], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FFAC608A-5DC3-174F-93C6-9F88CA6D5875'], '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'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '查询组件列表', 'summary' => '查询组件列表。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListComponents'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListComponents', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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":"\\n FFAC608A-5DC3-174F-93C6-9F88CA6D5875\\n \\n KNOX\\n 1\\n KNOX\\n \\n \\n","errorExample":""}]', ], 'ListDoctorApplications' => [ 'description' => 'list all doctor analysis apps', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ 'name' => 'AppIds', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'description' => '任务提交到YARN的IDs,用于过滤任务列表。', 'type' => 'array', 'items' => ['description' => 'YARN的任务ID。', 'type' => 'string', 'required' => false, 'example' => 'application_1643475036865_******'], 'required' => false, 'example' => 'null', ], ], [ 'name' => 'Users', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'description' => '任务提交的用户列表,用于过滤任务列表。', 'type' => 'array', 'items' => ['description' => '任务提交到YARN的用户名称。', 'type' => 'string', 'required' => false, 'example' => 'DW'], 'required' => false, 'example' => 'null', ], ], [ 'name' => 'Queues', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'description' => '任务提交到YARN的队列列表,用于过滤任务列表。', 'type' => 'array', 'items' => ['description' => '任务提交到的YARN队列名称。', 'type' => 'string', 'required' => false, 'example' => 'DW'], 'required' => false, 'example' => 'null', ], ], [ 'name' => 'Types', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'description' => '任务提交到YARN的引擎列表,用于过滤任务列表。', 'type' => 'array', 'items' => ['description' => '任务提交到YARN的引擎类型。', 'type' => 'string', 'required' => false, 'example' => 'SPARK'], 'required' => false, 'example' => 'null', ], ], [ 'name' => 'OrderType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '排序方向。取值:'."\n" ."\n" .'- ASC:升序排列。'."\n" ."\n" .'- DESC:降序排列。', 'type' => 'string', 'required' => false, 'example' => 'ASC'], ], [ 'name' => 'OrderBy', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '排序顺序。取值:'."\n" .'1. startTime:任务启动时间。'."\n" .'2. endTime:任务结束时间。'."\n" .'3. vcoreUtilization:任务CPU使用率。'."\n" .'4. memUtilization:任务内存使用率。'."\n" .'5. vcoreSeconds:任务CPU使用量。'."\n" .'6. memSeconds:任务内存使用量。'."\n" .'7. score:任务评分。', 'type' => 'string', 'required' => false, 'example' => 'score'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '任务列表详情。', 'type' => 'array', 'items' => [ 'description' => '任务详情。', 'type' => 'object', 'properties' => [ 'AppId' => ['description' => 'YARN任务ID,如果是Hive任务,则是QueryID或者SessionID。', 'type' => 'string', 'example' => 'application_1665056147236_*****'], 'Ids' => [ 'description' => '任务IDs,多个ID间使用英文逗号(,)分隔。', 'type' => 'array', 'items' => ['description' => 'YARN的任务ID。', 'type' => 'string', 'example' => 'application_1665056147236_*****'], 'example' => 'null', ], 'AppName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'data-upload'], 'User' => ['description' => '任务提交用户名。', 'type' => 'string', 'example' => 'DW'], 'StartTime' => ['description' => '任务提交时间,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1677465658275'], 'EndTime' => ['description' => '任务结束时间,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1682049088086'], 'Queue' => ['description' => '任务提交到YARN的队列。', 'type' => 'string', 'example' => 'DW'], 'Type' => ['description' => '计算引擎类型。', 'type' => 'string', 'example' => 'TEZ'], 'QuerySql' => ['description' => '查询语句,对非SQL任务,为空。', 'type' => 'string', 'example' => 'SELECT id, count(1) FROM test group by id;'."\n"], 'Metrics' => [ 'description' => '指标数据。', 'type' => 'object', 'properties' => [ 'VcoreUtilization' => [ 'description' => 'CPU使用率,同Linux Top的%CPU含义。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreUtilization'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '23.1'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of used vcore to total available cores'."\n"], ], ], 'MemUtilization' => [ 'description' => '内存使用率。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memUtilization'."\n"], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.23'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of used memory to total available memory'."\n"], ], ], 'VcoreSeconds' => [ 'description' => 'CPU使用量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreSeconds'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '11123'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'VCores * Sec'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total vcore usage over time in seconds'], ], ], 'MemSeconds' => [ 'description' => '内存使用量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memSeconds'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12312312'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB * Sec'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total memory usage over time in seconds'], ], ], ], ], 'Analysis' => [ 'description' => '任务分析。', 'type' => 'object', 'properties' => [ 'Score' => ['description' => '任务评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '23'], 'Suggestion' => ['description' => '任务运行建议。', 'type' => 'string', 'example' => '##### 当前节点:container'."\n" .'##### 存在问题:'."\n" .'最大内存利用率为7.75%,利用率较低'."\n" ."\n\n" .'尝试减小Tez Container内存,可通过hive.tez.container.size进行设置'], ], ], ], ], ], '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'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '批量获取任务分析结果', 'summary' => '通过EMR Doctor获取批量任务分析结果。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorApplications', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', '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"}]', ], 'ListDoctorComputeSummary' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ 'name' => 'ComponentTypes', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'description' => '过滤资源的类型。取值:'."\n" .'- engine:通过引擎类型来过滤结果。'."\n" .'- queue:通过队列来过滤结果。'."\n" .'- cluster:展示整个集群结果。 '."\n" ."\n" .'如果不填写,默认展示整个集群信息。目前只支持单资源类型,填写多个资源类型会默认取第一个资源类型。', 'type' => 'array', 'items' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'queue'], 'required' => false, 'example' => 'null', ], ], [ 'name' => 'OrderType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '排序方向。取值:'."\n" ."\n" .'- ASC:升序排列。'."\n" ."\n" .'- DESC:降序排列。', 'type' => 'string', 'required' => false, 'example' => 'ASC'], ], [ 'name' => 'OrderBy', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '排序顺序。取值:'."\n" .'1. vcoreSeconds:资源CPU使用总量。'."\n" .'2. memSeconds:资源内存使用总量。'."\n" .'3. vcoreUtilization:资源平均CPU使用率。同Linux Top的%CPU含义。'."\n" .'4. memUtilization:资源平均内存利用率。'."\n" .'5. vcoreSecondsDayGrowthRatio:资源CPU使用总量日环比。'."\n" .'6. memSecondsDayGrowthRatio:资源内存使用总量日环比。'."\n" .'7. readSize:资源读取文件系统总量。'."\n" .'8. writeSize:资源写入文件系统总量。'."\n" .'9. healthyJobCount:健康任务总数。'."\n" .'10. subHealthyJobCount:亚健康任务总数。'."\n" .'11. unhealthyJobCount:不健康任务总数。'."\n" .'12. needAttentionJobCount:需要关注的任务总数。'."\n" .'13. score:资源任务评分。'."\n" .'14. scoreDayGrowthRatio:资源任务评分日环比。', 'type' => 'string', 'required' => false, 'example' => 'score'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '资源列表详情。', 'type' => 'array', 'items' => [ 'description' => '资源使用详情。', 'type' => 'object', 'properties' => [ 'ComponentName' => ['description' => '根据ComponentTypes获取的资源详情,如ComponentTypes为Queue,则会对应了某个队列的名称,如DW队列。', 'type' => 'string', 'example' => 'DW'], 'Metrics' => [ 'description' => '指标数据。', 'type' => 'object', 'properties' => [ 'VcoreSeconds' => [ 'description' => '资源CPU使用总量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreSeconds'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1231412'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'VCores * Sec'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total vcore usage over time in seconds'."\n"], ], ], 'MemSeconds' => [ 'description' => '资源内存使用总量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memSeconds'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12312312'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB * Sec'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total memory usage over time in seconds'], ], ], 'VcoreUtilization' => [ 'description' => '资源平均CPU使用率。同Linux Top的%CPU含义。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreUtilization'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '32.1'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of used vcore to total available cores'."\n"], ], ], 'MemUtilization' => [ 'description' => '资源平均内存利用率。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memUtilization'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.82'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of used memory to total available memory'."\n"], ], ], 'VcoreSecondsDayGrowthRatio' => [ 'description' => '资源CPU使用总量日环比。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreSecondsDayGrowthRatio'."\n"], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.22'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Growth ratio of virtual core usage in seconds per day'."\n"], ], ], 'MemSecondsDayGrowthRatio' => [ 'description' => '资源内存使用总量日环比。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memSecondsDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.36'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Growth ratio of memory usage in seconds per day'."\n"], ], ], 'ReadSize' => [ 'description' => '资源读取文件系统总量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'readSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '504888659968'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total cumulative size of data read in megabytes (MB)'."\n"], ], ], 'WriteSize' => [ 'description' => '资源写入文件系统总量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'writeSize'."\n"], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '6294093393920'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total cumulative size of data written in megabytes (MB)'], ], ], ], ], 'Analysis' => [ 'description' => '资源分析。', 'type' => 'object', 'properties' => [ 'HealthyJobCount' => ['description' => '健康任务总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], 'SubHealthyJobCount' => ['description' => '亚健康任务总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '13'], 'UnhealthyJobCount' => ['description' => '不健康任务总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], 'NeedAttentionJobCount' => ['description' => '需要关注的任务总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '23'], 'Score' => ['description' => '资源任务评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '56'], 'ScoreDayGrowthRatio' => ['description' => '资源任务评分日环比。', 'type' => 'number', 'format' => 'float', 'example' => '0.03'], ], ], ], ], ], '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'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '批量获取集群资源使用结果', 'summary' => '通过EMR Doctor根据过滤条件批量获取集群资源使用情况。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorComputeSummary', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', '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"}]', ], 'ListDoctorHBaseRegionServers' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '日期。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ 'name' => 'RegionServerHosts', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'description' => 'RegionServer的Host列表。', 'type' => 'array', 'items' => ['description' => 'RegionServer的Host。', 'type' => 'string', 'required' => false, 'example' => 'emr-worker-4.cluster-20****'], 'required' => false, 'example' => 'null', ], ], [ 'name' => 'OrderType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '排序方向。取值:'."\n" ."\n" .'- ASC:升序排列。'."\n" ."\n" .'- DESC:降序排列。', 'type' => 'string', 'required' => false, 'example' => 'ASC'], ], [ 'name' => 'OrderBy', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '排序字段。取值:'."\n" ."\n" .'- regionCount:region数量', 'type' => 'string', 'required' => false, 'example' => 'regionCount'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '返回数据。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'RegionServerHost' => ['description' => 'RegionServer的Host。', 'type' => 'string', 'example' => 'emr-worker-4.cluster-20****'], 'Metrics' => [ 'description' => '指标信息。', 'type' => 'object', 'properties' => [ 'RegionCount' => [ 'description' => 'Region的数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '81'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of regions count'], ], ], 'TotalReadRequest' => [ 'description' => '累积的读请求数量', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalReadRequest'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '170500567'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total number of read requests'], ], ], 'TotalWriteRequest' => [ 'description' => '累积的写请求数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalWriteRequest'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '30109837'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total number of write requests'], ], ], 'TotalRequest' => [ 'description' => '累积的总请求数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalRequest'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '89499511'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total number of requests'], ], ], 'DailyReadRequest' => [ 'description' => '单日的读请求数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyReadRequest'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '42571'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of read requests per day'], ], ], 'DailyWriteRequest' => [ 'description' => '单日的写请求数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyWriteRequest'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '23124'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of write requests per day'], ], ], 'AvgGc' => [ 'description' => '平均GC时间。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'avgGc'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '37.9'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The efficiency of garbage collection in the system'], ], ], 'CacheRatio' => [ 'description' => '缓存比例。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'cacheRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '96.7'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of the BlockCache memory size'], ], ], 'DailyReadRequestDayGrowthRatio' => [ 'description' => '单日读请求数量的增长率。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyReadRequestDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The growth rate of daily read request quantity.'], ], ], 'DailyWriteRequestDayGrowthRatio' => [ 'description' => '单日写请求数量的增长率。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyWriteRequestDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The growth rate of daily write request quantity.'], ], ], ], ], ], 'description' => '', ], ], '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'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '批量获取 HBase ReagionServer 信息', 'summary' => '批量获取 HBase ReagionServer 信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorHBaseRegionServers', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'ListDoctorHBaseTables' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '日期。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ 'name' => 'TableNames', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'description' => '表名称列表。', 'type' => 'array', 'items' => ['description' => '表名称。', 'type' => 'string', 'required' => false, 'example' => 'namespace1:tb_item'."\n"], 'required' => false, 'example' => 'null', ], ], [ 'name' => 'OrderType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '排序方向。取值:'."\n" ."\n" .'- ASC:升序排列。'."\n" ."\n" .'- DESC:降序排列。', 'type' => 'string', 'required' => false, 'example' => 'ASC'], ], [ 'name' => 'OrderBy', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '排序字段。取值:'."\n" ."\n" .'- tableSize:表大小', 'type' => 'string', 'required' => false, 'example' => 'tableSize'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '返回数据。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TableName' => ['description' => '表名。', 'type' => 'string', 'example' => 'tb_item'], 'Metrics' => [ 'description' => '指标信息。', 'type' => 'object', 'properties' => [ 'RegionServerCount' => [ 'description' => '表在几个region server上。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionServerCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of region servers count'], ], ], 'RegionCount' => [ 'description' => '表在几个region上。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of regions count'], ], ], 'TableSize' => [ 'description' => '表大小。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tableSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '678'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the table'], ], ], 'StoreFileCount' => [ 'description' => 'store file个数。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'storeFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '36'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of store files'], ], ], 'DailyReadRequest' => [ 'description' => '表单日读取总量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyReadRequest'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of read requests per day'], ], ], 'DailyWriteRequest' => [ 'description' => '表单日写总量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyWriteRequest'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of write requests per day'], ], ], 'RegionBalance' => [ 'description' => '均衡度。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionBalance'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The ability to evenly distribute Regions on different RegionServer nodes'], ], ], 'RequestBalance' => [ 'description' => '请求均衡度。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'requestBalance'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.9'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The balance of distributing requests'], ], ], 'HotDataSize' => [ 'description' => '热数据大小。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the hot data size'], ], ], 'WarmDataSize' => [ 'description' => '温数据大小。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the warm data size'], ], ], 'ColdDataSize' => [ 'description' => '冷数据大小。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the cold data size'], ], ], 'FreezeDataSize' => [ 'description' => '极冷数据大小。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the freeze data size'], ], ], 'WarmConfigDay' => [ 'description' => '温数据访问天数配置。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmConfigDay'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'day'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Warm config day'], ], ], 'ColdConfigDay' => [ 'description' => '冷数据访问天数配置。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldConfigDay'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'day'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Cold config day'], ], ], 'FreezeConfigDay' => [ 'description' => '极冷数据访问天数配置。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeConfigDay'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'day'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Freeze config day'], ], ], 'Locality' => [ 'description' => '本地化率。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'locality'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The locality of data'], ], ], 'ColdAccessDay' => [ 'description' => '表多少天没被访问。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldAccessDay'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'day'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Cold access day'], ], ], 'RegionCountDayGrowthRatio' => [ 'description' => 'region个数日增量比例。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of region count'], ], ], 'TableSizeDayGrowthRatio' => [ 'description' => '表大小日增量比例。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tableSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '\'"'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of table size'], ], ], 'StoreFileCountDayGrowthRatio' => [ 'description' => 'store file个数日增量比例。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'storeFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.7'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of store file count'], ], ], 'DailyReadRequestDayGrowthRatio' => [ 'description' => '单日读请求日增量比例。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyReadRequestDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.8'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of read requests'], ], ], 'DailyWriteRequestDayGrowthRatio' => [ 'description' => '单日写请求日增量比例。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyWriteRequestDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.8'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The balance of distributing requests'], ], ], 'ReadRequestBalance' => [ 'description' => '读均衡度。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'readRequestBalance'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The balance of distributing read requests'], ], ], 'WriteRequestBalance' => [ 'description' => '写均衡度。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'writeRequestBalance'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述', 'type' => 'string', 'example' => 'The balance of distributing write requests'], ], ], ], ], 'Analysis' => [ 'description' => '诊断结果。', 'type' => 'object', 'properties' => [ 'TableScore' => ['description' => '表打分。', 'type' => 'integer', 'format' => 'int32', 'example' => '67'], 'RequestUnbalanceSuggestion' => ['description' => '读写不均衡描述。', 'type' => 'string', 'example' => 'ead request unbalance is

表分区总数量为15,分区平均读请求数量为764361,以下分区存在读请求热点访问:

 

'], 'RequestHotspotRegionList' => [ 'description' => '读写热点region列表。', 'type' => 'array', 'items' => ['description' => '读写热点region。', 'type' => 'string', 'example' => '5f019e8cf7c16be9768634cb99ccbe05'], 'example' => 'null', ], 'ReadRequestUnbalanceSuggestion' => ['description' => '读不均衡描述。', 'type' => 'string', 'example' => 'ead request unbalance is

表分区总数量为15,分区平均读请求数量为764361,以下分区存在读请求热点访问:

 

'], 'ReadRequestHotspotRegionList' => [ 'description' => '读热点hotspot regions列表。', 'type' => 'array', 'items' => ['description' => '读热点hotspot regions。', 'type' => 'string', 'example' => '5f019e8cf7c16be9768634cb99ccbe05'], 'example' => 'null', ], 'WriteRequestUnbalanceSuggestion' => ['description' => '写不均衡度描述。', 'type' => 'string', 'example' => 'write request unbalance is

表分区总数量为15,分区平均写请求数量为786142,以下分区存在写请求热点访问:

 

'], 'WriteRequestHotspotRegionList' => [ 'description' => '写热点hotspot regions列表。', 'type' => 'array', 'items' => ['description' => '写热点hotspot regions。', 'type' => 'string', 'example' => '5f019e8cf7c16be9768634cb99ccbe05'], 'example' => 'null', ], ], ], ], 'description' => '', ], ], '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'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '批量获取 HBase Table 信息', 'summary' => '批量获取 HBase Table 信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorHBaseTables', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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

表分区总数量为15,分区平均读请求数量为764361,以下分区存在读请求热点访问:

 

\\",\\n \\"RequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"ReadRequestUnbalanceSuggestion\\": \\"ead request unbalance is

表分区总数量为15,分区平均读请求数量为764361,以下分区存在读请求热点访问:

 

\\",\\n \\"ReadRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"WriteRequestUnbalanceSuggestion\\": \\"write request unbalance is

表分区总数量为15,分区平均写请求数量为786142,以下分区存在写请求热点访问:

 

\\",\\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"}]', ], 'ListDoctorHDFSDirectories' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'."\n"], ], [ 'name' => 'DirPath', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '目录名称。目录不超过5级。如果不填写,就是全量目录分析。', 'type' => 'string', 'required' => false, 'example' => '/tmp/test'."\n"], ], [ 'name' => 'OrderType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '排序方向。取值:'."\n" ."\n" .'- ASC:升序排列'."\n" ."\n" .'- DESC:降序排列', 'type' => 'string', 'required' => false, 'example' => 'ASC'], ], [ 'name' => 'OrderBy', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '排序依据。取值:'."\n" ."\n" .'- totalFileCount: 总文件个数。'."\n" .'- largeFileCount: 大文件个数。大文件指的是1 GB以上大小的文件。'."\n" .'- mediumFileCount: 中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" .' - smallFileCount: 小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" .' - tinyFileCount: 极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" .' - emptyFileCount: 空文件个数。空文件指的是0 MB大小的文件。'."\n" .' - hotDataSize: 热数据的数据量大小。热数据指的是7日内有访问的数据。'."\n" .' - warmDataSize: 温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。'."\n" .' - coldDataSize: 冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。'."\n" .' - freezeDataSize: 极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。'."\n" .' - totalDataSize: 总数据量大小。'."\n" .' - totalFileDayGrowthCount: 总文件个数日增量。'."\n" .' - largeFileDayGrowthCount: 大文件个数日增量。大文件指的是1 GB以上大小的文件。'."\n" .' - mediumFileDayGrowthCount: 中文件个数增量。比中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" .' - smallFileDayGrowthCount: 小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" .' - tinyFileDayGrowthCount: 极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" .' - emptyFileDayGrowthCount: 空文件个数日增量。空文件指的是0 MB大小的文件。'."\n" .' - hotDataDayGrowthSize: 热数据的数据量日增量大小。热数据指的是7日内有访问的数据。'."\n" .' - warmDataDayGrowthSize: 温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。'."\n" .' - coldDataDayGrowthSize: 冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。'."\n" .' - freezeDataDayGrowthSize: 极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。'."\n" .' - totalDataDayGrowthSize: 全部数据的数据量日增量大小。'."\n" .' - totalFileCountDayGrowthRatio: 总文件个数日环比。'."\n" .' - largeFileCountDayGrowthRatio: 大文件个数日环比。大文件指的是1 GB以上大小的文件。'."\n" .' - mediumFileCountDayGrowthRatio: 中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" .' - smallFileCountDayGrowthRatio: 小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" .' - tinyFileCountDayGrowthRatio: 极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" .' - emptyFileCountDayGrowthRatio: 空文件个数日环比。空文件指的是0 MB大小的文件。', 'type' => 'string', 'required' => false, 'example' => 'smallFileCount'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => 'HDFS批量目录分析数据。', 'type' => 'array', 'items' => [ 'description' => 'HDFS目录分析数据。', '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' => '大文件个数。大文件指的是1 GB以上大小的文件。', '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' => '中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。', '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' => '小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。', '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' => '极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。', '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' => '空文件个数。空文件指的是0 MB大小的文件。', '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' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', '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' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', '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' => '冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', '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' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', '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' => '大文件个数日增量。大文件指的是1 GB以上大小的文件。', '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' => '中文件个数增量。比中文件指的是128 MB以上,1 GB以下大小的文件。', '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' => '小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。', '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' => '极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。', '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' => '空文件个数日增量。空文件指的是0 MB大小的文件。', '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' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', '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' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', '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' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', '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' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', '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' => '大文件个数日环比。大文件指的是1 GB以上大小的文件。', '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' => '中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。', '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' => '小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。', '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' => '极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。', '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' => '空文件个数日环比。空文件指的是0 MB大小的文件。', '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' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', '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' => '温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', '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' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', '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' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', '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'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '批量获取HDFS目录分析结果', 'summary' => '通过EMR Doctor批量获取特定目录分析结果,目录不超过5级。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorHDFSDirectories', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', '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"}]', ], 'ListDoctorHDFSUGI' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ 'name' => 'Type', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '选择过滤类型。取值:'."\n" ."\n" .'- user:选取用户过滤。'."\n" .'- group:选取组过滤。', 'type' => 'string', 'required' => true, 'example' => 'group'], ], [ 'name' => 'OrderType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '排序方向。取值:'."\n" ."\n" .'- ASC:升序排列'."\n" ."\n" .'- DESC:降序排列', 'type' => 'string', 'required' => false, 'example' => 'ASC'], ], [ 'name' => 'OrderBy', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '排序依据。取值:'."\n" ."\n" .'- totalFileCount:总文件个数。'."\n" .'- totalDataSize:总数据量大小。'."\n" .'- totalDirCount:总目录个数。', 'type' => 'string', 'required' => false, 'example' => 'totalFileCount'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '批量HDFS分析数据。', 'type' => 'array', 'items' => [ 'description' => 'HDFS分析数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '根据Type类型返回的属主或者属组实际名称。', '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' => '34'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of total files'."\n"], ], ], 'TotalDataSize' => [ 'description' => '总数据量大小。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '40440503'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'], ], ], 'TotalDirCount' => [ 'description' => '总目录个数。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDirCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of total dirs'."\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'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '批量获取属主或属组HDFS分析结果', 'summary' => '通过EMR Doctor批量获取属主或者属组的HDFS分析结果。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorHDFSUGI', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'ListDoctorHiveDatabases' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '日期。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ 'name' => 'DatabaseNames', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'description' => '数据库名列表。', 'type' => 'array', 'items' => ['description' => '数据库名。', 'type' => 'string', 'required' => false, 'example' => 'db1'], 'required' => false, 'example' => 'null', ], ], [ 'name' => 'OrderType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '排序方向。取值:'."\n" ."\n" .'- ASC:升序排列'."\n" ."\n" .'- DESC:降序排列', 'type' => 'string', 'required' => false, 'example' => 'ASC'], ], [ 'name' => 'OrderBy', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '排序依据。取值:'."\n" ."\n" .'- tableCount:表数量。', 'type' => 'string', 'required' => false, 'example' => 'tableCount'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => 'Hive批量库分析数据。', 'type' => 'array', 'items' => [ 'description' => 'Hive库分析数据。', 'type' => 'object', 'properties' => [ 'DatabaseName' => ['description' => '库名称', 'type' => 'string', 'example' => 'db1'], 'Formats' => [ 'description' => '存储格式信息。', 'type' => 'array', 'items' => [ 'description' => '存储格式信息。', 'type' => 'object', 'properties' => [ 'FormatName' => ['description' => '存储格式名称。', 'type' => 'string', 'example' => 'TextInputFormat'], 'FormatSize' => ['description' => '格式数据量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'FormatSizeUnit' => ['description' => '格式数据量单位。', 'type' => 'string', 'example' => 'MB'], 'FormatRatio' => ['description' => '格式占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'FormatDayGrowthSize' => ['description' => '格式数据量日增量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'FormatSizeDayGrowthRatio' => ['description' => '格式数据量日环比。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], ], ], ], 'Metrics' => [ 'description' => '指标信息。', 'type' => 'object', 'properties' => [ 'TableCount' => [ 'description' => '表数量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'TableCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tables'."\n"], ], ], 'PartitionNum' => [ 'description' => '分区数。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'ppartitionNum'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of partitions'."\n"], ], ], 'LargeFileCount' => [ 'description' => '大文件个数。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of large files'."\n"], ], ], 'MediumFileCount' => [ 'description' => '中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of medium files'."\n"], ], ], 'SmallFileCount' => [ 'description' => '小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of small files'."\n"], ], ], 'TinyFileCount' => [ 'description' => '极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tiny files'."\n"], ], ], 'EmptyFileCount' => [ 'description' => '空文件个数。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of empty files'."\n"], ], ], 'TotalFileCount' => [ 'description' => '总文件个数。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of total files'."\n"], ], ], 'LargeFileRatio' => [ 'description' => '大文件个数占比。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of large files'."\n"], ], ], 'MediumFileRatio' => [ 'description' => '中文件个数占比。中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of medium files'."\n"], ], ], 'SmallFileRatio' => [ 'description' => '小文件个数占比。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of small files'."\n"], ], ], 'TinyFileRatio' => [ 'description' => '极小文件个数占比。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of tiny files'."\n"], ], ], 'EmptyFileRatio' => [ 'description' => '空文件个数占比。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of empty files'."\n"], ], ], 'HotDataSize' => [ 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of hot files'."\n"], ], ], 'WarmDataSize' => [ 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of warm files'."\n"], ], ], 'ColdDataSize' => [ 'description' => '冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of cold files'."\n"], ], ], 'FreezeDataSize' => [ 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSize '], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of freeze files'."\n"], ], ], 'TotalDataSize' => [ 'description' => '总数据量大小。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'."\n"], ], ], 'HotDataRatio' => [ 'description' => '热数据的数据量大小占比。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Hot data ratio'."\n"], ], ], 'WarmDataRatio' => [ 'description' => '温数据的数据量大小占比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of warm data'."\n"], ], ], 'ColdDataRatio' => [ 'description' => '冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Cold data ratio'."\n"], ], ], 'FreezeDataRatio' => [ 'description' => '极冷数据的数据量大小占比。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of freeze data'."\n"], ], ], 'TotalFileDayGrowthCount' => [ 'description' => '总文件个数日增量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of total files'."\n"], ], ], 'LargeFileDayGrowthCount' => [ 'description' => '大文件个数日增量。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of large files'."\n"], ], ], 'MediumFileDayGrowthCount' => [ 'description' => '中文件个数日增量。中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of medium files'."\n"], ], ], 'SmallFileDayGrowthCount' => [ 'description' => '小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileDayGrowthCount '], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of small files'."\n"], ], ], 'TinyFileDayGrowthCount' => [ 'description' => '极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of tiny files'."\n"], ], ], 'EmptyFileDayGrowthCount' => [ 'description' => '空文件个数日增量。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of empty files'."\n"], ], ], 'HotDataDayGrowthSize' => [ 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataDayGrowthSize '], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of hot data'."\n"], ], ], 'WarmDataDayGrowthSize' => [ 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataDayGrowthSize '], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of warm data'."\n"], ], ], 'ColdDataDayGrowthSize' => [ 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of cold data'."\n"], ], ], 'FreezeDataDayGrowthSize' => [ 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataDayGrowthSize '], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], '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' => '1000'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of total data'."\n"], ], ], 'TotalFileCountDayGrowthRatio' => [ 'description' => '总文件个数日环比。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total files'."\n"], ], ], 'LargeFileCountDayGrowthRatio' => [ 'description' => '大文件个数日环比。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of large files'."\n"], ], ], 'MediumFileCountDayGrowthRatio' => [ 'description' => '中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio '], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of medium files'."\n"], ], ], 'SmallFileCountDayGrowthRatio' => [ 'description' => '小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio '], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of small files'."\n"], ], ], 'TinyFileCountDayGrowthRatio' => [ 'description' => '极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio '], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of tiny files'."\n"], ], ], 'EmptyFileCountDayGrowthRatio' => [ 'description' => '空文件个数日环比。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio '], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of empty files'."\n"], ], ], 'HotDataSizeDayGrowthRatio' => [ 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio '], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of hot data size'."\n"], ], ], 'WarmDataSizeDayGrowthRatio' => [ 'description' => '温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'WarmDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of warm data size'."\n"], ], ], 'ColdDataSizeDayGrowthRatio' => [ 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio '], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of cold data size'."\n"], ], ], 'FreezeDataSizeDayGrowthRatio' => [ 'description' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio '], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], '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.5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total data size'."\n"], ], ], ], ], 'Analysis' => [ 'description' => '分析结果。', 'type' => 'object', 'properties' => [ 'HiveFrequencyScore' => ['description' => 'Hive 库访问频率得分。', 'type' => 'integer', 'format' => 'int32', 'example' => '85'], 'HiveDistributionScore' => ['description' => 'Hive 库文件大小评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '85'], 'HiveFormatScore' => ['description' => 'Hive 库格式评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '85'], 'HiveScore' => ['description' => 'Hive 库综合评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '85'], ], ], ], ], ], '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'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '批量获取 Hive 库信息', 'summary' => '批量获取 Hive 库维度分析结果。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorHiveDatabases', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', '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"}]', ], 'ListDoctorHiveTables' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ 'name' => 'TableNames', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'description' => '表名称队列,用于过滤结果。', 'type' => 'array', 'items' => ['description' => '表名称,表名称遵循Hive通用写法,以{库名称.表名称}唯一确定。', 'type' => 'string', 'required' => false, 'example' => 'dw.dwd_creta_service_order_long_renew_long_da'."\n"], 'required' => false, 'example' => 'null', ], ], [ 'name' => 'OrderType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '排序方向。取值:'."\n" ."\n" .'- ASC:升序排列'."\n" ."\n" .'- DESC:降序排列', 'type' => 'string', 'required' => false, 'example' => 'ASC'], ], [ 'name' => 'OrderBy', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '排序依据。取值:'."\n" ."\n" .'- partitionNum: 分区数。'."\n" .'- totalFileCount: 总文件个数。'."\n" .'- largeFileCount: 大文件个数。大文件指的是1 GB以上大小的文件。'."\n" .'- mediumFileCount: 中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" .'- smallFileCount: 小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" .'- tinyFileCount: 极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" .'- emptyFileCount: 空文件个数。空文件指的是0 MB大小的文件。'."\n" .'- largeFileRatio: 大文件个数占比。大文件指的是1 GB以上大小的文件。'."\n" .'- mediumFileRatio: 中文件个数占比。中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" .'- smallFileRatio: 小文件个数占比。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" .'- tinyFileRatio: 极小文件个数占比。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" .'- emptyFileRatio: 空文件个数占比。空文件指的是0 MB大小的文件。'."\n" .'- hotDataSize: 热数据的数据量大小。热数据指的是7日内有访问的数据。'."\n" .'- warmDataSize: 温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。'."\n" .'- coldDataSize: 冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。'."\n" .'- freezeDataSize: 极冷数据数的据量大小。极冷数据指的是90日以内都没有访问的数据。'."\n" .'- totalDataSize: 总数据量大小。'."\n" .'- hotDataRatio: 热数据的数据量大小占比。热数据指的是7日内有访问的数据。'."\n" .'- warmDataRatio: 温数据的数据量大小占比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。'."\n" .'- coldDataRatio: 冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。'."\n" .'- freezeDataRatio: 极冷数据的数据量大小占比。极冷数据指的是90日以内都没有访问的数据。'."\n" .'- totalFileDayGrowthCount: 总文件个数日增量。'."\n" .'- largeFileDayGrowthCount: 大文件个数日增量。大文件指的是1 GB以上大小的文件。'."\n" .'- mediumFileDayGrowthCount: 中文件个数日增量。中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" .'- smallFileDayGrowthCount: 小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" .'- tinyFileDayGrowthCount: 极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" .'- emptyFileDayGrowthCount: 空文件个数日增量。空文件指的是0 MB大小的文件。'."\n" .'- hotDataDayGrowthSize: 热数据的数据量日增量大小。热数据指的是7日内有访问的数据。'."\n" .'- warmDataDayGrowthSize: 温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。'."\n" .'- coldDataDayGrowthSize: 冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。'."\n" .'- freezeDataDayGrowthSize: 极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。'."\n" .'- totalDataDayGrowthSize: 全部数据的数据量日增量大小。'."\n" .'- totalFileCountDayGrowthRatio: 总文件个数日环比。'."\n" .'- largeFileCountDayGrowthRatio: 大文件个数日环比。大文件指的是1 GB以上大小的文件。'."\n" .'- mediumFileCountDayGrowthRatio: 中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" .'- smallFileCountDayGrowthRatio: 小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" .'- tinyFileCountDayGrowthRatio: 极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" .'- emptyFileCountDayGrowthRatio: 空文件个数日环比。空文件指的是0 MB大小的文件。'."\n" .'- hotDataSizeDayGrowthRatio: 热数据的数据量大小日环比。热数据指的是7日内有访问的数据。'."\n" .'- warmDataSizeDayGrowthRatio: 温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。'."\n" .'- coldDataSizeDayGrowthRatio: 冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。'."\n" .'- freezeDataSizeDayGrowthRatio: 极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。'."\n" .'- totalDataSizeDayGrowthRatio: 总数据量大小日环比。', 'type' => 'string', 'required' => false, 'example' => 'totalFileCount'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => 'Hive批量表分析数据。', 'type' => 'array', 'items' => [ 'description' => 'Hive表分析数据。', 'type' => 'object', 'properties' => [ 'TableName' => ['description' => '表名称,表名称遵循Hive通用写法,以{库名称.表名称}唯一确定。', 'type' => 'string', 'example' => 'dw.dwd_creta_service_order_long_renew_long_da'."\n"], 'Owner' => ['description' => '属主。', 'type' => 'string', 'example' => 'DW'], 'Formats' => [ 'description' => '表格式数据。', 'type' => 'array', 'items' => [ 'description' => '表格式信息。', 'type' => 'object', 'properties' => [ 'FormatName' => ['description' => '存储格式名称。', 'type' => 'string', 'example' => 'TextInputFormat'], 'FormatSize' => ['description' => '格式数据量。', 'type' => 'integer', 'format' => 'int64', 'example' => '506930200'], 'FormatSizeUnit' => ['description' => '格式数据量单位。', 'type' => 'string', 'example' => 'MB'."\n"], 'FormatRatio' => ['description' => '格式占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.23'], 'FormatDayGrowthSize' => ['description' => '格式数据量日增量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1232124'], 'FormatSizeDayGrowthRatio' => ['description' => '格式数据量日环比。', 'type' => 'number', 'format' => 'float', 'example' => '0.04'."\n"], ], ], ], 'Metrics' => [ 'description' => '指标信息。', 'type' => 'object', 'properties' => [ 'PartitionNum' => [ 'description' => '分区数。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'partitionNum'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '331'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'number of partitions'."\n"], ], ], 'LargeFileCount' => [ 'description' => '大文件个数。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '132'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of large files'."\n"], ], ], 'MediumFileCount' => [ 'description' => '中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of medium files'], ], ], 'SmallFileCount' => [ 'description' => '小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '18'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '"“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of small files'."\n"], ], ], 'TinyFileCount' => [ 'description' => '极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '451'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tiny files'."\n"], ], ], 'EmptyFileCount' => [ 'description' => '空文件个数。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '3123'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of empty files'."\n"], ], ], 'TotalFileCount' => [ 'description' => '总文件个数。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of total files'."\n"], ], ], 'LargeFileRatio' => [ 'description' => '大文件个数占比。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.02'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of large files'."\n"], ], ], 'MediumFileRatio' => [ 'description' => '中文件个数占比。中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.8'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of medium files'."\n"], ], ], 'SmallFileRatio' => [ 'description' => '小文件个数占比。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.04'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of small files'."\n"], ], ], 'TinyFileRatio' => [ 'description' => '极小文件个数占比。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.96'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of tiny files'."\n"], ], ], 'EmptyFileRatio' => [ 'description' => '空文件个数占比。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of empty files'."\n"], ], ], 'HotDataSize' => [ 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '203431'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the hot data size'."\n"], ], ], 'WarmDataSize' => [ 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '14981'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the warm data size'."\n"], ], ], 'ColdDataSize' => [ 'description' => '冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '217715'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the cold data size'."\n"], ], ], 'FreezeDataSize' => [ 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '33229309'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the freeze data size'], ], ], 'TotalDataSize' => [ 'description' => '总数据量大小。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '33800296'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'."\n"], ], ], 'HotDataRatio' => [ 'description' => '热数据的数据量大小占比。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Hot data ratio'."\n"], ], ], 'WarmDataRatio' => [ 'description' => '温数据的数据量大小占比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.1'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of warm data'."\n"], ], ], 'ColdDataRatio' => [ 'description' => '冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => ' '."\n" .'""'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Cold data ratio'."\n"], ], ], 'FreezeDataRatio' => [ 'description' => '极冷数据的数据量大小占比。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.98'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of freeze data'."\n"], ], ], 'TotalFileDayGrowthCount' => [ 'description' => '总文件个数日增量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of total files'."\n"], ], ], 'LargeFileDayGrowthCount' => [ 'description' => '大文件个数日增量。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '40'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of large files'."\n"], ], ], 'MediumFileDayGrowthCount' => [ 'description' => '中文件个数日增量。中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of medium files'."\n"], ], ], 'SmallFileDayGrowthCount' => [ 'description' => '小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '18'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of small files'."\n"], ], ], 'TinyFileDayGrowthCount' => [ 'description' => '极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '482'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of tiny files'."\n"], ], ], 'EmptyFileDayGrowthCount' => [ 'description' => '空文件个数日增量。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileDayGrowthCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-20'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of empty files'."\n"], ], ], 'HotDataDayGrowthSize' => [ 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '203431'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of hot data'."\n"], ], ], 'WarmDataDayGrowthSize' => [ 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '149841'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of warm data'."\n"], ], ], 'ColdDataDayGrowthSize' => [ 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '217715'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of cold data'."\n"], ], ], 'FreezeDataDayGrowthSize' => [ 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataDayGrowthSize'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '33229309'], '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' => '33800296'], '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'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total files'."\n"], ], ], 'LargeFileCountDayGrowthRatio' => [ 'description' => '大文件个数日环比。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of large files'."\n"], ], ], 'MediumFileCountDayGrowthRatio' => [ 'description' => '中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of medium files'."\n"], ], ], 'SmallFileCountDayGrowthRatio' => [ 'description' => '小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of small files'."\n"], ], ], 'TinyFileCountDayGrowthRatio' => [ 'description' => '极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.04'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of tiny files'], ], ], 'EmptyFileCountDayGrowthRatio' => [ 'description' => '空文件个数日环比。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of empty files'."\n"], ], ], 'HotDataSizeDayGrowthRatio' => [ 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of hot data size'."\n"], ], ], 'WarmDataSizeDayGrowthRatio' => [ 'description' => '温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of warm data size'."\n"], ], ], 'ColdDataSizeDayGrowthRatio' => [ 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of cold data size'."\n"], ], ], 'FreezeDataSizeDayGrowthRatio' => [ 'description' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio'], 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], '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.01'."\n"], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total data size'."\n"], ], ], ], ], 'Analysis' => [ 'description' => '分析结果。', 'type' => 'object', 'properties' => [ 'HiveFrequencyScore' => ['description' => 'Hive表访问频率得分。', 'type' => 'integer', 'format' => 'int32', 'example' => '70'."\n"], 'HiveDistributionScore' => ['description' => 'Hive表文件大小评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'."\n"], 'HiveFormatScore' => ['description' => 'Hive表格式评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'."\n"], 'HiveScore' => ['description' => 'Hive表综合评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'."\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'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '批量获取Hive表分析结果', 'summary' => '通过EMR Doctor批量获取Hive表分析结果。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorHiveTables', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'ListDoctorJobs' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'StartRange', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '开始range', 'description' => '开始时间范围,过滤开始时间在一个时间范围内的任务。', 'type' => 'object', 'properties' => [ 'StartTime' => ['description' => '任务提交时间起始范围,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1683340662016'], 'EndTime' => ['description' => '任务提交时间结束范围,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1683340662020'], ], 'required' => false, ], ], [ 'name' => 'EndRange', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '结束range', 'description' => '结束时间范围,过滤出结束时间在一个时间范围内的任务。', 'type' => 'object', 'properties' => [ 'StartTime' => ['description' => '任务结束时间起始范围,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1679135111960'], 'EndTime' => ['description' => '任务结束时间结束范围,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1666865137099'], ], 'required' => false, ], ], [ 'name' => 'AppIds', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => 'app ID数组', 'description' => '任务提交到YARN的IDs,用于过滤任务列表。', 'type' => 'array', 'items' => ['description' => 'YARN的任务ID。', 'type' => 'string', 'required' => false, 'example' => 'application_1643475036865_******'."\n"], 'required' => false, 'example' => 'null', ], ], [ 'name' => 'Users', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'description' => '任务提交的用户列表,用于过滤任务列表。', 'type' => 'array', 'items' => ['description' => '任务提交到YARN的用户名称。', 'type' => 'string', 'required' => false, 'example' => 'DW'."\n"], 'required' => false, 'example' => 'null', ], ], [ 'name' => 'Queues', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'description' => '任务提交到YARN的队列列表,用于过滤任务列表。', 'type' => 'array', 'items' => ['description' => '任务提交到的YARN队列名称。', 'type' => 'string', 'required' => false, 'example' => 'DW'."\n"], 'required' => false, 'example' => 'null', ], ], [ 'name' => 'Types', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'description' => '任务提交到YARN的引擎列表,用于过滤任务列表。', 'type' => 'array', 'items' => ['description' => '任务提交到YARN的引擎类型。', 'type' => 'string', 'required' => false, 'example' => 'SPARK'], 'required' => false, 'example' => 'null', ], ], [ 'name' => 'OrderType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '排序类型', 'description' => '排序方向。取值:'."\n" ."\n" .'- ASC: 升序排列。'."\n" .'- DESC:降序排列。', 'type' => 'string', 'required' => false, 'example' => 'ASC'], ], [ 'name' => 'OrderBy', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '排序字段', 'description' => '排序字段。取值:'."\n" ."\n" .'- vcoreSeconds:任务CPU使用量。'."\n" .'- memSeconds:任务内存使用量。', 'type' => 'string', 'required' => false, 'example' => 'vcoreSeconds'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '任务列表信息。', 'type' => 'array', 'items' => [ 'description' => '任务信息。', 'type' => 'object', 'properties' => [ 'AppId' => ['description' => '任务提交到YARN的ID。', 'type' => 'string', 'example' => 'application_1607584549220_*****'], 'AppName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'tpcds'], 'User' => ['description' => '任务提交用户名。', 'type' => 'string', 'example' => 'DW'], 'Queue' => ['description' => '任务提交到YARN的队列。', 'type' => 'string', 'example' => 'DW'], 'State' => ['description' => '应用执行状态,取值说明:'."\n" .'* FINISHED:结束的。'."\n" .'* FAILED:失败的。'."\n" .'* KILLED:中止的。', 'type' => 'string', 'example' => 'FINISHED'], 'FinalStatus' => ['description' => '应用执行结束状态,取值说明:'."\n" .'* SUCCEEDED:成功的。'."\n" .'* FAILED:失败的。'."\n" .'* KILLED:中止的。'."\n" .'* ENDED: 结束的。'."\n" .'* UNDEFINED:未定义的。', 'type' => 'string', 'example' => 'KILLED'], 'Type' => ['description' => '计算引擎类型。', 'type' => 'string', 'example' => 'SPARK'], 'StartTime' => ['description' => '任务提交时间,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1675180800000'], 'LaunchTime' => ['description' => '任务启动时间,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1672148400000'], 'ElapsedTime' => ['description' => '任务运行总时间,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '242'], 'FinishTime' => ['description' => '任务结束时间,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1683690929000'], 'Metrics' => [ 'description' => '指标数据。', 'type' => 'object', 'properties' => [ 'VcoreSeconds' => [ 'description' => 'CPU使用量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreSeconds'."\n"], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '11123'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'VCores * Sec'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total vcore usage over time in seconds'."\n"], ], ], 'MemSeconds' => [ 'description' => '内存使用量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memSeconds'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12312312'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB * Sec'."\n"], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total memory usage over time in seconds'."\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'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '批量获取任务运行结果', 'summary' => '通过EMR Doctor批量获取任务基本运行信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorJobs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', '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"}]', ], 'ListDoctorJobsStats' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'StartRange', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'description' => '开始时间范围,过滤开始时间在一个时间范围内的任务。', 'type' => 'object', 'properties' => [ 'StartTime' => ['description' => '任务提交时间起始范围,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1679036826987'], 'EndTime' => ['description' => '任务提交时间结束范围,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1666406820000'], ], 'required' => false, ], ], [ 'name' => 'EndRange', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'description' => '结束时间范围,过滤出结束时间在一个时间范围内的任务。', 'type' => 'object', 'properties' => [ 'StartTime' => ['description' => '任务结束时间起始范围,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1675180800000'], 'EndTime' => ['description' => '任务结束时间结束范围,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1680019200000'], ], 'required' => false, ], ], [ 'name' => 'GroupBy', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'description' => '分组字段列表。'."\n" ."\n" .'目前只取第一个值,后续会放开多种分组交叉。', 'type' => 'array', 'items' => ['description' => '分组字段。取值:'."\n" .'- queue:根据队列分组。'."\n" .'- user:根据用户分组。'."\n" .'- type:根据引擎类型分组。', 'type' => 'string', 'required' => false, 'example' => 'type'], 'required' => false, 'example' => 'null', ], ], [ 'name' => 'OrderType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '排序方向,取值:'."\n" ."\n" .'- ASC: 升序排列。'."\n" .'- DESC:降序排列。', 'type' => 'string', 'required' => false, 'example' => 'ASC'], ], [ 'name' => 'OrderBy', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['description' => '排序字段。取值:'."\n" ."\n" .'- vcoreSeconds:任务CPU使用量。'."\n" .'- memSeconds:任务内存使用量。', 'type' => 'string', 'required' => false, 'example' => 'vcoreSeconds'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '任务汇总列表信息。', 'type' => 'array', 'items' => [ 'description' => '任务汇总信息。', 'type' => 'object', 'properties' => [ 'Queue' => ['description' => '任务提交到YARN的队列。', 'type' => 'string', 'example' => 'DW'], 'Type' => ['description' => '计算引擎类型。', 'type' => 'string', 'example' => 'SPARK'], 'User' => ['description' => '任务提交用户名。', 'type' => 'string', 'example' => 'DW'], 'VcoreSeconds' => [ 'description' => 'CPU总使用量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreSeconds'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '11123'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'VCores * Sec'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total vcore usage over time in seconds'], ], ], 'MemSeconds' => [ 'description' => '内存总是用量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memSeconds'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12312312'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB * Sec'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total memory usage over time in seconds'], ], ], 'AppsCount' => [ 'description' => '任务总量。', 'type' => 'object', 'properties' => [ 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'appsCount'], 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total apps count'], ], ], ], ], ], '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'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '批量获取任务运行汇总数据', 'summary' => '通过EMR Doctor批量获取任务基本运行汇总信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorJobsStats', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', '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"}]', ], 'ListDoctorReports' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '报告列表。', 'type' => 'array', 'items' => [ 'description' => '报告详情。', 'type' => 'object', 'properties' => [ 'DateTime' => ['description' => '报告日期。', 'type' => 'string', 'example' => '2023-06-29'], 'ComponentTypes' => [ 'description' => '组件类型列表。', 'type' => 'array', 'items' => ['description' => '组件类型。取值:'."\n" .'- compute '."\n" .'- hive'."\n" .'- hdfs'."\n" .'- yarn'."\n" .'- oss'."\n" .'- hbase', 'type' => 'string', 'example' => 'compute'], 'enumValueTitles' => ['compute' => 'compute', 'hive' => 'hive', 'hdfs' => 'hdfs', 'yarn' => 'yarn', 'oss' => 'oss', 'hbase' => 'hbase'], 'example' => 'null', ], 'SummaryReport' => [ 'description' => '报告摘要。', 'type' => 'object', 'properties' => [ 'Score' => ['description' => '分数。', 'type' => 'integer', 'format' => 'int32', 'example' => '88'], 'Summary' => ['description' => '报告摘要。', 'type' => 'string', 'example' => '

[Compute Check] Compute health score: 88. Good health. Keep it up.

Most tasks in the cluster are in healthy state.

Cluster memory utilization: 47.8%, relatively low.

'], 'Suggestion' => ['description' => '优化建议。', 'type' => 'string', 'example' => '

Compute health score: 88. The cluster is in healthy state. Keep it up.

'], ], ], ], ], ], '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'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '批量获取集群报告', 'summary' => '批量获取 EMR Doctor 整体分析结果报告。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorReports', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"DateTime\\": \\"2023-06-29\\",\\n \\"ComponentTypes\\": [\\n \\"compute\\"\\n ],\\n \\"SummaryReport\\": {\\n \\"Score\\": 88,\\n \\"Summary\\": \\"

[Compute Check] Compute health score: 88. Good health. Keep it up.

Most tasks in the cluster are in healthy state.

Cluster memory utilization: 47.8%, relatively low.

\\",\\n \\"Suggestion\\": \\"

Compute health score: 88. The cluster is in healthy state. Keep it up.

\\"\\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"}]', ], 'ListInstanceTypes' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S', 'FEATUREemapreduceSNGGYA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => false, 'example' => 'c-b933c5aac8fe****'], ], [ 'name' => 'ZoneId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '可用区ID。', 'description' => '可用区ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing-h'], ], [ 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => false, 'example' => 'G-F06C4B47966A****'], ], [ 'name' => 'ClusterType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群类型。', 'description' => '集群类型。', 'type' => 'string', 'required' => true, 'example' => 'DATALAKE'], ], [ 'name' => 'PaymentType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '付费类型。', 'description' => '付费类型。', 'type' => 'string', 'required' => true, 'example' => 'PayAsYouGo'], ], [ 'name' => 'NodeGroupType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点组类型。', 'description' => '节点组类型。', 'type' => 'string', 'required' => true, 'example' => 'CORE'], ], [ 'name' => 'IsModification', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '是否变配。', 'description' => '是否变配。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'ReleaseVersion', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => 'EMR发行版。', 'description' => 'EMR发行版。', 'type' => 'string', 'required' => false, 'example' => 'Released version EMR-5.8.0'], ], [ 'name' => 'DeployMode', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '部署模式。', 'description' => '部署模式。', 'type' => 'string', 'required' => false, 'example' => 'HA'], ], [ 'name' => 'InstanceType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '机型', 'description' => '机型', 'type' => 'string', 'required' => false, 'example' => 'ecs.g6.xlarge'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'InstanceTypes' => [ 'description' => '机型列表', 'type' => 'array', 'items' => ['description' => '机型信息', '$ref' => '#/components/schemas/InstanceType'], ], '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'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '获取实例类型列表', 'summary' => '获取EMR机型列表。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListInstanceTypes'], ], ], 'ramActions' => [], '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"}]', ], 'ListNodeGroups' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '13702', 'abilityTreeNodes' => ['FEATUREemapreduceSNGGYA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '地域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置,置空表示从头开始。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'NodeGroupIds', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '节点组ID列表。', 'description' => '节点组ID列表。数组元素个数N取值范围:1~100。', 'type' => 'array', 'items' => ['description' => '节点分组ID。', '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' => '节点组名称列表。数组元素个数N取值范围:1~100。', 'type' => 'array', 'items' => ['description' => '节点组名称。', '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' => '节点组类型列表。数组元素个数N取值范围:1~100。', 'type' => 'array', 'items' => ['description' => '节点组类型。取值范围:'."\n" .'- MASTER:管理类型节点组。'."\n" .'- CORE:存储类型节点组。'."\n" .'- TASK:计算类型节点组。', 'type' => 'string', 'required' => false, 'example' => 'CORE'], 'required' => false, 'example' => '20', 'maxItems' => 100, ], ], [ 'name' => 'NodeGroupStates', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '节点组状态。', 'description' => '节点组状态。数组元素个数N取值范围:1~100。', 'type' => 'array', 'items' => ['description' => '节点组状态。取值范围:'."\n" .' - PROVISIONING:初始化中。'."\n" .' - INCREASING:扩容中。'."\n" .' - DECREASING:缩容中。'."\n" .' - SUSPENDED:挂起。'."\n" .' - RUNNING:运行中。'."\n" .' - RECONFIGURING:变配中。'."\n" .' - TERMINATING:终止中。'."\n" .' - TERMINATED:已终止。', 'type' => 'string', 'required' => false, 'example' => 'RUNNING'], 'required' => false, 'example' => '["CORE"]', 'maxItems' => 50, ], ], [ 'name' => 'ZoneId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'description' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'NodeGroups' => [ 'description' => '节点组数组。', 'type' => 'array', 'items' => ['description' => '节点组。', '$ref' => '#/components/schemas/NodeGroup'], ], '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'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '查询节点组', 'summary' => '查询EMR集群节点组列表。', 'changeSet' => [], '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' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"type":"json","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}","errorExample":""},{"type":"xml","example":"\\n 9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\n 20\\n 2\\n 1000\\n \\n G-21E39B11837E****\\n CORE\\n core-1\\n Subscription\\n 2\\n ecs.g6e.xlarge\\n Running\\n \\n \\n vsw-bp1opd2qejvhsabfe****\\n \\n","errorExample":""}]', ], 'ListNodes' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'abilityTreeNodes' => ['FEATUREemapreduceSNGGYA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', '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****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置,置空表示从头开始。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'NodeGroupIds', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '节点组ID列表。', 'description' => '节点组ID列表。', 'type' => 'array', 'items' => ['description' => '节点组ID。', 'type' => 'string', 'required' => false, 'example' => 'ng-869471354ecd****'."\n"], 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', ], ], [ 'name' => 'NodeIds', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '节点ID列表。', 'description' => '节点ID列表。', 'type' => 'array', 'items' => ['description' => '节点ID。', 'type' => 'string', 'required' => false, 'example' => 'i-bp1cudc25w2bfwl5****'."\n"], 'required' => false, 'example' => 'c-b933c5aac8fe****', 'maxItems' => 100, ], ], [ 'name' => 'NodeNames', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '节点名称列表。', 'description' => '节点名称列表。', 'type' => 'array', 'items' => ['description' => '节点名称。', 'type' => 'string', 'required' => false, 'example' => 'core1-1'], 'required' => false, 'example' => '20', 'maxItems' => 100, ], ], [ 'name' => 'PrivateIps', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '私网IP。', 'description' => '私网IP。', 'type' => 'array', 'items' => ['description' => '私网IP。', 'type' => 'string', 'required' => false, 'example' => '10.10.10.8'], 'required' => false, 'example' => '["172.12.0.91"]', 'maxItems' => 1, ], ], [ 'name' => 'PublicIps', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '公网IP。', 'description' => '公网IP。', 'type' => 'array', 'items' => ['description' => '公网IP。', 'type' => 'string', 'required' => false, 'example' => '42.1.1.**'], 'required' => false, 'example' => '["120.13.14.38"]', 'maxItems' => 1, ], ], [ 'name' => 'NodeStates', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '节点状态。', 'description' => '节点状态。', 'type' => 'array', 'items' => ['description' => '节点状态。取值范围:'."\n" .'- Pending:创建中。'."\n" .'- Starting:启动中。'."\n" .'- Running:运行中。'."\n" .'- Stopping:停止中。'."\n" .'- Stopped:已停止。'."\n" .'- Terminated:已终止。', 'type' => 'string', 'required' => false, 'example' => 'Running'], 'required' => false, 'example' => '["CREATED"]', 'maxItems' => 100, ], ], [ 'name' => 'Tags', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '标签列表。', 'description' => '绑定的标签列表。', 'type' => 'array', 'items' => ['description' => '标签。', 'required' => false, '$ref' => '#/components/schemas/Tag'], 'required' => false, 'maxItems' => 20, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'Nodes' => [ 'description' => '节点列表。', 'type' => 'array', 'items' => ['description' => '节点信息。', '$ref' => '#/components/schemas/Node'], ], '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'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '查询节点', 'summary' => '查询EMR集群节点列表。', 'changeSet' => [], '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' => '全部资源', 'arn' => '*'], ], ], ], ], '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":"\\n 9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\n 20\\n 2\\n 1000\\n \\n emr-header-1\\n i-bp1opd2qejvhsab****\\n 42.120.75.***\\n 10.10.10.1\\n ecs.g6e.xlarge\\n Running\\n G-21E39B11837E****\\n CORE\\n 手动重启\\n \\n","errorExample":""}]', ], 'ListReleaseVersions' => [ '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' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'IaasType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => 'IaaS资源类型。', 'description' => 'IaaS资源类型。', 'type' => 'string', 'required' => false, 'example' => 'ECS'], ], [ 'name' => 'ClusterType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群类型。', 'description' => '集群类型。', 'type' => 'string', 'required' => true, 'example' => 'DATALAKE'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'ReleaseVersions' => [ 'description' => '版本列表。', 'type' => 'array', 'items' => [ 'description' => '版本。', 'type' => 'object', 'properties' => [ 'Series' => ['title' => '版本序列。', 'description' => '版本序列。', 'type' => 'string', 'example' => 'EMR-5.X'], 'ReleaseVersion' => ['title' => 'EMR发行版。', 'description' => 'EMR发行版。', 'type' => 'string', 'example' => 'EMR-5.8.0'], 'IaasType' => ['title' => 'IaaS类型。', 'description' => 'IaaS类型。', 'type' => 'string', 'example' => 'ECS'], ], ], ], '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'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '查询版本', 'summary' => '查看EMR发布主板本。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListReleaseVersions'], ], ], 'ramActions' => [], '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"}]', ], 'ListScripts' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '119909', 'abilityTreeNodes' => ['FEATUREemapreduceY1BE2N', 'FEATUREemapreduce42QKNE'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'dd6b1b2a-5837-5237-abe4-ff0c89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'ScriptType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群脚本类型。', 'description' => '集群脚本类型。取值范围:'."\n" ."\n" .'- BOOTSTRAP:引导脚本。'."\n" .'- NORMAL:普通集群脚本。', 'type' => 'string', 'required' => true, 'example' => 'BOOTSTRAP'], ], [ 'name' => 'ScriptName', 'in' => 'query', 'schema' => ['title' => '集群脚本名称,仅限NORMAL脚本,支持模糊搜索。', 'description' => '集群脚本名称,仅限NORMAL脚本,支持模糊搜索。', 'type' => 'string', 'required' => false], ], [ 'name' => 'ScriptId', 'in' => 'query', 'schema' => ['title' => '集群脚本id,仅限NORMAL脚本', 'description' => '集群脚本id,仅限NORMAL脚本', 'type' => 'string', 'required' => false], ], [ 'name' => 'Statuses', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'title' => '脚本状态,仅支持NORMAL脚本。', 'description' => '脚本状态列表。', 'type' => 'array', 'items' => ['description' => '脚本状态,仅支持NORMAL脚本。', 'type' => 'string', 'required' => false], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Scripts' => [ 'description' => '脚本列表。', 'type' => 'array', 'items' => [ 'description' => '脚本。', 'type' => 'object', 'properties' => [ 'Action' => ['title' => 'API名称。', 'description' => 'API名称。', 'type' => 'string', 'example' => 'ListScripts'], 'RegionId' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], 'ScriptId' => ['title' => '脚本ID。', 'description' => '脚本ID。', 'type' => 'string', 'example' => 'cs-bf25219d103043a0820613e32781****'], 'ScriptName' => ['title' => '集群脚本名称。', 'description' => '脚本名称。', 'type' => 'string', 'example' => 'check_env'], 'ScriptPath' => ['title' => '集群脚本路径。', 'description' => '脚本路径。', 'type' => 'string', 'example' => 'oss://bucket1/check_evn.sh'], 'ScriptArgs' => ['title' => '集群脚本执行参数。', 'description' => '脚本执行参数。', 'type' => 'string', 'example' => '--mode=client -h -p'], 'LastUpdateTime' => ['title' => '最近一次编辑时间。', 'description' => '最近一次修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1639714634819'], 'ExecutionFailStrategy' => ['title' => '执行失败策略。', 'description' => '执行失败策略。取值范围:'."\n" ."\n" .'- FAILED_CONTINUE:失败后继续执行。'."\n" .'- FAILED_BLOCK:失败后阻塞。', 'type' => 'string', 'example' => 'FAILED_CONTINUE'], 'ExecutionMoment' => ['title' => '执行时机。', 'description' => '执行时机。取值范围:'."\n" ."\n" .'- BEFORE_INSTALL:应用安装之前。'."\n" .'- AFTER_STARTED: 应用启动后。', 'type' => 'string', 'example' => 'BEFORE_INSTALL'], 'NodeSelector' => ['title' => '节点选择器。', 'description' => '节点选择器。', '$ref' => '#/components/schemas/NodeSelector'], 'StartTime' => ['title' => '开始执行时间。', 'description' => '开始执行时间。只有当ScriptType取值为NORMAL,才有该返回值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1639714634000'], 'EndTime' => ['title' => '结束执行时间。', 'description' => '结束执行时间。只有当ScriptType取值为NORMAL,才有该返回值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1639715635819'], 'ExecutionState' => ['description' => '脚本执行的状态,只有当`ScriptType`取值为`NORMAL`,才有该返回值 。取值范围:'."\n" ."\n" .'- SCRIPT_COMPLETED:脚本执行成功。'."\n" .'- SCRIPT_SUBMISSION_FAILED:脚本执行失败。'."\n" .'- SCRIPT_RUNNING:脚本执行中。', 'type' => 'string', 'example' => 'SCRIPT_COMPLETED'], ], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。', 'type' => 'string', 'example' => 'dd6b1b2a-5837-5237-abe4-ff0c89568982'], 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '查询脚本', 'summary' => '查询EMR集群引导脚本或普通脚本。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListScripts'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListScripts', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], '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"}]', ], 'ListTagResources' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '24996', 'abilityTreeNodes' => ['FEATUREemapreduceGZP0FZ', 'FEATUREemapreduceZG5CIX'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。为空时表示从头开始读。', 'type' => 'string', 'required' => false, 'example' => '2'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'ResourceType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '资源类型。', 'description' => '资源类型。 取值:cluster。', 'type' => 'string', 'required' => true, 'example' => 'cluster'], ], [ 'name' => 'ResourceIds', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '资源ID列表。', 'description' => '资源ID列表。数组元素个数N取值范围:1~1', 'type' => 'array', 'items' => ['description' => '资源ID。ResourceType取值cluster时,取值为集群ID。'."\n" ."\n", 'type' => 'string', 'required' => false, 'example' => 'c-b933c5aac8fe****'], 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', 'maxItems' => 1, ], ], [ 'name' => 'Tags', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '标签列表。', 'description' => '标签数组。数组元素个数N取值范围:1~20。', 'type' => 'array', 'items' => ['description' => '标签。', 'required' => false, '$ref' => '#/components/schemas/Tag'], 'required' => false, 'example' => '20', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'TagResources' => [ 'description' => '标签资源列表。包含了资源ID、资源类型和标签键值信息。', 'type' => 'array', 'items' => [ 'description' => '标签资源。', 'type' => 'object', 'properties' => [ 'TagKey' => ['title' => '标签键。', 'description' => '标签键。', 'type' => 'string', 'example' => 'Department'], 'TagValue' => ['title' => '标签值。', 'description' => '标签值。', 'type' => 'string', 'example' => 'Dev'], 'ResourceType' => ['title' => '资源类型。', 'description' => '资源类型。', 'type' => 'string', 'example' => 'cluster'], 'ResourceId' => ['title' => '资源ID。', 'description' => '资源ID。', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], ], ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '372D4E9B-2509-5EFA-846B-B34FBF143F56'], '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'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '查询标签', 'summary' => '查询EMR集群绑定的标签列表。', 'changeSet' => [], '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' => '全部资源', 'arn' => '*'], ], ], ], ], '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":"\\n 372D4E9B-2509-5EFA-846B-B34FBF143F56\\n \\n","errorExample":""}]', ], 'ListUsers' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '119862', 'abilityTreeNodes' => ['FEATUREemapreduceQF0AGF'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', '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****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'UserName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '用户名,支持模糊搜索。', 'description' => '用户名,支持模糊搜索。', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'UserNames', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'description' => '用户名列表。数组元数个数 N 的取值范围:0~20。', 'type' => 'array', 'items' => ['description' => '用户名。', 'type' => 'string', 'required' => false, 'example' => 'xi'], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'IsAdmin' => ['description' => '是否为admin用户:'."\n" .'- true'."\n" .'- false', 'type' => 'boolean', 'deprecated' => true, 'example' => 'False'], 'Users' => [ 'title' => '用户列表。', 'description' => '用户列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'LdapUrl' => ['title' => 'LDAP链接。', 'description' => 'LDAP链接。', 'type' => 'string', 'example' => 'ldap://master-1-1.c-c6ce2d16d118****.cn-hangzhou.emr.aliyuncs.com:10389'], 'UserId' => ['title' => '用户ID。', 'description' => '用户ID。', 'type' => 'string', 'example' => '125046002175****'], 'UserName' => ['title' => '用户名称。', 'description' => '用户名称。', 'type' => 'string', 'example' => 'yun****'], 'KeytabHex' => ['title' => 'Keytab内容Base64编码。', 'description' => 'Keytab内容Base64编码。', 'type' => 'string', 'example' => 'DBEDASDF=='], 'CreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1509338726362'], 'Description' => ['title' => '备注。', 'description' => '备注。', 'type' => 'string', 'example' => 'Add test user'], ], 'description' => '', ], ], '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'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '查询用户列表', 'summary' => '查询用户。', 'description' => '查询用户。', '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' => '全部资源', '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\\": \\"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"}]', ], 'PutAutoScalingPolicy' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '145776', 'abilityTreeNodes' => ['FEATUREemapreduceYE4TE8'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], ], [ 'name' => 'ScalingRules', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '弹性伸缩规则描述列表。', 'description' => '弹性伸缩规则描述列表。数组元数个数N的取值范围:0~100。', 'type' => 'array', 'items' => ['description' => '弹性伸缩规则。', 'required' => false, '$ref' => '#/components/schemas/ScalingRule'], 'required' => false, 'maxItems' => 100, ], ], [ 'name' => 'Constraints', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => ['title' => '最大最小值约束。', 'description' => '节点组最大最小值约束。', 'required' => false, '$ref' => '#/components/schemas/ScalingConstraints'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['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' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '创建自定义弹性伸缩策略', 'summary' => '创建自定义弹性伸缩策略。', 'description' => '配置弹性伸缩策略', 'changeSet' => [], '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' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], 'PutManagedScalingPolicy' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '235212', 'abilityTreeNodes' => ['FEATUREemapreduceB95X9C'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', '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****'], ], [ 'name' => 'Constraints', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => ['description' => '集群最大最小值约束。', 'required' => false, '$ref' => '#/components/schemas/ManagedScalingConstraints'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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'], 'title' => '创建托管伸缩策略', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:PutManagedScalingPolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], 'RemoveAutoScalingPolicy' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '145777', 'abilityTreeNodes' => ['FEATUREemapreduceEL79NN'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '删除弹性伸缩策略', 'summary' => '删除弹性伸缩策略。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RemoveAutoScalingPolicy'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'emr:RemoveAutoScalingPolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], 'RunApiTemplate' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '189472', 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], ], '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-****'], ], [ 'name' => 'ApiName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '接口名。', 'description' => '接口名。', 'type' => 'string', 'required' => true, 'example' => 'CreateCluster'], ], [ 'name' => 'ClientToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '幂等客户端TOKEN。', 'description' => '幂等客户端TOKEN。', 'type' => 'string', 'required' => false, 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', '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****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '调用API模板', 'summary' => '调用 API 模板。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'emr:RunApiTemplate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"{\\\\\\\\\\\\\\"clusterId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"c-b7be171f1928****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operationId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"op-61126efe629d****\\\\\\\\\\\\\\"}\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], 'RunApplicationAction' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'abilityTreeNodes' => ['FEATUREemapreduceWFD0SJ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '地域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'C-C95F0A39D8FF****'], ], [ 'name' => 'ActionName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '操作名称。', 'description' => '动作名称。取值范围:'."\n" .'- start:启动。'."\n" .'- stop:停止。'."\n" .'- config:下发配置。'."\n" .'- restart:重启 。'."\n" .'- refresh_queues:刷新YARN队列。'."\n" .'- refresh_labels:刷新YARN标签。'."\n" .'- refresh_nodes: 刷新 YARN 集群中节点信息。', 'type' => 'string', 'required' => true, 'example' => 'start'], ], [ 'name' => 'ComponentInstanceSelector', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => ['title' => '组件实例选择器。', 'description' => '操作对象。', 'required' => true, '$ref' => '#/components/schemas/ComponentInstanceSelector'], ], [ 'name' => 'RollingExecute', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '是否滚动执行。', 'description' => '是否滚动执行。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'ExecuteStrategy', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '运行策略。', 'description' => '运行策略。取值范围:'."\n" .'- FAILED_BLOCK:失败后阻塞。'."\n" .'- FAILED_CONTINUE:失败后继续。', 'type' => 'string', 'required' => false, 'example' => 'FAILED_CONTINUE'], ], [ 'name' => 'Interval', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '滚动执行间隔时间 单位:秒。', 'description' => '滚动执行间隔时间。单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'], ], [ 'name' => 'BatchSize', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '每批数量。', 'description' => '每批次数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'Description', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '描述。', 'description' => '描述。', 'type' => 'string', 'required' => false, 'example' => 'Running description'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'OperationId' => ['title' => '操作ID。', 'description' => '操作ID。', 'type' => 'string', 'example' => 'op-13c37a77c505****'], 'AbnInstances' => [ 'title' => '异常节点列表。', 'description' => '异常节点列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'NodeName' => ['description' => '异常节点名称。', 'type' => 'string', 'example' => 'core1-1'], 'NodeId' => ['description' => '异常节点ID。', 'type' => 'string', 'example' => 'i-bp1cudc25w2bfwl5****'], ], 'description' => '', ], ], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****'], ], ], ], ], '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.', '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' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '执行应用操作', 'summary' => '本接口用于对集群安装的应用执行启动,停止等管理操作。', 'changeSet' => [], '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' => '全部资源', '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":"\\n 9E3A7161-EB7B-172B-8D18-FFB06BA3****\\n 9E3A7161-EB7B-172B-8D18-FFB06BA3****\\n","errorExample":""}]', ], 'RunCluster' => [ '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' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ResourceGroupId', 'in' => 'formData', 'allowEmptyValue' => false, 'schema' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzabjyop****'], ], [ 'name' => 'PaymentType', 'in' => 'formData', 'allowEmptyValue' => false, 'schema' => ['title' => '付费类型。', 'description' => '付费类型。取值范围:'."\n" .'- PayAsYouGo:后付费。'."\n" .'- Subscription:预付费。'."\n" ."\n" .'默认值:PayAsYouGo。', 'type' => 'string', 'required' => false, 'example' => 'PayAsYouGo'], ], [ 'name' => 'SubscriptionConfig', 'in' => 'formData', 'allowEmptyValue' => false, 'style' => 'json', 'schema' => ['description' => '预付费配置。当PaymentType取值为Subscription时必填。', 'required' => false, '$ref' => '#/components/schemas/SubscriptionConfig'], ], [ 'name' => 'ClusterType', 'in' => 'formData', 'allowEmptyValue' => false, 'schema' => ['title' => '集群类型。', 'description' => '集群类型。取值范围:'."\n" .'- DATALAKE:新版数据湖。'."\n" .'- OLAP:数据分析。'."\n" .'- DATAFLOW:实时数据流。'."\n" .'- DATASERVING:数据服务。'."\n" .'- CUSTOM:自定义混部集群。'."\n" .'- HADOOP:旧版数据湖(不推荐使用,建议使用新版数据湖)。'."\n" ."\n" .'如果您在2022年12月19日17点(UTC+8)以后第一次创建EMR集群,不能选择HADOOP、DATA_SCIENCE、PRESTO、ZOOKEEPER集群类型。', 'type' => 'string', 'required' => true, 'example' => 'DATALAKE'], ], [ 'name' => 'ReleaseVersion', 'in' => 'formData', 'allowEmptyValue' => false, 'schema' => ['title' => 'EMR发行版。', 'description' => 'EMR发行版。可通过EMR集群售卖页面查看EMR发行版。', 'type' => 'string', 'required' => true, 'example' => 'EMR-5.16.0'], ], [ 'name' => 'ClusterName', 'in' => 'formData', 'allowEmptyValue' => false, 'schema' => ['title' => '集群名称。', 'description' => '集群名称。长度为1~128个字符,必须以大小字母或中文开头,不能以 http:// 和 https:// 开头。可以包含中文、英文、数字、半角冒号(:)、下划线(_)、半角句号(.)或者短划线(-)。', 'type' => 'string', 'required' => true, 'example' => 'emrtest'], ], [ 'name' => 'DeployMode', 'in' => 'formData', 'allowEmptyValue' => false, 'schema' => ['title' => '部署模式。', 'description' => '集群中的应用部署模式。取值范围:'."\n" .'- NORMAL(默认值):非高可用部署。集群1个MASTER节点。'."\n" .'- HA:高可用部署。高可用部署要求至少3个MASTER节点。', 'type' => 'string', 'required' => false, 'example' => 'HA'], ], [ 'name' => 'SecurityMode', 'in' => 'formData', 'allowEmptyValue' => false, 'schema' => ['title' => 'Kerberos安全模式。', 'description' => '集群Kerberos安全模式。取值范围:'."\n" .'- NORMAL(默认值):普通模式,不开启Kerberos模式。'."\n" .'- KERBEROS:开启Kerberos模式。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'], ], [ 'name' => 'Applications', 'in' => 'formData', 'allowEmptyValue' => false, 'style' => 'json', 'schema' => [ 'title' => '应用列表。', 'description' => '应用列表。数组元素个数N的取值范围:1~100。', 'type' => 'array', 'items' => ['description' => '应用。', 'required' => false, '$ref' => '#/components/schemas/Application'], 'required' => true, ], ], [ 'name' => 'ApplicationConfigs', 'in' => 'formData', 'allowEmptyValue' => false, 'style' => 'json', 'schema' => [ 'title' => '应用配置。', 'description' => '应用配置。数组元素个数N的取值范围:1~1000。', 'type' => 'array', 'items' => ['description' => '应用配置。', 'required' => false, '$ref' => '#/components/schemas/ApplicationConfig'], 'required' => false, ], ], [ 'name' => 'NodeAttributes', 'in' => 'formData', 'allowEmptyValue' => false, 'style' => 'json', 'schema' => ['description' => '节点属性。集群所有ECS节点基础属性。', 'required' => false, '$ref' => '#/components/schemas/NodeAttributes'], ], [ 'name' => 'NodeGroups', 'in' => 'formData', 'allowEmptyValue' => false, 'style' => 'json', 'schema' => [ 'title' => '节点组。', 'description' => '节点组配置数组。数组元素个数N的取值范围:1~100。', 'type' => 'array', 'items' => ['description' => '节点组配置。', 'required' => false, '$ref' => '#/components/schemas/NodeGroupConfig'], 'required' => true, ], ], [ 'name' => 'BootstrapScripts', 'in' => 'formData', 'allowEmptyValue' => false, 'style' => 'json', 'schema' => [ 'title' => '引导脚本。', 'description' => '引导脚本数组。数组元素个数N的取值范围:1~10。', 'type' => 'array', 'items' => ['description' => '引导脚本。', 'required' => false, '$ref' => '#/components/schemas/Script'], 'required' => false, ], ], [ 'name' => 'Tags', 'in' => 'formData', 'allowEmptyValue' => false, 'style' => 'json', 'schema' => [ 'title' => '标签。', 'description' => '标签。数组元数个数N的取值范围:0~20。', 'type' => 'array', 'items' => ['description' => '标签。', 'required' => false, '$ref' => '#/components/schemas/Tag'], 'required' => false, ], ], [ 'name' => 'ClientToken', 'in' => 'formData', 'allowEmptyValue' => false, 'schema' => ['title' => '幂等客户端TOKEN。', 'description' => '幂等客户端TOKEN。同一个ClientToken多次调用的返回结果一致,同一个ClientToken最多只创建一个集群。', 'type' => 'string', 'required' => false, 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****'], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => ['description' => '集群描述。', 'type' => 'string', 'required' => false, 'example' => 'Emr cluster for ETL'], ], [ 'name' => 'DeletionProtection', 'in' => 'formData', 'schema' => ['description' => '集群是否开启删除保护。取值范围:'."\n" .'- true:开启删除保护。'."\n" .'- false:不开启删除保护。'."\n" ."\n" .'默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'Promotions', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'items' => ['required' => false, '$ref' => '#/components/schemas/Promotion', 'description' => ''], 'required' => false, 'description' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac7f7***'], 'OperationId' => ['title' => '操作ID。', 'description' => '操作ID。', 'type' => 'string', 'example' => 'op-13c37a77c505****'], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['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' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'gatewayOptions' => [ 'gatewayProtocols' => [], ], 'title' => '创建集群', 'summary' => '创建一个按量付费或者预付费(包年包月)集群。', 'description' => 'RunCluster 是 CreateCluster 的升级版本,采用 HTTPS POST 请求,支持更长的参数内容。对于复杂参数,如对象和数组,RunCluster 采用 JSON 格式,使其对 CLI 工具更加友好。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'emr:RunCluster', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ClusterId\\": \\"c-b933c5aac7f7***\\",\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], 'TagResources' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '25001', 'abilityTreeNodes' => ['FEATUREemapreduceWV7Y23'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ResourceType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ 'title' => '资源类型。', 'description' => '资源类型。 取值范围:'."\n" .'- cluster:集群。', 'type' => 'string', 'required' => true, 'enumValueTitles' => [], 'example' => 'cluster', ], ], [ 'name' => 'ResourceIds', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '资源ID。', 'description' => '资源ID列表。数组元素个数N的取值范围:1~1。', 'type' => 'array', 'items' => ['description' => '资源ID。ResourceType取值cluster时,取值为集群ID。', 'type' => 'string', 'required' => false, 'example' => 'c-b933c5aac8fe****'], 'required' => true, 'example' => 'cluster', 'maxItems' => 1, ], ], [ 'name' => 'Tags', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '标签列表。', 'description' => '绑定的标签列表。', 'type' => 'array', 'items' => ['description' => '标签。', 'required' => false, '$ref' => '#/components/schemas/Tag'], 'required' => true, 'example' => '[null]', 'maxItems' => 20, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'A964BDB2-0FDA-1037-AF3F-2633D5C3F20F'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '打标签', 'summary' => '为指定的EMR集群绑定标签。', 'changeSet' => [], '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' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A964BDB2-0FDA-1037-AF3F-2633D5C3F20F\\"\\n}","errorExample":""},{"type":"xml","example":"\\n A964BDB2-0FDA-1037-AF3F-2633D5C3F20F\\n true\\n","errorExample":""}]', ], 'UntagResources' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'abilityTreeNodes' => ['FEATUREemapreduceACW5KS'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ResourceType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '资源类型。', 'description' => '资源类型。取值:cluster。', 'type' => 'string', 'required' => true, 'example' => 'cluster'], ], [ 'name' => 'ResourceIds', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '资源ID。', 'description' => '资源ID列表。', 'type' => 'array', 'items' => ['description' => '资源ID。ResourceType取值cluster时,取值为集群ID。', 'type' => 'string', 'required' => false, 'example' => 'c-b933c5aac8fe****'], 'required' => true, 'example' => 'cluster', 'maxItems' => 1, ], ], [ 'name' => 'TagKeys', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '标签Key列表。', 'description' => '标签key值。数组元数个数N的取值范围:1~20。', 'type' => 'array', 'items' => ['description' => '标签key值列表。', 'type' => 'string', 'required' => false, 'example' => 'Department'], 'required' => false, 'example' => '["c-b933c5aac8fe****"]', ], ], [ 'name' => 'All', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '是否删除指定指定的所有标签。', 'description' => '是否全部删除。只针对**Tagkeys**为空时有效。取值范围:'."\n" .'- true:全部删除。'."\n" .'- false:不全部删除。'."\n" ."\n" .'默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '17A6A3D5-4B13-1DAD-9A23-66EA5FC83B50'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '删标签', 'summary' => '为指定的EMR集群列统一解绑标签。解绑后,如果该标签没有绑定其他任何资源,该标签会被自动删除。', 'changeSet' => [], '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' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"17A6A3D5-4B13-1DAD-9A23-66EA5FC83B50\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 17A6A3D5-4B13-1DAD-9A23-66EA5FC83B50\\n true\\n","errorExample":""}]', ], 'UpdateApiTemplate' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'TemplateName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群模板名字。', 'description' => '集群模板名字。', 'type' => 'string', 'required' => true, 'example' => 'DATALAKE template'], ], [ 'name' => 'ApiName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '接口名。', 'description' => 'API名称,目前只支持创建集群API模板。取值范围:CreateCluster。', 'type' => 'string', 'required' => true, 'example' => 'CreateCluster'], ], [ 'name' => 'Content', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '接口参数request内容', 'description' => '集群模版内容。取值:创建集群[CreateCluster](~~454393~~)的入参JSON化后的内容。', 'type' => 'string', 'required' => true, 'example' => 'content'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzabjyop****'], ], [ 'name' => 'TemplateId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群模板id。', 'description' => '集群模板ID。', 'type' => 'string', 'required' => true, 'example' => 'AT-****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Success' => ['description' => '请求结果,取值如下:true:请求成功。 false:请求失败。', 'type' => 'boolean', 'deprecated' => true, 'example' => 'true'], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '更新API模板', 'summary' => '更新API模板。', 'requestParamsDescription' => '参数 Content 值示例(JAVA语言):'."\n" .'`'."\n" ."\n" .'CreateClusterRequest request = new CreateClusterRequest();'."\n" ."\n" .'request.setRegionId("cn-beijing");'."\n" ."\n" .'request.setClusterType("DATALAKE");'."\n" ."\n" .'//创建集群其他参数... '."\n" ."\n" .'String content = new Gson().toJson(request);'."\n" .'`', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'emr:UpdateApiTemplate', 'authLevel' => '', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], 'UpdateApplicationConfigs' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ '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'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-e6a9d46e9267****'], ], [ 'name' => 'ApplicationName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '应用名称。', 'description' => '应用名称。', 'type' => 'string', 'required' => true, 'example' => 'HDFS'], ], [ 'name' => 'RefreshConfig', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '是否刷新配置。', 'description' => '是否刷新配置。'."\n" .'默认值: true。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'ConfigAction', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '配置项操作。', 'description' => '配置项操作。取值范围:'."\n" .'- ADD:添加。'."\n" .'- UPDATE:更新。'."\n" .'- DELETE:删除。', 'type' => 'string', 'required' => false, 'example' => 'ADD'], ], [ 'name' => 'ConfigScope', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '配置操作范围。', 'description' => '配置操作范围。取值范围:'."\n" .'- CLUSTER:集群级别。'."\n" .'- NODE_GROUP:节点组级别。', 'type' => 'string', 'required' => false, 'example' => 'CLUSTER'], ], [ 'name' => 'ApplicationConfigs', 'in' => 'formData', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '应用配置列表。', 'description' => '应用配置列表。', 'type' => 'array', 'items' => ['required' => false, '$ref' => '#/components/schemas/UpdateApplicationConfig', 'description' => ''], 'required' => true, ], ], [ 'name' => 'Description', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '本次更新操作描述。', 'description' => '描述。', 'type' => 'string', 'required' => false, 'example' => 'Description'], ], [ 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点组ID.', 'description' => '节点组ID。', 'type' => 'string', 'required' => false, 'example' => 'ng-869471354ecd****'], ], [ 'name' => 'NodeId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点ID。', 'description' => '节点ID。', 'type' => 'string', 'required' => false, 'example' => 'i-bp1cudc25w2bfwl5****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'OperationId' => ['title' => '操作ID。', 'description' => '操作ID。', 'type' => 'string', 'example' => 'op-13c37a77c505****'], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '更新应用配置', 'summary' => '更新应用配置。', 'changeSet' => [], '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' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 9E3A7161-EB7B-172B-8D18-FFB06BA3****\\n","errorExample":""}]', ], 'UpdateClusterAttribute' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '101707', 'abilityTreeNodes' => ['FEATUREemapreduceGZP0FZ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', '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****'], ], [ 'name' => 'ClusterName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群名称。', 'description' => '集群名称。', 'type' => 'string', 'required' => false, 'example' => 'emrtest'], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['description' => '集群描述。', 'type' => 'string', 'required' => false, 'example' => 'Emr cluster for ETL'], ], [ 'name' => 'DeletionProtection', 'in' => 'query', 'schema' => ['description' => '释放保护。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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'], 'title' => '更新集群属性', 'summary' => '更新集群属性。', 'changeSet' => [], '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' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], 'UpdateClusterAutoRenew' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '19032', 'abilityTreeNodes' => ['SPUemapreduceZSGDF4'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', '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' => '集群是否开启自动续费。取值范围:'."\n" ."\n" .'- true:开启自动续费。'."\n" ."\n" .'- false:不开启自动续费。'."\n" ."\n" .'默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'ClusterAutoRenewDuration', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群自动续费时长。', 'description' => '集群自动续费时长。当 ClusterAutoRenew 取值为 true 时生效。'."\n" .'ClusterAutoRenewDurationUnit取值为 Month 时,取值:1、2、3、4、5、6、7、8、9、12、24、36。ClusterAutoRenewDurationUnit取值为 Year时,取值:1、2、3。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'ClusterAutoRenewDurationUnit', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群自动续费时长单位。', 'description' => '集群续费时长单位。取值范围:'."\n" ."\n" .'- Month:月。'."\n" ."\n" .'- Year:年。'."\n" ."\n" .'默认值:Month。', 'type' => 'string', 'required' => false, 'example' => 'Monthly'], ], [ 'name' => 'RenewAllInstances', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '续费所有ECS实例。', 'description' => '是否对集群中所有ECS实例配置自动续费。取值范围:'."\n" ."\n" .'- true:对集群中所有ECS实例配置自动续费,默认配置自动续费1个月。'."\n" ."\n" .'- false:不对集群中所有ECS实例配置自动续费。可在AutoRenewInstances中指定要配置自动续费的ECS实例。'."\n" ."\n" .'默认值:false。', 'type' => 'boolean', 'required' => false], ], [ 'name' => 'AutoRenewInstances', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '自动续费ECS实例列表。', 'description' => '自动续费ECS实例列表。RenewAllInstances不为true时生效。', 'type' => 'array', 'items' => ['description' => '自动续费的ECS实例。', 'required' => false, '$ref' => '#/components/schemas/AutoRenewInstance'], 'required' => false, 'maxItems' => 5000, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'Success' => ['description' => '成功。', 'type' => 'boolean', 'deprecated' => true, 'example' => 'true'], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3896A'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '修改集群的自动续费属性', 'summary' => '为您的EMR集群及其下ECS实例修改自动续费的属性,即配置自动续费的开启/关闭。', 'description' => '请确保在使用该接口前,已充分了解E-MapReduce产品的收费方式和[价格](https://www.aliyun.com/price/product?spm=openapi-amp.newDocPublishment.0.0.d54d281ftXTbvg#/emapreduce/detail/emrpre)。注意:自动续费不等于立即续费,若您的实例已经到期或将于明天到期,请先手动续费。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'emr:UpdateClusterAutoRenew', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\n 64bedf6d-96e3-4780-95a0-4ad376ad****\\n","errorExample":""}]', ], 'UpdateNodeGroupAttributes' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREemapreduceSNGGYA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', '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****'], ], [ 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], ], [ 'name' => 'NodeGroupName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点组名称。', 'description' => '节点组名称。', 'type' => 'string', 'required' => false, 'example' => 'CORE1'], ], [ 'name' => 'Description', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点组描述。', 'description' => '节点组描述。', 'type' => 'string', 'required' => false, 'example' => 'emr-core-1'], ], [ 'name' => 'VSwitchId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '虚拟机交换机ID。', 'description' => '虚拟机交换机ID。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'vsw-hp35g7ya5ymw68mmg****'], ], [ 'name' => 'AdditionalSecurityGroupIds', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '安全组ID列表。', 'description' => '安全组ID列表。', 'type' => 'array', 'items' => ['description' => '附加安全组id', 'type' => 'string', 'required' => false, 'example' => 'sg-2ze7z8a4kxz8l0am6l09'], 'deprecated' => true, 'required' => false, 'example' => '["sg-hp3abbae8lb6lmb1****"]', ], ], [ 'name' => 'KeyPairName', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => 'ECS登录秘钥对。', 'description' => 'ECS登录秘钥对。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'test_pair'], ], [ 'name' => 'MinSize', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点组最小实例数', 'description' => '节点组最小实例数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'], ], [ 'name' => 'MaxSize', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点组最大实例数', 'description' => '节点组最大实例数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '200'], ], [ 'name' => 'EnableGracefulDecommission', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '开启优雅下线。(V303创建集群时task组默认不开启优雅下线)', 'description' => '开启优雅下线。(V303创建集群时task组默认不开启优雅下线)', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'SpotInstanceRemedy', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '是否开启补齐抢占式实例。开启后,当收到抢占式实例将被回收的系统消息时,伸缩组将尝试创建新的实例,替换掉将被回收的抢占式实例。默认值:false', 'description' => '是否开启补齐抢占式实例。开启后,当收到抢占式实例将被回收的系统消息时,伸缩组将尝试创建新的实例,替换掉将被回收的抢占式实例。默认值:false', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'NodeResizeStrategy', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点扩容策略,支持:COST_OPTIMIZED,PRIORITY 默认值:PRIORITY', 'description' => '节点扩容策略,支持:COST_OPTIMIZED,PRIORITY 默认值:PRIORITY', 'type' => 'string', 'required' => false, 'example' => 'PRIORITY'], ], [ 'name' => 'CostOptimizedConfig', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => ['title' => '成本优化模式配置', 'description' => '成本优化模式配置', 'required' => false, '$ref' => '#/components/schemas/CostOptimizedConfig'], ], [ 'name' => 'SpotBidPrices', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => '抢占式Spot实例价格上限。', 'description' => '抢占式Spot实例价格上限。spotStrategy:SpotWithPriceLimit时生效', 'type' => 'array', 'items' => ['description' => '实例的每小时最高出价。支持最大3位小数,参数SpotStrategy=SpotWithPriceLimit时,该参数生效。', 'required' => false, '$ref' => '#/components/schemas/SpotBidPrice'], 'required' => false, ], ], [ 'name' => 'EcsSpotStrategy', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '抢占式实例策略', 'description' => '抢占式实例策略', 'type' => 'string', 'required' => false, 'example' => 'SpotWithPriceLimit'], ], [ 'name' => 'InstanceTypeList', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ 'title' => 'ecs 实例规格列表。', 'description' => 'ecs 实例规格列表。', 'type' => 'array', 'items' => ['description' => '实例类型。', 'type' => 'string', 'required' => false, 'example' => 'ecs.g8a.16xlarge'], 'required' => false, 'example' => 'null', ], ], [ 'name' => 'AutoCompensateState', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '自动补偿状态。', 'description' => '自动补偿状态。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'NodeCount', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '节点组目标值', 'description' => '节点组目标值', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8'], ], [ 'name' => 'AckConfig', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => ['description' => 'Ack集群配置', 'required' => false, '$ref' => '#/components/schemas/AckConfig'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '更新集群节点组属性', 'summary' => '更新节点组属性。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], 'UpdateScript' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '119867', 'abilityTreeNodes' => ['FEATUREemapreduceY1BE2N', 'FEATUREemapreduce42QKNE'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', '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****'], ], [ 'name' => 'ScriptId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '脚本ID。', 'description' => '脚本ID。', 'type' => 'string', 'required' => true, 'example' => 'cs-da7476a7679a4d4c9cede62ebe09****'], ], [ 'name' => 'ScriptType', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '集群脚本类型。', 'description' => '脚本类型。取值范围:'."\n" ."\n" .'- BOOTSTRAP:ECS实例引导脚本。'."\n" .'- NORMAL:普通脚本。', 'type' => 'string', 'required' => true, 'example' => 'BOOTSTRAP'], ], [ 'name' => 'Script', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'json', 'schema' => ['title' => '集群脚本。', 'description' => '脚本。', 'required' => true, '$ref' => '#/components/schemas/Script'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['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' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '更新脚本', 'summary' => '更新引导脚本或者普通脚本。', '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' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], 'UpdateUserAttribute' => [ 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '119865', 'abilityTreeNodes' => ['FEATUREemapreduceQF0AGF'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', '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****'], ], [ 'name' => 'UserId', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '用户ID。', 'description' => '用户ID。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '125046002175****'], ], [ 'name' => 'UserName', 'in' => 'query', 'schema' => ['description' => '用户名称。', 'type' => 'string', 'required' => false, 'example' => 'yun****'], ], [ 'name' => 'Password', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '用户密码。', 'description' => '用户密码。', 'type' => 'string', 'required' => false, 'example' => '1234'], ], [ 'name' => 'Description', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => '用户备注。', 'description' => '用户备注。', 'type' => 'string', 'required' => false, 'example' => 'test'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'Data' => ['description' => '请求结果,取值如下:true:请求成功。 false:请求失败。', 'type' => 'boolean', 'deprecated' => true, 'example' => 'true'], 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '请求超时或者服务不可用。'], ], ], 'title' => '更新用户信息', 'summary' => '更新用户信息。', 'description' => '更新用户信息。', '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' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], ], 'endpoints' => [ ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.cn-beijing.aliyuncs.com', 'endpoint' => 'emr.cn-beijing.aliyuncs.com', 'vpc' => 'emr-vpc.cn-beijing.aliyuncs.com'], ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.cn-chengdu.aliyuncs.com', 'endpoint' => 'emr.cn-chengdu.aliyuncs.com', 'vpc' => 'emr-vpc.cn-chengdu.aliyuncs.com'], ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.cn-hangzhou.aliyuncs.com', 'endpoint' => 'emr.cn-hangzhou.aliyuncs.com', 'vpc' => 'emr-vpc.cn-hangzhou.aliyuncs.com'], ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.cn-hongkong.aliyuncs.com', 'endpoint' => 'emr.cn-hongkong.aliyuncs.com', 'vpc' => 'emr-vpc.cn-hongkong.aliyuncs.com'], ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.cn-huhehaote.aliyuncs.com', 'endpoint' => 'emr.cn-huhehaote.aliyuncs.com', 'vpc' => 'emr-vpc.cn-huhehaote.aliyuncs.com'], ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.cn-qingdao.aliyuncs.com', 'endpoint' => 'emr.cn-qingdao.aliyuncs.com', 'vpc' => 'emr-vpc.cn-qingdao.aliyuncs.com'], ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.cn-shanghai.aliyuncs.com', 'endpoint' => 'emr.cn-shanghai.aliyuncs.com', 'vpc' => 'emr-vpc.cn-shanghai.aliyuncs.com'], ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.cn-shenzhen.aliyuncs.com', 'endpoint' => 'emr.cn-shenzhen.aliyuncs.com', 'vpc' => 'emr-vpc.cn-shenzhen.aliyuncs.com'], ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'emr.cn-wulanchabu.aliyuncs.com', 'vpc' => 'emr-vpc.cn-wulanchabu.aliyuncs.com'], ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'emr.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'emr-vpc.cn-zhangjiakou.aliyuncs.com'], ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', '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' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', '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' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', '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' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', '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' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', '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' => '沙特(利雅得)', 'areaId' => 'middleEast', 'areaName' => '中东', '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' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', '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' => '河源专属云汽车合规', 'areaId' => 'industryCloud', 'areaName' => '行业云', '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' => 'ECS实例出现异常。'], ['code' => 'EMR.AssumeRole.Failed', 'message' => 'You should create a role for EMR', 'http_code' => null, 'description' => '没有对EMR进行授权,在RAM控制台中授权'], ['code' => 'ExistUnpaidOrder', 'message' => 'There are unpaid orders.', 'http_code' => 400, 'description' => 'EMR存在未支付订单。'], ['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' => 'ClientToken重复使用,不同业务参数, 使用了相同ClientToken。'], ['code' => 'IncompleteSignature', 'message' => 'The request signature is invalid.', 'http_code' => 400, 'description' => 'API请求签名不合法。'], ['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' => '不合法的Action。'], ['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' => '缺少Action参数'], ['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' => '调用ECS服务发生异常。'], ['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' => '没有指定资源 %s 的权限。'], ['code' => 'EntityNotExist.Role', 'message' => 'Authorization service role is required.', 'http_code' => 400, 'description' => '授权服务角色 %s 是 %s 所需的。'], ['code' => 'ErrorClusterNotFound', 'message' => 'Cluster not found.', 'http_code' => 404, 'description' => '集群未找到。'], ['code' => '4000', 'message' => 'The specified parameter %s is not valid. %s.', 'http_code' => 400, 'description' => '指定的参数 %s 无效。%s'], ['code' => 'Error.EntityNotExist.Role', 'message' => 'Authorization service role %s is required for %s.', 'http_code' => 400, 'description' => '授权服务角色是EMR产品所必须得。'], ['code' => 'OperationDenied', 'message' => 'The operation is invalid.', 'http_code' => 403, 'description' => '操作无效。'], ['code' => 'RequestFailed', 'message' => 'An error occurred while calling the API.', 'http_code' => 500, 'description' => '调用API时发生错误。'], ['code' => 'InvokeError.RunScalingAction', 'message' => 'An error occurred while calling runScalingAction.', 'http_code' => 500, 'description' => '调用RunScalingAction时发生错误。'], ['code' => 'AccessDenied', 'message' => 'You don\'t have required permissions.', 'http_code' => 403, 'description' => '您没有所需的权限。您未被授权在资源操作权限。请联系您的RAM管理员获取权限。'], ['code' => 'RAM.Permission.NotAllow', 'message' => 'It is not allow to execute this operation, ask your RAM administrator for permissions.', 'http_code' => 400, 'description' => '不允许执行此操作,请联系您的RAM管理员获取权限。'], ['code' => 'BusinessException', 'message' => 'An error occurred while calling the API.', 'http_code' => 500, 'description' => '调用API时发生错误。%s'], ['code' => 'FLOW_API_FAILED', 'message' => 'An error occurred while calling flow API.', 'http_code' => 500, 'description' => '调用流程API时发生错误。'], ['code' => 'MissingParameter', 'message' => 'The input parameter is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => '缺少必需参数。'], ['code' => 'DataBaseError', 'message' => 'The database field format has error.', 'http_code' => 500, 'description' => '数据库字段格式错误。'], ], 'changeSet' => [], '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' => '资源级', 'ramActions' => [ [ 'apiName' => 'ListDoctorHDFSDirectories', 'description' => '批量获取HDFS目录分析结果', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorHDFSDirectories', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateCluster', 'description' => '创建集群', 'operationType' => 'create', 'ramAction' => [ 'action' => 'emr:CreateCluster', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDoctorHBaseTable', 'description' => '获取 HBase Table 信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorHBaseTable', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'RemoveAutoScalingPolicy', 'description' => '删除弹性伸缩策略', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'emr:RemoveAutoScalingPolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateScript', 'description' => '创建脚本', 'operationType' => 'create', 'ramAction' => [ 'action' => 'emr:CreateScript', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateApiTemplate', 'description' => '更新API模板', 'operationType' => 'update', 'ramAction' => [ 'action' => 'emr:UpdateApiTemplate', 'authLevel' => '', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'IncreaseNodes', 'description' => '扩容', 'operationType' => 'update', 'ramAction' => [ 'action' => 'emr:IncreaseNodes', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListClusters', 'description' => '查询集群', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListClusters', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateClusterAttribute', 'description' => '更新集群属性', 'operationType' => 'update', 'ramAction' => [ 'action' => 'emr:UpdateClusterAttribute', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'UntagResources', 'description' => '删标签', 'operationType' => 'update', 'ramAction' => [ 'action' => 'emr:UntagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteScript', 'description' => '删除脚本', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'emr:DeleteScript', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDoctorHiveTables', 'description' => '批量获取Hive表分析结果', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorHiveTables', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListNodes', 'description' => '查询节点', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListNodes', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDoctorHBaseTables', 'description' => '批量获取 HBase Table 信息', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorHBaseTables', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetNodeGroup', 'description' => '获取节点组', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetNodeGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDoctorComputeSummary', 'description' => '批量获取集群资源使用结果', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorComputeSummary', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteApiTemplate', 'description' => '删除API模板', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'emr:DeleteApiTemplate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListUsers', 'description' => '查询用户列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListUsers', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDoctorHDFSCluster', 'description' => '获取HDFS分析结果', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorHDFSCluster', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListApiTemplates', 'description' => '查看API模板列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListApiTemplates', 'authLevel' => '', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'RunApplicationAction', 'description' => '执行应用操作', 'operationType' => 'update', 'ramAction' => [ 'action' => 'emr:RunApplicationAction', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDoctorHiveDatabase', 'description' => '获取Hive库信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorHiveDatabase', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateApiTemplate', 'description' => '创建API模板', 'operationType' => 'create', 'ramAction' => [ 'action' => 'emr:CreateApiTemplate', 'authLevel' => '', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDoctorApplications', 'description' => '批量获取任务分析结果', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorApplications', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetCluster', 'description' => '获取集群', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetCluster', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListComponentInstances', 'description' => '查询组件实例列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListComponentInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListScripts', 'description' => '查询脚本', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListScripts', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateClusterAutoRenew', 'description' => '修改集群的自动续费属性', 'operationType' => 'update', 'ramAction' => [ 'action' => 'emr:UpdateClusterAutoRenew', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTagResources', 'description' => '查询标签', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListTagResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDoctorHBaseRegion', 'description' => '获取 HBase Region 信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorHBaseRegion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetAutoScalingPolicy', 'description' => '查看自定义弹性伸缩策略', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetAutoScalingPolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDoctorJobsStats', 'description' => '批量获取任务运行汇总数据', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorJobsStats', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDoctorHDFSUGI', 'description' => '批量获取属主或属组HDFS分析结果', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorHDFSUGI', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDoctorHBaseRegionServers', 'description' => '批量获取 HBase ReagionServer 信息', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorHBaseRegionServers', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListNodeGroups', 'description' => '查询节点组', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListNodeGroups', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDoctorHBaseRegionServer', 'description' => '获取 HBase ReagionServer 信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorHBaseRegionServer', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'RunApiTemplate', 'description' => '调用API模板', 'operationType' => 'update', 'ramAction' => [ 'action' => 'emr:RunApiTemplate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListAutoScalingActivities', 'description' => '查询弹性伸缩活动', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListAutoScalingActivities', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDoctorJob', 'description' => '获取单个任务运行结果', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListApplications', 'description' => '查询应用列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListApplications', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetApplication', 'description' => '获取应用详情', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetApplication', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDoctorHBaseCluster', 'description' => '获取 HBase 集群信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorHBaseCluster', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDoctorJobs', 'description' => '批量获取任务运行结果', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorJobs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ '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}'], ], ], ], [ 'apiName' => 'UpdateUserAttribute', 'description' => '更新用户信息', 'operationType' => 'update', 'ramAction' => [ 'action' => 'emr:UpdateUserAttribute', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ExportApplicationConfigs', 'description' => '导出服务配置', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ExportApplicationConfigs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateApplicationConfigs', 'description' => '更新应用配置', 'operationType' => 'update', 'ramAction' => [ 'action' => 'emr:UpdateApplicationConfigs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'TagResources', 'description' => '打标签', 'operationType' => 'update', 'ramAction' => [ 'action' => 'emr:TagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetOperation', 'description' => '获取操作', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetOperation', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetApiTemplate', 'description' => '查看API模板内容', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetApiTemplate', 'authLevel' => '', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDoctorHiveDatabases', 'description' => '批量获取 Hive 库信息', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorHiveDatabases', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateNodeGroup', 'description' => '创建节点组', 'operationType' => 'create', 'ramAction' => [ 'action' => 'emr:CreateNodeGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'JoinResourceGroup', 'description' => '加入资源组', 'operationType' => 'update', 'ramAction' => [ 'action' => 'emr:JoinResourceGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetAutoScalingActivity', 'description' => '获取弹性伸缩活动', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetAutoScalingActivity', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListDoctorReports', 'description' => '批量获取集群报告', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListDoctorReports', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDoctorComputeSummary', 'description' => '获取集群单个资源使用结果', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorComputeSummary', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'PutManagedScalingPolicy', 'description' => '创建托管伸缩策略', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:PutManagedScalingPolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDoctorHiveCluster', 'description' => '获取 Hive 集群信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorHiveCluster', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDoctorApplication', 'description' => '获取单个任务分析结果', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorApplication', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListComponents', 'description' => '查询组件列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListComponents', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateUsers', 'description' => '批量创建用户', 'operationType' => 'create', 'ramAction' => [ 'action' => 'emr:CreateUsers', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDoctorReportComponentSummary', 'description' => '获取指定组件报告', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorReportComponentSummary', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteCluster', 'description' => '删除集群', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'emr:DeleteCluster', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetClusterCloneMeta', 'description' => '获取集群克隆元数据', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetClusterCloneMeta', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateScript', 'description' => '更新脚本', 'operationType' => 'update', 'ramAction' => [ 'action' => 'emr:UpdateScript', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetManagedScalingPolicy', 'description' => '查看托管弹性伸缩策略', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetManagedScalingPolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DecreaseNodes', 'description' => '缩容', 'operationType' => 'update', 'ramAction' => [ 'action' => 'emr:DecreaseNodes', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'RunCluster', 'description' => '创建集群', 'operationType' => 'create', 'ramAction' => [ 'action' => 'emr:RunCluster', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDoctorHDFSDirectory', 'description' => '获取HDFS特定目录分析结果', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorHDFSDirectory', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetDoctorHiveTable', 'description' => '获取Hive表分析结果', 'operationType' => 'get', 'ramAction' => [ 'action' => 'emr:GetDoctorHiveTable', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'PutAutoScalingPolicy', 'description' => '创建自定义弹性伸缩策略', 'operationType' => 'create', 'ramAction' => [ 'action' => 'emr:PutAutoScalingPolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListApplicationConfigs', 'description' => '查询应用配置', 'operationType' => 'list', 'ramAction' => [ 'action' => 'emr:ListApplicationConfigs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'resourceTypes' => [ ['validationType' => 'always', 'resourceType' => 'Cluster', 'arn' => 'acs:emr:{#regionId}:{#accountId}:Cluster/*'], ['validationType' => 'always', 'resourceType' => 'Cluster', 'arn' => 'acs:emr:{#regionId}:{#accountId}:cluster/{#Clusterld}'], ], ], ];