module Stratosphere.Config.OrganizationConformancePack (
        module Exports, OrganizationConformancePack(..),
        mkOrganizationConformancePack
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Config.OrganizationConformancePack.ConformancePackInputParameterProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data OrganizationConformancePack
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconformancepack.html>
    OrganizationConformancePack {OrganizationConformancePack -> ()
haddock_workaround_ :: (),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconformancepack.html#cfn-config-organizationconformancepack-conformancepackinputparameters>
                                 OrganizationConformancePack
-> Maybe [ConformancePackInputParameterProperty]
conformancePackInputParameters :: (Prelude.Maybe [ConformancePackInputParameterProperty]),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconformancepack.html#cfn-config-organizationconformancepack-deliverys3bucket>
                                 OrganizationConformancePack -> Maybe (Value Text)
deliveryS3Bucket :: (Prelude.Maybe (Value Prelude.Text)),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconformancepack.html#cfn-config-organizationconformancepack-deliverys3keyprefix>
                                 OrganizationConformancePack -> Maybe (Value Text)
deliveryS3KeyPrefix :: (Prelude.Maybe (Value Prelude.Text)),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconformancepack.html#cfn-config-organizationconformancepack-excludedaccounts>
                                 OrganizationConformancePack -> Maybe (ValueList Text)
excludedAccounts :: (Prelude.Maybe (ValueList Prelude.Text)),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconformancepack.html#cfn-config-organizationconformancepack-organizationconformancepackname>
                                 OrganizationConformancePack -> Value Text
organizationConformancePackName :: (Value Prelude.Text),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconformancepack.html#cfn-config-organizationconformancepack-templatebody>
                                 OrganizationConformancePack -> Maybe (Value Text)
templateBody :: (Prelude.Maybe (Value Prelude.Text)),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconformancepack.html#cfn-config-organizationconformancepack-templates3uri>
                                 OrganizationConformancePack -> Maybe (Value Text)
templateS3Uri :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (OrganizationConformancePack -> OrganizationConformancePack -> Bool
(OrganizationConformancePack
 -> OrganizationConformancePack -> Bool)
-> (OrganizationConformancePack
    -> OrganizationConformancePack -> Bool)
-> Eq OrganizationConformancePack
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: OrganizationConformancePack -> OrganizationConformancePack -> Bool
== :: OrganizationConformancePack -> OrganizationConformancePack -> Bool
$c/= :: OrganizationConformancePack -> OrganizationConformancePack -> Bool
/= :: OrganizationConformancePack -> OrganizationConformancePack -> Bool
Prelude.Eq, Int -> OrganizationConformancePack -> ShowS
[OrganizationConformancePack] -> ShowS
OrganizationConformancePack -> String
(Int -> OrganizationConformancePack -> ShowS)
-> (OrganizationConformancePack -> String)
-> ([OrganizationConformancePack] -> ShowS)
-> Show OrganizationConformancePack
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> OrganizationConformancePack -> ShowS
showsPrec :: Int -> OrganizationConformancePack -> ShowS
$cshow :: OrganizationConformancePack -> String
show :: OrganizationConformancePack -> String
$cshowList :: [OrganizationConformancePack] -> ShowS
showList :: [OrganizationConformancePack] -> ShowS
Prelude.Show)
mkOrganizationConformancePack ::
  Value Prelude.Text -> OrganizationConformancePack
mkOrganizationConformancePack :: Value Text -> OrganizationConformancePack
mkOrganizationConformancePack Value Text
organizationConformancePackName
  = OrganizationConformancePack
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       organizationConformancePackName :: Value Text
organizationConformancePackName = Value Text
organizationConformancePackName,
       conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackInputParameters = Maybe [ConformancePackInputParameterProperty]
forall a. Maybe a
Prelude.Nothing,
       deliveryS3Bucket :: Maybe (Value Text)
deliveryS3Bucket = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       deliveryS3KeyPrefix :: Maybe (Value Text)
deliveryS3KeyPrefix = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       excludedAccounts :: Maybe (ValueList Text)
excludedAccounts = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, templateBody :: Maybe (Value Text)
templateBody = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       templateS3Uri :: Maybe (Value Text)
templateS3Uri = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties OrganizationConformancePack where
  toResourceProperties :: OrganizationConformancePack -> ResourceProperties
toResourceProperties OrganizationConformancePack {Maybe [ConformancePackInputParameterProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: OrganizationConformancePack -> ()
conformancePackInputParameters :: OrganizationConformancePack
-> Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: OrganizationConformancePack -> Maybe (Value Text)
deliveryS3KeyPrefix :: OrganizationConformancePack -> Maybe (Value Text)
excludedAccounts :: OrganizationConformancePack -> Maybe (ValueList Text)
organizationConformancePackName :: OrganizationConformancePack -> Value Text
templateBody :: OrganizationConformancePack -> Maybe (Value Text)
templateS3Uri :: OrganizationConformancePack -> Maybe (Value Text)
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
organizationConformancePackName :: Value Text
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Config::OrganizationConformancePack",
         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
"OrganizationConformancePackName"
                              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
organizationConformancePackName]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> [ConformancePackInputParameterProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ConformancePackInputParameters"
                                 ([ConformancePackInputParameterProperty] -> (Key, Value))
-> Maybe [ConformancePackInputParameterProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ConformancePackInputParameterProperty]
conformancePackInputParameters,
                               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
"DeliveryS3Bucket" (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)
deliveryS3Bucket,
                               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
"DeliveryS3KeyPrefix" (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)
deliveryS3KeyPrefix,
                               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
"ExcludedAccounts" (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)
excludedAccounts,
                               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
"TemplateBody" (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)
templateBody,
                               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
"TemplateS3Uri" (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)
templateS3Uri]))}
instance JSON.ToJSON OrganizationConformancePack where
  toJSON :: OrganizationConformancePack -> Value
