module Stratosphere.AppConfig.ConfigurationProfile (
module Exports, ConfigurationProfile(..), mkConfigurationProfile
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.AppConfig.ConfigurationProfile.TagsProperty as Exports
import {-# SOURCE #-} Stratosphere.AppConfig.ConfigurationProfile.ValidatorsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ConfigurationProfile
=
ConfigurationProfile {ConfigurationProfile -> ()
haddock_workaround_ :: (),
ConfigurationProfile -> Value Text
applicationId :: (Value Prelude.Text),
ConfigurationProfile -> Maybe (Value Text)
deletionProtectionCheck :: (Prelude.Maybe (Value Prelude.Text)),
ConfigurationProfile -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
ConfigurationProfile -> Maybe (Value Text)
kmsKeyIdentifier :: (Prelude.Maybe (Value Prelude.Text)),
ConfigurationProfile -> Value Text
locationUri :: (Value Prelude.Text),
ConfigurationProfile -> Value Text
name :: (Value Prelude.Text),
ConfigurationProfile -> Maybe (Value Text)
retrievalRoleArn :: (Prelude.Maybe (Value Prelude.Text)),
ConfigurationProfile -> Maybe [TagsProperty]
tags :: (Prelude.Maybe [TagsProperty]),
ConfigurationProfile -> Maybe (Value Text)
type' :: (Prelude.Maybe (Value Prelude.Text)),
ConfigurationProfile -> Maybe [ValidatorsProperty]
validators :: (Prelude.Maybe [ValidatorsProperty])}
deriving stock (ConfigurationProfile -> ConfigurationProfile -> Bool
(ConfigurationProfile -> ConfigurationProfile -> Bool)
-> (ConfigurationProfile -> ConfigurationProfile -> Bool)
-> Eq ConfigurationProfile
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ConfigurationProfile -> ConfigurationProfile -> Bool
== :: ConfigurationProfile -> ConfigurationProfile -> Bool
$c/= :: ConfigurationProfile -> ConfigurationProfile -> Bool
/= :: ConfigurationProfile -> ConfigurationProfile -> Bool
Prelude.Eq, Int -> ConfigurationProfile -> ShowS
[ConfigurationProfile] -> ShowS
ConfigurationProfile -> String
(Int -> ConfigurationProfile -> ShowS)
-> (ConfigurationProfile -> String)
-> ([ConfigurationProfile] -> ShowS)
-> Show ConfigurationProfile
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ConfigurationProfile -> ShowS
showsPrec :: Int -> ConfigurationProfile -> ShowS
$cshow :: ConfigurationProfile -> String
show :: ConfigurationProfile -> String
$cshowList :: [ConfigurationProfile] -> ShowS
showList :: [ConfigurationProfile] -> ShowS
Prelude.Show)
mkConfigurationProfile ::
Value Prelude.Text
-> Value Prelude.Text -> Value Prelude.Text -> ConfigurationProfile
mkConfigurationProfile :: Value Text -> Value Text -> Value Text -> ConfigurationProfile
mkConfigurationProfile Value Text
applicationId Value Text
locationUri Value Text
name
= ConfigurationProfile
{haddock_workaround_ :: ()
haddock_workaround_ = (), applicationId :: Value Text
applicationId = Value Text
applicationId,
locationUri :: Value Text
locationUri = Value Text
locationUri, name :: Value Text
name = Value Text
name,
deletionProtectionCheck :: Maybe (Value Text)
deletionProtectionCheck = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, kmsKeyIdentifier :: Maybe (Value Text)
kmsKeyIdentifier = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
retrievalRoleArn :: Maybe (Value Text)
retrievalRoleArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [TagsProperty]
tags = Maybe [TagsProperty]
forall a. Maybe a
Prelude.Nothing,
type' :: Maybe (Value Text)
type' = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, validators :: Maybe [ValidatorsProperty]
validators = Maybe [ValidatorsProperty]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ConfigurationProfile where
toResourceProperties :: ConfigurationProfile -> ResourceProperties
toResourceProperties ConfigurationProfile {Maybe [TagsProperty]
Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ConfigurationProfile -> ()
applicationId :: ConfigurationProfile -> Value Text
deletionProtectionCheck :: ConfigurationProfile -> Maybe (Value Text)
description :: ConfigurationProfile -> Maybe (Value Text)
kmsKeyIdentifier :: ConfigurationProfile -> Maybe (Value Text)
locationUri :: ConfigurationProfile -> Value Text
name :: ConfigurationProfile -> Value Text
retrievalRoleArn :: ConfigurationProfile -> Maybe (Value Text)
tags :: ConfigurationProfile -> Maybe [TagsProperty]
type' :: ConfigurationProfile -> Maybe (Value Text)
validators :: ConfigurationProfile -> Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::AppConfig::ConfigurationProfile",
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
"ApplicationId" 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
applicationId,
Key
"LocationUri" 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
locationUri, 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 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
"DeletionProtectionCheck"
(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)
deletionProtectionCheck,
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 -> 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
"KmsKeyIdentifier" (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)
kmsKeyIdentifier,
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
"RetrievalRoleArn" (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)
retrievalRoleArn,
Key -> [TagsProperty] -> (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" ([TagsProperty] -> (Key, Value))
-> Maybe [TagsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TagsProperty]
tags,
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
"Type" (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)
type',
Key -> [ValidatorsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Validators" ([ValidatorsProperty] -> (Key, Value))
-> Maybe [ValidatorsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ValidatorsProperty]
validators]))}
instance JSON.ToJSON ConfigurationProfile where
toJSON :: ConfigurationProfile -> Value
toJSON ConfigurationProfile {Maybe [TagsProperty]
Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ConfigurationProfile -> ()
applicationId :: ConfigurationProfile -> Value Text
deletionProtectionCheck :: ConfigurationProfile -> Maybe (Value Text)
description :: ConfigurationProfile -> Maybe (Value Text)
kmsKeyIdentifier :: ConfigurationProfile -> Maybe (Value Text)
locationUri :: ConfigurationProfile -> Value Text
name :: ConfigurationProfile -> Value Text
retrievalRoleArn :: ConfigurationProfile -> Maybe (Value Text)
tags :: ConfigurationProfile -> Maybe [TagsProperty]
type' :: ConfigurationProfile -> Maybe (Value Text)
validators :: ConfigurationProfile -> Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
..}
= [(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
"ApplicationId" 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
applicationId,
Key
"LocationUri" 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
locationUri, 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 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
"DeletionProtectionCheck"
(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)
deletionProtectionCheck,
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 -> 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
"KmsKeyIdentifier" (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)
kmsKeyIdentifier,
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
"RetrievalRoleArn" (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)
retrievalRoleArn,
Key -> [TagsProperty] -> (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" ([TagsProperty] -> (Key, Value))
-> Maybe [TagsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TagsProperty]
tags,
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
"Type" (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)
type',
Key -> [ValidatorsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Validators" ([ValidatorsProperty] -> (Key, Value))
-> Maybe [ValidatorsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ValidatorsProperty]
validators])))
instance Property "ApplicationId" ConfigurationProfile where
type PropertyType "ApplicationId" ConfigurationProfile = Value Prelude.Text
set :: PropertyType "ApplicationId" ConfigurationProfile
-> ConfigurationProfile -> ConfigurationProfile
set PropertyType "ApplicationId" ConfigurationProfile
newValue ConfigurationProfile {Maybe [TagsProperty]
Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ConfigurationProfile -> ()
applicationId :: ConfigurationProfile -> Value Text
deletionProtectionCheck :: ConfigurationProfile -> Maybe (Value Text)
description :: ConfigurationProfile -> Maybe (Value Text)
kmsKeyIdentifier :: ConfigurationProfile -> Maybe (Value Text)
locationUri :: ConfigurationProfile -> Value Text
name :: ConfigurationProfile -> Value Text
retrievalRoleArn :: ConfigurationProfile -> Maybe (Value Text)
tags :: ConfigurationProfile -> Maybe [TagsProperty]
type' :: ConfigurationProfile -> Maybe (Value Text)
validators :: ConfigurationProfile -> Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
..}
= ConfigurationProfile {applicationId :: Value Text
applicationId = PropertyType "ApplicationId" ConfigurationProfile
Value Text
newValue, Maybe [TagsProperty]
Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
..}
instance Property "DeletionProtectionCheck" ConfigurationProfile where
type PropertyType "DeletionProtectionCheck" ConfigurationProfile = Value Prelude.Text
set :: PropertyType "DeletionProtectionCheck" ConfigurationProfile
-> ConfigurationProfile -> ConfigurationProfile
set PropertyType "DeletionProtectionCheck" ConfigurationProfile
newValue ConfigurationProfile {Maybe [TagsProperty]
Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ConfigurationProfile -> ()
applicationId :: ConfigurationProfile -> Value Text
deletionProtectionCheck :: ConfigurationProfile -> Maybe (Value Text)
description :: ConfigurationProfile -> Maybe (Value Text)
kmsKeyIdentifier :: ConfigurationProfile -> Maybe (Value Text)
locationUri :: ConfigurationProfile -> Value Text
name :: ConfigurationProfile -> Value Text
retrievalRoleArn :: ConfigurationProfile -> Maybe (Value Text)
tags :: ConfigurationProfile -> Maybe [TagsProperty]
type' :: ConfigurationProfile -> Maybe (Value Text)
validators :: ConfigurationProfile -> Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
..}
= ConfigurationProfile
{deletionProtectionCheck :: Maybe (Value Text)
deletionProtectionCheck = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DeletionProtectionCheck" ConfigurationProfile
Value Text
newValue, Maybe [TagsProperty]
Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
applicationId :: Value Text
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
..}
instance Property "Description" ConfigurationProfile where
type PropertyType "Description" ConfigurationProfile = Value Prelude.Text
set :: PropertyType "Description" ConfigurationProfile
-> ConfigurationProfile -> ConfigurationProfile
set PropertyType "Description" ConfigurationProfile
newValue ConfigurationProfile {Maybe [TagsProperty]
Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ConfigurationProfile -> ()
applicationId :: ConfigurationProfile -> Value Text
deletionProtectionCheck :: ConfigurationProfile -> Maybe (Value Text)
description :: ConfigurationProfile -> Maybe (Value Text)
kmsKeyIdentifier :: ConfigurationProfile -> Maybe (Value Text)
locationUri :: ConfigurationProfile -> Value Text
name :: ConfigurationProfile -> Value Text
retrievalRoleArn :: ConfigurationProfile -> Maybe (Value Text)
tags :: ConfigurationProfile -> Maybe [TagsProperty]
type' :: ConfigurationProfile -> Maybe (Value Text)
validators :: ConfigurationProfile -> Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
..}
= ConfigurationProfile {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" ConfigurationProfile
Value Text
newValue, Maybe [TagsProperty]
Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
..}
instance Property "KmsKeyIdentifier" ConfigurationProfile where
type PropertyType "KmsKeyIdentifier" ConfigurationProfile = Value Prelude.Text
set :: PropertyType "KmsKeyIdentifier" ConfigurationProfile
-> ConfigurationProfile -> ConfigurationProfile
set PropertyType "KmsKeyIdentifier" ConfigurationProfile
newValue ConfigurationProfile {Maybe [TagsProperty]
Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ConfigurationProfile -> ()
applicationId :: ConfigurationProfile -> Value Text
deletionProtectionCheck :: ConfigurationProfile -> Maybe (Value Text)
description :: ConfigurationProfile -> Maybe (Value Text)
kmsKeyIdentifier :: ConfigurationProfile -> Maybe (Value Text)
locationUri :: ConfigurationProfile -> Value Text
name :: ConfigurationProfile -> Value Text
retrievalRoleArn :: ConfigurationProfile -> Maybe (Value Text)
tags :: ConfigurationProfile -> Maybe [TagsProperty]
type' :: ConfigurationProfile -> Maybe (Value Text)
validators :: ConfigurationProfile -> Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
..}
= ConfigurationProfile
{kmsKeyIdentifier :: Maybe (Value Text)
kmsKeyIdentifier = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "KmsKeyIdentifier" ConfigurationProfile
Value Text
newValue, Maybe [TagsProperty]
Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
..}
instance Property "LocationUri" ConfigurationProfile where
type PropertyType "LocationUri" ConfigurationProfile = Value Prelude.Text
set :: PropertyType "LocationUri" ConfigurationProfile
-> ConfigurationProfile -> ConfigurationProfile
set PropertyType "LocationUri" ConfigurationProfile
newValue ConfigurationProfile {Maybe [TagsProperty]
Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ConfigurationProfile -> ()
applicationId :: ConfigurationProfile -> Value Text
deletionProtectionCheck :: ConfigurationProfile -> Maybe (Value Text)
description :: ConfigurationProfile -> Maybe (Value Text)
kmsKeyIdentifier :: ConfigurationProfile -> Maybe (Value Text)
locationUri :: ConfigurationProfile -> Value Text
name :: ConfigurationProfile -> Value Text
retrievalRoleArn :: ConfigurationProfile -> Maybe (Value Text)
tags :: ConfigurationProfile -> Maybe [TagsProperty]
type' :: ConfigurationProfile -> Maybe (Value Text)
validators :: ConfigurationProfile -> Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
..}
= ConfigurationProfile {locationUri :: Value Text
locationUri = PropertyType "LocationUri" ConfigurationProfile
Value Text
newValue, Maybe [TagsProperty]
Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
..}
instance Property "Name" ConfigurationProfile where
type PropertyType "Name" ConfigurationProfile = Value Prelude.Text
set :: PropertyType "Name" ConfigurationProfile
-> ConfigurationProfile -> ConfigurationProfile
set PropertyType "Name" ConfigurationProfile
newValue ConfigurationProfile {Maybe [TagsProperty]
Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ConfigurationProfile -> ()
applicationId :: ConfigurationProfile -> Value Text
deletionProtectionCheck :: ConfigurationProfile -> Maybe (Value Text)
description :: ConfigurationProfile -> Maybe (Value Text)
kmsKeyIdentifier :: ConfigurationProfile -> Maybe (Value Text)
locationUri :: ConfigurationProfile -> Value Text
name :: ConfigurationProfile -> Value Text
retrievalRoleArn :: ConfigurationProfile -> Maybe (Value Text)
tags :: ConfigurationProfile -> Maybe [TagsProperty]
type' :: ConfigurationProfile -> Maybe (Value Text)
validators :: ConfigurationProfile -> Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
..}
= ConfigurationProfile {name :: Value Text
name = PropertyType "Name" ConfigurationProfile
Value Text
newValue, Maybe [TagsProperty]
Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
..}
instance Property "RetrievalRoleArn" ConfigurationProfile where
type PropertyType "RetrievalRoleArn" ConfigurationProfile = Value Prelude.Text
set :: PropertyType "RetrievalRoleArn" ConfigurationProfile
-> ConfigurationProfile -> ConfigurationProfile
set PropertyType "RetrievalRoleArn" ConfigurationProfile
newValue ConfigurationProfile {Maybe [TagsProperty]
Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ConfigurationProfile -> ()
applicationId :: ConfigurationProfile -> Value Text
deletionProtectionCheck :: ConfigurationProfile -> Maybe (Value Text)
description :: ConfigurationProfile -> Maybe (Value Text)
kmsKeyIdentifier :: ConfigurationProfile -> Maybe (Value Text)
locationUri :: ConfigurationProfile -> Value Text
name :: ConfigurationProfile -> Value Text
retrievalRoleArn :: ConfigurationProfile -> Maybe (Value Text)
tags :: ConfigurationProfile -> Maybe [TagsProperty]
type' :: ConfigurationProfile -> Maybe (Value Text)
validators :: ConfigurationProfile -> Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
..}
= ConfigurationProfile
{retrievalRoleArn :: Maybe (Value Text)
retrievalRoleArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RetrievalRoleArn" ConfigurationProfile
Value Text
newValue, Maybe [TagsProperty]
Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
..}
instance Property "Tags" ConfigurationProfile where
type PropertyType "Tags" ConfigurationProfile = [TagsProperty]
set :: PropertyType "Tags" ConfigurationProfile
-> ConfigurationProfile -> ConfigurationProfile
set PropertyType "Tags" ConfigurationProfile
newValue ConfigurationProfile {Maybe [TagsProperty]
Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ConfigurationProfile -> ()
applicationId :: ConfigurationProfile -> Value Text
deletionProtectionCheck :: ConfigurationProfile -> Maybe (Value Text)
description :: ConfigurationProfile -> Maybe (Value Text)
kmsKeyIdentifier :: ConfigurationProfile -> Maybe (Value Text)
locationUri :: ConfigurationProfile -> Value Text
name :: ConfigurationProfile -> Value Text
retrievalRoleArn :: ConfigurationProfile -> Maybe (Value Text)
tags :: ConfigurationProfile -> Maybe [TagsProperty]
type' :: ConfigurationProfile -> Maybe (Value Text)
validators :: ConfigurationProfile -> Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
..}
= ConfigurationProfile {tags :: Maybe [TagsProperty]
tags = [TagsProperty] -> Maybe [TagsProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [TagsProperty]
PropertyType "Tags" ConfigurationProfile
newValue, Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
..}
instance Property "Type" ConfigurationProfile where
type PropertyType "Type" ConfigurationProfile = Value Prelude.Text
set :: PropertyType "Type" ConfigurationProfile
-> ConfigurationProfile -> ConfigurationProfile
set PropertyType "Type" ConfigurationProfile
newValue ConfigurationProfile {Maybe [TagsProperty]
Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ConfigurationProfile -> ()
applicationId :: ConfigurationProfile -> Value Text
deletionProtectionCheck :: ConfigurationProfile -> Maybe (Value Text)
description :: ConfigurationProfile -> Maybe (Value Text)
kmsKeyIdentifier :: ConfigurationProfile -> Maybe (Value Text)
locationUri :: ConfigurationProfile -> Value Text
name :: ConfigurationProfile -> Value Text
retrievalRoleArn :: ConfigurationProfile -> Maybe (Value Text)
tags :: ConfigurationProfile -> Maybe [TagsProperty]
type' :: ConfigurationProfile -> Maybe (Value Text)
validators :: ConfigurationProfile -> Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
..}
= ConfigurationProfile {type' :: Maybe (Value Text)
type' = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Type" ConfigurationProfile
Value Text
newValue, Maybe [TagsProperty]
Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
validators :: Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
validators :: Maybe [ValidatorsProperty]
..}
instance Property "Validators" ConfigurationProfile where
type PropertyType "Validators" ConfigurationProfile = [ValidatorsProperty]
set :: PropertyType "Validators" ConfigurationProfile
-> ConfigurationProfile -> ConfigurationProfile
set PropertyType "Validators" ConfigurationProfile
newValue ConfigurationProfile {Maybe [TagsProperty]
Maybe [ValidatorsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ConfigurationProfile -> ()
applicationId :: ConfigurationProfile -> Value Text
deletionProtectionCheck :: ConfigurationProfile -> Maybe (Value Text)
description :: ConfigurationProfile -> Maybe (Value Text)
kmsKeyIdentifier :: ConfigurationProfile -> Maybe (Value Text)
locationUri :: ConfigurationProfile -> Value Text
name :: ConfigurationProfile -> Value Text
retrievalRoleArn :: ConfigurationProfile -> Maybe (Value Text)
tags :: ConfigurationProfile -> Maybe [TagsProperty]
type' :: ConfigurationProfile -> Maybe (Value Text)
validators :: ConfigurationProfile -> Maybe [ValidatorsProperty]
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
validators :: Maybe [ValidatorsProperty]
..}
= ConfigurationProfile {validators :: Maybe [ValidatorsProperty]
validators = [ValidatorsProperty] -> Maybe [ValidatorsProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [ValidatorsProperty]
PropertyType "Validators" ConfigurationProfile
newValue, Maybe [TagsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
deletionProtectionCheck :: Maybe (Value Text)
description :: Maybe (Value Text)
kmsKeyIdentifier :: Maybe (Value Text)
locationUri :: Value Text
name :: Value Text
retrievalRoleArn :: Maybe (Value Text)
tags :: Maybe [TagsProperty]
type' :: Maybe (Value Text)
..}