diff options
Diffstat (limited to 'data/en_us/emr/2021-03-20')
| -rw-r--r-- | data/en_us/emr/2021-03-20/api-docs.php | 33086 |
1 files changed, 33086 insertions, 0 deletions
diff --git a/data/en_us/emr/2021-03-20/api-docs.php b/data/en_us/emr/2021-03-20/api-docs.php new file mode 100644 index 0000000..beb2e33 --- /dev/null +++ b/data/en_us/emr/2021-03-20/api-docs.php @@ -0,0 +1,33086 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'Emr', + 'version' => '2021-03-20', + ], + 'directories' => [ + [ + 'id' => 305838, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ListReleaseVersions', + 'ListInstanceTypes', + ], + ], + [ + 'id' => 305841, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'RunCluster', + 'CreateCluster', + 'GetCluster', + 'UpdateClusterAttribute', + 'ListClusters', + 'DeleteCluster', + 'GetClusterCloneMeta', + 'UpdateClusterAutoRenew', + ], + ], + [ + 'id' => 305850, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateApiTemplate', + 'UpdateApiTemplate', + 'ListApiTemplates', + 'GetApiTemplate', + 'DeleteApiTemplate', + 'RunApiTemplate', + ], + ], + [ + 'id' => 305857, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateNodeGroup', + 'ListNodeGroups', + 'GetNodeGroup', + 'IncreaseNodes', + 'DecreaseNodes', + 'ListNodes', + ], + ], + [ + 'id' => 305864, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'PutAutoScalingPolicy', + 'PutManagedScalingPolicy', + 'GetAutoScalingPolicy', + 'GetManagedScalingPolicy', + 'RemoveAutoScalingPolicy', + 'ListAutoScalingActivities', + 'GetAutoScalingActivity', + ], + ], + [ + 'id' => 305872, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ListApplications', + 'GetApplication', + 'RunApplicationAction', + 'ListApplicationConfigs', + 'UpdateApplicationConfigs', + 'ListComponents', + 'ListComponentInstances', + ], + ], + [ + 'id' => 305880, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetOperation', + ], + ], + [ + 'id' => 305882, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'JoinResourceGroup', + ], + ], + [ + 'id' => 305884, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'TagResources', + 'UntagResources', + 'ListTagResources', + ], + ], + [ + 'id' => 305888, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateScript', + 'ListScripts', + 'UpdateScript', + 'DeleteScript', + ], + ], + [ + 'id' => 305893, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ListDoctorHiveDatabases', + 'GetDoctorHiveDatabase', + 'GetDoctorHiveCluster', + 'ListDoctorHiveTables', + 'GetDoctorHiveTable', + 'ListDoctorHDFSUGI', + 'ListDoctorHBaseTables', + 'ListDoctorHBaseRegionServers', + 'GetDoctorHBaseTable', + 'GetDoctorHBaseRegionServer', + 'GetDoctorHBaseRegion', + 'GetDoctorHBaseCluster', + 'GetDoctorHDFSDirectory', + 'ListDoctorJobsStats', + 'ListDoctorReports', + 'GetDoctorReportComponentSummary', + 'ListDoctorJobs', + 'ListDoctorComputeSummary', + 'GetDoctorComputeSummary', + 'GetDoctorJob', + 'ListDoctorApplications', + 'ListDoctorHDFSDirectories', + 'GetDoctorHDFSCluster', + 'GetDoctorApplication', + ], + ], + [ + 'id' => 305918, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateUsers', + 'DeleteUsers', + 'UpdateUserAttribute', + 'ListUsers', + ], + ], + [ + 'id' => 305923, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ExportApplicationConfigs', + ], + ], + [ + 'id' => 305925, + 'title' => null, + 'type' => 'directory', + 'children' => [], + ], + ], + 'components' => [ + 'schemas' => [ + 'ApiTemplate' => [ + 'description' => 'The API operation template.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + 'backendName' => 'id', + ], + 'GmtCreate' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1542934807000', + 'backendName' => 'gmtCreate', + ], + 'CreateTime' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1542952313000', + 'backendName' => 'createTime', + ], + 'GmtModified' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1708913029000', + 'backendName' => 'gmtModified', + ], + 'UpdateTime' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1708913029000', + 'backendName' => 'updateTime', + ], + 'RegionId' => [ + 'title' => '', + 'description' => 'The region ID.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'cn-hangzhou', + 'backendName' => 'regionId', + ], + 'UserId' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'string', + 'example' => '150***', + 'backendName' => 'userId', + ], + 'OperatorId' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'string', + 'example' => '150***', + 'backendName' => 'operatorId', + ], + 'TemplateId' => [ + 'title' => '', + 'description' => 'The template ID.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'AT-Af***', + 'backendName' => 'templateId', + ], + 'TemplateName' => [ + 'title' => '', + 'description' => 'The name of the template.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'datalakeTest1', + 'backendName' => 'templateName', + ], + 'ApiName' => [ + 'title' => '', + 'description' => 'The name of the API operation.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'CreateCluster', + 'backendName' => 'apiName', + ], + 'ResourceGroupId' => [ + 'title' => '', + 'description' => 'The resource group ID.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'rg-acfmzabjyop****', + 'backendName' => 'resourceGroupId', + ], + 'Status' => [ + 'title' => '', + 'description' => 'The status of the template.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'READY', + 'backendName' => 'status', + ], + 'Content' => [ + 'title' => '', + 'description' => 'The parameters in the API operation template.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'content'."\n", + 'backendName' => 'content', + ], + ], + ], + 'Application' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'ApplicationName' => [ + 'title' => '', + 'description' => 'The name of the application. You can view the application names of each EMR version on the cluster creation page in the EMR console.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'SPARK', + 'backendName' => 'applicationName', + ], + 'ApplicationVersion' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'string', + 'example' => '3.2.1', + 'backendName' => 'applicationVersion', + ], + ], + 'description' => '', + ], + 'ApplicationConfig' => [ + 'description' => 'The parameter configurations.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'ApplicationName' => [ + 'title' => '', + 'description' => 'The name of the application. You can view the application names of each EMR version on the cluster creation page in the EMR console.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'HDFS', + 'backendName' => 'applicationName', + ], + 'ConfigFileName' => [ + 'title' => '', + 'description' => 'The name of the configuration file.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'hdfs-site.xml', + 'backendName' => 'configFileName', + ], + 'ConfigItemKey' => [ + 'title' => '', + 'description' => 'The key of the configuration item.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'dfs.namenode.checkpoint.period', + 'backendName' => 'configItemKey', + ], + 'ConfigItemValue' => [ + 'title' => '', + 'description' => 'The value of the configuration item.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => '3600s', + 'backendName' => 'configItemValue', + ], + 'ConfigScope' => [ + 'title' => '', + 'description' => 'The level at which you want to apply the configurations. Valid values:'."\n" + ."\n" + .'* CLUSTER'."\n" + .'* NODE_GROUP'."\n" + ."\n" + .'Default value: CLUSTER.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'NODE_GROUP', + 'backendName' => 'configScope', + ], + 'NodeGroupName' => [ + 'title' => '', + 'description' => 'The name of the node group. This parameter takes effect only when the ConfigScope parameter is set to NODE_GROUP and the NodeGroupId parameter is not configured.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'core-1', + 'backendName' => 'nodeGroupName', + ], + 'NodeGroupId' => [ + 'title' => '', + 'description' => 'The node group ID. This parameter takes effect only when the ConfigScope parameter is set to NODE_GROUP. The NodeGroupId parameter has a higher priority than the NodeGroupName parameter.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'ng-869471354ecd****', + 'backendName' => 'nodeGroupId', + ], + ], + ], + 'Cluster' => [ + 'title' => '', + 'description' => 'The cluster.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'title' => '', + 'description' => 'The region ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'cn-hangzhou', + 'backendName' => 'regionId', + ], + 'ResourceGroupId' => [ + 'title' => '', + 'description' => 'The resource group ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'rg-acfmzabjyop****', + 'backendName' => 'resourceGroupId', + ], + 'ClusterId' => [ + 'title' => '', + 'description' => 'The cluster ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'c-b933c5aac8fe****', + 'backendName' => 'clusterId', + ], + 'ClusterName' => [ + 'title' => '', + 'description' => 'The name of the cluster.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'emrtest', + 'backendName' => 'clusterName', + ], + 'ClusterType' => [ + 'title' => '', + 'description' => 'The type of the cluster. Valid values:'."\n" + ."\n" + .'* DATALAKE'."\n" + .'* OLAP'."\n" + .'* DATAFLOW'."\n" + .'* DATASERVING'."\n" + .'* CUSTOM'."\n" + .'* HADOOP'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'DATALAKE', + 'backendName' => 'clusterType', + ], + 'ClusterState' => [ + 'title' => '', + 'description' => 'The status of the cluster. Valid values:'."\n" + ."\n" + .'* STARTING'."\n" + .'* START_FAILED'."\n" + .'* BOOTSTRAPPING'."\n" + .'* RUNNING'."\n" + .'* TERMINATING'."\n" + .'* TERMINATED'."\n" + .'* TERMINATED_WITH_ERRORS'."\n" + .'* TERMINATE_FAILED'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'RUNNING', + 'backendName' => 'clusterState', + ], + 'StateChangeReason' => [ + 'description' => 'The reason of the cluster status change.'."\n", + 'visibility' => 'public', + 'backendName' => 'stateChangeReason', + '$ref' => '#/components/schemas/ClusterStateChangeReason', + ], + 'PaymentType' => [ + 'title' => '', + 'description' => 'The billing method of the cluster. Valid values:'."\n" + ."\n" + .'* PayAsYouGo'."\n" + .'* Subscription'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'PayAsYouGo', + 'backendName' => 'paymentType', + ], + 'SubscriptionConfig' => [ + 'title' => '', + 'description' => 'The subscription configurations.'."\n", + 'visibility' => 'public', + 'backendName' => 'subscriptionConfig', + '$ref' => '#/components/schemas/SubscriptionConfig', + ], + 'CreateTime' => [ + 'title' => '', + 'description' => 'The timestamp when the cluster is created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1592837465784', + 'backendName' => 'createTime', + ], + 'ReadyTime' => [ + 'title' => '', + 'description' => 'The timestamp when the cluster starts to be available. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1592837465784', + 'backendName' => 'readyTime', + ], + 'EndTime' => [ + 'title' => '', + 'description' => 'The timestamp when the cluster is deleted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1592837465784', + 'backendName' => 'endTime', + ], + 'ExpireTime' => [ + 'title' => '', + 'description' => 'The timestamp when the cluster expires. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1592837465784', + 'backendName' => 'expireTime', + ], + 'ReleaseVersion' => [ + 'title' => '', + 'description' => 'The EMR version.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'EMR-5.8.0', + 'backendName' => 'releaseVersion', + ], + 'DeployMode' => [ + 'title' => '', + 'description' => 'The deployment mode of master nodes in the cluster. Valid values:'."\n" + ."\n" + .'* NORMAL: regular mode.'."\n" + .'* HA: high availability (HA) mode.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'HA', + 'backendName' => 'deployMode', + ], + 'SecurityMode' => [ + 'title' => '', + 'description' => 'The security mode of the cluster. Valid values:'."\n" + ."\n" + .'* NORMAL: regular mode. Kerberos authentication is not enabled.'."\n" + .'* KERBEROS: Security mode. Kerberos authentication is enabled.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'NORMAL', + 'backendName' => 'securityMode', + ], + 'NodeAttributes' => [ + 'title' => '', + 'description' => 'The node attributes.'."\n", + 'visibility' => 'public', + 'backendName' => 'nodeAttributes', + '$ref' => '#/components/schemas/NodeAttributes', + ], + 'Tags' => [ + 'title' => '', + 'description' => 'The tags.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The tag.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/Tag', + ], + 'backendName' => 'tags', + 'itemName' => 'Tag', + ], + 'EmrDefaultRole' => [ + 'title' => '', + 'description' => 'The default role of EMR.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'AliyunEMRDefaultRole', + 'backendName' => 'emrDefaultRole', + ], + 'VpcId' => [ + 'title' => 'VpcId', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'string', + 'deprecated' => true, + 'example' => 'vpc-bp1tgey2p0ytxmdo5****', + 'backendName' => 'vpcId', + ], + 'LogCollectStrategy' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'string', + 'backendName' => 'logCollectStrategy', + ], + 'Description' => [ + 'title' => '', + 'description' => 'The cluster description.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'EMR cluster', + 'backendName' => 'description', + ], + 'DeletionProtection' => [ + 'title' => '', + 'description' => 'Indicates whether the release protection is enabled. Valid values: true and false.'."\n", + 'visibility' => 'Public', + 'type' => 'boolean', + 'example' => 'false', + 'backendName' => 'deletionProtection', + ], + ], + ], + 'ClusterStateChangeReason' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '', + 'description' => 'The status code. Valid values:'."\n" + ."\n" + .'* UserRequest: A user request is initiated.'."\n" + .'* OutOfStock: The ECS instances of the requested type are out of stock.'."\n" + .'* NotAuthorized: The required permission is not granted.'."\n" + .'* QuotaExceeded: The quota is exceeded.'."\n" + .'* OperationDenied: The operation is denied.'."\n" + .'* AccountException: The account is abnormal.'."\n" + .'* NodeFailure: The ECS instance is abnormal.'."\n" + .'* BootstrapFailure: The bootstrap action fails.'."\n" + .'* ValidationFail: The business logic verification fails.'."\n" + .'* ServiceFailure: Other services on which the current service depends fail.'."\n" + .'* InternalError: An internal error occurs.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'OutOfStock', + 'backendName' => 'code', + ], + 'Message' => [ + 'title' => '', + 'description' => 'The information about the cluster status change.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', + 'backendName' => 'message', + ], + ], + 'description' => '', + ], + 'ClusterSummary' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'ClusterId' => [ + 'title' => '', + 'description' => 'The cluster ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'c-b933c5aac8fe****', + 'backendName' => 'clusterId', + ], + 'ClusterName' => [ + 'title' => '', + 'description' => 'The name of the cluster.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'emrtest', + 'backendName' => 'clusterName', + ], + 'ClusterType' => [ + 'title' => '', + 'description' => 'The type of the cluster. Valid values:'."\n" + ."\n" + .'* DATALAKE'."\n" + .'* OLAP'."\n" + .'* DATAFLOW'."\n" + .'* DATASERVING'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'DATALAKE', + 'backendName' => 'clusterType', + ], + 'ClusterState' => [ + 'title' => '', + 'description' => 'The status of the cluster. Valid values:'."\n" + ."\n" + .'* STARTING'."\n" + .'* START_FAILED'."\n" + .'* BOOTSTRAPPING'."\n" + .'* RUNNING'."\n" + .'* TERMINATING'."\n" + .'* TERMINATED'."\n" + .'* TERMINATED_WITH_ERRORS'."\n" + .'* TERMINATE_FAILED'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'RUNNING', + 'backendName' => 'clusterState', + ], + 'PaymentType' => [ + 'title' => '', + 'description' => 'The billing method of the cluster. Valid values:'."\n" + ."\n" + .'* PayAsYouGo'."\n" + .'* Subscription'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'PayAsYouGo', + 'backendName' => 'paymentType', + ], + 'CreateTime' => [ + 'title' => '', + 'description' => 'The creation time.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1592837465788', + 'backendName' => 'createTime', + ], + 'ReadyTime' => [ + 'title' => '', + 'description' => 'The time when the cluster is available.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1592837465788', + 'backendName' => 'readyTime', + ], + 'ExpireTime' => [ + 'title' => '', + 'description' => 'The expiration time.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1592837475788', + 'backendName' => 'expireTime', + ], + 'EndTime' => [ + 'title' => '', + 'description' => 'The deletion time.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1592837485788', + 'backendName' => 'endTime', + ], + 'ReleaseVersion' => [ + 'title' => '', + 'description' => 'The EMR version.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'EMR-5.8.0', + 'backendName' => 'releaseVersion', + ], + 'ResourceGroupId' => [ + 'title' => '', + 'description' => 'The resource group ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'rg-acfmzabjyop****', + 'backendName' => 'resourceGroupId', + ], + 'StateChangeReason' => [ + 'title' => '', + 'description' => 'The reason for the failure.'."\n", + 'visibility' => 'public', + 'backendName' => 'stateChangeReason', + '$ref' => '#/components/schemas/ClusterStateChangeReason', + ], + 'Tags' => [ + 'title' => '', + 'description' => 'The tags.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The tag.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/Tag', + ], + 'backendName' => 'tags', + 'itemName' => 'Tag', + ], + 'EmrDefaultRole' => [ + 'title' => '', + 'description' => 'The EMR service role.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'AliyunEMRDefaultRole', + 'backendName' => 'emrDefaultRole', + ], + 'Description' => [ + 'title' => '', + 'description' => 'The cluster description.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'EMR cluster', + 'backendName' => 'description', + ], + 'DeletionProtection' => [ + 'title' => 'DeletionProtection', + 'description' => 'Specifies whether to enable release protection.'."\n", + 'visibility' => 'Public', + 'type' => 'boolean', + 'example' => 'false', + 'backendName' => 'deletionProtection', + ], + ], + 'description' => '', + ], + 'ComponentInstanceSelector' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'ActionScope' => [ + 'visibility' => 'public', + 'type' => 'string', + 'deprecated' => true, + 'backendName' => 'actionScope', + 'title' => '', + 'description' => '', + ], + 'RunActionScope' => [ + 'title' => '', + 'description' => 'The execution scope. Valid values:'."\n" + ."\n" + .'* APPLICATION'."\n" + .'* COMPONENT'."\n" + .'* COMPONENT_INSTANCE'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'APPLICATION', + 'backendName' => 'runActionScope', + ], + 'NodeGroupIds' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'array', + 'items' => [ + 'visibility' => 'public', + 'type' => 'string', + 'extendType' => 'true', + ], + 'example' => '["ng-869471354ecd****"]', + 'backendName' => 'nodeGroupIds', + 'itemName' => 'String', + ], + 'NodeIds' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'array', + 'items' => [ + 'visibility' => 'public', + 'type' => 'string', + 'extendType' => 'true', + ], + 'example' => '["i-bp1cudc25w2bfwl5****"]', + 'backendName' => 'nodeIds', + 'itemName' => 'String', + ], + 'ApplicationNames' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'array', + 'items' => [ + 'visibility' => 'public', + 'type' => 'string', + 'extendType' => 'true', + ], + 'example' => '["HDFS"]', + 'backendName' => 'applicationNames', + 'itemName' => 'String', + ], + 'ApplicationName' => [ + 'title' => '', + 'description' => 'The name of the application.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'HDFS', + 'backendName' => 'applicationName', + ], + 'Components' => [ + 'title' => '', + 'description' => 'The components. This parameter takes effect only when the RunActionScope parameter is set to COMPONENT.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'ApplicationName' => [ + 'title' => '', + 'description' => 'The name of the application.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'HDFS', + 'backendName' => 'applicationName', + ], + 'ComponentName' => [ + 'title' => '', + 'description' => 'The name of the component.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'DataNode', + 'backendName' => 'componentName', + ], + ], + 'extendType' => 'true', + ], + 'backendName' => 'components', + 'itemName' => 'Component', + ], + 'ComponentInstances' => [ + 'title' => '', + 'description' => 'The component instances. This parameter takes effect only when the RunActionScope parameter is set to COMPONENT_INSTANCE.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'ApplicationName' => [ + 'title' => '', + 'description' => 'The name of the application.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'HDFS', + 'backendName' => 'applicationName', + ], + 'ComponentName' => [ + 'title' => '', + 'description' => 'The name of the component.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'DataNode', + 'backendName' => 'componentName', + ], + 'NodeId' => [ + 'title' => '', + 'description' => 'The node ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'i-bp1cudc25w2bfwl5****', + 'backendName' => 'nodeId', + ], + ], + 'extendType' => 'true', + ], + 'backendName' => 'componentInstances', + 'itemName' => 'ComponentInstance', + ], + ], + 'title' => '', + 'description' => '', + ], + 'CostOptimizedConfig' => [ + 'description' => 'The configurations of the cost optimization policy.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'OnDemandBaseCapacity' => [ + 'title' => '', + 'description' => 'The minimum number of pay-as-you-go instances that are required for the node group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, pay-as-you-go instances are preferentially created.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '80', + 'backendName' => 'onDemandBaseCapacity', + ], + 'OnDemandPercentageAboveBaseCapacity' => [ + 'title' => '', + 'description' => 'The percentage of pay-as-you-go instances among the instances that exceed the number specified by the OnDemandBaseCapacity parameter for the node group. Valid values: 0 to 100.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '80', + 'backendName' => 'onDemandPercentageAboveBaseCapacity', + ], + 'SpotInstancePools' => [ + 'title' => '', + 'description' => 'The number of instance types that are specified. Preemptible instances of multiple instance types that are provided at the lowest price are evenly created in the scaling group. Valid values: 0 to 10.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '2', + 'backendName' => 'spotInstancePools', + ], + ], + ], + 'DataDisk' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'Category' => [ + 'title' => '', + 'description' => 'The disk type. Valid values:'."\n" + ."\n" + .'* cloud_efficiency: ultra disk'."\n" + .'* cloud_ssd: standard SSD'."\n" + .'* cloud_essd: enhanced SSD (ESSD)'."\n" + .'* cloud: basic disk'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'cloud_essd', + 'backendName' => 'category', + ], + 'Size' => [ + 'title' => '', + 'description' => 'The size. Unit: GB.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '80', + 'backendName' => 'size', + ], + 'PerformanceLevel' => [ + 'title' => '', + 'description' => 'The performance level of the ESSD that is used as the data disk. Valid values:'."\n" + ."\n" + .'* PL0: A single ESSD can provide up to 10,000 random read/write IOPS.'."\n" + .'* PL1: A single ESSD can provide up to 50,000 random read/write IOPS.'."\n" + .'* PL2: A single ESSD can provide up to 100,000 random read/write IOPS.'."\n" + .'* PL3: A single ESSD can provide up to 1,000,000 random read/write IOPS.'."\n" + ."\n" + .'Default value: PL1.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'PL1', + 'backendName' => 'performanceLevel', + ], + 'Count' => [ + 'title' => '', + 'description' => 'The number of disks.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + 'backendName' => 'count', + ], + ], + 'description' => '', + ], + 'InstanceType' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'InstanceTypeFamily' => [ + 'title' => '', + 'description' => 'The instance family to which the instance type belongs. For information about the valid values of InstanceTypeFamily, see [DescribeInstanceTypeFamilies](~~25621~~).'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'ecs.g6', + 'backendName' => 'instanceTypeFamily', + ], + 'InstanceType' => [ + 'title' => '', + 'description' => 'The instance type of the ECS instance. For more information, see [Overview of ECS instance families](~~25378~~).'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'ecs.g6.large', + 'backendName' => 'instanceType', + ], + 'Status' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'string', + 'example' => 'Available', + 'backendName' => 'status', + ], + 'StockStatus' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'string', + 'example' => 'WithStock', + 'backendName' => 'stockStatus', + ], + 'Optimized' => [ + 'title' => '', + 'description' => 'Indicates whether the instance is I/O optimized. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'visibility' => 'public', + 'type' => 'boolean', + 'example' => 'true', + 'backendName' => 'optimized', + ], + 'CpuCore' => [ + 'title' => '', + 'description' => 'The number of vCPUs.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4', + 'backendName' => 'cpuCore', + ], + 'InstanceCategory' => [ + 'title' => '', + 'description' => 'The category of the instance type. Valid values:'."\n" + ."\n" + .'* General-purpose'."\n" + .'* Compute-optimized'."\n" + .'* Memory-optimized'."\n" + .'* Big data'."\n" + .'* Local SSDs'."\n" + .'* High Clock Speed'."\n" + .'* Enhanced'."\n" + .'* Shared'."\n" + .'* Compute-optimized with GPU'."\n" + .'* Visual Compute-optimized'."\n" + .'* Heterogeneous Service'."\n" + .'* Compute-optimized with FPGA'."\n" + .'* Compute-optimized with NPU'."\n" + .'* ECS Bare Metal'."\n" + .'* Super Computing Cluster'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'Compute-optimized', + 'backendName' => 'instanceCategory', + ], + 'CpuArchitecture' => [ + 'title' => '', + 'description' => 'The CPU architecture. Valid values:'."\n" + ."\n" + .'* X86'."\n" + .'* ARM'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'X86', + 'backendName' => 'cpuArchitecture', + ], + 'LocalStorageCapacity' => [ + 'title' => '', + 'description' => 'The capacity of each local disk attached per instance. Unit: GiB.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '40', + 'backendName' => 'localStorageCapacity', + ], + 'LocalStorageAmount' => [ + 'title' => '', + 'description' => 'The number of local disks per instance.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + 'backendName' => 'localStorageAmount', + ], + ], + 'description' => '', + ], + 'ManagedScalingConstraints' => [ + 'description' => 'The limits on managed auto scaling activities.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'MaxCapacity' => [ + 'title' => '', + 'description' => 'The maximum number of nodes in a node group.'."\n", + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2000', + 'backendName' => 'maxCapacity', + ], + 'MinCapacity' => [ + 'title' => '', + 'description' => 'The minimum number of nodes in a node group.'."\n", + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + 'backendName' => 'minCapacity', + ], + 'MaxOnDemandCapacity' => [ + 'title' => '', + 'description' => 'The maximum number of pay-as-you-go task nodes.'."\n", + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + 'backendName' => 'maxOnDemandCapacity', + ], + ], + ], + 'MetricsTrigger' => [ + 'description' => 'The information about the auto scaling rule triggered by metric.', + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'TimeWindow' => [ + 'title' => '', + 'description' => 'The time window for statistics. This parameter is required. Unit: seconds. Valid values: 30 to 1800.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '30', + 'backendName' => 'timeWindow', + ], + 'EvaluationCount' => [ + 'title' => '', + 'description' => 'The number of times that the statistics are collected. This parameter is required. Valid values: 1 to 5.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '2', + 'backendName' => 'evaluationCount', + ], + 'CoolDownInterval' => [ + 'title' => '', + 'description' => 'The cooldown interval. Unit: seconds. Valid values: 0 to 10800.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '300', + 'backendName' => 'coolDownInterval', + ], + 'TimeConstraints' => [ + 'title' => '', + 'description' => 'The limits on time.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The limit on time.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/TimeConstraint', + ], + 'backendName' => 'timeConstraints', + 'itemName' => 'TimeConstraint', + ], + 'ConditionLogicOperator' => [ + 'title' => '', + 'description' => 'The logical relationship between multiple metrics. Valid values:'."\n" + ."\n" + .'* And'."\n" + .'* Or (default)'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'Or', + 'backendName' => 'conditionLogicOperator', + ], + 'Conditions' => [ + 'title' => '', + 'description' => 'The trigger conditions for the metric.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The trigger threshold. This parameter is required.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/TriggerCondition', + ], + 'backendName' => 'conditions', + 'itemName' => 'TriggerCondition', + ], + ], + ], + 'Node' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'ZoneId' => [ + 'title' => '', + 'description' => 'The zone ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'cn-beijing-h', + 'backendName' => 'zoneId', + ], + 'NodeGroupId' => [ + 'title' => '', + 'description' => 'The node group ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'ng-869471354ecd****', + 'backendName' => 'nodeGroupId', + ], + 'NodeGroupType' => [ + 'title' => '', + 'description' => 'The type of the node group. Valid values:'."\n" + ."\n" + .'* MASTER'."\n" + .'* CORE'."\n" + .'* TASK'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'CORE', + 'backendName' => 'nodeGroupType', + ], + 'NodeId' => [ + 'title' => '', + 'description' => 'The node ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'i-bp1cudc25w2bfwl5****', + 'backendName' => 'nodeId', + ], + 'NodeName' => [ + 'title' => '', + 'description' => 'The name of the node.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'core1-1', + 'backendName' => 'nodeName', + ], + 'PublicIp' => [ + 'title' => '', + 'description' => 'The public IP address.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => '42.1.1.**', + 'backendName' => 'publicIp', + ], + 'PrivateIp' => [ + 'title' => '', + 'description' => 'The private IP address.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => '10.10.**.**', + 'backendName' => 'privateIp', + ], + 'InstanceType' => [ + 'title' => '', + 'description' => 'The type of the instance. You can call the [DescribeInstanceTypes](~~25620~~) operation of the ECS service to obtain available instance types.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'ecs.g7.xlarge', + 'backendName' => 'instanceType', + ], + 'NodeState' => [ + 'title' => '', + 'description' => 'The status of the node. Valid values:'."\n" + ."\n" + .'* Pending: The node is being created.'."\n" + .'* Starting: The node is being started.'."\n" + .'* Running: The node is running.'."\n" + .'* Stopping: The node is being stopped.'."\n" + .'* Stopped: The node is stopped.'."\n" + .'* Terminated: The node is terminated.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'Running', + 'backendName' => 'nodeState', + ], + 'MaintenanceStatus' => [ + 'title' => '', + 'description' => 'The status of the O\\&M mode. Valid values:'."\n" + ."\n" + .'* ON: The cluster is in O\\&M mode.'."\n" + .'* OFF: The cluster is not in O\\&M mode.'."\n" + ."\n" + .'If you do not configure this parameter, the cluster is not in O\\&M mode.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'backendName' => 'maintenanceStatus', + ], + 'ExpireTime' => [ + 'title' => '', + 'description' => 'The expiration time of the node.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1603728394857', + 'backendName' => 'expireTime', + ], + 'AutoRenew' => [ + 'title' => '', + 'description' => 'Specifies whether auto-renewal is enabled for the node. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'visibility' => 'public', + 'type' => 'boolean', + 'example' => 'false', + 'backendName' => 'autoRenew', + ], + 'AutoRenewDuration' => [ + 'title' => '', + 'description' => 'The auto-renewal duration for the node.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'backendName' => 'autoRenewDuration', + ], + 'AutoRenewDurationUnit' => [ + 'title' => '', + 'description' => 'The unit of the auto-renewal duration for the node.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'Month', + 'backendName' => 'autoRenewDurationUnit', + ], + 'CreateTime' => [ + 'title' => '', + 'description' => 'The creation time of the node.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1603728394857', + 'backendName' => 'createTime', + ], + ], + 'description' => '', + ], + 'NodeAttributes' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'VpcId' => [ + 'title' => '', + 'description' => 'The virtual private cloud (VPC) ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'vpc-bp1tgey2p0ytxmdo5****', + 'backendName' => 'vpcId', + ], + 'ZoneId' => [ + 'title' => '', + 'description' => 'The zone ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing-h', + 'backendName' => 'zoneId', + ], + 'SecurityGroupId' => [ + 'title' => '', + 'description' => 'The security group ID. E-MapReduce (EMR) supports only basic security groups.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'sg-hp3abbae8lb6lmb1****', + 'backendName' => 'securityGroupId', + ], + 'RamRole' => [ + 'title' => '', + 'description' => 'The RAM role that you want to associate with EMR to access other Alibaba Cloud resources from Elastic Compute Service (ECS). Default value: AliyunECSInstanceForEMRRole.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'AliyunECSInstanceForEMRRole', + 'backendName' => 'ramRole', + ], + 'KeyPairName' => [ + 'title' => '', + 'description' => 'The SSH key pair that is used to log on to the ECS instance.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'emr_login', + 'backendName' => 'keyPairName', + ], + 'MasterRootPassword' => [ + 'title' => '', + 'description' => 'The password of the root user that you use to log on to the master node. If this parameter is used as the response parameter of the API operation, no value is returned.'."\n", + 'visibility' => 'Private', + 'type' => 'string', + 'example' => 'Adxefswfd****', + 'backendName' => 'masterRootPassword', + 'sensitive' => true, + ], + 'SystemDiskEncrypted' => [ + 'title' => '', + 'description' => 'Specifies whether to enable the disk encryption feature. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false (default)'."\n", + 'visibility' => 'Private', + 'type' => 'boolean', + 'example' => 'false', + 'backendName' => 'systemDiskEncrypted', + ], + 'SystemDiskKMSKeyId' => [ + 'title' => '', + 'description' => 'The ID of the key that is managed by Key Management Service (KMS).'."\n", + 'visibility' => 'Private', + 'type' => 'string', + 'example' => '0e478b7a-4262-4802-b8cb-00d3fb40****', + 'backendName' => 'systemDiskKMSKeyId', + ], + 'DataDiskEncrypted' => [ + 'title' => '', + 'description' => 'Specifies whether to enable the data disk encryption feature. For more information, see [Encrypt cloud disks](https://www.alibabacloud.com/help/en/ecs/user-guide/encryption-overview). Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false (default)'."\n", + 'visibility' => 'Private', + 'type' => 'boolean', + 'example' => 'false', + 'backendName' => 'dataDiskEncrypted', + ], + 'DataDiskKMSKeyId' => [ + 'title' => '', + 'description' => 'The ID of the KMS key.'."\n", + 'visibility' => 'Private', + 'type' => 'string', + 'example' => '0e478b7a-4262-4802-b8cb-00d3fb40****', + 'backendName' => 'dataDiskKMSKeyId', + ], + 'DiskEncrypted' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'boolean', + 'example' => 'false', + 'backendName' => 'diskEncrypted', + ], + 'DiskKMSKeyId' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'string', + 'example' => '0e478b7a-4262-4802-b8cb-00d3fb40****', + 'backendName' => 'diskKMSKeyId', + ], + ], + 'description' => '', + ], + 'NodeGroup' => [ + 'description' => 'The node group.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'ZoneId' => [ + 'title' => '', + 'description' => 'The zone ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'cn-hangzhou', + 'backendName' => 'zoneId', + ], + 'NodeGroupId' => [ + 'title' => '', + 'description' => 'The node group ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'ng-869471354ecd****', + 'backendName' => 'nodeGroupId', + ], + 'NodeGroupName' => [ + 'title' => '', + 'description' => 'The name of the node group.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'core-1', + 'backendName' => 'nodeGroupName', + ], + 'NodeGroupType' => [ + 'title' => '', + 'description' => 'The type of the node group. Valid values:'."\n" + ."\n" + .'* MASTER'."\n" + .'* CORE'."\n" + .'* TASK'."\n" + .'* GATEWAY This parameter is invalid for DataLake, OLAP, and DataServing clusters.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'MASTER', + 'backendName' => 'nodeGroupType', + ], + 'RunningNodeCount' => [ + 'title' => '', + 'description' => 'The number of active nodes.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + 'backendName' => 'runningNodeCount', + ], + 'InstanceTypes' => [ + 'title' => '', + 'description' => 'The instance types.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The type of the instance.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'ecs.g7.2xlarge', + 'extendType' => 'true', + ], + 'example' => '["ecs.g6.4xlarge"]', + 'backendName' => 'instanceTypes', + 'itemName' => 'String', + ], + 'PaymentType' => [ + 'title' => '', + 'description' => 'The billing method. Valid values: Subscription and PayAsYouGo.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'Subscription', + 'backendName' => 'paymentType', + ], + 'DataDisks' => [ + 'title' => '', + 'description' => 'The data disks.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The data disk.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/DataDisk', + ], + 'backendName' => 'dataDisks', + 'itemName' => 'DataDisk', + ], + 'SystemDisk' => [ + 'title' => '', + 'description' => 'The system disk.'."\n", + 'visibility' => 'public', + 'backendName' => 'systemDisk', + '$ref' => '#/components/schemas/SystemDisk', + ], + 'NodeGroupState' => [ + 'title' => '', + 'description' => 'The status of the node group.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'RESIZING', + 'backendName' => 'nodeGroupState', + ], + 'AdditionalSecurityGroupIds' => [ + 'title' => '', + 'description' => 'The ID of new security group N.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'visibility' => 'public', + 'type' => 'string', + 'extendType' => 'true', + 'description' => '', + ], + 'example' => '["sg-hp3abbae8lb6lmb1****"]', + 'backendName' => 'additionalSecurityGroupIds', + 'itemName' => 'String', + ], + 'WithPublicIp' => [ + 'title' => '', + 'description' => 'Indicates whether a public IP address is assigned.'."\n", + 'visibility' => 'public', + 'type' => 'boolean', + 'example' => 'true', + 'backendName' => 'withPublicIp', + ], + 'VSwitchIds' => [ + 'title' => '', + 'description' => 'The vSwitch IDs.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The vSwitch ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'vsw-bp1opd2qejvhsabfe****', + 'extendType' => 'true', + ], + 'example' => '["vsw-hp35g7ya5ymw68mmg****"]', + 'backendName' => 'vSwitchIds', + 'itemName' => 'String', + ], + 'SpotStrategy' => [ + 'title' => '', + 'description' => 'The usage policy of the spot instance. Valid values:'."\n" + ."\n" + .'* NoSpot: No spot instances are used.'."\n" + .'* SpotWithPriceLimit: Spot instances with a custom maximum price are used.'."\n" + .'* SpotAsPriceGo: Spot instances are used. The system automatically adjusts the upper limit of the price. The maximum price does not exceed the price of a pay-as-you-go instance.'."\n" + ."\n" + .'Default value: NoSpot.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'NoSpot', + 'backendName' => 'spotStrategy', + ], + 'SpotBidPrices' => [ + 'title' => '', + 'description' => 'The bid prices of the preemptible instances. The parameter takes effect only if the SpotStrategy parameter is set to SpotWithPriceLimit. Number of elements in the array: 0 to 100.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The bid prices of the preemptible instances.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/SpotBidPrice', + ], + 'backendName' => 'spotBidPrices', + 'itemName' => 'SpotBidPrice', + ], + 'StateChangeReason' => [ + 'title' => '', + 'description' => 'The reason of the status change.'."\n", + 'visibility' => 'public', + 'example' => 'Specifies whether to enable graceful shutdown for components in the node group. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false: does not enable graceful disconnection.'."\n", + 'backendName' => 'stateChangeReason', + '$ref' => '#/components/schemas/NodeGroupStateChangeReason', + ], + 'MinimalNodeCount' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'integer', + 'format' => 'int32', + 'deprecated' => true, + 'example' => '0', + 'backendName' => 'minimalNodeCount', + ], + 'MaximalNodeCount' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'integer', + 'format' => 'int32', + 'deprecated' => true, + 'example' => '200', + 'backendName' => 'maximalNodeCount', + ], + 'GracefulShutdown' => [ + 'title' => '', + 'description' => 'Indicates whether graceful shutdown is enabled for services in the node group. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'visibility' => 'public', + 'type' => 'boolean', + 'example' => 'false', + 'backendName' => 'gracefulShutdown', + ], + 'SpotInstanceRemedy' => [ + 'title' => '', + 'description' => 'Indicates whether preemptible instances are supplemented. If you set this parameter to true, the system attempts to create another instance in the scaling group when the system notifies that an existing preemptible instance is about to be reclaimed. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n" + ."\n" + .'Default value: false.'."\n", + 'visibility' => 'public', + 'type' => 'boolean', + 'example' => 'false', + 'backendName' => 'spotInstanceRemedy', + ], + 'CompensateWithOnDemand' => [ + 'title' => '', + 'description' => 'Indicates whether Auto Scaling can create pay-as-you-go instances to supplement preemptible instances if preemptible instances cannot be created due to price-related factors or insufficient inventory when the NodeResizeStrategy parameter is set to COST_OPTIMIZED.'."\n", + 'visibility' => 'Public', + 'type' => 'boolean', + 'example' => 'true', + 'backendName' => 'compensateWithOnDemand', + ], + 'NodeResizeStrategy' => [ + 'title' => '', + 'description' => '* The scaling policy for the node. Valid values: COST_OPTIMIZED'."\n" + .'* PRIORITY'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'PRIORITY', + 'backendName' => 'nodeResizeStrategy', + ], + 'CostOptimizedConfig' => [ + 'title' => '', + 'description' => 'The configurations of the cost optimization policy.'."\n", + 'visibility' => 'public', + 'backendName' => 'costOptimizedConfig', + '$ref' => '#/components/schemas/CostOptimizedConfig', + ], + 'DeploymentSetStrategy' => [ + 'title' => '', + 'description' => 'The deployment set policy. Valid values:'."\n" + ."\n" + .'* NONE: No deployment sets are used.'."\n" + .'* CLUSTER: Deployment sets at the cluster level are used.'."\n" + .'* NODE_GROUP: Deployment sets at the node group level are used.'."\n" + ."\n" + .'Default value: NONE.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'NONE', + 'backendName' => 'deploymentSetStrategy', + ], + 'AutoCompensateState' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'boolean', + 'example' => 'false', + 'backendName' => 'autoCompensateState', + ], + 'ExtraAttributes' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'object', + 'additionalProperties' => [ + 'description' => '', + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'true', + ], + 'example' => '{}', + 'backendName' => 'extraAttributes', + ], + 'AckConfig' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'backendName' => 'ackConfig', + '$ref' => '#/components/schemas/AckConfig', + ], + 'IaaSType' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'string', + 'backendName' => 'iaaSType', + ], + 'PrivatePoolOptions' => [ + 'title' => '', + 'description' => 'The settings of the private pool that is associated with the node group.'."\n", + 'visibility' => 'Public', + 'backendName' => 'privatePoolOptions', + '$ref' => '#/components/schemas/PrivatePoolOptions', + ], + 'Status' => [ + 'title' => '', + 'description' => 'The status of the node group.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'CREATED', + 'backendName' => 'status', + ], + ], + ], + 'NodeGroupConfig' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'WithPublicIp' => [ + 'title' => '', + 'description' => 'Indicates whether a public IP address is assigned. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n" + ."\n" + .'Default value: false.'."\n", + 'visibility' => 'public', + 'type' => 'boolean', + 'example' => 'false', + 'backendName' => 'withPublicIp', + ], + 'SpotInstanceRemedy' => [ + 'title' => '', + 'description' => 'Indicates whether preemptible instances are supplemented. If you set this parameter to true, the system attempts to create another instance in the scaling group when the system notifies that an existing preemptible instance is about to be reclaimed. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n" + ."\n" + .'Default value: false.'."\n", + 'visibility' => 'public', + 'type' => 'boolean', + 'example' => 'true', + 'backendName' => 'spotInstanceRemedy', + ], + 'ComponentTags' => [ + 'title' => '', + 'description' => 'The optional services.'."\n", + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'visibility' => 'Public', + 'type' => 'string', + 'extendType' => 'true', + 'description' => '', + ], + 'backendName' => 'componentTags', + 'itemName' => 'String', + ], + 'DataDisks' => [ + 'title' => '', + 'description' => 'The data disk. Only one disk type is supported. You can specify only one element in the array.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The data disk.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/DataDisk', + ], + 'maxItems' => 1, + 'backendName' => 'dataDisks', + 'itemName' => 'DataDisk', + ], + 'CompensateWithOnDemand' => [ + 'title' => '', + 'description' => 'Indicates whether Auto Scaling can create pay-as-you-go instances to supplement preemptible instances if preemptible instances cannot be created due to price-related factors or insufficient inventory when the NodeResizeStrategy parameter is set to COST_OPTIMIZED.'."\n", + 'visibility' => 'Public', + 'type' => 'boolean', + 'example' => 'true', + 'backendName' => 'compensateWithOnDemand', + ], + 'AutoCompensateState' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'boolean', + 'example' => 'false', + 'backendName' => 'autoCompensateState', + ], + 'SystemDisk' => [ + 'title' => '', + 'description' => 'The system disk.'."\n", + 'visibility' => 'public', + 'backendName' => 'systemDisk', + '$ref' => '#/components/schemas/SystemDisk', + ], + 'PrivatePoolOptions' => [ + 'title' => '', + 'description' => 'The resource pool options used to create instances. This parameter takes effect only when pay-as-you-go instances are created.'."\n", + 'visibility' => 'Public', + 'backendName' => 'privatePoolOptions', + '$ref' => '#/components/schemas/PrivatePoolOptions', + ], + 'IaaSType' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'string', + 'backendName' => 'iaaSType', + ], + 'NodeGroupType' => [ + 'title' => '', + 'description' => 'The type of the node group. Valid values:'."\n" + ."\n" + .'* MASTER'."\n" + .'* CORE'."\n" + .'* TASK'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'CORE', + 'backendName' => 'nodeGroupType', + ], + 'ImageId' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'string', + 'backendName' => 'imageId', + ], + 'AckConfig' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'backendName' => 'ackConfig', + '$ref' => '#/components/schemas/AckConfig', + ], + 'PaymentType' => [ + 'title' => '', + 'description' => 'The billing method of the node group. If you do not configure this parameter, the billing method of the cluster is used. Valid values:'."\n" + ."\n" + .'* PayAsYouGo'."\n" + .'* Subscription'."\n" + ."\n" + .'Default value: PayAsYouGo.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'PayAsYouGo', + 'backendName' => 'paymentType', + ], + 'InstanceTypes' => [ + 'title' => '', + 'description' => 'The instance types of the nodes. Number of elements in the array: 1 to 100.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The instance type of the node.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'ecs.g7.2xlarge', + 'extendType' => 'true', + ], + 'example' => '["ecs.g6.xlarge"]', + 'maxItems' => 100, + 'backendName' => 'instanceTypes', + 'itemName' => 'String', + ], + 'CostOptimizedConfig' => [ + 'title' => '', + 'description' => 'The configurations of the cost optimization policy.'."\n", + 'visibility' => 'public', + 'backendName' => 'costOptimizedConfig', + '$ref' => '#/components/schemas/CostOptimizedConfig', + ], + 'GracefulShutdown' => [ + 'title' => '', + 'description' => 'Indicates whether graceful shutdown is enabled for services in the node group. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n" + ."\n" + .'Default value: false.'."\n", + 'visibility' => 'public', + 'type' => 'boolean', + 'example' => 'false', + 'backendName' => 'gracefulShutdown', + ], + 'SpotStrategy' => [ + 'title' => '', + 'description' => 'The bidding policy for the preemptible instance. Valid values:'."\n" + ."\n" + .'* NoSpot: No spot instances are used.'."\n" + .'* SpotWithPriceLimit: The instance is a preemptible instance for which you specify the highest price that you want to pay for the instance.'."\n" + .'* SpotAsPriceGo: The instance is a preemptible instance for which the market price is automatically used as the bid price. The highest market price is the pay-as-you-go price.'."\n" + ."\n" + .'Default value: NoSpot.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'NoSpot', + 'backendName' => 'spotStrategy', + ], + 'ZoneId' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'string', + 'example' => 'cn-beijing-h', + 'backendName' => 'zoneId', + ], + 'NodeGroupName' => [ + 'title' => '', + 'description' => 'The name of the node group. The name can be up to 128 characters in length. The name of a node group must be unique in a cluster.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'core-1', + 'backendName' => 'nodeGroupName', + ], + 'NodeCount' => [ + 'title' => '', + 'description' => 'The number of nodes. Valid values: 1 to 1,000.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + 'backendName' => 'nodeCount', + ], + 'VSwitchIds' => [ + 'title' => '', + 'description' => 'The vSwitch IDs. Number of elements in the array: 1 to 20.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The vSwitch ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'extendType' => 'true', + ], + 'example' => '["vsw-hp35g7ya5ymw68mmg****"]', + 'maxItems' => 20, + 'backendName' => 'vSwitchIds', + 'itemName' => 'String', + ], + 'SpotBidPrices' => [ + 'title' => '', + 'description' => 'The bid prices of the preemptible instances. The parameter takes effect only if the SpotStrategy parameter is set to SpotWithPriceLimit. Number of elements in the array: 0 to 100.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/SpotBidPrice', + 'description' => '', + ], + 'maxItems' => 100, + 'backendName' => 'spotBidPrices', + 'itemName' => 'SpotBidPrice', + ], + 'NodeResizeStrategy' => [ + 'title' => '', + 'description' => 'The scaling policy for the node. Valid values:'."\n" + ."\n" + .'* COST_OPTIMIZED'."\n" + .'* PRIORITY'."\n" + ."\n" + .'Default value: PRIORITY.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'PRIORITY', + 'backendName' => 'nodeResizeStrategy', + ], + 'AutoScalingPolicy' => [ + 'title' => '', + 'description' => 'The auto scaling rule.'."\n", + 'visibility' => 'Private', + 'backendName' => 'autoScalingPolicy', + '$ref' => '#/components/schemas/AutoScalingPolicy', + ], + 'SubscriptionConfig' => [ + 'title' => '', + 'description' => 'The configurations of the node group based on the subscription billing method. If you do not configure this parameter, the configurations of the cluster based on the subscription billing method are used.'."\n", + 'visibility' => 'public', + 'backendName' => 'subscriptionConfig', + '$ref' => '#/components/schemas/SubscriptionConfig', + ], + 'AdditionalSecurityGroupIds' => [ + 'title' => '', + 'description' => 'The additional security group IDs. Additional security groups are the security groups that are separately added to a node group. Number of elements in the array: 0 to 2.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The security group ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'sg-hp3abbae8lb6lmb1****', + 'extendType' => 'true', + ], + 'example' => '["sg-hp3abbae8lb6lmb1****"]', + 'maxItems' => 5, + 'backendName' => 'additionalSecurityGroupIds', + 'itemName' => 'String', + ], + 'DeploymentSetStrategy' => [ + 'title' => '', + 'description' => 'The deployment set policy. Valid values:'."\n" + ."\n" + .'* NONE: uses no deployment sets.'."\n" + .'* CLUSTER: uses deployment sets at the cluster level.'."\n" + .'* NODE_GROUP: uses deployment sets at the node group level.'."\n" + ."\n" + .'Default value: NONE.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'NONE', + 'backendName' => 'deploymentSetStrategy', + ], + ], + 'description' => '', + ], + 'NodeGroupStateChangeReason' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '', + 'description' => 'The status code. Valid values:'."\n" + ."\n" + .'* UserRequest: A user request is initiated.'."\n" + .'* OutOfStock: The ECS instances of the requested type are out of stock.'."\n" + .'* NotAuthorized: The required permission is not granted.'."\n" + .'* QuotaExceeded: The quota is exceeded.'."\n" + .'* OperationDenied: The operation is denied.'."\n" + .'* AccountException: The account is abnormal.'."\n" + .'* NodeFailure: The ECS instance is abnormal.'."\n" + .'* BootstrapFailure: The bootstrap action fails.'."\n" + .'* ValidationFail: The business logic verification fails.'."\n" + .'* ServiceFailure: Other services on which the current service depends fail.'."\n" + .'* InternalError: An internal error occurs.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'UserRequest', + 'backendName' => 'code', + ], + 'Message' => [ + 'title' => '', + 'description' => 'The detailed description of the status change.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'The instance type is required.', + 'backendName' => 'message', + ], + ], + 'description' => '', + ], + 'NodeSelector' => [ + 'description' => 'The node selector.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'NodeSelectType' => [ + 'title' => '', + 'description' => 'The level at which you want to select nodes. Valid values:'."\n" + ."\n" + .'* CLUSTER'."\n" + .'* NODE_GROUP'."\n" + .'* NODE'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'CLUSTER', + 'backendName' => 'nodeSelectType', + ], + 'NodeNames' => [ + 'title' => '', + 'description' => 'The names of the nodes. This parameter takes effect only when the NodeSelectType parameter is set to NODE.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The node name.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'master-1-1', + 'extendType' => 'true', + ], + 'example' => '["core1-1"]', + 'backendName' => 'nodeNames', + 'itemName' => 'String', + ], + 'NodeGroupId' => [ + 'title' => '', + 'description' => 'The node group ID. This parameter takes effect only when the NodeSelectType parameter is set to NODE_GROUP.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'deprecated' => true, + 'example' => 'ng-869471354ecd****', + 'backendName' => 'nodeGroupId', + ], + 'NodeGroupIds' => [ + 'title' => '', + 'description' => 'The node group IDs.'."\n", + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'ng-869471354ecd****', + 'extendType' => 'true', + 'description' => '', + ], + 'backendName' => 'nodeGroupIds', + ], + 'NodeGroupTypes' => [ + 'title' => '', + 'description' => 'The node group types. This parameter takes effect only when the NodeSelectType parameter is set to NODE_GROUP and the NodeGroupId parameter is not configured. Number of elements in the array: 0 to 10.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The node group type. Valid values:'."\n" + ."\n" + .'* MASTER'."\n" + .'* CORE'."\n" + .'* TASK'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'MASTER', + 'extendType' => 'true', + ], + 'example' => '["CORE","TASK"]', + 'maxItems' => 10, + 'backendName' => 'nodeGroupTypes', + 'itemName' => 'NodeGroupType', + ], + 'NodeGroupName' => [ + 'title' => '', + 'description' => '> This parameter is deprecated and replaced with NodeGroupNames.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'deprecated' => true, + 'example' => 'master-1', + 'backendName' => 'nodeGroupName', + ], + 'NodeGroupNames' => [ + 'title' => '', + 'description' => 'The names of node groups.'."\n", + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'master-1', + 'extendType' => 'true', + 'description' => '', + ], + 'backendName' => 'nodeGroupNames', + 'itemName' => 'NodeGroupName', + ], + ], + ], + 'Operation' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'ClusterId' => [ + 'title' => '', + 'description' => 'The cluster ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'c-b933c5aac8fe****', + 'backendName' => 'clusterId', + ], + 'OperationId' => [ + 'title' => '', + 'description' => 'The operation ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'op-13c37a77c505****', + 'backendName' => 'operationId', + ], + 'CreateTime' => [ + 'title' => '', + 'description' => 'The creation time.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1628589439114', + 'backendName' => 'createTime', + ], + 'StartTime' => [ + 'title' => '', + 'description' => 'The start time of the operation.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1628589439114', + 'backendName' => 'startTime', + ], + 'EndTime' => [ + 'title' => '', + 'description' => 'The end time of the operation.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1628589439114', + 'backendName' => 'endTime', + ], + 'OperationType' => [ + 'title' => '', + 'description' => 'The type of the operation.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'CREATE_CLUSTER', + 'backendName' => 'operationType', + ], + 'OperationState' => [ + 'title' => '', + 'description' => 'The state of the operation. Valid values:'."\n" + ."\n" + .'* IN_PROGRESS'."\n" + .'* COMPLETED'."\n" + .'* HUMAN_PROCESSING'."\n" + .'* FAILED'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'COMPLETED', + 'backendName' => 'operationState', + ], + 'Description' => [ + 'title' => '', + 'description' => 'The description of the operation.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'start', + 'backendName' => 'description', + ], + 'StateChangeReason' => [ + 'title' => '', + 'description' => 'The reason of the operation status change.'."\n", + 'visibility' => 'public', + 'backendName' => 'stateChangeReason', + '$ref' => '#/components/schemas/OperationStateChangeReason', + ], + ], + 'description' => '', + ], + 'OperationStateChangeReason' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '', + 'description' => 'The operation status code. Valid values:'."\n" + ."\n" + .'* UserRequest: A user request is initiated.'."\n" + .'* OutOfStock: The ECS instances of the requested type are out of stock.'."\n" + .'* NotAuthorized: The required permission is not granted.'."\n" + .'* QuotaExceeded: The quota is exceeded.'."\n" + .'* OperationDenied: The operation is denied.'."\n" + .'* AccountException: The account is abnormal.'."\n" + .'* NodeFailure: The ECS instance is abnormal.'."\n" + .'* BootstrapFailure: The bootstrap action fails.'."\n" + .'* ValidationFail: The business logic verification fails.'."\n" + .'* ServiceFailure: Other services on which the current service depends fail.'."\n" + .'* InternalError: An internal error occurs.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'OutOfStock', + 'backendName' => 'code', + ], + 'Message' => [ + 'title' => '', + 'description' => 'The information about the operation status change.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', + 'backendName' => 'message', + ], + ], + 'description' => '', + ], + 'PrivatePoolOptions' => [ + 'title' => '', + 'description' => 'The information about the private pool.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'PrivatePoolIds' => [ + 'title' => '', + 'description' => 'The IDs of the private pools.'."\n", + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of private pool. The ID of a private pool is the same as the ID of the elasticity assurance or capacity reservation that is associated with the private pool.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'crp-xxxx', + 'extendType' => 'true', + ], + 'example' => 'eap-bp67acfmxazb4****', + 'backendName' => 'privatePoolIds', + ], + 'MatchCriteria' => [ + 'title' => '', + 'description' => 'The type of private pool that you want to use to start ECS instances. A private pool is generated when an elasticity assurance or a capacity reservation takes effect. You can select a private pool for starting ECS instances. Valid values: Open, Target, and None. If you set the parameter to Open, the system selects an open private pool to start instances. If no matching open private pools exist, the resources in the public pool are used. In this case, you do not need to specify the ID of the private pool. If you set the parameter to Target, the resources in the specified private pool are used to start ECS instances. If the specified private pool does not exist, ECS instances cannot be started. You must specify the ID of the private pool when you set the parameter to Target. If you set the parameter to None, the resources in private pools are not used to start instances. Default value: None.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'Open', + 'backendName' => 'matchCriteria', + ], + ], + ], + 'ScalingActivityResult' => [ + 'description' => 'The result of the scaling activity.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'title' => '', + 'description' => 'The instance ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'i-bp1cudc25w2bfwl5****', + 'backendName' => 'instanceId', + ], + ], + ], + 'ScalingConstraints' => [ + 'description' => 'The limits on custom auto scaling activities.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'MaxCapacity' => [ + 'title' => '', + 'description' => 'The maximum number of nodes in the node group. Default value: 2000.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2000', + 'backendName' => 'maxCapacity', + ], + 'MinCapacity' => [ + 'title' => '', + 'description' => 'The minimum number of nodes in the node group. Default value: 0'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + 'backendName' => 'minCapacity', + ], + ], + ], + 'ScalingRule' => [ + 'description' => 'The configurations of the scaling rule.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'TriggerType' => [ + 'title' => '', + 'description' => 'The trigger mode of the scaling rule. This parameter is required. Valid values:'."\n" + ."\n" + .'* TIME_TRIGGER: time-based scaling.'."\n" + .'* METRICS_TRIGGER: load-based scaling.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'TIME_TRIGGER', + 'backendName' => 'triggerType', + ], + 'MetricsTrigger' => [ + 'title' => '', + 'description' => 'The description of load-based scaling.'."\n", + 'visibility' => 'public', + 'backendName' => 'metricsTrigger', + '$ref' => '#/components/schemas/MetricsTrigger', + ], + 'AdjustmentValue' => [ + 'title' => '', + 'description' => 'The adjustment value of the scaling rule. This parameter is required. The parameter value must be a positive integer, which indicates the number of instances that you want to add or remove.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '200', + 'backendName' => 'adjustmentValue', + ], + 'TimeTrigger' => [ + 'title' => '', + 'description' => 'The description of time-based scaling.'."\n", + 'visibility' => 'public', + 'backendName' => 'timeTrigger', + '$ref' => '#/components/schemas/TimeTrigger', + ], + 'ActivityType' => [ + 'title' => '', + 'description' => 'The scaling type. This parameter is required. Valid values:'."\n" + ."\n" + .'* SCALE_OUT'."\n" + .'* SCALE_IN'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'SCALE_IN', + 'backendName' => 'activityType', + ], + 'MinAdjustmentValue' => [ + 'title' => '', + 'description' => 'The minimum number of instances that must be added in a scale-out activity.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'backendName' => 'minAdjustmentValue', + ], + 'RuleName' => [ + 'title' => '', + 'description' => 'The name of the scaling rule. This parameter is required and cannot be an empty string.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'scalingByYarnMemory', + 'backendName' => 'ruleName', + ], + 'AdjustmentType' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'string', + 'example' => 'CHANGE_IN_CAPACITY', + 'backendName' => 'adjustmentType', + ], + ], + ], + 'Script' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'ScriptName' => [ + 'title' => '', + 'description' => 'The name of the script. This parameter is required. The name must be 1 to 64 characters in length and must start with a letter. The name cannot start with http:// or https://. The name can contain letters, digits, underscores (\\_), and hyphens (-).'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'Script name -1'."\n", + 'backendName' => 'scriptName', + ], + 'ScriptPath' => [ + 'title' => '', + 'description' => 'The Object Storage Service (OSS) path in which the script is stored. This parameter is required. The path must start with oss://.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'oss://bucket1/update_hosts.sh', + 'backendName' => 'scriptPath', + ], + 'ScriptArgs' => [ + 'title' => '', + 'description' => 'The runtime parameters of the script. This parameter is optional.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => '-host 10.0.10.5 -m 30', + 'backendName' => 'scriptArgs', + ], + 'Priority' => [ + 'title' => '', + 'description' => '> This parameter is deprecated. The sequence in which scripts are executed is the same as the sequence in which scripts are defined.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'deprecated' => true, + 'example' => '1', + 'backendName' => 'priority', + ], + 'NodeSelector' => [ + 'title' => '', + 'description' => 'The node selector.'."\n", + 'visibility' => 'public', + 'required' => true, + 'backendName' => 'nodeSelector', + '$ref' => '#/components/schemas/NodeSelector', + ], + 'ExecutionMoment' => [ + 'title' => '', + 'description' => 'The time based on which the system executes the script. Valid values:'."\n" + ."\n" + .'* BEFORE_INSTALL: The system executes the script before the application is installed.'."\n" + .'* AFTER_STARTED: The system executes the script after the application is started.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'BEFORE_INSTALL', + 'backendName' => 'executionMoment', + ], + 'ExecutionFailStrategy' => [ + 'title' => '', + 'description' => 'The policy that is used to handle an execution failure of the script. Valid values:'."\n" + ."\n" + .'* FAILED_CONTINUE: After the script fails to be executed, the system continues to perform the creation or scale-out operation on the cluster.'."\n" + .'* FAILED_BLOCK: After the script fails to be executed, the system stops performing the creation or scale-out operation on the cluster.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'FAILED_CONTINUE', + 'backendName' => 'executionFailStrategy', + ], + ], + 'description' => '', + ], + 'SpotBidPrice' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'InstanceType' => [ + 'title' => '', + 'description' => 'The type of the ECS instance.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'ecs.g7.2xlarge', + 'backendName' => 'instanceType', + ], + 'BidPrice' => [ + 'title' => '', + 'description' => 'The maximum hourly bid price of the instance. It can be accurate to three decimal places. This parameter is valid only when the SpotStrategy parameter is set to SpotWithPriceLimit.'."\n", + 'visibility' => 'public', + 'type' => 'number', + 'format' => 'double', + 'example' => '1000.0', + 'backendName' => 'bidPrice', + ], + ], + 'description' => '', + ], + 'StateChangeReason' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '', + 'description' => 'The status code. Valid values:'."\n" + ."\n" + .'* UserRequest: A user request is initiated.'."\n" + .'* QuotaExceeded: The quota is exceeded.'."\n" + .'* InternalError: An internal error occurs.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'MissingParameter', + 'backendName' => 'code', + ], + 'Message' => [ + 'title' => '', + 'description' => 'The description.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'The instance type is required.', + 'backendName' => 'message', + ], + ], + 'description' => '', + ], + 'SubscriptionConfig' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'PaymentDurationUnit' => [ + 'title' => '', + 'description' => 'The unit of the subscription duration. Valid values:'."\n" + ."\n" + .'* Month'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'Month', + 'backendName' => 'paymentDurationUnit', + ], + 'PaymentDuration' => [ + 'title' => '', + 'description' => 'The subscription duration. Valid values when PaymentDurationUnit is set to Month: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '12', + 'backendName' => 'paymentDuration', + ], + 'AutoPayOrder' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'boolean', + 'example' => 'false', + 'backendName' => 'autoPayOrder', + ], + 'AutoRenew' => [ + 'title' => '', + 'description' => 'Indicates whether auto-renewal is enabled. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false Default value: false.'."\n", + 'visibility' => 'public', + 'type' => 'boolean', + 'example' => 'true', + 'backendName' => 'autoRenew', + ], + 'AutoRenewDurationUnit' => [ + 'title' => '', + 'description' => 'The unit of the auto-renewal duration. Valid values:'."\n" + ."\n" + .'* Month'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'Month', + 'backendName' => 'autoRenewDurationUnit', + ], + 'AutoRenewDuration' => [ + 'title' => '', + 'description' => 'The auto-renewal duration. This parameter takes effect only when the AutoRenew parameter is set to true. Valid values when AutoRenewDurationUnit is set to Month: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '12', + 'backendName' => 'autoRenewDuration', + ], + ], + 'description' => '', + ], + 'SystemDisk' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'Category' => [ + 'title' => '', + 'description' => 'The disk type. Valid values:'."\n" + ."\n" + .'* cloud_efficiency: ultra disk'."\n" + .'* cloud_ssd: standard SSD'."\n" + .'* cloud_essd: enhanced SSD'."\n" + .'* cloud: basic disk'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'cloud_essd', + 'backendName' => 'category', + ], + 'Size' => [ + 'title' => '', + 'description' => 'The size. Unit: GB.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '60', + 'backendName' => 'size', + ], + 'PerformanceLevel' => [ + 'title' => '', + 'description' => 'The performance level of the ESSD that is used as the system disk. Valid values:'."\n" + ."\n" + .'* PL0: A single ESSD can provide up to 10,000 random read/write IOPS.'."\n" + .'* PL1: A single ESSD can provide up to 50,000 random read/write IOPS.'."\n" + .'* PL2: A single ESSD can provide up to 100,000 random read/write IOPS.'."\n" + .'* PL3: A single ESSD can provide up to 1,000,000 random read/write IOPS.'."\n" + ."\n" + .'Default value: PL1.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'PL1', + 'backendName' => 'performanceLevel', + ], + 'Count' => [ + 'title' => '', + 'description' => 'The number of system disks on each node. Default value: 1.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'backendName' => 'count', + ], + ], + 'description' => '', + ], + 'Tag' => [ + 'description' => 'The tag.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '', + 'description' => 'The key of the tag. This parameter is required and cannot be an empty string. The key can be up to 128 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'department', + 'backendName' => 'key', + ], + 'Value' => [ + 'title' => '', + 'description' => 'The value of the tag This parameter is optional and can be an empty string. The value can be up to 128 characters in length. It cannot start with `acs:` and cannot contain `http://` or `https://`.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'IT', + 'backendName' => 'value', + ], + ], + ], + 'TimeConstraint' => [ + 'description' => 'The time limit.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'StartTime' => [ + 'title' => '', + 'description' => 'The start time. Valid values: 00:00 to 23:59.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => '06:00', + 'backendName' => 'startTime', + ], + 'EndTime' => [ + 'title' => '', + 'description' => 'The end time. Valid values: 00:00 to 23:59.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => '23:59', + 'backendName' => 'endTime', + ], + ], + ], + 'TimeTrigger' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'LaunchTime' => [ + 'title' => '', + 'description' => 'The execution time of the scaling rule. This parameter is required. The value is a string in the HH:MM format.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => '17:30', + 'backendName' => 'launchTime', + ], + 'StartTime' => [ + 'title' => '', + 'description' => 'The timestamp that specifies the start time. This parameter is required. Unit: milliseconds.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1639714800000', + 'backendName' => 'startTime', + ], + 'EndTime' => [ + 'title' => '', + 'description' => 'The timestamp that specifies the end time. Unit: milliseconds.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1639714800000', + 'backendName' => 'endTime', + ], + 'LaunchExpirationTime' => [ + 'title' => '', + 'description' => 'The time period during which a scheduled task can be retried after it fails. Unit: seconds. Valid values: 0 to 3600.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '600', + 'backendName' => 'launchExpirationTime', + ], + 'RecurrenceType' => [ + 'title' => '', + 'description' => 'The frequency of executing the specified rule whose trigger mode is scaling by time. Valid values:'."\n" + ."\n" + .'* DAILY'."\n" + .'* WEEKLY'."\n" + .'* MONTHLY'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'WEEKLY', + 'backendName' => 'recurrenceType', + ], + 'RecurrenceValue' => [ + 'title' => '', + 'description' => 'The number of recurrences of the scheduled task. The value of this parameter depends on the value of RecurrenceType.'."\n" + ."\n" + .'* If the RecurrenceType parameter is set to DAILY, you can specify only one value for this parameter. Valid values: 1 to 31.'."\n" + .'* If the RecurrenceType parameter is set to WEEKLY, you can specify multiple values for this parameter and separate them with commas (,). The values MON, TUE, WED, THU, FRI, SAT, and SUN indicate the days from Monday to Sunday. For example, the value MON,FRI,SUN stands for Monday, Friday, and Sunday.'."\n" + .'* If the RecurrenceType parameter is set to MONTHLY, the value of this parameter is in the A-B or A,B format. The values of A and B are both in the range of 1 to 31. If you use the A-B format, the value of B must be greater than the value of A.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'MON,FRI,SUN', + 'backendName' => 'recurrenceValue', + ], + ], + 'description' => '', + ], + 'TriggerCondition' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'MetricName' => [ + 'title' => '', + 'description' => 'The name of the metric. This parameter is required and cannot be an empty string. You can view the metric name in [Add Auto Scaling Rules](~~445658~~).'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'yarn_resourcemanager_queue_PendingVCores', + 'backendName' => 'metricName', + ], + 'Tags' => [ + 'title' => '', + 'description' => 'The tags for the metrics of a partition. This parameter is available for only metrics that contain ByPartition. For other metrics, leave this parameter empty.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/Tag', + 'description' => '', + ], + 'backendName' => 'tags', + 'itemName' => 'Tag', + ], + 'Statistics' => [ + 'title' => '', + 'description' => 'The name of the statistic. This parameter is required. Valid values:'."\n" + ."\n" + .'* MAX'."\n" + .'* MIN'."\n" + .'* AVG'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'AVG', + 'backendName' => 'statistics', + ], + 'ComparisonOperator' => [ + 'title' => '', + 'description' => 'The comparison operator. This parameter is required. Valid values:'."\n" + ."\n" + .'* EQ: equal to'."\n" + .'* NE: not equal to'."\n" + .'* GT: greater than'."\n" + .'* LT: less than'."\n" + .'* GE: greater than or equal to'."\n" + .'* LE: less than or equal to'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'LT', + 'backendName' => 'comparisonOperator', + ], + 'Threshold' => [ + 'title' => '', + 'description' => 'The trigger threshold. This parameter is required.'."\n", + 'visibility' => 'public', + 'type' => 'number', + 'format' => 'double', + 'required' => true, + 'example' => '12.5', + 'backendName' => 'threshold', + ], + ], + 'description' => '', + ], + 'UpdateApplicationConfig' => [ + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'ConfigFileName' => [ + 'title' => '', + 'description' => 'The name of the application configuration file.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'hdfs-site.xml', + 'backendName' => 'configFileName', + ], + 'ConfigItemKey' => [ + 'title' => '', + 'description' => 'The key of the configuration item.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'dfs.namenode.checkpoint.period', + 'backendName' => 'configItemKey', + ], + 'ConfigItemValue' => [ + 'title' => '', + 'description' => 'The value of the configuration item.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => '3600s', + 'backendName' => 'configItemValue', + ], + 'ConfigDescription' => [ + 'title' => '', + 'description' => 'The description of the modification.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'dfs.namenode.checkpoint.period', + 'backendName' => 'configDescription', + ], + 'ConfigScope' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'string', + 'deprecated' => true, + 'example' => 'NODE_GROUP', + 'backendName' => 'configScope', + ], + 'NodeGroupId' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'string', + 'deprecated' => true, + 'example' => 'ng-869471354ecd****', + 'backendName' => 'nodeGroupId', + ], + 'NodeId' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'string', + 'deprecated' => true, + 'example' => 'i-bp1cudc25w2bfwl5****', + 'backendName' => 'nodeId', + ], + 'ConfigAction' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'string', + 'deprecated' => true, + 'example' => 'ADD', + 'backendName' => 'configAction', + ], + 'EffectiveType' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'string', + 'example' => 'EFFECT', + 'backendName' => 'effectiveType', + ], + 'EffectiveActions' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'string', + 'backendName' => 'effectiveActions', + ], + ], + 'description' => '', + ], + ], + ], + 'apis' => [ + 'ListReleaseVersions' => [ + 'description' => '查询主版本。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeNodes' => [ + 'FEATUREemapreduce6STB1S', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'IaasType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => 'IaaS资源类型。', + 'description' => 'The type of the IaaS resource.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ECS', + ], + ], + [ + 'name' => 'ClusterType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群类型。', + 'description' => 'The type of the cluster.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'DATALAKE', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'ReleaseVersions' => [ + 'description' => 'The major EMR versions.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Series' => [ + 'title' => '版本序列。', + 'description' => 'The version series.'."\n", + 'type' => 'string', + 'example' => 'EMR-6.X', + ], + 'ReleaseVersion' => [ + 'title' => 'EMR发行版。', + 'description' => 'The EMR version.'."\n", + 'type' => 'string', + 'example' => 'EMR-5.3.0', + ], + 'IaasType' => [ + 'title' => 'IaaS类型。', + 'description' => 'The IaaS type.'."\n", + 'type' => 'string', + 'example' => 'ECS', + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'Returns the location of the data that was read.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The maximum number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ReleaseVersions\\": [\\n {\\n \\"Series\\": \\"EMR-5.X\\",\\n \\"ReleaseVersion\\": \\"EMR-5.8.0\\",\\n \\"IaasType\\": \\"ECS\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListReleaseVersions', + 'summary' => 'Queries the major E-MapReduce (EMR) versions.', + ], + 'ListInstanceTypes' => [ + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeNodes' => [ + 'FEATUREemapreduce6STB1S', + 'FEATUREemapreduceSNGGYA', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The ID of the region in which you want to create the instance.', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The ID of cluster.', + 'type' => 'string', + 'required' => false, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '可用区ID。', + 'description' => 'Availability Zone ID', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing-h', + ], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '节点组ID。', + 'description' => 'Node group ID.', + 'type' => 'string', + 'required' => false, + 'example' => 'G-F06C4B47966A****', + ], + ], + [ + 'name' => 'ClusterType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群类型。', + 'description' => 'Cluster type.', + 'type' => 'string', + 'required' => true, + 'example' => 'DATALAKE', + ], + ], + [ + 'name' => 'PaymentType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '付费类型。', + 'description' => 'Payment type.', + 'type' => 'string', + 'required' => true, + 'example' => 'PayAsYouGo', + ], + ], + [ + 'name' => 'NodeGroupType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '节点组类型。', + 'description' => 'Node group type.', + 'type' => 'string', + 'required' => true, + 'example' => 'CORE', + ], + ], + [ + 'name' => 'IsModification', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '是否变配。', + 'description' => 'Whether to change the configuration.', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ReleaseVersion', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => 'EMR发行版。', + 'description' => 'EMR distribution.', + 'type' => 'string', + 'required' => false, + 'example' => 'EMR-5.8.0', + ], + ], + [ + 'name' => 'DeployMode', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '部署模式。', + 'description' => 'Deployment mode.', + 'type' => 'string', + 'required' => false, + 'example' => 'HA', + ], + ], + [ + 'name' => 'InstanceType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '机型', + 'description' => 'Instance Type', + 'type' => 'string', + 'required' => false, + 'example' => 'ecs.g6.xlarge', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'InstanceTypes' => [ + 'description' => 'The instance types.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The instance type.'."\n", + '$ref' => '#/components/schemas/InstanceType', + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'Returns the position of the read data.', + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The maximum number of records returned in this request.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total amount of data under the conditions of this request.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InstanceTypes\\": [\\n {\\n \\"InstanceTypeFamily\\": \\"ecs.g6\\",\\n \\"InstanceType\\": \\"ecs.g6.large\\",\\n \\"Status\\": \\"Available\\",\\n \\"StockStatus\\": \\"WithStock\\",\\n \\"Optimized\\": true,\\n \\"CpuCore\\": 4,\\n \\"InstanceCategory\\": \\"Compute-optimized\\",\\n \\"CpuArchitecture\\": \\"X86\\",\\n \\"LocalStorageCapacity\\": 40,\\n \\"LocalStorageAmount\\": 8,\\n \\"ModifyType\\": \\"\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListInstanceTypes', + 'summary' => 'Lists instance types.', + 'translator' => 'machine', + ], + 'RunCluster' => [ + 'summary' => 'Creates a pay-as-you-go or subscription E-MapReduce (EMR) cluster.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeCode' => '246666', + 'abilityTreeNodes' => [ + 'FEATUREemapreduce6STB1S', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '资源组ID。', + 'description' => 'The ID of the resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfmzabjyop****', + ], + ], + [ + 'name' => 'PaymentType', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '付费类型。', + 'description' => 'The billing method of the cluster. Valid values:'."\n" + ."\n" + .'* PayAsYouGo'."\n" + .'* Subscription'."\n" + ."\n" + .'Default value: PayAsYouGo.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'PayAsYouGo', + ], + ], + [ + 'name' => 'SubscriptionConfig', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => [ + 'description' => 'The subscription configurations. This parameter is required when the PaymentType parameter is set to Subscription.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/SubscriptionConfig', + ], + ], + [ + 'name' => 'ClusterType', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群类型。', + 'description' => 'The type of the cluster. Valid values:'."\n" + ."\n" + .'* DATALAKE'."\n" + .'* OLAP'."\n" + .'* DATAFLOW'."\n" + .'* DATASERVING'."\n" + .'* CUSTOM'."\n" + .'* HADOOP: We recommend that you set this parameter to DATALAKE rather than HADOOP.'."\n" + ."\n" + .'If the first time you create an EMR cluster is after 17:00 (UTC+8) on December 19, 2022, you cannot create a Hadoop, Data Science, Presto, or ZooKeeper cluster.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'DATALAKE', + ], + ], + [ + 'name' => 'ReleaseVersion', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => 'EMR发行版。', + 'description' => 'The EMR version. You can query available EMR versions in the EMR console.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'EMR-5.16.0', + ], + ], + [ + 'name' => 'ClusterName', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群名称。', + 'description' => 'The cluster name. The name must be 1 to 128 characters in length. The name must start with a letter but cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (\\_), periods (.), and hyphens (-).'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'emrtest', + ], + ], + [ + 'name' => 'DeployMode', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '部署模式。', + 'description' => 'The deployment mode of master nodes in the cluster. Valid values:'."\n" + ."\n" + .'* NORMAL: regular mode. This is the default value. A cluster that contains only one master node is created.'."\n" + .'* HA: high availability mode. A cluster that contains at least three master nodes is created.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'HA', + ], + ], + [ + 'name' => 'SecurityMode', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => 'Kerberos安全模式。', + 'description' => 'The security mode of the cluster. Valid values:'."\n" + ."\n" + .'* NORMAL: regular mode. Kerberos authentication is disabled. This is the default value.'."\n" + .'* KERBEROS: Kerberos mode. Kerberos authentication is enabled.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'NORMAL', + ], + ], + [ + 'name' => 'Applications', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => [ + 'title' => '应用列表。', + 'description' => 'The list of services. Number of elements in the array: 1 to 100.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The application.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Application', + ], + 'required' => true, + ], + ], + [ + 'name' => 'ApplicationConfigs', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => [ + 'title' => '应用配置。', + 'description' => 'The application configurations. Number of elements in the array: 1 to 1000.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The service configuration.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ApplicationConfig', + ], + 'required' => false, + ], + ], + [ + 'name' => 'NodeAttributes', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => [ + 'description' => 'The node attributes. The basic attributes of all ECS nodes in the cluster.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/NodeAttributes', + ], + ], + [ + 'name' => 'NodeGroups', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => [ + 'title' => '节点组。', + 'description' => 'The array of configurations of the node groups. Number of elements in the array: 1 to 100.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The node group configurations.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/NodeGroupConfig', + ], + 'required' => true, + ], + ], + [ + 'name' => 'BootstrapScripts', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => [ + 'title' => '引导脚本。', + 'description' => 'The array of bootstrap scripts. Number of elements in the array: 1 to 10.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The bootstrap script.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Script', + ], + 'required' => false, + ], + ], + [ + 'name' => 'Tags', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => [ + 'title' => '标签。', + 'description' => 'The tag. Number of elements in the array: 0 to 20.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The tag.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Tag', + ], + 'required' => false, + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '幂等客户端TOKEN。', + 'description' => 'The client token that is used to ensure the idempotence of the request. The same ClientToken value for multiple calls to the RunCluster operation results in identical responses. Only one cluster can be created by using the same ClientToken value.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The cluster description.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Emr cluster for ETL', + ], + ], + [ + 'name' => 'DeletionProtection', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Specifies whether to enable release protection for the cluster. Valid values:'."\n" + ."\n" + .'* true: enables release protection for the cluster.'."\n" + .'* false: disables release protection for the cluster.'."\n" + ."\n" + .'Default value: false.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'Promotions', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'required' => false, + '$ref' => '#/components/schemas/Promotion', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'ClusterId' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'example' => 'c-b933c5aac7f7***', + ], + 'OperationId' => [ + 'title' => '操作ID。', + 'description' => 'The operation ID.'."\n", + 'type' => 'string', + 'example' => 'op-13c37a77c505****', + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'The operation is invalid. %s', + ], + [ + 'errorCode' => 'OutOfStock', + 'errorMessage' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', + ], + [ + 'errorCode' => 'QuotaExceeded', + 'errorMessage' => 'Request fail due to quota exceed. %s', + ], + [ + 'errorCode' => 'AccountException', + 'errorMessage' => 'Account exception. %s', + ], + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ClusterId\\": \\"c-b933c5aac7f7***\\",\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'RunCluster', + 'description' => 'RunCluster is an upgraded version of CreateCluster. RunCluster uses HTTPS POST requests and supports more parameters. Complex parameters, such as parameters of the object and array types, are in the JSON format and are more friendly for users who use CLI.'."\n", + ], + 'CreateCluster' => [ + 'summary' => 'Creates a pay-as-you-go or subscription cluster.', + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '资源组ID。', + 'description' => 'The ID of the resource group to which to assign the ENI.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfmzabjyop****', + ], + ], + [ + 'name' => 'PaymentType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '付费类型。', + 'description' => 'The billing cycle of the instance. Valid values:'."\n" + ."\n" + .'* PayAsYouGo: pay-as-you-go'."\n" + .'* Subscription: subscription'."\n" + ."\n" + .'Default value: PayAsYouGo.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'PayAsYouGo', + ], + ], + [ + 'name' => 'SubscriptionConfig', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '预付费配置。', + 'description' => 'The subscription configurations. This parameter takes effect only if you set the PaymentType parameter to Subscription.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/SubscriptionConfig', + ], + ], + [ + 'name' => 'ClusterType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群类型。', + 'description' => 'The type of the cluster. Valid values:'."\n" + ."\n" + .'* DATALAKE: data lake'."\n" + .'* OLAP: online analytical processing (OLAP)'."\n" + .'* DATAFLOW: Dataflow'."\n" + .'* DATASERVING: DataServing'."\n" + .'* CUSTOM: a custom hybrid cluster.'."\n" + .'* HADOOP: the old data lake. We recommend that you use the new data lake.'."\n" + ."\n" + .'If you create an EMR cluster for the first time after 17:00 (UTC +8) on December 19, 2022, you cannot select the HADOOP, DATA_SCIENCE, PRESTO, or ZOOKEEPER cluster type.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'DATALAKE', + ], + ], + [ + 'name' => 'ReleaseVersion', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => 'EMR发行版。', + 'description' => 'The EMR version. You can query available E-MapReduce (EMR) versions in the EMR console.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'EMR-5.8.0', + ], + ], + [ + 'name' => 'ClusterName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群名称。', + 'description' => 'The name of the cluster. The name must be 1 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (\\_), periods (.), and hyphens (-).'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'emrtest', + ], + ], + [ + 'name' => 'DeployMode', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '部署模式。', + 'description' => 'The deployment mode of master nodes in the cluster. Valid values:'."\n" + ."\n" + .'* NORMAL: regular mode. This is the default value. A cluster that contains only one master node is created.'."\n" + .'* HA: high availability (HA) mode. A cluster that contains three master nodes is created.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'HA', + ], + ], + [ + 'name' => 'SecurityMode', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => 'Kerberos安全模式。', + 'description' => 'The security mode of the cluster. Valid values:'."\n" + ."\n" + .'* NORMAL: disables Kerberos authentication for the cluster. This is the default value.'."\n" + .'* KERBEROS: enables Kerberos authentication for the cluster.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'NORMAL', + ], + ], + [ + 'name' => 'Applications', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '应用列表。', + 'description' => 'The services. Number of elements in the array: 1 to 100.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The service.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Application', + ], + 'required' => true, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ApplicationConfigs', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '应用配置。', + 'description' => 'The service configurations. Number of elements in the array: 1 to 1,000.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The service configuration.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ApplicationConfig', + ], + 'required' => false, + 'maxItems' => 1000, + ], + ], + [ + 'name' => 'NodeAttributes', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '节点属性。', + 'description' => 'The node attributes. The basic attributes of all ECS nodes in the cluster.'."\n", + 'required' => true, + '$ref' => '#/components/schemas/NodeAttributes', + ], + ], + [ + 'name' => 'NodeGroups', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '节点组。', + 'description' => 'The array of configurations of the node groups. Number of elements in the array: 1 to 100.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The node group configurations.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/NodeGroupConfig', + ], + 'required' => true, + 'example' => 'NORMAL', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'BootstrapScripts', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '引导脚本。', + 'description' => 'The array of bootstrap scripts. Number of elements in the array: 1 to 10.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The bootstrap script.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Script', + ], + 'required' => false, + 'maxItems' => 10, + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '标签。', + 'description' => 'The tag. Number of elements in the array: 0 to 20.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The tag.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Tag', + ], + 'required' => false, + 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****', + 'maxItems' => 20, + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '幂等客户端TOKEN。', + 'description' => 'The idempotent client token. If you call the same ClientToken multiple times, the returned results are the same. Only one cluster can be created with the same ClientToken.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => 'The cluster description.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Emr cluster for ETL', + ], + ], + [ + 'name' => 'DeletionProtection', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to enable release protection for the cluster. Valid values:'."\n" + ."\n" + .'* true: enables release protection for the cluster.'."\n" + .'* false: disables release protection for the cluster.'."\n" + ."\n" + .'Default value: false.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'ClusterId' => [ + 'title' => '集群ID。', + 'description' => 'The ID of cluster.'."\n", + 'type' => 'string', + 'example' => 'c-b933c5aac7f7***', + ], + 'OperationId' => [ + 'title' => '操作ID。', + 'description' => 'The ID of the operation.'."\n", + 'type' => 'string', + 'example' => 'op-13c37a77c505****', + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'The operation is invalid. %s', + ], + [ + 'errorCode' => 'OutOfStock', + 'errorMessage' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', + ], + [ + 'errorCode' => 'QuotaExceeded', + 'errorMessage' => 'Request fail due to quota exceed. %s', + ], + [ + 'errorCode' => 'AccountException', + 'errorMessage' => 'Account exception. %s', + ], + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'asynchronous', + 'callback' => 'Emr::2021-03-20::GetOperation', + 'callbackInterval' => 10000, + 'maxCallbackTimes' => 180, + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"ClusterId\\": \\"c-b933c5aac7f7***\\",\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateClusterResponse>\\n <RequestId>B51A4569-34A9-4EE3-B072-4BD054C21384</RequestId>\\n <OperationId>a5fdae32-ba06-4208-944b-53a8c209c9d9</OperationId>\\n <ClusterId>C-DEE18D2E8D890652</ClusterId>\\n</CreateClusterResponse>","errorExample":""}]', + 'title' => 'CreateCluster', + ], + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The ID of the cluster.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Cluster' => [ + 'description' => 'The details of the cluster.'."\n", + '$ref' => '#/components/schemas/Cluster', + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Cluster\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ClusterName\\": \\"emrtest\\",\\n \\"ClusterType\\": \\"DATALAKE\\",\\n \\"ClusterState\\": \\"RUNNING\\",\\n \\"StateChangeReason\\": {\\n \\"Code\\": \\"OutOfStock\\",\\n \\"Message\\": \\"The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.\\"\\n },\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"SubscriptionConfig\\": {\\n \\"PaymentDurationUnit\\": \\"Month\\",\\n \\"PaymentDuration\\": 12,\\n \\"AutoPayOrder\\": false,\\n \\"AutoRenew\\": true,\\n \\"AutoRenewDurationUnit\\": \\"Month\\",\\n \\"AutoRenewDuration\\": 12\\n },\\n \\"CreateTime\\": 1592837465784,\\n \\"ReadyTime\\": 1592837465784,\\n \\"EndTime\\": 1592837465784,\\n \\"ExpireTime\\": 1592837465784,\\n \\"ReleaseVersion\\": \\"EMR-5.3.0\\",\\n \\"DeployMode\\": \\"HA\\",\\n \\"SecurityMode\\": \\"NORMAL\\",\\n \\"NodeAttributes\\": {\\n \\"VpcId\\": \\"vpc-bp1tgey2p0ytxmdo5****\\",\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"SecurityGroupId\\": \\"sg-hp3abbae8lb6lmb1****\\",\\n \\"RamRole\\": \\"AliyunECSInstanceForEMRRole\\",\\n \\"KeyPairName\\": \\"emr_login\\",\\n \\"MasterRootPassword\\": \\"Adxefswfd****\\",\\n \\"SystemDiskEncrypted\\": false,\\n \\"SystemDiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"DataDiskEncrypted\\": false,\\n \\"DataDiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"DiskEncrypted\\": false,\\n \\"DiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\"\\n },\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"EmrDefaultRole\\": \\"AliyunEMRDefaultRole\\",\\n \\"VpcId\\": \\"\\",\\n \\"LogCollectStrategy\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"DeletionProtection\\": false\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<GetClusterResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <Cluster>\\n <ClusterId>C-E525E04F3914****</ClusterId>\\n <ClusterName>emr-hadoop-cluster</ClusterName>\\n <ClusterType>HADOOP</ClusterType>\\n <ClusterState>IDEL</ClusterState>\\n <PaymentType>Subscription</PaymentType>\\n <DeleteTime>1592837465784</DeleteTime>\\n <ExpiredTime>1592837465784</ExpiredTime>\\n <NetworkType>vpc</NetworkType>\\n <DeployMode>NORMAL</DeployMode>\\n <SecurityMode>NORMAL</SecurityMode>\\n <MetaStoreType>LOCAL</MetaStoreType>\\n <CreateTime>1592837465784</CreateTime>\\n <RegionId>cn-hangzhou</RegionId>\\n <MainVersion>EMR-3.33.0</MainVersion>\\n <StateChangeReason>手动重启</StateChangeReason>\\n </Cluster>\\n</GetClusterResponse>","errorExample":""}]', + 'title' => 'GetCluster', + 'summary' => 'Obtains the details of a cluster.', + ], + 'UpdateClusterAttribute' => [ + 'methods' => [ + 'get', + 'post', + ], + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'ClusterName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群名称。', + 'description' => 'The cluster name.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'emrtest', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => 'The cluster description.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Emr cluster for ETL', + ], + ], + [ + 'name' => 'DeletionProtection', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether release protection is enabled.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'UpdateClusterAttribute', + 'summary' => 'Updates cluster attributes.', + ], + 'ListClusters' => [ + 'summary' => 'Queries E-MapReduce (EMR) clusters.', + 'methods' => [ + 'get', + 'post', + ], + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + 'enum' => [ + 'cn-qingdao', + 'cn-beijing', + 'cn-zhangjiakou', + 'cn-huhehaote', + 'cn-hangzhou', + 'cn-shanghai', + 'cn-shenzhen', + 'cn-chengdu', + 'cn-hongkong', + 'cn-wulanchabu', + 'cn-heyuan-acdr-1', + 'cn-qingdao-acdr-ut-1', + 'ap-northeast-1', + 'ap-southeast-1', + 'ap-southeast-2', + 'ap-southeast-3', + 'ap-southeast-5', + 'ap-south-1', + 'us-east-1', + 'us-west-1', + 'me-east-1', + 'me-central-1', + 'eu-central-1', + 'eu-west-1', + 'cn-north-2-gov-1', + 'cn-wulanchabu-acdr-1', + ], + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'The starting point of the current query. If you do not configure this parameter, the query starts from the beginning.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'eyJlY21OZXh0VG9rZW4iOiIxIiwidGFpaGFvTmV4dFRva2VuIjoiNTYiLCJ0YWloYW9OZXh0VG9rZW5JbnQiOjU2LCJlY21OZXh0VG9rZW5JbnQiOjF9', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The number of entries to return on each page. Valid values: 1 to 100.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'ClusterName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群名称。', + 'description' => 'The name of the cluster.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'emrtest', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '资源组ID。', + 'description' => 'The ID of the resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfmzabjyop****', + ], + ], + [ + 'name' => 'ClusterIds', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '集群ID列表。数组元数个数N的取值范围:1~100。', + 'description' => 'The cluster IDs. Number of elements in the array: 1 to 100.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'c-b933c5aac8fe****', + ], + 'required' => false, + 'example' => 'rg-acfmzabjyop****', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ClusterTypes', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '集群类型列表。数组元数个数N的取值范围:1~100。', + 'description' => 'The list of cluster types. Number of elements in the array: 1 to 100.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The type of the cluster. Valid values:'."\n" + ."\n" + .'* DATALAKE'."\n" + .'* OLAP'."\n" + .'* DATAFLOW'."\n" + .'* DATASERVING'."\n" + .'* CUSTOM'."\n" + .'* HADOOP'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DATALAKE', + ], + 'required' => false, + 'example' => '["c-b933c5aac8fe****"]', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ClusterStates', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '集群状态列表。数组元数个数N的取值范围:1~100。', + 'description' => 'The states of the clusters. Number of elements in the array: 1 to 100.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The status of the cluster. Valid values:'."\n" + ."\n" + .'* STARTING'."\n" + .'* START_FAILED'."\n" + .'* BOOTSTRAPPING'."\n" + .'* RUNNING'."\n" + .'* TERMINATING'."\n" + .'* TERMINATED'."\n" + .'* TERMINATED_WITH_ERRORS'."\n" + .'* TERMINATE_FAILED'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'RUNNING', + ], + 'required' => false, + 'example' => '["HADOOP"]', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'PaymentTypes', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '付费类型列表。数组元数个数N的取值范围:1~100。', + 'description' => 'The billing methods. You can specify a maximum of 2 items.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'A billing method. Valid values:'."\n" + ."\n" + .'* PayAsYouGo: pay-as-you-go'."\n" + .'* Subscription: subscription'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'PayAsYouGo', + ], + 'required' => false, + 'example' => '["ECS"]', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '标签列表。数组元数个数N的取值范围:1~20。', + 'description' => 'The tag list. Number of elements in the array: 1 to 20.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The tag.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Tag', + ], + 'required' => false, + 'example' => '["PayAsYouGo"]', + 'maxItems' => 20, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Clusters' => [ + 'description' => 'The clusters.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The cluster.'."\n", + '$ref' => '#/components/schemas/ClusterSummary', + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3896A', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'The page number of the next page returned.'."\n", + 'type' => 'string', + 'example' => 'eyJlY21OZXh0VG9rZW4iOiIxIiwidGFpaGFvTmV4dFRva2VuIjoiNTYiLCJ0YWloYW9OZXh0VG9rZW5JbnQiOjU2LCJlY21OZXh0VG9rZW5JbnQiOjF9', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The number of entries returned per page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of pages.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1000', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Clusters\\": [\\n {\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ClusterName\\": \\"emrtest\\",\\n \\"ClusterType\\": \\"DATALAKE\\",\\n \\"ClusterState\\": \\"RUNNING\\",\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"CreateTime\\": 1592837465784,\\n \\"ReadyTime\\": 1592837465784,\\n \\"ExpireTime\\": 1592837465784,\\n \\"EndTime\\": 1592837465784,\\n \\"ReleaseVersion\\": \\"EMR-5.8.0\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"StateChangeReason\\": {\\n \\"Code\\": \\"OutOfStock\\",\\n \\"Message\\": \\"The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.\\"\\n },\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"EmrDefaultRole\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"DeletionProtection\\": true\\n }\\n ],\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\",\\n \\"NextToken\\": \\"eyJlY21OZXh0VG9rZW4iOiIxIiwidGFpaGFvTmV4dFRva2VuIjoiNTYiLCJ0YWloYW9OZXh0VG9rZW5JbnQiOjU2LCJlY21OZXh0VG9rZW5JbnQiOjF9\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 1000\\n}","errorExample":""},{"type":"xml","example":"<ListClustersResponse>\\n <Clusters>\\n <ClusterId>C-E525E04F3914****</ClusterId>\\n <ClusterName>emr-hadoop-cluster</ClusterName>\\n <ClusterType>HADOOP</ClusterType>\\n <ClusterState>IDEL</ClusterState>\\n <PaymentType>Subscription</PaymentType>\\n <CreateTime>1592837465784</CreateTime>\\n <DeleteTime>1592837465784</DeleteTime>\\n <ExpiredTime>1592837465784</ExpiredTime>\\n </Clusters>\\n <TotalCount>1000</TotalCount>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <NextToken>2</NextToken>\\n <MaxResults>20</MaxResults>\\n</ListClustersResponse>","errorExample":""}]', + 'title' => 'ListClusters', + ], + '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' => 'The ID of the region in which you want to create the instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The ID of the cluster.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'OperationId' => [ + 'title' => '操作ID。', + 'description' => 'The ID of the operation.'."\n", + 'type' => 'string', + 'example' => 'op-13c37a77c505****', + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'The operation is invalid. %s', + ], + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'asynchronous', + 'callback' => 'Emr::2021-03-20::GetOperation', + 'callbackInterval' => 10000, + 'maxCallbackTimes' => 60, + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteClusterResponse>\\n <requestId>69EBEFC7-9193-1DDA-8E16-9E03779377B5</requestId>\\n <Data>true</Data>\\n</DeleteClusterResponse>","errorExample":""}]', + 'title' => 'DeleteCluster', + 'summary' => 'Deletes a pay-as-you-go cluster.', + ], + 'GetClusterCloneMeta' => [ + 'summary' => 'Obtains metadata of the E-MapReduce (EMR) cluster that you want to clone. This helps you call the CreateCluster API operation to quickly create an EMR cluster.', + 'methods' => [ + 'get', + 'post', + ], + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'ClusterCloneMeta' => [ + 'description' => 'Cluster clone metadata.'."\n", + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'title' => '地域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'ResourceGroupId' => [ + 'title' => '资源组ID。', + 'description' => 'The resource group ID.'."\n", + 'type' => 'string', + 'example' => 'rg-acfmzabjyop****', + ], + 'ClusterState' => [ + 'title' => '集群状态。', + 'description' => 'The status of the cluster. Valid values:'."\n" + ."\n" + .'* STARTING'."\n" + .'* START_FAILED'."\n" + .'* BOOTSTRAPPING'."\n" + .'* RUNNING'."\n" + .'* TERMINATING'."\n" + .'* TERMINATED'."\n" + .'* TERMINATED_WITH_ERRORS'."\n" + .'* TERMINATE_FAILED'."\n", + 'type' => 'string', + 'example' => 'RUNNING', + ], + 'ClusterId' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'example' => 'c-b933c5aac7f7****', + ], + 'ClusterName' => [ + 'title' => '集群名称。', + 'description' => 'The name of the cluster.'."\n", + 'type' => 'string', + 'example' => 'emrtest', + ], + 'ClusterType' => [ + 'title' => '集群类型。', + 'description' => 'The cluster type. Valid values:'."\n" + ."\n" + .'* DATALAKE'."\n" + .'* OLAP'."\n" + .'* DATAFLOW'."\n" + .'* DATASERVING'."\n" + .'* CUSTOM'."\n" + .'* HADOOP'."\n", + 'type' => 'string', + 'example' => 'DATALAKE', + ], + 'PaymentType' => [ + 'title' => '付费类型。', + 'description' => 'The billing method of the cluster. Valid values:'."\n" + ."\n" + .'* PayAsYouGo'."\n" + .'* Subscription'."\n", + 'type' => 'string', + 'example' => 'PayAsYouGo', + ], + 'SubscriptionConfig' => [ + 'title' => '预付费配置。', + 'description' => 'The subscription configurations.'."\n", + '$ref' => '#/components/schemas/SubscriptionConfig', + ], + 'ReleaseVersion' => [ + 'title' => 'EMR发行版。', + 'description' => 'The EMR version.'."\n", + 'type' => 'string', + 'example' => 'EMR-5.6.0', + ], + 'DeployMode' => [ + 'title' => '部署模式。', + 'description' => 'The deployment mode of master nodes in the cluster. Valid values:'."\n" + ."\n" + .'* NORMAL: regular mode.'."\n" + .'* HA: high availability mode.'."\n", + 'type' => 'string', + 'example' => 'HA', + ], + 'SecurityMode' => [ + 'title' => 'Kerberos安全模式。', + 'description' => 'The security mode of the cluster. Valid values:'."\n" + ."\n" + .'* NORMAL: regular mode. Kerberos is not enabled.'."\n" + .'* KERBEROS: Kerberos mode. Kerberos is enabled.'."\n", + 'type' => 'string', + 'example' => 'NORMAL', + ], + 'NodeAttributes' => [ + 'title' => '节点属性。', + 'description' => 'The node attributes.'."\n", + '$ref' => '#/components/schemas/NodeAttributes', + ], + 'Tags' => [ + 'description' => 'The list of cluster tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The tag.'."\n", + '$ref' => '#/components/schemas/Tag', + ], + ], + 'EmrDefaultRole' => [ + 'title' => 'EMR服务角色。', + 'description' => 'The EMR service role.'."\n", + 'type' => 'string', + 'example' => 'AliyunEMRDefaultRole', + ], + 'Applications' => [ + 'title' => '集群应用。', + 'description' => 'The cluster applications.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The application.'."\n", + '$ref' => '#/components/schemas/Application', + ], + ], + 'ApplicationConfigs' => [ + 'title' => '创建集群时的服务配置项。', + 'description' => 'The modified configuration items.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The configuration item.'."\n", + '$ref' => '#/components/schemas/ApplicationConfig', + ], + ], + 'NodeGroups' => [ + 'description' => 'The node groups. The number of elements in the array: 1 to 100.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The node group.'."\n", + '$ref' => '#/components/schemas/NodeGroup', + ], + ], + 'BootstrapScripts' => [ + 'description' => 'An array of bootstrap scripts. The number of elements in the array: 1 to 10.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The bootstrap script.'."\n", + '$ref' => '#/components/schemas/Script', + ], + ], + 'ExistCloneConfig' => [ + 'description' => 'Indicates whether the service configurations of a Hadoop cluster that you made during cluster creation can be cloned. Valid values:'."\n" + ."\n" + .'* False'."\n" + .'* True'."\n", + 'type' => 'boolean', + 'example' => 'True', + ], + 'ScalingPolicies' => [ + 'description' => 'The auto scaling policies of each node group in the cluster.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The auto scaling policy.'."\n", + 'type' => 'object', + 'properties' => [ + 'NodeGroupId' => [ + 'title' => '节点组ID。', + 'description' => 'The node group ID.'."\n", + 'type' => 'string', + 'example' => 'ng-869471354ecd****', + ], + 'ClusterId' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'example' => 'c-b933c5aac8fe****', + ], + 'ScalingRules' => [ + 'title' => '伸缩规则列表', + 'description' => 'The auto scaling rules.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The auto scaling rule.'."\n", + 'type' => 'object', + 'properties' => [ + 'RuleName' => [ + 'title' => '弹性伸缩规则名称。', + 'description' => 'The name of the auto scaling rule.'."\n", + 'type' => 'string', + 'example' => 'scaling-out-memory', + ], + 'TriggerType' => [ + 'title' => '伸缩规则类型。', + 'description' => 'The trigger mode of the auto scaling rule. This parameter is required. Valid values:'."\n" + ."\n" + .'* TIME_TRIGGER: time-based scaling.'."\n" + .'* METRICS_TRIGGER: load-based scaling.'."\n", + 'type' => 'string', + 'example' => 'TIME_TRIGGER', + ], + 'ActivityType' => [ + 'title' => '伸缩类型。', + 'description' => 'The scaling type. This parameter is required. Valid values:'."\n" + ."\n" + .'* SCALE_OUT'."\n" + .'* SCALE_IN'."\n", + 'type' => 'string', + 'example' => 'SCALE_OUT', + ], + 'AdjustmentValue' => [ + 'title' => '调整值。', + 'description' => 'The adjustment value of the auto scaling rule. This parameter is required. The parameter value must be a positive integer, which indicates the number of instances to be added or removed.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TimeTrigger' => [ + 'title' => '按照时间伸缩描述。', + 'description' => 'The description of time-based scaling.'."\n", + '$ref' => '#/components/schemas/TimeTrigger', + ], + 'MetricsTrigger' => [ + 'title' => '按照负载伸缩描述。', + 'description' => 'The description of load-based scaling.'."\n", + '$ref' => '#/components/schemas/MetricsTrigger', + ], + ], + ], + ], + 'ScalingPolicyId' => [ + 'title' => '伸缩策略ID。', + 'description' => 'The ID of the auto scaling policy.'."\n", + 'type' => 'string', + 'example' => 'asp-asduwe23znl***', + ], + 'Constraints' => [ + 'title' => '最大最小值约束', + 'description' => 'The maximum and minimum number of nodes in the node group.'."\n", + 'type' => 'object', + 'properties' => [ + 'MaxCapacity' => [ + 'title' => '最大值', + 'description' => 'The maximum number of nodes in the node group. Default value: 2000.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'MinCapacity' => [ + 'title' => '最小值', + 'description' => 'The minimum number of nodes in the node group. Default value: 0.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + ], + 'MaxOnDemandCapacity' => [ + 'title' => '最大按量值。', + 'description' => 'The maximum number of pay-as-you-go nodes in the node group.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + 'ScalingPolicyType' => [ + 'title' => '弹性策略类型', + 'description' => 'The type of the auto scaling policy.'."\n", + 'type' => 'string', + ], + 'NodeGroupName' => [ + 'description' => 'The name of the node group.'."\n", + 'type' => 'string', + 'example' => 'emr-etltask', + ], + ], + ], + ], + 'DeletionProtection' => [ + 'description' => 'Indicates whether release protection is enabled for the cluster. Valid values:'."\n" + ."\n" + .'* true: Release protection is enabled for the cluster.'."\n" + .'* false: Release protection is disabled for the cluster.'."\n" + ."\n" + .'Default value: false.'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'CollationTimeZone' => [ + 'title' => '弹性伸缩时区', + '$ref' => '#/components/schemas/CollationTimeZone', + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ClusterCloneMeta\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"ClusterState\\": \\"RUNNING\\",\\n \\"ClusterId\\": \\"c-b933c5aac7f7****\\",\\n \\"ClusterName\\": \\"emrtest\\",\\n \\"ClusterType\\": \\"DATALAKE\\",\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"SubscriptionConfig\\": {\\n \\"PaymentDurationUnit\\": \\"Month\\",\\n \\"PaymentDuration\\": 12,\\n \\"AutoPayOrder\\": false,\\n \\"AutoRenew\\": true,\\n \\"AutoRenewDurationUnit\\": \\"Month\\",\\n \\"AutoRenewDuration\\": 12\\n },\\n \\"ReleaseVersion\\": \\"EMR-5.6.0\\",\\n \\"DeployMode\\": \\"HA\\",\\n \\"SecurityMode\\": \\"NORMAL\\",\\n \\"NodeAttributes\\": {\\n \\"VpcId\\": \\"vpc-bp1tgey2p0ytxmdo5****\\",\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"SecurityGroupId\\": \\"sg-hp3abbae8lb6lmb1****\\",\\n \\"RamRole\\": \\"AliyunECSInstanceForEMRRole\\",\\n \\"KeyPairName\\": \\"emr_login\\",\\n \\"MasterRootPassword\\": \\"Adxefswfd****\\",\\n \\"SystemDiskEncrypted\\": false,\\n \\"SystemDiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"DataDiskEncrypted\\": false,\\n \\"DataDiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"DiskEncrypted\\": false,\\n \\"DiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\"\\n },\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"EmrDefaultRole\\": \\"AliyunEMRDefaultRole\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ApplicationVersion\\": \\"2.6.0\\"\\n }\\n ],\\n \\"ApplicationConfigs\\": [\\n {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ConfigFileName\\": \\"hdfs-site.xml\\",\\n \\"ConfigItemKey\\": \\"dfs.namenode.checkpoint.period\\",\\n \\"ConfigItemValue\\": \\"3600s\\",\\n \\"ConfigScope\\": \\"NODE_GROUP\\",\\n \\"NodeGroupName\\": \\"core-1\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\"\\n }\\n ],\\n \\"NodeGroups\\": [\\n {\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupName\\": \\"core-1\\",\\n \\"NodeGroupType\\": \\"CORE\\",\\n \\"RunningNodeCount\\": 3,\\n \\"InstanceTypes\\": [\\n \\"\\"\\n ],\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"DataDisks\\": [\\n {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 80,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 5\\n }\\n ],\\n \\"SystemDisk\\": {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 60,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 1\\n },\\n \\"NodeGroupState\\": \\"CREATED\\",\\n \\"AdditionalSecurityGroupIds\\": [\\n \\"\\"\\n ],\\n \\"WithPublicIp\\": false,\\n \\"VSwitchIds\\": [\\n \\"\\"\\n ],\\n \\"SpotStrategy\\": \\"NoSpot\\",\\n \\"SpotBidPrices\\": [\\n {\\n \\"InstanceType\\": \\"ecs.g7.2xlarge\\",\\n \\"BidPrice\\": 1000\\n }\\n ],\\n \\"StateChangeReason\\": {\\n \\"Code\\": \\"MissingParameter\\",\\n \\"Message\\": \\"The instance type is required.\\"\\n },\\n \\"MinimalNodeCount\\": 0,\\n \\"MaximalNodeCount\\": 200,\\n \\"GracefulShutdown\\": false,\\n \\"SpotInstanceRemedy\\": true,\\n \\"CompensateWithOnDemand\\": true,\\n \\"NodeResizeStrategy\\": \\"PRIORITY\\",\\n \\"CostOptimizedConfig\\": {\\n \\"OnDemandBaseCapacity\\": 80,\\n \\"OnDemandPercentageAboveBaseCapacity\\": 80,\\n \\"SpotInstancePools\\": 2\\n },\\n \\"DeploymentSetStrategy\\": \\"NONE\\",\\n \\"AutoCompensateState\\": true,\\n \\"ExtraAttributes\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"AckConfig\\": {\\n \\"AckInstanceId\\": \\"\\",\\n \\"NodeSelectors\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"Tolerations\\": [\\n {\\n \\"Key\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Operator\\": \\"\\",\\n \\"Effect\\": \\"\\"\\n }\\n ],\\n \\"Namespace\\": \\"\\",\\n \\"RequestCpu\\": 0,\\n \\"RequestMemory\\": 0,\\n \\"LimitCpu\\": 0,\\n \\"LimitMemory\\": 0,\\n \\"DataDiskStorageClass\\": \\"\\",\\n \\"DataDiskSize\\": 0,\\n \\"CustomLabels\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"CustomAnnotations\\": [],\\n \\"MountHostCgroup\\": true,\\n \\"NodeAffinity\\": \\"\\",\\n \\"PodAntiAffinity\\": \\"\\",\\n \\"PodAffinity\\": \\"\\",\\n \\"PreStartCommand\\": [\\n \\"\\"\\n ],\\n \\"Pvcs\\": [\\n {\\n \\"DataDiskStorageClass\\": \\"\\",\\n \\"DataDiskSize\\": 0,\\n \\"Path\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"Volumes\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Path\\": \\"\\",\\n \\"Type\\": \\"\\"\\n }\\n ],\\n \\"VolumeMounts\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Path\\": \\"\\"\\n }\\n ]\\n },\\n \\"IaaSType\\": \\"\\",\\n \\"PrivatePoolOptions\\": {\\n \\"PrivatePoolIds\\": [\\n \\"\\"\\n ],\\n \\"MatchCriteria\\": \\"Open\\"\\n },\\n \\"Status\\": \\"CREATED\\"\\n }\\n ],\\n \\"BootstrapScripts\\": [\\n {\\n \\"ScriptName\\": \\"脚本名-1\\",\\n \\"ScriptPath\\": \\"oss://bucket1/update_hosts.sh\\",\\n \\"ScriptArgs\\": \\"-host 10.0.10.5 -m 30\\",\\n \\"Priority\\": 1,\\n \\"NodeSelector\\": {\\n \\"NodeSelectType\\": \\"CLUSTER\\",\\n \\"NodeNames\\": [\\n \\"\\"\\n ],\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupIds\\": [\\n \\"ng-869471354ecd****\\"\\n ],\\n \\"NodeGroupTypes\\": [\\n \\"\\"\\n ],\\n \\"NodeGroupName\\": \\"master-1\\",\\n \\"NodeGroupNames\\": [\\n \\"master-1\\"\\n ]\\n },\\n \\"ExecutionMoment\\": \\"BEFORE_INSTALL\\",\\n \\"ExecutionFailStrategy\\": \\"FAILED_CONTINUE\\"\\n }\\n ],\\n \\"ExistCloneConfig\\": true,\\n \\"ScalingPolicies\\": [\\n {\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ScalingRules\\": [\\n {\\n \\"RuleName\\": \\"scaling-out-memory\\",\\n \\"TriggerType\\": \\"TIME_TRIGGER\\",\\n \\"ActivityType\\": \\"SCALE_OUT\\",\\n \\"AdjustmentValue\\": 100,\\n \\"TimeTrigger\\": {\\n \\"LaunchTime\\": \\"\\",\\n \\"StartTime\\": 1639714800000,\\n \\"EndTime\\": 1639714800000,\\n \\"LaunchExpirationTime\\": 600,\\n \\"RecurrenceType\\": \\"WEEKLY\\",\\n \\"RecurrenceValue\\": \\"MON,FRI,SUN\\"\\n },\\n \\"MetricsTrigger\\": {\\n \\"TimeWindow\\": 30,\\n \\"EvaluationCount\\": 2,\\n \\"CoolDownInterval\\": 300,\\n \\"TimeConstraints\\": [\\n {\\n \\"StartTime\\": \\"06:00:00\\",\\n \\"EndTime\\": \\"23:59:59\\"\\n }\\n ],\\n \\"ConditionLogicOperator\\": \\"Or\\",\\n \\"Conditions\\": [\\n {\\n \\"MetricName\\": \\"yarn_resourcemanager_root_availablememoryusage\\",\\n \\"Tags\\": [],\\n \\"Statistics\\": \\"AVG\\",\\n \\"ComparisonOperator\\": \\"LT\\",\\n \\"Threshold\\": 12.5\\n }\\n ]\\n }\\n }\\n ],\\n \\"ScalingPolicyId\\": \\"asp-asduwe23znl***\\",\\n \\"Constraints\\": {\\n \\"MaxCapacity\\": 200,\\n \\"MinCapacity\\": 50,\\n \\"MaxOnDemandCapacity\\": 200\\n },\\n \\"ScalingPolicyType\\": \\"\\",\\n \\"NodeGroupName\\": \\"emr-etltask\\"\\n }\\n ],\\n \\"DeletionProtection\\": false,\\n \\"CollationTimeZone\\": {\\n \\"TimeZone\\": \\"Asia/Shanghai\\",\\n \\"CurrentTimeOffset\\": \\"UTC+08:00\\"\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetClusterCloneMeta', + ], + 'UpdateClusterAutoRenew' => [ + 'methods' => [ + 'get', + 'post', + ], + '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' => '集群是否自动续费。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ClusterAutoRenewDuration', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群自动续费时长。', + 'description' => '集群自动续费时长。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'ClusterAutoRenewDurationUnit', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群自动续费时长单位。', + 'description' => '集群续费时长单位。', + 'type' => 'string', + 'required' => false, + 'example' => 'Monthly', + ], + ], + [ + 'name' => 'RenewAllInstances', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '续费所有ECS实例。', + 'description' => '续费所有ECS实例。', + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'AutoRenewInstances', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '自动续费ECS实例列表。', + 'description' => '自动续费ECS实例列表。', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/AutoRenewInstance', + ], + 'required' => false, + 'maxItems' => 5000, + ], + ], + ], + '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', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateClusterAutoRenewResponse>\\n <requestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</requestId>\\n <OperationId>64bedf6d-96e3-4780-95a0-4ad376ad****</OperationId>\\n</UpdateClusterAutoRenewResponse>","errorExample":""}]', + ], + 'CreateApiTemplate' => [ + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeNodes' => [ + 'FEATUREemapreduce6STB1S', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '地域ID。', + 'description' => 'The region ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'TemplateName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群模板名字。', + 'description' => 'Cluster template name.', + 'type' => 'string', + 'required' => true, + 'example' => 'DATALAKE template', + ], + ], + [ + 'name' => 'ApiName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '接口名。', + 'description' => 'The name of the API operation. You can create only a cluster API operation template. Set the value to CreateCluster.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'CreateCluster', + ], + ], + [ + 'name' => 'Content', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '接口参数request内容', + 'description' => 'The content of the cluster API operation template. Set the value to JSON strings of the request parameters of the [CreateCluster](~~454393~~) API operation for creating a cluster.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'content', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '资源组ID。', + 'description' => 'Resource group ID.', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfmzabjyop****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TemplateId' => [ + 'description' => 'Template ID (it is recommended to use the parameter TemplateId).', + 'type' => 'string', + 'example' => 'at-41b4c6a0fc63****', + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + 'Success' => [ + 'description' => 'Template ID (to be deprecated).', + 'type' => 'string', + 'example' => 'at-41b4c6a0fc63****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TemplateId\\": \\"at-41b4c6a0fc63****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"Success\\": \\"at-41b4c6a0fc63****\\"\\n}","type":"json"}]', + 'title' => 'CreateApiTemplate', + 'summary' => 'Creates a predefined API operation template. The template contains information about an API operation, including the basic structure, request method, URL path, request parameters, and response format.', + 'requestParamsDescription' => 'Example value of the Content parameter (Java language): \\`'."\n" + ."\n" + .'CreateClusterRequest request = new CreateClusterRequest();'."\n" + ."\n" + .'request.setRegionId("cn-beijing");'."\n" + ."\n" + .'request.setClusterType("DATALAKE");'."\n" + ."\n" + .'// Other parameters for creating a cluster.'."\n" + ."\n" + .'String content = new Gson().toJson(request); \\`'."\n", + 'translator' => 'machine', + ], + 'UpdateApiTemplate' => [ + 'description' => '修改集群模板', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeNodes' => [ + 'FEATUREemapreduce6STB1S', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'TemplateName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群模板名字。', + 'description' => 'The name of the template.', + 'type' => 'string', + 'required' => true, + 'example' => 'datalakeTest1', + ], + ], + [ + 'name' => 'ApiName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '接口名。', + 'description' => 'The name of the API operation. You can create only a cluster API operation template. Set the value to CreateCluster.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'CreateCluster', + ], + ], + [ + 'name' => 'Content', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '接口参数request内容', + 'description' => 'The content of the cluster API operation template. Set the value to JSON strings of the request parameters of the [CreateCluster](~~454393~~) API operation for creating a cluster.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'CreateCluster', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '资源组ID。', + 'description' => 'Resource group ID.', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfmzabjyop****', + ], + ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群模板id。', + 'description' => 'Template ID (it is recommended to use the parameter TemplateId).', + 'type' => 'string', + 'required' => true, + 'example' => 'AT-****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Template ID (to be deprecated).', + 'type' => 'boolean', + 'deprecated' => true, + 'example' => 'true', + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'UpdateApiTemplate', + 'summary' => 'Updates an API operation template.', + 'requestParamsDescription' => 'Example value of the Content parameter (Java language): \\`'."\n" + ."\n" + .'CreateClusterRequest request = new CreateClusterRequest();'."\n" + ."\n" + .'request.setRegionId("cn-beijing");'."\n" + ."\n" + .'request.setClusterType("DATALAKE");'."\n" + ."\n" + .'// Other parameters for creating a cluster.'."\n" + ."\n" + .'String content = new Gson().toJson(request); \\`'."\n", + ], + 'ListApiTemplates' => [ + 'summary' => 'Queries a list of API operation templates.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + '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' => '集群模板id列表。', + 'type' => 'array', + 'items' => [ + 'description' => '', + '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模板', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '资源组ID。', + 'description' => '资源组ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfmzabjyop****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'ApiTemplates' => [ + 'description' => 'The array of API templates.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the API template.'."\n", + '$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', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ApiTemplates\\": [\\n {\\n \\"Id\\": 1,\\n \\"GmtCreate\\": 0,\\n \\"CreateTime\\": 0,\\n \\"GmtModified\\": 0,\\n \\"UpdateTime\\": 0,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"UserId\\": \\"150***\\",\\n \\"OperatorId\\": \\"150***\\",\\n \\"TemplateId\\": \\"AT-Af***\\",\\n \\"TemplateName\\": \\"AT-Af***\\",\\n \\"ApiName\\": \\"CreateCluster\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"Status\\": \\"READY\\",\\n \\"Content\\": \\"\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListApiTemplates', + ], + 'GetApiTemplate' => [ + 'summary' => 'Queries the detailed configuration information about an API operation template.', + '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' => 'Region ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群模板id。', + 'description' => 'Cluster template ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'at-41b4c6a0fc63****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The content of the API operation template.'."\n", + 'deprecated' => true, + '$ref' => '#/components/schemas/ApiTemplate', + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Id\\": 1,\\n \\"GmtCreate\\": 0,\\n \\"CreateTime\\": 0,\\n \\"GmtModified\\": 0,\\n \\"UpdateTime\\": 0,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"UserId\\": \\"150***\\",\\n \\"OperatorId\\": \\"150***\\",\\n \\"TemplateId\\": \\"AT-Af***\\",\\n \\"TemplateName\\": \\"AT-Af***\\",\\n \\"ApiName\\": \\"CreateCluster\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"Status\\": \\"READY\\",\\n \\"Content\\": \\"\\"\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetApiTemplate', + 'translator' => 'machine', + ], + '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' => 'Region ID', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群模板id。', + 'description' => 'Cluster template ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'at-****', + ], + ], + [ + 'name' => 'ApiName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '接口名。', + 'description' => 'Interface name.', + 'type' => 'string', + 'required' => true, + 'example' => 'CreateCluster', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '资源组ID。', + 'description' => 'Resource group ID.', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfmzabjyop****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Success' => [ + 'description' => 'Whether the call was successful: - true: Call succeeded - false: Call failed.', + 'type' => 'boolean', + 'deprecated' => true, + 'example' => 'true', + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'DeleteApiTemplate', + 'summary' => 'Deletes an API operation template.', + 'translator' => 'machine', + ], + 'RunApiTemplate' => [ + 'methods' => [ + 'get', + 'post', + ], + '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', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"{\\\\\\\\\\\\\\"clusterId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"c-b7be171f1928****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operationId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"op-61126efe629d****\\\\\\\\\\\\\\"}\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'RunApiTemplate', + 'summary' => 'Calls an API operation template.', + ], + 'CreateNodeGroup' => [ + 'summary' => 'Creates a node group.', + 'description' => '创建节点组。', + 'methods' => [ + 'get', + 'post', + ], + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'C-E525E04F3914****', + ], + ], + [ + 'name' => 'NodeGroup', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '节点组信息', + 'description' => 'The information about the node group.'."\n", + 'required' => true, + '$ref' => '#/components/schemas/NodeGroupConfig', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'NodeGroupId' => [ + 'description' => 'The ID of the machine group.'."\n", + 'type' => 'string', + 'example' => 'G-21E39B11837E****', + 'title' => '节点组id', + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"NodeGroupId\\": \\"G-21E39B11837E****\\",\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateNodeGroupResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <NodeGroupId>G-21E39B11837E****</NodeGroupId>\\n</CreateNodeGroupResponse>","errorExample":""}]', + 'title' => 'CreateNodeGroup', + ], + 'ListNodeGroups' => [ + 'methods' => [ + 'get', + 'post', + ], + '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' => 'The ID of the region in which you want to create the instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'Marks the current position where reading starts. If you set this value to null, you can start from the beginning.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The number of maximum number of records to obtain at a time. Valid values: 1 to 100.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'NodeGroupIds', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '节点组ID列表。', + 'description' => 'The IDs of node groups. Valid values of the number of array elements N: 1 to 100.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the node group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ng-869471354ecd****', + ], + 'required' => false, + 'example' => 'c-b933c5aac8fe****', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'NodeGroupNames', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '节点组名称列表。', + 'description' => 'The list of node group names. Valid values of the number of array elements N: 1 to 100.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The name of the node group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'core-1', + ], + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'NodeGroupTypes', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '节点组类型列表。', + 'description' => 'The list of node group types. Valid values of the number of array elements N: 1 to 100.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The type of the node group. Valid values:'."\n" + ."\n" + .'* MASTER: master node group'."\n" + .'* CORE: core node group'."\n" + .'* TASK: task node group'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'CORE', + ], + 'required' => false, + 'example' => '20', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'NodeGroupStates', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '节点组状态。', + 'description' => 'The status of the node group. Valid values of the number of array elements N: 1 to 100.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The status of the node group. Valid values:'."\n" + ."\n" + .'* PROVISIONING: The instance is being initialized.'."\n" + .'* INCREASING: The cluster is being scaled out.'."\n" + .'* DECREASING: The instance is being scaled in.'."\n" + .'* SUSPENDED: suspended.'."\n" + .'* RUNNING: The job connector is running.'."\n" + .'* RECONFIGURING: The configuration is being changed.'."\n" + .'* TERMINATING: The instance is being terminated.'."\n" + .'* TERMINATED: The instance is terminated.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'RESIZING', + ], + 'required' => false, + 'example' => '["CORE"]', + 'maxItems' => 50, + ], + ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'NodeGroups' => [ + 'description' => 'The array of node groups.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The node group.'."\n", + '$ref' => '#/components/schemas/NodeGroup', + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'Returns the location of the data that was read. Empty indicates that the data has been read.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The maximum number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"NodeGroups\\": [\\n {\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupName\\": \\"core-1\\",\\n \\"NodeGroupType\\": \\"CORE\\",\\n \\"RunningNodeCount\\": 3,\\n \\"InstanceTypes\\": [\\n \\"\\"\\n ],\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"DataDisks\\": [\\n {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 80,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 5\\n }\\n ],\\n \\"SystemDisk\\": {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 60,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 1\\n },\\n \\"NodeGroupState\\": \\"CREATED\\",\\n \\"AdditionalSecurityGroupIds\\": [\\n \\"\\"\\n ],\\n \\"WithPublicIp\\": false,\\n \\"VSwitchIds\\": [\\n \\"\\"\\n ],\\n \\"SpotStrategy\\": \\"NoSpot\\",\\n \\"SpotBidPrices\\": [\\n {\\n \\"InstanceType\\": \\"ecs.g7.2xlarge\\",\\n \\"BidPrice\\": 1000\\n }\\n ],\\n \\"StateChangeReason\\": {\\n \\"Code\\": \\"MissingParameter\\",\\n \\"Message\\": \\"The instance type is required.\\"\\n },\\n \\"MinimalNodeCount\\": 0,\\n \\"MaximalNodeCount\\": 200,\\n \\"GracefulShutdown\\": false,\\n \\"SpotInstanceRemedy\\": true,\\n \\"CompensateWithOnDemand\\": true,\\n \\"NodeResizeStrategy\\": \\"PRIORITY\\",\\n \\"CostOptimizedConfig\\": {\\n \\"OnDemandBaseCapacity\\": 80,\\n \\"OnDemandPercentageAboveBaseCapacity\\": 80,\\n \\"SpotInstancePools\\": 2\\n },\\n \\"DeploymentSetStrategy\\": \\"NONE\\",\\n \\"AutoCompensateState\\": true,\\n \\"ExtraAttributes\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"AckConfig\\": {\\n \\"AckInstanceId\\": \\"\\",\\n \\"NodeSelectors\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"Tolerations\\": [\\n {\\n \\"Key\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Operator\\": \\"\\",\\n \\"Effect\\": \\"\\"\\n }\\n ],\\n \\"Namespace\\": \\"\\",\\n \\"RequestCpu\\": 0,\\n \\"RequestMemory\\": 0,\\n \\"LimitCpu\\": 0,\\n \\"LimitMemory\\": 0,\\n \\"DataDiskStorageClass\\": \\"\\",\\n \\"DataDiskSize\\": 0,\\n \\"CustomLabels\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"CustomAnnotations\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"MountHostCgroup\\": true,\\n \\"NodeAffinity\\": \\"\\",\\n \\"PodAntiAffinity\\": \\"\\",\\n \\"PodAffinity\\": \\"\\",\\n \\"PreStartCommand\\": [\\n \\"\\"\\n ],\\n \\"Pvcs\\": [\\n {\\n \\"DataDiskStorageClass\\": \\"\\",\\n \\"DataDiskSize\\": 0,\\n \\"Path\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"Volumes\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Path\\": \\"\\",\\n \\"Type\\": \\"\\"\\n }\\n ],\\n \\"VolumeMounts\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Path\\": \\"\\"\\n }\\n ]\\n },\\n \\"IaaSType\\": \\"\\",\\n \\"PrivatePoolOptions\\": {\\n \\"PrivatePoolIds\\": [\\n \\"\\"\\n ],\\n \\"MatchCriteria\\": \\"Open\\"\\n },\\n \\"Status\\": \\"CREATED\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","errorExample":""},{"type":"xml","example":"<ListNodeGroupsResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <MaxResults>20</MaxResults>\\n <NextToken>2</NextToken>\\n <TotalCount>1000</TotalCount>\\n <NodeGroups>\\n <NodeGroupId>G-21E39B11837E****</NodeGroupId>\\n <NodeGroupType>CORE</NodeGroupType>\\n <NodeGroupName>core-1</NodeGroupName>\\n <PaymentType>Subscription</PaymentType>\\n <NodeCount>2</NodeCount>\\n <InstanceTypes>ecs.g6e.xlarge</InstanceTypes>\\n <NodeStatus>Running</NodeStatus>\\n <DataDisks/>\\n <SystemDisk/>\\n <VSwitchIds>vsw-bp1opd2qejvhsabfe****</VSwitchIds>\\n </NodeGroups>\\n</ListNodeGroupsResponse>","errorExample":""}]', + 'title' => 'ListNodeGroups', + 'summary' => 'Queries the list of node groups in an EMR cluster.', + ], + 'GetNodeGroup' => [ + 'description' => '获取节点组详情。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeNodes' => [ + 'FEATUREemapreduce51LGQ1', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The ID of the region in which you want to create the instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The ID of the cluster.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '节点组ID。', + 'description' => 'The ID of the node group.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ng-869471354ecd****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'NodeGroup' => [ + 'description' => 'The node group.'."\n", + '$ref' => '#/components/schemas/NodeGroup', + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"NodeGroup\\": {\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupName\\": \\"core-1\\",\\n \\"NodeGroupType\\": \\"CORE\\",\\n \\"RunningNodeCount\\": 3,\\n \\"InstanceTypes\\": [\\n \\"\\"\\n ],\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"DataDisks\\": [\\n {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 80,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 5\\n }\\n ],\\n \\"SystemDisk\\": {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 60,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 1\\n },\\n \\"NodeGroupState\\": \\"CREATED\\",\\n \\"AdditionalSecurityGroupIds\\": [\\n \\"\\"\\n ],\\n \\"WithPublicIp\\": false,\\n \\"VSwitchIds\\": [\\n \\"\\"\\n ],\\n \\"SpotStrategy\\": \\"NoSpot\\",\\n \\"SpotBidPrices\\": [\\n {\\n \\"InstanceType\\": \\"ecs.g7.2xlarge\\",\\n \\"BidPrice\\": 1000\\n }\\n ],\\n \\"StateChangeReason\\": {\\n \\"Code\\": \\"MissingParameter\\",\\n \\"Message\\": \\"The instance type is required.\\"\\n },\\n \\"MinimalNodeCount\\": 0,\\n \\"MaximalNodeCount\\": 200,\\n \\"GracefulShutdown\\": false,\\n \\"SpotInstanceRemedy\\": true,\\n \\"CompensateWithOnDemand\\": true,\\n \\"NodeResizeStrategy\\": \\"PRIORITY\\",\\n \\"CostOptimizedConfig\\": {\\n \\"OnDemandBaseCapacity\\": 80,\\n \\"OnDemandPercentageAboveBaseCapacity\\": 80,\\n \\"SpotInstancePools\\": 2\\n },\\n \\"DeploymentSetStrategy\\": \\"NONE\\",\\n \\"AutoCompensateState\\": true,\\n \\"ExtraAttributes\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"AckConfig\\": {\\n \\"AckInstanceId\\": \\"\\",\\n \\"NodeSelectors\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"Tolerations\\": [\\n {\\n \\"Key\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Operator\\": \\"\\",\\n \\"Effect\\": \\"\\"\\n }\\n ],\\n \\"Namespace\\": \\"\\",\\n \\"RequestCpu\\": 0,\\n \\"RequestMemory\\": 0,\\n \\"LimitCpu\\": 0,\\n \\"LimitMemory\\": 0,\\n \\"DataDiskStorageClass\\": \\"\\",\\n \\"DataDiskSize\\": 0,\\n \\"CustomLabels\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"CustomAnnotations\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"MountHostCgroup\\": true,\\n \\"NodeAffinity\\": \\"\\",\\n \\"PodAntiAffinity\\": \\"\\",\\n \\"PodAffinity\\": \\"\\",\\n \\"PreStartCommand\\": [\\n \\"\\"\\n ],\\n \\"Pvcs\\": [\\n {\\n \\"DataDiskStorageClass\\": \\"\\",\\n \\"DataDiskSize\\": 0,\\n \\"Path\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"Volumes\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Path\\": \\"\\",\\n \\"Type\\": \\"\\"\\n }\\n ],\\n \\"VolumeMounts\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Path\\": \\"\\"\\n }\\n ]\\n },\\n \\"IaaSType\\": \\"\\",\\n \\"PrivatePoolOptions\\": {\\n \\"PrivatePoolIds\\": [\\n \\"\\"\\n ],\\n \\"MatchCriteria\\": \\"Open\\"\\n },\\n \\"Status\\": \\"CREATED\\"\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<GetNodeGroupResponse>\\n <NodeGroup>\\n </NodeGroup>\\n</GetNodeGroupResponse>","errorExample":""}]', + 'title' => 'GetNodeGroup', + 'summary' => 'You can call this operation to obtain the details of a node group.', + ], + 'IncreaseNodes' => [ + 'methods' => [ + 'get', + 'post', + ], + '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' => 'The ID of the region in which you want to create the instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The ID of the cluster.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '节点组ID。', + 'description' => 'The ID of the node group. The target node group to which you want to scale out the cluster.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ng-869471354ecd****', + ], + ], + [ + 'name' => 'IncreaseNodeCount', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '节点数量。', + 'description' => 'The number of nodes to add.Valid values: 1 to 500.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '3', + ], + ], + [ + 'name' => 'AutoPayOrder', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '是否自动支付。', + 'description' => 'Indicates whether to automatically pay for the orders involved in the scale-out operation. This parameter takes effect only when the PaymentType parameter is set to Subscription. Valid values:'."\n" + ."\n" + .'* true: automatically pays for the order involved in this operation.'."\n" + .'* false: does not automatically pay for the orders involved in this operation.'."\n" + ."\n" + .'Default value: false'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'AutoRenew', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to enable auto-renewal for nodes. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false (default value)'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'PaymentDuration', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '付费时长。', + 'description' => 'The subscription duration. Valid values when the PaymentDurationUnit value is Month: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '12', + ], + ], + [ + 'name' => 'PaymentDurationUnit', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '付费时长单位。', + 'description' => 'The unit of the subscription duration. Valid values:'."\n" + ."\n" + .'* Month'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Month', + ], + ], + [ + 'name' => 'ApplicationConfigs', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '应用配置。', + 'description' => 'The application configurations. Number of elements in the array: 1 to 1,000.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The application configuration.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ApplicationConfig', + ], + 'required' => false, + 'example' => 'Month', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'MinIncreaseNodeCount', + 'in' => 'query', + 'schema' => [ + 'description' => 'The minimum number of nodes that can be added. Valid values: 1 to 500.'."\n" + ."\n" + .'* If you configure this parameter, and the number of available Elastic Compute Service (ECS) instances is less than the value of the IncreaseNodeCount parameter, the system tries to add nodes based on the number specified by the `MinIncreaseNodeCount` parameter. If the minimum number of nodes are added, the scale-out status is `PARTIAL_COMPLETED`.'."\n" + .'* If you do not configure this parameter, and the number of available ECS instances is less than the value of the IncreaseNodeCount parameter, the scale-out process fails. The scale-out status is `FAILED`.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'Promotions', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'required' => false, + '$ref' => '#/components/schemas/Promotion', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'OperationId' => [ + 'title' => '操作ID。', + 'description' => 'The ID of the operation.'."\n", + 'type' => 'string', + 'example' => 'op-13c37a77c505****', + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'The operation is invalid. %s', + ], + [ + 'errorCode' => 'OutOfStock', + 'errorMessage' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', + ], + [ + 'errorCode' => 'QuotaExceeded', + 'errorMessage' => 'Request fail due to quota exceed. %s', + ], + [ + 'errorCode' => 'AccountException', + 'errorMessage' => 'Account exception. %s', + ], + [ + 'errorCode' => 'ConcurrentModification', + 'errorMessage' => 'The request on %s failed due to multiple requests to change this object were submitted simultaneously. Wait a few minutes and try again.', + ], + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<IncreaseNodesResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <OperationId>64bedf6d-96e3-4780-95a0-4ad376ad****</OperationId>\\n</IncreaseNodesResponse>","errorExample":""}]', + 'title' => 'IncreaseNodes', + 'summary' => 'Scales out the node group.', + ], + 'DecreaseNodes' => [ + 'methods' => [ + 'get', + 'post', + ], + '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' => 'The ID of the region in which you want to create the instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '节点组ID。', + 'description' => 'The ID of the node group.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ng-869471354ecd****', + ], + ], + [ + 'name' => 'DecreaseNodeCount', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '缩容节点数量。', + 'description' => 'The number of nodes to scale out. The number of nodes to be scaled out. The value should be less than the number of surviving nodes in the current node group.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3', + ], + ], + [ + 'name' => 'NodeIds', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '节点ID列表。', + 'description' => 'The array of node IDs. Valid values of array element N: 1 to 500.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The node ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'i-bp1cudc25w2bfwl5****', + ], + 'required' => false, + 'example' => '["i-bp1cudc25w2bfwl5****"]', + ], + ], + [ + 'name' => 'BatchInterval', + 'in' => 'query', + 'schema' => [ + 'title' => '各批次间的冷却时间。', + 'description' => 'The cooldown interval between two batches.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'BatchSize', + 'in' => 'query', + 'schema' => [ + 'title' => '单批次并发下线台数。', + 'description' => 'The number of nodes to be removed in a single batch.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The data returned.'."\n", + 'type' => 'object', + 'properties' => [ + 'OperationId' => [ + 'title' => '操作ID', + 'description' => 'Operation ID.'."\n", + 'type' => 'string', + 'example' => 'op-13c37a77c505****', + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '44430037-E59A-3E66-A2B0-97D155346F22', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'The operation is invalid. %s', + ], + [ + 'errorCode' => 'ConcurrentModification', + 'errorMessage' => 'The request on %s failed due to multiple requests to change this object were submitted simultaneously. Wait a few minutes and try again.', + ], + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"44430037-E59A-3E66-A2B0-97D155346F22\\"\\n}","type":"json"}]', + 'title' => 'DecreaseNodes', + 'summary' => 'Performs a scale-out operation on the target node group.', + ], + 'ListNodes' => [ + 'summary' => 'Queries the node list of an EMR cluster.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceSNGGYA', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The ID of the region in which you want to create the instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The ID of the cluster.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'Marks the current position where reading starts. If you set this value to null, you can start from the beginning.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The number of maximum number of records to obtain at a time. Valid values: 1 to 100.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'NodeGroupIds', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '节点组ID列表。', + 'description' => 'The IDs of node groups.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the node group.'."\n", + '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' => 'An array that consists of information about the ID of the node.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the node.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'i-bp1cudc25w2bfwl5****'."\n", + ], + 'required' => false, + 'example' => 'c-b933c5aac8fe****', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'NodeNames', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '节点名称列表。', + 'description' => 'The names of the nodes.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The name of the node.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'core1-1', + ], + 'required' => false, + 'example' => '20', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'PrivateIps', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '私网IP。', + 'description' => 'The private IP address.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The private IP address.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '10.10.10.8', + ], + 'required' => false, + 'example' => '["172.12.0.91"]', + 'maxItems' => 1, + ], + ], + [ + 'name' => 'PublicIps', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '公网IP。', + 'description' => 'The public IP address.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The public IP address.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '42.1.1.**', + ], + 'required' => false, + 'example' => '["120.13.14.38"]', + 'maxItems' => 1, + ], + ], + [ + 'name' => 'NodeStates', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '节点状态。', + 'description' => 'The status of the node.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The status of the node. Valid values:'."\n" + ."\n" + .'* Pending: The instance is being created.'."\n" + .'* Starting: The instance is being started.'."\n" + .'* Running: The cluster is running.'."\n" + .'* Stopping: The gateway is being stopped.'."\n" + .'* Stopped: The instance is stopped.'."\n" + .'* Terminated: The instance is terminated.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Running', + ], + 'required' => false, + 'example' => '["CREATED"]', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '标签列表。', + 'description' => 'The tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The tag.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Tag', + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Nodes' => [ + 'description' => 'The node list.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The node information.'."\n", + '$ref' => '#/components/schemas/Node', + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'The position at which the next read starts. If null is returned, the data has been read.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The maximum number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of records in this request.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Nodes\\": [\\n {\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupType\\": \\"CORE\\",\\n \\"NodeId\\": \\"i-bp1cudc25w2bfwl5****\\",\\n \\"NodeName\\": \\"core1-1\\",\\n \\"PublicIp\\": \\"42.120.75.***\\",\\n \\"PrivateIp\\": \\"10.10.10.1\\",\\n \\"InstanceType\\": \\"ecs.g6e.xlarge\\",\\n \\"NodeState\\": \\"Running\\",\\n \\"MaintenanceStatus\\": \\"\\",\\n \\"ExpireTime\\": 1603728394857,\\n \\"AutoRenew\\": false,\\n \\"AutoRenewDuration\\": 1,\\n \\"AutoRenewDurationUnit\\": \\"Month\\",\\n \\"CreateTime\\": 0\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","errorExample":""},{"type":"xml","example":"<ListNodesResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <MaxResults>20</MaxResults>\\n <NextToken>2</NextToken>\\n <TotalCount>1000</TotalCount>\\n <Nodes>\\n <NodeName>emr-header-1</NodeName>\\n <NodeId>i-bp1opd2qejvhsab****</NodeId>\\n <PublicIp>42.120.75.***</PublicIp>\\n <PrivateIp>10.10.10.1</PrivateIp>\\n <InstanceType>ecs.g6e.xlarge</InstanceType>\\n <NodeStatus>Running</NodeStatus>\\n <NodeGroupId>G-21E39B11837E****</NodeGroupId>\\n <NodeGroupType>CORE</NodeGroupType>\\n <StateChangeReason>手动重启</StateChangeReason>\\n </Nodes>\\n</ListNodesResponse>","errorExample":""}]', + 'title' => 'ListNodes', + ], + 'PutAutoScalingPolicy' => [ + 'summary' => 'Adds a custom auto scaling rule.', + 'methods' => [ + 'get', + 'post', + ], + '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' => 'The region ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '节点组ID。', + 'description' => 'The ID of the node group.', + 'type' => 'string', + 'required' => true, + 'example' => 'ng-869471354ecd****', + ], + ], + [ + 'name' => 'ScalingRules', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '弹性伸缩规则描述列表。', + 'description' => 'The description list of auto scaling rules. Number of elements in the array: 0 to 100.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The auto scaling rule.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ScalingRule', + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'Constraints', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '最大最小值约束。', + 'description' => 'The constraints on the maximum and minimum numbers of nodes in a node group.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ScalingConstraints', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.', + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'NotFound.Cluster', + 'errorMessage' => 'Cluster does not exist.', + ], + [ + 'errorCode' => 'InvokeError.PutAutoScalingPolicy', + 'errorMessage' => 'Put auto scaling policy failed:%s.', + ], + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'PutAutoScalingPolicy', + 'description' => 'You can call this operation to configure auto scaling policies.'."\n", + ], + 'PutManagedScalingPolicy' => [ + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '235212', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceB95X9C', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'Constraints', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'description' => 'The constrains on the maximum and minimum numbers of nodes in a node group.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ManagedScalingConstraints', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'PutManagedScalingPolicy', + ], + 'GetAutoScalingPolicy' => [ + 'summary' => 'Queries custom auto scaling rules.', + 'methods' => [ + 'get', + 'post', + ], + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '节点组ID。', + 'description' => 'The ID of the node group.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ng-869471354ecd****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'ScalingPolicy' => [ + 'description' => 'The auto scaling policy.'."\n", + 'type' => 'object', + 'properties' => [ + 'NodeGroupId' => [ + 'title' => '节点组ID。', + 'description' => 'The ID of the node group.'."\n", + 'type' => 'string', + 'example' => 'ng-869471354ecd****', + ], + 'ClusterId' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'example' => 'c-b933c5aac8fe****', + ], + 'ScalingRules' => [ + 'title' => '伸缩规则列表', + 'description' => 'The auto scaling rules.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The list of scaling rules.'."\n", + 'type' => 'object', + 'properties' => [ + 'RuleName' => [ + 'title' => '弹性伸缩规则名称。', + 'description' => 'The name of the auto scaling rule.'."\n", + 'type' => 'string', + 'example' => 'scaling-out-memory', + ], + 'TriggerType' => [ + 'title' => '伸缩规则类型。', + 'description' => 'The type of the auto scaling rule. Valid values:'."\n" + ."\n" + .'* TIME_TRIGGER: time-based scaling'."\n" + .'* METRICS_TRIGGER: load-based scaling'."\n", + 'type' => 'string', + 'example' => 'TIME_TRIGGER', + ], + 'ActivityType' => [ + 'title' => '伸缩类型。', + 'description' => 'The scaling type. Valid values:'."\n" + ."\n" + .'* SCALE_OUT'."\n" + .'* SCALE_IN'."\n", + 'type' => 'string', + 'example' => 'SCALE_OUT', + ], + 'AdjustmentType' => [ + 'title' => '调整类型。', + 'description' => 'The adjustment type.'."\n", + 'type' => 'string', + 'example' => 'CHANGE_IN_CAPACITY', + ], + 'AdjustmentValue' => [ + 'title' => '调整值。', + 'description' => 'The adjustment value. The parameter value must be a positive integer, which indicates the number of instances that you want to add or remove.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TimeTrigger' => [ + 'title' => '按照时间伸缩描述。', + 'description' => 'The description of time-based scaling.'."\n", + '$ref' => '#/components/schemas/TimeTrigger', + ], + 'MetricsTrigger' => [ + 'title' => '按照负载伸缩描述。', + 'description' => 'The description of load-based scaling.'."\n", + '$ref' => '#/components/schemas/MetricsTrigger', + ], + 'CollationTimeZone' => [ + 'title' => '时区信息', + '$ref' => '#/components/schemas/CollationTimeZone', + ], + ], + ], + ], + 'ScalingPolicyId' => [ + 'title' => '伸缩策略ID。', + 'description' => 'The ID of the scaling policy.'."\n", + 'type' => 'string', + 'example' => 'asp-asduwe23znl***', + ], + 'Constraints' => [ + 'title' => '最大最小值约束', + 'description' => 'The maximum and minimum number of nodes in the node group.'."\n", + 'type' => 'object', + 'properties' => [ + 'MaxCapacity' => [ + 'title' => '最大值', + 'description' => 'The maximum number of nodes in the node group. Default value: 2000.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2000', + ], + 'MinCapacity' => [ + 'title' => '最小值', + 'description' => 'The minimum number of nodes in the node group. Default value: 0.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingPolicy\\": {\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ScalingRules\\": [\\n {\\n \\"RuleName\\": \\"scaling-out-memory\\",\\n \\"TriggerType\\": \\"TIME_TRIGGER\\",\\n \\"ActivityType\\": \\"SCALE_OUT\\",\\n \\"AdjustmentType\\": \\"CHANGE_IN_CAPACITY\\",\\n \\"AdjustmentValue\\": 100,\\n \\"TimeTrigger\\": {\\n \\"LaunchTime\\": \\"\\",\\n \\"StartTime\\": 1639714800000,\\n \\"EndTime\\": 1639714800000,\\n \\"LaunchExpirationTime\\": 600,\\n \\"RecurrenceType\\": \\"WEEKLY\\",\\n \\"RecurrenceValue\\": \\"MON,FRI,SUN\\"\\n },\\n \\"MetricsTrigger\\": {\\n \\"TimeWindow\\": 30,\\n \\"EvaluationCount\\": 2,\\n \\"CoolDownInterval\\": 300,\\n \\"TimeConstraints\\": [\\n {\\n \\"StartTime\\": \\"06:00:00\\",\\n \\"EndTime\\": \\"23:59:59\\"\\n }\\n ],\\n \\"ConditionLogicOperator\\": \\"Or\\",\\n \\"Conditions\\": [\\n {\\n \\"MetricName\\": \\"yarn_resourcemanager_root_availablememoryusage\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"Statistics\\": \\"AVG\\",\\n \\"ComparisonOperator\\": \\"LT\\",\\n \\"Threshold\\": 12.5\\n }\\n ]\\n },\\n \\"CollationTimeZone\\": {\\n \\"TimeZone\\": \\"Asia/Shanghai\\",\\n \\"CurrentTimeOffset\\": \\"UTC+08:00\\"\\n }\\n }\\n ],\\n \\"ScalingPolicyId\\": \\"asp-asduwe23znl***\\",\\n \\"Constraints\\": {\\n \\"MaxCapacity\\": 2000,\\n \\"MinCapacity\\": 0\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetAutoScalingPolicy', + ], + 'GetManagedScalingPolicy' => [ + 'methods' => [ + 'get', + 'post', + ], + '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' => '最大按量数量', + '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', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingPolicy\\": {\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ScalingPolicyId\\": \\"asp-asduwe23znl***\\",\\n \\"Constraints\\": {\\n \\"MaxCapacity\\": 20,\\n \\"MinCapacity\\": 0,\\n \\"MaxOnDemandCapacity\\": 10\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetManagedScalingPolicy', + 'summary' => 'View Managed Scaling Policy Content', + ], + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '节点组ID。', + 'description' => 'The ID of the node group.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ng-869471354ecd****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'RemoveAutoScalingPolicy', + 'summary' => 'Removes an auto scaling policy.', + ], + 'ListAutoScalingActivities' => [ + 'summary' => 'Queries a list of auto scaling activities.', + 'methods' => [ + 'get', + 'post', + ], + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The number of entries to return on each page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '节点组ID。', + 'description' => 'The ID of the node group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ng-869471354ecd****', + ], + ], + [ + 'name' => 'ScalingRuleName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '伸缩规则名称。', + 'description' => 'The name of the scaling rule.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'scale-out-by-memroy', + ], + ], + [ + 'name' => 'ScalingActivityStates', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '伸缩活动状态。', + 'description' => 'The status of the scaling activity. Number of elements in the array: 1-20.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The status of the scaling activity. Valid values:'."\n" + ."\n" + .'* REJECTED'."\n" + .'* SUCCESSFUL'."\n" + .'* FAILED'."\n" + .'* IN_PROGRESS'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '['."\n" + .' "REJECTED",'."\n" + .' "SUCCESSFUL"'."\n" + .']', + 'title' => '伸缩活动状态。取值如下:'."\n" + .'-SUCCESSFUL:成功'."\n" + .'-REJECTED:拒绝'."\n" + .'-PARTIAL_SUCCESSFUL: 部分成功'."\n" + .'-FAILED: 失败'."\n" + .'-IN_PROGRESS: 进行中', + ], + 'required' => false, + 'example' => '["REJECTED","SUCCESSFUL"]', + 'maxItems' => 20, + ], + ], + [ + 'name' => 'ScalingActivityType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '伸缩活动类型。', + 'description' => 'The type of the scaling activity. Valid values:'."\n" + ."\n" + .'* SCALE_OUT'."\n" + .'* SCALE_IN'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'SCALE_IN', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '查询伸缩活动创建时间的开始时间戳。', + 'description' => 'The beginning of the time range to query. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1639714634819', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '查询伸缩活动创建时间的结束时间戳。', + 'description' => 'The end of the time range to query. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1639718634819', + ], + ], + [ + 'name' => 'ScalingPolicyType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'title' => '弹性策略类型', + 'example' => 'MANAGED', + ], + ], + [ + 'name' => 'InstanceChargeTypes', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'title' => '实例付费类型枚举值:'."\n" + .'- ONDEMAND: 按量付费实例'."\n" + .'- SPOT: 竞价实例'."\n" + .'默认为null代表全选'."\n" + .'举例: ["ONDEMAND", "SPOT"]', + 'description' => '实例付费类型枚举值:'."\n" + .'- ONDEMAND: 按量付费实例'."\n" + .'- SPOT: 竞价实例'."\n" + .'默认为null代表全选'."\n" + .'举例: ["ONDEMAND", "SPOT"]', + 'type' => 'array', + 'items' => [ + 'title' => '实例付费类型枚举值:'."\n" + .'- ONDEMAND: 按量付费实例'."\n" + .'- SPOT: 竞价实例'."\n" + .'默认为null代表全选'."\n" + .'举例: ["ONDEMAND", "SPOT"]', + 'type' => 'string', + 'example' => 'ONDEMAND', + ], + 'example' => 'ONDEMAND', + 'enum' => [], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'ScalingActivities' => [ + 'description' => 'The scaling activities.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ActivityId' => [ + 'title' => '伸缩活动ID。', + 'description' => 'The ID of the scaling activity.'."\n", + 'type' => 'string', + 'example' => 'asa-36373b084d6b4b13aa50f4129a9e****', + ], + 'RuleName' => [ + 'title' => '伸缩规则名称。', + 'description' => 'The name of the scaling rule.'."\n", + 'type' => 'string', + 'example' => 'scaling-out-memory', + ], + 'ActivityType' => [ + 'title' => '伸缩活动类型。', + 'description' => 'The type of the scaling activity. Valid values:'."\n" + ."\n" + .'* SCALE_OUT'."\n" + .'* SCALE_IN'."\n", + 'type' => 'string', + 'example' => 'SCALE_OUT', + ], + 'ClusterId' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'example' => 'c-b933c5aac8fe****', + ], + 'NodeGroupId' => [ + 'title' => '节点组ID。', + 'description' => 'The ID of the node group.'."\n", + 'type' => 'string', + 'example' => 'ng-869471354ecd****', + ], + 'NodeGroupName' => [ + 'title' => '节点组名称。', + 'description' => 'The name of the node group.'."\n", + 'type' => 'string', + 'example' => 'task-01', + ], + 'StartTime' => [ + 'title' => '伸缩启动时间。', + 'description' => 'The start time of the scaling. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1639714634819', + ], + 'EndTime' => [ + 'title' => '伸缩结束时间。', + 'description' => 'The end time of the scaling. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1639715634819', + ], + 'ActivityState' => [ + 'title' => '伸缩活动状态。', + 'description' => 'The status of the scaling activity. Valid values:'."\n" + ."\n" + .'* REJECTED'."\n" + .'* SUCCESSFUL'."\n" + .'* FAILED'."\n" + .'* IN_PROGRESS'."\n", + 'type' => 'string', + 'example' => 'IN_PROGRESS', + ], + 'ExpectNum' => [ + 'title' => '本次扩缩数量。', + 'description' => 'The number of added or removed instances.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'OperationId' => [ + 'title' => '操作ID。', + 'description' => 'The operation ID.'."\n", + 'type' => 'string', + 'example' => 'op-13c37a77c505****', + ], + 'Description' => [ + 'title' => '伸缩活动描述。', + 'description' => 'The description of the scaling activity.'."\n", + 'type' => 'string', + 'example' => 'clusterId not exist', + ], + 'PolicyType' => [ + 'type' => 'string', + 'title' => '策略类型。', + 'example' => 'PRIORITY', + ], + 'InstanceTypeToNum' => [ + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'integer', + 'format' => 'int32', + 'title' => '实例机型对应的台数', + 'example' => 'ecs.r6.xlarge: 2', + ], + 'title' => '实例机型对应的台数', + ], + 'InstanceTypeDetails' => [ + 'title' => '实例类型详细信息。', + 'type' => 'array', + 'items' => [ + 'title' => '实例类型详细信息。', + 'type' => 'object', + 'properties' => [ + 'SpotInstanceIds' => [ + 'title' => 'Spot实例ID列表', + 'type' => 'array', + 'items' => [ + 'title' => 'Spot实例ID列表', + 'type' => 'string', + 'example' => 'i-bp1ifuxmr8l6pb1yxxxx', + ], + ], + 'InstanceType' => [ + 'title' => '实例机型名称', + 'type' => 'string', + 'example' => 'ecs.g6.xlarge', + ], + 'OnDemandInstanceIds' => [ + 'title' => '按量实例ID列表', + 'type' => 'array', + 'items' => [ + 'title' => '按量实例ID列表', + 'type' => 'string', + 'example' => 'i-bp1ifuxmr8l6pb1sxxxx', + ], + ], + ], + ], + ], + ], + 'description' => '', + 'title' => '伸缩活动列表。', + ], + 'title' => '伸缩活动列表。', + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'A pagination token.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The maximum number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivities\\": [\\n {\\n \\"ActivityId\\": \\"asa-36373b084d6b4b13aa50f4129a9e****\\",\\n \\"RuleName\\": \\"scaling-out-memory\\",\\n \\"ActivityType\\": \\"SCALE_OUT\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupName\\": \\"task-01\\",\\n \\"StartTime\\": 1639714634819,\\n \\"EndTime\\": 1639715634819,\\n \\"ActivityState\\": \\"IN_PROGRESS\\",\\n \\"ExpectNum\\": 10,\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"Description\\": \\"clusterId not exist\\",\\n \\"PolicyType\\": \\"PRIORITY\\",\\n \\"InstanceTypeToNum\\": {\\n \\"key\\": 0\\n },\\n \\"InstanceTypeDetails\\": [\\n {\\n \\"SpotInstanceIds\\": [\\n \\"i-bp1ifuxmr8l6pb1yxxxx\\"\\n ],\\n \\"InstanceType\\": \\"ecs.g6.xlarge\\",\\n \\"OnDemandInstanceIds\\": [\\n \\"i-bp1ifuxmr8l6pb1sxxxx\\"\\n ]\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListAutoScalingActivities', + ], + 'GetAutoScalingActivity' => [ + 'summary' => 'Queries the information about an auto scaling activity.', + 'methods' => [ + 'get', + 'post', + ], + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'ScalingActivityId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '伸缩活动ID。', + 'description' => 'The ID of the scaling activity.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'asa-36373b084d6b4b13aa50f4129a9e****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'ScalingActivity' => [ + 'description' => 'The information about the scaling activity.'."\n", + 'type' => 'object', + 'properties' => [ + 'ActivityId' => [ + 'title' => '伸缩活动ID。', + 'description' => 'The ID of the scaling activity.'."\n", + 'type' => 'string', + 'example' => 'asa-36373b084d6b4b13aa50f4129a9e****', + ], + 'RuleName' => [ + 'title' => '伸缩规则名称。', + 'description' => 'The name of the scaling rule.'."\n", + 'type' => 'string', + 'example' => 'scaling-out-memory', + ], + 'ActivityType' => [ + 'title' => '伸缩活动类型。', + 'description' => 'The type of the scaling activity. Valid value:'."\n" + ."\n" + .'* SCALE_OUT'."\n" + .'* SCALE_IN'."\n", + 'type' => 'string', + 'example' => 'SCALE_OUT', + ], + 'ClusterId' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'example' => 'c-b933c5aac8fe****', + ], + 'NodeGroupId' => [ + 'title' => '节点组ID。', + 'description' => 'The ID of the node group.'."\n", + 'type' => 'string', + 'example' => 'ng-869471354ecd****', + ], + 'NodeGroupName' => [ + 'title' => '节点组名称。', + 'description' => 'The name of the node group.'."\n", + 'type' => 'string', + 'example' => 'task-01', + ], + 'StartTime' => [ + 'title' => '伸缩启动时间。', + 'description' => 'The time when scaling started.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1639714634819', + ], + 'EndTime' => [ + 'title' => '伸缩结束时间。', + 'description' => 'The time when scaling ended.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1639715634819', + ], + 'ActivityState' => [ + 'title' => '伸缩活动状态。', + 'description' => 'The status of the scaling activity. Valid values:'."\n" + ."\n" + .'* REJECTED'."\n" + .'* SUCCESSFUL'."\n" + .'* FAILED'."\n" + .'* IN_PROGRESS'."\n", + 'type' => 'string', + 'example' => 'IN_PROGRESS', + ], + 'ExpectNum' => [ + 'title' => '本次扩缩数量。', + 'description' => 'The number of added or removed instances.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'OperationId' => [ + 'title' => '操作ID。', + 'description' => 'The operation ID.'."\n", + 'type' => 'string', + 'example' => 'op-13c37a77c505****', + ], + 'Description' => [ + 'title' => '伸缩活动描述。', + 'description' => 'The description of the scaling activity.'."\n", + 'type' => 'string', + 'example' => 'clusterId not exist', + ], + 'ActivityResults' => [ + 'title' => '本次伸缩活动对应的实例列表。', + 'description' => 'The instances that correspond to the scaling activity.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The instance that corresponds to the scaling activity.'."\n", + '$ref' => '#/components/schemas/ScalingActivityResult', + ], + ], + 'PolicyType' => [ + 'description' => 'The policy type.'."\n", + 'type' => 'string', + 'example' => 'AUTO', + ], + 'RuleDetail' => [ + 'title' => '', + 'description' => 'The description of the scaling rule.'."\n", + '$ref' => '#/components/schemas/ScalingRule', + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivity\\": {\\n \\"ActivityId\\": \\"asa-36373b084d6b4b13aa50f4129a9e****\\",\\n \\"RuleName\\": \\"scaling-out-memory\\",\\n \\"ActivityType\\": \\"SCALE_OUT\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupName\\": \\"task-01\\",\\n \\"StartTime\\": 1639714634819,\\n \\"EndTime\\": 1639715634819,\\n \\"ActivityState\\": \\"IN_PROGRESS\\",\\n \\"ExpectNum\\": 10,\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"Description\\": \\"clusterId not exist\\",\\n \\"ActivityResults\\": [\\n {\\n \\"InstanceId\\": \\"i-bp1cudc25w2bfwl5****\\"\\n }\\n ],\\n \\"PolicyType\\": \\"AUTO\\",\\n \\"RuleDetail\\": {\\n \\"RuleName\\": \\"scale-out-memory\\",\\n \\"TriggerType\\": \\"TIME_TRIGGER\\",\\n \\"ActivityType\\": \\"SCALE_IN\\",\\n \\"AdjustmentType\\": \\"CHANGE_IN_CAPACITY\\",\\n \\"AdjustmentValue\\": 100,\\n \\"TimeTrigger\\": {\\n \\"LaunchTime\\": \\"\\",\\n \\"StartTime\\": 1639714800000,\\n \\"EndTime\\": 1639714800000,\\n \\"LaunchExpirationTime\\": 600,\\n \\"RecurrenceType\\": \\"WEEKLY\\",\\n \\"RecurrenceValue\\": \\"MON,FRI,SUN\\"\\n },\\n \\"MetricsTrigger\\": {\\n \\"TimeWindow\\": 30,\\n \\"EvaluationCount\\": 2,\\n \\"CoolDownInterval\\": 300,\\n \\"TimeConstraints\\": [\\n {\\n \\"StartTime\\": \\"06:00:00\\",\\n \\"EndTime\\": \\"23:59:59\\"\\n }\\n ],\\n \\"ConditionLogicOperator\\": \\"Or\\",\\n \\"Conditions\\": [\\n {\\n \\"MetricName\\": \\"yarn_resourcemanager_root_availablememoryusage\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"Statistics\\": \\"AVG\\",\\n \\"ComparisonOperator\\": \\"LT\\",\\n \\"Threshold\\": 12.5\\n }\\n ]\\n },\\n \\"MinAdjustmentValue\\": 1,\\n \\"CollationTimeZone\\": {\\n \\"TimeZone\\": \\"Asia/Shanghai\\",\\n \\"CurrentTimeOffset\\": \\"UTC+08:00\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetAutoScalingActivity', + ], + 'ListApplications' => [ + 'methods' => [ + 'get', + 'post', + ], + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-e6a9d46e92675****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'The page number of the next page returned.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '0', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The total number of pages.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + 'default' => '100', + ], + ], + [ + 'name' => 'ApplicationNames', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '应用名称列表。', + 'description' => 'The application names.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The name of a component.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'HDFS', + ], + 'required' => false, + 'example' => 'c-b933c5aac8fe****', + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Applications' => [ + 'description' => 'The applications.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The application.'."\n", + 'type' => 'object', + 'properties' => [ + 'ApplicationName' => [ + 'title' => '应用名称。', + 'description' => 'The application name.'."\n", + 'type' => 'string', + 'example' => 'HDFS', + ], + 'ApplicationVersion' => [ + 'title' => '应用版本。', + 'description' => 'The version of the application.'."\n", + 'type' => 'string', + 'deprecated' => true, + 'example' => '2.8.1', + ], + 'CommunityVersion' => [ + 'title' => '社区版本。', + 'description' => 'The community edition.'."\n", + 'type' => 'string', + 'example' => '2.8.5', + ], + 'ApplicationState' => [ + 'title' => '应用操作状态', + 'description' => 'The status of the applications. Valid values:'."\n" + ."\n" + .'* STOPPED: At least one application is in the Stopped state.'."\n" + .'* RUNNING: All applications are in the Running state.'."\n" + ."\n" + .'This parameter is returned only for DataLake, OLAP, Dataflow, DataServing, and custom clusters. For other types of clusters, no value is returned for this parameter.'."\n", + 'type' => 'string', + 'example' => 'RUNNING', + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'The page number of the next page returned.'."\n", + 'type' => 'string', + 'example' => '2', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The number of entries per page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of pages.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvokeEcmError', + 'errorMessage' => 'An error occurred while invoking ECM service.', + ], + [ + 'errorCode' => 'NotFound.Cluster', + 'errorMessage' => 'The cluster is not found.', + ], + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Applications\\": [\\n {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ApplicationVersion\\": \\"2.8.5-20230620\\",\\n \\"CommunityVersion\\": \\"2.8.5\\",\\n \\"ApplicationState\\": \\"RUNNING\\"\\n }\\n ],\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\",\\n \\"NextToken\\": \\"2\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 20\\n}","errorExample":""},{"type":"xml","example":"<ListApplicationsResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <TotalCount>20</TotalCount>\\n <NextToken>1</NextToken>\\n <MaxResults>10</MaxResults>\\n <Applications>\\n <ApplicationName>hadoop</ApplicationName>\\n <ApplicationVersion>2.8.1</ApplicationVersion>\\n </Applications>\\n</ListApplicationsResponse>","errorExample":""}]', + 'title' => 'ListApplications', + 'summary' => 'Queries a list of applications.', + ], + 'GetApplication' => [ + 'description' => '查询应用详情。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceU3PP4U', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '地域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-e6a9d46e92675****', + ], + ], + [ + 'name' => 'ApplicationName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '应用名称。', + 'description' => 'The application name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'HDFS', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The returned result.'."\n", + 'type' => 'object', + 'properties' => [ + 'Application' => [ + 'description' => 'The application.'."\n", + 'type' => 'object', + 'properties' => [ + 'ApplicationName' => [ + 'title' => '应用名称。', + 'description' => 'The application name.'."\n", + 'type' => 'string', + 'example' => 'HDFS', + ], + 'ApplicationVersion' => [ + 'title' => '应用版本。', + 'description' => 'The application version.'."\n", + 'type' => 'string', + 'example' => '2.8.1', + ], + 'CommunityVersion' => [ + 'title' => '社区版本。', + 'description' => 'The community version.'."\n", + 'type' => 'string', + 'example' => '2.8.1', + ], + 'Actions' => [ + 'title' => '操作列表。', + 'description' => 'The list of actions supported by the application.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The action that you want to perform on requests that match the rule.'."\n", + 'type' => 'object', + 'properties' => [ + 'RunActionScope' => [ + 'title' => '执行范围。', + 'description' => 'The execution scope. Valid values:'."\n" + ."\n" + .'* APPLICATION: the application scope.'."\n" + .'* COMPONENT: the component scope.'."\n" + .'* COMPONENT_INSTANCE: the component instance scope.'."\n", + 'type' => 'string', + 'example' => 'COMPONENT_INSTANCE', + ], + 'ComponentName' => [ + 'title' => '组件名称。', + 'description' => 'The component name.'."\n", + 'type' => 'string', + 'example' => 'DataNode', + ], + 'ActionName' => [ + 'title' => '操作名称。', + 'description' => 'The action name.'."\n", + 'type' => 'string', + 'example' => 'decommission', + ], + 'Description' => [ + 'title' => '操作描述。', + 'description' => 'The description of the action.'."\n", + 'type' => 'string', + 'example' => '描述', + ], + 'Command' => [ + 'title' => '命令。', + 'description' => 'The action command.'."\n", + 'type' => 'string', + 'example' => 'decommission', + ], + 'ActionParams' => [ + 'title' => '操作参数。', + 'description' => 'The list of action parameters.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The parameters of the action.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '动作参数KEY。', + 'description' => 'The parameter name.'."\n", + 'type' => 'string', + 'example' => 'timeout', + ], + 'ValueAttribute' => [ + 'title' => '动作参数属性。', + 'description' => 'The parameter value attribute.'."\n", + 'type' => 'object', + 'properties' => [ + 'ValueType' => [ + 'title' => '属性值类型。', + 'description' => 'The value type of the column.'."\n", + 'type' => 'string', + 'example' => 'int', + ], + 'ValueMaximum' => [ + 'title' => '最大值。', + 'description' => 'The maximum range of values.'."\n", + 'type' => 'string', + 'example' => '100', + ], + 'ValueMinimum' => [ + 'title' => '最小值。', + 'description' => 'The minimum range of values.'."\n", + 'type' => 'string', + 'example' => '1', + ], + 'ValueUnit' => [ + 'title' => '值单位。', + 'description' => 'The unit of the value.'."\n", + 'type' => 'string', + 'example' => 'number', + ], + 'ValueIncrementStep' => [ + 'title' => '值步长。', + 'description' => 'The size of the value increment.'."\n", + 'type' => 'string', + 'example' => '1', + ], + 'Description' => [ + 'title' => '值表述。', + 'description' => 'Value description.'."\n", + 'type' => 'string', + 'example' => '描述', + ], + ], + ], + 'Description' => [ + 'title' => '动作参数描述。', + 'description' => 'Description'."\n", + 'type' => 'string', + 'example' => 'start', + ], + ], + ], + ], + ], + ], + ], + 'ApplicationState' => [ + 'title' => '应用操作状态。', + 'description' => 'The status of the application.'."\n", + 'type' => 'string', + 'example' => 'RUNNING', + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvokeEcmError', + 'errorMessage' => 'An error occurred while invoking ECM service.', + ], + [ + 'errorCode' => 'NotFound.Cluster', + 'errorMessage' => 'The cluster is not found.', + ], + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Application\\": {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ApplicationVersion\\": \\"2.8.1\\",\\n \\"CommunityVersion\\": \\"2.8.1\\",\\n \\"Actions\\": [\\n {\\n \\"RunActionScope\\": \\"COMPONENT_INSTANCE\\",\\n \\"ComponentName\\": \\"DataNode\\",\\n \\"ActionName\\": \\"decommission\\",\\n \\"Description\\": \\"描述\\",\\n \\"Command\\": \\"decommission\\",\\n \\"ActionParams\\": [\\n {\\n \\"Key\\": \\"timeout\\",\\n \\"ValueAttribute\\": {\\n \\"ValueType\\": \\"int\\",\\n \\"ValueMaximum\\": \\"100\\",\\n \\"ValueMinimum\\": \\"1\\",\\n \\"ValueUnit\\": \\"秒\\",\\n \\"ValueIncrementStep\\": \\"1\\",\\n \\"Description\\": \\"设置超时时间\\"\\n },\\n \\"Description\\": \\"decommission下线动作\\"\\n }\\n ]\\n }\\n ],\\n \\"ApplicationState\\": \\"RUNNING\\"\\n },\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","errorExample":""},{"type":"xml","example":"<GetApplicationResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <Application>\\n <ApplicationName>KAFKA</ApplicationName>\\n <ApplicationVersion>2.8.1</ApplicationVersion>\\n <Actions>\\n <ComponentName>server</ComponentName>\\n <ActionName>innode_disks_balance</ActionName>\\n <ActionParams>\\n <Key>in-node-disks-balance-threshold</Key>\\n <ValueAttribute>\\n <ValueType>int</ValueType>\\n <ValueMaximum>111</ValueMaximum>\\n <ValueMinimum>111</ValueMinimum>\\n <ValueUnit>null</ValueUnit>\\n <ValueIncrementStep>1</ValueIncrementStep>\\n </ValueAttribute>\\n <Description>description of in-node-disks-balance-threshold key</Description>\\n </ActionParams>\\n </Actions>\\n </Application>\\n</GetApplicationResponse>","errorExample":""}]', + 'title' => 'GetApplication', + 'summary' => 'Retrieves the details of an application.', + ], + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'C-C95F0A39D8FF****', + ], + ], + [ + 'name' => 'ActionName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '操作名称。', + 'description' => 'The name of the action. Valid values:'."\n" + ."\n" + .'* start'."\n" + .'* stop'."\n" + .'* config'."\n" + .'* restart'."\n" + .'* refresh_queues'."\n" + .'* refresh_labels'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'start', + ], + ], + [ + 'name' => 'ComponentInstanceSelector', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '组件实例选择器。', + 'description' => 'The operation object.'."\n", + 'required' => true, + '$ref' => '#/components/schemas/ComponentInstanceSelector', + ], + ], + [ + 'name' => 'RollingExecute', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '是否滚动执行。', + 'description' => 'Specifies whether to enable rolling execution.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ExecuteStrategy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '运行策略。', + 'description' => 'The execution policy. Valid values:'."\n" + ."\n" + .'* FAILED_BLOCK: The system stops the execution if the execution fails.'."\n" + .'* FAILED_CONTINUE: The system continues the execution if the execution fails.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'FAILED_CONTINUE', + ], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '滚动执行间隔时间 单位:秒。', + 'description' => 'The interval for rolling execution. Unit: seconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'BatchSize', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '每批数量。', + 'description' => 'The number of applications in each batch.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '描述。', + 'description' => 'The description of the execution.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '运行描述', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'OperationId' => [ + 'title' => '操作ID。', + 'description' => 'The operation ID.'."\n", + 'type' => 'string', + 'example' => 'op-13c37a77c505****', + ], + 'AbnInstances' => [ + 'title' => '异常节点列表。', + 'description' => 'The abnormal nodes.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NodeName' => [ + 'description' => 'The name of the abnormal node.'."\n", + 'type' => 'string', + 'example' => 'core1-1', + ], + 'NodeId' => [ + 'description' => 'The ID of the abnormal node.'."\n", + 'type' => 'string', + 'example' => 'i-bp1cudc25w2bfwl5****', + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConcurrentModification', + 'errorMessage' => 'The request on %s failed due to multiple requests to change this object were submitted simultaneously. Wait a few minutes and try again.', + ], + [ + 'errorCode' => 'InvalidParameter.InvalidRunActionScope', + 'errorMessage' => 'The specified run action scope is invalid.', + ], + [ + 'errorCode' => 'MissingParameter.ComponentInstance', + 'errorMessage' => 'You must specify componentInstance.', + ], + [ + 'errorCode' => 'MissingParameter.NodeId', + 'errorMessage' => 'You must specify nodeId.', + ], + [ + 'errorCode' => 'MissingParameter.ComponentName', + 'errorMessage' => 'You must specify componentName.', + ], + [ + 'errorCode' => 'MissingParameter.ApplicationName', + 'errorMessage' => 'You must specify applicationName.', + ], + [ + 'errorCode' => 'MissingParameter.NodeGroupId', + 'errorMessage' => 'You must specify nodeGroupId.', + ], + [ + 'errorCode' => 'InvokeEcmError', + 'errorMessage' => 'An error occurred while invoking ECM service.', + ], + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"AbnInstances\\": [\\n {\\n \\"NodeName\\": \\"core1-1\\",\\n \\"NodeId\\": \\"i-bp1cudc25w2bfwl5****\\"\\n }\\n ],\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","errorExample":""},{"type":"xml","example":"<RunApplicationActionResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <OperationId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</OperationId>\\n</RunApplicationActionResponse>","errorExample":""}]', + 'title' => 'RunApplicationAction', + 'summary' => 'Manages a service deployed in a cluster. For example, you can call this operation to start pr stop a service.', + ], + 'ListApplicationConfigs' => [ + 'description' => '查询应用配置。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeNodes' => [ + 'FEATUREemapreduce961UGJ', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-e6a9d46e9267****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'The page number of the next page returned.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The number of entries per page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + ], + ], + [ + 'name' => 'ApplicationName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '应用名称。', + 'description' => 'The name of the application.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'HDFS', + ], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '节点组ID。', + 'description' => 'The ID of the node group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ng-d555335ced5c****', + ], + ], + [ + 'name' => 'ConfigFileName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '配置文件名称。', + 'description' => 'The name of the configuration file.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'hdfs-site.xml', + ], + ], + [ + 'name' => 'ConfigItemKey', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '配置键值。', + 'description' => 'The key of the configuration item.', + 'type' => 'string', + 'required' => false, + 'example' => 'dfs.replication', + ], + ], + [ + 'name' => 'ConfigItemValue', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '配置项值。', + 'description' => 'The value of the configuration item.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '2', + ], + ], + [ + 'name' => 'NodeId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '节点ID。', + 'description' => 'The node ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'i-bp10h9rezawz1i4o****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'ApplicationConfigs' => [ + 'description' => 'The application configurations.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ApplicationName' => [ + 'title' => '应用名称。', + 'description' => 'The name of the application.'."\n", + 'type' => 'string', + 'example' => 'HDFS', + ], + 'ConfigFileName' => [ + 'title' => '配置文件名称。', + 'description' => 'The name of the configuration file.'."\n", + 'type' => 'string', + 'example' => 'hdfs-site.xml', + ], + 'ConfigItemKey' => [ + 'title' => '配置项键。', + 'description' => 'The key of the configuration item.'."\n", + 'type' => 'string', + 'example' => 'dfs.replication'."\n", + ], + 'ConfigItemValue' => [ + 'title' => '配置项值。', + 'description' => 'The value of the configuration item.'."\n", + 'type' => 'string', + 'example' => '2', + ], + 'CreateTime' => [ + 'title' => '创建时间。', + 'description' => 'The creation time.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1628589439114', + ], + 'UpdateTime' => [ + 'title' => '更新时间。', + 'description' => 'The update time.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1628589439114', + ], + 'Modifier' => [ + 'title' => '修改人员。', + 'description' => 'The person who modified the configurations.'."\n", + 'type' => 'string', + 'example' => '170906468757****', + ], + 'Custom' => [ + 'title' => '是否是自定义配置。', + 'description' => 'Indicates whether the configurations are custom.'."\n", + 'type' => 'boolean', + 'example' => 'false', + ], + 'InitValue' => [ + 'title' => '初始值。', + 'description' => 'The initial value.'."\n", + 'type' => 'string', + 'example' => '2', + ], + 'Description' => [ + 'title' => '描述。', + 'description' => 'The description.'."\n", + 'type' => 'string', + 'example' => 'dfs.replication description', + ], + 'ConfigEffectState' => [ + 'title' => '配置值生效状态。', + 'description' => 'The status of the configuration value.'."\n", + 'type' => 'string', + 'example' => 'EFFECT', + ], + 'NodeId' => [ + 'title' => '节点ID。', + 'description' => 'The node ID.'."\n", + 'type' => 'string', + 'example' => 'i-bp18y0ng3qqxog4mw****', + ], + 'NodeGroupId' => [ + 'title' => '节点组ID。', + 'description' => 'The node group ID.'."\n", + 'type' => 'string', + 'example' => 'ng-d555335ced5****', + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'The page number of the next page returned.'."\n", + 'type' => 'string', + 'example' => '1', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The number of entries per page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of pages returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvokeEcmError', + 'errorMessage' => 'An error occurred while invoking ECM service.', + ], + [ + 'errorCode' => 'NotFound.Cluster', + 'errorMessage' => 'The cluster is not found.', + ], + [ + 'errorCode' => 'InvalidParameter.Application', + 'errorMessage' => 'The specified application is invalid.', + ], + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"ApplicationConfigs\\": [\\n {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ConfigFileName\\": \\"hdfs-site.xml\\",\\n \\"ConfigItemKey\\": \\"dfs.replication\\\\n\\",\\n \\"ConfigItemValue\\": \\"2\\",\\n \\"CreateTime\\": 1628589439114,\\n \\"UpdateTime\\": 1628589439114,\\n \\"Modifier\\": \\"170906468757****\\",\\n \\"Custom\\": false,\\n \\"InitValue\\": \\"2\\",\\n \\"Description\\": \\"dfs.replication description\\",\\n \\"ConfigEffectState\\": \\"EFFECT\\",\\n \\"NodeId\\": \\"i-bp18y0ng3qqxog4mw****\\",\\n \\"NodeGroupId\\": \\"ng-d555335ced5****\\"\\n }\\n ],\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\",\\n \\"NextToken\\": \\"1\\",\\n \\"MaxResults\\": 100,\\n \\"TotalCount\\": 100\\n}","errorExample":""},{"type":"xml","example":"<ListApplicationConfigsResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <ApplicationConfigs>\\n <ApplicationName>HADOOP</ApplicationName>\\n <ConfigFileName>mapred-site</ConfigFileName>\\n <ConfigVersion>162859798****</ConfigVersion>\\n <ConfigItemKey>yarn.app.mapreduce.am.resource.mb</ConfigItemKey>\\n <ConfigItemValue>3072</ConfigItemValue>\\n <CreateTime>1628589439114</CreateTime>\\n <UpdateTime>1628589439114</UpdateTime>\\n <Modifier>170906468757****</Modifier>\\n <Custom>false</Custom>\\n <Applied>true</Applied>\\n <InitValue>3072</InitValue>\\n <Description>yarn.app.mapreduce.am.resource.mb description</Description>\\n <ConfigItemValueAttribute>\\n <ConfigItemValueType>int</ConfigItemValueType>\\n <ConfigItemValueMaximum>3072</ConfigItemValueMaximum>\\n <ConfigItemValueMinimum>2000</ConfigItemValueMinimum>\\n <ConfigItemValueUnit>mb</ConfigItemValueUnit>\\n <ConfigItemValueReadOnly>true</ConfigItemValueReadOnly>\\n <ConfigItemValueIncrementStep>1</ConfigItemValueIncrementStep>\\n </ConfigItemValueAttribute>\\n </ApplicationConfigs>\\n <MaxResults>100</MaxResults>\\n <NextToken>1</NextToken>\\n <TotalCount>100</TotalCount>\\n</ListApplicationConfigsResponse>","errorExample":""}]', + 'title' => 'ListApplicationConfigs', + 'summary' => 'Queries the configurations of the application.', + ], + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-e6a9d46e9267****', + ], + ], + [ + 'name' => 'ApplicationName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '应用名称。', + 'description' => 'The application name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'HDFS', + ], + ], + [ + 'name' => 'RefreshConfig', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '是否刷新配置。', + 'description' => 'Specifies whether to refresh the configurations. Default value: True.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ConfigAction', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '配置项操作。', + 'description' => 'The operation performed on configuration items. Valid values:'."\n" + ."\n" + .'* ADD'."\n" + .'* UPDATE'."\n" + .'* DELETE'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ADD', + ], + ], + [ + 'name' => 'ConfigScope', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '配置操作范围。', + 'description' => 'The operation scope. Valid values:'."\n" + ."\n" + .'* CLUSTER'."\n" + .'* NODE_GROUP'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'CLUSTER', + ], + ], + [ + 'name' => 'ApplicationConfigs', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '应用配置列表。', + 'description' => 'The application configurations.'."\n", + 'type' => 'array', + 'items' => [ + 'required' => false, + '$ref' => '#/components/schemas/UpdateApplicationConfig', + 'description' => '', + ], + 'required' => true, + 'example' => 'CLUSTER', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '本次更新操作描述。', + 'description' => 'The description.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '更新YARN内存配置。', + ], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '节点组ID.', + 'description' => 'The node group ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ng-869471354ecd****', + ], + ], + [ + 'name' => 'NodeId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '节点ID。', + 'description' => 'The node ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'i-bp1cudc25w2bfwl5****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'OperationId' => [ + 'title' => '操作ID。', + 'description' => 'The operation ID.'."\n", + 'type' => 'string', + 'example' => 'op-13c37a77c505****', + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateApplicationConfigsResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n</UpdateApplicationConfigsResponse>","errorExample":""}]', + 'title' => 'UpdateApplicationConfigs', + 'summary' => 'Updates the application configurations.', + ], + 'ListComponents' => [ + 'methods' => [ + 'get', + 'post', + ], + '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' => 'The region ID. You can call the [ListRegions](url) view.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'C-8CFEBCCFFEF5****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If you leave this parameter empty, the query starts from the beginning.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '""', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The number of entries to return on each page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'ApplicationNames', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '应用名称列表。', + 'description' => 'The application name.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The application name.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'KNOX', + ], + 'required' => false, + 'example' => '20', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ComponentNames', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '组件名称列表。', + 'description' => 'The list of component names.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The component name.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'KNOX', + ], + 'required' => false, + 'example' => '["HDFS"]', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ComponentStates', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'description' => 'The list of component status.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The status of the component.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'INSTALLED', + ], + 'required' => false, + 'example' => 'null', + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'Components' => [ + 'description' => 'The list of component information.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The component information.'."\n", + 'type' => 'object', + 'properties' => [ + 'ComponentName' => [ + 'title' => '组件名称。', + 'description' => 'The component name.'."\n", + 'type' => 'string', + 'example' => 'KNOX', + ], + 'ApplicationName' => [ + 'title' => '应用名称。', + 'description' => 'The application name.'."\n", + 'type' => 'string', + 'example' => 'KNOX', + ], + 'Replica' => [ + 'title' => '安装该组件的ecs总数。', + 'description' => 'The total number of instances on which the component is installed.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Namespace' => [ + 'title' => '命名空间。', + 'description' => 'The reserved field.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Attributes' => [ + 'title' => '属性列表。', + 'description' => 'The list of attributes.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The name of the attribute.'."\n", + '$ref' => '#/components/schemas/Attribute', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'FFAC608A-5DC3-174F-93C6-9F88CA6D5875', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The maximum number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Components\\": [\\n {\\n \\"ComponentName\\": \\"KNOX\\",\\n \\"ApplicationName\\": \\"KNOX\\",\\n \\"Replica\\": 1,\\n \\"Namespace\\": \\"“”\\",\\n \\"Attributes\\": [\\n {\\n \\"Key\\": \\"currentYarnRangerPluginState\\",\\n \\"Value\\": \\"true\\"\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"FFAC608A-5DC3-174F-93C6-9F88CA6D5875\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","errorExample":""},{"type":"xml","example":"<ListComponentsResponse>\\n <RequestId>FFAC608A-5DC3-174F-93C6-9F88CA6D5875</RequestId>\\n <Components>\\n <ComponentName>KNOX</ComponentName>\\n <Replica>1</Replica>\\n <ApplicationName>KNOX</ApplicationName>\\n <Namespace/>\\n </Components>\\n</ListComponentsResponse>","errorExample":""}]', + 'title' => 'ListComponents', + 'summary' => 'Retrieves a list of components.', + ], + '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' => 'The region ID. You can call the [ListRegions](url) view.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'C-8CFEBCCFFEF5****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If you leave this parameter empty, the query starts from the beginning.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '“”', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The maximum number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'ApplicationNames', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '应用名称列表。', + 'description' => 'The list of component names.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The application name.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'KNOX', + ], + 'required' => false, + 'example' => 'c-b933c5aac8fe****', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'NodeIds', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '节点ID列表。', + 'description' => 'The list of instance IDs.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'i-bp17yy050pxo01m2****', + ], + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'NodeNames', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '节点名称列表。', + 'description' => 'The instance IDs.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The instance name.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'emr-worker-1', + ], + 'required' => false, + 'example' => '20', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ComponentNames', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '组件名称列表。', + 'description' => 'The list of component names.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The component name.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'KNOX', + ], + 'required' => false, + 'example' => '["HDFS"]', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ComponentStates', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'description' => 'The list of component status.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The status of the component.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'INSTALLED', + ], + 'required' => false, + 'example' => 'null', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The zone ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou-i', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'ComponentInstances' => [ + 'description' => 'The list of instance component installation information.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The installation information of the instance component.'."\n", + 'type' => 'object', + 'properties' => [ + 'ComponentName' => [ + 'title' => '组件名称。', + 'description' => 'The component name.'."\n", + 'type' => 'string', + 'example' => 'KNOX', + ], + 'ApplicationName' => [ + 'title' => '应用名称。', + 'description' => 'The application name.'."\n", + 'type' => 'string', + 'example' => 'KNOX', + ], + 'ComponentInstanceState' => [ + 'title' => '组件实例操作状态。', + 'description' => 'The status of the component. Valid values:'."\n" + ."\n" + .'* WAITING'."\n" + .'* INSTALLING'."\n" + .'* INSTALLED'."\n" + .'* INSTALL_FAILED'."\n" + .'* STARTING'."\n" + .'* STARTED'."\n" + .'* START_FAILED'."\n" + .'* STOPPING'."\n" + .'* STOPPED'."\n" + .'* STOP_FAILED'."\n", + 'type' => 'string', + 'example' => 'STARTED', + ], + 'NodeId' => [ + 'title' => '节点ID。', + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'example' => 'i-bp17yy050pxo01m2****', + ], + 'NodeName' => [ + 'title' => '节点名称。', + 'description' => 'The instance name.'."\n", + 'type' => 'string', + 'example' => 'emr-worker-1', + ], + 'CommissionState' => [ + 'title' => 'Commission状态。', + 'description' => 'The status of the Commission. Valid values:'."\n" + ."\n" + .'* COMMISSIONED'."\n" + .'* COMMISSIONING'."\n" + .'* DECOMMISSIONED'."\n" + .'* DECOMMISSIONINPROGRESS'."\n" + .'* DECOMMISSIONFAILED'."\n" + .'* INSERVICE'."\n" + .'* UNKNOWN'."\n", + 'type' => 'string', + 'example' => 'INSERVICE', + ], + 'BizState' => [ + 'title' => '业务状态。', + 'description' => 'The status of the component service. Valid values:'."\n" + ."\n" + .'* active: the primary service.'."\n" + .'* standby: the standby service.'."\n", + 'type' => 'string', + 'example' => 'active', + ], + 'CreateTime' => [ + 'title' => '安装时间戳。', + 'description' => 'The timestamp of the installation.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1628248947000', + ], + 'DesiredState' => [ + 'title' => '期待状态。', + 'description' => 'Valid values:'."\n" + ."\n" + .'* WAITING'."\n" + .'* INSTALLING'."\n" + .'* INSTALLED'."\n" + .'* INSTALL_FAILED'."\n" + .'* STARTING'."\n" + .'* STARTED'."\n" + .'* START_FAILED'."\n" + .'* STOPPING'."\n" + .'* STOPPED'."\n" + .'* STOP_FAILED'."\n", + 'type' => 'string', + 'example' => 'STARTED', + ], + 'ZoneId' => [ + 'description' => 'The zone ID.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou-i', + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '7345241A-014C-17D2-A3AC-C72771188F46', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If you leave this parameter empty, the query starts from the beginning.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The maximum number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"ComponentInstances\\": [\\n {\\n \\"ComponentName\\": \\"KNOX\\",\\n \\"ApplicationName\\": \\"KNOX\\",\\n \\"ComponentInstanceState\\": \\"STARTED\\",\\n \\"NodeId\\": \\"i-bp17yy050pxo01m2****\\",\\n \\"NodeName\\": \\"emr-worker-1\\",\\n \\"CommissionState\\": \\"INSERVICE\\",\\n \\"BizState\\": \\"active\\",\\n \\"CreateTime\\": 1628248947000,\\n \\"DesiredState\\": \\"STARTED\\",\\n \\"ZoneId\\": \\"cn-hangzhou-i\\"\\n }\\n ],\\n \\"RequestId\\": \\"7345241A-014C-17D2-A3AC-C72771188F46\\",\\n \\"NextToken\\": \\"“”\\",\\n \\"MaxResults\\": 2,\\n \\"TotalCount\\": 2\\n}","errorExample":""},{"type":"xml","example":"<ListComponentInstancesResponse>\\n <RequestId>7345241A-014C-17D2-A3AC-C72771188F46</RequestId>\\n <TotalCount>2</TotalCount>\\n <NextToken/>\\n <MaxResults>2</MaxResults>\\n <ComponentInstances>\\n <ComponentName>KNOX</ComponentName>\\n <ApplicationName>KNOX</ApplicationName>\\n <ComponentInstanceState>STARTED</ComponentInstanceState>\\n <NodeId>i-bp17yy050pxo01m2****</NodeId>\\n <NodeName>emr-worker-1</NodeName>\\n <CommissionState>INSERVICE</CommissionState>\\n <DesiredState>STARTED</DesiredState>\\n <MaintenanceState>ON</MaintenanceState>\\n <BizState>active</BizState>\\n <CreateTime>1628248947000</CreateTime>\\n </ComponentInstances>\\n</ListComponentInstancesResponse>","errorExample":""}]', + 'title' => 'ListComponentInstances', + 'summary' => 'Retrieves the list of component instances.', + ], + 'GetOperation' => [ + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '38519', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceW8BA0F', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The district ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The ID of the cluster that you want to query.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'OperationId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '操作ID。', + 'description' => 'The operation ID.'."\n" + ."\n" + .'References:'."\n" + ."\n" + .'* [CreateCluster](~~454393~~)'."\n" + .'* [IncreaseNodes](~~454397~~)'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'op-13c37a77c505****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Operation' => [ + 'description' => 'The operation that was performed.'."\n", + '$ref' => '#/components/schemas/Operation', + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3896A', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Operation\\": {\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"CreateTime\\": 1628589439114,\\n \\"StartTime\\": 1628589439114,\\n \\"EndTime\\": 1628589439114,\\n \\"OperationType\\": \\"CLUSTER\\",\\n \\"OperationState\\": \\"COMPLETED\\",\\n \\"Description\\": \\"start\\",\\n \\"StateChangeReason\\": {\\n \\"Code\\": \\"OutOfStock\\",\\n \\"Message\\": \\"The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.\\"\\n }\\n },\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\"\\n}","errorExample":""},{"type":"xml","example":"<GetOperationResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <OperationState>COMPLETED</OperationState>\\n <Orders/>\\n <PriceInfo>\\n <PromotionResults/>\\n </PriceInfo>\\n</GetOperationResponse>","errorExample":""}]', + 'title' => 'GetOperation', + 'summary' => 'Gets the details of an asynchronous operation.', + ], + 'JoinResourceGroup' => [ + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceGZP0FZ', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '地域ID。', + 'description' => 'The ID of the region in which you want to create the instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '资源类型。', + 'description' => 'The type of the resource. Valid values:'."\n" + ."\n" + .'* cluster: cluster'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cluster', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '资源组ID。', + 'description' => 'The ID of the resource group.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'rg-acfmzabjyop****', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '资源ID。', + 'description' => 'The ID of the resource.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-c95f0a39d8ff****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","type":"json"}]', + 'title' => 'JoinResourceGroup', + 'summary' => 'Adds an EMR resource to a resource group. A resource can belong to only one resource group.', + ], + 'TagResources' => [ + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '25001', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceWV7Y23', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The ID of the region in which you want to create the instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '资源类型。', + 'description' => 'The type of the resource to which the tag belongs. Valid values:'."\n" + ."\n" + .'* cluster: cluster'."\n", + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [], + 'example' => 'cluster', + ], + ], + [ + 'name' => 'ResourceIds', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '资源ID。', + 'description' => 'The list of resource IDs. Valid values of N: 1 to 1.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of a resource. If the ResourceType parameter is set to cluster, set the value to the ID of the cluster.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'c-b933c5aac8fe****', + ], + 'required' => true, + 'example' => 'cluster', + 'maxItems' => 1, + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '标签列表。', + 'description' => 'The tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The tag of the job.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Tag', + ], + 'required' => true, + 'example' => '[null]', + 'maxItems' => 20, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The data structure.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'A964BDB2-0FDA-1037-AF3F-2633D5C3F20F', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A964BDB2-0FDA-1037-AF3F-2633D5C3F20F\\"\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse>\\n <RequestId>A964BDB2-0FDA-1037-AF3F-2633D5C3F20F</RequestId>\\n <Data>true</Data>\\n</TagResourcesResponse>","errorExample":""}]', + 'title' => 'TagResources', + 'summary' => 'Binds tags to a specified EMR cluster.', + ], + 'UntagResources' => [ + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceACW5KS', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The ID of the region in which you want to create the instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '资源类型。', + 'description' => 'The type of the resource. Set the value to cluster.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cluster', + ], + ], + [ + 'name' => 'ResourceIds', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '资源ID。', + 'description' => 'The list of resource IDs.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of a resource. If the ResourceType parameter is set to cluster, set the value to the ID of the cluster.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'c-b933c5aac8fe****', + ], + 'required' => true, + 'example' => 'cluster', + 'maxItems' => 1, + ], + ], + [ + 'name' => 'TagKeys', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '标签Key列表。', + 'description' => 'The key of the label. Valid values of N: 1 to 20.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The list of tag key values.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Department', + ], + 'required' => false, + 'example' => '["c-b933c5aac8fe****"]', + ], + ], + [ + 'name' => 'All', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '是否删除指定指定的所有标签。', + 'description' => 'Specifies whether to remove all tags. This parameter is valid only when the **Tagkeys** is empty. Valid values:'."\n" + ."\n" + .'* true: All the data is deleted.'."\n" + .'* false: Not all of them are deleted.'."\n" + ."\n" + .'Default value: false'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The data structure.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '17A6A3D5-4B13-1DAD-9A23-66EA5FC83B50', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"17A6A3D5-4B13-1DAD-9A23-66EA5FC83B50\\"\\n}","errorExample":""},{"type":"xml","example":"<UntagResourcesResponse>\\n <RequestId>17A6A3D5-4B13-1DAD-9A23-66EA5FC83B50</RequestId>\\n <Data>true</Data>\\n</UntagResourcesResponse>","errorExample":""}]', + 'title' => 'UntagResources', + 'summary' => 'Unbinds tags from a specified column in an EMR cluster. If the tag is not bound to other resources, the tag is automatically deleted.', + ], + 'ListTagResources' => [ + 'summary' => 'Queries the tags that are bound to an EMR cluster.', + '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' => 'The ID of the region in which you want to create the instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'The pagination token that is used in the request to retrieve a new page of results. If NextToken is empty, the query starts from the beginning.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The number of maximum number of records to obtain at a time.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '资源类型。', + 'description' => 'The type of the resource. Set the value to cluster.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cluster', + ], + ], + [ + 'name' => 'ResourceIds', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '资源ID列表。', + 'description' => 'The list of resource IDs. Number of array elements N Valid values: 1 to 1'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of a resource. If the ResourceType parameter is set to cluster, set the value to the ID of the cluster.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'c-b933c5aac8fe****', + ], + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + 'maxItems' => 1, + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '标签列表。', + 'description' => 'An array of tags. The number of elements in the array. Valid values: 1 to 20.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The tag.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Tag', + ], + 'required' => false, + 'example' => '20', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The data returned.'."\n", + 'type' => 'object', + 'properties' => [ + 'TagResources' => [ + 'description' => 'The details about the tag. Contains the resource ID, resource type, and tag key-value information.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The labels of the resource.'."\n", + 'type' => 'object', + 'properties' => [ + 'TagKey' => [ + 'title' => '标签键。', + 'description' => 'The tag key of the ENI.'."\n", + 'type' => 'string', + 'example' => 'Department', + ], + 'TagValue' => [ + 'title' => '标签值。', + 'description' => 'The tag value of the ENI.'."\n", + 'type' => 'string', + 'example' => 'Dev', + ], + 'ResourceType' => [ + 'title' => '资源类型。', + 'description' => 'The resource type.'."\n", + 'type' => 'string', + 'example' => 'cluster', + ], + 'ResourceId' => [ + 'title' => '资源ID。', + 'description' => 'Indicates the ID of a resource.'."\n", + 'type' => 'string', + 'example' => 'c-b933c5aac8fe****', + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '372D4E9B-2509-5EFA-846B-B34FBF143F56', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'Returns the location of the data that was read. Empty indicates that the data has been read.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The maximum number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TagResources\\": [\\n {\\n \\"TagKey\\": \\"Department\\",\\n \\"TagValue\\": \\"Dev\\",\\n \\"ResourceType\\": \\"cluster\\",\\n \\"ResourceId\\": \\"c-b933c5aac8fe****\\"\\n }\\n ],\\n \\"RequestId\\": \\"372D4E9B-2509-5EFA-846B-B34FBF143F56\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","errorExample":""},{"type":"xml","example":"<ListTagResourcesResponse>\\n <RequestId>372D4E9B-2509-5EFA-846B-B34FBF143F56</RequestId>\\n <Data/>\\n</ListTagResourcesResponse>","errorExample":""}]', + 'title' => 'ListTagResources', + ], + 'CreateScript' => [ + 'methods' => [ + 'get', + 'post', + ], + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'ScriptType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群脚本类型。', + 'description' => 'The type of the script. Valid values:'."\n" + ."\n" + .'* BOOTSTRAP: indicates a bootstrap action of the Elastic Compute Service (ECS) instance.'."\n" + .'* NORMAL: indicates a common script.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'BOOTSTRAP', + ], + ], + [ + 'name' => 'Scripts', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '集群脚本列表。', + 'description' => 'The list of scripts.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The script.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Script', + ], + 'required' => true, + 'maxItems' => 20, + ], + ], + [ + 'name' => 'TimeoutSecs', + 'in' => 'query', + 'schema' => [ + 'title' => '手动执行脚本超时时间,不支持引导脚本设置', + 'description' => 'The timeout period for a manual execution script. You cannot specify a timeout period for a bootstrap action.'."\n", + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'ScriptId' => [ + 'description' => 'The script ID.'."\n", + 'type' => 'string', + 'example' => 'cs-d6d6bc841c0d415fb81808bc6d09****', + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter.ClusterId', + 'errorMessage' => 'The specified clusterId is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter.ClusterScript', + 'errorMessage' => 'The specified clusterScript is invalid', + ], + [ + 'errorCode' => 'InvalidParameter.ClusterScriptType', + 'errorMessage' => 'The specified scriptType is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter.ClusterScriptNumberOverLimit', + 'errorMessage' => 'The cluster script number has already exceeded max limit [%s]', + ], + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScriptId\\": \\"cs-d6d6bc841c0d415fb81808bc6d09****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'CreateScript', + 'summary' => 'Adds a bootstrap action or a common script of an E-MapReduce (EMR) cluster.', + ], + 'ListScripts' => [ + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '119909', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceY1BE2N', + 'FEATUREemapreduce42QKNE', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'Region ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'Cluster ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'Marks the current position to start reading from.', + 'type' => 'string', + 'required' => false, + 'example' => 'dd6b1b2a-5837-5237-abe4-ff0c89568980', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The maximum number of records to retrieve at once.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'ScriptType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群脚本类型。', + 'description' => 'Type of cluster script. Possible values:'."\n" + ."\n" + .'- BOOTSTRAP: Bootstrap script.'."\n" + .'- NORMAL: Regular cluster script.', + 'type' => 'string', + 'required' => true, + 'example' => 'BOOTSTRAP', + ], + ], + [ + 'name' => 'ScriptName', + 'in' => 'query', + 'schema' => [ + 'title' => '集群脚本名称,仅限NORMAL脚本,支持模糊搜索。', + 'description' => 'The name of the script. Only common scripts are supported. Fuzzy search is supported.'."\n", + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ScriptId', + 'in' => 'query', + 'schema' => [ + 'title' => '集群脚本id,仅限NORMAL脚本', + 'description' => 'The script ID. Only common scripts are supported.'."\n", + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Statuses', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'title' => '脚本状态,仅支持NORMAL脚本。', + 'description' => 'The script status list.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The status of the script. Only common scripts are supported.'."\n", + 'type' => 'string', + 'required' => false, + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Scripts' => [ + 'description' => 'The scripts.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The script.'."\n", + 'type' => 'object', + 'properties' => [ + 'Action' => [ + 'title' => 'API名称。', + 'description' => 'API name.', + 'type' => 'string', + 'example' => 'ListScripts', + ], + 'RegionId' => [ + 'title' => '区域ID。', + 'description' => 'Region ID.', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'ScriptId' => [ + 'title' => '脚本ID。', + 'description' => 'Script ID.', + 'type' => 'string', + 'example' => 'cs-bf25219d103043a0820613e32781****', + ], + 'ScriptName' => [ + 'title' => '集群脚本名称。', + 'description' => 'Script name.', + 'type' => 'string', + 'example' => 'check_env', + ], + 'ScriptPath' => [ + 'title' => '集群脚本路径。', + 'description' => 'Script path.', + 'type' => 'string', + 'example' => 'oss://bucket1/check_evn.sh', + ], + 'ScriptArgs' => [ + 'title' => '集群脚本执行参数。', + 'description' => 'Script execution parameters.', + 'type' => 'string', + 'example' => '--mode=client -h -p', + ], + 'LastUpdateTime' => [ + 'title' => '最近一次编辑时间。', + 'description' => 'Time of the last update.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1639714634819', + ], + 'ExecutionFailStrategy' => [ + 'title' => '执行失败策略。', + 'description' => 'Execution failure strategy. Possible values:'."\n" + ."\n" + .'- FAILED_CONTINUE: Continue after failure.'."\n" + .'- FAILED_BLOCK: Block after failure.', + 'type' => 'string', + 'example' => 'FAILED_CONTINUE', + ], + 'ExecutionMoment' => [ + 'title' => '执行时机。', + 'description' => 'Execution timing. Possible values:'."\n" + ."\n" + .'- BEFORE_INSTALL: Before application installation.'."\n" + .'- AFTER_STARTED: After application startup.', + 'type' => 'string', + 'example' => 'BEFORE_INSTALL', + ], + 'NodeSelector' => [ + 'title' => '节点选择器。', + 'description' => 'The node selector.'."\n", + '$ref' => '#/components/schemas/NodeSelector', + ], + 'StartTime' => [ + 'title' => '开始执行时间。', + 'description' => 'Start execution time. This value is returned only when `ScriptType` is `NORMAL`.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1639714634000', + ], + 'EndTime' => [ + 'title' => '结束执行时间。', + 'description' => 'End execution time. This value is returned only when `ScriptType` is `NORMAL`.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1639715635819', + ], + 'ExecutionState' => [ + 'description' => 'Script execution state. This value is returned only when `ScriptType` is `NORMAL`. Possible values:'."\n" + ."\n" + .'- SCRIPT_COMPLETED: Script executed successfully.'."\n" + .'- SCRIPT_SUBMISSION_FAILED: Script execution failed.'."\n" + .'- SCRIPT_RUNNING: Script is running.', + 'type' => 'string', + 'example' => 'SCRIPT_COMPLETED', + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'The position of the data read.', + 'type' => 'string', + 'example' => 'dd6b1b2a-5837-5237-abe4-ff0c89568982', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The maximum number of records returned in this request.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total amount of data under the conditions of this request.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Scripts\\": [\\n {\\n \\"Action\\": \\"ListScripts\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ScriptId\\": \\"cs-bf25219d103043a0820613e32781****\\",\\n \\"ScriptName\\": \\"check_env\\",\\n \\"ScriptPath\\": \\"oss://bucket1/check_evn.sh\\",\\n \\"ScriptArgs\\": \\"--mode=client -h -p\\",\\n \\"LastUpdateTime\\": 1639714634819,\\n \\"ExecutionFailStrategy\\": \\"FAILED_CONTINUE\\",\\n \\"ExecutionMoment\\": \\"BEFORE_INSTALL\\",\\n \\"NodeSelector\\": {\\n \\"NodeSelectType\\": \\"CLUSTER\\",\\n \\"NodeNames\\": [\\n \\"\\"\\n ],\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupIds\\": [\\n \\"ng-869471354ecd****\\"\\n ],\\n \\"NodeGroupTypes\\": [\\n \\"\\"\\n ],\\n \\"NodeGroupName\\": \\"master-1\\",\\n \\"NodeGroupNames\\": [\\n \\"master-1\\"\\n ]\\n },\\n \\"StartTime\\": 1639714634000,\\n \\"EndTime\\": 1639715635819,\\n \\"ExecutionState\\": \\"SCRIPT_COMPLETED\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"dd6b1b2a-5837-5237-abe4-ff0c89568982\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListScripts', + 'summary' => 'Query EMR cluster bootstrap scripts or regular scripts.', + 'translator' => 'machine', + ], + 'UpdateScript' => [ + 'methods' => [ + 'get', + 'post', + ], + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'ScriptId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '脚本ID。', + 'description' => 'The script ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cs-da7476a7679a4d4c9cede62ebe09****', + ], + ], + [ + 'name' => 'ScriptType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群脚本类型。', + 'description' => 'The type of the script. Valid values:'."\n" + ."\n" + .'* BOOTSTRAP: indicates a bootstrap action of the Elastic Compute Service (ECS) instance.'."\n" + .'* NORMAL: indicates a common script.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'BOOTSTRAP', + ], + ], + [ + 'name' => 'Script', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => [ + 'title' => '集群脚本。', + 'description' => 'The script.'."\n", + 'required' => true, + '$ref' => '#/components/schemas/Script', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter.ClusterId', + 'errorMessage' => 'The specified clusterId is invalid.', + ], + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'UpdateScript', + 'summary' => 'Updates a bootstrap action or a common script of an E-MapReduce (EMR) cluster.', + ], + 'DeleteScript' => [ + 'methods' => [ + 'get', + 'post', + ], + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'ScriptType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群脚本类型。', + 'description' => 'The type of the script. Valid values:'."\n" + ."\n" + .'* BOOTSTRAP: indicates a bootstrap action of the Elastic Compute Service (ECS) instance.'."\n" + .'* NORMAL: indicates a common script.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'BOOTSTRAP', + ], + ], + [ + 'name' => 'ScriptId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '脚本ID。', + 'description' => 'The script ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cs-da7476a7679a4d4c9cede62ebe09****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'DeleteScript', + 'summary' => 'Deletes a bootstrap action or a common script of an E-MapReduce (EMR) cluster.', + ], + 'ListDoctorHiveDatabases' => [ + 'description' => 'list Doctor Hive Databases', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceQEA007', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The maximum number of entries to return on each page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The query date.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '2023-01-01', + ], + ], + [ + 'name' => 'DatabaseNames', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'description' => 'The database names.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The database name.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'db1', + ], + 'required' => false, + 'example' => 'null', + ], + ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The order in which you want to sort the query results. Valid values:'."\n" + ."\n" + .'* ASC: in ascending order'."\n" + .'* DESC: in descending order'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ASC', + ], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The basis on which you want to sort the query results. Valid values:'."\n" + ."\n" + .'* tableCount: the number of tables'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'tableCount', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The analysis results of Hive databases.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DatabaseName' => [ + 'description' => 'The database name.'."\n", + 'type' => 'string', + 'example' => 'db1', + ], + 'Formats' => [ + 'description' => 'The information from the perspective of storage formats.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FormatName' => [ + 'description' => 'The name of the storage format.'."\n", + 'type' => 'string', + 'example' => 'TextInputFormat', + ], + 'FormatSize' => [ + 'description' => 'The amount of storage format-specific data.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'FormatSizeUnit' => [ + 'description' => 'The unit of the amount of storage format-specific data.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'FormatRatio' => [ + 'description' => 'The proportion of data in a specific storage format.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'FormatDayGrowthSize' => [ + 'description' => 'The daily increment of storage format-specific data.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'FormatSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of storage format-specific data.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + ], + ], + ], + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'TableCount' => [ + 'description' => 'The number of tables.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'TableCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of tables'."\n", + ], + ], + ], + 'PartitionNum' => [ + 'description' => 'The number of partitions.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'ppartitionNum', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of partitions'."\n", + ], + ], + ], + 'LargeFileCount' => [ + 'description' => 'The number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of large files'."\n", + ], + ], + ], + 'MediumFileCount' => [ + 'description' => 'The number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of medium files'."\n", + ], + ], + ], + 'SmallFileCount' => [ + 'description' => 'The number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of small files'."\n", + ], + ], + ], + 'TinyFileCount' => [ + 'description' => 'The number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of tiny files'."\n", + ], + ], + ], + 'EmptyFileCount' => [ + 'description' => 'The number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of empty files'."\n", + ], + ], + ], + 'TotalFileCount' => [ + 'description' => 'The total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of total files'."\n", + ], + ], + ], + 'LargeFileRatio' => [ + 'description' => 'The proportion of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of large files'."\n", + ], + ], + ], + 'MediumFileRatio' => [ + 'description' => 'The proportion of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of medium files'."\n", + ], + ], + ], + 'SmallFileRatio' => [ + 'description' => 'The proportion of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of small files'."\n", + ], + ], + ], + 'TinyFileRatio' => [ + 'description' => 'The proportion of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of tiny files'."\n", + ], + ], + ], + 'EmptyFileRatio' => [ + 'description' => 'The proportion of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of empty files'."\n", + ], + ], + ], + 'HotDataSize' => [ + 'description' => 'The amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of hot files'."\n", + ], + ], + ], + 'WarmDataSize' => [ + 'description' => 'The amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of warm files'."\n", + ], + ], + ], + 'ColdDataSize' => [ + 'description' => 'The amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of cold files'."\n", + ], + ], + ], + 'FreezeDataSize' => [ + 'description' => 'The amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataSize ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of freeze files'."\n", + ], + ], + ], + 'TotalDataSize' => [ + 'description' => 'The total amount of data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total data size in megabytes (MB)'."\n", + ], + ], + ], + 'HotDataRatio' => [ + 'description' => 'The proportion of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Hot data ratio'."\n", + ], + ], + ], + 'WarmDataRatio' => [ + 'description' => 'The proportion of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of warm data'."\n", + ], + ], + ], + 'ColdDataRatio' => [ + 'description' => 'The proportion of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Cold data ratio'."\n", + ], + ], + ], + 'FreezeDataRatio' => [ + 'description' => 'The proportion of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of freeze data'."\n", + ], + ], + ], + 'TotalFileDayGrowthCount' => [ + 'description' => 'The daily increment of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of total files'."\n", + ], + ], + ], + 'LargeFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of large files'."\n", + ], + ], + ], + 'MediumFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of medium files'."\n", + ], + ], + ], + 'SmallFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileDayGrowthCount ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of small files'."\n", + ], + ], + ], + 'TinyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of tiny files'."\n", + ], + ], + ], + 'EmptyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of empty files'."\n", + ], + ], + ], + 'HotDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataDayGrowthSize ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of hot data'."\n", + ], + ], + ], + 'WarmDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataDayGrowthSize ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of warm data'."\n", + ], + ], + ], + 'ColdDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of cold data'."\n", + ], + ], + ], + 'FreezeDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataDayGrowthSize ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of freeze data'."\n", + ], + ], + ], + 'TotalDataDayGrowthSize' => [ + 'description' => 'The daily increment of the total data volume.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of total data'."\n", + ], + ], + ], + 'TotalFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of total files'."\n", + ], + ], + ], + 'LargeFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of large files'."\n", + ], + ], + ], + 'MediumFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileCountDayGrowthRatio ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of medium files'."\n", + ], + ], + ], + 'SmallFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileCountDayGrowthRatio ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of small files'."\n", + ], + ], + ], + 'TinyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileCountDayGrowthRatio ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of tiny files'."\n", + ], + ], + ], + 'EmptyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileCountDayGrowthRatio ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of empty files'."\n", + ], + ], + ], + 'HotDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataSizeDayGrowthRatio ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of hot data size'."\n", + ], + ], + ], + 'WarmDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'WarmDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of warm data size'."\n", + ], + ], + ], + 'ColdDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataSizeDayGrowthRatio ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of cold data size'."\n", + ], + ], + ], + 'FreezeDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataSizeDayGrowthRatio ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of freeze data size'."\n", + ], + ], + ], + 'TotalDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total data volume.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataSizeDayGrowthRatio ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of total data size'."\n", + ], + ], + ], + ], + ], + 'Analysis' => [ + 'description' => 'The analysis results.'."\n", + 'type' => 'object', + 'properties' => [ + 'HiveFrequencyScore' => [ + 'description' => 'The score for the access frequency of the Hive database.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '85', + ], + 'HiveDistributionScore' => [ + 'description' => 'The score for the distribution of files of different sizes stored in the Hive database.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '85', + ], + 'HiveFormatScore' => [ + 'description' => 'The score for the distribution of files stored in different formats in the Hive database.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '85', + ], + 'HiveScore' => [ + 'description' => 'The overall score of the Hive database.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '85', + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'A pagination token.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The maximum number of entries that are returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"DatabaseName\\": \\"db1\\",\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\",\\n \\"FormatSize\\": 1000,\\n \\"FormatSizeUnit\\": \\"MB\\",\\n \\"FormatRatio\\": 0.5,\\n \\"FormatDayGrowthSize\\": 1000,\\n \\"FormatSizeDayGrowthRatio\\": 0.5\\n }\\n ],\\n \\"Metrics\\": {\\n \\"TableCount\\": {\\n \\"Name\\": \\"TableCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tables\\\\n\\"\\n },\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"ppartitionNum\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of partitions\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of large files\\\\n\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of small files\\\\n\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of hot files\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of warm files\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of cold files\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of freeze files\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Hot data ratio\\\\n\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of warm data\\\\n\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Cold data ratio\\\\n\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of freeze data\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"WarmDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 85,\\n \\"HiveDistributionScore\\": 85,\\n \\"HiveFormatScore\\": 85,\\n \\"HiveScore\\": 85\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorHiveDatabases', + 'summary' => 'Obtains the analysis results of multiple Hive databases at a time.', + ], + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The query date.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '2023-01-01', + ], + ], + [ + 'name' => 'DatabaseName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The database name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'db1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The analysis results of the Hive database.'."\n", + 'type' => 'object', + 'properties' => [ + 'Formats' => [ + 'description' => 'The information from the perspective of storage formats.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FormatName' => [ + 'description' => 'The name of the storage format.'."\n", + 'type' => 'string', + 'example' => 'TextInputFormat', + ], + 'FormatSize' => [ + 'description' => 'The amount of data in the format.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'FormatSizeUnit' => [ + 'description' => 'The unit of the amount of data in the format.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'FormatRatio' => [ + 'description' => 'The proportion of the data in the format.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'FormatDayGrowthSize' => [ + 'description' => 'The daily increment of data in the format.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'FormatSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of data in the format.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + ], + ], + ], + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'TableCount' => [ + 'description' => 'The number of tables.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tableCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of tables'."\n", + ], + ], + ], + 'PartitionNum' => [ + 'description' => 'The number of partitions.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'partitionNum', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of partitions'."\n", + ], + ], + ], + 'LargeFileCount' => [ + 'description' => 'The number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of large files'."\n", + ], + ], + ], + 'MediumFileCount' => [ + 'description' => 'The number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of medium files'."\n", + ], + ], + ], + 'SmallFileCount' => [ + 'description' => 'The number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of small files'."\n", + ], + ], + ], + 'TinyFileCount' => [ + 'description' => 'The number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of tiny files'."\n", + ], + ], + ], + 'EmptyFileCount' => [ + 'description' => 'The number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of empty files'."\n", + ], + ], + ], + 'TotalFileCount' => [ + 'description' => 'The total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileCount ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of total files'."\n", + ], + ], + ], + 'LargeFileRatio' => [ + 'description' => 'The proportion of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of large files'."\n", + ], + ], + ], + 'MediumFileRatio' => [ + 'description' => 'The proportion of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of medium files'."\n", + ], + ], + ], + 'SmallFileRatio' => [ + 'description' => 'The proportion of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of small files'."\n", + ], + ], + ], + 'TinyFileRatio' => [ + 'description' => 'The proportion of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of tiny files'."\n", + ], + ], + ], + 'EmptyFileRatio' => [ + 'description' => 'The proportion of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileRatio ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of empty files'."\n", + ], + ], + ], + 'HotDataSize' => [ + 'description' => 'The amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of hot files'."\n", + ], + ], + ], + 'WarmDataSize' => [ + 'description' => 'The amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of warm files'."\n", + ], + ], + ], + 'ColdDataSize' => [ + 'description' => 'The amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of cold files'."\n", + ], + ], + ], + 'FreezeDataSize' => [ + 'description' => 'The amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of freeze files'."\n", + ], + ], + ], + 'TotalDataSize' => [ + 'description' => 'The total amount of data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataSize ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total data size in megabytes (MB)'."\n", + ], + ], + ], + 'HotDataRatio' => [ + 'description' => 'The proportion of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataRatio ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Hot data ratio'."\n", + ], + ], + ], + 'WarmDataRatio' => [ + 'description' => 'The proportion of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of warm data'."\n", + ], + ], + ], + 'ColdDataRatio' => [ + 'description' => 'The proportion of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataRatio ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Cold data ratio'."\n", + ], + ], + ], + 'FreezeDataRatio' => [ + 'description' => 'The proportion of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of freeze data'."\n", + ], + ], + ], + 'TotalFileDayGrowthCount' => [ + 'description' => 'The daily increment of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of total files'."\n", + ], + ], + ], + 'LargeFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileDayGrowthCount ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of large files'."\n", + ], + ], + ], + 'MediumFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileDayGrowthCount ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of medium files'."\n", + ], + ], + ], + 'SmallFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of small files'."\n", + ], + ], + ], + 'TinyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of tiny files'."\n", + ], + ], + ], + 'EmptyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of empty files'."\n", + ], + ], + ], + 'HotDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of hot data'."\n", + ], + ], + ], + 'WarmDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of warm data'."\n", + ], + ], + ], + 'ColdDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataDayGrowthSize ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of cold data'."\n", + ], + ], + ], + 'FreezeDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataDayGrowthSize ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of freeze data'."\n", + ], + ], + ], + 'TotalDataDayGrowthSize' => [ + 'description' => 'The daily incremental of the total amount of data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataDayGrowthSize ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of total data'."\n", + ], + ], + ], + 'TotalFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileCountDayGrowthRatio ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of total files'."\n", + ], + ], + ], + 'LargeFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of large files'."\n", + ], + ], + ], + 'MediumFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileCountDayGrowthRatio ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of medium files'."\n", + ], + ], + ], + 'SmallFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileCountDayGrowthRatio ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of small files'."\n", + ], + ], + ], + 'TinyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileCountDayGrowthRatio ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of tiny files'."\n", + ], + ], + ], + 'EmptyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of empty files'."\n", + ], + ], + ], + 'HotDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataSizeDayGrowthRatio ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of hot data size'."\n", + ], + ], + ], + 'WarmDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of warm data size'."\n", + ], + ], + ], + 'ColdDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of cold data size'."\n", + ], + ], + ], + 'FreezeDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataSizeDayGrowthRatio ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of freeze data size'."\n", + ], + ], + ], + 'TotalDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total data volume.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of total data size'."\n", + ], + ], + ], + ], + ], + 'Analysis' => [ + 'description' => 'The analysis results.'."\n", + 'type' => 'object', + 'properties' => [ + 'HiveFrequencyScore' => [ + 'description' => 'The score for the access frequency of the Hive database.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '85', + ], + 'HiveDistributionScore' => [ + 'description' => 'The score for the file sizes of the Hive database.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '85', + ], + 'HiveFormatScore' => [ + 'description' => 'The score for the data formats of the Hive database.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '85', + ], + 'HiveScore' => [ + 'description' => 'The overall score of the Hive database.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '85', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\",\\n \\"FormatSize\\": 1000,\\n \\"FormatSizeUnit\\": \\"MB\\",\\n \\"FormatRatio\\": 0.5,\\n \\"FormatDayGrowthSize\\": 1000,\\n \\"FormatSizeDayGrowthRatio\\": 0.5\\n }\\n ],\\n \\"Metrics\\": {\\n \\"TableCount\\": {\\n \\"Name\\": \\"tableCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tables\\\\n\\"\\n },\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"partitionNum\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of partitions\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of large files\\\\n\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of small files\\\\n\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of hot files\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of warm files\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of cold files\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of freeze files\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Hot data ratio\\\\n\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of warm data\\\\n\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Cold data ratio\\\\n\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of freeze data\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 85,\\n \\"HiveDistributionScore\\": 85,\\n \\"HiveFormatScore\\": 85,\\n \\"HiveScore\\": 85\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorHiveDatabase', + 'summary' => 'Obtains the analysis results of a Hive database.', + ], + 'GetDoctorHiveCluster' => [ + 'description' => 'list Doctor Hive Cluster', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceQEA007', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '2023-01-01', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The analysis results of the Hive cluster.'."\n", + 'type' => 'object', + 'properties' => [ + 'Formats' => [ + 'description' => 'The information from the perspective of storage formats.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FormatName' => [ + 'description' => 'The name of the storage format.'."\n", + 'type' => 'string', + 'example' => 'TextInputFormat'."\n", + ], + 'FormatSize' => [ + 'description' => 'The amount of data in the format.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'FormatSizeUnit' => [ + 'description' => 'The unit of the amount of data in the format.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'FormatRatio' => [ + 'description' => 'The proportion of the data in the format.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + ], + ], + ], + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'TableCount' => [ + 'description' => 'The number of tables.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tableCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of tables', + ], + ], + ], + 'PartitionNum' => [ + 'description' => 'The number of partitions.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'partitionNum', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of partitions', + ], + ], + ], + 'DatabaseCount' => [ + 'description' => 'The number of databases.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'databaseCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of databases', + ], + ], + ], + 'LargeFileCount' => [ + 'description' => 'The number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of large files'."\n", + ], + ], + ], + 'MediumFileCount' => [ + 'description' => 'The number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of medium files'."\n", + ], + ], + ], + 'SmallFileCount' => [ + 'description' => 'The number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileCount ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of small files'."\n", + ], + ], + ], + 'TinyFileCount' => [ + 'description' => 'The number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of tiny files'."\n", + ], + ], + ], + 'EmptyFileCount' => [ + 'description' => 'The number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of empty files'."\n", + ], + ], + ], + 'TotalFileCount' => [ + 'description' => 'The total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of total files'."\n", + ], + ], + ], + 'LargeFileRatio' => [ + 'description' => 'The proportion of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of large files'."\n", + ], + ], + ], + 'MediumFileRatio' => [ + 'description' => 'The proportion of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of medium files'."\n", + ], + ], + ], + 'SmallFileRatio' => [ + 'description' => 'The proportion of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of small files'."\n", + ], + ], + ], + 'TinyFileRatio' => [ + 'description' => 'The proportion of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of tiny files'."\n", + ], + ], + ], + 'EmptyFileRatio' => [ + 'description' => 'The proportion of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of empty files'."\n", + ], + ], + ], + 'HotDataSize' => [ + 'description' => 'The amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of hot files'."\n", + ], + ], + ], + 'WarmDataSize' => [ + 'description' => 'The amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of warm files'."\n", + ], + ], + ], + 'ColdDataSize' => [ + 'description' => 'The amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of cold files'."\n", + ], + ], + ], + 'FreezeDataSize' => [ + 'description' => 'The amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of freeze files'."\n", + ], + ], + ], + 'TotalDataSize' => [ + 'description' => 'The total amount of data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total data size in megabytes (MB)'."\n", + ], + ], + ], + 'HotDataRatio' => [ + 'description' => 'The proportion of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Hot data ratio'."\n", + ], + ], + ], + 'WarmDataRatio' => [ + 'description' => 'The proportion of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of warm data'."\n", + ], + ], + ], + 'ColdDataRatio' => [ + 'description' => 'The proportion of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Cold data ratio'."\n", + ], + ], + ], + 'FreezeDataRatio' => [ + 'description' => 'The proportion of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.12', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of freeze data'."\n", + ], + ], + ], + 'TotalFileDayGrowthCount' => [ + 'description' => 'The daily increment of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '27800', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of total files'."\n", + ], + ], + ], + 'LargeFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileDayGrowthCount ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of large files'."\n", + ], + ], + ], + 'MediumFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileDayGrowthCount'."\n", + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '178', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of medium files'."\n", + ], + ], + ], + 'SmallFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of small files'."\n", + ], + ], + ], + 'TinyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'day growth count of tiny files'."\n", + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of tiny files'."\n", + ], + ], + ], + 'EmptyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of empty files'."\n", + ], + ], + ], + 'HotDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of hot data'."\n", + ], + ], + ], + 'WarmDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '-100', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of warm data'."\n", + ], + ], + ], + 'ColdDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of cold data'."\n", + ], + ], + ], + 'FreezeDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of freeze data'."\n", + ], + ], + ], + 'TotalDataDayGrowthSize' => [ + 'description' => 'The daily incremental of the amount of total data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of total data'."\n", + ], + ], + ], + 'TotalFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of total files'."\n", + ], + ], + ], + 'LargeFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of large files'."\n", + ], + ], + ], + 'MediumFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of medium files'."\n", + ], + ], + ], + 'SmallFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of small files'."\n", + ], + ], + ], + 'TinyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of tiny files'."\n", + ], + ], + ], + 'EmptyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of empty files'."\n", + ], + ], + ], + 'HotDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of hot data size'."\n", + ], + ], + ], + 'WarmDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataSizeDayGrowthRatio ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of warm data size'."\n", + ], + ], + ], + 'ColdDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of cold data size'."\n", + ], + ], + ], + 'FreezeDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataSizeDayGrowthRatio ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of freeze data size'."\n", + ], + ], + ], + 'TotalDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total data volume.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of total data size'."\n", + ], + ], + ], + ], + ], + 'Analysis' => [ + 'description' => 'The analysis results.'."\n", + 'type' => 'object', + 'properties' => [ + 'HiveFrequencyScore' => [ + 'description' => 'The score for the access frequency of the Hive cluster.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '80', + ], + 'HiveDistributionScore' => [ + 'description' => 'The score for the distribution of files of different sizes stored in the Hive cluster.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '80', + ], + 'HiveFormatScore' => [ + 'description' => 'The score for the distribution of files stored in different formats in the Hive cluster.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '80', + ], + 'HiveScore' => [ + 'description' => 'The overall score of the Hive cluster.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '80', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\\\n\\",\\n \\"FormatSize\\": 100,\\n \\"FormatSizeUnit\\": \\"MB\\",\\n \\"FormatRatio\\": 0.5\\n }\\n ],\\n \\"Metrics\\": {\\n \\"TableCount\\": {\\n \\"Name\\": \\"tableCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tables\\"\\n },\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"partitionNum\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of partitions\\"\\n },\\n \\"DatabaseCount\\": {\\n \\"Name\\": \\"databaseCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of databases\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of large files\\\\n\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of small files\\\\n\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of hot files\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of warm files\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of cold files\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of freeze files\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Hot data ratio\\\\n\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of warm data\\\\n\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Cold data ratio\\\\n\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.12,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of freeze data\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 27800,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\\\n\\",\\n \\"Value\\": 178,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"day growth count of tiny files\\\\n\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": -100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 80,\\n \\"HiveDistributionScore\\": 80,\\n \\"HiveFormatScore\\": 80,\\n \\"HiveScore\\": 80\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorHiveCluster', + 'summary' => 'Obtains the analysis results of a Hive cluster.', + ], + 'ListDoctorHiveTables' => [ + 'description' => 'list Doctor Hive Tables', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceQEA007', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The maximum number of entries to return on each page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '2023-01-01', + ], + ], + [ + 'name' => 'TableNames', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'description' => 'The table names, which are used to filter the query results.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The table name. The table name must follow the naming rule in Hive. A name in the {database name.table identifier} format uniquely identifies a table.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'dw.dwd_creta_service_order_long_renew_long_da'."\n", + ], + 'required' => false, + 'example' => 'null', + ], + ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The order in which you want to sort the query results. Valid value:'."\n" + ."\n" + .'* ASC: in ascending order'."\n" + .'* DESC: in descending order'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ASC', + ], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The basis on which you want to sort the query results. Valid values:'."\n" + ."\n" + .'* partitionNum: the number of partitions.'."\n" + .'* totalFileCount: the total number of files.'."\n" + .'* largeFileCount: the number of large files. Large files are those with a size greater than 1 GB.'."\n" + .'* mediumFileCount: the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n" + .'* smallFileCount: the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n" + .'* tinyFileCount: the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n" + .'* emptyFileCount: the number of empty files. Empty files are those with a size of 0 MB.'."\n" + .'* largeFileRatio: the proportion of large files. Large files are those with a size greater than 1 GB.'."\n" + .'* mediumFileRatio: the proportion of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n" + .'* smallFileRatio: the proportion of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n" + .'* tinyFileRatio: the proportion of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n" + .'* emptyFileRatio: the proportion of empty files. Empty files are those with a size of 0 MB.'."\n" + .'* hotDataSize: the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n" + .'* WarmDataSize: the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n" + .'* coldDataSize: the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n" + .'* freezeDataSize: the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n" + .'* totalDataSize: the total amount of data.'."\n" + .'* hotDataRatio: the proportion of hot data. Hot data refers to data that is accessed in previous seven days.'."\n" + .'* WarmDataRatio: the proportion of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n" + .'* coldDataRatio: the proportion of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n" + .'* freezeDataRatio: the proportion of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n" + .'* totalFileDayGrowthCount: the daily increment of the total number of files.'."\n" + .'* largeFileDayGrowthCount: the daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n" + .'* mediumFileDayGrowthCount: the daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n" + .'* smallFileDayGrowthCount: the daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n" + .'* tinyFileDayGrowthCount: the daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n" + .'* emptyFileDayGrowthCount: the daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n" + .'* hotDataDayGrowthSize: the daily increment of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n" + .'* warmDataDayGrowthSize: the daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n" + .'* coldDataDayGrowthSize: the daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n" + .'* freezeDataDayGrowthSize: the daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n" + .'* totalDataDayGrowthSize: the daily increment of the amount of total data.'."\n" + .'* totalFileCountDayGrowthRatio: the day-to-day growth rate of the total number of files.'."\n" + .'* largeFileCountDayGrowthRatio: the day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n" + .'* mediumFileCountDayGrowthRatio: the day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n" + .'* smallFileCountDayGrowthRatio: the day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n" + .'* tinyFileCountDayGrowthRatio: the day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n" + .'* emptyFileCountDayGrowthRatio: the day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n" + .'* hotDataSizeDayGrowthRatio: the day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n" + .'* warmDataSizeDayGrowthRatio: the day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n" + .'* coldDataSizeDayGrowthRatio: the day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n" + .'* freezeDataSizeDayGrowthRatio: the day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n" + .'* totalDataSizeDayGrowthRatio: the day-to-day growth rate of the total amount of data.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'totalFileCount', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The analysis results of Hive tables.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TableName' => [ + 'description' => 'The table name. The table name must follow the naming rule in Hive. A name in the {Database name.Table name} format uniquely identifies a table.'."\n", + 'type' => 'string', + 'example' => 'dw.dwd_creta_service_order_long_renew_long_da'."\n", + ], + 'Owner' => [ + 'description' => 'The owner.'."\n", + 'type' => 'string', + 'example' => 'DW', + ], + 'Formats' => [ + 'description' => 'The table format information.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FormatName' => [ + 'description' => 'The name of the storage format.'."\n", + 'type' => 'string', + 'example' => 'TextInputFormat', + ], + 'FormatSize' => [ + 'description' => 'The amount of data in the format.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '506930200', + ], + 'FormatSizeUnit' => [ + 'description' => 'The unit of the amount of data in the format.'."\n", + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'FormatRatio' => [ + 'description' => 'The proportion of the data in the format.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.23', + ], + 'FormatDayGrowthSize' => [ + 'description' => 'The daily increment of data in the format.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1232124', + ], + 'FormatSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of data in the format.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.04'."\n", + ], + ], + ], + ], + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'PartitionNum' => [ + 'description' => 'The number of partitions.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'partitionNum', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '331', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'number of partitions'."\n", + ], + ], + ], + 'LargeFileCount' => [ + 'description' => 'The number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '132', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of large files'."\n", + ], + ], + ], + 'MediumFileCount' => [ + 'description' => 'The number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of medium files', + ], + ], + ], + 'SmallFileCount' => [ + 'description' => 'The number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '18'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '"“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of small files'."\n", + ], + ], + ], + 'TinyFileCount' => [ + 'description' => 'The number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '451'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of tiny files'."\n", + ], + ], + ], + 'EmptyFileCount' => [ + 'description' => 'The number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3123', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of empty files'."\n", + ], + ], + ], + 'TotalFileCount' => [ + 'description' => 'The total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of total files'."\n", + ], + ], + ], + 'LargeFileRatio' => [ + 'description' => 'The proportion of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.02'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of large files'."\n", + ], + ], + ], + 'MediumFileRatio' => [ + 'description' => 'The proportion of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.8'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of medium files'."\n", + ], + ], + ], + 'SmallFileRatio' => [ + 'description' => 'The proportion of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.04'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of small files'."\n", + ], + ], + ], + 'TinyFileRatio' => [ + 'description' => 'The proportion of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.96'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of tiny files'."\n", + ], + ], + ], + 'EmptyFileRatio' => [ + 'description' => 'The proportion of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of empty files'."\n", + ], + ], + ], + 'HotDataSize' => [ + 'description' => 'The amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '203431', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the hot data size'."\n", + ], + ], + ], + 'WarmDataSize' => [ + 'description' => 'The amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '14981'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the warm data size'."\n", + ], + ], + ], + 'ColdDataSize' => [ + 'description' => 'The amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '217715', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the cold data size'."\n", + ], + ], + ], + 'FreezeDataSize' => [ + 'description' => 'The amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '33229309'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the freeze data size', + ], + ], + ], + 'TotalDataSize' => [ + 'description' => 'The total amount of data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '33800296', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total data size in megabytes (MB)'."\n", + ], + ], + ], + 'HotDataRatio' => [ + 'description' => 'The proportion of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Hot data ratio'."\n", + ], + ], + ], + 'WarmDataRatio' => [ + 'description' => 'The proportion of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.1'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of warm data'."\n", + ], + ], + ], + 'ColdDataRatio' => [ + 'description' => 'The proportion of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => ' '."\n" + .'""'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Cold data ratio'."\n", + ], + ], + ], + 'FreezeDataRatio' => [ + 'description' => 'The proportion of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.98'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of freeze data'."\n", + ], + ], + ], + 'TotalFileDayGrowthCount' => [ + 'description' => 'The daily increment of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of total files'."\n", + ], + ], + ], + 'LargeFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '40'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of large files'."\n", + ], + ], + ], + 'MediumFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '20', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of medium files'."\n", + ], + ], + ], + 'SmallFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '18'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of small files'."\n", + ], + ], + ], + 'TinyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '482'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of tiny files'."\n", + ], + ], + ], + 'EmptyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '-20'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of empty files'."\n", + ], + ], + ], + 'HotDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '203431', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of hot data'."\n", + ], + ], + ], + 'WarmDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '149841', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of warm data'."\n", + ], + ], + ], + 'ColdDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '217715', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of cold data'."\n", + ], + ], + ], + 'FreezeDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '33229309', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of freeze data'."\n", + ], + ], + ], + 'TotalDataDayGrowthSize' => [ + 'description' => 'The daily increment of the total amount of data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '33800296', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of total data'."\n", + ], + ], + ], + 'TotalFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of total files'."\n", + ], + ], + ], + 'LargeFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of large files'."\n", + ], + ], + ], + 'MediumFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of medium files'."\n", + ], + ], + ], + 'SmallFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of small files'."\n", + ], + ], + ], + 'TinyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.04'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of tiny files', + ], + ], + ], + 'EmptyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of empty files'."\n", + ], + ], + ], + 'HotDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of hot data size'."\n", + ], + ], + ], + 'WarmDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of warm data size'."\n", + ], + ], + ], + 'ColdDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of cold data size'."\n", + ], + ], + ], + 'FreezeDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of freeze data size'."\n", + ], + ], + ], + 'TotalDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total amount of data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of total data size'."\n", + ], + ], + ], + ], + ], + 'Analysis' => [ + 'description' => 'The analysis results.'."\n", + 'type' => 'object', + 'properties' => [ + 'HiveFrequencyScore' => [ + 'description' => 'The score for the access frequency of the Hive table.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '70'."\n", + ], + 'HiveDistributionScore' => [ + 'description' => 'The score for the file sizes of the Hive table.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '80'."\n", + ], + 'HiveFormatScore' => [ + 'description' => 'The score for the data formats of the Hive table.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '60'."\n", + ], + 'HiveScore' => [ + 'description' => 'The overall score of the Hive table.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '80'."\n", + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'A pagination token.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The maximum number of entries that are returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"TableName\\": \\"dw.dwd_creta_service_order_long_renew_long_da\\\\n\\",\\n \\"Owner\\": \\"DW\\",\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\",\\n \\"FormatSize\\": 506930200,\\n \\"FormatSizeUnit\\": \\"MB\\\\n\\",\\n \\"FormatRatio\\": 0.23,\\n \\"FormatDayGrowthSize\\": 1232124,\\n \\"FormatSizeDayGrowthRatio\\": 0.04\\n }\\n ],\\n \\"Metrics\\": {\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"partitionNum\\",\\n \\"Value\\": 331,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"number of partitions\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 132,\\n \\"Unit\\": \\"“”\\\\n\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 5,\\n \\"Unit\\": \\"“”\\\\n\\",\\n \\"Description\\": \\"Number of medium files\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 18,\\n \\"Unit\\": \\"\\\\\\"“\\\\n\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 451,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 3123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Ratio of large files\\\\n\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.04,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Ratio of small files\\\\n\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.96,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 203431,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the hot data size\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 14981,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the warm data size\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 217715,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the cold data size\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 33229309,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 33800296,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Hot data ratio\\\\n\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Ratio of warm data\\\\n\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\t\\\\n\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Cold data ratio\\\\n\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.98,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Ratio of freeze data\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 40,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 20,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 18,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": 482,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": -20,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 203431,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": 149841,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": 217715,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": 33229309,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 33800296,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.04,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 70,\\n \\"HiveDistributionScore\\": 80,\\n \\"HiveFormatScore\\": 60,\\n \\"HiveScore\\": 80\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorHiveTables', + 'summary' => 'Obtains the analysis results of multiple Hive tables at a time on E-MapReduce (EMR) Doctor.', + ], + 'GetDoctorHiveTable' => [ + 'description' => 'get Doctor Hive Table', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceQEA007', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '2023-01-01', + ], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The table name. The table name must follow the rule in Hive. A name in the {database name.table identifier} format uniquely identifies a table.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'dw.dwd_creta_service_order_long_renew_long_da', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The analysis results of the Hive table.'."\n", + 'type' => 'object', + 'properties' => [ + 'Formats' => [ + 'description' => 'The information from the perspective of formats.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FormatName' => [ + 'description' => 'The name of the storage format.'."\n", + 'type' => 'string', + 'example' => 'TextInputFormat', + ], + 'FormatSize' => [ + 'description' => 'The size of storage format-specific data.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '506930200', + ], + 'FormatSizeUnit' => [ + 'description' => 'The unit of the data size.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'FormatRatio' => [ + 'description' => 'The ratio of the data in a specific storage format.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.23', + ], + 'FormatDayGrowthSize' => [ + 'description' => 'The daily amount increment of the data in a specific storage format.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1232124', + ], + 'FormatSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of the data in a specific storage format.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.04', + ], + ], + ], + ], + 'Owner' => [ + 'description' => 'The owner.'."\n", + 'type' => 'string', + 'example' => 'DW', + ], + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'PartitionNum' => [ + 'description' => 'The number of partitions.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'partitionNum', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '441', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'number of partitions', + ], + ], + ], + 'LargeFileCount' => [ + 'description' => 'The number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of large files', + ], + ], + ], + 'MediumFileCount' => [ + 'description' => 'The number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of medium files', + ], + ], + ], + 'SmallFileCount' => [ + 'description' => 'The number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '18', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '"“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of small files', + ], + ], + ], + 'TinyFileCount' => [ + 'description' => 'The number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '451', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of tiny files', + ], + ], + ], + 'EmptyFileCount' => [ + 'description' => 'The number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3123', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of empty files', + ], + ], + ], + 'TotalFileCount' => [ + 'description' => 'The total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of total files', + ], + ], + ], + 'LargeFileRatio' => [ + 'description' => 'The proportion of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.02', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of large files', + ], + ], + ], + 'MediumFileRatio' => [ + 'description' => 'The proportion of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.80', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of medium files', + ], + ], + ], + 'SmallFileRatio' => [ + 'description' => 'The proportion of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.04', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of small files', + ], + ], + ], + 'TinyFileRatio' => [ + 'description' => 'The proportion of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.96', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of tiny files', + ], + ], + ], + 'EmptyFileRatio' => [ + 'description' => 'The proportion of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of empty files', + ], + ], + ], + 'HotDataSize' => [ + 'description' => 'The amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '203431', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the hot data size', + ], + ], + ], + 'WarmDataSize' => [ + 'description' => 'The amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '14981', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the warm data size', + ], + ], + ], + 'ColdDataSize' => [ + 'description' => 'The amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '217715', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the cold data size', + ], + ], + ], + 'FreezeDataSize' => [ + 'description' => 'The amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '33229309', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the freeze data size', + ], + ], + ], + 'TotalDataSize' => [ + 'description' => 'The total amount of data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '33800296', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total data size in megabytes (MB)', + ], + ], + ], + 'HotDataRatio' => [ + 'description' => 'The proportion of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Hot data ratio', + ], + ], + ], + 'WarmDataRatio' => [ + 'description' => 'The proportion of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.1', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of warm data', + ], + ], + ], + 'ColdDataRatio' => [ + 'description' => 'The proportion of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Cold data ratio', + ], + ], + ], + 'FreezeDataRatio' => [ + 'description' => 'The proportion of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.98', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of freeze data', + ], + ], + ], + 'TotalFileDayGrowthCount' => [ + 'description' => 'The daily increment of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of total files', + ], + ], + ], + 'LargeFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '40', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of large files', + ], + ], + ], + 'MediumFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '20', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of medium files', + ], + ], + ], + 'SmallFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '18', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of small files', + ], + ], + ], + 'TinyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '482', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of tiny files', + ], + ], + ], + 'EmptyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '-20', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of empty files', + ], + ], + ], + 'HotDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '203431', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of hot data', + ], + ], + ], + 'WarmDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '149841', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of warm data', + ], + ], + ], + 'ColdDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '217715', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of cold data', + ], + ], + ], + 'FreezeDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '33229309', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of freeze data', + ], + ], + ], + 'TotalDataDayGrowthSize' => [ + 'description' => 'The daily incremental of the total data volume.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '33800296', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of total data', + ], + ], + ], + 'TotalFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of total files', + ], + ], + ], + 'LargeFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of large files', + ], + ], + ], + 'MediumFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of medium files', + ], + ], + ], + 'SmallFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of small files', + ], + ], + ], + 'TinyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.04', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of tiny files', + ], + ], + ], + 'EmptyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of empty files', + ], + ], + ], + 'HotDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of hot data size', + ], + ], + ], + 'WarmDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of warm data size', + ], + ], + ], + 'ColdDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of cold data size', + ], + ], + ], + 'FreezeDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of freeze data size', + ], + ], + ], + 'TotalDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total data volume.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of total data size', + ], + ], + ], + ], + ], + 'Analysis' => [ + 'description' => 'The analysis results.'."\n", + 'type' => 'object', + 'properties' => [ + 'HiveFrequencyScore' => [ + 'description' => 'The score for the access frequency of the Hive table.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '70', + ], + 'HiveDistributionScore' => [ + 'description' => 'The score for the distribution of files of different sizes stored in the Hive table.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '80', + ], + 'HiveFormatScore' => [ + 'description' => 'The score for the distribution of files stored in different formats in the Hive table.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '60', + ], + 'HiveScore' => [ + 'description' => 'The overall score of the Hive table.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '80', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\",\\n \\"FormatSize\\": 506930200,\\n \\"FormatSizeUnit\\": \\"MB\\",\\n \\"FormatRatio\\": 0.23,\\n \\"FormatDayGrowthSize\\": 1232124,\\n \\"FormatSizeDayGrowthRatio\\": 0.04\\n }\\n ],\\n \\"Owner\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"partitionNum\\",\\n \\"Value\\": 441,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"number of partitions\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of large files\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 5,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of medium files\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 18,\\n \\"Unit\\": \\"\\\\\\"“\\",\\n \\"Description\\": \\"Number of small files\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 451,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of tiny files\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 3123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of empty files\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of total files\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of large files\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of medium files\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.04,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of small files\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.96,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of tiny files\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 203431,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 14981,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 217715,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 33229309,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 33800296,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Hot data ratio\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of warm data\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Cold data ratio\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.98,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of freeze data\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 40,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of large files\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 20,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of medium files\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 18,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of small files\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": 482,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of tiny files\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": -20,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of empty files\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 203431,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of hot data\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": 149841,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": 217715,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": 33229309,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of freeze data\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 33800296,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total files\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of large files\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of small files\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.04,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 70,\\n \\"HiveDistributionScore\\": 80,\\n \\"HiveFormatScore\\": 60,\\n \\"HiveScore\\": 80\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorHiveTable', + 'summary' => 'Obtains the analysis results of a specific Hive table in a cluster on E-MapReduce (EMR) Doctor.', + ], + 'ListDoctorHDFSUGI' => [ + 'description' => 'list Doctor HDFS UGIs', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceQEA007', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The maximum number of entries to return on each page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '2023-01-01', + ], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The filter condition. Valid values:'."\n" + ."\n" + .'* user'."\n" + .'* group'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'group', + ], + ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The order in which you want to sort the query results. Valid values:'."\n" + ."\n" + .'* ASC: in ascending order'."\n" + .'* DESC: in descending order'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ASC', + ], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The basis on which you want to sort the query results. Valid values:'."\n" + ."\n" + .'* totalFileCount: the total number of files'."\n" + .'* totalDataSize: the total data size'."\n" + .'* totalDirCount: the total number of directories'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'totalFileCount', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The results of batch HDFS analysis.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The actual name of the owner or group returned based on the value of Type.'."\n", + 'type' => 'string', + 'example' => 'DW', + ], + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'TotalFileCount' => [ + 'description' => 'The total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '34'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of total files'."\n", + ], + ], + ], + 'TotalDataSize' => [ + 'description' => 'The total data size.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '40440503', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total data size in megabytes (MB)', + ], + ], + ], + 'TotalDirCount' => [ + 'description' => 'The total number of directories.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDirCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of total dirs'."\n", + ], + ], + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'A pagination token.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The maximum number of entries that are returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Name\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 34,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 40440503,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\"\\n },\\n \\"TotalDirCount\\": {\\n \\"Name\\": \\"totalDirCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of total dirs\\\\n\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorHDFSUGI', + 'summary' => 'Obtains the analysis results of Hadoop Distributed File System (HDFS) storage resources for multiple owners or groups at a time on E-MapReduce (EMR) Doctor.', + ], + 'ListDoctorHBaseTables' => [ + 'description' => 'list Doctor HBaseTables', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceQEA007', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The ID of the region.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The ID of the cluster.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'Marks the current position to start reading. If this field is empty, the data is read from the beginning.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The maximum number of entries that are returned.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The query date.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '2023-01-01', + ], + ], + [ + 'name' => 'TableNames', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'description' => 'The table names, which are used to filter the query results.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The table names.', + 'type' => 'string', + 'required' => false, + 'example' => 'namespace1:tb_item'."\n", + ], + 'required' => false, + 'example' => 'null', + ], + ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The order in which you want to sort the query results. Valid value:'."\n" + ."\n" + .'* ASC: in ascending order'."\n" + .'* DESC: in descending order'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ASC', + ], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The field that you use to sort the query results.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* tableSize', + 'type' => 'string', + 'required' => false, + 'example' => 'tableSize', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The data returned.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TableName' => [ + 'description' => 'The name of the table.'."\n", + 'type' => 'string', + 'example' => 'tb_item', + ], + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'RegionServerCount' => [ + 'description' => 'The number of region servers that host the table.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'regionServerCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of region servers count', + ], + ], + ], + 'RegionCount' => [ + 'description' => 'The number of regions that host the table.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'regionCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of regions count', + ], + ], + ], + 'TableSize' => [ + 'description' => 'The size of the table.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tableSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '678', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the table', + ], + ], + ], + 'StoreFileCount' => [ + 'description' => 'The number of StoreFiles.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'storeFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '36', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of store files', + ], + ], + ], + 'DailyReadRequest' => [ + 'description' => 'The total number of read requests for the table in a day.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'dailyReadRequest', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of read requests per day', + ], + ], + ], + 'DailyWriteRequest' => [ + 'description' => 'The total number of write requests for the table in a day.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'dailyWriteRequest', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of write requests per day', + ], + ], + ], + 'RegionBalance' => [ + 'description' => 'The balancing degree.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'regionBalance', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '1.0', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'The ability to evenly distribute Regions on different RegionServer nodes', + ], + ], + ], + 'RequestBalance' => [ + 'description' => 'The request balancing degree.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'requestBalance', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.9', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'The balance of distributing requests', + ], + ], + ], + 'HotDataSize' => [ + 'description' => 'The size of hot data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the hot data size', + ], + ], + ], + 'WarmDataSize' => [ + 'description' => 'The size of warm data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the warm data size', + ], + ], + ], + 'ColdDataSize' => [ + 'description' => 'The size of cold data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the cold data size', + ], + ], + ], + 'FreezeDataSize' => [ + 'description' => 'The size of very cold data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the freeze data size', + ], + ], + ], + 'WarmConfigDay' => [ + 'description' => 'The number of consecutive days without access to data before the data is considered as cold data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmConfigDay', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'day', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Warm config day', + ], + ], + ], + 'ColdConfigDay' => [ + 'description' => 'The number of consecutive days without access to data before the data is considered as very cold data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldConfigDay', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'day', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Cold config day', + ], + ], + ], + 'FreezeConfigDay' => [ + 'description' => 'The number of consecutive days without access to data before the data was considered as very cold data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeConfigDay', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'day', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Freeze config day', + ], + ], + ], + 'Locality' => [ + 'description' => 'The localization rate.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'locality', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'The locality of data', + ], + ], + ], + 'ColdAccessDay' => [ + 'description' => 'The number of days during which the table was not accessed.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldAccessDay', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'day', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Cold access day', + ], + ], + ], + 'RegionCountDayGrowthRatio' => [ + 'description' => 'The daily increment ratio of the number of regions.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'regionCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '1.0', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of region count', + ], + ], + ], + 'TableSizeDayGrowthRatio' => [ + 'description' => 'The daily increment ratio of the table size.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tableSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '1.0', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '\'"', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of table size', + ], + ], + ], + 'StoreFileCountDayGrowthRatio' => [ + 'description' => 'The daily increment ratio of the number of StoreFiles.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'storeFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.7', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of store file count', + ], + ], + ], + 'DailyReadRequestDayGrowthRatio' => [ + 'description' => 'The daily increment ratio of the number of read requests in a day.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'dailyReadRequestDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.8', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of read requests', + ], + ], + ], + 'DailyWriteRequestDayGrowthRatio' => [ + 'description' => 'The daily increment ratio of the number of write requests in a day.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'dailyWriteRequestDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.8', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'The balance of distributing requests', + ], + ], + ], + 'ReadRequestBalance' => [ + 'description' => 'The read balancing degree.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'readRequestBalance', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '1.0', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'The balance of distributing read requests', + ], + ], + ], + 'WriteRequestBalance' => [ + 'description' => 'The write balancing degree.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'writeRequestBalance', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '1.0', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'The balance of distributing write requests', + ], + ], + ], + ], + ], + 'Analysis' => [ + 'description' => 'The diagnosis result.'."\n", + 'type' => 'object', + 'properties' => [ + 'TableScore' => [ + 'description' => 'The score of the table.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '67', + ], + 'RequestUnbalanceSuggestion' => [ + 'description' => 'The description of read/write imbalance.'."\n", + 'type' => 'string', + 'example' => 'read request unbalance is <p class=\'report-detail-topic\'>', + ], + 'RequestHotspotRegionList' => [ + 'description' => 'The regions that have read/write hotspot issues.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The region that has read/write hotspot issues.'."\n", + 'type' => 'string', + 'example' => '5f019e8cf7c16be9768634cb99ccbe05', + ], + 'example' => 'null', + ], + 'ReadRequestUnbalanceSuggestion' => [ + 'description' => 'The description of read imbalance.'."\n", + 'type' => 'string', + 'example' => 'read request unbalance is <p class=\'report-detail-topic\'>', + ], + 'ReadRequestHotspotRegionList' => [ + 'description' => 'The regions that have read hotspot issues.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The region that has read hotspot issues.'."\n", + 'type' => 'string', + 'example' => '5f019e8cf7c16be9768634cb99ccbe05', + ], + 'example' => 'null', + ], + 'WriteRequestUnbalanceSuggestion' => [ + 'description' => 'The description of write imbalance.'."\n", + 'type' => 'string', + 'example' => 'write request unbalance is <p class=\'report-detail-topic\'>', + ], + 'WriteRequestHotspotRegionList' => [ + 'description' => 'The regions that have write hotspot issues.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The region that has write hotspot issues.'."\n", + 'type' => 'string', + 'example' => '5f019e8cf7c16be9768634cb99ccbe05', + ], + 'example' => 'null', + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'The page number of the next page returned.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The maximum number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"TableName\\": \\"tb_item\\",\\n \\"Metrics\\": {\\n \\"RegionServerCount\\": {\\n \\"Name\\": \\"regionServerCount\\",\\n \\"Value\\": 2,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of region servers count\\"\\n },\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 3,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"TableSize\\": {\\n \\"Name\\": \\"tableSize\\",\\n \\"Value\\": 678,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the table\\"\\n },\\n \\"StoreFileCount\\": {\\n \\"Name\\": \\"storeFileCount\\",\\n \\"Value\\": 36,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of store files\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of read requests per day\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n },\\n \\"RegionBalance\\": {\\n \\"Name\\": \\"regionBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"The ability to evenly distribute Regions on different RegionServer nodes\\"\\n },\\n \\"RequestBalance\\": {\\n \\"Name\\": \\"requestBalance\\",\\n \\"Value\\": 0.9,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"The balance of distributing requests\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"WarmConfigDay\\": {\\n \\"Name\\": \\"warmConfigDay\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Warm config day\\"\\n },\\n \\"ColdConfigDay\\": {\\n \\"Name\\": \\"coldConfigDay\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Cold config day\\"\\n },\\n \\"FreezeConfigDay\\": {\\n \\"Name\\": \\"freezeConfigDay\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Freeze config day\\"\\n },\\n \\"Locality\\": {\\n \\"Name\\": \\"locality\\",\\n \\"Value\\": 0,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The locality of data\\"\\n },\\n \\"ColdAccessDay\\": {\\n \\"Name\\": \\"coldAccessDay\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Cold access day\\"\\n },\\n \\"RegionCountDayGrowthRatio\\": {\\n \\"Name\\": \\"regionCountDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of region count\\"\\n },\\n \\"TableSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"tableSizeDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\'\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of table size\\"\\n },\\n \\"StoreFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"storeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.7,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of store file count\\"\\n },\\n \\"DailyReadRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyReadRequestDayGrowthRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of read requests\\"\\n },\\n \\"DailyWriteRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyWriteRequestDayGrowthRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing requests\\"\\n },\\n \\"ReadRequestBalance\\": {\\n \\"Name\\": \\"readRequestBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing read requests\\"\\n },\\n \\"WriteRequestBalance\\": {\\n \\"Name\\": \\"writeRequestBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing write requests\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"TableScore\\": 67,\\n \\"RequestUnbalanceSuggestion\\": \\"ead request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均读请求数量为764361,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 读请求数量: 1543919</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 读请求数量: 1512817</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 读请求数量: 1504293</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"RequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"ReadRequestUnbalanceSuggestion\\": \\"ead request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均读请求数量为764361,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 读请求数量: 1543919</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 读请求数量: 1512817</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 读请求数量: 1504293</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"ReadRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"WriteRequestUnbalanceSuggestion\\": \\"write request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均写请求数量为786142,以下分区存在写请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 写请求数量: 1588305</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 写请求数量: 1556984</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 写请求数量: 1548764</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"WriteRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ]\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorHBaseTables', + 'summary' => 'Obtains the information about multiple HBase tables at a time.', + ], + 'ListDoctorHBaseRegionServers' => [ + 'description' => 'list Doctor HBaseRegionServers', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceQEA007', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The maximum number of entries to return on each page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The query date.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '2023-01-01', + ], + ], + [ + 'name' => 'RegionServerHosts', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'description' => 'The RegionServer hosts.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The RegionServer host.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'emr-worker-4.cluster-20****', + ], + 'required' => false, + 'example' => 'null', + ], + ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The order in which you want to sort the query results. Valid value:'."\n" + ."\n" + .'* ASC: in ascending order'."\n" + .'* DESC: in descending order'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ASC', + ], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The field that you use to sort the query results. Valid value:'."\n" + ."\n" + .'* regionCount: the number of regions.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'regionCount', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The returned data.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RegionServerHost' => [ + 'description' => 'The RegionServer host.'."\n", + 'type' => 'string', + 'example' => 'emr-worker-4.cluster-20****', + ], + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'RegionCount' => [ + 'description' => 'The number of regions.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'regionCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '81', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of regions count', + ], + ], + ], + 'TotalReadRequest' => [ + 'description' => 'The cumulative number of read requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalReadRequest', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '170500567', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total number of read requests', + ], + ], + ], + 'TotalWriteRequest' => [ + 'description' => 'The cumulative number of write requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalWriteRequest', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '30109837', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total number of write requests', + ], + ], + ], + 'TotalRequest' => [ + 'description' => 'The cumulative number of all requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalRequest', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '89499511', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total number of requests', + ], + ], + ], + 'DailyReadRequest' => [ + 'description' => 'The number of daily read requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'dailyReadRequest', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '42571', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of read requests per day', + ], + ], + ], + 'DailyWriteRequest' => [ + 'description' => 'The number of daily write requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'dailyWriteRequest', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '23124', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of write requests per day', + ], + ], + ], + 'AvgGc' => [ + 'description' => 'The average garbage collection (GC) duration.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'avgGc', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '37.9', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'The efficiency of garbage collection in the system', + ], + ], + ], + 'CacheRatio' => [ + 'description' => 'The cache hit ratio.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'cacheRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '96.7', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of the BlockCache memory size', + ], + ], + ], + 'DailyReadRequestDayGrowthRatio' => [ + 'description' => 'The growth rate of the number of daily read requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'dailyReadRequestDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '1.0', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'The growth rate of daily read request quantity.', + ], + ], + ], + 'DailyWriteRequestDayGrowthRatio' => [ + 'description' => 'The growth rate of the number of daily write requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'dailyWriteRequestDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '1.0', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'The growth rate of daily write request quantity.', + ], + ], + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'A pagination token.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The maximum number of entries that are returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"RegionServerHost\\": \\"emr-worker-4.cluster-20****\\",\\n \\"Metrics\\": {\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 81,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"TotalReadRequest\\": {\\n \\"Name\\": \\"totalReadRequest\\",\\n \\"Value\\": 170500567,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of read requests\\"\\n },\\n \\"TotalWriteRequest\\": {\\n \\"Name\\": \\"totalWriteRequest\\",\\n \\"Value\\": 30109837,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of write requests\\"\\n },\\n \\"TotalRequest\\": {\\n \\"Name\\": \\"totalRequest\\",\\n \\"Value\\": 89499511,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of requests\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 42571,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of read requests per day\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 23124,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n },\\n \\"AvgGc\\": {\\n \\"Name\\": \\"avgGc\\",\\n \\"Value\\": 37.9,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The efficiency of garbage collection in the system\\"\\n },\\n \\"CacheRatio\\": {\\n \\"Name\\": \\"cacheRatio\\",\\n \\"Value\\": 96.7,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of the BlockCache memory size\\"\\n },\\n \\"DailyReadRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyReadRequestDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The growth rate of daily read request quantity.\\"\\n },\\n \\"DailyWriteRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyWriteRequestDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The growth rate of daily write request quantity.\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorHBaseRegionServers', + 'summary' => 'Obtains the information about multiple HBase RegionServers at a time.', + ], + 'GetDoctorHBaseTable' => [ + 'description' => 'get Doctor HBaseTable', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceQEA007', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'Region ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'Cluster ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'Date.', + 'type' => 'string', + 'required' => true, + 'example' => '2023-01-01', + ], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'Table name.', + 'type' => 'string', + 'required' => true, + 'example' => 'namespace1:tb_item', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'Returned data', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'Returned data.', + 'type' => 'object', + 'properties' => [ + 'Metrics' => [ + 'description' => 'Metrics information.', + 'type' => 'object', + 'properties' => [ + 'RegionServerCount' => [ + 'description' => 'Number of RegionServers.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Metric name.', + 'type' => 'string', + 'example' => 'regionServerCount', + ], + 'Value' => [ + 'description' => 'Usage.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'Unit' => [ + 'description' => 'Metric unit.', + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'Metric description.', + 'type' => 'string', + 'example' => 'Number of region servers count', + ], + ], + ], + 'RegionCount' => [ + 'description' => 'Number of regions.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Metric name.', + 'type' => 'string', + 'example' => 'regionCount', + ], + 'Value' => [ + 'description' => 'Metric value.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'Unit' => [ + 'description' => 'Metric unit.', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Metric description.', + 'type' => 'string', + 'example' => 'Number of regions count', + ], + ], + ], + 'TableSize' => [ + 'description' => 'Table size.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Metric name.', + 'type' => 'string', + 'example' => 'tableSize', + ], + 'Value' => [ + 'description' => 'Metric value.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => 'tb_item', + ], + 'Unit' => [ + 'description' => 'Unit of the metric', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Description of the metric.', + 'type' => 'string', + 'example' => 'Size of the table', + ], + ], + ], + 'StoreFileCount' => [ + 'description' => 'Number of store files.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Name of the metric.', + 'type' => 'string', + 'example' => 'storeFileCount', + ], + 'Value' => [ + 'description' => 'Value of the metric.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'Unit of the metric.', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Description of the metric.', + 'type' => 'string', + 'example' => 'Number of store files', + ], + ], + ], + 'DailyReadRequest' => [ + 'description' => 'Number of read requests per day.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Name of the item.', + 'type' => 'string', + 'example' => 'dailyReadRequest', + ], + 'Value' => [ + 'description' => 'Value of the metric.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'Unit of the metric.', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Description of the metric.', + 'type' => 'string', + 'example' => 'test-update', + ], + ], + ], + 'DailyWriteRequest' => [ + 'description' => 'Number of write requests per day.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Name of the metric.', + 'type' => 'string', + 'example' => 'dailyWriteRequest', + ], + 'Value' => [ + 'description' => 'Value of the metric.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'Unit of the metric.', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Description of the metric.', + 'type' => 'string', + 'example' => 'Number of write requests per day', + ], + ], + ], + 'RegionBalance' => [ + 'description' => 'Region balance.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Metric name.', + 'type' => 'string', + 'example' => 'regionBalance', + ], + 'Value' => [ + 'description' => 'The metric value.', + 'type' => 'number', + 'format' => 'float', + 'example' => '1.0', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Description of the metric.', + 'type' => 'string', + 'example' => 'The ability to evenly distribute Regions on different RegionServer nodes', + ], + ], + ], + 'RequestBalance' => [ + 'description' => 'Request balance.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Name of the metric.', + 'type' => 'string', + 'example' => 'requestBalance', + ], + 'Value' => [ + 'description' => 'The metric value.', + 'type' => 'number', + 'format' => 'float', + 'example' => '1.0', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Description of the metric.', + 'type' => 'string', + 'example' => 'The balance of distributing requests', + ], + ], + ], + 'HotDataSize' => [ + 'description' => 'Hot data size.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Name of the metric.', + 'type' => 'string', + 'example' => 'hotDataSize', + ], + 'Value' => [ + 'description' => 'The metric value.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.', + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'Description of the metric.', + 'type' => 'string', + 'example' => 'Size of the hot data size', + ], + ], + ], + 'WarmDataSize' => [ + 'description' => 'Warm data size.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Name of the metric.', + 'type' => 'string', + 'example' => 'warmDataSize', + ], + 'Value' => [ + 'description' => 'Usage rate.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.', + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'Description of the metric.', + 'type' => 'string', + 'example' => 'Size of the warm data size'."\n", + ], + ], + ], + 'ColdDataSize' => [ + 'description' => 'Cold data size.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Metric name.', + 'type' => 'string', + 'example' => 'coldDataSize', + ], + 'Value' => [ + 'description' => 'Metric value.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'Metric unit.', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Metric description.', + 'type' => 'string', + 'example' => 'Size of the cold data size', + ], + ], + ], + 'FreezeDataSize' => [ + 'description' => 'Frozen data size.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Metric name.', + 'type' => 'string', + 'example' => 'freezeDataSize', + ], + 'Value' => [ + 'description' => 'Metric value.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'Metric unit.', + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'Metric description.', + 'type' => 'string', + 'example' => 'Size of the freeze data size', + ], + ], + ], + 'WarmConfigDay' => [ + 'description' => 'Warm data access days configuration.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Metric name.', + 'type' => 'string', + 'example' => 'warmConfigDay', + ], + 'Value' => [ + 'description' => 'Metric value.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'Metric unit.', + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'Metric description.', + 'type' => 'string', + 'example' => 'Size of the warm data size', + ], + ], + ], + 'ColdConfigDay' => [ + 'description' => 'Cold data access days configuration.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Metric name.', + 'type' => 'string', + 'example' => 'coldConfigDay', + ], + 'Value' => [ + 'description' => 'Metric value.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'Unit' => [ + 'description' => 'Unit of the metric.', + 'type' => 'string', + 'example' => 'day', + ], + 'Description' => [ + 'description' => 'Description of the metric.', + 'type' => 'string', + 'example' => 'Cold config day', + ], + ], + ], + 'FreezeConfigDay' => [ + 'description' => 'Configuration for the number of days cold data is accessed.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Name of the metric.', + 'type' => 'string', + 'example' => 'freezeConfigDay', + ], + 'Value' => [ + 'description' => 'Value of the metric.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'Unit' => [ + 'description' => 'Unit of the metric.', + 'type' => 'string', + 'example' => 'day', + ], + 'Description' => [ + 'description' => 'Description of the metric.', + 'type' => 'string', + 'example' => 'Freeze config day'."\n", + ], + ], + ], + 'Locality' => [ + 'description' => 'Locality rate.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Name of the metric.', + 'type' => 'string', + 'example' => 'locality', + ], + 'Value' => [ + 'description' => 'Value of the metric.', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'Unit of the metric.', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Description of the metric.', + 'type' => 'string', + 'example' => 'The locality of data', + ], + ], + ], + 'ColdAccessDay' => [ + 'description' => 'Number of days the table has not been accessed.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Name of the metric.', + 'type' => 'string', + 'example' => 'coldAccessDay', + ], + 'Value' => [ + 'description' => 'Value of the metric.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3', + ], + 'Unit' => [ + 'description' => 'Unit of the metric.', + 'type' => 'string', + 'example' => 'day', + ], + 'Description' => [ + 'description' => 'Description of the metric.', + 'type' => 'string', + 'example' => 'Cold access day', + ], + ], + ], + 'RegionCountDayGrowthRatio' => [ + 'description' => 'Daily incremental ratio of regions', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Metric name.', + 'type' => 'string', + 'example' => 'regionCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'Metric value.', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.8', + ], + 'Unit' => [ + 'description' => 'Metric unit.', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Metric description.', + 'type' => 'string', + 'example' => 'Day growth ratio of region count', + ], + ], + ], + 'TableSizeDayGrowthRatio' => [ + 'description' => 'Daily growth ratio of table size.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Metric name.', + 'type' => 'string', + 'example' => 'tableSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'Metric value.', + 'type' => 'number', + 'format' => 'float', + 'example' => '1.5', + ], + 'Unit' => [ + 'description' => 'Metric unit.', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Metric description.', + 'type' => 'string', + 'example' => 'Day growth ratio of table size', + ], + ], + ], + 'StoreFileCountDayGrowthRatio' => [ + 'description' => 'Daily growth ratio of store file count.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Metric name.', + 'type' => 'string', + 'example' => 'storeFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'Metric value.', + 'type' => 'number', + 'format' => 'float', + 'example' => '1.5', + ], + 'Unit' => [ + 'description' => 'Metric unit.', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Metric description.', + 'type' => 'string', + 'example' => 'Day growth ratio of store file count', + ], + ], + ], + 'DailyReadRequestDayGrowthRatio' => [ + 'description' => 'Daily growth ratio of daily read requests.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Metric name.', + 'type' => 'string', + 'example' => 'dailyReadRequestDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.', + 'type' => 'number', + 'format' => 'float', + 'example' => '1.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Description of the metric.', + 'type' => 'string', + 'example' => 'Day growth ratio of table size', + ], + ], + ], + 'DailyWriteRequestDayGrowthRatio' => [ + 'description' => 'Daily write request growth ratio.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Name of the metric.', + 'type' => 'string', + 'example' => 'dailyWriteRequestDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Description of the metric.', + 'type' => 'string', + 'example' => 'The balance of distributing requests', + ], + ], + ], + 'ReadRequestBalance' => [ + 'description' => 'Read request balance.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Name of the metric.', + 'type' => 'string', + 'example' => 'readRequestBalance', + ], + 'Value' => [ + 'description' => 'The value of the metric.', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Description of the metric.', + 'type' => 'string', + 'example' => 'The balance of distributing read requests', + ], + ], + ], + 'WriteRequestBalance' => [ + 'description' => 'Write request balance.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Name of the metric.', + 'type' => 'string', + 'example' => 'writeRequestBalance', + ], + 'Value' => [ + 'description' => 'The value of the metric.', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Unit' => [ + 'description' => 'Unit of the metric.', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Description of the metric.', + 'type' => 'string', + 'example' => 'The balance of distributing write requests', + ], + ], + ], + ], + ], + 'Analysis' => [ + 'description' => 'Diagnostic results.', + 'type' => 'object', + 'properties' => [ + 'TableScore' => [ + 'description' => 'Table score.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '85', + ], + 'RequestUnbalanceSuggestion' => [ + 'description' => 'Description of read/write imbalance.', + 'type' => 'string', + 'example' => '', + ], + 'RequestHotspotRegionList' => [ + 'description' => 'List of read/write hotspot regions.', + 'type' => 'array', + 'items' => [ + 'description' => 'Read/write hotspot region.', + 'type' => 'string', + 'example' => '5f019e8cf7c16be9768634cb99ccbe05', + ], + 'example' => 'null', + ], + 'ReadRequestUnbalanceSuggestion' => [ + 'description' => 'Description of read imbalance.', + 'type' => 'string', + 'example' => '', + ], + 'ReadRequestHotspotRegionList' => [ + 'description' => 'List of read hotspot regions.', + 'type' => 'array', + 'items' => [ + 'description' => 'Read hotspot region.', + 'type' => 'string', + 'example' => '5f019e8cf7c16be9768634cb99ccbe05', + ], + 'example' => 'null', + ], + 'WriteRequestUnbalanceSuggestion' => [ + 'description' => 'Description of write imbalance.', + 'type' => 'string', + 'example' => '', + ], + 'WriteRequestHotspotRegionList' => [ + 'description' => 'List of write hotspot regions.', + 'type' => 'array', + 'items' => [ + 'description' => 'Write hotspot region.', + 'type' => 'string', + 'example' => '5f019e8cf7c16be9768634cb99ccbe05', + ], + 'example' => 'null', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"RegionServerCount\\": {\\n \\"Name\\": \\"regionServerCount\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of region servers count\\"\\n },\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"TableSize\\": {\\n \\"Name\\": \\"tableSize\\",\\n \\"Value\\": 0,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Size of the table\\"\\n },\\n \\"StoreFileCount\\": {\\n \\"Name\\": \\"storeFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of store files\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"test-update\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n },\\n \\"RegionBalance\\": {\\n \\"Name\\": \\"regionBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The ability to evenly distribute Regions on different RegionServer nodes\\"\\n },\\n \\"RequestBalance\\": {\\n \\"Name\\": \\"requestBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing requests\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Size of the cold data size\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"WarmConfigDay\\": {\\n \\"Name\\": \\"warmConfigDay\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdConfigDay\\": {\\n \\"Name\\": \\"coldConfigDay\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Cold config day\\"\\n },\\n \\"FreezeConfigDay\\": {\\n \\"Name\\": \\"freezeConfigDay\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Freeze config day\\\\n\\"\\n },\\n \\"Locality\\": {\\n \\"Name\\": \\"locality\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The locality of data\\"\\n },\\n \\"ColdAccessDay\\": {\\n \\"Name\\": \\"coldAccessDay\\",\\n \\"Value\\": 3,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Cold access day\\"\\n },\\n \\"RegionCountDayGrowthRatio\\": {\\n \\"Name\\": \\"regionCountDayGrowthRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of region count\\"\\n },\\n \\"TableSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"tableSizeDayGrowthRatio\\",\\n \\"Value\\": 1.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of table size\\"\\n },\\n \\"StoreFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"storeFileCountDayGrowthRatio\\",\\n \\"Value\\": 1.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of store file count\\"\\n },\\n \\"DailyReadRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyReadRequestDayGrowthRatio\\",\\n \\"Value\\": 1.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of table size\\"\\n },\\n \\"DailyWriteRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyWriteRequestDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing requests\\"\\n },\\n \\"ReadRequestBalance\\": {\\n \\"Name\\": \\"readRequestBalance\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing read requests\\"\\n },\\n \\"WriteRequestBalance\\": {\\n \\"Name\\": \\"writeRequestBalance\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing write requests\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"TableScore\\": 85,\\n \\"RequestUnbalanceSuggestion\\": \\"read request unbalance is <p class=\'report-detail-topic\'>表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 4ac818a3ab3fd727490a5b4d4dac7667 读请求数量: 15485664</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 021b387ae92959def65041e25eade3aa 读请求数量: 7731980</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d58f33abfe857e5fd0045eaa31c93df8 读请求数量: 7705237</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4ca84757a7d0948b8552cfeebefa25a9 读请求数量: 7703492</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 1018192dae42995fc75c6d5b5981a9b7 读请求数量: 7695284</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"RequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"ReadRequestUnbalanceSuggestion\\": \\"read request unbalance is <p class=\'report-detail-topic\'>表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 4ac818a3ab3fd727490a5b4d4dac7667 读请求数量: 15485664</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 021b387ae92959def65041e25eade3aa 读请求数量: 7731980</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d58f33abfe857e5fd0045eaa31c93df8 读请求数量: 7705237</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4ca84757a7d0948b8552cfeebefa25a9 读请求数量: 7703492</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 1018192dae42995fc75c6d5b5981a9b7 读请求数量: 7695284</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"ReadRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"WriteRequestUnbalanceSuggestion\\": \\"write request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均写请求数量为769954,以下分区存在写请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4a938c08750869c47b7a92edeeec2ccc 写请求数量: 2115051</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: b4d21974df92bdf3589e63e4da1fc923 写请求数量: 1592509</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 25eb6717470f4ddbabe9187ff0fc0cb3 写请求数量: 1585420</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"WriteRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ]\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorHBaseTable', + 'summary' => 'Get HBase Table information.', + 'translator' => 'machine', + ], + 'GetDoctorHBaseRegionServer' => [ + 'description' => 'get Doctor HBaseRegionServer', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceQEA007', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The date.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '2023-01-01', + ], + ], + [ + 'name' => 'RegionServerHost', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The host of the region server.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'emr-worker-4.cluster-20****'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'RegionCount' => [ + 'description' => 'The number of regions.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'regionCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '15', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of regions count', + ], + ], + ], + 'TotalReadRequest' => [ + 'description' => 'The cumulative number of read requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalReadRequest', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total number of read requests', + ], + ], + ], + 'TotalWriteRequest' => [ + 'description' => 'The cumulative number of write requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalWriteRequest ', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total number of write requests', + ], + ], + ], + 'TotalRequest' => [ + 'description' => 'The cumulative number of total requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalRequest', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total number of requests', + ], + ], + ], + 'DailyReadRequest' => [ + 'description' => 'The number of daily read requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'dailyReadRequest', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of read requests per day', + ], + ], + ], + 'DailyWriteRequest' => [ + 'description' => 'The number of daily write requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'dailyWriteRequest', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of write requests per day', + ], + ], + ], + 'AvgGc' => [ + 'description' => 'The average garbage collection (GC) duration.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'avgGc', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '42.3', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'The efficiency of garbage collection in the system', + ], + ], + ], + 'CacheRatio' => [ + 'description' => 'The cache hit ratio.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'cacheRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '95.3', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of the BlockCache memory size', + ], + ], + ], + 'DailyReadRequestDayGrowthRatio' => [ + 'description' => 'The day-to-day increment rate of the number of daily read requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'dailyReadRequestDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '1.0', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'The growth rate of daily read request quantity.'."\n", + ], + ], + ], + 'DailyWriteRequestDayGrowthRatio' => [ + 'description' => 'The day-to-day increment rate of the number of daily write requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'dailyWriteRequestDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '1.0', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'The growth rate of daily write request quantity.', + ], + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 15,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"TotalReadRequest\\": {\\n \\"Name\\": \\"totalReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of read requests\\"\\n },\\n \\"TotalWriteRequest\\": {\\n \\"Name\\": \\"totalWriteRequest\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of write requests\\"\\n },\\n \\"TotalRequest\\": {\\n \\"Name\\": \\"totalRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of requests\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of read requests per day\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n },\\n \\"AvgGc\\": {\\n \\"Name\\": \\"avgGc\\",\\n \\"Value\\": 42.3,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The efficiency of garbage collection in the system\\"\\n },\\n \\"CacheRatio\\": {\\n \\"Name\\": \\"cacheRatio\\",\\n \\"Value\\": 95.3,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of the BlockCache memory size\\"\\n },\\n \\"DailyReadRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyReadRequestDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The growth rate of daily read request quantity.\\\\n\\"\\n },\\n \\"DailyWriteRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyWriteRequestDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The growth rate of daily write request quantity.\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorHBaseRegionServer', + 'summary' => 'Obtains the information about an HBase region server.', + ], + 'GetDoctorHBaseRegion' => [ + 'description' => 'List Doctor HBase Regions', + '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' => 'Region ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'Cluster ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'Date.', + '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' => 'Returned data', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'Returned data.', + 'type' => 'object', + 'properties' => [ + 'TableName' => [ + 'description' => 'Table name.', + 'type' => 'string', + 'example' => 'tb_item', + ], + 'RegionServerHost' => [ + 'description' => 'Host of the RegionServer.', + 'type' => 'string', + 'example' => 'emr-worker-2.cluster-20****', + ], + 'Metrics' => [ + 'description' => 'Metrics information.', + 'type' => 'object', + 'properties' => [ + 'TotalReadRequest' => [ + 'description' => 'Total read request count', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Metric name.', + 'type' => 'string', + 'example' => 'totalReadRequest', + ], + 'Value' => [ + 'description' => 'Metric value.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'Metric unit.', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Metric description.', + 'type' => 'string', + 'example' => 'Total read request', + ], + ], + ], + 'TotalWriteRequest' => [ + 'description' => 'Total write request count', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Metric name.', + 'type' => 'string', + 'example' => 'totalWriteRequest', + ], + 'Value' => [ + 'description' => 'Metric value.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'Metric unit.', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Metric description.', + 'type' => 'string', + 'example' => 'Total Write Request', + ], + ], + ], + 'StoreFileCount' => [ + 'description' => 'Store file count.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Metric name.', + 'type' => 'string', + 'example' => 'storeFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Description of the metric.', + 'type' => 'string', + 'example' => 'Number of store file', + ], + ], + ], + 'DailyReadRequest' => [ + 'description' => 'Number of read requests in a single day.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Name of the metric.', + 'type' => 'string', + 'example' => 'dailyReadRequest ', + ], + 'Value' => [ + 'description' => 'The value of the metric.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Description of the metric.', + 'type' => 'string', + 'example' => 'Number of read requests per day'."\n", + ], + ], + ], + 'DailyWriteRequest' => [ + 'description' => 'Number of write requests in a single day.', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'Name of the metric.', + 'type' => 'string', + 'example' => 'dailyWriteRequest ', + ], + 'Value' => [ + 'description' => 'The value of the metric.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'Description of the metric.', + 'type' => 'string', + 'example' => 'Number of write requests per day'."\n", + ], + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TableName\\": \\"tb_item\\",\\n \\"RegionServerHost\\": \\"emr-worker-2.cluster-20****\\",\\n \\"Metrics\\": {\\n \\"TotalReadRequest\\": {\\n \\"Name\\": \\"totalReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total read request\\"\\n },\\n \\"TotalWriteRequest\\": {\\n \\"Name\\": \\"totalWriteRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total Write Request\\"\\n },\\n \\"StoreFileCount\\": {\\n \\"Name\\": \\"storeFileCount\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of store file\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of read requests per day\\\\n\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\\\n\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorHBaseRegion', + 'summary' => 'Get HBase Region information.', + 'translator' => 'machine', + ], + 'GetDoctorHBaseCluster' => [ + 'description' => 'get Doctor HBaseCluster', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceQEA007', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The date.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '2023-01-01', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'TableCount' => [ + 'description' => 'The number of tables.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tableCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of tables', + ], + ], + ], + 'TotalDataSize' => [ + 'description' => 'The size of the cluster.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '256', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total data size in megabytes (MB)', + ], + ], + ], + 'TotalReadRequest' => [ + 'description' => 'The total number of read requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalReadRequest', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '430', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total number of read requests', + ], + ], + ], + 'TotalWriteRequest' => [ + 'description' => 'The total number of write requests.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalWriteRequest', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '520', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total number of write requests', + ], + ], + ], + 'AvgLoad' => [ + 'description' => 'The average load.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'avgLoad', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '36.0', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'The average load under normal working conditions', + ], + ], + ], + 'NormalAvgLoad' => [ + 'description' => 'The normal average load.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'normalAvgLoad', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '526.4', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'The average load under normal working conditions', + ], + ], + ], + 'RegionBalance' => [ + 'description' => 'The region balance degree.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'regionBalance', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '1.0', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'The ability to evenly distribute Regions on different RegionServer nodes', + ], + ], + ], + 'TotalRequest' => [ + 'description' => 'The total number of requests in the cluster.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalRequest', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '576', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total number of requests', + ], + ], + ], + 'RegionServerCount' => [ + 'description' => 'The number of region servers.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'regionServerCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '6', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of region servers count', + ], + ], + ], + 'RegionCount' => [ + 'description' => 'The number of regions.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'regionCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '161', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of regions count', + ], + ], + ], + 'MemHeap' => [ + 'description' => 'The memory size.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'memHeap', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '240', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Memory heap usage in megabytes (MB)', + ], + ], + ], + 'StoreFileCount' => [ + 'description' => 'The number of StoreFiles.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'storeFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '298', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of store files', + ], + ], + ], + 'DailyReadRequest' => [ + 'description' => 'The number of read requests in a day.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'dailyReadRequest', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '430', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of read requests per day', + ], + ], + ], + 'DailyWriteRequest' => [ + 'description' => 'The number of write requests in a day.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'dailyWriteRequest', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '128', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of write requests per day', + ], + ], + ], + ], + ], + 'Analysis' => [ + 'description' => 'The analysis result.'."\n", + 'type' => 'object', + 'properties' => [ + 'HbaseScore' => [ + 'description' => 'The overall score of the HBase cluster.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '85', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"TableCount\\": {\\n \\"Name\\": \\"tableCount\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tables\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 256,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\"\\n },\\n \\"TotalReadRequest\\": {\\n \\"Name\\": \\"totalReadRequest\\",\\n \\"Value\\": 430,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of read requests\\"\\n },\\n \\"TotalWriteRequest\\": {\\n \\"Name\\": \\"totalWriteRequest\\",\\n \\"Value\\": 520,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of write requests\\"\\n },\\n \\"AvgLoad\\": {\\n \\"Name\\": \\"avgLoad\\",\\n \\"Value\\": 36,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The average load under normal working conditions\\"\\n },\\n \\"NormalAvgLoad\\": {\\n \\"Name\\": \\"normalAvgLoad\\",\\n \\"Value\\": 526.4,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The average load under normal working conditions\\"\\n },\\n \\"RegionBalance\\": {\\n \\"Name\\": \\"regionBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The ability to evenly distribute Regions on different RegionServer nodes\\"\\n },\\n \\"TotalRequest\\": {\\n \\"Name\\": \\"totalRequest\\",\\n \\"Value\\": 576,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of requests\\"\\n },\\n \\"RegionServerCount\\": {\\n \\"Name\\": \\"regionServerCount\\",\\n \\"Value\\": 6,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of region servers count\\"\\n },\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 161,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"MemHeap\\": {\\n \\"Name\\": \\"memHeap\\",\\n \\"Value\\": 240,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Memory heap usage in megabytes (MB)\\"\\n },\\n \\"StoreFileCount\\": {\\n \\"Name\\": \\"storeFileCount\\",\\n \\"Value\\": 298,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of store files\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 430,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of read requests per day\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 128,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HbaseScore\\": 85\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorHBaseCluster', + 'summary' => 'Obtains the metrics of an HBase cluster.', + ], + 'GetDoctorHDFSDirectory' => [ + 'description' => 'get Doctor HDFSNode', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceQEA007', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '2023-01-01', + ], + ], + [ + 'name' => 'DirPath', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The directory name. The depth of the directory is not greater than five.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '/tmp/test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The analysis results of the HDFS directory.'."\n", + 'type' => 'object', + 'properties' => [ + 'Depth' => [ + 'description' => 'The directory level.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'User' => [ + 'description' => 'The directory owner.'."\n", + 'type' => 'string', + 'example' => 'DW', + ], + 'Group' => [ + 'description' => 'The group to which the directory belongs.'."\n", + 'type' => 'string', + 'example' => 'DW', + ], + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'TotalFileCount' => [ + 'description' => 'The total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '51683279', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of total files'."\n", + ], + ], + ], + 'LargeFileCount' => [ + 'description' => 'The number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of large files'."\n", + ], + ], + ], + 'MediumFileCount' => [ + 'description' => 'The number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '234', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of medium files'."\n", + ], + ], + ], + 'SmallFileCount' => [ + 'description' => 'The number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12345', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of small files'."\n", + ], + ], + ], + 'TinyFileCount' => [ + 'description' => 'The number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '232131', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of tiny files'."\n", + ], + ], + ], + 'EmptyFileCount' => [ + 'description' => 'The number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '15595897', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of empty files'."\n", + ], + ], + ], + 'HotDataSize' => [ + 'description' => 'The amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '6701531944206', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the hot data size'."\n", + ], + ], + ], + 'WarmDataSize' => [ + 'description' => 'The amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '4062349775577', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the warm data size', + ], + ], + ], + 'ColdDataSize' => [ + 'description' => 'The amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5570958082267', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the cold data size'."\n", + ], + ], + ], + 'FreezeDataSize' => [ + 'description' => 'The amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1231312431', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the freeze data size'."\n", + ], + ], + ], + 'TotalDataSize' => [ + 'description' => 'The total amount of data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataSize'."\n", + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '62086342083623', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total data size in megabytes (MB)'."\n", + ], + ], + ], + 'TotalFileDayGrowthCount' => [ + 'description' => 'The daily increment of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '27809', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of total files'."\n", + ], + ], + ], + 'LargeFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of large files'."\n", + ], + ], + ], + 'MediumFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '176', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of medium files'."\n", + ], + ], + ], + 'SmallFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12345', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of small files'."\n", + ], + ], + ], + 'TinyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '-123'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of tiny files'."\n", + ], + ], + ], + 'EmptyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileDayGrowthCount'."\n", + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '114', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of empty files'."\n", + ], + ], + ], + 'HotDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123154'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of hot data'."\n", + ], + ], + ], + 'WarmDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '-64806998319'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of warm data'."\n", + ], + ], + ], + 'ColdDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '-182636577752'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of cold data'."\n", + ], + ], + ], + 'FreezeDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '-167683929450'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of freeze data'."\n", + ], + ], + ], + 'TotalDataDayGrowthSize' => [ + 'description' => 'The daily incremental of the total amount of data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '256482228248', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of total data'."\n", + ], + ], + ], + 'TotalFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileCountDayGrowthRatio'."\n", + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.02'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of total files'."\n", + ], + ], + ], + 'LargeFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.39'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of large files'."\n", + ], + ], + ], + 'MediumFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.19'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of medium files'."\n", + ], + ], + ], + 'SmallFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.02'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of small files'."\n", + ], + ], + ], + 'TinyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.003'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of tiny files'."\n", + ], + ], + ], + 'EmptyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => ' '."\n" + .'0.005'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of empty files'."\n", + ], + ], + ], + 'HotDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in previous seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.1114'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of hot data size'."\n", + ], + ], + ], + 'WarmDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in previous 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '-0.015'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of warm data size'."\n", + ], + ], + ], + 'ColdDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in previous 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '-0.03'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of cold data size'."\n", + ], + ], + ], + 'FreezeDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '-0.09'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of freeze data size'."\n", + ], + ], + ], + 'TotalDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total data volume.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => ' '."\n" + .'0.14'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of total data size'."\n", + ], + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Depth\\": 2,\\n \\"User\\": \\"DW\\",\\n \\"Group\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 51683279,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 234,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 232131,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 15595897,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 6701531944206,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 4062349775577,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 5570958082267,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1231312431,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\\\n\\",\\n \\"Value\\": 62086342083623,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 27809,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 2,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 176,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": -123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\\\n\\",\\n \\"Value\\": 114,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 123154,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": -64806998319,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": -182636577752,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": -167683929450,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 256482228248,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\\\n\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.39,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.003,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.005,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.1114,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.015,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.03,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.09,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.14,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorHDFSDirectory', + 'summary' => 'Obtains the analysis results of a specific Hadoop Distributed File System (HDFS) directory of a cluster. The depth of the directory is not greater than five.', + ], + 'ListDoctorJobsStats' => [ + 'description' => 'list stats groupBy jobs by yarn', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceQEA007', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The maximum number of entries to return on each page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'StartRange', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'description' => 'The range of start time. You can filter jobs whose start time falls within the specified time range.'."\n", + 'type' => 'object', + 'properties' => [ + 'StartTime' => [ + 'description' => 'The beginning of the time range during which jobs were submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1679036826987', + ], + 'EndTime' => [ + 'description' => 'The end of the time range during which jobs were submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1666406820000', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'EndRange', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'description' => 'The range of end time. You can filter jobs whose end time falls within the specified time range.'."\n", + 'type' => 'object', + 'properties' => [ + 'StartTime' => [ + 'description' => 'The beginning of the time range during which jobs ended. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1675180800000', + ], + 'EndTime' => [ + 'description' => 'The end of the time range during which jobs ended. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1680019200000', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'GroupBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'description' => 'The fields that are used for grouping data.'."\n" + ."\n" + .'Currently, only the first value is used for grouping data. Combinations of multiple values will be supported in the future.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The field that is used for grouping data. Valid values:'."\n" + ."\n" + .'* queue: grouping by queue'."\n" + .'* user: grouping by user'."\n" + .'* type: grouping by engine type'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'type', + ], + 'required' => false, + 'example' => 'null', + ], + ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The order in which you want to sort the query results. Valid values:'."\n" + ."\n" + .'* ASC: in ascending order'."\n" + .'* DESC: in descending order'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ASC', + ], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The field that you use to sort the query results. Valid values:'."\n" + ."\n" + .'* vcoreSeconds: the aggregated number of vCPUs that are allocated to the job multiplied by the number of seconds the job has been running'."\n" + .'* memSeconds: the aggregated amount of memory that is allocated to the job multiplied by the number of seconds the job has been running'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'vcoreSeconds', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The summary of job information.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Queue' => [ + 'description' => 'The YARN queue to which the job was submitted.'."\n", + 'type' => 'string', + 'example' => 'DW', + ], + 'Type' => [ + 'description' => 'The type of the compute engine.'."\n", + 'type' => 'string', + 'example' => 'SPARK', + ], + 'User' => [ + 'description' => 'The username that is used to submit the job.'."\n", + 'type' => 'string', + 'example' => 'DW', + ], + 'VcoreSeconds' => [ + 'description' => 'The aggregated number of vCPUs that are allocated to the job multiplied by the number of seconds the job has been running.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'vcoreSeconds', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '11123', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'VCores * Sec', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total vcore usage over time in seconds', + ], + ], + ], + 'MemSeconds' => [ + 'description' => 'The aggregated amount of memory that is allocated to the job multiplied by the number of seconds the job has been running.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'memSeconds', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12312312', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB * Sec', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total memory usage over time in seconds', + ], + ], + ], + 'AppsCount' => [ + 'description' => 'The total number of jobs.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'appsCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total apps count', + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'A pagination token.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The maximum number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Queue\\": \\"DW\\",\\n \\"Type\\": \\"SPARK\\",\\n \\"User\\": \\"DW\\",\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n },\\n \\"AppsCount\\": {\\n \\"Name\\": \\"appsCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total apps count\\"\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorJobsStats', + 'summary' => 'Obtains the summary of basic running information about multiple jobs at a time on E-MapReduce (EMR) Doctor.', + ], + 'ListDoctorReports' => [ + 'description' => 'list all reports analysis by emr doctor', + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The number of entries to return on each page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The reports.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DateTime' => [ + 'description' => 'The date on which the report was generated.'."\n", + 'type' => 'string', + 'example' => '2023-06-29', + ], + 'ComponentTypes' => [ + 'description' => 'The component types.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* compute'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* hive'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* hdfs'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* yarn'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* oss'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* hbase'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The type of the component. Valid values:'."\n" + ."\n" + .'* compute'."\n" + .'* hive'."\n" + .'* hdfs'."\n" + .'* yarn'."\n" + .'* oss'."\n" + .'* hbase'."\n", + 'type' => 'string', + 'example' => 'compute', + ], + 'enumValueTitles' => [ + 'compute' => 'compute', + 'hive' => 'hive', + 'hdfs' => 'hdfs', + 'yarn' => 'yarn', + 'oss' => 'oss', + 'hbase' => 'hbase', + ], + 'example' => 'null', + ], + 'SummaryReport' => [ + 'description' => 'The summary of the report.'."\n", + 'type' => 'object', + 'properties' => [ + 'Score' => [ + 'description' => 'The score.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '88', + ], + 'Summary' => [ + 'description' => 'The summary of the report.'."\n", + 'type' => 'string', + 'example' => 'eastbuy-mse-plugin-auth', + ], + 'Suggestion' => [ + 'description' => 'The optimization suggestion.'."\n", + 'type' => 'string', + 'example' => 'block', + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'A pagination token.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The maximum number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"DateTime\\": \\"2023-06-29\\",\\n \\"ComponentTypes\\": [\\n \\"compute\\"\\n ],\\n \\"SummaryReport\\": {\\n \\"Score\\": 88,\\n \\"Summary\\": \\"<h4> [计算检测] 计算健康度分数为 88 ,健康度良好,继续加油 </h4><p style=\'\'text-indent:2em\'\'>集群中大部分任务保持健康状态 </p><p style=\'\'text-indent:2em\'\'>集群内存利用率为:47.8% 偏低 </p>\\",\\n \\"Suggestion\\": \\"<h3> 计算健康度分数为 88 ,集群处于健康状态,继续保持 </h3><ul><li><strong>计算任务扫描</strong><ul><li>对集群中 1518 个计算任务进行了扫描,包含 <span style=\'\'color: #D93026; \'\'>209 个任务处于不健康状态 </span>,<span style=\'\'color: #F1A600; \'\'>596 个任务处于亚健康状态 </span>,<span style=\'\'color: #1E8E3E; \'\'>713 个任务处于健康状态</span>。 </ul><ul>其中:<li> Tez 任务 1518 个,加权平均分为 88 ,内存使用量占整体集群的 100.0% ,CPU 使用量占整体集群的 100.0% ,其中 209 个任务处于不健康状态,596 个任务处于亚健康状态;</li></ul><ul>可在下面的任务明细列表中点击\'\'查看详情\'\',查看存在的具体问题及解决方案。其中\'\'低分任务算力内存时 (GB*Sec)Top20 \'\'表根据内存时使用量进行排序,由于大任务对集群整体影响可能更大,建议优先关注。</ul><li><strong><span style=\'\'color: #D93026; \'\'>内存利用率较低</span></strong><ul><li>集群整体内存利用率为 47.8% ,内存利用率较低,计算资源存在浪费,建议优先对内存算力时较大且内存利用率较低的 TOP 任务进行优化</ul><ul><li>其中,Tez作业平均内存利用率为 47.8% , </ul></ul>\\"\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorReports', + 'summary' => 'Obtains the overall analysis result reports of E-MapReduce (EMR) Doctor at a time.', + ], + 'GetDoctorReportComponentSummary' => [ + 'description' => 'get specify component\'s report analysis by EMR Doctor', + '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' => 'Region ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'Cluster ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => 'dateTime for specify report', + 'description' => 'Report date.', + 'type' => 'string', + 'required' => true, + 'example' => '2023-01-01', + ], + ], + [ + 'name' => 'ComponentType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => 'component type', + 'description' => 'Select component filter type. Values: '."\n" + .'- compute '."\n" + .'- hive'."\n" + .'- hdfs'."\n" + .'- yarn'."\n" + .'- oss'."\n" + .'- hbase', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'compute' => 'compute', + 'hive' => 'hive', + 'hdfs' => 'hdfs', + 'yarn' => 'yarn', + 'oss' => 'oss', + 'hbase' => 'hbase', + ], + 'example' => 'compute', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The content of the report.'."\n", + 'type' => 'object', + 'properties' => [ + 'Score' => [ + 'description' => 'Score.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '88', + ], + 'Summary' => [ + 'description' => 'The summary of the report.'."\n", + 'type' => 'string', + 'example' => '', + ], + 'Suggestion' => [ + 'description' => 'Optimization suggestions.', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Score\\": 88,\\n \\"Summary\\": \\" [计算检测] 计算健康度分数为 88 ,健康度良好,继续加油\\\\n集群中大部分任务保持健康状态\\\\n集群内存利用率为: 47.8% 偏低\\",\\n \\"Suggestion\\": \\"计算健康度分数为 88 ,集群处于健康状态,继续保持 \\\\n计算任务扫描\\\\n对集群中 1518 个计算任务进行了扫描,包含 209 个任务处于不健康状态 ,596 个任务处于亚健康状态 ,713 个任务处于健康状态。 \\\\n其中:\\\\n Tez 任务 1518 个,加权平均分为 88 ,内存使用量占整体集群的 100.0% ,CPU 使用量占整体集群的 100.0% ,其中 209 个任务处于不健康状态,596 个任务处于亚健康状态;\\\\n可在下面的任务明细列表中点击\'\'查看详情\'\',查看存在的具体问题及解决方案。其中\'\'低分任务算力内存时 (GB*Sec)Top20 \'\'表根据内存时使用量进行排序,由于大任务对集群整体影响可能更大,建议优先关注。\\\\n内存利用率较低\\\\n集群整体内存利用率为 47.8% ,内存利用率较低,计算资源存在浪费,建议优先对内存算力时较大且内存利用率较低的 TOP 任务进行优化\\\\n其中,Tez作业平均内存利用率为 47.8% \\"\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorReportComponentSummary', + 'summary' => 'Obtain the analysis result report of a specified component from EMR Doctor.', + 'translator' => 'machine', + ], + 'ListDoctorJobs' => [ + 'description' => 'list realtime jobs by yarn', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceQEA007', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The maximum number of entries to return on each page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'StartRange', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '开始range', + 'description' => 'The range of start time. You can filter jobs whose start time falls within the specified time range.'."\n", + 'type' => 'object', + 'properties' => [ + 'StartTime' => [ + 'description' => 'The beginning of the time range during which jobs were submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1683340662016', + ], + 'EndTime' => [ + 'description' => 'The end of the time range during which jobs were submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1683340662020', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'EndRange', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '结束range', + 'description' => 'The range of end time. You can filter jobs whose end time falls within the specified time range.'."\n", + 'type' => 'object', + 'properties' => [ + 'StartTime' => [ + 'description' => 'The beginning of the time range during which jobs ended. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1679135111960', + ], + 'EndTime' => [ + 'description' => 'The end of the time range during which jobs ended. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1666865137099', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'AppIds', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => 'app ID数组', + 'description' => 'The IDs of the jobs that are submitted to YARN.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the job that is submitted to YARN.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'application_1643475036865_******'."\n", + ], + 'required' => false, + 'example' => 'null', + ], + ], + [ + 'name' => 'Users', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'description' => 'The users who submit the jobs.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The username that is used to submit the job to YARN.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DW'."\n", + ], + 'required' => false, + 'example' => 'null', + ], + ], + [ + 'name' => 'Queues', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'description' => 'The YARN queues to which the jobs are submitted.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The name of the YARN queue to which the job is submitted.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DW'."\n", + ], + 'required' => false, + 'example' => 'null', + ], + ], + [ + 'name' => 'Types', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'description' => 'The YARN engines to which the jobs are submitted.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The type of the YARN engine to which the job is submitted.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'SPARK', + ], + 'required' => false, + 'example' => 'null', + ], + ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '排序类型', + 'description' => 'The order in which you want to sort the query results. Valid values:'."\n" + ."\n" + .'* ASC: the ascending order'."\n" + .'* DESC: the descending order'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ASC', + ], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '排序字段', + 'description' => 'The field that you use to sort the query results. Valid values:'."\n" + ."\n" + .'* vcoreSeconds: the aggregated number of vCPUs that are allocated to the job multiplied by the number of seconds the job has been running'."\n" + .'* memSeconds: the aggregated amount of memory that is allocated to the job multiplied by the number of seconds the job has been running'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'vcoreSeconds', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The information about the jobs.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AppId' => [ + 'description' => 'The ID of the job that was submitted to YARN.'."\n", + 'type' => 'string', + 'example' => 'application_1607584549220_*****', + ], + 'AppName' => [ + 'description' => 'The name of the job.'."\n", + 'type' => 'string', + 'example' => 'tpcds', + ], + 'User' => [ + 'description' => 'The username that was used to submit the job.'."\n", + 'type' => 'string', + 'example' => 'DW', + ], + 'Queue' => [ + 'description' => 'The YARN queue to which the job was submitted.'."\n", + 'type' => 'string', + 'example' => 'DW', + ], + 'State' => [ + 'description' => 'The running state of the job. Valid values:'."\n" + ."\n" + .'* FINISHED'."\n" + .'* FAILED'."\n" + .'* KILLED'."\n", + 'type' => 'string', + 'example' => 'FINISHED', + ], + 'FinalStatus' => [ + 'description' => 'The final state of the job. Valid values:'."\n" + ."\n" + .'* SUCCEEDED'."\n" + .'* FAILED'."\n" + .'* KILLED'."\n" + .'* ENDED'."\n" + .'* UNDEFINED'."\n", + 'type' => 'string', + 'example' => 'KILLED', + ], + 'Type' => [ + 'description' => 'The type of the compute engine.'."\n", + 'type' => 'string', + 'example' => 'SPARK', + ], + 'StartTime' => [ + 'description' => 'The time when the job was submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1675180800000', + ], + 'LaunchTime' => [ + 'description' => 'The time when the job was started. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1672148400000', + ], + 'ElapsedTime' => [ + 'description' => 'The total running time of the job. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '242', + ], + 'FinishTime' => [ + 'description' => 'The end time of the job. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1683690929000', + ], + 'Metrics' => [ + 'description' => 'The data about the metrics.'."\n", + 'type' => 'object', + 'properties' => [ + 'VcoreSeconds' => [ + 'description' => 'The CPU usage.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'vcoreSeconds'."\n", + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '11123', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'VCores * Sec'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total vcore usage over time in seconds'."\n", + ], + ], + ], + 'MemSeconds' => [ + 'description' => 'The amount of memory consumed.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'memSeconds', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12312312', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB * Sec'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total memory usage over time in seconds'."\n", + ], + ], + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'A pagination token.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The maximum number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"AppId\\": \\"application_1607584549220_*****\\",\\n \\"AppName\\": \\"tpcds\\",\\n \\"User\\": \\"DW\\",\\n \\"Queue\\": \\"DW\\",\\n \\"State\\": \\"FINISHED\\",\\n \\"FinalStatus\\": \\"KILLED\\",\\n \\"Type\\": \\"SPARK\\",\\n \\"StartTime\\": 1675180800000,\\n \\"LaunchTime\\": 1672148400000,\\n \\"ElapsedTime\\": 242,\\n \\"FinishTime\\": 1683690929000,\\n \\"Metrics\\": {\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\\\n\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\\\n\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\\\n\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\\\n\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\\\n\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorJobs', + 'summary' => 'Obtains the basic running information about multiple jobs at a time on E-MapReduce (EMR) Doctor.', + ], + 'ListDoctorComputeSummary' => [ + 'description' => 'list Doctor analysis result of cluster engine queue view', + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The maximum number of entries to return on each page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '2023-01-01', + ], + ], + [ + 'name' => 'ComponentTypes', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'description' => 'The resource types, which are used to filter query results. Valid values:'."\n" + ."\n" + .'* engine: filters results by engine.'."\n" + .'* queue: filters results by queue.'."\n" + .'* cluster: displays the results at the cluster level.'."\n" + ."\n" + .'If you do not specify this parameter, the information at the cluster level is displayed by default. Currently, only one resource type is supported. If you specify multiple resource types, the first resource type is used by default.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The resource type.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'queue', + ], + 'required' => false, + 'example' => 'null', + ], + ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The order in which you want to sort the query results. Valid values:'."\n" + ."\n" + .'* ASC: in ascending order.'."\n" + .'* DESC: in descending order.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ASC', + ], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The basis on which you want to sort the query results. Valid values:'."\n" + ."\n" + .'1. vcoreSeconds: the total CPU consumption over time in seconds.'."\n" + .'2. memSeconds: the total memory consumption over time in seconds.'."\n" + .'3. vcoreUtilization: the average CPU utilization. The meaning is the same as the %CPU parameter in the output of the top command in Linux.'."\n" + .'4. memUtilization: the average memory usage.'."\n" + .'5. vcoreSecondsDayGrowthRatio: the day-to-day growth rate of the total CPU consumption over time in seconds.'."\n" + .'6. memSecondsDayGrowthRatio: the day-to-day growth rate of the total memory consumption over time in seconds.'."\n" + .'7. readSize: the total amount of data read from the file system.'."\n" + .'8. writeSize: the total amount of data written to the file system.'."\n" + .'9. healthyJobCount: the total number of healthy jobs.'."\n" + .'10. subHealthyJobCount: the total number of sub-healthy jobs.'."\n" + .'11. unhealthyJobCount: the total number of unhealthy jobs.'."\n" + .'12. needAttentionJobCount: the total number of jobs that require attention.'."\n" + .'13. score: the score for jobs.'."\n" + .'14. scoreDayGrowthRatio: the day-to-day growth rate of the score for jobs.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'score', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The details of resource usage.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ComponentName' => [ + 'description' => 'The name of the resource whose details are obtained based on the value of ComponentTypes. For example, if the value of ComponentTypes is Queue, the value of this parameter is a queue, such as DW.'."\n", + 'type' => 'string', + 'example' => 'DW', + ], + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'VcoreSeconds' => [ + 'description' => 'The total CPU consumption over time in seconds.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'vcoreSeconds', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1231412', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'VCores * Sec', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total vcore usage over time in seconds'."\n", + ], + ], + ], + 'MemSeconds' => [ + 'description' => 'The total memory consumption over time in seconds.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'memSeconds', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12312312', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB * Sec', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total memory usage over time in seconds', + ], + ], + ], + 'VcoreUtilization' => [ + 'description' => 'The average CPU utilization. The meaning is the same as the %CPU parameter in the output of the top command in Linux.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'vcoreUtilization', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '32.1', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of used vcore to total available cores'."\n", + ], + ], + ], + 'MemUtilization' => [ + 'description' => 'The average memory usage.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'memUtilization', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.82', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of used memory to total available memory'."\n", + ], + ], + ], + 'VcoreSecondsDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total CPU consumption over time in seconds.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'vcoreSecondsDayGrowthRatio'."\n", + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.22'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Growth ratio of virtual core usage in seconds per day'."\n", + ], + ], + ], + 'MemSecondsDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total memory consumption over time in seconds.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'memSecondsDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.36', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Growth ratio of memory usage in seconds per day'."\n", + ], + ], + ], + 'ReadSize' => [ + 'description' => 'The total amount of data read from the file system.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'readSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '504888659968', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total cumulative size of data read in megabytes (MB)'."\n", + ], + ], + ], + 'WriteSize' => [ + 'description' => 'The total amount of data written to the file system.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'writeSize'."\n", + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '6294093393920', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total cumulative size of data written in megabytes (MB)', + ], + ], + ], + ], + ], + 'Analysis' => [ + 'description' => 'The resource analysis results.'."\n", + 'type' => 'object', + 'properties' => [ + 'HealthyJobCount' => [ + 'description' => 'The total number of healthy jobs.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3', + ], + 'SubHealthyJobCount' => [ + 'description' => 'The total number of sub-healthy jobs.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '13', + ], + 'UnhealthyJobCount' => [ + 'description' => 'The total number of unhealthy jobs.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'NeedAttentionJobCount' => [ + 'description' => 'The total number of jobs that require attention.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '23', + ], + 'Score' => [ + 'description' => 'The score for jobs.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '56', + ], + 'ScoreDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the score for jobs.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.03', + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'A pagination token.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The maximum number of entries that are returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"ComponentName\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 1231412,\\n \\"Unit\\": \\"VCores * Sec\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\\\n\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n },\\n \\"VcoreUtilization\\": {\\n \\"Name\\": \\"vcoreUtilization\\",\\n \\"Value\\": 32.1,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Ratio of used vcore to total available cores\\\\n\\"\\n },\\n \\"MemUtilization\\": {\\n \\"Name\\": \\"memUtilization\\",\\n \\"Value\\": 0.82,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Ratio of used memory to total available memory\\\\n\\"\\n },\\n \\"VcoreSecondsDayGrowthRatio\\": {\\n \\"Name\\": \\"vcoreSecondsDayGrowthRatio\\\\n\\",\\n \\"Value\\": 0.22,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Growth ratio of virtual core usage in seconds per day\\\\n\\"\\n },\\n \\"MemSecondsDayGrowthRatio\\": {\\n \\"Name\\": \\"memSecondsDayGrowthRatio\\",\\n \\"Value\\": 0.36,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Growth ratio of memory usage in seconds per day\\\\n\\"\\n },\\n \\"ReadSize\\": {\\n \\"Name\\": \\"readSize\\",\\n \\"Value\\": 504888659968,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total cumulative size of data read in megabytes (MB)\\\\n\\"\\n },\\n \\"WriteSize\\": {\\n \\"Name\\": \\"writeSize\\\\n\\",\\n \\"Value\\": 6294093393920,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Total cumulative size of data written in megabytes (MB)\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HealthyJobCount\\": 3,\\n \\"SubHealthyJobCount\\": 13,\\n \\"UnhealthyJobCount\\": 123,\\n \\"NeedAttentionJobCount\\": 23,\\n \\"Score\\": 56,\\n \\"ScoreDayGrowthRatio\\": 0.03\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorComputeSummary', + 'summary' => 'Obtains the information about resource usage by resource type in a cluster on E-MapReduce (EMR) Doctor.', + ], + 'GetDoctorComputeSummary' => [ + 'description' => 'get one specific luster engine queue by <type, name>', + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '2023-01-01', + ], + ], + [ + 'name' => 'ComponentInfo', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'description' => 'The resource information, which is used to filter the results.'."\n", + 'type' => 'object', + 'properties' => [ + 'ComponentType' => [ + 'description' => 'The resource type for filtering. Valid values:'."\n" + ."\n" + .'* engine: filters results by engine.'."\n" + .'* queue: filters results by queue.'."\n" + .'* cluster: displays the results at the cluster level.'."\n" + ."\n" + .'If you do not specify this parameter, the information at the cluster level is displayed by default.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'engine', + ], + 'ComponentName' => [ + 'description' => 'Set the filter condition name based on the value of ComponentType. For example, if you set ComponentType to queue, you can specify a specific queue name to obtain the resource usage of a specific queue.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'MAPREDUCE', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The details of resource usage.'."\n", + 'type' => 'object', + 'properties' => [ + 'Metrics' => [ + 'description' => 'The metrics.'."\n", + 'type' => 'object', + 'properties' => [ + 'VcoreSeconds' => [ + 'description' => 'The total CPU consumption over time in seconds.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'vcoreSeconds'."\n", + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1231412', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'VCores * Sec'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total vcore usage over time in seconds'."\n", + ], + ], + ], + 'MemSeconds' => [ + 'description' => 'The total memory consumption over time in seconds.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'memSeconds'."\n", + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12312312', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB * Sec'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total memory usage over time in seconds'."\n", + ], + ], + ], + 'VcoreUtilization' => [ + 'description' => 'The average CPU utilization. The meaning is the same as the %CPU parameter in the output of the top command in Linux.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'vcoreUtilization'."\n", + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '32.1'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of used vcore to total available cores'."\n", + ], + ], + ], + 'MemUtilization' => [ + 'description' => 'The average memory usage.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'memUtilization'."\n", + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.82', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of used memory to total available memory'."\n", + ], + ], + ], + 'VcoreSecondsDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total CPU consumption over time in seconds.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'vcoreSecondsDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.22', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Growth ratio of virtual core usage in seconds per day', + ], + ], + ], + 'MemSecondsDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total memory consumption over time in seconds.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'memSecondsDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.36', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Growth ratio of memory usage in seconds per day', + ], + ], + ], + 'ReadSize' => [ + 'description' => 'The total amount of data read from the file system.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'readSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '504888659968', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total cumulative size of data read in megabytes (MB)', + ], + ], + ], + 'WriteSize' => [ + 'description' => 'The total amount of data written to the file system.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'writeSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '6294093393920', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total cumulative size of data written in megabytes (MB)', + ], + ], + ], + ], + ], + 'Analysis' => [ + 'description' => 'The resource analysis information.'."\n", + 'type' => 'object', + 'properties' => [ + 'HealthyJobCount' => [ + 'description' => 'The total number of healthy jobs.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3', + ], + 'SubHealthyJobCount' => [ + 'description' => 'The total number of sub-healthy jobs.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1123', + ], + 'UnhealthyJobCount' => [ + 'description' => 'The total number of unhealthy jobs.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '23', + ], + 'NeedAttentionJobCount' => [ + 'description' => 'The total number of jobs that require attention.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '234', + ], + 'Score' => [ + 'description' => 'The score for jobs.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '73', + ], + 'ScoreDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the score for jobs.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.02', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\\\n\\",\\n \\"Value\\": 1231412,\\n \\"Unit\\": \\"VCores * Sec\\\\n\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\\\n\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\\\n\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\\\n\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\\\n\\"\\n },\\n \\"VcoreUtilization\\": {\\n \\"Name\\": \\"vcoreUtilization\\\\n\\",\\n \\"Value\\": 32.1,\\n \\"Unit\\": \\"“”\\\\n\\",\\n \\"Description\\": \\"Ratio of used vcore to total available cores\\\\n\\"\\n },\\n \\"MemUtilization\\": {\\n \\"Name\\": \\"memUtilization\\\\n\\",\\n \\"Value\\": 0.82,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of used memory to total available memory\\\\n\\"\\n },\\n \\"VcoreSecondsDayGrowthRatio\\": {\\n \\"Name\\": \\"vcoreSecondsDayGrowthRatio\\",\\n \\"Value\\": 0.22,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Growth ratio of virtual core usage in seconds per day\\"\\n },\\n \\"MemSecondsDayGrowthRatio\\": {\\n \\"Name\\": \\"memSecondsDayGrowthRatio\\",\\n \\"Value\\": 0.36,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Growth ratio of memory usage in seconds per day\\"\\n },\\n \\"ReadSize\\": {\\n \\"Name\\": \\"readSize\\",\\n \\"Value\\": 504888659968,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total cumulative size of data read in megabytes (MB)\\"\\n },\\n \\"WriteSize\\": {\\n \\"Name\\": \\"writeSize\\",\\n \\"Value\\": 6294093393920,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total cumulative size of data written in megabytes (MB)\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HealthyJobCount\\": 3,\\n \\"SubHealthyJobCount\\": 1123,\\n \\"UnhealthyJobCount\\": 23,\\n \\"NeedAttentionJobCount\\": 234,\\n \\"Score\\": 73,\\n \\"ScoreDayGrowthRatio\\": 0.02\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorComputeSummary', + 'summary' => 'Obtains the information about resource usage in a cluster on E-MapReduce (EMR) Doctor.', + ], + 'GetDoctorJob' => [ + 'description' => 'Get realtime job by yarn', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceQEA007', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'AppId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => 'app id', + 'description' => 'The ID of the job that is submitted to YARN.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'application_1542620905989_****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The information about the job.'."\n", + 'type' => 'object', + 'properties' => [ + 'AppId' => [ + 'description' => 'The ID of the job that was submitted to YARN.'."\n", + 'type' => 'string', + 'example' => 'application_1542620905989_****', + ], + 'AppName' => [ + 'description' => 'The name of the job.'."\n", + 'type' => 'string', + 'example' => 'CREATE TABLE test...ranks=1 (Stage-1)', + ], + 'User' => [ + 'description' => 'The username that was used to submit the job.'."\n", + 'type' => 'string', + 'example' => 'DW', + ], + 'Queue' => [ + 'description' => 'The YARN queue to which the job was submitted.'."\n", + 'type' => 'string', + 'example' => 'DW', + ], + 'State' => [ + 'description' => 'The running state of the job. Valid values:'."\n" + ."\n" + .'* FINISHED'."\n" + .'* FAILED'."\n" + .'* KILLED'."\n", + 'type' => 'string', + 'example' => 'FINISHED', + ], + 'FinalStatus' => [ + 'description' => 'The final state of the job. Valid values:'."\n" + ."\n" + .'* SUCCEEDED'."\n" + .'* FAILED'."\n" + .'* KILLED'."\n" + .'* ENDED'."\n" + .'* UNDEFINED'."\n", + 'type' => 'string', + 'example' => 'KILLED', + ], + 'Type' => [ + 'description' => 'The type of the compute engine.'."\n", + 'type' => 'string', + 'example' => 'SPARK', + ], + 'StartTime' => [ + 'description' => 'The time when the job was submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1673946000000', + ], + 'LaunchTime' => [ + 'description' => 'The time when the job was started. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1665014400000', + ], + 'ElapsedTime' => [ + 'description' => 'The total running time of the job. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '278', + ], + 'FinishTime' => [ + 'description' => 'The time when the job ended. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1658388322000', + ], + 'Metrics' => [ + 'description' => 'The data about metrics.'."\n", + 'type' => 'object', + 'properties' => [ + 'VcoreSeconds' => [ + 'description' => 'The CPU usage.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'vcoreSeconds', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '11123', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'VCores * Sec', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total vcore usage over time in seconds', + ], + ], + ], + 'MemSeconds' => [ + 'description' => 'The amount of memory consumed.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'memSeconds', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12312312', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB * Sec', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total memory usage over time in seconds', + ], + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"AppId\\": \\"application_1542620905989_****\\",\\n \\"AppName\\": \\"CREATE TABLE test...ranks=1 (Stage-1)\\",\\n \\"User\\": \\"DW\\",\\n \\"Queue\\": \\"DW\\",\\n \\"State\\": \\"FINISHED\\",\\n \\"FinalStatus\\": \\"KILLED\\",\\n \\"Type\\": \\"SPARK\\",\\n \\"StartTime\\": 1673946000000,\\n \\"LaunchTime\\": 1665014400000,\\n \\"ElapsedTime\\": 278,\\n \\"FinishTime\\": 1658388322000,\\n \\"Metrics\\": {\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorJob', + 'summary' => 'Obtains the basic running information about a job on E-MapReduce (EMR) Doctor.', + ], + 'ListDoctorApplications' => [ + 'description' => 'list all doctor analysis apps', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceQEA007', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The maximum number of entries to return on each page.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '2023-01-01', + ], + ], + [ + 'name' => 'AppIds', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'description' => 'The IDs of jobs that are submitted to YARN.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the job that is submitted to YARN.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'application_1643475036865_******', + ], + 'required' => false, + 'example' => 'null', + ], + ], + [ + 'name' => 'Users', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'description' => 'The users who submit the jobs.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The username that is used to submit the job to YARN.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DW', + ], + 'required' => false, + 'example' => 'null', + ], + ], + [ + 'name' => 'Queues', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'description' => 'The YARN queues to which the jobs are submitted.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The name of the YARN queue to which the job is submitted.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DW', + ], + 'required' => false, + 'example' => 'null', + ], + ], + [ + 'name' => 'Types', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'description' => 'The YARN engines to which the jobs are submitted.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The type of the YARN engine to which the job is submitted.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'SPARK', + ], + 'required' => false, + 'example' => 'null', + ], + ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The order in which you want to sort the query results. Valid values:'."\n" + ."\n" + .'* ASC: the ascending order'."\n" + .'* DESC: the descending order'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'ASC', + ], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'The field that you use to sort the query results. Valid values:'."\n" + ."\n" + .'1. startTime: the time when the job starts'."\n" + .'2. endTime: the time when the job ends'."\n" + .'3. vcoreUtilization: the vCPU utilization of the job'."\n" + .'4. memUtilization: the memory usage of the job'."\n" + .'5. vcoreSeconds: the aggregated number of vCPUs that are allocated to the job multiplied by the number of seconds the job has been running'."\n" + .'6. memSeconds: the aggregated amount of memory that is allocated to the job multiplied by the number of seconds the job has been running'."\n" + .'7. score: the score of the job'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'score', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The details of jobs.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AppId' => [ + 'description' => 'The job ID in YARN. The value of QueryID or SessionID is returned for a Hive job.'."\n", + 'type' => 'string', + 'example' => 'application_1665056147236_*****', + ], + 'Ids' => [ + 'description' => 'The job IDs. Multiple job IDs are separated with commas (,).'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the job that was submitted to YARN.'."\n", + 'type' => 'string', + 'example' => 'application_1665056147236_*****', + ], + 'example' => 'null', + ], + 'AppName' => [ + 'description' => 'The name of the job.'."\n", + 'type' => 'string', + 'example' => 'data-upload', + ], + 'User' => [ + 'description' => 'The username that was used to submit the job.'."\n", + 'type' => 'string', + 'example' => 'DW', + ], + 'StartTime' => [ + 'description' => 'The time when the job was submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1677465658275', + ], + 'EndTime' => [ + 'description' => 'The time when the job ended. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1682049088086', + ], + 'Queue' => [ + 'description' => 'The YARN queue to which the job was submitted.'."\n", + 'type' => 'string', + 'example' => 'DW', + ], + 'Type' => [ + 'description' => 'The type of the compute engine.'."\n", + 'type' => 'string', + 'example' => 'TEZ', + ], + 'QuerySql' => [ + 'description' => 'The query statement. This parameter is left empty for non-SQL jobs.'."\n", + 'type' => 'string', + 'example' => 'SELECT id, count(1) FROM test group by id;'."\n", + ], + 'Metrics' => [ + 'description' => 'The data about metrics.'."\n", + 'type' => 'object', + 'properties' => [ + 'VcoreUtilization' => [ + 'description' => 'The CPU utilization. This parameter has the same meaning as %CPU in the Linux top command.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'vcoreUtilization', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '23.1', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of used vcore to total available cores'."\n", + ], + ], + ], + 'MemUtilization' => [ + 'description' => 'The memory usage'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'memUtilization'."\n", + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.23', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of used memory to total available memory'."\n", + ], + ], + ], + 'VcoreSeconds' => [ + 'description' => 'The CPU usage.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'vcoreSeconds', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '11123'."\n", + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'VCores * Sec'."\n", + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total vcore usage over time in seconds', + ], + ], + ], + 'MemSeconds' => [ + 'description' => 'The amount of memory consumed.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'memSeconds', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12312312', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB * Sec', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total memory usage over time in seconds', + ], + ], + ], + ], + ], + 'Analysis' => [ + 'description' => 'The analysis results of the jobs.'."\n", + 'type' => 'object', + 'properties' => [ + 'Score' => [ + 'description' => 'The score of the job.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '23', + ], + 'Suggestion' => [ + 'description' => 'The suggestion on executing the job.'."\n", + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'A pagination token.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The maximum number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"AppId\\": \\"application_1665056147236_*****\\",\\n \\"Ids\\": [\\n \\"application_1665056147236_*****\\"\\n ],\\n \\"AppName\\": \\"data-upload\\",\\n \\"User\\": \\"DW\\",\\n \\"StartTime\\": 1677465658275,\\n \\"EndTime\\": 1682049088086,\\n \\"Queue\\": \\"DW\\",\\n \\"Type\\": \\"TEZ\\",\\n \\"QuerySql\\": \\"SELECT id, count(1) FROM test group by id;\\\\n\\",\\n \\"Metrics\\": {\\n \\"VcoreUtilization\\": {\\n \\"Name\\": \\"vcoreUtilization\\",\\n \\"Value\\": 23.1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of used vcore to total available cores\\\\n\\"\\n },\\n \\"MemUtilization\\": {\\n \\"Name\\": \\"memUtilization\\\\n\\",\\n \\"Value\\": 0.23,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of used memory to total available memory\\\\n\\"\\n },\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\\\n\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"Score\\": 23,\\n \\"Suggestion\\": \\"##### 当前节点:container\\\\n##### 存在问题:\\\\n最大内存利用率为7.75%,利用率较低\\\\n\\\\n\\\\n尝试减小Tez Container内存,可通过hive.tez.container.size进行设置\\"\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorApplications', + 'summary' => 'Obtains the analysis results of multiple jobs on E-MapReduce (EMR) Doctor.', + ], + 'ListDoctorHDFSDirectories' => [ + 'description' => 'list Doctor HDFSNodes', + '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' => '一次获取的最大记录数。取值范围:1~100。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '2023-01-01'."\n", + ], + ], + [ + 'name' => 'DirPath', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '/tmp/test'."\n", + ], + ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ASC', + ], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'smallFileCount', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DirPath' => [ + 'description' => '', + 'type' => 'string', + 'example' => '/tmp/test', + ], + 'Depth' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'User' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DW', + ], + 'Group' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DW', + ], + 'Metrics' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalFileCount' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'totalFileCount', + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '51683279', + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Number of total files'."\n", + ], + ], + ], + 'LargeFileCount' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'largeFileCount', + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123'."\n", + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Number of large files'."\n", + ], + ], + ], + 'MediumFileCount' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'mediumFileCount', + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '323', + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Number of medium files'."\n", + ], + ], + ], + 'SmallFileCount' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'smallFileCount', + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12345'."\n", + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Number of small files'."\n", + ], + ], + ], + 'TinyFileCount' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'tinyFileCount'."\n", + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '232131', + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Number of tiny files', + ], + ], + ], + 'EmptyFileCount' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'emptyFileCount', + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '15595897', + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Number of empty files', + ], + ], + ], + 'HotDataSize' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'hotDataSize', + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '6701531944206', + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Size of the hot data size'."\n", + ], + ], + ], + 'WarmDataSize' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'warmDataSize'."\n", + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '4062349775577', + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Size of the warm data size'."\n", + ], + ], + ], + 'ColdDataSize' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'coldDataSize', + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5570958082267', + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Size of the cold data size'."\n", + ], + ], + ], + 'FreezeDataSize' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'freezeDataSize', + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1231312431', + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Size of the freeze data size'."\n", + ], + ], + ], + 'TotalDataSize' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'totalDataSize', + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '62086342083623', + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Total data size in megabytes (MB)'."\n", + ], + ], + ], + 'TotalFileDayGrowthCount' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'totalFileDayGrowthCount', + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '27809', + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth count of total files'."\n", + ], + ], + ], + 'LargeFileDayGrowthCount' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'largeFileDayGrowthCount', + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2'."\n", + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth count of large files'."\n", + ], + ], + ], + 'MediumFileDayGrowthCount' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'mediumFileDayGrowthCount', + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '176', + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth count of medium files'."\n", + ], + ], + ], + 'SmallFileDayGrowthCount' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'smallFileDayGrowthCount', + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12345', + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth count of small files'."\n", + ], + ], + ], + 'TinyFileDayGrowthCount' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'tinyFileDayGrowthCount', + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '-123'."\n", + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth count of tiny files', + ], + ], + ], + 'EmptyFileDayGrowthCount' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'emptyFileDayGrowthCount', + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '114'."\n", + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth count of empty files'."\n", + ], + ], + ], + 'HotDataDayGrowthSize' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'hotDataDayGrowthSize', + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123154'."\n", + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => ' '."\n" + .'Day growth size of hot data'."\n", + ], + ], + ], + 'WarmDataDayGrowthSize' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'warmDataDayGrowthSize', + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '-64806998319'."\n", + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth size of warm data'."\n", + ], + ], + ], + 'ColdDataDayGrowthSize' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'coldDataDayGrowthSize', + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '-182636577752'."\n", + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth size of cold data'."\n", + ], + ], + ], + 'FreezeDataDayGrowthSize' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'freezeDataDayGrowthSize', + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '-167683929450'."\n", + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth size of freeze data'."\n", + ], + ], + ], + 'TotalDataDayGrowthSize' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'totalDataDayGrowthSize', + ], + 'Value' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '256482228248', + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MB'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth size of total data'."\n", + ], + ], + ], + 'TotalFileCountDayGrowthRatio' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'totalFileCountDayGrowthRatio'."\n", + ], + 'Value' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.02'."\n", + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth ratio of total files'."\n", + ], + ], + ], + 'LargeFileCountDayGrowthRatio' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'largeFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.39'."\n", + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth ratio of large files'."\n", + ], + ], + ], + 'MediumFileCountDayGrowthRatio' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'mediumFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.19'."\n", + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth ratio of medium files'."\n", + ], + ], + ], + 'SmallFileCountDayGrowthRatio' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'smallFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.02'."\n", + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth ratio of small files'."\n", + ], + ], + ], + 'TinyFileCountDayGrowthRatio' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'tinyFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.003', + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth ratio of tiny files'."\n", + ], + ], + ], + 'EmptyFileCountDayGrowthRatio' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'emptyFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.005'."\n", + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth ratio of empty files', + ], + ], + ], + 'HotDataSizeDayGrowthRatio' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'hotDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => ' '."\n" + .'0.1114'."\n", + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth ratio of hot data size'."\n", + ], + ], + ], + 'WarmDataSizeDayGrowthRatio' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => ' '."\n" + .'warmDataSizeDayGrowthRatio'."\n", + ], + 'Value' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => ' '."\n" + .'-0.015'."\n", + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth ratio of warm data size'."\n", + ], + ], + ], + 'ColdDataSizeDayGrowthRatio' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'coldDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '-0.03'."\n", + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth ratio of cold data size'."\n", + ], + ], + ], + 'FreezeDataSizeDayGrowthRatio' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'freezeDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '-0.09'."\n", + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth ratio of freeze data size'."\n", + ], + ], + ], + 'TotalDataSizeDayGrowthRatio' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'totalDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.14', + ], + 'Unit' => [ + 'description' => '', + 'type' => 'string', + 'example' => '”“'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Day growth ratio of total data size'."\n", + ], + ], + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => '返回读取到的数据位置,空代表数据已经读取完毕。', + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => '本次请求所返回的最大记录条数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => '本次请求条件下的数据总量。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"DirPath\\": \\"/tmp/test\\",\\n \\"Depth\\": 2,\\n \\"User\\": \\"DW\\",\\n \\"Group\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 51683279,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 323,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\\\n\\",\\n \\"Value\\": 232131,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tiny files\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 15595897,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of empty files\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 6701531944206,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the hot data size\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\\\n\\",\\n \\"Value\\": 4062349775577,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the warm data size\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 5570958082267,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1231312431,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the freeze data size\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 62086342083623,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 27809,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 2,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 176,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": -123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of tiny files\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 114,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 123154,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"\\\\t\\\\nDay growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": -64806998319,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": -182636577752,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": -167683929450,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 256482228248,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\\\n\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.39,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.003,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.005,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.1114,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"\\\\t\\\\nwarmDataSizeDayGrowthRatio\\\\n\\",\\n \\"Value\\": -0.015,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.03,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.09,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.14,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListDoctorHDFSDirectories', + 'summary' => 'Obtains the analysis results of multiple Hadoop Distributed File System (HDFS) directories at a time on E-MapReduce (EMR) Doctor. The depth of directories is not greater than five.', + ], + 'GetDoctorHDFSCluster' => [ + 'description' => 'list Doctor HBaseTableRegions', + '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' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '2023-01-01', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The HDFS analysis results.'."\n", + 'type' => 'object', + 'properties' => [ + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'LargeFileCount' => [ + 'description' => 'The number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of large files', + ], + ], + ], + 'MediumFileCount' => [ + 'description' => 'The number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '234', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of medium files', + ], + ], + ], + 'SmallFileCount' => [ + 'description' => 'The number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12345', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of small files', + ], + ], + ], + 'TinyFileCount' => [ + 'description' => 'The number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '232131', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of tiny files', + ], + ], + ], + 'EmptyFileCount' => [ + 'description' => 'The number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '15595897', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of empty files', + ], + ], + ], + 'TotalFileCount' => [ + 'description' => 'The total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '51683279', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Number of total files', + ], + ], + ], + 'HotDataSize' => [ + 'description' => 'The amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '6701531944206', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the hot data size', + ], + ], + ], + 'WarmDataSize' => [ + 'description' => 'The amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '4062349775577', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the warm data size', + ], + ], + ], + 'ColdDataSize' => [ + 'description' => 'The amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5570958082267', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the cold data size', + ], + ], + ], + 'FreezeDataSize' => [ + 'description' => 'The amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1231312431', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Size of the freeze data size', + ], + ], + ], + 'TotalDataSize' => [ + 'description' => 'The total amount of data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '62086342083623', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total data size in megabytes (MB)', + ], + ], + ], + 'LargeFileRatio' => [ + 'description' => 'The proportion of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.22', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of large files', + ], + ], + ], + 'MediumFileRatio' => [ + 'description' => 'The proportion of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.21', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of medium files', + ], + ], + ], + 'SmallFileRatio' => [ + 'description' => 'The proportion of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.19', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of small files', + ], + ], + ], + 'TinyFileRatio' => [ + 'description' => 'The proportion of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.19', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of tiny files', + ], + ], + ], + 'EmptyFileRatio' => [ + 'description' => 'The proportion of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.3', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '""', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of empty files', + ], + ], + ], + 'HotDataRatio' => [ + 'description' => 'The proportion of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.22', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Hot data ratio', + ], + ], + ], + 'WarmDataRatio' => [ + 'description' => 'The proportion of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.12', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of warm data', + ], + ], + ], + 'ColdDataRatio' => [ + 'description' => 'The proportion of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.01', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Cold data ratio', + ], + ], + ], + 'FreezeDataRatio' => [ + 'description' => 'The proportion of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.12', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of freeze data', + ], + ], + ], + 'TotalFileDayGrowthCount' => [ + 'description' => 'The daily increment of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '27809', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of total files', + ], + ], + ], + 'LargeFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of large files', + ], + ], + ], + 'MediumFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '176', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of medium files', + ], + ], + ], + 'SmallFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12321', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of small files', + ], + ], + ], + 'TinyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '-123', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of tiny files', + ], + ], + ], + 'EmptyFileDayGrowthCount' => [ + 'description' => 'The daily increment of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileDayGrowthCount', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '114', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth count of empty files', + ], + ], + ], + 'HotDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123154', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of hot data', + ], + ], + ], + 'WarmDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '-64806998319', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of warm data', + ], + ], + ], + 'ColdDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '-182636577752', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of cold data', + ], + ], + ], + 'FreezeDataDayGrowthSize' => [ + 'description' => 'The daily increment of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '-167683929450', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of freeze data', + ], + ], + ], + 'TotalDataDayGrowthSize' => [ + 'description' => 'The daily incremental of the total data volume.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataDayGrowthSize', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '256482228248', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth size of total data', + ], + ], + ], + 'TotalFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total number of files.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.02', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of total files', + ], + ], + ], + 'LargeFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of large files. Large files are those with a size greater than 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'largeFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.39', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of large files', + ], + ], + ], + 'MediumFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of medium files. Medium files are those with a size greater than or equal to 128 MB and less than or equal to 1 GB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'mediumFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.19', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of medium files', + ], + ], + ], + 'SmallFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of small files. Small files are those with a size greater than or equal to 10 MB and less than 128 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'smallFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.02', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of small files', + ], + ], + ], + 'TinyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of very small files. Very small files are those with a size greater than 0 MB and less than 10 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'tinyFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.003', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of tiny files', + ], + ], + ], + 'EmptyFileCountDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the number of empty files. Empty files are those with a size of 0 MB.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'emptyFileCountDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.005', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of empty files', + ], + ], + ], + 'HotDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of hot data. Hot data refers to data that is accessed in recent seven days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'hotDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.1114', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of hot data size', + ], + ], + ], + 'WarmDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of warm data. Warm data refers to data that is not accessed for more than 7 days but is accessed in 30 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'warmDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '-0.015', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of warm data size', + ], + ], + ], + 'ColdDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of cold data. Cold data refers to data that is not accessed for more than 30 days but is accessed in 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'coldDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '-0.03', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of cold data size', + ], + ], + ], + 'FreezeDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the amount of very cold data. Very cold data refers to data that is not accessed for more than 90 days.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'freezeDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '-0.09', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of freeze data size', + ], + ], + ], + 'TotalDataSizeDayGrowthRatio' => [ + 'description' => 'The day-to-day growth rate of the total data volume.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'example' => 'totalDataSizeDayGrowthRatio', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.14', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '”“', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Day growth ratio of total data size', + ], + ], + ], + ], + ], + 'Analysis' => [ + 'description' => 'The analysis results.'."\n", + 'type' => 'object', + 'properties' => [ + 'HdfsScore' => [ + 'description' => 'The overall score of HDFS storage resources.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '55', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of large files\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 234,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of medium files\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of small files\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 232131,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of tiny files\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 15595897,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of empty files\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 51683279,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of total files\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 6701531944206,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 4062349775577,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 5570958082267,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1231312431,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 62086342083623,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.22,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of large files\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.21,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of medium files\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of small files\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of tiny files\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.3,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.22,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Hot data ratio\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.12,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of warm data\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Cold data ratio\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.12,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of freeze data\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 27809,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Day growth count of total files\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 2,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Day growth count of large files\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 176,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of medium files\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 12321,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of small files\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": -123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of tiny files\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 114,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of empty files\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 123154,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of hot data\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": -64806998319,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": -182636577752,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": -167683929450,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of freeze data\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 256482228248,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total files\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.39,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of large files\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of small files\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.003,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.005,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.1114,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.015,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.03,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.09,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.14,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HdfsScore\\": 55\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorHDFSCluster', + 'summary' => 'Obtains the analysis results of the Hadoop Distributed File System (HDFS) storage resources of a cluster on E-MapReduce (EMR) Doctor.', + ], + 'GetDoctorApplication' => [ + 'description' => 'get one doctor analysis app', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceQEA007', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'AppId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => 'app id', + 'description' => 'The ID of the job that is submitted to YARN.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'application_1542620905989_****', + ], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'description' => 'Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '2023-01-01', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The details of the job.'."\n", + 'type' => 'object', + 'properties' => [ + 'AppName' => [ + 'description' => 'The name of the job.'."\n", + 'type' => 'string', + 'example' => 'CREATE TABLE test...ranks=1 (Stage-1)', + ], + 'Ids' => [ + 'description' => 'The job IDs. Multiple job IDs are separated with commas (,).'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The job ID in YARN.'."\n", + 'type' => 'string', + 'example' => 'application_1643475036865_******', + ], + 'example' => 'null', + ], + 'User' => [ + 'description' => 'The username that is used to submit the job.'."\n", + 'type' => 'string', + 'example' => 'DW', + ], + 'StartTime' => [ + 'description' => 'The time when the job was submitted. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1677465658275', + ], + 'EndTime' => [ + 'description' => 'The end time of the job. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. Unit: milliseconds.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1666213200000', + ], + 'Queue' => [ + 'description' => 'The YARN queue to which the job was submitted.'."\n", + 'type' => 'string', + 'example' => 'DW', + ], + 'Type' => [ + 'description' => 'The type of the compute engine.'."\n", + 'type' => 'string', + 'example' => 'SPARK', + ], + 'QuerySql' => [ + 'description' => 'The SQL statement of the job. This parameter is left empty for non-SQL jobs.'."\n", + 'type' => 'string', + 'example' => 'SELECT id, count(1) FROM test group by id;', + ], + 'Metrics' => [ + 'description' => 'The metric information.'."\n", + 'type' => 'object', + 'properties' => [ + 'VcoreUtilization' => [ + 'description' => 'The CPU utilization. The meaning is the same as that of the %CPU command in the output of the Linux top command.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'enumValueTitles' => [], + 'example' => 'vcoreUtilization', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '32.1', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of used vcore to total available cores', + ], + ], + ], + 'MemUtilization' => [ + 'description' => 'The memory usage.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'enumValueTitles' => [], + 'example' => 'memUtilization', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'number', + 'format' => 'float', + 'example' => '0.82', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => '“”', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Ratio of used memory to total available memory', + ], + ], + ], + 'VcoreSeconds' => [ + 'description' => 'The aggregated number of vCPUs that are allocated to the job multiplied by the number of seconds the job has been running.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'enumValueTitles' => [], + 'example' => 'vcoreSeconds', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '11123', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'VCores * Sec', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total vcore usage over time in seconds', + ], + ], + ], + 'MemSeconds' => [ + 'description' => 'The aggregated amount of memory that is allocated to the job multiplied by the number of seconds the job has been running.'."\n", + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => 'The name of the metric.'."\n", + 'type' => 'string', + 'enumValueTitles' => [], + 'example' => 'memSeconds', + ], + 'Value' => [ + 'description' => 'The value of the metric.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12312312', + ], + 'Unit' => [ + 'description' => 'The unit of the metric.'."\n", + 'type' => 'string', + 'example' => 'MB * Sec', + ], + 'Description' => [ + 'description' => 'The description of the metric.'."\n", + 'type' => 'string', + 'example' => 'Total memory usage over time in seconds', + ], + ], + ], + ], + ], + 'Analysis' => [ + 'description' => 'The job analysis result.'."\n", + 'type' => 'object', + 'properties' => [ + 'Score' => [ + 'description' => 'The score of the job.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '67', + ], + 'Suggestion' => [ + 'description' => 'The suggestion for running the job.'."\n", + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"AppName\\": \\"CREATE TABLE test...ranks=1 (Stage-1)\\",\\n \\"Ids\\": [\\n \\"application_1643475036865_******\\"\\n ],\\n \\"User\\": \\"DW\\",\\n \\"StartTime\\": 1677465658275,\\n \\"EndTime\\": 1666213200000,\\n \\"Queue\\": \\"DW\\",\\n \\"Type\\": \\"SPARK\\",\\n \\"QuerySql\\": \\"SELECT id, count(1) FROM test group by id;\\",\\n \\"Metrics\\": {\\n \\"VcoreUtilization\\": {\\n \\"Name\\": \\"vcoreUtilization\\",\\n \\"Value\\": 32.1,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Ratio of used vcore to total available cores\\"\\n },\\n \\"MemUtilization\\": {\\n \\"Name\\": \\"memUtilization\\",\\n \\"Value\\": 0.82,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Ratio of used memory to total available memory\\"\\n },\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"Score\\": 67,\\n \\"Suggestion\\": \\"##### 当前节点:container\\\\n##### 存在问题:\\\\n最大内存利用率为7.75%,利用率较低\\\\n\\\\n\\\\n尝试减小Tez Container内存,可通过hive.tez.container.size进行设置\\\\n\\\\n\\"\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'GetDoctorApplication', + 'summary' => 'Obtains job analysis information on E-MapReduce (EMR) Doctor.', + ], + 'CreateUsers' => [ + 'summary' => 'Creates multiple users at a time.', + 'methods' => [ + 'post', + ], + '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' => '用户列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'UserName' => [ + 'title' => '用户名。', + 'description' => '用户名。', + 'type' => 'string', + 'required' => true, + 'example' => 'xi', + ], + 'Password' => [ + 'title' => '用户密码。', + 'description' => '用户密码。', + 'type' => 'string', + 'required' => true, + 'example' => '*Ab123', + ], + ], + 'required' => false, + ], + 'required' => true, + 'maxItems' => 20, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + 'Data' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"Data\\": true\\n}","type":"json"}]', + 'title' => 'CreateUsers', + 'description' => 'You can call this operation to create multiple users at a time.'."\n", + ], + 'DeleteUsers' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '258145', + 'abilityTreeNodes' => [ + 'FEATUREemapreduce3NR9KZ', + ], + ], + 'parameters' => [ + [ + 'name' => 'ClusterId', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'UserNames', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => [ + 'description' => 'The usernames. Number of elements in the array: 0 to 10.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The username.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'xi', + ], + 'required' => false, + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => ' '."\n" + .'DD6B1B2A-5837-5237-ABE4-FF0C8944****'."\n", + ], + 'Data' => [ + 'description' => 'Indicates whether the request was successful. Valid values: true and false.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\\\t\\\\nDD6B1B2A-5837-5237-ABE4-FF0C8944****\\\\n\\",\\n \\"Data\\": true\\n}","type":"json"}]', + 'title' => 'DeleteUsers', + 'summary' => 'Deletes multiple users at a time.', + 'description' => 'Deletes multiple users at a time.'."\n", + ], + 'UpdateUserAttribute' => [ + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '119865', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceQF0AGF', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '用户ID。', + 'description' => 'The user ID.'."\n", + 'type' => 'string', + 'deprecated' => true, + 'required' => false, + 'example' => '125046002175****', + ], + ], + [ + 'name' => 'UserName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The username.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'yun****', + ], + ], + [ + 'name' => 'Password', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '用户密码。', + 'description' => 'The user password.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1234', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '用户备注。', + 'description' => 'The remarks of the user.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'Indicates whether the request was successful. Valid values: true and false.'."\n", + 'type' => 'boolean', + 'deprecated' => true, + 'example' => 'true', + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + 'title' => 'UpdateUserAttribute', + 'summary' => 'Updates the information about a user.', + 'description' => 'Updates the information about a user.'."\n", + ], + 'ListUsers' => [ + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '119862', + 'abilityTreeNodes' => [ + 'FEATUREemapreduceQF0AGF', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '区域ID。', + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '集群ID。', + 'description' => 'The cluster ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'c-b933c5aac8fe****', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '标记当前开始读取的位置。', + 'description' => 'The pagination token that is used in the request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '一次获取的最大记录数。', + 'description' => 'The maximum number of entries to return.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'UserName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '用户名,支持模糊搜索。', + 'description' => 'The username. Fuzzy match is supported.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + [ + 'name' => 'UserNames', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => 'The usernames. Number of elements in the array: 0 to 20.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The username.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'xi', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'IsAdmin' => [ + 'description' => 'Indicates whether the user is an admin user. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'deprecated' => true, + 'example' => 'False', + ], + 'Users' => [ + 'title' => '用户列表。', + 'description' => 'The users.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LdapUrl' => [ + 'title' => 'LDAP链接。', + 'description' => 'The Lightweight Directory Access Protocol (LDAP) link.'."\n", + 'type' => 'string', + 'example' => 'ldap://master-1-1.c-c6ce2d16d118****.cn-hangzhou.emr.aliyuncs.com:10389', + ], + 'UserId' => [ + 'title' => '用户ID。', + 'description' => 'The user ID.'."\n", + 'type' => 'string', + 'example' => '125046002175****', + ], + 'UserName' => [ + 'title' => '用户名称。', + 'description' => 'The username.'."\n", + 'type' => 'string', + 'example' => 'yun****', + ], + 'KeytabHex' => [ + 'title' => 'Keytab内容Base64编码。', + 'description' => 'The Base64-encoded content of the keytab file.'."\n", + 'type' => 'string', + 'example' => 'DBEDASDF==', + ], + 'CreateTime' => [ + 'title' => '创建时间。', + 'description' => 'The creation time.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1509338726362', + ], + 'Description' => [ + 'title' => '备注。', + 'description' => 'The remarks.'."\n", + 'type' => 'string', + 'example' => '添加test用户', + ], + ], + 'description' => '', + ], + ], + 'RequestId' => [ + 'title' => '请求ID。', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + ], + 'NextToken' => [ + 'title' => '返回读取到的数据位置。', + 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + 'MaxResults' => [ + 'title' => '本次请求所返回的最大记录条数。', + 'description' => 'The maximum number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'TotalCount' => [ + 'title' => '本次请求条件下的数据总量。', + 'description' => 'The total number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ConflictParameters', + 'errorMessage' => 'Parameters that must not be used together. %s', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IsAdmin\\": true,\\n \\"Users\\": [\\n {\\n \\"LdapUrl\\": \\"ldap://master-1-1.c-c6ce2d16d118****.cn-hangzhou.emr.aliyuncs.com:10389\\",\\n \\"UserId\\": \\"125046002175****\\",\\n \\"UserName\\": \\"yun****\\",\\n \\"KeytabHex\\": \\"DBEDASDF==\\",\\n \\"CreateTime\\": 1509338726362,\\n \\"Description\\": \\"添加test用户\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + 'title' => 'ListUsers', + 'summary' => 'Queries a user.', + 'description' => 'Queries a user.'."\n", + ], + 'ExportApplicationConfigs' => [ + 'summary' => '导出应用服务配置', + 'methods' => [ + 'get', + 'post', + ], + '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' => '导出应用配置的文件格式。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'XML' => 'XML', + 'JSON' => 'JSON', + ], + 'example' => 'XML', + ], + ], + [ + 'name' => 'ExportMode', + 'in' => 'query', + 'schema' => [ + 'description' => '', + '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', + ], + [ + 'errorCode' => 'IncompleteSignature', + 'errorMessage' => 'The request signature is invalid.', + ], + [ + 'errorCode' => 'InvalidAction', + 'errorMessage' => 'The action %s requested is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified parameter %s is not valid.', + ], + [ + 'errorCode' => 'InvalidParameterValue', + 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + [ + 'errorCode' => 'MissingAction', + 'errorMessage' => 'The action %s requested is missing.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + [ + 'errorCode' => 'NotAuthorized', + 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + [ + 'errorCode' => 'ThrottlingException', + 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The resource not found by %s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceFailure', + 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ApplicationConfigs\\": [\\n {\\n \\"ApplicationName\\": \\"YARN\\",\\n \\"ConfigFileName\\": \\"yarn-site.xml\\",\\n \\"Content\\": \\"export key=value\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'us-west-1', + 'endpoint' => 'emr.us-west-1.aliyuncs.com', + ], + [ + 'regionId' => 'cn-qingdao', + 'endpoint' => 'emr.cn-qingdao.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'emr.cn-beijing.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'emr.cn-zhangjiakou.aliyuncs.com', + ], + [ + 'regionId' => 'cn-huhehaote', + 'endpoint' => 'emr.cn-huhehaote.aliyuncs.com', + ], + [ + 'regionId' => 'cn-wulanchabu', + 'endpoint' => 'emr.cn-wulanchabu.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'emr.cn-hangzhou.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'emr.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen', + 'endpoint' => 'emr.cn-shenzhen.aliyuncs.com', + ], + [ + 'regionId' => 'cn-chengdu', + 'endpoint' => 'emr.cn-chengdu.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong', + 'endpoint' => 'emr.cn-hongkong.aliyuncs.com', + ], + [ + 'regionId' => 'ap-northeast-1', + 'endpoint' => 'emr.ap-northeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'emr.ap-southeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-3', + 'endpoint' => 'emr.ap-southeast-3.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-5', + 'endpoint' => 'emr.ap-southeast-5.aliyuncs.com', + ], + [ + 'regionId' => 'us-east-1', + 'endpoint' => 'emr.us-east-1.aliyuncs.com', + ], + [ + 'regionId' => 'eu-west-1', + 'endpoint' => 'emr.eu-west-1.aliyuncs.com', + ], + [ + 'regionId' => 'eu-central-1', + 'endpoint' => 'emr.eu-central-1.aliyuncs.com', + ], + [ + 'regionId' => 'me-east-1', + 'endpoint' => 'emr.me-east-1.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-finance-1', + 'endpoint' => 'emr.cn-shanghai-finance-1.aliyuncs.com', + ], + [ + 'regionId' => 'me-central-1', + 'endpoint' => 'emr.me-central-1.aliyuncs.com', + ], + [ + 'regionId' => 'cn-heyuan-acdr-1', + 'endpoint' => 'emr.cn-heyuan-acdr-1.aliyuncs.com', + ], + ], +]; |
