Authors: Carl Isom III (carl.isom@gmail.com).
An Erlang interface to Marketplace Metering Service.
http://docs.aws.amazon.com/marketplacemetering/latest/APIReference/API_MeterUsage.html
http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/MarketplaceMetering.html
Method names match Marketplace Metering Service operations converted to lower_case_with_underscores.
Required parameters are passed as function arguments. In addition all methods take an options proplist argument which can be used to pass optional parameters.
Output is in the form of {ok, Value}
or {error, Reason}
.
erlcloud_retry:default_retry/1
as the default retry strategy, this behaviour can be changed through
aws_config()
.
json_return() = {ok, json_term()} | {error, term()}
json_term() = jsx:json_term()
batch_meter_usage/2 | Batch Meter Usage. |
batch_meter_usage/3 | |
configure/2 | |
configure/3 | |
meter_usage/5 | |
meter_usage/6 | |
new/2 | |
new/3 | |
resolve_customer/1 | |
resolve_customer/2 |
batch_meter_usage(ProductCode::binary(), UsageRecords::json_term()) -> json_return()
Batch Meter Usage
HTTP Documentation is still missing. Please see Java Script SDK Documentation http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/MarketplaceMetering.html#batchMeterUsage-property ------------------------------------------------------------------------------batch_meter_usage(ProductCode::binary(), UsageRecords::json_term(), Config::aws_config()) -> json_return()
configure(AccessKeyID::string(), SecretAccessKey::string()) -> ok
configure(AccessKeyID::string(), SecretAccessKey::string(), Host::string()) -> ok
meter_usage(ProductCode::binary(), Timestamp::number(), UsageDimension::binary(), UsageQuantity::number(), DryRun::boolean()) -> json_return()
meter_usage(ProductCode::binary(), Timestamp::number(), UsageDimension::binary(), UsageQuantity::number(), DryRun::boolean(), Config::aws_config()) -> json_return()
new(AccessKeyID::string(), SecretAccessKey::string()) -> aws_config()
new(AccessKeyID::string(), SecretAccessKey::string(), Host::string()) -> aws_config()
resolve_customer(RegistrationToken::binary()) -> json_return()
resolve_customer(RegistrationToken::binary(), Config::aws_config()) -> json_return()
Generated by EDoc