Domain name for API request: emr.intl.tencentcloudapi.com.
This API is used to obtain the instance operation logs.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DescribeInstanceOplog. |
| Version | Yes | String | Common Params. The value used for this API: 2019-01-03. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| InstanceId | Yes | String | EMR instance ID. |
| Offset | Yes | Integer | Offset. |
| Limit | Yes | Integer | Number of entries per page. |
| StartTime | No | Integer | Start time timestamp. |
| EndTime | No | Integer | End time timestamp. |
| SearchFields.N | No | Array of SearchItem | Search criteria array. |
| Operand | No | String | Cluster, node, and component. |
| SecurityLevel | No | String | Low-risk, medium-risk, and high-risk. |
| Parameter Name | Type | Description |
|---|---|---|
| TotalCnt | Integer | Number of operation logs. |
| LogList | Array of OperationLog | Operation log list. |
| OperandList | Array of String | Operation object option array. |
| SecurityLevelList | Array of String | Security-level filtering array. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
This example shows you how to obtain instance operation logs after the instance ID is specified.
https://emr.intl.tencentcloudapi.com/?Action=DescribeInstanceOplog
&InstanceId=emr-0sfuq468
&Offset=0
&Limit=1
&<Common request parameters>
{
"Response": {
"LogList": [
{
"CreateTime": "2020-02-19 20:58:11",
"InstanceId": 59763,
"Operand": "Cluster",
"Operation": "Create a cluster.",
"OperationDesc": "---",
"OperationType": 1,
"Operator": "1875765535",
"SecurityLevel": "Low-risk",
"UserType": 1
}
],
"RequestId": "d7f5f443-f471-4970-85e3-419fb7f6e355",
"TotalCnt": 1,
"OperandList": [
"Component",
"Node",
"Cluster"
],
"SecurityLevelList": [
"Low-risk",
"Medium-risk",
"High-risk"
]
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| InternalError.CamCgwError | Internal service call exception. |
| InvalidParameter.InvalidAppId | Invalid parameter: APPID. |
| InvalidParameter.InvalidResourceId | Invalid resource ID. |
| ResourceNotFound.InstanceNotFound | The instance cannot be found. |
| UnauthorizedOperation.CheckCamAuth | No permission to verify account operations. |
フィードバック