module Stratosphere.S3.StorageLens.StorageLensConfigurationProperty (
        module Exports, StorageLensConfigurationProperty(..),
        mkStorageLensConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.S3.StorageLens.AccountLevelProperty as Exports
import {-# SOURCE #-} Stratosphere.S3.StorageLens.AwsOrgProperty as Exports
import {-# SOURCE #-} Stratosphere.S3.StorageLens.BucketsAndRegionsProperty as Exports
import {-# SOURCE #-} Stratosphere.S3.StorageLens.DataExportProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data StorageLensConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html>
    StorageLensConfigurationProperty {StorageLensConfigurationProperty -> ()
haddock_workaround_ :: (),
                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-accountlevel>
                                      StorageLensConfigurationProperty -> AccountLevelProperty
accountLevel :: AccountLevelProperty,
                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-awsorg>
                                      StorageLensConfigurationProperty -> Maybe AwsOrgProperty
awsOrg :: (Prelude.Maybe AwsOrgProperty),
                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-dataexport>
                                      StorageLensConfigurationProperty -> Maybe DataExportProperty
dataExport :: (Prelude.Maybe DataExportProperty),
                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-exclude>
                                      StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
exclude :: (Prelude.Maybe BucketsAndRegionsProperty),
                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-id>
                                      StorageLensConfigurationProperty -> Value Text
id :: (Value Prelude.Text),
                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-include>
                                      StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
include :: (Prelude.Maybe BucketsAndRegionsProperty),
                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-isenabled>
                                      StorageLensConfigurationProperty -> Value Bool
isEnabled :: (Value Prelude.Bool),
                                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-storagelensarn>
                                      StorageLensConfigurationProperty -> Maybe (Value Text)
storageLensArn :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (StorageLensConfigurationProperty
-> StorageLensConfigurationProperty -> Bool
(StorageLensConfigurationProperty
 -> StorageLensConfigurationProperty -> Bool)
-> (StorageLensConfigurationProperty
    -> StorageLensConfigurationProperty -> Bool)
-> Eq StorageLensConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: StorageLensConfigurationProperty
-> StorageLensConfigurationProperty -> Bool
== :: StorageLensConfigurationProperty
-> StorageLensConfigurationProperty -> Bool
$c/= :: StorageLensConfigurationProperty
-> StorageLensConfigurationProperty -> Bool
/= :: StorageLensConfigurationProperty
-> StorageLensConfigurationProperty -> Bool
Prelude.Eq, Int -> StorageLensConfigurationProperty -> ShowS
[StorageLensConfigurationProperty] -> ShowS
StorageLensConfigurationProperty -> String
(Int -> StorageLensConfigurationProperty -> ShowS)
-> (StorageLensConfigurationProperty -> String)
-> ([StorageLensConfigurationProperty] -> ShowS)
-> Show StorageLensConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> StorageLensConfigurationProperty -> ShowS
showsPrec :: Int -> StorageLensConfigurationProperty -> ShowS
$cshow :: StorageLensConfigurationProperty -> String
show :: StorageLensConfigurationProperty -> String
$cshowList :: [StorageLensConfigurationProperty] -> ShowS
showList :: [StorageLensConfigurationProperty] -> ShowS
Prelude.Show)
mkStorageLensConfigurationProperty ::
  AccountLevelProperty
  -> Value Prelude.Text
     -> Value Prelude.Bool -> StorageLensConfigurationProperty
mkStorageLensConfigurationProperty :: AccountLevelProperty
-> Value Text -> Value Bool -> StorageLensConfigurationProperty
mkStorageLensConfigurationProperty AccountLevelProperty
accountLevel Value Text
id Value Bool
isEnabled
  = StorageLensConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), accountLevel :: AccountLevelProperty
accountLevel = AccountLevelProperty
accountLevel, id :: Value Text
id = Value Text
id,
       isEnabled :: Value Bool
isEnabled = Value Bool
isEnabled, awsOrg :: Maybe AwsOrgProperty
awsOrg = Maybe AwsOrgProperty
forall a. Maybe a
Prelude.Nothing,
       dataExport :: Maybe DataExportProperty
dataExport = Maybe DataExportProperty
forall a. Maybe a
Prelude.Nothing, exclude :: Maybe BucketsAndRegionsProperty
exclude = Maybe BucketsAndRegionsProperty
forall a. Maybe a
Prelude.Nothing,
       include :: Maybe BucketsAndRegionsProperty
include = Maybe BucketsAndRegionsProperty
forall a. Maybe a
Prelude.Nothing, storageLensArn :: Maybe (Value Text)
storageLensArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties StorageLensConfigurationProperty where
  toResourceProperties :: StorageLensConfigurationProperty -> ResourceProperties
toResourceProperties StorageLensConfigurationProperty {Maybe (Value Text)
Maybe AwsOrgProperty
Maybe BucketsAndRegionsProperty
Maybe DataExportProperty
()
Value Bool
Value Text
AccountLevelProperty
haddock_workaround_ :: StorageLensConfigurationProperty -> ()
accountLevel :: StorageLensConfigurationProperty -> AccountLevelProperty
awsOrg :: StorageLensConfigurationProperty -> Maybe AwsOrgProperty
dataExport :: StorageLensConfigurationProperty -> Maybe DataExportProperty
exclude :: StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
id :: StorageLensConfigurationProperty -> Value Text
include :: StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
isEnabled :: StorageLensConfigurationProperty -> Value Bool
storageLensArn :: StorageLensConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::S3::StorageLens.StorageLensConfiguration",
         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
"AccountLevel" Key -> AccountLevelProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= AccountLevelProperty
accountLevel, Key
"Id" 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
id,
                            Key
"IsEnabled" Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Bool
isEnabled]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> AwsOrgProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AwsOrg" (AwsOrgProperty -> (Key, Value))
-> Maybe AwsOrgProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AwsOrgProperty
awsOrg,
                               Key -> DataExportProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DataExport" (DataExportProperty -> (Key, Value))
-> Maybe DataExportProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DataExportProperty
dataExport,
                               Key -> BucketsAndRegionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Exclude" (BucketsAndRegionsProperty -> (Key, Value))
-> Maybe BucketsAndRegionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BucketsAndRegionsProperty
exclude,
                               Key -> BucketsAndRegionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Include" (BucketsAndRegionsProperty -> (Key, Value))
-> Maybe BucketsAndRegionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BucketsAndRegionsProperty
include,
                               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
"StorageLensArn" (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)
storageLensArn]))}
instance JSON.ToJSON StorageLensConfigurationProperty where
  toJSON :: StorageLensConfigurationProperty -> Value
