Alibaba Cloud Message Notification Service SDK for Elixir
def deps do
[
{:ex_aliyun_mns, "~> 0.1"}
]
end
Set the authorization configuration in config
file as a global setting, e.g.
config :ex_aliyun_mns,
access_key_id: "",
access_key_secret: "",
host: "https://xxxx.mns.us-east-1.aliyuncs.com"
Or, dynamically set or override the authorization configuration when execute operation via config_overrides
option, e.g.
ExAliyun.MNS.create_queue(
"test-queue",
config_overrides: [
access_key_id: "",
access_key_secret: "",
host: ""
]
)
Please refer Alibaba Cloud Message Notification Service API reference for details, this library provides the corresponding
functions via ExAliyun.MNS
{:target="_blank"} module.