This topic describes the basic information and precautions for calling API operations of Data Transmission Service (DTS).
For information about Alibaba Cloud APIs, see Overview.
Basic information
Versions
Version | Description |
Recommended | |
We do not recommend using these versions, because they support only limited operations. | |
Endpoints
You must use the endpoint based on the region of your instance to reduce latency. For more information about the endpoints, see Regions.
User identities
We recommend that you grant only sufficient permissions to a RAM user or RAM role and call an operation as the RAM user or by assuming the RAM role.
API style
API operations are called in the remote procedure call (RPC) style. For more information, see API styles.
Call methods
Call method | Supported | Description |
Alibaba Cloud SDK | Yes |
|
Alibaba Cloud CLI | No | For more information about how to use Alibaba Cloud CLI to call API operations, see Alibaba Cloud CLI. |
Yes | For more information about encapsulating an API request based on your business requirements, see Overview. |
We recommend that you use Alibaba Cloud SDKs to call API operations.
Usage notes
If an error is returned after you call an API operation, you need to check whether the values of the request parameters are valid based on the returned error code. For more information, see Data Transmission - Error Codes.
You can also save the returned request ID or SDK error information and use the Alibaba Cloud OpenAPI Diagnostics tool to perform self-service diagnostics.