toJSON StorageLensConfigurationProperty {Maybe (Value Text)
Maybe AwsOrgProperty
Maybe BucketsAndRegionsProperty
Maybe DataExportProperty
()
Value Bool
Value Text
AccountLevelProperty
haddock_workaround_ :: StorageLensConfigurationProperty -> ()
accountLevel :: StorageLensConfigurationProperty -> AccountLevelProperty
awsOrg :: StorageLensConfigurationProperty -> Maybe AwsOrgProperty
dataExport :: StorageLensConfigurationProperty -> Maybe DataExportProperty
exclude :: StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
id :: StorageLensConfigurationProperty -> Value Text
include :: StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
isEnabled :: StorageLensConfigurationProperty -> Value Bool
storageLensArn :: StorageLensConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
storageLensArn :: 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
"AccountLevel" Key -> AccountLevelProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= AccountLevelProperty
accountLevel, Key
"Id" 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
id,
               Key
"IsEnabled" Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Bool
isEnabled]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> AwsOrgProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AwsOrg" (AwsOrgProperty -> (Key, Value))
-> Maybe AwsOrgProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AwsOrgProperty
awsOrg,
                  Key -> DataExportProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DataExport" (DataExportProperty -> (Key, Value))
-> Maybe DataExportProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DataExportProperty
dataExport,
                  Key -> BucketsAndRegionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Exclude" (BucketsAndRegionsProperty -> (Key, Value))
-> Maybe BucketsAndRegionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BucketsAndRegionsProperty
exclude,
                  Key -> BucketsAndRegionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Include" (BucketsAndRegionsProperty -> (Key, Value))
-> Maybe BucketsAndRegionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BucketsAndRegionsProperty
include,
                  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
"StorageLensArn" (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)
storageLensArn])))
instance Property "AccountLevel" StorageLensConfigurationProperty where
  type PropertyType "AccountLevel" StorageLensConfigurationProperty = AccountLevelProperty
  set :: PropertyType "AccountLevel" StorageLensConfigurationProperty
