module Stratosphere.LicenseManager.License (
module Exports, License(..), mkLicense
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.LicenseManager.License.ConsumptionConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.LicenseManager.License.EntitlementProperty as Exports
import {-# SOURCE #-} Stratosphere.LicenseManager.License.IssuerDataProperty as Exports
import {-# SOURCE #-} Stratosphere.LicenseManager.License.MetadataProperty as Exports
import {-# SOURCE #-} Stratosphere.LicenseManager.License.ValidityDateFormatProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data License
=
License {License -> ()
haddock_workaround_ :: (),
License -> Maybe (Value Text)
beneficiary :: (Prelude.Maybe (Value Prelude.Text)),
License -> ConsumptionConfigurationProperty
consumptionConfiguration :: ConsumptionConfigurationProperty,
License -> [EntitlementProperty]
entitlements :: [EntitlementProperty],
License -> Value Text
homeRegion :: (Value Prelude.Text),
License -> IssuerDataProperty
issuer :: IssuerDataProperty,
License -> Maybe [MetadataProperty]
licenseMetadata :: (Prelude.Maybe [MetadataProperty]),
License -> Value Text
licenseName :: (Value Prelude.Text),
License -> Value Text
productName :: (Value Prelude.Text),
License -> Maybe (Value Text)
productSKU :: (Prelude.Maybe (Value Prelude.Text)),
License -> Maybe (Value Text)
status :: (Prelude.Maybe (Value Prelude.Text)),
License -> ValidityDateFormatProperty
validity :: ValidityDateFormatProperty}
deriving stock (License -> License -> Bool
(License -> License -> Bool)
-> (License -> License -> Bool) -> Eq License
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: License -> License -> Bool
== :: License -> License -> Bool
$c/= :: License -> License -> Bool
/= :: License -> License -> Bool
Prelude.Eq, Int -> License -> ShowS
[License] -> ShowS
License -> String
(Int -> License -> ShowS)
-> (License -> String) -> ([License] -> ShowS) -> Show License
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> License -> ShowS
showsPrec :: Int -> License -> ShowS
$cshow :: License -> String
show :: License -> String
$cshowList :: [License] -> ShowS
showList :: [License] -> ShowS
Prelude.Show)
mkLicense ::
ConsumptionConfigurationProperty
-> [EntitlementProperty]
-> Value Prelude.Text
-> IssuerDataProperty
-> Value Prelude.Text
-> Value Prelude.Text -> ValidityDateFormatProperty -> License
mkLicense :: ConsumptionConfigurationProperty
-> [EntitlementProperty]
-> Value Text
-> IssuerDataProperty
-> Value Text
-> Value Text
-> ValidityDateFormatProperty
-> License
mkLicense
ConsumptionConfigurationProperty
consumptionConfiguration
[EntitlementProperty]
entitlements
Value Text
homeRegion
IssuerDataProperty
issuer
Value Text
licenseName
Value Text
productName
ValidityDateFormatProperty
validity
= License
{haddock_workaround_ :: ()
haddock_workaround_ = (),
consumptionConfiguration :: ConsumptionConfigurationProperty
consumptionConfiguration = ConsumptionConfigurationProperty
consumptionConfiguration,
entitlements :: [EntitlementProperty]
entitlements = [EntitlementProperty]
entitlements, homeRegion :: Value Text
homeRegion = Value Text
homeRegion,
issuer :: IssuerDataProperty
issuer = IssuerDataProperty
issuer, licenseName :: Value Text
licenseName = Value Text
licenseName,
productName :: Value Text
productName = Value Text
productName, validity :: ValidityDateFormatProperty
validity = ValidityDateFormatProperty
validity,
beneficiary :: Maybe (Value Text)
beneficiary = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, licenseMetadata :: Maybe [MetadataProperty]
licenseMetadata = Maybe [MetadataProperty]
forall a. Maybe a
Prelude.Nothing,
productSKU :: Maybe (Value Text)
productSKU = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, status :: Maybe (Value Text)
status = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties License where
toResourceProperties :: License -> ResourceProperties
toResourceProperties License {[EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: License -> ()
beneficiary :: License -> Maybe (Value Text)
consumptionConfiguration :: License -> ConsumptionConfigurationProperty
entitlements :: License -> [EntitlementProperty]
homeRegion :: License -> Value Text
issuer :: License -> IssuerDataProperty
licenseMetadata :: License -> Maybe [MetadataProperty]
licenseName :: License -> Value Text
productName :: License -> Value Text
productSKU :: License -> Maybe (Value Text)
status :: License -> Maybe (Value Text)
validity :: License -> ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::LicenseManager::License",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"ConsumptionConfiguration" Key -> ConsumptionConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ConsumptionConfigurationProperty
consumptionConfiguration,
Key
"Entitlements" Key -> [EntitlementProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [EntitlementProperty]
entitlements,
Key
"HomeRegion" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
homeRegion, Key
"Issuer" Key -> IssuerDataProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= IssuerDataProperty
issuer,
Key
"LicenseName" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
licenseName,
Key
"ProductName" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
productName, Key
"Validity" Key -> ValidityDateFormatProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValidityDateFormatProperty
validity]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Beneficiary" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
beneficiary,
Key -> [MetadataProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LicenseMetadata" ([MetadataProperty] -> (Key, Value))
-> Maybe [MetadataProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [MetadataProperty]
licenseMetadata,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ProductSKU" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
productSKU,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Status" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
status]))}
instance JSON.ToJSON License where
toJSON :: License -> Value
toJSON License {[EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: License -> ()
beneficiary :: License -> Maybe (Value Text)
consumptionConfiguration :: License -> ConsumptionConfigurationProperty
entitlements :: License -> [EntitlementProperty]
homeRegion :: License -> Value Text
issuer :: License -> IssuerDataProperty
licenseMetadata :: License -> Maybe [MetadataProperty]
licenseName :: License -> Value Text
productName :: License -> Value Text
productSKU :: License -> Maybe (Value Text)
status :: License -> Maybe (Value Text)
validity :: License -> ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"ConsumptionConfiguration" Key -> ConsumptionConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ConsumptionConfigurationProperty
consumptionConfiguration,
Key
"Entitlements" Key -> [EntitlementProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [EntitlementProperty]
entitlements,
Key
"HomeRegion" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
homeRegion, Key
"Issuer" Key -> IssuerDataProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= IssuerDataProperty
issuer,
Key
"LicenseName" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
licenseName,
Key
"ProductName" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
productName, Key
"Validity" Key -> ValidityDateFormatProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValidityDateFormatProperty
validity]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Beneficiary" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
beneficiary,
Key -> [MetadataProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LicenseMetadata" ([MetadataProperty] -> (Key, Value))
-> Maybe [MetadataProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [MetadataProperty]
licenseMetadata,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ProductSKU" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
productSKU,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Status" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
status])))
instance Property "Beneficiary" License where
type PropertyType "Beneficiary" License = Value Prelude.Text
set :: PropertyType "Beneficiary" License -> License -> License
set PropertyType "Beneficiary" License
newValue License {[EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: License -> ()
beneficiary :: License -> Maybe (Value Text)
consumptionConfiguration :: License -> ConsumptionConfigurationProperty
entitlements :: License -> [EntitlementProperty]
homeRegion :: License -> Value Text
issuer :: License -> IssuerDataProperty
licenseMetadata :: License -> Maybe [MetadataProperty]
licenseName :: License -> Value Text
productName :: License -> Value Text
productSKU :: License -> Maybe (Value Text)
status :: License -> Maybe (Value Text)
validity :: License -> ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..}
= License {beneficiary :: Maybe (Value Text)
beneficiary = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Beneficiary" License
Value Text
newValue, [EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: ()
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
haddock_workaround_ :: ()
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..}
instance Property "ConsumptionConfiguration" License where
type PropertyType "ConsumptionConfiguration" License = ConsumptionConfigurationProperty
set :: PropertyType "ConsumptionConfiguration" License
-> License -> License
set PropertyType "ConsumptionConfiguration" License
newValue License {[EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: License -> ()
beneficiary :: License -> Maybe (Value Text)
consumptionConfiguration :: License -> ConsumptionConfigurationProperty
entitlements :: License -> [EntitlementProperty]
homeRegion :: License -> Value Text
issuer :: License -> IssuerDataProperty
licenseMetadata :: License -> Maybe [MetadataProperty]
licenseName :: License -> Value Text
productName :: License -> Value Text
productSKU :: License -> Maybe (Value Text)
status :: License -> Maybe (Value Text)
validity :: License -> ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..}
= License {consumptionConfiguration :: ConsumptionConfigurationProperty
consumptionConfiguration = PropertyType "ConsumptionConfiguration" License
ConsumptionConfigurationProperty
newValue, [EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..}
instance Property "Entitlements" License where
type PropertyType "Entitlements" License = [EntitlementProperty]
set :: PropertyType "Entitlements" License -> License -> License
set PropertyType "Entitlements" License
newValue License {[EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: License -> ()
beneficiary :: License -> Maybe (Value Text)
consumptionConfiguration :: License -> ConsumptionConfigurationProperty
entitlements :: License -> [EntitlementProperty]
homeRegion :: License -> Value Text
issuer :: License -> IssuerDataProperty
licenseMetadata :: License -> Maybe [MetadataProperty]
licenseName :: License -> Value Text
productName :: License -> Value Text
productSKU :: License -> Maybe (Value Text)
status :: License -> Maybe (Value Text)
validity :: License -> ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..} = License {entitlements :: [EntitlementProperty]
entitlements = [EntitlementProperty]
PropertyType "Entitlements" License
newValue, Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..}
instance Property "HomeRegion" License where
type PropertyType "HomeRegion" License = Value Prelude.Text
set :: PropertyType "HomeRegion" License -> License -> License
set PropertyType "HomeRegion" License
newValue License {[EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: License -> ()
beneficiary :: License -> Maybe (Value Text)
consumptionConfiguration :: License -> ConsumptionConfigurationProperty
entitlements :: License -> [EntitlementProperty]
homeRegion :: License -> Value Text
issuer :: License -> IssuerDataProperty
licenseMetadata :: License -> Maybe [MetadataProperty]
licenseName :: License -> Value Text
productName :: License -> Value Text
productSKU :: License -> Maybe (Value Text)
status :: License -> Maybe (Value Text)
validity :: License -> ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..} = License {homeRegion :: Value Text
homeRegion = PropertyType "HomeRegion" License
Value Text
newValue, [EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..}
instance Property "Issuer" License where
type PropertyType "Issuer" License = IssuerDataProperty
set :: PropertyType "Issuer" License -> License -> License
set PropertyType "Issuer" License
newValue License {[EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: License -> ()
beneficiary :: License -> Maybe (Value Text)
consumptionConfiguration :: License -> ConsumptionConfigurationProperty
entitlements :: License -> [EntitlementProperty]
homeRegion :: License -> Value Text
issuer :: License -> IssuerDataProperty
licenseMetadata :: License -> Maybe [MetadataProperty]
licenseName :: License -> Value Text
productName :: License -> Value Text
productSKU :: License -> Maybe (Value Text)
status :: License -> Maybe (Value Text)
validity :: License -> ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..} = License {issuer :: IssuerDataProperty
issuer = PropertyType "Issuer" License
IssuerDataProperty
newValue, [EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..}
instance Property "LicenseMetadata" License where
type PropertyType "LicenseMetadata" License = [MetadataProperty]
set :: PropertyType "LicenseMetadata" License -> License -> License
set PropertyType "LicenseMetadata" License
newValue License {[EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: License -> ()
beneficiary :: License -> Maybe (Value Text)
consumptionConfiguration :: License -> ConsumptionConfigurationProperty
entitlements :: License -> [EntitlementProperty]
homeRegion :: License -> Value Text
issuer :: License -> IssuerDataProperty
licenseMetadata :: License -> Maybe [MetadataProperty]
licenseName :: License -> Value Text
productName :: License -> Value Text
productSKU :: License -> Maybe (Value Text)
status :: License -> Maybe (Value Text)
validity :: License -> ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..}
= License {licenseMetadata :: Maybe [MetadataProperty]
licenseMetadata = [MetadataProperty] -> Maybe [MetadataProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [MetadataProperty]
PropertyType "LicenseMetadata" License
newValue, [EntitlementProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..}
instance Property "LicenseName" License where
type PropertyType "LicenseName" License = Value Prelude.Text
set :: PropertyType "LicenseName" License -> License -> License
set PropertyType "LicenseName" License
newValue License {[EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: License -> ()
beneficiary :: License -> Maybe (Value Text)
consumptionConfiguration :: License -> ConsumptionConfigurationProperty
entitlements :: License -> [EntitlementProperty]
homeRegion :: License -> Value Text
issuer :: License -> IssuerDataProperty
licenseMetadata :: License -> Maybe [MetadataProperty]
licenseName :: License -> Value Text
productName :: License -> Value Text
productSKU :: License -> Maybe (Value Text)
status :: License -> Maybe (Value Text)
validity :: License -> ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..} = License {licenseName :: Value Text
licenseName = PropertyType "LicenseName" License
Value Text
newValue, [EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..}
instance Property "ProductName" License where
type PropertyType "ProductName" License = Value Prelude.Text
set :: PropertyType "ProductName" License -> License -> License
set PropertyType "ProductName" License
newValue License {[EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: License -> ()
beneficiary :: License -> Maybe (Value Text)
consumptionConfiguration :: License -> ConsumptionConfigurationProperty
entitlements :: License -> [EntitlementProperty]
homeRegion :: License -> Value Text
issuer :: License -> IssuerDataProperty
licenseMetadata :: License -> Maybe [MetadataProperty]
licenseName :: License -> Value Text
productName :: License -> Value Text
productSKU :: License -> Maybe (Value Text)
status :: License -> Maybe (Value Text)
validity :: License -> ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..} = License {productName :: Value Text
productName = PropertyType "ProductName" License
Value Text
newValue, [EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..}
instance Property "ProductSKU" License where
type PropertyType "ProductSKU" License = Value Prelude.Text
set :: PropertyType "ProductSKU" License -> License -> License
set PropertyType "ProductSKU" License
newValue License {[EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: License -> ()
beneficiary :: License -> Maybe (Value Text)
consumptionConfiguration :: License -> ConsumptionConfigurationProperty
entitlements :: License -> [EntitlementProperty]
homeRegion :: License -> Value Text
issuer :: License -> IssuerDataProperty
licenseMetadata :: License -> Maybe [MetadataProperty]
licenseName :: License -> Value Text
productName :: License -> Value Text
productSKU :: License -> Maybe (Value Text)
status :: License -> Maybe (Value Text)
validity :: License -> ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..}
= License {productSKU :: Maybe (Value Text)
productSKU = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ProductSKU" License
Value Text
newValue, [EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..}
instance Property "Status" License where
type PropertyType "Status" License = Value Prelude.Text
set :: PropertyType "Status" License -> License -> License
set PropertyType "Status" License
newValue License {[EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: License -> ()
beneficiary :: License -> Maybe (Value Text)
consumptionConfiguration :: License -> ConsumptionConfigurationProperty
entitlements :: License -> [EntitlementProperty]
homeRegion :: License -> Value Text
issuer :: License -> IssuerDataProperty
licenseMetadata :: License -> Maybe [MetadataProperty]
licenseName :: License -> Value Text
productName :: License -> Value Text
productSKU :: License -> Maybe (Value Text)
status :: License -> Maybe (Value Text)
validity :: License -> ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..}
= License {status :: Maybe (Value Text)
status = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Status" License
Value Text
newValue, [EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..}
instance Property "Validity" License where
type PropertyType "Validity" License = ValidityDateFormatProperty
set :: PropertyType "Validity" License -> License -> License
set PropertyType "Validity" License
newValue License {[EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
ValidityDateFormatProperty
haddock_workaround_ :: License -> ()
beneficiary :: License -> Maybe (Value Text)
consumptionConfiguration :: License -> ConsumptionConfigurationProperty
entitlements :: License -> [EntitlementProperty]
homeRegion :: License -> Value Text
issuer :: License -> IssuerDataProperty
licenseMetadata :: License -> Maybe [MetadataProperty]
licenseName :: License -> Value Text
productName :: License -> Value Text
productSKU :: License -> Maybe (Value Text)
status :: License -> Maybe (Value Text)
validity :: License -> ValidityDateFormatProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
validity :: ValidityDateFormatProperty
..} = License {validity :: ValidityDateFormatProperty
validity = PropertyType "Validity" License
ValidityDateFormatProperty
newValue, [EntitlementProperty]
Maybe [MetadataProperty]
Maybe (Value Text)
()
Value Text
IssuerDataProperty
ConsumptionConfigurationProperty
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
haddock_workaround_ :: ()
beneficiary :: Maybe (Value Text)
consumptionConfiguration :: ConsumptionConfigurationProperty
entitlements :: [EntitlementProperty]
homeRegion :: Value Text
issuer :: IssuerDataProperty
licenseMetadata :: Maybe [MetadataProperty]
licenseName :: Value Text
productName :: Value Text
productSKU :: Maybe (Value Text)
status :: Maybe (Value Text)
..}