amazonka-marketplace-entitlement-1.6.1: Amazon Marketplace Entitlement Service SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.MarketplaceEntitlement.Types

Contents

Description

 
Synopsis

Service Configuration

marketplaceEntitlement :: Service Source #

API version 2017-01-11 of the Amazon Marketplace Entitlement Service SDK configuration.

Errors

_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source #

One or more parameters in your request was invalid.

_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The calls to the GetEntitlements API are throttled.

_InternalServiceErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source #

An internal error has occurred. Retry your request. If the problem persists, post a message with details on the AWS forums.

GetEntitlementFilterName

data GetEntitlementFilterName Source #

Instances
Bounded GetEntitlementFilterName Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Sum

Enum GetEntitlementFilterName Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Sum

Eq GetEntitlementFilterName Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Sum

Data GetEntitlementFilterName Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetEntitlementFilterName -> c GetEntitlementFilterName #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetEntitlementFilterName #

toConstr :: GetEntitlementFilterName -> Constr #

dataTypeOf :: GetEntitlementFilterName -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetEntitlementFilterName) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetEntitlementFilterName) #

gmapT :: (forall b. Data b => b -> b) -> GetEntitlementFilterName -> GetEntitlementFilterName #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetEntitlementFilterName -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetEntitlementFilterName -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetEntitlementFilterName -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetEntitlementFilterName -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetEntitlementFilterName -> m GetEntitlementFilterName #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetEntitlementFilterName -> m GetEntitlementFilterName #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetEntitlementFilterName -> m GetEntitlementFilterName #

Ord GetEntitlementFilterName Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Sum

Read GetEntitlementFilterName Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Sum

Show GetEntitlementFilterName Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Sum

Generic GetEntitlementFilterName Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Sum

Associated Types

type Rep GetEntitlementFilterName :: Type -> Type #

Hashable GetEntitlementFilterName Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Sum

ToJSON GetEntitlementFilterName Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Sum

ToHeader GetEntitlementFilterName Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Sum

ToQuery GetEntitlementFilterName Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Sum

ToByteString GetEntitlementFilterName Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Sum

FromText GetEntitlementFilterName Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Sum

ToText GetEntitlementFilterName Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Sum

NFData GetEntitlementFilterName Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Sum

type Rep GetEntitlementFilterName Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Sum

type Rep GetEntitlementFilterName = D1 (MetaData "GetEntitlementFilterName" "Network.AWS.MarketplaceEntitlement.Types.Sum" "amazonka-marketplace-entitlement-1.6.1-BTroj57dembIeotbn3nyO1" False) (C1 (MetaCons "CustomerIdentifier" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Dimension" PrefixI False) (U1 :: Type -> Type))

Entitlement

data Entitlement Source #

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.

See: entitlement smart constructor.

Instances
Eq Entitlement Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Product

Data Entitlement Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Entitlement -> c Entitlement #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Entitlement #

toConstr :: Entitlement -> Constr #

dataTypeOf :: Entitlement -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Entitlement) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Entitlement) #

gmapT :: (forall b. Data b => b -> b) -> Entitlement -> Entitlement #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Entitlement -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Entitlement -> r #

gmapQ :: (forall d. Data d => d -> u) -> Entitlement -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Entitlement -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Entitlement -> m Entitlement #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Entitlement -> m Entitlement #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Entitlement -> m Entitlement #

Read Entitlement Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Product

Show Entitlement Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Product

Generic Entitlement Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Product

Associated Types

type Rep Entitlement :: Type -> Type #

Hashable Entitlement Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Product

FromJSON Entitlement Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Product

NFData Entitlement Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Product

Methods

rnf :: Entitlement -> () #

type Rep Entitlement Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Product

