module Stratosphere.S3.Bucket.InventoryConfigurationProperty (
        module Exports, InventoryConfigurationProperty(..),
        mkInventoryConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.S3.Bucket.DestinationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data InventoryConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html>
    InventoryConfigurationProperty {InventoryConfigurationProperty -> ()
haddock_workaround_ :: (),
                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-destination>
                                    InventoryConfigurationProperty -> DestinationProperty
destination :: DestinationProperty,
                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-enabled>
                                    InventoryConfigurationProperty -> Value Bool
enabled :: (Value Prelude.Bool),
                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-id>
                                    InventoryConfigurationProperty -> Value Text
id :: (Value Prelude.Text),
                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-includedobjectversions>
                                    InventoryConfigurationProperty -> Value Text
includedObjectVersions :: (Value Prelude.Text),
                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-optionalfields>
                                    InventoryConfigurationProperty -> Maybe (ValueList Text)
optionalFields :: (Prelude.Maybe (ValueList Prelude.Text)),
                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-prefix>
                                    InventoryConfigurationProperty -> Maybe (Value Text)
prefix :: (Prelude.Maybe (Value Prelude.Text)),
                                    -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-schedulefrequency>
                                    InventoryConfigurationProperty -> Value Text
scheduleFrequency :: (Value Prelude.Text)}
  deriving stock (InventoryConfigurationProperty
-> InventoryConfigurationProperty -> Bool
(InventoryConfigurationProperty
 -> InventoryConfigurationProperty -> Bool)
-> (InventoryConfigurationProperty
    -> InventoryConfigurationProperty -> Bool)
-> Eq InventoryConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: InventoryConfigurationProperty
-> InventoryConfigurationProperty -> Bool
== :: InventoryConfigurationProperty
-> InventoryConfigurationProperty -> Bool
$c/= :: InventoryConfigurationProperty
-> InventoryConfigurationProperty -> Bool
/= :: InventoryConfigurationProperty
-> InventoryConfigurationProperty -> Bool
Prelude.Eq, Int -> InventoryConfigurationProperty -> ShowS
[InventoryConfigurationProperty] -> ShowS
InventoryConfigurationProperty -> String
(Int -> InventoryConfigurationProperty -> ShowS)
-> (InventoryConfigurationProperty -> String)
-> ([InventoryConfigurationProperty] -> ShowS)
-> Show InventoryConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> InventoryConfigurationProperty -> ShowS
showsPrec :: Int -> InventoryConfigurationProperty -> ShowS
$cshow :: InventoryConfigurationProperty -> String
show :: InventoryConfigurationProperty -> String
$cshowList :: [InventoryConfigurationProperty] -> ShowS
showList :: [InventoryConfigurationProperty] -> ShowS
Prelude.Show)
mkInventoryConfigurationProperty ::
  DestinationProperty
  -> Value Prelude.Bool
     -> Value Prelude.Text
        -> Value Prelude.Text
           -> Value Prelude.Text -> InventoryConfigurationProperty
mkInventoryConfigurationProperty :: DestinationProperty
-> Value Bool
-> Value Text
-> Value Text
-> Value Text
-> InventoryConfigurationProperty
mkInventoryConfigurationProperty
  DestinationProperty
destination
  Value Bool
enabled
  Value Text
id
  Value Text
includedObjectVersions
  Value Text
scheduleFrequency
  = InventoryConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), destination :: DestinationProperty
destination = DestinationProperty
destination,
       enabled :: Value Bool
enabled = Value Bool
enabled, id :: Value Text
id = Value Text
id,
       includedObjectVersions :: Value Text
includedObjectVersions = Value Text
includedObjectVersions,
       scheduleFrequency :: Value Text
scheduleFrequency = Value Text
scheduleFrequency,
       optionalFields :: Maybe (ValueList Text)
optionalFields = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, prefix :: Maybe (Value Text)
prefix = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties InventoryConfigurationProperty where
  toResourceProperties :: InventoryConfigurationProperty -> ResourceProperties
