View Source AliyunOpenAPI.Specs.RPC (aliyun_open_api v0.6.0)
Describes an RPC style API.
APIs in the RPC style include:
- Elastic Compute Service (ECS)
- Content Delivery Network (CDN)
- ApsaraDB RDS
- ...
Examples
alias AliyunOpenAPI.Config
alias AliyunOpenAPI.Specs.RPC
config =
Config.new!(
access_key_id: "...",
access_key_secret: "..."
)
RPC.new!(config,
endpoint: "https://ecs-cn-hangzhou.aliyuncs.com/",
method: :post,
version: "2015-11-23",
action: "DescribeInstanceStatus",
params: %{
"RegionId" => "cn-hangzhou"
}
)
Summary
Types
Functions
@spec new!(AliyunOpenAPI.Config.t(), spec_opts()) :: t()