All Products
Search
Document Center

Data Transmission Service:ModifyDtsJobDuLimit

更新時間:May 06, 2024

Changes the upper limit of DTS units (DUs) for a Data Transmission Service (DTS) task.

  • DTS allows you to upgrade or downgrade the configurations of DTS instances in a dedicated cluster. You can adjust the resources that are occupied for task execution to dynamically adjust the number of tasks that can be scheduled in the cluster. This way, you can reduce the total number of DUs required for the cluster or release DUs.

  • Before you change the upper limit of DUs for a DTS task, make sure that sufficient DUs are available.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter

Type

Required

Example

Description

Action

String

Yes

ModifyDtsJobDuLimit

The operation that you want to perform. Set the value to ModifyDtsJobDuLimit.

DtsJobId

String

Yes

dtsxxx

The ID of the data migration, data synchronization, or change tracking task.

DuLimit

Long

Yes

1

The upper limit of DUs for the DTS task.

Note

The minimum value is 1.

RegionId

String

No

cn-hangzhou

The ID of the region.

Response parameters

Parameter

Type

Example

Description

RequestId

String

621BB4F8-3016-4FAA-8D5A-5D3163CC****

The ID of the request.

HttpStatusCode

Long

200

The HTTP status code.

DynamicMessage

String

Type

The dynamic part in the error message. This parameter is used to replace the %s variable in the value of ErrMessage.

ErrMessage

String

The Value of Input Parameter %s is not valid.

The error message returned if the request failed.

Code

String

500

The error code returned by the backend service. The number is incremented.

Success

Boolean

true

Indicates whether the request was successful.

ErrCode

String

InternalError

The error code returned if the request failed.

Examples

Sample requests

http(s)://dts.aliyuncs.com/?Action=ModifyDtsJobDuLimit
&DtsJobId=dtsxxx
&DuLimit=1
&RegionId=cn-hangzhou
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<ModifyDtsJobDuLimitResponse>
    <code>200</code>
    <data>
        <RequestId>229866A4-4C4A-1A46-8074-***</RequestId>
        <HttpStatusCode>200</HttpStatusCode>
        <Success>true</Success>
    </data>
    <httpStatusCode>200</httpStatusCode>
    <requestId>229866A4-4C4A-1A46-8074-***</requestId>
    <successResponse>true</successResponse>
</ModifyDtsJobDuLimitResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "code" : "200",
  "data" : {
    "RequestId" : "229866A4-4C4A-1A46-8074-***",
    "HttpStatusCode" : 200,
    "Success" : true
  },
  "httpStatusCode" : "200",
  "requestId" : "229866A4-4C4A-1A46-8074-***",
  "successResponse" : true
}

Error codes

HTTP status code

Error code

Error message

Description

400

Throttling.User

Request was denied due to user flow control.

The number of requests reached the limit and the request was rejected. Try again later.

500

ServiceUnavailable

The request has failed due to a temporary failure of the server.

The response of the server timed out or the server was unavailable. Try again. If the error persists, contact technical support.

403

InvalidSecurityToken.Expired

Specified SecurityToken is expired.

The signature expired. Use a new signature.

For a list of error codes, see Service error codes.