toResourceProperties InventoryConfigurationProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Bool
Value Text
DestinationProperty
haddock_workaround_ :: InventoryConfigurationProperty -> ()
destination :: InventoryConfigurationProperty -> DestinationProperty
enabled :: InventoryConfigurationProperty -> Value Bool
id :: InventoryConfigurationProperty -> Value Text
includedObjectVersions :: InventoryConfigurationProperty -> Value Text
optionalFields :: InventoryConfigurationProperty -> Maybe (ValueList Text)
prefix :: InventoryConfigurationProperty -> Maybe (Value Text)
scheduleFrequency :: InventoryConfigurationProperty -> Value Text
haddock_workaround_ :: ()
destination :: DestinationProperty
enabled :: Value Bool
id :: Value Text
includedObjectVersions :: Value Text
optionalFields :: Maybe (ValueList Text)
prefix :: Maybe (Value Text)
scheduleFrequency :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::S3::Bucket.InventoryConfiguration",
         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
"Destination" Key -> DestinationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= DestinationProperty
destination, Key
"Enabled" 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
enabled,
                            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
"IncludedObjectVersions" 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
includedObjectVersions,
                            Key
"ScheduleFrequency" 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
scheduleFrequency]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [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
"OptionalFields" (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)
optionalFields,
                               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
"Prefix" (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)
prefix]))}
instance JSON.ToJSON InventoryConfigurationProperty where
  toJSON :: InventoryConfigurationProperty -> Value
toJSON InventoryConfigurationProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Bool
Value Text
DestinationProperty
haddock_workaround_ :: InventoryConfigurationProperty -> ()
destination :: InventoryConfigurationProperty -> DestinationProperty
enabled :: InventoryConfigurationProperty -> Value Bool
id :: InventoryConfigurationProperty -> Value Text
includedObjectVersions :: InventoryConfigurationProperty -> Value Text
optionalFields :: InventoryConfigurationProperty -> Maybe (ValueList Text)
prefix :: InventoryConfigurationProperty -> Maybe (Value Text)
scheduleFrequency :: InventoryConfigurationProperty -> Value Text
haddock_workaround_ :: ()
destination :: DestinationProperty
enabled :: Value Bool
id :: Value Text
includedObjectVersions :: Value Text
optionalFields :: Maybe (ValueList Text)
prefix :: Maybe (Value Text)
scheduleFrequency :: 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
"Destination" Key -> DestinationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= DestinationProperty
destination, Key
"Enabled" 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
enabled,
               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
"IncludedObjectVersions" 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
includedObjectVersions,
               Key
"ScheduleFrequency" 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
scheduleFrequency]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [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
"OptionalFields" (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)
optionalFields,
                  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
"Prefix" (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)
prefix])))
instance Property "Destination" InventoryConfigurationProperty where
  type PropertyType "Destination" InventoryConfigurationProperty = DestinationProperty
  set :: PropertyType "Destination" InventoryConfigurationProperty
-> InventoryConfigurationProperty -> InventoryConfigurationProperty
set PropertyType "Destination" InventoryConfigurationProperty
newValue InventoryConfigurationProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Bool
Value Text
DestinationProperty
haddock_workaround_ :: InventoryConfigurationProperty -> ()
destination :: InventoryConfigurationProperty -> DestinationProperty
enabled :: InventoryConfigurationProperty -> Value Bool
id :: InventoryConfigurationProperty -> Value Text
includedObjectVersions :: InventoryConfigurationProperty -> Value Text
optionalFields :: InventoryConfigurationProperty -> Maybe (ValueList Text)
prefix :: InventoryConfigurationProperty -> Maybe (Value Text)
scheduleFrequency :: InventoryConfigurationProperty -> Value Text
haddock_workaround_ :: ()
destination :: DestinationProperty
enabled :: Value Bool
id :: Value Text
includedObjectVersions :: Value Text
optionalFields :: Maybe (ValueList Text)
prefix :: Maybe (Value Text)
scheduleFrequency :: Value Text
..}
    = InventoryConfigurationProperty {destination :: DestinationProperty
destination = PropertyType "Destination" InventoryConfigurationProperty
DestinationProperty
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Value Bool
Value Text
haddock_workaround_ :: ()
enabled :: Value Bool
id :: Value Text
includedObjectVersions :: Value Text
optionalFields :: Maybe (ValueList Text)
prefix :: Maybe (Value Text)
scheduleFrequency :: Value Text
haddock_workaround_ :: ()
enabled :: Value Bool
id :: Value Text
includedObjectVersions :: Value Text
optionalFields :: Maybe (ValueList Text)
prefix :: Maybe (Value Text)
scheduleFrequency :: Value Text
..}
instance Property "Enabled" InventoryConfigurationProperty where
  type PropertyType "Enabled" InventoryConfigurationProperty = Value Prelude.Bool
  set :: PropertyType "Enabled" InventoryConfigurationProperty
