ListAutoScalingActivities_E-MapReduce_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

流控信息

当前云产品API请求速率暂未透出。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
emr:ListAutoScalingActivities
List
全部资源
*

请求参数

字段名称字段详情
RegionIdstring

地域 ID。

示例值:cn-hangzhou
ClusterIdstring

集群 ID。

示例值:c-b933c5aac8fe****参考取值来源:
    RunCluster
    ListClusters
    CreateCluster
NextTokenstring

标记当前开始读取的位置。

示例值:DD6B1B2A-5837-5237-ABE4-FF0C89568980
MaxResultsinteger<int32>

一次获取的最大记录数。

示例值:20
NodeGroupIdstring

节点组 ID。

示例值:ng-869471354ecd****参考取值来源:
    ListNodeGroups
    CreateNodeGroup
ScalingRuleNamestring

伸缩规则名称。

示例值:scale-out-by-memroy参考取值来源:
    GetAutoScalingActivity
ScalingActivityStatesarray<string>

伸缩活动状态。数组元数个数 N 的取值范围:1~20。

示例值:["REJECTED","SUCCESSFUL"]子级条数 <= 20
ScalingActivityTypestring

伸缩活动类型。取值范围:展开详情

示例值:SCALE_IN参考取值来源:
    GetAutoScalingActivity
StartTimeinteger<int64>

查询伸缩活动创建时间的开始时间戳。单位为毫秒。

注意 该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。
示例值:1639714634819
EndTimeinteger<int64>

查询伸缩活动创建时间的结束时间戳。单位为毫秒。

注意 该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。
示例值:1639718634819
ScalingPolicyTypestring

返回参数

字段名称字段详情
ScalingActivitiesarray<object>

伸缩活动列表。

RequestIdstring

请求 ID。

示例值:DD6B1B2A-5837-5237-ABE4-FF0C8944****
NextTokenstring

返回读取到的数据位置。

示例值:DD6B1B2A-5837-5237-ABE4-FF0C89568980
MaxResultsinteger<int32>

本次请求所返回的最大记录条数。

示例值:20
TotalCountinteger<int32>

本次请求条件下的数据总量。

示例值:200

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
ConflictParameters
Parameters that must not be used together. %s诊断
400
IncompleteSignature
The request signature is invalid.诊断
400
InvalidAction
The action %s requested is invalid.诊断
400
InvalidParameter
The specified parameter %s is not valid.诊断
400
InvalidParameterValue
The input parameter %s is invalid or out of range.诊断
400
MissingAction
The action %s requested is missing.诊断
400
MissingParameter
The input parameter %s that is mandatory for processing this request is not supplied.诊断
400
NotAuthorized
You do not have permission to perform this action. %s诊断
400
ThrottlingException
The request was denied due to request throttling. %s诊断
404
ResourceNotFound
The resource not found by %s.诊断
500
InternalError
The request processing has failed due to some unknown error, exception or failure.诊断
503
ServiceFailure
The request has failed due to a temporary failure of %s service.诊断
503
ServiceUnavailable
The request has failed due to a temporary failure of the server.诊断

变更历史

变更时间变更内容概要操作
2022-02-15
新增OpenAPI,查询弹性伸缩活动

相关示例