-> StorageLensConfigurationProperty
-> StorageLensConfigurationProperty
set PropertyType "AccountLevel" StorageLensConfigurationProperty
newValue StorageLensConfigurationProperty {Maybe (Value Text)
Maybe AwsOrgProperty
Maybe BucketsAndRegionsProperty
Maybe DataExportProperty
()
Value Bool
Value Text
AccountLevelProperty
haddock_workaround_ :: StorageLensConfigurationProperty -> ()
accountLevel :: StorageLensConfigurationProperty -> AccountLevelProperty
awsOrg :: StorageLensConfigurationProperty -> Maybe AwsOrgProperty
dataExport :: StorageLensConfigurationProperty -> Maybe DataExportProperty
exclude :: StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
id :: StorageLensConfigurationProperty -> Value Text
include :: StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
isEnabled :: StorageLensConfigurationProperty -> Value Bool
storageLensArn :: StorageLensConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
..}
    = StorageLensConfigurationProperty {accountLevel :: AccountLevelProperty
accountLevel = PropertyType "AccountLevel" StorageLensConfigurationProperty
AccountLevelProperty
newValue, Maybe (Value Text)
Maybe AwsOrgProperty
Maybe BucketsAndRegionsProperty
Maybe DataExportProperty
()
Value Bool
Value Text
haddock_workaround_ :: ()
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
haddock_workaround_ :: ()
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
..}
instance Property "AwsOrg" StorageLensConfigurationProperty where
  type PropertyType "AwsOrg" StorageLensConfigurationProperty = AwsOrgProperty
  set :: PropertyType "AwsOrg" StorageLensConfigurationProperty
-> StorageLensConfigurationProperty
-> StorageLensConfigurationProperty
set PropertyType "AwsOrg" StorageLensConfigurationProperty
newValue StorageLensConfigurationProperty {Maybe (Value Text)
Maybe AwsOrgProperty
Maybe BucketsAndRegionsProperty
Maybe DataExportProperty
()
Value Bool
Value Text
AccountLevelProperty
haddock_workaround_ :: StorageLensConfigurationProperty -> ()
accountLevel :: StorageLensConfigurationProperty -> AccountLevelProperty
awsOrg :: StorageLensConfigurationProperty -> Maybe AwsOrgProperty
dataExport :: StorageLensConfigurationProperty -> Maybe DataExportProperty
exclude :: StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
id :: StorageLensConfigurationProperty -> Value Text
include :: StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
isEnabled :: StorageLensConfigurationProperty -> Value Bool
storageLensArn :: StorageLensConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
..}
    = StorageLensConfigurationProperty
        {awsOrg :: Maybe AwsOrgProperty
awsOrg = AwsOrgProperty -> Maybe AwsOrgProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AwsOrg" StorageLensConfigurationProperty
AwsOrgProperty
newValue, Maybe (Value Text)
Maybe BucketsAndRegionsProperty
Maybe DataExportProperty
()
Value Bool
Value Text
AccountLevelProperty
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
..}
instance Property "DataExport" StorageLensConfigurationProperty where
  type PropertyType "DataExport" StorageLensConfigurationProperty = DataExportProperty
  set :: PropertyType "DataExport" StorageLensConfigurationProperty
-> StorageLensConfigurationProperty
-> StorageLensConfigurationProperty
set PropertyType "DataExport" StorageLensConfigurationProperty
newValue StorageLensConfigurationProperty {Maybe (Value Text)
Maybe AwsOrgProperty
Maybe BucketsAndRegionsProperty
Maybe DataExportProperty
()
Value Bool
Value Text
AccountLevelProperty
haddock_workaround_ :: StorageLensConfigurationProperty -> ()
accountLevel :: StorageLensConfigurationProperty -> AccountLevelProperty
awsOrg :: StorageLensConfigurationProperty -> Maybe AwsOrgProperty
dataExport :: StorageLensConfigurationProperty -> Maybe DataExportProperty
exclude :: StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
id :: StorageLensConfigurationProperty -> Value Text
include :: StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
isEnabled :: StorageLensConfigurationProperty -> Value Bool
storageLensArn :: StorageLensConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
..}
    = StorageLensConfigurationProperty
        {dataExport :: Maybe DataExportProperty
dataExport = DataExportProperty -> Maybe DataExportProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DataExport" StorageLensConfigurationProperty
DataExportProperty
newValue, Maybe (Value Text)
Maybe AwsOrgProperty
Maybe BucketsAndRegionsProperty
()
Value Bool
Value Text
AccountLevelProperty
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
..}
instance Property "Exclude" StorageLensConfigurationProperty where
  type PropertyType "Exclude" StorageLensConfigurationProperty = BucketsAndRegionsProperty
  set :: PropertyType "Exclude" StorageLensConfigurationProperty
