This topic describes the basic information and usage notes when you call API operations by using Data Management (DMS).
For more information about how to call an Alibaba Cloud service API, see Overview.
RAM user (recommended)
RAM role (recommended)
We recommend that you use a RAM user or RAM role to call API operations. Before you use a RAM user or RAM role to call API operations, you need to grant permissions to the RAM user or RAM role.
The remote procedure call (RPC) style is used.
Alibaba Cloud SDK (recommended)
For more information about the programming languages that are supported by DMS SDK and the methods to install dependencies, visit DMS SDK.
If the preceding call methods cannot meet your business requirements, you can create custom APIs (not recommended). For more information, see Overview.
If an error is returned after you call an API operation, you must check whether the request parameters and their values are valid based on the returned error code. For more information, see DMS error codes.
You can also use Alibaba Cloud OpenAPI Diagnostics to perform self-service diagnostics based on the returned request ID or SDK error information.