toJSON OrganizationConformancePack {Maybe [ConformancePackInputParameterProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: OrganizationConformancePack -> ()
conformancePackInputParameters :: OrganizationConformancePack
-> Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: OrganizationConformancePack -> Maybe (Value Text)
deliveryS3KeyPrefix :: OrganizationConformancePack -> Maybe (Value Text)
excludedAccounts :: OrganizationConformancePack -> Maybe (ValueList Text)
organizationConformancePackName :: OrganizationConformancePack -> Value Text
templateBody :: OrganizationConformancePack -> Maybe (Value Text)
templateS3Uri :: OrganizationConformancePack -> Maybe (Value Text)
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
organizationConformancePackName :: Value Text
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"OrganizationConformancePackName"
                 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
organizationConformancePackName]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> [ConformancePackInputParameterProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ConformancePackInputParameters"
                    ([ConformancePackInputParameterProperty] -> (Key, Value))
-> Maybe [ConformancePackInputParameterProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ConformancePackInputParameterProperty]
conformancePackInputParameters,
                  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
"DeliveryS3Bucket" (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)
deliveryS3Bucket,
                  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
"DeliveryS3KeyPrefix" (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)
deliveryS3KeyPrefix,
                  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
"ExcludedAccounts" (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)
excludedAccounts,
                  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
"TemplateBody" (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)
templateBody,
                  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
"TemplateS3Uri" (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)
templateS3Uri])))
instance Property "ConformancePackInputParameters" OrganizationConformancePack where
  type PropertyType "ConformancePackInputParameters" OrganizationConformancePack = [ConformancePackInputParameterProperty]
  set :: PropertyType
  "ConformancePackInputParameters" OrganizationConformancePack
-> OrganizationConformancePack -> OrganizationConformancePack
set PropertyType
  "ConformancePackInputParameters" OrganizationConformancePack
