Retrieves information about a MaxCompute data shipping job.
Operation description
The Host consists of a project name and a Simple Log Service endpoint. You must specify the project in the Host.
An AccessKey pair has been created and obtained. For more information, see AccessKey pair.
An Alibaba Cloud account AccessKey pair has access permissions on all API operations, which poses high security risks. Create and use a Resource Access Management (RAM) user for API access or routine O&M. The RAM user must have permissions to operate Simple Log Service EPS resources. For specific operations, see Create a RAM user and authorization.
You have determined the name and region of the project to which the logs you want to query belong. For more information, see Manage a project.
Operation logs are recorded for this API operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:GetMaxComputeExport |
get |
*All Resource
|
None | None |
Request syntax
GET /maxcomputeexports/{mcExportName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| mcExportName |
string |
Yes |
The name of an existing unique job. |
export-mc-123456789-123456 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The name of the project. |
my-project |
Response elements
|
Element |
Type |
Description |
Example |
| MaxComputeExport |
The detailed job configuration. |
Examples
Success response
JSON format
{
"configuration": {
"logstore": "my-logstore",
"roleArn": "acs:ram::1234567890:role/aliyunlogdefaultrole\n",
"sink": {
"odpsEndpoint": "https://service.cn-hangzhou-intranet.maxcompute.aliyun-inc.com/api",
"odpsTunnelEndpoint": "https://dt.cn-hangzhou-intranet.maxcompute.aliyun-inc.com",
"odpsProject": "demo_project",
"odpsTable": "demo_table",
"odpsRolearn": "acs:ram::xxxxxxx",
"odpsAccessKeyId": "axxxxxxxxxxxb",
"odpsAccessSecret": "aaxxxxxxxxxxxxxxxxxxxxxbb",
"partitionTimeFormat": "%Y_%m_%d",
"timeZone": "+0800",
"filterInvalid": true,
"timeFormatType": "StrfTimeFormat",
"bufferInterval": "1800",
"fields": [
"'f1'"
],
"partitionColumn": [
"'p1'"
]
},
"fromTime": 1718380800,
"toTime": 1718390800
},
"createTime": 1718787534,
"description": "MaxComputeExport",
"displayName": "MaxComputeExport",
"lastModifiedTime": 1718787681,
"name": "MaxComputeExport",
"scheduleId": "c7f01719d9feb105fc9d8df92af62010",
"status": "RUNNING"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.