-> InventoryConfigurationProperty -> InventoryConfigurationProperty
set PropertyType "Enabled" InventoryConfigurationProperty
newValue InventoryConfigurationProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Bool
Value Text
DestinationProperty
haddock_workaround_ :: InventoryConfigurationProperty -> ()
destination :: InventoryConfigurationProperty -> DestinationProperty
enabled :: InventoryConfigurationProperty -> Value Bool
id :: InventoryConfigurationProperty -> Value Text
includedObjectVersions :: InventoryConfigurationProperty -> Value Text
optionalFields :: InventoryConfigurationProperty -> Maybe (ValueList Text)
prefix :: InventoryConfigurationProperty -> Maybe (Value Text)
scheduleFrequency :: InventoryConfigurationProperty -> Value Text
haddock_workaround_ :: ()
destination :: DestinationProperty
enabled :: Value Bool
id :: Value Text
includedObjectVersions :: Value Text
optionalFields :: Maybe (ValueList Text)
prefix :: Maybe (Value Text)
scheduleFrequency :: Value Text
..}
    = InventoryConfigurationProperty {enabled :: Value Bool
enabled = PropertyType "Enabled" InventoryConfigurationProperty
Value Bool
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
DestinationProperty
haddock_workaround_ :: ()
destination :: DestinationProperty
id :: Value Text
includedObjectVersions :: Value Text
optionalFields :: Maybe (ValueList Text)
prefix :: Maybe (Value Text)
scheduleFrequency :: Value Text
haddock_workaround_ :: ()
destination :: DestinationProperty
id :: Value Text
includedObjectVersions :: Value Text
optionalFields :: Maybe (ValueList Text)
prefix :: Maybe (Value Text)
scheduleFrequency :: Value Text
..}
instance Property "Id" InventoryConfigurationProperty where
  type PropertyType "Id" InventoryConfigurationProperty = Value Prelude.Text
  set :: PropertyType "Id" InventoryConfigurationProperty
-> InventoryConfigurationProperty -> InventoryConfigurationProperty
set PropertyType "Id" InventoryConfigurationProperty
newValue InventoryConfigurationProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Bool
Value Text
DestinationProperty
haddock_workaround_ :: InventoryConfigurationProperty -> ()
destination :: InventoryConfigurationProperty -> DestinationProperty
enabled :: InventoryConfigurationProperty -> Value Bool
id :: InventoryConfigurationProperty -> Value Text
includedObjectVersions :: InventoryConfigurationProperty -> Value Text
optionalFields :: InventoryConfigurationProperty -> Maybe (ValueList Text)
prefix :: InventoryConfigurationProperty -> Maybe (Value Text)
scheduleFrequency :: InventoryConfigurationProperty -> Value Text
haddock_workaround_ :: ()
destination :: DestinationProperty
enabled :: Value Bool
id :: Value Text
includedObjectVersions :: Value Text
optionalFields :: Maybe (ValueList Text)
prefix :: Maybe (Value Text)
scheduleFrequency :: Value Text
..}
    = InventoryConfigurationProperty {id :: Value Text
id = PropertyType "Id" InventoryConfigurationProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Value Bool
Value Text
DestinationProperty
haddock_workaround_ :: ()
destination :: DestinationProperty
enabled :: Value Bool
includedObjectVersions :: Value Text
optionalFields :: Maybe (ValueList Text)
prefix :: Maybe (Value Text)
scheduleFrequency :: Value Text
haddock_workaround_ :: ()
destination :: DestinationProperty
enabled :: Value Bool
includedObjectVersions :: Value Text
optionalFields :: Maybe (ValueList Text)
prefix :: Maybe (Value Text)
scheduleFrequency :: Value Text
..}
instance Property "IncludedObjectVersions" InventoryConfigurationProperty where
  type PropertyType "IncludedObjectVersions" InventoryConfigurationProperty = Value Prelude.Text
  set :: PropertyType
  "IncludedObjectVersions" InventoryConfigurationProperty
