module Stratosphere.DataZone.SubscriptionTarget (
module Exports, SubscriptionTarget(..), mkSubscriptionTarget
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.DataZone.SubscriptionTarget.SubscriptionTargetFormProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data SubscriptionTarget
=
SubscriptionTarget {SubscriptionTarget -> ()
haddock_workaround_ :: (),
SubscriptionTarget -> ValueList Text
applicableAssetTypes :: (ValueList Prelude.Text),
SubscriptionTarget -> ValueList Text
authorizedPrincipals :: (ValueList Prelude.Text),
SubscriptionTarget -> Value Text
domainIdentifier :: (Value Prelude.Text),
SubscriptionTarget -> Value Text
environmentIdentifier :: (Value Prelude.Text),
SubscriptionTarget -> Maybe (Value Text)
manageAccessRole :: (Prelude.Maybe (Value Prelude.Text)),
SubscriptionTarget -> Value Text
name :: (Value Prelude.Text),
SubscriptionTarget -> Maybe (Value Text)
provider :: (Prelude.Maybe (Value Prelude.Text)),
SubscriptionTarget -> [SubscriptionTargetFormProperty]
subscriptionTargetConfig :: [SubscriptionTargetFormProperty],
SubscriptionTarget -> Value Text
type' :: (Value Prelude.Text)}
deriving stock (SubscriptionTarget -> SubscriptionTarget -> Bool
(SubscriptionTarget -> SubscriptionTarget -> Bool)
-> (SubscriptionTarget -> SubscriptionTarget -> Bool)
-> Eq SubscriptionTarget
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SubscriptionTarget -> SubscriptionTarget -> Bool
== :: SubscriptionTarget -> SubscriptionTarget -> Bool
$c/= :: SubscriptionTarget -> SubscriptionTarget -> Bool
/= :: SubscriptionTarget -> SubscriptionTarget -> Bool
Prelude.Eq, Int -> SubscriptionTarget -> ShowS
[SubscriptionTarget] -> ShowS
SubscriptionTarget -> String
(Int -> SubscriptionTarget -> ShowS)
-> (SubscriptionTarget -> String)
-> ([SubscriptionTarget] -> ShowS)
-> Show SubscriptionTarget
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SubscriptionTarget -> ShowS
showsPrec :: Int -> SubscriptionTarget -> ShowS
$cshow :: SubscriptionTarget -> String
show :: SubscriptionTarget -> String
$cshowList :: [SubscriptionTarget] -> ShowS
showList :: [SubscriptionTarget] -> ShowS
Prelude.Show)
mkSubscriptionTarget ::
ValueList Prelude.Text
-> ValueList Prelude.Text
-> Value Prelude.Text
-> Value Prelude.Text
-> Value Prelude.Text
-> [SubscriptionTargetFormProperty]
-> Value Prelude.Text -> SubscriptionTarget
mkSubscriptionTarget :: ValueList Text
-> ValueList Text
-> Value Text
-> Value Text
-> Value Text
-> [SubscriptionTargetFormProperty]
-> Value Text
-> SubscriptionTarget
mkSubscriptionTarget
ValueList Text
applicableAssetTypes
ValueList Text
authorizedPrincipals
Value Text
domainIdentifier
Value Text
environmentIdentifier
Value Text
name
[SubscriptionTargetFormProperty]
subscriptionTargetConfig
Value Text
type'
= SubscriptionTarget
{haddock_workaround_ :: ()
haddock_workaround_ = (),
applicableAssetTypes :: ValueList Text
applicableAssetTypes = ValueList Text
applicableAssetTypes,
authorizedPrincipals :: ValueList Text
authorizedPrincipals = ValueList Text
authorizedPrincipals,
domainIdentifier :: Value Text
domainIdentifier = Value Text
domainIdentifier,
environmentIdentifier :: Value Text
environmentIdentifier = Value Text
environmentIdentifier, name :: Value Text
name = Value Text
name,
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
subscriptionTargetConfig = [SubscriptionTargetFormProperty]
subscriptionTargetConfig, type' :: Value Text
type' = Value Text
type',
manageAccessRole :: Maybe (Value Text)
manageAccessRole = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, provider :: Maybe (Value Text)
provider = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties SubscriptionTarget where
toResourceProperties :: SubscriptionTarget -> ResourceProperties
toResourceProperties SubscriptionTarget {[SubscriptionTargetFormProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: SubscriptionTarget -> ()
applicableAssetTypes :: SubscriptionTarget -> ValueList Text
authorizedPrincipals :: SubscriptionTarget -> ValueList Text
domainIdentifier :: SubscriptionTarget -> Value Text
environmentIdentifier :: SubscriptionTarget -> Value Text
manageAccessRole :: SubscriptionTarget -> Maybe (Value Text)
name :: SubscriptionTarget -> Value Text
provider :: SubscriptionTarget -> Maybe (Value Text)
subscriptionTargetConfig :: SubscriptionTarget -> [SubscriptionTargetFormProperty]
type' :: SubscriptionTarget -> Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::DataZone::SubscriptionTarget",
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
"ApplicableAssetTypes" Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
applicableAssetTypes,
Key
"AuthorizedPrincipals" Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
authorizedPrincipals,
Key
"DomainIdentifier" 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
domainIdentifier,
Key
"EnvironmentIdentifier" 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
environmentIdentifier,
Key
"Name" 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
name,
Key
"SubscriptionTargetConfig" Key -> [SubscriptionTargetFormProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [SubscriptionTargetFormProperty]
subscriptionTargetConfig,
Key
"Type" 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
type']
([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
"ManageAccessRole" (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)
manageAccessRole,
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
"Provider" (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)
provider]))}
instance JSON.ToJSON SubscriptionTarget where
toJSON :: SubscriptionTarget -> Value
toJSON SubscriptionTarget {[SubscriptionTargetFormProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: SubscriptionTarget -> ()
applicableAssetTypes :: SubscriptionTarget -> ValueList Text
authorizedPrincipals :: SubscriptionTarget -> ValueList Text
domainIdentifier :: SubscriptionTarget -> Value Text
environmentIdentifier :: SubscriptionTarget -> Value Text
manageAccessRole :: SubscriptionTarget -> Maybe (Value Text)
name :: SubscriptionTarget -> Value Text
provider :: SubscriptionTarget -> Maybe (Value Text)
subscriptionTargetConfig :: SubscriptionTarget -> [SubscriptionTargetFormProperty]
type' :: SubscriptionTarget -> Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
..}
= [(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
"ApplicableAssetTypes" Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
applicableAssetTypes,
Key
"AuthorizedPrincipals" Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
authorizedPrincipals,
Key
"DomainIdentifier" 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
domainIdentifier,
Key
"EnvironmentIdentifier" 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
environmentIdentifier,
Key
"Name" 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
name,
Key
"SubscriptionTargetConfig" Key -> [SubscriptionTargetFormProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [SubscriptionTargetFormProperty]
subscriptionTargetConfig,
Key
"Type" 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
type']
([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
"ManageAccessRole" (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)
manageAccessRole,
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
"Provider" (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)
provider])))
instance Property "ApplicableAssetTypes" SubscriptionTarget where
type PropertyType "ApplicableAssetTypes" SubscriptionTarget = ValueList Prelude.Text
set :: PropertyType "ApplicableAssetTypes" SubscriptionTarget
-> SubscriptionTarget -> SubscriptionTarget
set PropertyType "ApplicableAssetTypes" SubscriptionTarget
newValue SubscriptionTarget {[SubscriptionTargetFormProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: SubscriptionTarget -> ()
applicableAssetTypes :: SubscriptionTarget -> ValueList Text
authorizedPrincipals :: SubscriptionTarget -> ValueList Text
domainIdentifier :: SubscriptionTarget -> Value Text
environmentIdentifier :: SubscriptionTarget -> Value Text
manageAccessRole :: SubscriptionTarget -> Maybe (Value Text)
name :: SubscriptionTarget -> Value Text
provider :: SubscriptionTarget -> Maybe (Value Text)
subscriptionTargetConfig :: SubscriptionTarget -> [SubscriptionTargetFormProperty]
type' :: SubscriptionTarget -> Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
..}
= SubscriptionTarget {applicableAssetTypes :: ValueList Text
applicableAssetTypes = PropertyType "ApplicableAssetTypes" SubscriptionTarget
ValueList Text
newValue, [SubscriptionTargetFormProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
haddock_workaround_ :: ()
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
..}
instance Property "AuthorizedPrincipals" SubscriptionTarget where
type PropertyType "AuthorizedPrincipals" SubscriptionTarget = ValueList Prelude.Text
set :: PropertyType "AuthorizedPrincipals" SubscriptionTarget
-> SubscriptionTarget -> SubscriptionTarget
set PropertyType "AuthorizedPrincipals" SubscriptionTarget
newValue SubscriptionTarget {[SubscriptionTargetFormProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: SubscriptionTarget -> ()
applicableAssetTypes :: SubscriptionTarget -> ValueList Text
authorizedPrincipals :: SubscriptionTarget -> ValueList Text
domainIdentifier :: SubscriptionTarget -> Value Text
environmentIdentifier :: SubscriptionTarget -> Value Text
manageAccessRole :: SubscriptionTarget -> Maybe (Value Text)
name :: SubscriptionTarget -> Value Text
provider :: SubscriptionTarget -> Maybe (Value Text)
subscriptionTargetConfig :: SubscriptionTarget -> [SubscriptionTargetFormProperty]
type' :: SubscriptionTarget -> Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
..}
= SubscriptionTarget {authorizedPrincipals :: ValueList Text
authorizedPrincipals = PropertyType "AuthorizedPrincipals" SubscriptionTarget
ValueList Text
newValue, [SubscriptionTargetFormProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
..}
instance Property "DomainIdentifier" SubscriptionTarget where
type PropertyType "DomainIdentifier" SubscriptionTarget = Value Prelude.Text
set :: PropertyType "DomainIdentifier" SubscriptionTarget
-> SubscriptionTarget -> SubscriptionTarget
set PropertyType "DomainIdentifier" SubscriptionTarget
newValue SubscriptionTarget {[SubscriptionTargetFormProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: SubscriptionTarget -> ()
applicableAssetTypes :: SubscriptionTarget -> ValueList Text
authorizedPrincipals :: SubscriptionTarget -> ValueList Text
domainIdentifier :: SubscriptionTarget -> Value Text
environmentIdentifier :: SubscriptionTarget -> Value Text
manageAccessRole :: SubscriptionTarget -> Maybe (Value Text)
name :: SubscriptionTarget -> Value Text
provider :: SubscriptionTarget -> Maybe (Value Text)
subscriptionTargetConfig :: SubscriptionTarget -> [SubscriptionTargetFormProperty]
type' :: SubscriptionTarget -> Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
..}
= SubscriptionTarget {domainIdentifier :: Value Text
domainIdentifier = PropertyType "DomainIdentifier" SubscriptionTarget
Value Text
newValue, [SubscriptionTargetFormProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
..}
instance Property "EnvironmentIdentifier" SubscriptionTarget where
type PropertyType "EnvironmentIdentifier" SubscriptionTarget = Value Prelude.Text
set :: PropertyType "EnvironmentIdentifier" SubscriptionTarget
-> SubscriptionTarget -> SubscriptionTarget
set PropertyType "EnvironmentIdentifier" SubscriptionTarget
newValue SubscriptionTarget {[SubscriptionTargetFormProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: SubscriptionTarget -> ()
applicableAssetTypes :: SubscriptionTarget -> ValueList Text
authorizedPrincipals :: SubscriptionTarget -> ValueList Text
domainIdentifier :: SubscriptionTarget -> Value Text
environmentIdentifier :: SubscriptionTarget -> Value Text
manageAccessRole :: SubscriptionTarget -> Maybe (Value Text)
name :: SubscriptionTarget -> Value Text
provider :: SubscriptionTarget -> Maybe (Value Text)
subscriptionTargetConfig :: SubscriptionTarget -> [SubscriptionTargetFormProperty]
type' :: SubscriptionTarget -> Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
..}
= SubscriptionTarget {environmentIdentifier :: Value Text
environmentIdentifier = PropertyType "EnvironmentIdentifier" SubscriptionTarget
Value Text
newValue, [SubscriptionTargetFormProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
..}
instance Property "ManageAccessRole" SubscriptionTarget where
type PropertyType "ManageAccessRole" SubscriptionTarget = Value Prelude.Text
set :: PropertyType "ManageAccessRole" SubscriptionTarget
-> SubscriptionTarget -> SubscriptionTarget
set PropertyType "ManageAccessRole" SubscriptionTarget
newValue SubscriptionTarget {[SubscriptionTargetFormProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: SubscriptionTarget -> ()
applicableAssetTypes :: SubscriptionTarget -> ValueList Text
authorizedPrincipals :: SubscriptionTarget -> ValueList Text
domainIdentifier :: SubscriptionTarget -> Value Text
environmentIdentifier :: SubscriptionTarget -> Value Text
manageAccessRole :: SubscriptionTarget -> Maybe (Value Text)
name :: SubscriptionTarget -> Value Text
provider :: SubscriptionTarget -> Maybe (Value Text)
subscriptionTargetConfig :: SubscriptionTarget -> [SubscriptionTargetFormProperty]
type' :: SubscriptionTarget -> Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
..}
= SubscriptionTarget {manageAccessRole :: Maybe (Value Text)
manageAccessRole = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ManageAccessRole" SubscriptionTarget
Value Text
newValue, [SubscriptionTargetFormProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
..}
instance Property "Name" SubscriptionTarget where
type PropertyType "Name" SubscriptionTarget = Value Prelude.Text
set :: PropertyType "Name" SubscriptionTarget
-> SubscriptionTarget -> SubscriptionTarget
set PropertyType "Name" SubscriptionTarget
newValue SubscriptionTarget {[SubscriptionTargetFormProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: SubscriptionTarget -> ()
applicableAssetTypes :: SubscriptionTarget -> ValueList Text
authorizedPrincipals :: SubscriptionTarget -> ValueList Text
domainIdentifier :: SubscriptionTarget -> Value Text
environmentIdentifier :: SubscriptionTarget -> Value Text
manageAccessRole :: SubscriptionTarget -> Maybe (Value Text)
name :: SubscriptionTarget -> Value Text
provider :: SubscriptionTarget -> Maybe (Value Text)
subscriptionTargetConfig :: SubscriptionTarget -> [SubscriptionTargetFormProperty]
type' :: SubscriptionTarget -> Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
..}
= SubscriptionTarget {name :: Value Text
name = PropertyType "Name" SubscriptionTarget
Value Text
newValue, [SubscriptionTargetFormProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
..}
instance Property "Provider" SubscriptionTarget where
type PropertyType "Provider" SubscriptionTarget = Value Prelude.Text
set :: PropertyType "Provider" SubscriptionTarget
-> SubscriptionTarget -> SubscriptionTarget
set PropertyType "Provider" SubscriptionTarget
newValue SubscriptionTarget {[SubscriptionTargetFormProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: SubscriptionTarget -> ()
applicableAssetTypes :: SubscriptionTarget -> ValueList Text
authorizedPrincipals :: SubscriptionTarget -> ValueList Text
domainIdentifier :: SubscriptionTarget -> Value Text
environmentIdentifier :: SubscriptionTarget -> Value Text
manageAccessRole :: SubscriptionTarget -> Maybe (Value Text)
name :: SubscriptionTarget -> Value Text
provider :: SubscriptionTarget -> Maybe (Value Text)
subscriptionTargetConfig :: SubscriptionTarget -> [SubscriptionTargetFormProperty]
type' :: SubscriptionTarget -> Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
..}
= SubscriptionTarget {provider :: Maybe (Value Text)
provider = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Provider" SubscriptionTarget
Value Text
newValue, [SubscriptionTargetFormProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
..}
instance Property "SubscriptionTargetConfig" SubscriptionTarget where
type PropertyType "SubscriptionTargetConfig" SubscriptionTarget = [SubscriptionTargetFormProperty]
set :: PropertyType "SubscriptionTargetConfig" SubscriptionTarget
-> SubscriptionTarget -> SubscriptionTarget
set PropertyType "SubscriptionTargetConfig" SubscriptionTarget
newValue SubscriptionTarget {[SubscriptionTargetFormProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: SubscriptionTarget -> ()
applicableAssetTypes :: SubscriptionTarget -> ValueList Text
authorizedPrincipals :: SubscriptionTarget -> ValueList Text
domainIdentifier :: SubscriptionTarget -> Value Text
environmentIdentifier :: SubscriptionTarget -> Value Text
manageAccessRole :: SubscriptionTarget -> Maybe (Value Text)
name :: SubscriptionTarget -> Value Text
provider :: SubscriptionTarget -> Maybe (Value Text)
subscriptionTargetConfig :: SubscriptionTarget -> [SubscriptionTargetFormProperty]
type' :: SubscriptionTarget -> Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
..}
= SubscriptionTarget {subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
subscriptionTargetConfig = [SubscriptionTargetFormProperty]
PropertyType "SubscriptionTargetConfig" SubscriptionTarget
newValue, Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
type' :: Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
type' :: Value Text
..}
instance Property "Type" SubscriptionTarget where
type PropertyType "Type" SubscriptionTarget = Value Prelude.Text
set :: PropertyType "Type" SubscriptionTarget
-> SubscriptionTarget -> SubscriptionTarget
set PropertyType "Type" SubscriptionTarget
newValue SubscriptionTarget {[SubscriptionTargetFormProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: SubscriptionTarget -> ()
applicableAssetTypes :: SubscriptionTarget -> ValueList Text
authorizedPrincipals :: SubscriptionTarget -> ValueList Text
domainIdentifier :: SubscriptionTarget -> Value Text
environmentIdentifier :: SubscriptionTarget -> Value Text
manageAccessRole :: SubscriptionTarget -> Maybe (Value Text)
name :: SubscriptionTarget -> Value Text
provider :: SubscriptionTarget -> Maybe (Value Text)
subscriptionTargetConfig :: SubscriptionTarget -> [SubscriptionTargetFormProperty]
type' :: SubscriptionTarget -> Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
type' :: Value Text
..}
= SubscriptionTarget {type' :: Value Text
type' = PropertyType "Type" SubscriptionTarget
Value Text
newValue, [SubscriptionTargetFormProperty]
Maybe (Value Text)
()
ValueList Text
Value Text
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
haddock_workaround_ :: ()
applicableAssetTypes :: ValueList Text
authorizedPrincipals :: ValueList Text
domainIdentifier :: Value Text
environmentIdentifier :: Value Text
manageAccessRole :: Maybe (Value Text)
name :: Value Text
provider :: Maybe (Value Text)
subscriptionTargetConfig :: [SubscriptionTargetFormProperty]
..}