type Rep Entitlement = D1 (MetaData "Entitlement" "Network.AWS.MarketplaceEntitlement.Types.Product" "amazonka-marketplace-entitlement-1.6.1-BTroj57dembIeotbn3nyO1" False) (C1 (MetaCons "Entitlement'" PrefixI True) ((S1 (MetaSel (Just "_eDimension") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EntitlementValue))) :*: (S1 (MetaSel (Just "_eExpirationDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_eCustomerIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eProductCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

entitlement :: Entitlement Source #

Creates a value of Entitlement with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • eDimension - The dimension for which the given entitlement applies. Dimensions represent categories of capacity in a product and are specified when the product is listed in AWS Marketplace.
  • eValue - The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.
  • eExpirationDate - The expiration date represents the minimum date through which this entitlement is expected to remain valid. For contractual products listed on AWS Marketplace, the expiration date is the date at which the customer will renew or cancel their contract. Customers who are opting to renew their contract will still have entitlements with an expiration date.
  • eCustomerIdentifier - The customer identifier is a handle to each unique customer in an application. Customer identifiers are obtained through the ResolveCustomer operation in AWS Marketplace Metering Service.
  • eProductCode - The product code for which the given entitlement applies. Product codes are provided by AWS Marketplace when the product listing is created.

eDimension :: Lens' Entitlement (Maybe Text) Source #

The dimension for which the given entitlement applies. Dimensions represent categories of capacity in a product and are specified when the product is listed in AWS Marketplace.

eValue :: Lens' Entitlement (Maybe EntitlementValue) Source #

The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.

eExpirationDate :: Lens' Entitlement (Maybe UTCTime) Source #

The expiration date represents the minimum date through which this entitlement is expected to remain valid. For contractual products listed on AWS Marketplace, the expiration date is the date at which the customer will renew or cancel their contract. Customers who are opting to renew their contract will still have entitlements with an expiration date.

eCustomerIdentifier :: Lens' Entitlement (Maybe Text) Source #

The customer identifier is a handle to each unique customer in an application. Customer identifiers are obtained through the ResolveCustomer operation in AWS Marketplace Metering Service.

eProductCode :: Lens' Entitlement (Maybe Text) Source #

The product code for which the given entitlement applies. Product codes are provided by AWS Marketplace when the product listing is created.

EntitlementValue

data EntitlementValue Source #

The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.

See: entitlementValue smart constructor.

Instances
Eq EntitlementValue Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Product

Data EntitlementValue Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EntitlementValue -> c EntitlementValue #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EntitlementValue #

toConstr :: EntitlementValue -> Constr #

dataTypeOf :: EntitlementValue -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EntitlementValue) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EntitlementValue) #

gmapT :: (forall b. Data b => b -> b) -> EntitlementValue -> EntitlementValue #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EntitlementValue -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EntitlementValue -> r #

gmapQ :: (forall d. Data d => d -> u) -> EntitlementValue -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EntitlementValue -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EntitlementValue -> m EntitlementValue #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EntitlementValue -> m EntitlementValue #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EntitlementValue -> m EntitlementValue #

Read EntitlementValue Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Product

Show EntitlementValue Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Product

Generic EntitlementValue Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Product

Associated Types

type Rep EntitlementValue :: Type -> Type #

Hashable EntitlementValue Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Product

FromJSON EntitlementValue Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Product

NFData EntitlementValue Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Product

Methods

rnf :: EntitlementValue -> () #

type Rep EntitlementValue Source # 
Instance details

Defined in Network.AWS.MarketplaceEntitlement.Types.Product

type Rep EntitlementValue = D1 (MetaData "EntitlementValue" "Network.AWS.MarketplaceEntitlement.Types.Product" "amazonka-marketplace-entitlement-1.6.1-BTroj57dembIeotbn3nyO1" False) (C1 (MetaCons "EntitlementValue'" PrefixI True) ((S1 (MetaSel (Just "_evIntegerValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_evDoubleValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 (MetaSel (Just "_evStringValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_evBooleanValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))

entitlementValue :: EntitlementValue Source #

Creates a value of EntitlementValue with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • evIntegerValue - The IntegerValue field will be populated with an integer value when the entitlement is an integer type. Otherwise, the field will not be set.
  • evDoubleValue - The DoubleValue field will be populated with a double value when the entitlement is a double type. Otherwise, the field will not be set.
  • evStringValue - The StringValue field will be populated with a string value when the entitlement is a string type. Otherwise, the field will not be set.
  • evBooleanValue - The BooleanValue field will be populated with a boolean value when the entitlement is a boolean type. Otherwise, the field will not be set.

evIntegerValue :: Lens' EntitlementValue (Maybe Int) Source #

The IntegerValue field will be populated with an integer value when the entitlement is an integer type. Otherwise, the field will not be set.

evDoubleValue :: Lens' EntitlementValue (Maybe Double) Source #

The DoubleValue field will be populated with a double value when the entitlement is a double type. Otherwise, the field will not be set.

evStringValue :: Lens' EntitlementValue (Maybe Text) Source #

The StringValue field will be populated with a string value when the entitlement is a string type. Otherwise, the field will not be set.

evBooleanValue :: Lens' EntitlementValue (Maybe Bool) Source #

The BooleanValue field will be populated with a boolean value when the entitlement is a boolean type. Otherwise, the field will not be set.