You need to enable JavaScript to run this app.
E-MapReduce

E-MapReduce

Copy page
Download PDF
Operations management
ListOperations - Operation list
Copy page
Download PDF
ListOperations - Operation list

Operation list

Usage instructions

Call ListOperations to get the operation list of an E-MapReduce (EMR) cluster.

important notes

You must have a Volcano Engine account, and EMR permissions must be enabled.

Request instructions

Request method: POST
Request URL: https://emr.cn-beijing.volcengineapi.com/?Version=2023-08-15&Action=ListComponents

Debug

Request parameters

The following table lists only the unique request parameters for this interface and some common parameters. For more information, see common parameters.

const columns = [ 
  { 
    width: '20%', 
title: 'Parameter', 
    dataIndex: 'Name', 
    className: 'openapi-doc-parameter-table-name' 
  }, 
  { 
    width: 130, 
title: 'Type', 
    dataIndex: 'DataType', 
    className: 'openapi-doc-parameter-table-type' 
  }, 
  { 
    width: 90, 
title: 'Required', 
    dataIndex: 'IsRequired', 
    className: 'openapi-doc-parameter-table-required' 
  }, 
  { 
    width: '20%', 
title: 'Example value', 
    dataIndex: 'Example', 
    className: 'openapi-doc-parameter-table-example' 
  }, 
  { 
title: 'Description', 
    dataIndex: 'Description', 
    className: 'openapi-doc-parameter-table-description' 
  }, 
]; 

const data = [ 
  { 
    rowKey: '->Action', 
    Name: 'Action', 
    DataType: 'String', 
IsRequired: 'Yes', 
    Example: <RenderMd content={"ListOperations"} />, 
Description: <RenderMd content={"The operation to be performed. Value: ListOperations."} />, 
    children: [ 
    ] 
  }, 
  { 
    rowKey: '->Version', 
    Name: 'Version', 
    DataType: 'String', 
IsRequired: 'Yes', 
    Example: <RenderMd content={"2023-08-15"} />, 
Description: <RenderMd content={"API version. Value: 2023-08-15."} />, 
    children: [ 
    ] 
  }, 
  { 
    rowKey: '->ClusterId', 
    Name: 'ClusterId', 
    DataType: 'String', 
IsRequired: 'No', 
    Example: <RenderMd content={"emr-xxx"} />, 
    Description: <RenderMd content={"ClusterId"} />, 
    children: [ 
    ] 
  }, 
  { 
    rowKey: '->ClusterIds', 
    Name: 'ClusterIds', 
    DataType: 'Array of String', 
IsRequired: 'No', 
    Example: <RenderMd content={"["emr-xxx"]"} />, 
Description: <RenderMd content={"Cluster ID list"} />, 
    children: [ 
    ] 
  }, 
  { 
    rowKey: '->ProjectName', 
    Name: 'ProjectName', 
    DataType: 'String', 
IsRequired: 'No', 
    Example: <RenderMd content={"default"} />, 
    Description: <RenderMd content={"ProjectName"} />, 
    children: [ 
    ] 
  }, 
  { 
    rowKey: '->OperateIds', 
    Name: 'OperateIds', 
    DataType: 'Array of String', 
IsRequired: 'No', 
    Example: <RenderMd content={"["xxx"]"} />, 
Description: <RenderMd content={"Operation ID list"} />, 
    children: [ 
    ] 
  }, 
  { 
    rowKey: '->OperatorName', 
    Name: 'OperatorName', 
    DataType: 'String', 
IsRequired: 'No', 
    Example: <RenderMd content={"xxx"} />, 
Description: <RenderMd content={"Operator ID, fuzzy search"} />, 
    children: [ 
    ] 
  }, 
  { 
    rowKey: '->OperateName', 
    Name: 'OperateName', 
    DataType: 'String', 
IsRequired: 'No', 
Example: <RenderMd content={"Release cluster"} />, 
Description: <RenderMd content={"Operation name fuzzy search"} />, 
    children: [ 
    ] 
  }, 
  { 
    rowKey: '->CreateTimeBefore', 
    Name: 'CreateTimeBefore', 
    DataType: 'Long', 
IsRequired: 'No', 
    Example: <RenderMd content={"1701694832739"} />, 
Description: <RenderMd content={"Operation date filter start time, timestamp in milliseconds"} />, 
    children: [ 
    ] 
  }, 
  { 
    rowKey: '->CreateTimeAfter', 
    Name: 'CreateTimeAfter', 
    DataType: 'Long', 
IsRequired: 'No', 
    Example: <RenderMd content={"1701696832739"} />, 
Description: <RenderMd content={"Operation date filter end time, timestamp in milliseconds"} />, 
    children: [ 
    ] 
  }, 
  { 
    rowKey: '->Tags', 
    Name: 'Tags', 
    DataType: 'Array of Object', 
IsRequired: 'No', 
    Example: <RenderMd content={"xxx"} />, 
Description: <RenderMd content={"Tag information list"} />, 
    children: [ 
        { 
          rowKey: '->Tags->Key', 
          Name: 'Key', 
          DataType: 'String', 
IsRequired: 'Yes', 
          Example: <RenderMd content={"xxx"} />, 
Description: <RenderMd content={"Tag key"} />, 
          children: [ 
          ] 
        }, 
        { 
          rowKey: '->Tags->Value', 
          Name: 'Value', 
          DataType: 'String', 
IsRequired: 'Yes', 
          Example: <RenderMd content={"xxx"} />, 
Description: <RenderMd content={"Tag value"} />, 
          children: [ 
          ] 
        }, 
    ] 
  }, 

]; 

