module Stratosphere.RAM.ResourceShare (
ResourceShare(..), mkResourceShare
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data ResourceShare
=
ResourceShare {ResourceShare -> ()
haddock_workaround_ :: (),
ResourceShare -> Maybe (Value Bool)
allowExternalPrincipals :: (Prelude.Maybe (Value Prelude.Bool)),
ResourceShare -> Value Text
name :: (Value Prelude.Text),
ResourceShare -> Maybe (ValueList Text)
permissionArns :: (Prelude.Maybe (ValueList Prelude.Text)),
ResourceShare -> Maybe (ValueList Text)
principals :: (Prelude.Maybe (ValueList Prelude.Text)),
ResourceShare -> Maybe (ValueList Text)
resourceArns :: (Prelude.Maybe (ValueList Prelude.Text)),
ResourceShare -> Maybe (ValueList Text)
sources :: (Prelude.Maybe (ValueList Prelude.Text)),
ResourceShare -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
deriving stock (ResourceShare -> ResourceShare -> Bool
(ResourceShare -> ResourceShare -> Bool)
-> (ResourceShare -> ResourceShare -> Bool) -> Eq ResourceShare
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ResourceShare -> ResourceShare -> Bool
== :: ResourceShare -> ResourceShare -> Bool
$c/= :: ResourceShare -> ResourceShare -> Bool
/= :: ResourceShare -> ResourceShare -> Bool
Prelude.Eq, Int -> ResourceShare -> ShowS
[ResourceShare] -> ShowS
ResourceShare -> String
(Int -> ResourceShare -> ShowS)
-> (ResourceShare -> String)
-> ([ResourceShare] -> ShowS)
-> Show ResourceShare
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ResourceShare -> ShowS
showsPrec :: Int -> ResourceShare -> ShowS
$cshow :: ResourceShare -> String
show :: ResourceShare -> String
$cshowList :: [ResourceShare] -> ShowS
showList :: [ResourceShare] -> ShowS
Prelude.Show)
mkResourceShare :: Value Prelude.Text -> ResourceShare
mkResourceShare :: Value Text -> ResourceShare
mkResourceShare Value Text
name
= ResourceShare
{haddock_workaround_ :: ()
haddock_workaround_ = (), name :: Value Text
name = Value Text
name,
allowExternalPrincipals :: Maybe (Value Bool)
allowExternalPrincipals = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
permissionArns :: Maybe (ValueList Text)
permissionArns = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, principals :: Maybe (ValueList Text)
principals = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
resourceArns :: Maybe (ValueList Text)
resourceArns = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, sources :: Maybe (ValueList Text)
sources = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ResourceShare where
toResourceProperties :: ResourceShare -> ResourceProperties
toResourceProperties ResourceShare {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ResourceShare -> ()
allowExternalPrincipals :: ResourceShare -> Maybe (Value Bool)
name :: ResourceShare -> Value Text
permissionArns :: ResourceShare -> Maybe (ValueList Text)
principals :: ResourceShare -> Maybe (ValueList Text)
resourceArns :: ResourceShare -> Maybe (ValueList Text)
sources :: ResourceShare -> Maybe (ValueList Text)
tags :: ResourceShare -> Maybe [Tag]
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
name :: Value Text
permissionArns :: Maybe (ValueList Text)
principals :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::RAM::ResourceShare", supportsTags :: Bool
supportsTags = Bool
Prelude.True,
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
"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]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AllowExternalPrincipals"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
allowExternalPrincipals,
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..=) Key
"PermissionArns" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
permissionArns,
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..=) Key
"Principals" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
principals,
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..=) Key
"ResourceArns" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
resourceArns,
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..=) Key
"Sources" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
sources,
Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags]))}
instance JSON.ToJSON ResourceShare where
toJSON :: ResourceShare -> Value
toJSON ResourceShare {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ResourceShare -> ()
allowExternalPrincipals :: ResourceShare -> Maybe (Value Bool)
name :: ResourceShare -> Value Text
permissionArns :: ResourceShare -> Maybe (ValueList Text)
principals :: ResourceShare -> Maybe (ValueList Text)
resourceArns :: ResourceShare -> Maybe (ValueList Text)
sources :: ResourceShare -> Maybe (ValueList Text)
tags :: ResourceShare -> Maybe [Tag]
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
name :: Value Text
permissionArns :: Maybe (ValueList Text)
principals :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
= [(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
"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]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AllowExternalPrincipals"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
allowExternalPrincipals,
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..=) Key
"PermissionArns" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
permissionArns,
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..=) Key
"Principals" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
principals,
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..=) Key
"ResourceArns" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
resourceArns,
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..=) Key
"Sources" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
sources,
Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags])))
instance Property "AllowExternalPrincipals" ResourceShare where
type PropertyType "AllowExternalPrincipals" ResourceShare = Value Prelude.Bool
set :: PropertyType "AllowExternalPrincipals" ResourceShare
-> ResourceShare -> ResourceShare
set PropertyType "AllowExternalPrincipals" ResourceShare
newValue ResourceShare {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ResourceShare -> ()
allowExternalPrincipals :: ResourceShare -> Maybe (Value Bool)
name :: ResourceShare -> Value Text
permissionArns :: ResourceShare -> Maybe (ValueList Text)
principals :: ResourceShare -> Maybe (ValueList Text)
resourceArns :: ResourceShare -> Maybe (ValueList Text)
sources :: ResourceShare -> Maybe (ValueList Text)
tags :: ResourceShare -> Maybe [Tag]
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
name :: Value Text
permissionArns :: Maybe (ValueList Text)
principals :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
= ResourceShare
{allowExternalPrincipals :: Maybe (Value Bool)
allowExternalPrincipals = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AllowExternalPrincipals" ResourceShare
Value Bool
newValue, Maybe [Tag]
Maybe (ValueList Text)
()
Value Text
haddock_workaround_ :: ()
name :: Value Text
permissionArns :: Maybe (ValueList Text)
principals :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
name :: Value Text
permissionArns :: Maybe (ValueList Text)
principals :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
instance Property "Name" ResourceShare where
type PropertyType "Name" ResourceShare = Value Prelude.Text
set :: PropertyType "Name" ResourceShare -> ResourceShare -> ResourceShare
set PropertyType "Name" ResourceShare
newValue ResourceShare {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ResourceShare -> ()
allowExternalPrincipals :: ResourceShare -> Maybe (Value Bool)
name :: ResourceShare -> Value Text
permissionArns :: ResourceShare -> Maybe (ValueList Text)
principals :: ResourceShare -> Maybe (ValueList Text)
resourceArns :: ResourceShare -> Maybe (ValueList Text)
sources :: ResourceShare -> Maybe (ValueList Text)
tags :: ResourceShare -> Maybe [Tag]
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
name :: Value Text
permissionArns :: Maybe (ValueList Text)
principals :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
= ResourceShare {name :: Value Text
name = PropertyType "Name" ResourceShare
Value Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Bool)
()
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
permissionArns :: Maybe (ValueList Text)
principals :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
permissionArns :: Maybe (ValueList Text)
principals :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
instance Property "PermissionArns" ResourceShare where
type PropertyType "PermissionArns" ResourceShare = ValueList Prelude.Text
set :: PropertyType "PermissionArns" ResourceShare
-> ResourceShare -> ResourceShare
set PropertyType "PermissionArns" ResourceShare
newValue ResourceShare {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ResourceShare -> ()
allowExternalPrincipals :: ResourceShare -> Maybe (Value Bool)
name :: ResourceShare -> Value Text
permissionArns :: ResourceShare -> Maybe (ValueList Text)
principals :: ResourceShare -> Maybe (ValueList Text)
resourceArns :: ResourceShare -> Maybe (ValueList Text)
sources :: ResourceShare -> Maybe (ValueList Text)
tags :: ResourceShare -> Maybe [Tag]
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
name :: Value Text
permissionArns :: Maybe (ValueList Text)
principals :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
= ResourceShare {permissionArns :: Maybe (ValueList Text)
permissionArns = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "PermissionArns" ResourceShare
ValueList Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
name :: Value Text
principals :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
name :: Value Text
principals :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
instance Property "Principals" ResourceShare where
type PropertyType "Principals" ResourceShare = ValueList Prelude.Text
set :: PropertyType "Principals" ResourceShare
-> ResourceShare -> ResourceShare
set PropertyType "Principals" ResourceShare
newValue ResourceShare {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ResourceShare -> ()
allowExternalPrincipals :: ResourceShare -> Maybe (Value Bool)
name :: ResourceShare -> Value Text
permissionArns :: ResourceShare -> Maybe (ValueList Text)
principals :: ResourceShare -> Maybe (ValueList Text)
resourceArns :: ResourceShare -> Maybe (ValueList Text)
sources :: ResourceShare -> Maybe (ValueList Text)
tags :: ResourceShare -> Maybe [Tag]
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
name :: Value Text
permissionArns :: Maybe (ValueList Text)
principals :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
= ResourceShare {principals :: Maybe (ValueList Text)
principals = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Principals" ResourceShare
ValueList Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
name :: Value Text
permissionArns :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
name :: Value Text
permissionArns :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
instance Property "ResourceArns" ResourceShare where
type PropertyType "ResourceArns" ResourceShare = ValueList Prelude.Text
set :: PropertyType "ResourceArns" ResourceShare
-> ResourceShare -> ResourceShare
set PropertyType "ResourceArns" ResourceShare
newValue ResourceShare {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ResourceShare -> ()
allowExternalPrincipals :: ResourceShare -> Maybe (Value Bool)
name :: ResourceShare -> Value Text
permissionArns :: ResourceShare -> Maybe (ValueList Text)
principals :: ResourceShare -> Maybe (ValueList Text)
resourceArns :: ResourceShare -> Maybe (ValueList Text)
sources :: ResourceShare -> Maybe (ValueList Text)
tags :: ResourceShare -> Maybe [Tag]
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
name :: Value Text
permissionArns :: Maybe (ValueList Text)
principals :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
= ResourceShare {resourceArns :: Maybe (ValueList Text)
resourceArns = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ResourceArns" ResourceShare
ValueList Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
name :: Value Text
permissionArns :: Maybe (ValueList Text)
principals :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
name :: Value Text
permissionArns :: Maybe (ValueList Text)
principals :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
instance Property "Sources" ResourceShare where
type PropertyType "Sources" ResourceShare = ValueList Prelude.Text
set :: PropertyType "Sources" ResourceShare
-> ResourceShare -> ResourceShare
set PropertyType "Sources" ResourceShare
newValue ResourceShare {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ResourceShare -> ()
allowExternalPrincipals :: ResourceShare -> Maybe (Value Bool)
name :: ResourceShare -> Value Text
permissionArns :: ResourceShare -> Maybe (ValueList Text)
principals :: ResourceShare -> Maybe (ValueList Text)
resourceArns :: ResourceShare -> Maybe (ValueList Text)
sources :: ResourceShare -> Maybe (ValueList Text)
tags :: ResourceShare -> Maybe [Tag]
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
name :: Value Text
permissionArns :: Maybe (ValueList Text)
principals :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
= ResourceShare {sources :: Maybe (ValueList Text)
sources = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Sources" ResourceShare
ValueList Text
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
name :: Value Text
permissionArns :: Maybe (ValueList Text)
principals :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
name :: Value Text
permissionArns :: Maybe (ValueList Text)
principals :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
instance Property "Tags" ResourceShare where
type PropertyType "Tags" ResourceShare = [Tag]
set :: PropertyType "Tags" ResourceShare -> ResourceShare -> ResourceShare
set PropertyType "Tags" ResourceShare
newValue ResourceShare {Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ResourceShare -> ()
allowExternalPrincipals :: ResourceShare -> Maybe (Value Bool)
name :: ResourceShare -> Value Text
permissionArns :: ResourceShare -> Maybe (ValueList Text)
principals :: ResourceShare -> Maybe (ValueList Text)
resourceArns :: ResourceShare -> Maybe (ValueList Text)
sources :: ResourceShare -> Maybe (ValueList Text)
tags :: ResourceShare -> Maybe [Tag]
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
name :: Value Text
permissionArns :: Maybe (ValueList Text)
principals :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
= ResourceShare {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" ResourceShare
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
()
Value Text
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
name :: Value Text
permissionArns :: Maybe (ValueList Text)
principals :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
haddock_workaround_ :: ()
allowExternalPrincipals :: Maybe (Value Bool)
name :: Value Text
permissionArns :: Maybe (ValueList Text)
principals :: Maybe (ValueList Text)
resourceArns :: Maybe (ValueList Text)
sources :: Maybe (ValueList Text)
..}