module Stratosphere.Connect.SecurityProfile (
module Exports, SecurityProfile(..), mkSecurityProfile
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Connect.SecurityProfile.ApplicationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data SecurityProfile
=
SecurityProfile {SecurityProfile -> ()
haddock_workaround_ :: (),
SecurityProfile -> Maybe (Value Text)
allowedAccessControlHierarchyGroupId :: (Prelude.Maybe (Value Prelude.Text)),
SecurityProfile -> Maybe [Tag]
allowedAccessControlTags :: (Prelude.Maybe [Tag]),
SecurityProfile -> Maybe [ApplicationProperty]
applications :: (Prelude.Maybe [ApplicationProperty]),
SecurityProfile -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
SecurityProfile -> Maybe (ValueList Text)
hierarchyRestrictedResources :: (Prelude.Maybe (ValueList Prelude.Text)),
SecurityProfile -> Value Text
instanceArn :: (Value Prelude.Text),
SecurityProfile -> Maybe (ValueList Text)
permissions :: (Prelude.Maybe (ValueList Prelude.Text)),
SecurityProfile -> Value Text
securityProfileName :: (Value Prelude.Text),
SecurityProfile -> Maybe (ValueList Text)
tagRestrictedResources :: (Prelude.Maybe (ValueList Prelude.Text)),
SecurityProfile -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
deriving stock (SecurityProfile -> SecurityProfile -> Bool
(SecurityProfile -> SecurityProfile -> Bool)
-> (SecurityProfile -> SecurityProfile -> Bool)
-> Eq SecurityProfile
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SecurityProfile -> SecurityProfile -> Bool
== :: SecurityProfile -> SecurityProfile -> Bool
$c/= :: SecurityProfile -> SecurityProfile -> Bool
/= :: SecurityProfile -> SecurityProfile -> Bool
Prelude.Eq, Int -> SecurityProfile -> ShowS
[SecurityProfile] -> ShowS
SecurityProfile -> String
(Int -> SecurityProfile -> ShowS)
-> (SecurityProfile -> String)
-> ([SecurityProfile] -> ShowS)
-> Show SecurityProfile
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SecurityProfile -> ShowS
showsPrec :: Int -> SecurityProfile -> ShowS
$cshow :: SecurityProfile -> String
show :: SecurityProfile -> String
$cshowList :: [SecurityProfile] -> ShowS
showList :: [SecurityProfile] -> ShowS
Prelude.Show)
mkSecurityProfile ::
Value Prelude.Text -> Value Prelude.Text -> SecurityProfile
mkSecurityProfile :: Value Text -> Value Text -> SecurityProfile
mkSecurityProfile Value Text
instanceArn Value Text
securityProfileName
= SecurityProfile
{haddock_workaround_ :: ()
haddock_workaround_ = (), instanceArn :: Value Text
instanceArn = Value Text
instanceArn,
securityProfileName :: Value Text
securityProfileName = Value Text
securityProfileName,
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlHierarchyGroupId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
allowedAccessControlTags :: Maybe [Tag]
allowedAccessControlTags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
applications :: Maybe [ApplicationProperty]
applications = Maybe [ApplicationProperty]
forall a. Maybe a
Prelude.Nothing, description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
hierarchyRestrictedResources :: Maybe (ValueList Text)
hierarchyRestrictedResources = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
permissions :: Maybe (ValueList Text)
permissions = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
tagRestrictedResources :: Maybe (ValueList Text)
tagRestrictedResources = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties SecurityProfile where
toResourceProperties :: SecurityProfile -> ResourceProperties
toResourceProperties SecurityProfile {Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityProfile -> ()
allowedAccessControlHierarchyGroupId :: SecurityProfile -> Maybe (Value Text)
allowedAccessControlTags :: SecurityProfile -> Maybe [Tag]
applications :: SecurityProfile -> Maybe [ApplicationProperty]
description :: SecurityProfile -> Maybe (Value Text)
hierarchyRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
instanceArn :: SecurityProfile -> Value Text
permissions :: SecurityProfile -> Maybe (ValueList Text)
securityProfileName :: SecurityProfile -> Value Text
tagRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
tags :: SecurityProfile -> Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Connect::SecurityProfile",
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
"InstanceArn" 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
instanceArn,
Key
"SecurityProfileName" 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
securityProfileName]
([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
"AllowedAccessControlHierarchyGroupId"
(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)
allowedAccessControlHierarchyGroupId,
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
"AllowedAccessControlTags"
([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
allowedAccessControlTags,
Key -> [ApplicationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Applications" ([ApplicationProperty] -> (Key, Value))
-> Maybe [ApplicationProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ApplicationProperty]
applications,
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
"HierarchyRestrictedResources"
(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)
hierarchyRestrictedResources,
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
"Permissions" (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)
permissions,
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
"TagRestrictedResources"
(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)
tagRestrictedResources,
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 SecurityProfile where
toJSON :: SecurityProfile -> Value
toJSON SecurityProfile {Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityProfile -> ()
allowedAccessControlHierarchyGroupId :: SecurityProfile -> Maybe (Value Text)
allowedAccessControlTags :: SecurityProfile -> Maybe [Tag]
applications :: SecurityProfile -> Maybe [ApplicationProperty]
description :: SecurityProfile -> Maybe (Value Text)
hierarchyRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
instanceArn :: SecurityProfile -> Value Text
permissions :: SecurityProfile -> Maybe (ValueList Text)
securityProfileName :: SecurityProfile -> Value Text
tagRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
tags :: SecurityProfile -> Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: 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
"InstanceArn" 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
instanceArn,
Key
"SecurityProfileName" 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
securityProfileName]
([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
"AllowedAccessControlHierarchyGroupId"
(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)
allowedAccessControlHierarchyGroupId,
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
"AllowedAccessControlTags"
([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
allowedAccessControlTags,
Key -> [ApplicationProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Applications" ([ApplicationProperty] -> (Key, Value))
-> Maybe [ApplicationProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ApplicationProperty]
applications,
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
"HierarchyRestrictedResources"
(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)
hierarchyRestrictedResources,
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
"Permissions" (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)
permissions,
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
"TagRestrictedResources"
(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)
tagRestrictedResources,
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 "AllowedAccessControlHierarchyGroupId" SecurityProfile where
type PropertyType "AllowedAccessControlHierarchyGroupId" SecurityProfile = Value Prelude.Text
set :: PropertyType "AllowedAccessControlHierarchyGroupId" SecurityProfile
-> SecurityProfile -> SecurityProfile
set PropertyType "AllowedAccessControlHierarchyGroupId" SecurityProfile
newValue SecurityProfile {Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityProfile -> ()
allowedAccessControlHierarchyGroupId :: SecurityProfile -> Maybe (Value Text)
allowedAccessControlTags :: SecurityProfile -> Maybe [Tag]
applications :: SecurityProfile -> Maybe [ApplicationProperty]
description :: SecurityProfile -> Maybe (Value Text)
hierarchyRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
instanceArn :: SecurityProfile -> Value Text
permissions :: SecurityProfile -> Maybe (ValueList Text)
securityProfileName :: SecurityProfile -> Value Text
tagRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
tags :: SecurityProfile -> Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
= SecurityProfile
{allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlHierarchyGroupId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AllowedAccessControlHierarchyGroupId" SecurityProfile
Value Text
newValue, Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
instance Property "AllowedAccessControlTags" SecurityProfile where
type PropertyType "AllowedAccessControlTags" SecurityProfile = [Tag]
set :: PropertyType "AllowedAccessControlTags" SecurityProfile
-> SecurityProfile -> SecurityProfile
set PropertyType "AllowedAccessControlTags" SecurityProfile
newValue SecurityProfile {Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityProfile -> ()
allowedAccessControlHierarchyGroupId :: SecurityProfile -> Maybe (Value Text)
allowedAccessControlTags :: SecurityProfile -> Maybe [Tag]
applications :: SecurityProfile -> Maybe [ApplicationProperty]
description :: SecurityProfile -> Maybe (Value Text)
hierarchyRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
instanceArn :: SecurityProfile -> Value Text
permissions :: SecurityProfile -> Maybe (ValueList Text)
securityProfileName :: SecurityProfile -> Value Text
tagRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
tags :: SecurityProfile -> Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
= SecurityProfile
{allowedAccessControlTags :: Maybe [Tag]
allowedAccessControlTags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "AllowedAccessControlTags" SecurityProfile
newValue, Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
instance Property "Applications" SecurityProfile where
type PropertyType "Applications" SecurityProfile = [ApplicationProperty]
set :: PropertyType "Applications" SecurityProfile
-> SecurityProfile -> SecurityProfile
set PropertyType "Applications" SecurityProfile
newValue SecurityProfile {Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityProfile -> ()
allowedAccessControlHierarchyGroupId :: SecurityProfile -> Maybe (Value Text)
allowedAccessControlTags :: SecurityProfile -> Maybe [Tag]
applications :: SecurityProfile -> Maybe [ApplicationProperty]
description :: SecurityProfile -> Maybe (Value Text)
hierarchyRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
instanceArn :: SecurityProfile -> Value Text
permissions :: SecurityProfile -> Maybe (ValueList Text)
securityProfileName :: SecurityProfile -> Value Text
tagRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
tags :: SecurityProfile -> Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
= SecurityProfile {applications :: Maybe [ApplicationProperty]
applications = [ApplicationProperty] -> Maybe [ApplicationProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [ApplicationProperty]
PropertyType "Applications" SecurityProfile
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
instance Property "Description" SecurityProfile where
type PropertyType "Description" SecurityProfile = Value Prelude.Text
set :: PropertyType "Description" SecurityProfile
-> SecurityProfile -> SecurityProfile
set PropertyType "Description" SecurityProfile
newValue SecurityProfile {Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityProfile -> ()
allowedAccessControlHierarchyGroupId :: SecurityProfile -> Maybe (Value Text)
allowedAccessControlTags :: SecurityProfile -> Maybe [Tag]
applications :: SecurityProfile -> Maybe [ApplicationProperty]
description :: SecurityProfile -> Maybe (Value Text)
hierarchyRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
instanceArn :: SecurityProfile -> Value Text
permissions :: SecurityProfile -> Maybe (ValueList Text)
securityProfileName :: SecurityProfile -> Value Text
tagRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
tags :: SecurityProfile -> Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
= SecurityProfile {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" SecurityProfile
Value Text
newValue, Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
instance Property "HierarchyRestrictedResources" SecurityProfile where
type PropertyType "HierarchyRestrictedResources" SecurityProfile = ValueList Prelude.Text
set :: PropertyType "HierarchyRestrictedResources" SecurityProfile
-> SecurityProfile -> SecurityProfile
set PropertyType "HierarchyRestrictedResources" SecurityProfile
newValue SecurityProfile {Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityProfile -> ()
allowedAccessControlHierarchyGroupId :: SecurityProfile -> Maybe (Value Text)
allowedAccessControlTags :: SecurityProfile -> Maybe [Tag]
applications :: SecurityProfile -> Maybe [ApplicationProperty]
description :: SecurityProfile -> Maybe (Value Text)
hierarchyRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
instanceArn :: SecurityProfile -> Value Text
permissions :: SecurityProfile -> Maybe (ValueList Text)
securityProfileName :: SecurityProfile -> Value Text
tagRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
tags :: SecurityProfile -> Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
= SecurityProfile
{hierarchyRestrictedResources :: Maybe (ValueList Text)
hierarchyRestrictedResources = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "HierarchyRestrictedResources" SecurityProfile
ValueList Text
newValue, Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
instance Property "InstanceArn" SecurityProfile where
type PropertyType "InstanceArn" SecurityProfile = Value Prelude.Text
set :: PropertyType "InstanceArn" SecurityProfile
-> SecurityProfile -> SecurityProfile
set PropertyType "InstanceArn" SecurityProfile
newValue SecurityProfile {Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityProfile -> ()
allowedAccessControlHierarchyGroupId :: SecurityProfile -> Maybe (Value Text)
allowedAccessControlTags :: SecurityProfile -> Maybe [Tag]
applications :: SecurityProfile -> Maybe [ApplicationProperty]
description :: SecurityProfile -> Maybe (Value Text)
hierarchyRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
instanceArn :: SecurityProfile -> Value Text
permissions :: SecurityProfile -> Maybe (ValueList Text)
securityProfileName :: SecurityProfile -> Value Text
tagRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
tags :: SecurityProfile -> Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
= SecurityProfile {instanceArn :: Value Text
instanceArn = PropertyType "InstanceArn" SecurityProfile
Value Text
newValue, Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
instance Property "Permissions" SecurityProfile where
type PropertyType "Permissions" SecurityProfile = ValueList Prelude.Text
set :: PropertyType "Permissions" SecurityProfile
-> SecurityProfile -> SecurityProfile
set PropertyType "Permissions" SecurityProfile
newValue SecurityProfile {Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityProfile -> ()
allowedAccessControlHierarchyGroupId :: SecurityProfile -> Maybe (Value Text)
allowedAccessControlTags :: SecurityProfile -> Maybe [Tag]
applications :: SecurityProfile -> Maybe [ApplicationProperty]
description :: SecurityProfile -> Maybe (Value Text)
hierarchyRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
instanceArn :: SecurityProfile -> Value Text
permissions :: SecurityProfile -> Maybe (ValueList Text)
securityProfileName :: SecurityProfile -> Value Text
tagRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
tags :: SecurityProfile -> Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
= SecurityProfile {permissions :: Maybe (ValueList Text)
permissions = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Permissions" SecurityProfile
ValueList Text
newValue, Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
instance Property "SecurityProfileName" SecurityProfile where
type PropertyType "SecurityProfileName" SecurityProfile = Value Prelude.Text
set :: PropertyType "SecurityProfileName" SecurityProfile
-> SecurityProfile -> SecurityProfile
set PropertyType "SecurityProfileName" SecurityProfile
newValue SecurityProfile {Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityProfile -> ()
allowedAccessControlHierarchyGroupId :: SecurityProfile -> Maybe (Value Text)
allowedAccessControlTags :: SecurityProfile -> Maybe [Tag]
applications :: SecurityProfile -> Maybe [ApplicationProperty]
description :: SecurityProfile -> Maybe (Value Text)
hierarchyRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
instanceArn :: SecurityProfile -> Value Text
permissions :: SecurityProfile -> Maybe (ValueList Text)
securityProfileName :: SecurityProfile -> Value Text
tagRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
tags :: SecurityProfile -> Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
= SecurityProfile {securityProfileName :: Value Text
securityProfileName = PropertyType "SecurityProfileName" SecurityProfile
Value Text
newValue, Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
instance Property "TagRestrictedResources" SecurityProfile where
type PropertyType "TagRestrictedResources" SecurityProfile = ValueList Prelude.Text
set :: PropertyType "TagRestrictedResources" SecurityProfile
-> SecurityProfile -> SecurityProfile
set PropertyType "TagRestrictedResources" SecurityProfile
newValue SecurityProfile {Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityProfile -> ()
allowedAccessControlHierarchyGroupId :: SecurityProfile -> Maybe (Value Text)
allowedAccessControlTags :: SecurityProfile -> Maybe [Tag]
applications :: SecurityProfile -> Maybe [ApplicationProperty]
description :: SecurityProfile -> Maybe (Value Text)
hierarchyRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
instanceArn :: SecurityProfile -> Value Text
permissions :: SecurityProfile -> Maybe (ValueList Text)
securityProfileName :: SecurityProfile -> Value Text
tagRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
tags :: SecurityProfile -> Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
= SecurityProfile
{tagRestrictedResources :: Maybe (ValueList Text)
tagRestrictedResources = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TagRestrictedResources" SecurityProfile
ValueList Text
newValue, Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tags :: Maybe [Tag]
..}
instance Property "Tags" SecurityProfile where
type PropertyType "Tags" SecurityProfile = [Tag]
set :: PropertyType "Tags" SecurityProfile
-> SecurityProfile -> SecurityProfile
set PropertyType "Tags" SecurityProfile
newValue SecurityProfile {Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: SecurityProfile -> ()
allowedAccessControlHierarchyGroupId :: SecurityProfile -> Maybe (Value Text)
allowedAccessControlTags :: SecurityProfile -> Maybe [Tag]
applications :: SecurityProfile -> Maybe [ApplicationProperty]
description :: SecurityProfile -> Maybe (Value Text)
hierarchyRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
instanceArn :: SecurityProfile -> Value Text
permissions :: SecurityProfile -> Maybe (ValueList Text)
securityProfileName :: SecurityProfile -> Value Text
tagRestrictedResources :: SecurityProfile -> Maybe (ValueList Text)
tags :: SecurityProfile -> Maybe [Tag]
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
tags :: Maybe [Tag]
..}
= SecurityProfile {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" SecurityProfile
newValue, Maybe [Tag]
Maybe [ApplicationProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
haddock_workaround_ :: ()
allowedAccessControlHierarchyGroupId :: Maybe (Value Text)
allowedAccessControlTags :: Maybe [Tag]
applications :: Maybe [ApplicationProperty]
description :: Maybe (Value Text)
hierarchyRestrictedResources :: Maybe (ValueList Text)
instanceArn :: Value Text
permissions :: Maybe (ValueList Text)
securityProfileName :: Value Text
tagRestrictedResources :: Maybe (ValueList Text)
..}