CreateApsSlsADBJob
Creates an APS pipeline from SLS to an ADB data warehouse.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:CreateApsSlsADBJob |
none |
*DBClusterLakeVersion
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The cluster ID. |
amv-********* |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| PartitionSpecs |
array<object> |
No |
The partition information. |
[] |
|
object |
No |
The partition information. |
- |
|
| Columns |
array<object> |
Yes |
The column information. |
[{"MapName":"test","MapType":"int","Name":"id","Type":"bigint"}] |
|
object |
No |
The column information. |
{"MapName":"test","MapType":"int","Name":"id","Type":"bigint"} |
|
| Name |
string |
No |
The column name. |
id |
| MapName |
string |
No |
The mapping name. |
test |
| Type |
string |
No |
The data type of the column. |
bigint |
| MapType |
string |
No |
The mapping type. |
int |
| PrimaryKeyDefinition |
string |
No |
The primary key definition. |
- |
| WorkloadName |
string |
Yes |
The workload name. |
sls-****** |
| LakehouseId |
integer |
No |
The lakehouse ID. |
123 |
| ResourceGroup |
string |
No |
The resource group name. |
test |
| AdvancedConfig |
string |
No |
The advanced configuration. |
- |
| HudiAdvancedConfig |
string |
No |
The Hudi advanced configuration. |
- |
| FullComputeUnit |
string |
No |
The full ACUs. |
16 |
| IncrementalComputeUnit |
string |
No |
The incremental ACUs. |
168 |
| Project |
string |
No |
The project name. |
test |
| Store |
string |
No |
The SLS store. |
test |
| StartingOffsets |
string |
Yes |
The starting offset. |
test |
| MaxOffsetsPerTrigger |
integer |
No |
The maximum number of offsets per trigger. |
20000 |
| DbName |
string |
Yes |
The database name. |
dbName |
| TableName |
string |
Yes |
The table name. |
test |
| OutputFormat |
string |
No |
The output format. |
- |
| TargetType |
string |
No |
The destination type. |
ADB |
| TargetGenerateRule |
string |
No |
The destination generation rule. |
- |
| AcrossUid |
string |
No |
The cross-account UID. |
123456 |
| AcrossRole |
string |
No |
The cross-account role name. |
test-role |
| SourceRegionId |
string |
No |
The region ID of the source cluster. |
cn-beijing |
| OssLocation |
string |
No |
The OSS location. |
oss://test* |
| DatasourceId |
integer |
No |
The data source ID. |
327 |
| DirtyDataProcessPattern |
string |
No |
The dirty data processing mode. |
STOP |
| ExactlyOnce |
string |
No |
Specifies whether exactly-once semantics is enabled. |
false |
| UnixTimestampConvert |
object |
No |
The UNIX timestamp conversion. |
{"Transform":false} |
| Convert |
string |
No |
The conversion. |
false。 |
| Format |
string |
No |
The format. |
APSyyyyMMdd |
| Transform |
boolean |
No |
Specifies whether to enable the conversion. |
false |
| UserName |
string |
Yes |
The username. |
user_test |
| Password |
string |
Yes |
The password. |
test_user |
| DirtyDataHandleMode |
string |
Yes |
The dirty data processing mode. |
STOP |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code returned by the request. A status code of 200 indicates that the request was successful. |
200 |
| Data |
string |
The returned data. |
aps-aa11111aa1aa1a1a |
| RequestId |
string |
The request ID. |
******-3EEC-******-9F06-****** |
| Success |
boolean |
The precheck result. Valid values:
|
True |
| Code |
string |
The operation status code or POP error code. |
InvalidInput |
| Message |
string |
The message returned for the call result. Valid values:
|
Success |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Data": "-",
"RequestId": "******-3EEC-******-9F06-******",
"Success": true,
"Code": "InvalidInput",
"Message": "Success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.