-> InventoryConfigurationProperty -> InventoryConfigurationProperty
set PropertyType
  "IncludedObjectVersions" InventoryConfigurationProperty
newValue InventoryConfigurationProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Bool
Value Text
DestinationProperty
haddock_workaround_ :: InventoryConfigurationProperty -> ()
destination :: InventoryConfigurationProperty -> DestinationProperty
enabled :: InventoryConfigurationProperty -> Value Bool
id :: InventoryConfigurationProperty -> Value Text
includedObjectVersions :: InventoryConfigurationProperty -> Value Text
optionalFields :: InventoryConfigurationProperty -> Maybe (ValueList Text)
prefix :: InventoryConfigurationProperty -> Maybe (Value Text)
scheduleFrequency :: InventoryConfigurationProperty -> Value Text
haddock_workaround_ :: ()
destination :: DestinationProperty
enabled :: Value Bool
id :: Value Text
includedObjectVersions :: Value Text
optionalFields :: Maybe (ValueList Text)
prefix :: Maybe (Value Text)
scheduleFrequency :: Value Text
..}
    = InventoryConfigurationProperty
        {includedObjectVersions :: Value Text
includedObjectVersions = PropertyType
  "IncludedObjectVersions" InventoryConfigurationProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Value Bool
Value Text
DestinationProperty
haddock_workaround_ :: ()
destination :: DestinationProperty
enabled :: Value Bool
id :: Value Text
optionalFields :: Maybe (ValueList Text)
prefix :: Maybe (Value Text)
scheduleFrequency :: Value Text
haddock_workaround_ :: ()
destination :: DestinationProperty
enabled :: Value Bool
id :: Value Text
optionalFields :: Maybe (ValueList Text)
prefix :: Maybe (Value Text)
scheduleFrequency :: Value Text
..}
instance Property "OptionalFields" InventoryConfigurationProperty where
  type PropertyType "OptionalFields" InventoryConfigurationProperty = ValueList Prelude.Text
  set :: PropertyType "OptionalFields" InventoryConfigurationProperty
-> InventoryConfigurationProperty -> InventoryConfigurationProperty
set PropertyType "OptionalFields" InventoryConfigurationProperty
newValue InventoryConfigurationProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Bool
Value Text
DestinationProperty
haddock_workaround_ :: InventoryConfigurationProperty -> ()
destination :: InventoryConfigurationProperty -> DestinationProperty
enabled :: InventoryConfigurationProperty -> Value Bool
id :: InventoryConfigurationProperty -> Value Text
includedObjectVersions :: InventoryConfigurationProperty -> Value Text
optionalFields :: InventoryConfigurationProperty -> Maybe (ValueList Text)
prefix :: InventoryConfigurationProperty -> Maybe (Value Text)
scheduleFrequency :: InventoryConfigurationProperty -> Value Text
haddock_workaround_ :: ()
destination :: DestinationProperty
enabled :: Value Bool
id :: Value Text
includedObjectVersions :: Value Text
optionalFields :: Maybe (ValueList Text)
prefix :: Maybe (Value Text)
scheduleFrequency :: Value Text
..}
    = InventoryConfigurationProperty
        {optionalFields :: Maybe (ValueList Text)
optionalFields = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OptionalFields" InventoryConfigurationProperty
ValueList Text
newValue, Maybe (Value Text)
()
Value Bool
Value Text
DestinationProperty
haddock_workaround_ :: ()
destination :: DestinationProperty
enabled :: Value Bool
id :: Value Text
includedObjectVersions :: Value Text
prefix :: Maybe (Value Text)
scheduleFrequency :: Value Text
haddock_workaround_ :: ()
destination :: DestinationProperty
enabled :: Value Bool
id :: Value Text
includedObjectVersions :: Value Text
prefix :: Maybe (Value Text)
scheduleFrequency :: Value Text
..}
instance Property "Prefix" InventoryConfigurationProperty where
  type PropertyType "Prefix" InventoryConfigurationProperty = Value Prelude.Text
  set :: PropertyType "Prefix" InventoryConfigurationProperty