newValue OrganizationConformancePack {Maybe [ConformancePackInputParameterProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: OrganizationConformancePack -> ()
conformancePackInputParameters :: OrganizationConformancePack
-> Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: OrganizationConformancePack -> Maybe (Value Text)
deliveryS3KeyPrefix :: OrganizationConformancePack -> Maybe (Value Text)
excludedAccounts :: OrganizationConformancePack -> Maybe (ValueList Text)
organizationConformancePackName :: OrganizationConformancePack -> Value Text
templateBody :: OrganizationConformancePack -> Maybe (Value Text)
templateS3Uri :: OrganizationConformancePack -> Maybe (Value Text)
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
organizationConformancePackName :: Value Text
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
..}
    = OrganizationConformancePack
        {conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
conformancePackInputParameters = [ConformancePackInputParameterProperty]
-> Maybe [ConformancePackInputParameterProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [ConformancePackInputParameterProperty]
PropertyType
  "ConformancePackInputParameters" OrganizationConformancePack
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
organizationConformancePackName :: Value Text
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
haddock_workaround_ :: ()
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
organizationConformancePackName :: Value Text
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
..}
instance Property "DeliveryS3Bucket" OrganizationConformancePack where
  type PropertyType "DeliveryS3Bucket" OrganizationConformancePack = Value Prelude.Text
  set :: PropertyType "DeliveryS3Bucket" OrganizationConformancePack
-> OrganizationConformancePack -> OrganizationConformancePack
set PropertyType "DeliveryS3Bucket" OrganizationConformancePack
newValue OrganizationConformancePack {Maybe [ConformancePackInputParameterProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: OrganizationConformancePack -> ()
conformancePackInputParameters :: OrganizationConformancePack
-> Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: OrganizationConformancePack -> Maybe (Value Text)
deliveryS3KeyPrefix :: OrganizationConformancePack -> Maybe (Value Text)
excludedAccounts :: OrganizationConformancePack -> Maybe (ValueList Text)
organizationConformancePackName :: OrganizationConformancePack -> Value Text
templateBody :: OrganizationConformancePack -> Maybe (Value Text)
templateS3Uri :: OrganizationConformancePack -> Maybe (Value Text)
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
organizationConformancePackName :: Value Text
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
..}
    = OrganizationConformancePack
        {deliveryS3Bucket :: Maybe (Value Text)
deliveryS3Bucket = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DeliveryS3Bucket" OrganizationConformancePack
Value Text
newValue, Maybe [ConformancePackInputParameterProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3KeyPrefix :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
organizationConformancePackName :: Value Text
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3KeyPrefix :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
organizationConformancePackName :: Value Text
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
..}
instance Property "DeliveryS3KeyPrefix" OrganizationConformancePack where
  type PropertyType "DeliveryS3KeyPrefix" OrganizationConformancePack = Value Prelude.Text
  set :: PropertyType "DeliveryS3KeyPrefix" OrganizationConformancePack
-> OrganizationConformancePack -> OrganizationConformancePack
set PropertyType "DeliveryS3KeyPrefix" OrganizationConformancePack
newValue OrganizationConformancePack {Maybe [ConformancePackInputParameterProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: OrganizationConformancePack -> ()
conformancePackInputParameters :: OrganizationConformancePack
-> Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: OrganizationConformancePack -> Maybe (Value Text)
deliveryS3KeyPrefix :: OrganizationConformancePack -> Maybe (Value Text)
excludedAccounts :: OrganizationConformancePack -> Maybe (ValueList Text)
organizationConformancePackName :: OrganizationConformancePack -> Value Text
templateBody :: OrganizationConformancePack -> Maybe (Value Text)
templateS3Uri :: OrganizationConformancePack -> Maybe (Value Text)
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
organizationConformancePackName :: Value Text
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
..}
    = OrganizationConformancePack
        {deliveryS3KeyPrefix :: Maybe (Value Text)
deliveryS3KeyPrefix = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DeliveryS3KeyPrefix" OrganizationConformancePack
Value Text
newValue, Maybe [ConformancePackInputParameterProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
organizationConformancePackName :: Value Text
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
organizationConformancePackName :: Value Text
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
..}
instance Property "ExcludedAccounts" OrganizationConformancePack where
  type PropertyType "ExcludedAccounts" OrganizationConformancePack = ValueList Prelude.Text
  set :: PropertyType "ExcludedAccounts" OrganizationConformancePack
-> OrganizationConformancePack -> OrganizationConformancePack
set PropertyType "ExcludedAccounts" OrganizationConformancePack
newValue OrganizationConformancePack {Maybe [ConformancePackInputParameterProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: OrganizationConformancePack -> ()
conformancePackInputParameters :: OrganizationConformancePack
-> Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: OrganizationConformancePack -> Maybe (Value Text)
deliveryS3KeyPrefix :: OrganizationConformancePack -> Maybe (Value Text)
excludedAccounts :: OrganizationConformancePack -> Maybe (ValueList Text)
organizationConformancePackName :: OrganizationConformancePack -> Value Text
templateBody :: OrganizationConformancePack -> Maybe (Value Text)
templateS3Uri :: OrganizationConformancePack -> Maybe (Value Text)
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
organizationConformancePackName :: Value Text
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
..}
    = OrganizationConformancePack
        {excludedAccounts :: Maybe (ValueList Text)
excludedAccounts = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ExcludedAccounts" OrganizationConformancePack
ValueList Text
newValue, Maybe [ConformancePackInputParameterProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
organizationConformancePackName :: Value Text
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
organizationConformancePackName :: Value Text
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
..}
instance Property "OrganizationConformancePackName" OrganizationConformancePack where
  type PropertyType "OrganizationConformancePackName" OrganizationConformancePack = Value Prelude.Text
  set :: PropertyType
  "OrganizationConformancePackName" OrganizationConformancePack
-> OrganizationConformancePack -> OrganizationConformancePack
set PropertyType
  "OrganizationConformancePackName" OrganizationConformancePack
newValue OrganizationConformancePack {Maybe [ConformancePackInputParameterProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: OrganizationConformancePack -> ()
conformancePackInputParameters :: OrganizationConformancePack
-> Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: OrganizationConformancePack -> Maybe (Value Text)
deliveryS3KeyPrefix :: OrganizationConformancePack -> Maybe (Value Text)
excludedAccounts :: OrganizationConformancePack -> Maybe (ValueList Text)
organizationConformancePackName :: OrganizationConformancePack -> Value Text
templateBody :: OrganizationConformancePack -> Maybe (Value Text)
templateS3Uri :: OrganizationConformancePack -> Maybe (Value Text)
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
organizationConformancePackName :: Value Text
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
..}
    = OrganizationConformancePack
        {organizationConformancePackName :: Value Text
organizationConformancePackName = PropertyType
  "OrganizationConformancePackName" OrganizationConformancePack
Value Text
newValue, Maybe [ConformancePackInputParameterProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
..}
instance Property "TemplateBody" OrganizationConformancePack where
  type PropertyType "TemplateBody" OrganizationConformancePack = Value Prelude.Text
  set :: PropertyType "TemplateBody" OrganizationConformancePack
-> OrganizationConformancePack -> OrganizationConformancePack
set PropertyType "TemplateBody" OrganizationConformancePack
newValue OrganizationConformancePack {Maybe [ConformancePackInputParameterProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: OrganizationConformancePack -> ()
conformancePackInputParameters :: OrganizationConformancePack
-> Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: OrganizationConformancePack -> Maybe (Value Text)
deliveryS3KeyPrefix :: OrganizationConformancePack -> Maybe (Value Text)
excludedAccounts :: OrganizationConformancePack -> Maybe (ValueList Text)
organizationConformancePackName :: OrganizationConformancePack -> Value Text
templateBody :: OrganizationConformancePack -> Maybe (Value Text)
templateS3Uri :: OrganizationConformancePack -> Maybe (Value Text)
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
organizationConformancePackName :: Value Text
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
..}
    = OrganizationConformancePack
        {templateBody :: Maybe (Value Text)
templateBody = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TemplateBody" OrganizationConformancePack
Value Text
newValue, Maybe [ConformancePackInputParameterProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
organizationConformancePackName :: Value Text
templateS3Uri :: Maybe (Value Text)
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
organizationConformancePackName :: Value Text
templateS3Uri :: Maybe (Value Text)
..}
instance Property "TemplateS3Uri" OrganizationConformancePack where
  type PropertyType "TemplateS3Uri" OrganizationConformancePack = Value Prelude.Text
  set :: PropertyType "TemplateS3Uri" OrganizationConformancePack
-> OrganizationConformancePack -> OrganizationConformancePack
set PropertyType "TemplateS3Uri" OrganizationConformancePack
newValue OrganizationConformancePack {Maybe [ConformancePackInputParameterProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: OrganizationConformancePack -> ()
conformancePackInputParameters :: OrganizationConformancePack
-> Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: OrganizationConformancePack -> Maybe (Value Text)
deliveryS3KeyPrefix :: OrganizationConformancePack -> Maybe (Value Text)
excludedAccounts :: OrganizationConformancePack -> Maybe (ValueList Text)
organizationConformancePackName :: OrganizationConformancePack -> Value Text
templateBody :: OrganizationConformancePack -> Maybe (Value Text)
templateS3Uri :: OrganizationConformancePack -> Maybe (Value Text)
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
organizationConformancePackName :: Value Text
templateBody :: Maybe (Value Text)
templateS3Uri :: Maybe (Value Text)
..}
    = OrganizationConformancePack
        {templateS3Uri :: Maybe (Value Text)
templateS3Uri = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TemplateS3Uri" OrganizationConformancePack
Value Text
newValue, Maybe [ConformancePackInputParameterProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
organizationConformancePackName :: Value Text
templateBody :: Maybe (Value Text)
haddock_workaround_ :: ()
conformancePackInputParameters :: Maybe [ConformancePackInputParameterProperty]
deliveryS3Bucket :: Maybe (Value Text)
deliveryS3KeyPrefix :: Maybe (Value Text)
excludedAccounts :: Maybe (ValueList Text)
organizationConformancePackName :: Value Text
templateBody :: Maybe (Value Text)
..}