All Products
Search
Document Center

Simple Log Service:GetMaxComputeExport

Last Updated:Apr 28, 2025

Queries a MaxCompute data shipping job.

Operation description

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • An AccessKey pair is created and obtained. For more information, see AccessKey pair.

The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see Create a RAM user and authorize the RAM user to access Simple Log Service.

  • The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see Manage a project

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

GET /maxcomputeexports/{mcExportName} HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
projectstringYes

The name of the project.

my-project
mcExportNamestringYes

The unique name of the job. Make sure that the job exists.

export-mc-123456789-123456

Response parameters

ParameterTypeDescriptionExample
MaxComputeExport

The detailed setting of the MaxCompute data shipping job.

Examples

Sample success responses

JSONformat

{
  "name": "MaxComputeExport",
  "description": "MaxComputeExport",
  "displayName": "MaxComputeExport",
  "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",
      "fields": [
        "'f1'"
      ],
      "partitionColumn": [
        "'p1'"
      ],
      "filterInvalid": true,
      "timeFormatType": "StrfTimeFormat",
      "bufferInterval": 1800
    },
    "fromTime": 1718380800,
    "toTime": 1718390800
  },
  "createTime": 1718787534,
  "lastModifiedTime": 1718787681,
  "status": "RUNNING",
  "scheduleId": "c7f01719d9feb105fc9d8df92af62010"
}

Error codes

For a list of error codes, visit the Service error codes.