-> InventoryConfigurationProperty -> InventoryConfigurationProperty
set PropertyType "Prefix" InventoryConfigurationProperty
newValue InventoryConfigurationProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Bool
Value Text
DestinationProperty
haddock_workaround_ :: InventoryConfigurationProperty -> ()
destination :: InventoryConfigurationProperty -> DestinationProperty
enabled :: InventoryConfigurationProperty -> Value Bool
id :: InventoryConfigurationProperty -> Value Text
includedObjectVersions :: InventoryConfigurationProperty -> Value Text
optionalFields :: InventoryConfigurationProperty -> Maybe (ValueList Text)
prefix :: InventoryConfigurationProperty -> Maybe (Value Text)
scheduleFrequency :: InventoryConfigurationProperty -> Value Text
haddock_workaround_ :: ()
destination :: DestinationProperty
enabled :: Value Bool
id :: Value Text
includedObjectVersions :: Value Text
optionalFields :: Maybe (ValueList Text)
prefix :: Maybe (Value Text)
scheduleFrequency :: Value Text
..}
    = InventoryConfigurationProperty
        {prefix :: Maybe (Value Text)
prefix = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Prefix" InventoryConfigurationProperty
Value Text
newValue, Maybe (ValueList Text)
()
Value Bool
Value Text
DestinationProperty
haddock_workaround_ :: ()
destination :: DestinationProperty
enabled :: Value Bool
id :: Value Text
includedObjectVersions :: Value Text
optionalFields :: Maybe (ValueList Text)
scheduleFrequency :: Value Text
haddock_workaround_ :: ()
destination :: DestinationProperty
enabled :: Value Bool
id :: Value Text
includedObjectVersions :: Value Text
optionalFields :: Maybe (ValueList Text)
scheduleFrequency :: Value Text
..}
instance Property "ScheduleFrequency" InventoryConfigurationProperty where
  type PropertyType "ScheduleFrequency" InventoryConfigurationProperty = Value Prelude.Text
  set :: PropertyType "ScheduleFrequency" InventoryConfigurationProperty
-> InventoryConfigurationProperty -> InventoryConfigurationProperty
set PropertyType "ScheduleFrequency" InventoryConfigurationProperty
newValue InventoryConfigurationProperty {Maybe (ValueList Text)
Maybe (Value Text)
()
Value Bool
Value Text
DestinationProperty
haddock_workaround_ :: InventoryConfigurationProperty -> ()
destination :: InventoryConfigurationProperty -> DestinationProperty
enabled :: InventoryConfigurationProperty -> Value Bool
id :: InventoryConfigurationProperty -> Value Text
includedObjectVersions :: InventoryConfigurationProperty -> Value Text
optionalFields :: InventoryConfigurationProperty -> Maybe (ValueList Text)
prefix :: InventoryConfigurationProperty -> Maybe (Value Text)
scheduleFrequency :: InventoryConfigurationProperty -> Value Text
haddock_workaround_ :: ()
destination :: DestinationProperty
enabled :: Value Bool
id :: Value Text
includedObjectVersions :: Value Text
optionalFields :: Maybe (ValueList Text)
prefix :: Maybe (Value Text)
scheduleFrequency :: Value Text
..}
    = InventoryConfigurationProperty {scheduleFrequency :: Value Text
scheduleFrequency = PropertyType "ScheduleFrequency" InventoryConfigurationProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Text)
()
Value Bool
Value Text
DestinationProperty
haddock_workaround_ :: ()
destination :: DestinationProperty
enabled :: Value Bool
id :: Value Text
includedObjectVersions :: Value Text
optionalFields :: Maybe (ValueList Text)
prefix :: Maybe (Value Text)
haddock_workaround_ :: ()
destination :: DestinationProperty
enabled :: Value Bool
id :: Value Text
includedObjectVersions :: Value Text
optionalFields :: Maybe (ValueList Text)
prefix :: Maybe (Value Text)
..}