Packages
aws
0.13.2
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.14.1
0.14.0
0.13.3
0.13.2
0.13.1
0.13.0
0.12.0
0.11.0
0.10.1
0.10.0
0.9.2
0.9.1
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
AWS clients for Elixir
Current section
Files
Jump to
Current section
Files
lib/aws/generated/marketplace_entitlement.ex
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE!
# See https://github.com/aws-beam/aws-codegen for more details.
defmodule AWS.MarketplaceEntitlement do
@moduledoc """
AWS Marketplace Entitlement Service
This reference provides descriptions of the AWS Marketplace Entitlement Service
API.
AWS Marketplace Entitlement Service is used to determine the entitlement of a
customer to a given product. An entitlement represents capacity in a product
owned by the customer. For example, a customer might own some number of users or
seats in an SaaS application or some amount of data capacity in a multi-tenant
database.
## Getting Entitlement Records
* *GetEntitlements*- Gets the entitlements for a Marketplace
product.
"""
alias AWS.Client
alias AWS.Request
def metadata do
%{
abbreviation: nil,
api_version: "2017-01-11",
content_type: "application/x-amz-json-1.1",
credential_scope: nil,
endpoint_prefix: "entitlement.marketplace",
global?: false,
protocol: "json",
service_id: "Marketplace Entitlement Service",
signature_version: "v4",
signing_name: "aws-marketplace",
target_prefix: "AWSMPEntitlementService"
}
end
@doc """
GetEntitlements retrieves entitlement values for a given product.
The results can be filtered based on customer identifier or product dimensions.
"""
def get_entitlements(%Client{} = client, input, options \\ []) do
meta = metadata()
Request.request_post(client, meta, "GetEntitlements", input, options)
end
end