module Stratosphere.IAM.ManagedPolicy (
ManagedPolicy(..), mkManagedPolicy
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ManagedPolicy
=
ManagedPolicy {ManagedPolicy -> ()
haddock_workaround_ :: (),
ManagedPolicy -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
ManagedPolicy -> Maybe (ValueList Text)
groups :: (Prelude.Maybe (ValueList Prelude.Text)),
ManagedPolicy -> Maybe (Value Text)
managedPolicyName :: (Prelude.Maybe (Value Prelude.Text)),
ManagedPolicy -> Maybe (Value Text)
path :: (Prelude.Maybe (Value Prelude.Text)),
ManagedPolicy -> Object
policyDocument :: JSON.Object,
ManagedPolicy -> Maybe (ValueList Text)
roles :: (Prelude.Maybe (ValueList Prelude.Text)),
ManagedPolicy -> Maybe (ValueList Text)
users :: (Prelude.Maybe (ValueList Prelude.Text))}
deriving stock (ManagedPolicy -> ManagedPolicy -> Bool
(ManagedPolicy -> ManagedPolicy -> Bool)
-> (ManagedPolicy -> ManagedPolicy -> Bool) -> Eq ManagedPolicy
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ManagedPolicy -> ManagedPolicy -> Bool
== :: ManagedPolicy -> ManagedPolicy -> Bool
$c/= :: ManagedPolicy -> ManagedPolicy -> Bool
/= :: ManagedPolicy -> ManagedPolicy -> Bool
Prelude.Eq, Int -> ManagedPolicy -> ShowS
[ManagedPolicy] -> ShowS
ManagedPolicy -> String
(Int -> ManagedPolicy -> ShowS)
-> (ManagedPolicy -> String)
-> ([ManagedPolicy] -> ShowS)
-> Show ManagedPolicy
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ManagedPolicy -> ShowS
showsPrec :: Int -> ManagedPolicy -> ShowS
$cshow :: ManagedPolicy -> String
show :: ManagedPolicy -> String
$cshowList :: [ManagedPolicy] -> ShowS
showList :: [ManagedPolicy] -> ShowS
Prelude.Show)
mkManagedPolicy :: JSON.Object -> ManagedPolicy
mkManagedPolicy :: Object -> ManagedPolicy
mkManagedPolicy Object
policyDocument
= ManagedPolicy
{haddock_workaround_ :: ()
haddock_workaround_ = (), policyDocument :: Object
policyDocument = Object
policyDocument,
description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, groups :: Maybe (ValueList Text)
groups = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
managedPolicyName :: Maybe (Value Text)
managedPolicyName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, path :: Maybe (Value Text)
path = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
roles :: Maybe (ValueList Text)
roles = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, users :: Maybe (ValueList Text)
users = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ManagedPolicy where
toResourceProperties :: ManagedPolicy -> ResourceProperties
toResourceProperties ManagedPolicy {Maybe (ValueList Text)
Maybe (Value Text)
()
Object
haddock_workaround_ :: ManagedPolicy -> ()
description :: ManagedPolicy -> Maybe (Value Text)
groups :: ManagedPolicy -> Maybe (ValueList Text)
managedPolicyName :: ManagedPolicy -> Maybe (Value Text)
path :: ManagedPolicy -> Maybe (Value Text)
policyDocument :: ManagedPolicy -> Object
roles :: ManagedPolicy -> Maybe (ValueList Text)
users :: ManagedPolicy -> Maybe (ValueList Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
groups :: Maybe (ValueList Text)
managedPolicyName :: Maybe (Value Text)
path :: Maybe (Value Text)
policyDocument :: Object
roles :: Maybe (ValueList Text)
users :: Maybe (ValueList Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::IAM::ManagedPolicy", 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
"PolicyDocument" Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Object
policyDocument]
([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
"Description" (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)
description,
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
"Groups" (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)
groups,
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
"ManagedPolicyName" (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)
managedPolicyName,
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
"Path" (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)
path,
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
"Roles" (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)
roles,
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
"Users" (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)
users]))}
instance JSON.ToJSON ManagedPolicy where
toJSON :: ManagedPolicy -> Value
toJSON ManagedPolicy {Maybe (ValueList Text)
Maybe (Value Text)
()
Object
haddock_workaround_ :: ManagedPolicy -> ()
description :: ManagedPolicy -> Maybe (Value Text)
groups :: ManagedPolicy -> Maybe (ValueList Text)
managedPolicyName :: ManagedPolicy -> Maybe (Value Text)
path :: ManagedPolicy -> Maybe (Value Text)
policyDocument :: ManagedPolicy -> Object
roles :: ManagedPolicy -> Maybe (ValueList Text)
users :: ManagedPolicy -> Maybe (ValueList Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
groups :: Maybe (ValueList Text)
managedPolicyName :: Maybe (Value Text)
path :: Maybe (Value Text)
policyDocument :: Object
roles :: Maybe (ValueList Text)
users :: Maybe (ValueList 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
"PolicyDocument" Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Object
policyDocument]
([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
"Description" (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)
description,
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
"Groups" (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)
groups,
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
"ManagedPolicyName" (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)
managedPolicyName,
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
"Path" (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)
path,
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
"Roles" (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)
roles,
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
"Users" (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)
users])))
instance Property "Description" ManagedPolicy where
type PropertyType "Description" ManagedPolicy = Value Prelude.Text
set :: PropertyType "Description" ManagedPolicy
-> ManagedPolicy -> ManagedPolicy
set PropertyType "Description" ManagedPolicy
newValue ManagedPolicy {Maybe (ValueList Text)
Maybe (Value Text)
()
Object
haddock_workaround_ :: ManagedPolicy -> ()
description :: ManagedPolicy -> Maybe (Value Text)
groups :: ManagedPolicy -> Maybe (ValueList Text)
managedPolicyName :: ManagedPolicy -> Maybe (Value Text)
path :: ManagedPolicy -> Maybe (Value Text)
policyDocument :: ManagedPolicy -> Object
roles :: ManagedPolicy -> Maybe (ValueList Text)
users :: ManagedPolicy -> Maybe (ValueList Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
groups :: Maybe (ValueList Text)
managedPolicyName :: Maybe (Value Text)
path :: Maybe (Value Text)
policyDocument :: Object
roles :: Maybe (ValueList Text)
users :: Maybe (ValueList Text)
..}
= ManagedPolicy {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" ManagedPolicy
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Object
haddock_workaround_ :: ()
groups :: Maybe (ValueList Text)
managedPolicyName :: Maybe (Value Text)
path :: Maybe (Value Text)
policyDocument :: Object
roles :: Maybe (ValueList Text)
users :: Maybe (ValueList Text)
haddock_workaround_ :: ()
groups :: Maybe (ValueList Text)
managedPolicyName :: Maybe (Value Text)
path :: Maybe (Value Text)
policyDocument :: Object
roles :: Maybe (ValueList Text)
users :: Maybe (ValueList Text)
..}
instance Property "Groups" ManagedPolicy where
type PropertyType "Groups" ManagedPolicy = ValueList Prelude.Text
set :: PropertyType "Groups" ManagedPolicy
-> ManagedPolicy -> ManagedPolicy
set PropertyType "Groups" ManagedPolicy
newValue ManagedPolicy {Maybe (ValueList Text)
Maybe (Value Text)
()
Object
haddock_workaround_ :: ManagedPolicy -> ()
description :: ManagedPolicy -> Maybe (Value Text)
groups :: ManagedPolicy -> Maybe (ValueList Text)
managedPolicyName :: ManagedPolicy -> Maybe (Value Text)
path :: ManagedPolicy -> Maybe (Value Text)
policyDocument :: ManagedPolicy -> Object
roles :: ManagedPolicy -> Maybe (ValueList Text)
users :: ManagedPolicy -> Maybe (ValueList Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
groups :: Maybe (ValueList Text)
managedPolicyName :: Maybe (Value Text)
path :: Maybe (Value Text)
policyDocument :: Object
roles :: Maybe (ValueList Text)
users :: Maybe (ValueList Text)
..}
= ManagedPolicy {groups :: Maybe (ValueList Text)
groups = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Groups" ManagedPolicy
ValueList Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Object
haddock_workaround_ :: ()
description :: Maybe (Value Text)
managedPolicyName :: Maybe (Value Text)
path :: Maybe (Value Text)
policyDocument :: Object
roles :: Maybe (ValueList Text)
users :: Maybe (ValueList Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
managedPolicyName :: Maybe (Value Text)
path :: Maybe (Value Text)
policyDocument :: Object
roles :: Maybe (ValueList Text)
users :: Maybe (ValueList Text)
..}
instance Property "ManagedPolicyName" ManagedPolicy where
type PropertyType "ManagedPolicyName" ManagedPolicy = Value Prelude.Text
set :: PropertyType "ManagedPolicyName" ManagedPolicy
-> ManagedPolicy -> ManagedPolicy
set PropertyType "ManagedPolicyName" ManagedPolicy
newValue ManagedPolicy {Maybe (ValueList Text)
Maybe (Value Text)
()
Object
haddock_workaround_ :: ManagedPolicy -> ()
description :: ManagedPolicy -> Maybe (Value Text)
groups :: ManagedPolicy -> Maybe (ValueList Text)
managedPolicyName :: ManagedPolicy -> Maybe (Value Text)
path :: ManagedPolicy -> Maybe (Value Text)
policyDocument :: ManagedPolicy -> Object
roles :: ManagedPolicy -> Maybe (ValueList Text)
users :: ManagedPolicy -> Maybe (ValueList Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
groups :: Maybe (ValueList Text)
managedPolicyName :: Maybe (Value Text)
path :: Maybe (Value Text)
policyDocument :: Object
roles :: Maybe (ValueList Text)
users :: Maybe (ValueList Text)
..}
= ManagedPolicy {managedPolicyName :: Maybe (Value Text)
managedPolicyName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ManagedPolicyName" ManagedPolicy
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Object
haddock_workaround_ :: ()
description :: Maybe (Value Text)
groups :: Maybe (ValueList Text)
path :: Maybe (Value Text)
policyDocument :: Object
roles :: Maybe (ValueList Text)
users :: Maybe (ValueList Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
groups :: Maybe (ValueList Text)
path :: Maybe (Value Text)
policyDocument :: Object
roles :: Maybe (ValueList Text)
users :: Maybe (ValueList Text)
..}
instance Property "Path" ManagedPolicy where
type PropertyType "Path" ManagedPolicy = Value Prelude.Text
set :: PropertyType "Path" ManagedPolicy -> ManagedPolicy -> ManagedPolicy
set PropertyType "Path" ManagedPolicy
newValue ManagedPolicy {Maybe (ValueList Text)
Maybe (Value Text)
()
Object
haddock_workaround_ :: ManagedPolicy -> ()
description :: ManagedPolicy -> Maybe (Value Text)
groups :: ManagedPolicy -> Maybe (ValueList Text)
managedPolicyName :: ManagedPolicy -> Maybe (Value Text)
path :: ManagedPolicy -> Maybe (Value Text)
policyDocument :: ManagedPolicy -> Object
roles :: ManagedPolicy -> Maybe (ValueList Text)
users :: ManagedPolicy -> Maybe (ValueList Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
groups :: Maybe (ValueList Text)
managedPolicyName :: Maybe (Value Text)
path :: Maybe (Value Text)
policyDocument :: Object
roles :: Maybe (ValueList Text)
users :: Maybe (ValueList Text)
..}
= ManagedPolicy {path :: Maybe (Value Text)
path = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Path" ManagedPolicy
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Object
haddock_workaround_ :: ()
description :: Maybe (Value Text)
groups :: Maybe (ValueList Text)
managedPolicyName :: Maybe (Value Text)
policyDocument :: Object
roles :: Maybe (ValueList Text)
users :: Maybe (ValueList Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
groups :: Maybe (ValueList Text)
managedPolicyName :: Maybe (Value Text)
policyDocument :: Object
roles :: Maybe (ValueList Text)
users :: Maybe (ValueList Text)
..}
instance Property "PolicyDocument" ManagedPolicy where
type PropertyType "PolicyDocument" ManagedPolicy = JSON.Object
set :: PropertyType "PolicyDocument" ManagedPolicy
-> ManagedPolicy -> ManagedPolicy
set PropertyType "PolicyDocument" ManagedPolicy
newValue ManagedPolicy {Maybe (ValueList Text)
Maybe (Value Text)
()
Object
haddock_workaround_ :: ManagedPolicy -> ()
description :: ManagedPolicy -> Maybe (Value Text)
groups :: ManagedPolicy -> Maybe (ValueList Text)
managedPolicyName :: ManagedPolicy -> Maybe (Value Text)
path :: ManagedPolicy -> Maybe (Value Text)
policyDocument :: ManagedPolicy -> Object
roles :: ManagedPolicy -> Maybe (ValueList Text)
users :: ManagedPolicy -> Maybe (ValueList Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
groups :: Maybe (ValueList Text)
managedPolicyName :: Maybe (Value Text)
path :: Maybe (Value Text)
policyDocument :: Object
roles :: Maybe (ValueList Text)
users :: Maybe (ValueList Text)
..}
= ManagedPolicy {policyDocument :: Object
policyDocument = Object
PropertyType "PolicyDocument" ManagedPolicy
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: ()
description :: Maybe (Value Text)
groups :: Maybe (ValueList Text)
managedPolicyName :: Maybe (Value Text)
path :: Maybe (Value Text)
roles :: Maybe (ValueList Text)
users :: Maybe (ValueList Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
groups :: Maybe (ValueList Text)
managedPolicyName :: Maybe (Value Text)
path :: Maybe (Value Text)
roles :: Maybe (ValueList Text)
users :: Maybe (ValueList Text)
..}
instance Property "Roles" ManagedPolicy where
type PropertyType "Roles" ManagedPolicy = ValueList Prelude.Text
set :: PropertyType "Roles" ManagedPolicy
-> ManagedPolicy -> ManagedPolicy
set PropertyType "Roles" ManagedPolicy
newValue ManagedPolicy {Maybe (ValueList Text)
Maybe (Value Text)
()
Object
haddock_workaround_ :: ManagedPolicy -> ()
description :: ManagedPolicy -> Maybe (Value Text)
groups :: ManagedPolicy -> Maybe (ValueList Text)
managedPolicyName :: ManagedPolicy -> Maybe (Value Text)
path :: ManagedPolicy -> Maybe (Value Text)
policyDocument :: ManagedPolicy -> Object
roles :: ManagedPolicy -> Maybe (ValueList Text)
users :: ManagedPolicy -> Maybe (ValueList Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
groups :: Maybe (ValueList Text)
managedPolicyName :: Maybe (Value Text)
path :: Maybe (Value Text)
policyDocument :: Object
roles :: Maybe (ValueList Text)
users :: Maybe (ValueList Text)
..}
= ManagedPolicy {roles :: Maybe (ValueList Text)
roles = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Roles" ManagedPolicy
ValueList Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Object
haddock_workaround_ :: ()
description :: Maybe (Value Text)
groups :: Maybe (ValueList Text)
managedPolicyName :: Maybe (Value Text)
path :: Maybe (Value Text)
policyDocument :: Object
users :: Maybe (ValueList Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
groups :: Maybe (ValueList Text)
managedPolicyName :: Maybe (Value Text)
path :: Maybe (Value Text)
policyDocument :: Object
users :: Maybe (ValueList Text)
..}
instance Property "Users" ManagedPolicy where
type PropertyType "Users" ManagedPolicy = ValueList Prelude.Text
set :: PropertyType "Users" ManagedPolicy
-> ManagedPolicy -> ManagedPolicy
set PropertyType "Users" ManagedPolicy
newValue ManagedPolicy {Maybe (ValueList Text)
Maybe (Value Text)
()
Object
haddock_workaround_ :: ManagedPolicy -> ()
description :: ManagedPolicy -> Maybe (Value Text)
groups :: ManagedPolicy -> Maybe (ValueList Text)
managedPolicyName :: ManagedPolicy -> Maybe (Value Text)
path :: ManagedPolicy -> Maybe (Value Text)
policyDocument :: ManagedPolicy -> Object
roles :: ManagedPolicy -> Maybe (ValueList Text)
users :: ManagedPolicy -> Maybe (ValueList Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
groups :: Maybe (ValueList Text)
managedPolicyName :: Maybe (Value Text)
path :: Maybe (Value Text)
policyDocument :: Object
roles :: Maybe (ValueList Text)
users :: Maybe (ValueList Text)
..}
= ManagedPolicy {users :: Maybe (ValueList Text)
users = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Users" ManagedPolicy
ValueList Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Object
haddock_workaround_ :: ()
description :: Maybe (Value Text)
groups :: Maybe (ValueList Text)
managedPolicyName :: Maybe (Value Text)
path :: Maybe (Value Text)
policyDocument :: Object
roles :: Maybe (ValueList Text)
haddock_workaround_ :: ()
description :: Maybe (Value Text)
groups :: Maybe (ValueList Text)
managedPolicyName :: Maybe (Value Text)
path :: Maybe (Value Text)
policyDocument :: Object
roles :: Maybe (ValueList Text)
..}