-> StorageLensConfigurationProperty
-> StorageLensConfigurationProperty
set PropertyType "Exclude" StorageLensConfigurationProperty
newValue StorageLensConfigurationProperty {Maybe (Value Text)
Maybe AwsOrgProperty
Maybe BucketsAndRegionsProperty
Maybe DataExportProperty
()
Value Bool
Value Text
AccountLevelProperty
haddock_workaround_ :: StorageLensConfigurationProperty -> ()
accountLevel :: StorageLensConfigurationProperty -> AccountLevelProperty
awsOrg :: StorageLensConfigurationProperty -> Maybe AwsOrgProperty
dataExport :: StorageLensConfigurationProperty -> Maybe DataExportProperty
exclude :: StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
id :: StorageLensConfigurationProperty -> Value Text
include :: StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
isEnabled :: StorageLensConfigurationProperty -> Value Bool
storageLensArn :: StorageLensConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
..}
    = StorageLensConfigurationProperty
        {exclude :: Maybe BucketsAndRegionsProperty
exclude = BucketsAndRegionsProperty -> Maybe BucketsAndRegionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Exclude" StorageLensConfigurationProperty
BucketsAndRegionsProperty
newValue, Maybe (Value Text)
Maybe AwsOrgProperty
Maybe BucketsAndRegionsProperty
Maybe DataExportProperty
()
Value Bool
Value Text
AccountLevelProperty
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
..}
instance Property "Id" StorageLensConfigurationProperty where
  type PropertyType "Id" StorageLensConfigurationProperty = Value Prelude.Text
  set :: PropertyType "Id" StorageLensConfigurationProperty
-> StorageLensConfigurationProperty
-> StorageLensConfigurationProperty
set PropertyType "Id" StorageLensConfigurationProperty
newValue StorageLensConfigurationProperty {Maybe (Value Text)
Maybe AwsOrgProperty
Maybe BucketsAndRegionsProperty
Maybe DataExportProperty
()
Value Bool
Value Text
AccountLevelProperty
haddock_workaround_ :: StorageLensConfigurationProperty -> ()
accountLevel :: StorageLensConfigurationProperty -> AccountLevelProperty
awsOrg :: StorageLensConfigurationProperty -> Maybe AwsOrgProperty
dataExport :: StorageLensConfigurationProperty -> Maybe DataExportProperty
exclude :: StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
id :: StorageLensConfigurationProperty -> Value Text
include :: StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
isEnabled :: StorageLensConfigurationProperty -> Value Bool
storageLensArn :: StorageLensConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
..}
    = StorageLensConfigurationProperty {id :: Value Text
id = PropertyType "Id" StorageLensConfigurationProperty
Value Text
newValue, Maybe (Value Text)
Maybe AwsOrgProperty
Maybe BucketsAndRegionsProperty
Maybe DataExportProperty
()
Value Bool
AccountLevelProperty
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
..}
instance Property "Include" StorageLensConfigurationProperty where
  type PropertyType "Include" StorageLensConfigurationProperty = BucketsAndRegionsProperty
  set :: PropertyType "Include" StorageLensConfigurationProperty
