aliyun-openapi-core-rust-sdk
Aliyun OpenAPI POP core SDK for Rust.
Installation
Write into Cargo.toml dependencies:
[]
= "0.1.0"
Notes
You must know your AK
(accessKeyId/accessKeySecret
), and the aliyun product's endpoint
and apiVersion
.
For example, The ECS OpenAPI(https://help.aliyun.com/document_detail/25490.html), the API version is 2014-05-26
.
And the endpoint list can be found at here, the center endpoint is ecs.aliyuncs.com. Add http protocol http
or https
, should be https://ecs.aliyuncs.com/
.
Usage
The RPC style client:
use RPClient;
use Error;
The ROA style client:
unimplemented!;
Examples
Export AK info to env, then run cargo run --example <NAME>
:
# ecs example
# rds example
# slb example
# vpc example
License
The MIT License