AliyunOpenApiSdk V3
This SDK is packaged according to Alibaba Cloud APIs in the remote procedure call (RPC) style
It can simple call to all of Alibaba Cloud product api
Change file config/test.demo to config/test.exs .
Change file config/dev.demo to config/dev.exs .
Remember to set your ALI_YUN_REGIONS, ALIYUN_ACCESS_KEY and ALI_YUN_ACCESS_SECRET.
mix aliyun --namespace=<Product Code> && mix format mix.exs "lib/**/*.{ex,exs}"mix aliyun --namespace=CloudAPI && mix format mix.exs "lib/**/*.{ex,exs}"You can see the all of the product in the Products.md
alias AliyunOpenApiSdk.CloudAPI
CloudAPI.DescribeApiGroups.request(%{})alias AliyunOpenApiSdk.CloudAPI
CloudAPI.CreateApp.request(%{
AppName: "SingSing",
Description: "test",
Tag: [%{"test1" => "test1"}, %{"test2" => "test2"}]
})Click into the corresponding module for detailed documentation about parameters, required fields, and data types. Each API module has documentation embedded within it.
I originally planned to include the URL linking to the corresponding detailed documentation page, but there is an issue with Alibaba Cloud metadata that prevents me from retrieving it. I will figure out a solution to handle this later.
If available in Hex, the package can be installed
by adding aliyun_open_api_sdk to your list of dependencies in mix.exs:
def deps do
[
{:aliyun_open_api_sdk, "~> 0.1.0"}
]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/aliyun_open_api_sdk.