-> StorageLensConfigurationProperty
-> StorageLensConfigurationProperty
set PropertyType "Include" StorageLensConfigurationProperty
newValue StorageLensConfigurationProperty {Maybe (Value Text)
Maybe AwsOrgProperty
Maybe BucketsAndRegionsProperty
Maybe DataExportProperty
()
Value Bool
Value Text
AccountLevelProperty
haddock_workaround_ :: StorageLensConfigurationProperty -> ()
accountLevel :: StorageLensConfigurationProperty -> AccountLevelProperty
awsOrg :: StorageLensConfigurationProperty -> Maybe AwsOrgProperty
dataExport :: StorageLensConfigurationProperty -> Maybe DataExportProperty
exclude :: StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
id :: StorageLensConfigurationProperty -> Value Text
include :: StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
isEnabled :: StorageLensConfigurationProperty -> Value Bool
storageLensArn :: StorageLensConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
..}
    = StorageLensConfigurationProperty
        {include :: Maybe BucketsAndRegionsProperty
include = BucketsAndRegionsProperty -> Maybe BucketsAndRegionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Include" StorageLensConfigurationProperty
BucketsAndRegionsProperty
newValue, Maybe (Value Text)
Maybe AwsOrgProperty
Maybe BucketsAndRegionsProperty
Maybe DataExportProperty
()
Value Bool
Value Text
AccountLevelProperty
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
..}
instance Property "IsEnabled" StorageLensConfigurationProperty where
  type PropertyType "IsEnabled" StorageLensConfigurationProperty = Value Prelude.Bool
  set :: PropertyType "IsEnabled" StorageLensConfigurationProperty
-> StorageLensConfigurationProperty
-> StorageLensConfigurationProperty
set PropertyType "IsEnabled" StorageLensConfigurationProperty
newValue StorageLensConfigurationProperty {Maybe (Value Text)
Maybe AwsOrgProperty
Maybe BucketsAndRegionsProperty
Maybe DataExportProperty
()
Value Bool
Value Text
AccountLevelProperty
haddock_workaround_ :: StorageLensConfigurationProperty -> ()
accountLevel :: StorageLensConfigurationProperty -> AccountLevelProperty
awsOrg :: StorageLensConfigurationProperty -> Maybe AwsOrgProperty
dataExport :: StorageLensConfigurationProperty -> Maybe DataExportProperty
exclude :: StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
id :: StorageLensConfigurationProperty -> Value Text
include :: StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
isEnabled :: StorageLensConfigurationProperty -> Value Bool
storageLensArn :: StorageLensConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
..}
    = StorageLensConfigurationProperty {isEnabled :: Value Bool
isEnabled = PropertyType "IsEnabled" StorageLensConfigurationProperty
Value Bool
newValue, Maybe (Value Text)
Maybe AwsOrgProperty
Maybe BucketsAndRegionsProperty
Maybe DataExportProperty
()
Value Text
AccountLevelProperty
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
storageLensArn :: Maybe (Value Text)
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
storageLensArn :: Maybe (Value Text)
..}
instance Property "StorageLensArn" StorageLensConfigurationProperty where
  type PropertyType "StorageLensArn" StorageLensConfigurationProperty = Value Prelude.Text
  set :: PropertyType "StorageLensArn" StorageLensConfigurationProperty
-> StorageLensConfigurationProperty
-> StorageLensConfigurationProperty
set PropertyType "StorageLensArn" StorageLensConfigurationProperty
newValue StorageLensConfigurationProperty {Maybe (Value Text)
Maybe AwsOrgProperty
Maybe BucketsAndRegionsProperty
Maybe DataExportProperty
()
Value Bool
Value Text
AccountLevelProperty
haddock_workaround_ :: StorageLensConfigurationProperty -> ()
accountLevel :: StorageLensConfigurationProperty -> AccountLevelProperty
awsOrg :: StorageLensConfigurationProperty -> Maybe AwsOrgProperty
dataExport :: StorageLensConfigurationProperty -> Maybe DataExportProperty
exclude :: StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
id :: StorageLensConfigurationProperty -> Value Text
include :: StorageLensConfigurationProperty -> Maybe BucketsAndRegionsProperty
isEnabled :: StorageLensConfigurationProperty -> Value Bool
storageLensArn :: StorageLensConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
storageLensArn :: Maybe (Value Text)
..}
    = StorageLensConfigurationProperty
        {storageLensArn :: Maybe (Value Text)
storageLensArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "StorageLensArn" StorageLensConfigurationProperty
Value Text
newValue, Maybe AwsOrgProperty
Maybe BucketsAndRegionsProperty
Maybe DataExportProperty
()
Value Bool
Value Text
AccountLevelProperty
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
haddock_workaround_ :: ()
accountLevel :: AccountLevelProperty
awsOrg :: Maybe AwsOrgProperty
dataExport :: Maybe DataExportProperty
exclude :: Maybe BucketsAndRegionsProperty
id :: Value Text
include :: Maybe BucketsAndRegionsProperty
isEnabled :: Value Bool
..}