Modifies the consumption checkpoint of a change tracking instance.
- This operation is applicable to only the previous version of the change tracking feature. To use the new version, you must specify the SubscriptionInstanceNetworkType parameter when you call the ConfigureSubscriptionInstance operation. If you use the previous version, you do not need to specify the SubscriptionInstanceNetworkType parameter.
- If you use the new version, you need to set the consumption checkpoint on the change tracking client.
- When you call this operation, you must stop the change tracking client, and the change tracking task must be in the Normal state.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyConsumptionTimestamp |
The operation that you want to perform. Set the value to ModifyConsumptionTimestamp. |
ConsumptionTimestamp | String | Yes | 2019-10-15T17:20:03Z |
The consumption checkpoint. The format is yyyy-MM-ddTHH:mm:ssZ. The time is displayed in UTC. |
SubscriptionInstanceId | String | Yes | dtsg2m10r1x15a**** |
The ID of the change tracking instance. You can call the DescribeSubscriptionInstances operation to query the instance ID. |
RegionId | String | No | cn-hangzhou |
The ID of the region where the change tracking instance resides. For more information, see List of supported regions. |
AccountId | String | No | 12323344**** |
The ID of the Alibaba Cloud account. You do not need to specify this parameter because this parameter will be removed in the future. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
ErrCode | String | InternalError |
The error code returned if the call failed. |
ErrMessage | String | The request processing has failed due to some unknown error. |
The error message returned if the call failed. |
RequestId | String | ABBACEFC-CBA9-4F80-A337-42F202F5**** |
The ID of the request. |
Success | String | true |
Indicates whether the call was successful. |
Examples
Sample requests
http(s)://dts.aliyuncs.com/?Action=ModifyConsumptionTimestamp
&ConsumptionTimestamp=2019-10-15T17:20:03Z
&SubscriptionInstanceId=dtsg2m10r1x15a****
&<Common request parameters>
Sample success responses
XML
format
<ModifyConsumptionTimestampResponse>
<RequestId>ABBACEFC-CBA9-4F80-A337-42F202F5****</RequestId>
<Success>true</Success>
</ModifyConsumptionTimestampResponse>
JSON
format
{
"RequestId": "ABBACEFC-CBA9-4F80-A337-42F202F5****",
"Success": true
}
Error codes
For a list of error codes, visit the API Error Center.