return (<Table 
  rowKey="rowKey" 
  className="openapi-doc-parameter-table" 
  columns={columns} 
  data={data} 
  border={ { cell: true, wrapper: true } } 
  scroll={ { x: "auto" } } 
  pagination={false} 
/>);

Response parameters

The following table lists only the unique response parameters for this interface. For more information, see response structure

Parameter
Type
Example value
Description
Items
Array of Object

--

Operation information list

MaxResults
Integer

10

Maximum number of records returned per query

NextToken
String

57N8YtDWZ1LbCkWySngtD3zSgO2YTwUgwmKm/aiKplz4HQgNCpV39A3c3EOggDJ9

Token for the next page in paginated queries

TotalCount
Integer

69463

Total number of records

Sample request

{ 
    "ClusterIds":["emr-xxx"] 
}

Sample response

{ 
    "ResponseMetadata": { 
        "RequestId": "20231204210119283E2950E5FAxxx", 
        "Action": "ListOperations", 
        "Version": "2023-08-15", 
        "Service": "emr", 
        "Region": "cn-beijing", 
        "Error": null, 
        "Deprecated": false 
    }, 
    "Result": { 
        "Items": [ 
            { 
                "ClusterId": "emr-xxx", 
                "OperateId": "107069", 
"OperateName": "Release node[core-1-1.emr-xxx]", 
                "OperateState": "SUCCESS", 
                "OperateType": "NOT_MATCHED_TYPE", 
                "OperatorId": null, 
                "OperatorName": null, 
                "CreateTime": 1701694832755, 
                "UpdateTime": 1701694832769, 
                "StartTime": 1701694832757, 
                "EndTime": 1701694832768 
            }, 
            { 
                "ClusterId": "emr-xxx", 
                "OperateId": "107068", 
"OperateName": "Release node[main-1-1.emr-xxx]", 
                "OperateState": "SUCCESS", 
                "OperateType": "NOT_MATCHED_TYPE", 
                "OperatorId": null, 
                "OperatorName": null, 
                "CreateTime": 1701694832739, 
                "UpdateTime": 1701694832752, 
                "StartTime": 1701694832741, 
                "EndTime": 1701694832751 
            },... 
        ], 
        "TotalCount": 69463, 
        "MaxResults": 10, 
        "NextToken": "57N8YtDWZ1LbCkWySngtD3zSgO2YTwUgwmKm/aiKplz4HQgNCpV39A3c3EOggDJ9" 
    } 
}

Error codes

You can visit common error codes for more error code information.

Last updated: 2026.06.01 17:04:20