CreateApsSlsADBJob
Creates an APS link from Simple Log Service (SLS) to an AnalyticDB 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. |
- |
|
object |
No |
The column information. |
- |
|
| Name |
string |
No |
The column name. |
id |
| MapName |
string |
No |
The mapping name. |
test |
| Type |
string |
No |
The column data type. |
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 |
lakehosue 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 number of AnalyticDB compute units (ACUs) for full data synchronization. |
16 |
| IncrementalComputeUnit |
string |
No |
The number of AnalyticDB compute units (ACUs) for incremental data synchronization. |
168 |
| Project |
string |
No |
The project name. |
test |
| Store |
string |
No |
sls Store. |
test |
| StartingOffsets |
string |
Yes |
The starting offset for delivery. |
test |
| MaxOffsetsPerTrigger |
integer |
No |
The maximum offset. |
- |
| 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 generation rule for the destination. |
- |
| AcrossUid |
string |
No |
The UID for cross-account access. |
123456 |
| AcrossRole |
string |
No |
The role name for cross-account access. |
test-role |
| SourceRegionId |
string |
No |
The region ID of the source cluster. |
cn-beijing |
| OssLocation |
string |
No |
The OSS address. |
oss://test* |
| DatasourceId |
integer |
No |
The data source ID. |
327 |
| DirtyDataProcessPattern |
string |
No |
The dirty data processing mode. |
STOP |
| ExactlyOnce |
string |
No |
Specifies whether to enable exactly-once semantics. |
false |
| UnixTimestampConvert |
object |
No |
The UNIX timestamp conversion configuration. |
- |
| Convert |
string |
No |
The conversion method. |
false. |
| Format |
string |
No |
The format. |
APSyyyyMMdd |
| Transform |
boolean |
No |
Specifies whether to enable conversion. |
false |
| UserName |
string |
Yes |
The username. |
user_test |
| Password |
string |
Yes |
The password. |
test_user |
| DirtyDataHandleMode |
string |
Yes |
The dirty data processing mode. |
- |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code returned. A value of 200 indicates that the request was successful. |
200 |
| Data |
string |
The returned data. |
- |
| RequestId |
string |
The request ID. |
******-3EEC-******-9F06-****** |
| Success |
boolean |
The result of the precheck. Valid values:
|
True |
| Code |
string |
The API status or POP error code. |
InvalidInput |
| Message |
string |
The message returned for the call. 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.