Aliyun Log Service SDK reference covering configuration, error handling, API conventions and SDK usage for Java, Python, .NET, Node.js, PHP, Go, Android, C…
This document is the reference guide for the Aliyun Log Service SDK, version 20210521. It explains the general conventions used in the documentation, the basic configuration needed to use the SDK, error handling, API specifications, and the usage of SDKs for multiple programming languages.
The SDKs wrap the Log Service APIs in each supported language, providing unified API encapsulation, request signing, ProtoBuffer log format handling, compression support and a consistent error handling mechanism. All language implementations currently provide only synchronous requests. This manual is written in Chinese.
| Document version | 20210521 |
|---|---|
| Supported SDK languages | Java, .NET, .NET Core, Node.js, PHP, Python, Go, Android, C, iOS, C++, JavaScript |
| Request mode | Synchronous only |
| Client entry class | Client |
| Supported protocols | HTTPS and HTTP |
| Client configuration parameters | Endpoint, AccessKey ID, AccessKey secret |
You must specify the service endpoint (Endpoint) and the access key pair (AccessKey ID and AccessKey secret) when constructing the Client.
The SDK cannot access the specified Project, so the region of the Project and the region corresponding to the Endpoint must be kept consistent.
The AccessKey ID and AccessKey secret must be paired and the key pair must be in an enabled state, otherwise the server will reject the request.
No. All language implementations of the SDK currently provide only synchronous requests.