阅读523 返回首页    go iPhone_iPad_Mac_手机_平板_苹果apple


查询执行计划实例__执行计划_API参考_E-MapReduce-阿里云

请求参数

字段 类型 是否必须 默认值 描述
Id String 执行计划Id
RegionId String
ExecutionPlanIdList Array<String> 查询的执行计划的Id列表,字符串数组,例如:[“WF-5D93B00901730B5E”,”WF-5D93B0090173ABCD”]
OnlyLastInstance Boolean false onlyLastInstance为ture的时候,表示返回执行计划id列表里面的所有执行计划的最近一次执行计划运行记录(即实例)。如果设置onlyLastInstance为true,不需要再设置pagename和pagesize参数,设置了也不会生效。
PageNumber Integer 1 请求的页码
PageSize Integer 10 请求的每页数量

返回参数

字段 类型 描述
ExecutionPlanInstances Array<ExecutionPlanInstance> 执行计划实例数据
TotalCount Integer 总条数
PageNumber Integer 当前页码
PageSize Integer 请求的每页数量

示例

请求示例

  1. https://emr.aliyuncs.com/?Action=ListExecutionPlanInstances
  2. &ExecutionPlanIdList=%5B%22WF-5D93B00901730B5E%22%2C%22WF-5D93B0090173ABCD%22%5D
  3. &OnlyLastInstance=true
  4. &PageNumber=1
  5. &PageSize=50
  6. &RegionId=cn-hangzhou
  7. &公共请求参数

返回格式

JSON 格式

  1. {
  2. "code": "200",
  3. "data": {
  4. "ExecutionPlanInstances": {
  5. "ExecutionPlanInstance": [
  6. {
  7. "ClusterId": "C-3C0EAC0AEB3505E0",
  8. "ClusterName": "b",
  9. "ClusterType": "2",
  10. "ExecutionPlanId": "WF-5D93B00901730B5E",
  11. "ExecutionPlanName": "smoketest_hivejoinonoss_existcluster",
  12. "Id": "1",
  13. "LogEnable": true,
  14. "LogPath": "oss://emr/logs",
  15. "RunTime": 259,
  16. "StartTime": 1455440610718,
  17. "Status": "SUCCESS"
  18. },
  19. {
  20. "ClusterId": "C-ADCAAC0AEB350081",
  21. "ClusterName": "Cluster_OnDemandWithHourSchedual",
  22. "ClusterType": "2",
  23. "ExecutionPlanId": "WF-5D93B0090173ABCD",
  24. "ExecutionPlanName": "EP_onDemandWithHourSchedual",
  25. "Id": "2",
  26. "LogEnable": true,
  27. "LogPath": "oss://genmao",
  28. "RunTime": 297,
  29. "StartTime": 1454585142032,
  30. "Status": "SUCCESS"
  31. }
  32. ]
  33. },
  34. "PageNumber": 1,
  35. "PageSize": 2,
  36. "RequestId": "1436ECB1-C06B-4DA4-92FF-387D94190340",
  37. "TotalCount": 2
  38. },
  39. "requestId": "1436ECB1-C06B-4DA4-92FF-387D94190340",
  40. "successResponse": true
  41. }

最后更新:2016-11-23 16:03:59

  上一篇:go 停止执行计划周期调度__执行计划_API参考_E-MapReduce-阿里云
  下一篇:go 查询作业实例列表__执行计划_API参考_E-MapReduce-阿里云