module Stratosphere.S3.Bucket.RuleProperty (
module Exports, RuleProperty(..), mkRuleProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.S3.Bucket.AbortIncompleteMultipartUploadProperty as Exports
import {-# SOURCE #-} Stratosphere.S3.Bucket.NoncurrentVersionExpirationProperty as Exports
import {-# SOURCE #-} Stratosphere.S3.Bucket.NoncurrentVersionTransitionProperty as Exports
import {-# SOURCE #-} Stratosphere.S3.Bucket.TagFilterProperty as Exports
import {-# SOURCE #-} Stratosphere.S3.Bucket.TransitionProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data RuleProperty
=
RuleProperty {RuleProperty -> ()
haddock_workaround_ :: (),
RuleProperty -> Maybe AbortIncompleteMultipartUploadProperty
abortIncompleteMultipartUpload :: (Prelude.Maybe AbortIncompleteMultipartUploadProperty),
RuleProperty -> Maybe (Value Text)
expirationDate :: (Prelude.Maybe (Value Prelude.Text)),
RuleProperty -> Maybe (Value Integer)
expirationInDays :: (Prelude.Maybe (Value Prelude.Integer)),
RuleProperty -> Maybe (Value Bool)
expiredObjectDeleteMarker :: (Prelude.Maybe (Value Prelude.Bool)),
RuleProperty -> Maybe (Value Text)
id :: (Prelude.Maybe (Value Prelude.Text)),
RuleProperty -> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpiration :: (Prelude.Maybe NoncurrentVersionExpirationProperty),
RuleProperty -> Maybe (Value Integer)
noncurrentVersionExpirationInDays :: (Prelude.Maybe (Value Prelude.Integer)),
RuleProperty -> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransition :: (Prelude.Maybe NoncurrentVersionTransitionProperty),
RuleProperty -> Maybe [NoncurrentVersionTransitionProperty]
noncurrentVersionTransitions :: (Prelude.Maybe [NoncurrentVersionTransitionProperty]),
RuleProperty -> Maybe (Value Text)
objectSizeGreaterThan :: (Prelude.Maybe (Value Prelude.Text)),
RuleProperty -> Maybe (Value Text)
objectSizeLessThan :: (Prelude.Maybe (Value Prelude.Text)),
RuleProperty -> Maybe (Value Text)
prefix :: (Prelude.Maybe (Value Prelude.Text)),
RuleProperty -> Value Text
status :: (Value Prelude.Text),
RuleProperty -> Maybe [TagFilterProperty]
tagFilters :: (Prelude.Maybe [TagFilterProperty]),
RuleProperty -> Maybe TransitionProperty
transition :: (Prelude.Maybe TransitionProperty),
RuleProperty -> Maybe [TransitionProperty]
transitions :: (Prelude.Maybe [TransitionProperty])}
deriving stock (RuleProperty -> RuleProperty -> Bool
(RuleProperty -> RuleProperty -> Bool)
-> (RuleProperty -> RuleProperty -> Bool) -> Eq RuleProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: RuleProperty -> RuleProperty -> Bool
== :: RuleProperty -> RuleProperty -> Bool
$c/= :: RuleProperty -> RuleProperty -> Bool
/= :: RuleProperty -> RuleProperty -> Bool
Prelude.Eq, Int -> RuleProperty -> ShowS
[RuleProperty] -> ShowS
RuleProperty -> String
(Int -> RuleProperty -> ShowS)
-> (RuleProperty -> String)
-> ([RuleProperty] -> ShowS)
-> Show RuleProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> RuleProperty -> ShowS
showsPrec :: Int -> RuleProperty -> ShowS
$cshow :: RuleProperty -> String
show :: RuleProperty -> String
$cshowList :: [RuleProperty] -> ShowS
showList :: [RuleProperty] -> ShowS
Prelude.Show)
mkRuleProperty :: Value Prelude.Text -> RuleProperty
mkRuleProperty :: Value Text -> RuleProperty
mkRuleProperty Value Text
status
= RuleProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), status :: Value Text
status = Value Text
status,
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
abortIncompleteMultipartUpload = Maybe AbortIncompleteMultipartUploadProperty
forall a. Maybe a
Prelude.Nothing,
expirationDate :: Maybe (Value Text)
expirationDate = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
expirationInDays :: Maybe (Value Integer)
expirationInDays = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
expiredObjectDeleteMarker :: Maybe (Value Bool)
expiredObjectDeleteMarker = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing, id :: Maybe (Value Text)
id = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpiration = Maybe NoncurrentVersionExpirationProperty
forall a. Maybe a
Prelude.Nothing,
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionExpirationInDays = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransition = Maybe NoncurrentVersionTransitionProperty
forall a. Maybe a
Prelude.Nothing,
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
noncurrentVersionTransitions = Maybe [NoncurrentVersionTransitionProperty]
forall a. Maybe a
Prelude.Nothing,
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeGreaterThan = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
objectSizeLessThan :: Maybe (Value Text)
objectSizeLessThan = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, prefix :: Maybe (Value Text)
prefix = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
tagFilters :: Maybe [TagFilterProperty]
tagFilters = Maybe [TagFilterProperty]
forall a. Maybe a
Prelude.Nothing, transition :: Maybe TransitionProperty
transition = Maybe TransitionProperty
forall a. Maybe a
Prelude.Nothing,
transitions :: Maybe [TransitionProperty]
transitions = Maybe [TransitionProperty]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties RuleProperty where
toResourceProperties :: RuleProperty -> ResourceProperties
toResourceProperties RuleProperty {Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
abortIncompleteMultipartUpload :: RuleProperty -> Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: RuleProperty -> Maybe (Value Text)
expirationInDays :: RuleProperty -> Maybe (Value Integer)
expiredObjectDeleteMarker :: RuleProperty -> Maybe (Value Bool)
id :: RuleProperty -> Maybe (Value Text)
noncurrentVersionExpiration :: RuleProperty -> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: RuleProperty -> Maybe (Value Integer)
noncurrentVersionTransition :: RuleProperty -> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: RuleProperty -> Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: RuleProperty -> Maybe (Value Text)
objectSizeLessThan :: RuleProperty -> Maybe (Value Text)
prefix :: RuleProperty -> Maybe (Value Text)
status :: RuleProperty -> Value Text
tagFilters :: RuleProperty -> Maybe [TagFilterProperty]
transition :: RuleProperty -> Maybe TransitionProperty
transitions :: RuleProperty -> Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::S3::Bucket.Rule", 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
"Status" 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
status]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> AbortIncompleteMultipartUploadProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AbortIncompleteMultipartUpload"
(AbortIncompleteMultipartUploadProperty -> (Key, Value))
-> Maybe AbortIncompleteMultipartUploadProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AbortIncompleteMultipartUploadProperty
abortIncompleteMultipartUpload,
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
"ExpirationDate" (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)
expirationDate,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ExpirationInDays" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
expirationInDays,
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..=) Key
"ExpiredObjectDeleteMarker"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
expiredObjectDeleteMarker,
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
"Id" (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)
id,
Key -> NoncurrentVersionExpirationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NoncurrentVersionExpiration"
(NoncurrentVersionExpirationProperty -> (Key, Value))
-> Maybe NoncurrentVersionExpirationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpiration,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NoncurrentVersionExpirationInDays"
(Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
noncurrentVersionExpirationInDays,
Key -> NoncurrentVersionTransitionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NoncurrentVersionTransition"
(NoncurrentVersionTransitionProperty -> (Key, Value))
-> Maybe NoncurrentVersionTransitionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransition,
Key -> [NoncurrentVersionTransitionProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NoncurrentVersionTransitions"
([NoncurrentVersionTransitionProperty] -> (Key, Value))
-> Maybe [NoncurrentVersionTransitionProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [NoncurrentVersionTransitionProperty]
noncurrentVersionTransitions,
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
"ObjectSizeGreaterThan"
(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)
objectSizeGreaterThan,
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
"ObjectSizeLessThan" (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)
objectSizeLessThan,
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,
Key -> [TagFilterProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TagFilters" ([TagFilterProperty] -> (Key, Value))
-> Maybe [TagFilterProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TagFilterProperty]
tagFilters,
Key -> TransitionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Transition" (TransitionProperty -> (Key, Value))
-> Maybe TransitionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TransitionProperty
transition,
Key -> [TransitionProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Transitions" ([TransitionProperty] -> (Key, Value))
-> Maybe [TransitionProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TransitionProperty]
transitions]))}
instance JSON.ToJSON RuleProperty where
toJSON :: RuleProperty -> Value
toJSON RuleProperty {Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
abortIncompleteMultipartUpload :: RuleProperty -> Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: RuleProperty -> Maybe (Value Text)
expirationInDays :: RuleProperty -> Maybe (Value Integer)
expiredObjectDeleteMarker :: RuleProperty -> Maybe (Value Bool)
id :: RuleProperty -> Maybe (Value Text)
noncurrentVersionExpiration :: RuleProperty -> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: RuleProperty -> Maybe (Value Integer)
noncurrentVersionTransition :: RuleProperty -> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: RuleProperty -> Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: RuleProperty -> Maybe (Value Text)
objectSizeLessThan :: RuleProperty -> Maybe (Value Text)
prefix :: RuleProperty -> Maybe (Value Text)
status :: RuleProperty -> Value Text
tagFilters :: RuleProperty -> Maybe [TagFilterProperty]
transition :: RuleProperty -> Maybe TransitionProperty
transitions :: RuleProperty -> Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
= [(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
"Status" 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
status]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> AbortIncompleteMultipartUploadProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AbortIncompleteMultipartUpload"
(AbortIncompleteMultipartUploadProperty -> (Key, Value))
-> Maybe AbortIncompleteMultipartUploadProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AbortIncompleteMultipartUploadProperty
abortIncompleteMultipartUpload,
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
"ExpirationDate" (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)
expirationDate,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ExpirationInDays" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
expirationInDays,
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..=) Key
"ExpiredObjectDeleteMarker"
(Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
expiredObjectDeleteMarker,
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
"Id" (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)
id,
Key -> NoncurrentVersionExpirationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NoncurrentVersionExpiration"
(NoncurrentVersionExpirationProperty -> (Key, Value))
-> Maybe NoncurrentVersionExpirationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpiration,
Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NoncurrentVersionExpirationInDays"
(Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
noncurrentVersionExpirationInDays,
Key -> NoncurrentVersionTransitionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NoncurrentVersionTransition"
(NoncurrentVersionTransitionProperty -> (Key, Value))
-> Maybe NoncurrentVersionTransitionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransition,
Key -> [NoncurrentVersionTransitionProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NoncurrentVersionTransitions"
([NoncurrentVersionTransitionProperty] -> (Key, Value))
-> Maybe [NoncurrentVersionTransitionProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [NoncurrentVersionTransitionProperty]
noncurrentVersionTransitions,
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
"ObjectSizeGreaterThan"
(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)
objectSizeGreaterThan,
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
"ObjectSizeLessThan" (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)
objectSizeLessThan,
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,
Key -> [TagFilterProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TagFilters" ([TagFilterProperty] -> (Key, Value))
-> Maybe [TagFilterProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TagFilterProperty]
tagFilters,
Key -> TransitionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Transition" (TransitionProperty -> (Key, Value))
-> Maybe TransitionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TransitionProperty
transition,
Key -> [TransitionProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Transitions" ([TransitionProperty] -> (Key, Value))
-> Maybe [TransitionProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TransitionProperty]
transitions])))
instance Property "AbortIncompleteMultipartUpload" RuleProperty where
type PropertyType "AbortIncompleteMultipartUpload" RuleProperty = AbortIncompleteMultipartUploadProperty
set :: PropertyType "AbortIncompleteMultipartUpload" RuleProperty
-> RuleProperty -> RuleProperty
set PropertyType "AbortIncompleteMultipartUpload" RuleProperty
newValue RuleProperty {Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
abortIncompleteMultipartUpload :: RuleProperty -> Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: RuleProperty -> Maybe (Value Text)
expirationInDays :: RuleProperty -> Maybe (Value Integer)
expiredObjectDeleteMarker :: RuleProperty -> Maybe (Value Bool)
id :: RuleProperty -> Maybe (Value Text)
noncurrentVersionExpiration :: RuleProperty -> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: RuleProperty -> Maybe (Value Integer)
noncurrentVersionTransition :: RuleProperty -> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: RuleProperty -> Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: RuleProperty -> Maybe (Value Text)
objectSizeLessThan :: RuleProperty -> Maybe (Value Text)
prefix :: RuleProperty -> Maybe (Value Text)
status :: RuleProperty -> Value Text
tagFilters :: RuleProperty -> Maybe [TagFilterProperty]
transition :: RuleProperty -> Maybe TransitionProperty
transitions :: RuleProperty -> Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
= RuleProperty
{abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
abortIncompleteMultipartUpload = AbortIncompleteMultipartUploadProperty
-> Maybe AbortIncompleteMultipartUploadProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AbortIncompleteMultipartUpload" RuleProperty
AbortIncompleteMultipartUploadProperty
newValue, Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: ()
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
haddock_workaround_ :: ()
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
instance Property "ExpirationDate" RuleProperty where
type PropertyType "ExpirationDate" RuleProperty = Value Prelude.Text
set :: PropertyType "ExpirationDate" RuleProperty
-> RuleProperty -> RuleProperty
set PropertyType "ExpirationDate" RuleProperty
newValue RuleProperty {Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
abortIncompleteMultipartUpload :: RuleProperty -> Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: RuleProperty -> Maybe (Value Text)
expirationInDays :: RuleProperty -> Maybe (Value Integer)
expiredObjectDeleteMarker :: RuleProperty -> Maybe (Value Bool)
id :: RuleProperty -> Maybe (Value Text)
noncurrentVersionExpiration :: RuleProperty -> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: RuleProperty -> Maybe (Value Integer)
noncurrentVersionTransition :: RuleProperty -> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: RuleProperty -> Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: RuleProperty -> Maybe (Value Text)
objectSizeLessThan :: RuleProperty -> Maybe (Value Text)
prefix :: RuleProperty -> Maybe (Value Text)
status :: RuleProperty -> Value Text
tagFilters :: RuleProperty -> Maybe [TagFilterProperty]
transition :: RuleProperty -> Maybe TransitionProperty
transitions :: RuleProperty -> Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
= RuleProperty {expirationDate :: Maybe (Value Text)
expirationDate = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ExpirationDate" RuleProperty
Value Text
newValue, Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
instance Property "ExpirationInDays" RuleProperty where
type PropertyType "ExpirationInDays" RuleProperty = Value Prelude.Integer
set :: PropertyType "ExpirationInDays" RuleProperty
-> RuleProperty -> RuleProperty
set PropertyType "ExpirationInDays" RuleProperty
newValue RuleProperty {Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
abortIncompleteMultipartUpload :: RuleProperty -> Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: RuleProperty -> Maybe (Value Text)
expirationInDays :: RuleProperty -> Maybe (Value Integer)
expiredObjectDeleteMarker :: RuleProperty -> Maybe (Value Bool)
id :: RuleProperty -> Maybe (Value Text)
noncurrentVersionExpiration :: RuleProperty -> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: RuleProperty -> Maybe (Value Integer)
noncurrentVersionTransition :: RuleProperty -> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: RuleProperty -> Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: RuleProperty -> Maybe (Value Text)
objectSizeLessThan :: RuleProperty -> Maybe (Value Text)
prefix :: RuleProperty -> Maybe (Value Text)
status :: RuleProperty -> Value Text
tagFilters :: RuleProperty -> Maybe [TagFilterProperty]
transition :: RuleProperty -> Maybe TransitionProperty
transitions :: RuleProperty -> Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
= RuleProperty {expirationInDays :: Maybe (Value Integer)
expirationInDays = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ExpirationInDays" RuleProperty
Value Integer
newValue, Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
instance Property "ExpiredObjectDeleteMarker" RuleProperty where
type PropertyType "ExpiredObjectDeleteMarker" RuleProperty = Value Prelude.Bool
set :: PropertyType "ExpiredObjectDeleteMarker" RuleProperty
-> RuleProperty -> RuleProperty
set PropertyType "ExpiredObjectDeleteMarker" RuleProperty
newValue RuleProperty {Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
abortIncompleteMultipartUpload :: RuleProperty -> Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: RuleProperty -> Maybe (Value Text)
expirationInDays :: RuleProperty -> Maybe (Value Integer)
expiredObjectDeleteMarker :: RuleProperty -> Maybe (Value Bool)
id :: RuleProperty -> Maybe (Value Text)
noncurrentVersionExpiration :: RuleProperty -> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: RuleProperty -> Maybe (Value Integer)
noncurrentVersionTransition :: RuleProperty -> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: RuleProperty -> Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: RuleProperty -> Maybe (Value Text)
objectSizeLessThan :: RuleProperty -> Maybe (Value Text)
prefix :: RuleProperty -> Maybe (Value Text)
status :: RuleProperty -> Value Text
tagFilters :: RuleProperty -> Maybe [TagFilterProperty]
transition :: RuleProperty -> Maybe TransitionProperty
transitions :: RuleProperty -> Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
= RuleProperty
{expiredObjectDeleteMarker :: Maybe (Value Bool)
expiredObjectDeleteMarker = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ExpiredObjectDeleteMarker" RuleProperty
Value Bool
newValue, Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
instance Property "Id" RuleProperty where
type PropertyType "Id" RuleProperty = Value Prelude.Text
set :: PropertyType "Id" RuleProperty -> RuleProperty -> RuleProperty
set PropertyType "Id" RuleProperty
newValue RuleProperty {Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
abortIncompleteMultipartUpload :: RuleProperty -> Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: RuleProperty -> Maybe (Value Text)
expirationInDays :: RuleProperty -> Maybe (Value Integer)
expiredObjectDeleteMarker :: RuleProperty -> Maybe (Value Bool)
id :: RuleProperty -> Maybe (Value Text)
noncurrentVersionExpiration :: RuleProperty -> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: RuleProperty -> Maybe (Value Integer)
noncurrentVersionTransition :: RuleProperty -> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: RuleProperty -> Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: RuleProperty -> Maybe (Value Text)
objectSizeLessThan :: RuleProperty -> Maybe (Value Text)
prefix :: RuleProperty -> Maybe (Value Text)
status :: RuleProperty -> Value Text
tagFilters :: RuleProperty -> Maybe [TagFilterProperty]
transition :: RuleProperty -> Maybe TransitionProperty
transitions :: RuleProperty -> Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
= RuleProperty {id :: Maybe (Value Text)
id = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Id" RuleProperty
Value Text
newValue, Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
instance Property "NoncurrentVersionExpiration" RuleProperty where
type PropertyType "NoncurrentVersionExpiration" RuleProperty = NoncurrentVersionExpirationProperty
set :: PropertyType "NoncurrentVersionExpiration" RuleProperty
-> RuleProperty -> RuleProperty
set PropertyType "NoncurrentVersionExpiration" RuleProperty
newValue RuleProperty {Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
abortIncompleteMultipartUpload :: RuleProperty -> Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: RuleProperty -> Maybe (Value Text)
expirationInDays :: RuleProperty -> Maybe (Value Integer)
expiredObjectDeleteMarker :: RuleProperty -> Maybe (Value Bool)
id :: RuleProperty -> Maybe (Value Text)
noncurrentVersionExpiration :: RuleProperty -> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: RuleProperty -> Maybe (Value Integer)
noncurrentVersionTransition :: RuleProperty -> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: RuleProperty -> Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: RuleProperty -> Maybe (Value Text)
objectSizeLessThan :: RuleProperty -> Maybe (Value Text)
prefix :: RuleProperty -> Maybe (Value Text)
status :: RuleProperty -> Value Text
tagFilters :: RuleProperty -> Maybe [TagFilterProperty]
transition :: RuleProperty -> Maybe TransitionProperty
transitions :: RuleProperty -> Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
= RuleProperty
{noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpiration = NoncurrentVersionExpirationProperty
-> Maybe NoncurrentVersionExpirationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "NoncurrentVersionExpiration" RuleProperty
NoncurrentVersionExpirationProperty
newValue, Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
instance Property "NoncurrentVersionExpirationInDays" RuleProperty where
type PropertyType "NoncurrentVersionExpirationInDays" RuleProperty = Value Prelude.Integer
set :: PropertyType "NoncurrentVersionExpirationInDays" RuleProperty
-> RuleProperty -> RuleProperty
set PropertyType "NoncurrentVersionExpirationInDays" RuleProperty
newValue RuleProperty {Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
abortIncompleteMultipartUpload :: RuleProperty -> Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: RuleProperty -> Maybe (Value Text)
expirationInDays :: RuleProperty -> Maybe (Value Integer)
expiredObjectDeleteMarker :: RuleProperty -> Maybe (Value Bool)
id :: RuleProperty -> Maybe (Value Text)
noncurrentVersionExpiration :: RuleProperty -> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: RuleProperty -> Maybe (Value Integer)
noncurrentVersionTransition :: RuleProperty -> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: RuleProperty -> Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: RuleProperty -> Maybe (Value Text)
objectSizeLessThan :: RuleProperty -> Maybe (Value Text)
prefix :: RuleProperty -> Maybe (Value Text)
status :: RuleProperty -> Value Text
tagFilters :: RuleProperty -> Maybe [TagFilterProperty]
transition :: RuleProperty -> Maybe TransitionProperty
transitions :: RuleProperty -> Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
= RuleProperty
{noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionExpirationInDays = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "NoncurrentVersionExpirationInDays" RuleProperty
Value Integer
newValue, Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
instance Property "NoncurrentVersionTransition" RuleProperty where
type PropertyType "NoncurrentVersionTransition" RuleProperty = NoncurrentVersionTransitionProperty
set :: PropertyType "NoncurrentVersionTransition" RuleProperty
-> RuleProperty -> RuleProperty
set PropertyType "NoncurrentVersionTransition" RuleProperty
newValue RuleProperty {Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
abortIncompleteMultipartUpload :: RuleProperty -> Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: RuleProperty -> Maybe (Value Text)
expirationInDays :: RuleProperty -> Maybe (Value Integer)
expiredObjectDeleteMarker :: RuleProperty -> Maybe (Value Bool)
id :: RuleProperty -> Maybe (Value Text)
noncurrentVersionExpiration :: RuleProperty -> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: RuleProperty -> Maybe (Value Integer)
noncurrentVersionTransition :: RuleProperty -> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: RuleProperty -> Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: RuleProperty -> Maybe (Value Text)
objectSizeLessThan :: RuleProperty -> Maybe (Value Text)
prefix :: RuleProperty -> Maybe (Value Text)
status :: RuleProperty -> Value Text
tagFilters :: RuleProperty -> Maybe [TagFilterProperty]
transition :: RuleProperty -> Maybe TransitionProperty
transitions :: RuleProperty -> Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
= RuleProperty
{noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransition = NoncurrentVersionTransitionProperty
-> Maybe NoncurrentVersionTransitionProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "NoncurrentVersionTransition" RuleProperty
NoncurrentVersionTransitionProperty
newValue, Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
instance Property "NoncurrentVersionTransitions" RuleProperty where
type PropertyType "NoncurrentVersionTransitions" RuleProperty = [NoncurrentVersionTransitionProperty]
set :: PropertyType "NoncurrentVersionTransitions" RuleProperty
-> RuleProperty -> RuleProperty
set PropertyType "NoncurrentVersionTransitions" RuleProperty
newValue RuleProperty {Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
abortIncompleteMultipartUpload :: RuleProperty -> Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: RuleProperty -> Maybe (Value Text)
expirationInDays :: RuleProperty -> Maybe (Value Integer)
expiredObjectDeleteMarker :: RuleProperty -> Maybe (Value Bool)
id :: RuleProperty -> Maybe (Value Text)
noncurrentVersionExpiration :: RuleProperty -> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: RuleProperty -> Maybe (Value Integer)
noncurrentVersionTransition :: RuleProperty -> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: RuleProperty -> Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: RuleProperty -> Maybe (Value Text)
objectSizeLessThan :: RuleProperty -> Maybe (Value Text)
prefix :: RuleProperty -> Maybe (Value Text)
status :: RuleProperty -> Value Text
tagFilters :: RuleProperty -> Maybe [TagFilterProperty]
transition :: RuleProperty -> Maybe TransitionProperty
transitions :: RuleProperty -> Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
= RuleProperty
{noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
noncurrentVersionTransitions = [NoncurrentVersionTransitionProperty]
-> Maybe [NoncurrentVersionTransitionProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [NoncurrentVersionTransitionProperty]
PropertyType "NoncurrentVersionTransitions" RuleProperty
newValue, Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
instance Property "ObjectSizeGreaterThan" RuleProperty where
type PropertyType "ObjectSizeGreaterThan" RuleProperty = Value Prelude.Text
set :: PropertyType "ObjectSizeGreaterThan" RuleProperty
-> RuleProperty -> RuleProperty
set PropertyType "ObjectSizeGreaterThan" RuleProperty
newValue RuleProperty {Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
abortIncompleteMultipartUpload :: RuleProperty -> Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: RuleProperty -> Maybe (Value Text)
expirationInDays :: RuleProperty -> Maybe (Value Integer)
expiredObjectDeleteMarker :: RuleProperty -> Maybe (Value Bool)
id :: RuleProperty -> Maybe (Value Text)
noncurrentVersionExpiration :: RuleProperty -> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: RuleProperty -> Maybe (Value Integer)
noncurrentVersionTransition :: RuleProperty -> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: RuleProperty -> Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: RuleProperty -> Maybe (Value Text)
objectSizeLessThan :: RuleProperty -> Maybe (Value Text)
prefix :: RuleProperty -> Maybe (Value Text)
status :: RuleProperty -> Value Text
tagFilters :: RuleProperty -> Maybe [TagFilterProperty]
transition :: RuleProperty -> Maybe TransitionProperty
transitions :: RuleProperty -> Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
= RuleProperty {objectSizeGreaterThan :: Maybe (Value Text)
objectSizeGreaterThan = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ObjectSizeGreaterThan" RuleProperty
Value Text
newValue, Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
instance Property "ObjectSizeLessThan" RuleProperty where
type PropertyType "ObjectSizeLessThan" RuleProperty = Value Prelude.Text
set :: PropertyType "ObjectSizeLessThan" RuleProperty
-> RuleProperty -> RuleProperty
set PropertyType "ObjectSizeLessThan" RuleProperty
newValue RuleProperty {Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
abortIncompleteMultipartUpload :: RuleProperty -> Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: RuleProperty -> Maybe (Value Text)
expirationInDays :: RuleProperty -> Maybe (Value Integer)
expiredObjectDeleteMarker :: RuleProperty -> Maybe (Value Bool)
id :: RuleProperty -> Maybe (Value Text)
noncurrentVersionExpiration :: RuleProperty -> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: RuleProperty -> Maybe (Value Integer)
noncurrentVersionTransition :: RuleProperty -> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: RuleProperty -> Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: RuleProperty -> Maybe (Value Text)
objectSizeLessThan :: RuleProperty -> Maybe (Value Text)
prefix :: RuleProperty -> Maybe (Value Text)
status :: RuleProperty -> Value Text
tagFilters :: RuleProperty -> Maybe [TagFilterProperty]
transition :: RuleProperty -> Maybe TransitionProperty
transitions :: RuleProperty -> Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
= RuleProperty {objectSizeLessThan :: Maybe (Value Text)
objectSizeLessThan = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ObjectSizeLessThan" RuleProperty
Value Text
newValue, Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
instance Property "Prefix" RuleProperty where
type PropertyType "Prefix" RuleProperty = Value Prelude.Text
set :: PropertyType "Prefix" RuleProperty -> RuleProperty -> RuleProperty
set PropertyType "Prefix" RuleProperty
newValue RuleProperty {Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
abortIncompleteMultipartUpload :: RuleProperty -> Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: RuleProperty -> Maybe (Value Text)
expirationInDays :: RuleProperty -> Maybe (Value Integer)
expiredObjectDeleteMarker :: RuleProperty -> Maybe (Value Bool)
id :: RuleProperty -> Maybe (Value Text)
noncurrentVersionExpiration :: RuleProperty -> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: RuleProperty -> Maybe (Value Integer)
noncurrentVersionTransition :: RuleProperty -> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: RuleProperty -> Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: RuleProperty -> Maybe (Value Text)
objectSizeLessThan :: RuleProperty -> Maybe (Value Text)
prefix :: RuleProperty -> Maybe (Value Text)
status :: RuleProperty -> Value Text
tagFilters :: RuleProperty -> Maybe [TagFilterProperty]
transition :: RuleProperty -> Maybe TransitionProperty
transitions :: RuleProperty -> Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
= RuleProperty {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" RuleProperty
Value Text
newValue, Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
instance Property "Status" RuleProperty where
type PropertyType "Status" RuleProperty = Value Prelude.Text
set :: PropertyType "Status" RuleProperty -> RuleProperty -> RuleProperty
set PropertyType "Status" RuleProperty
newValue RuleProperty {Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
abortIncompleteMultipartUpload :: RuleProperty -> Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: RuleProperty -> Maybe (Value Text)
expirationInDays :: RuleProperty -> Maybe (Value Integer)
expiredObjectDeleteMarker :: RuleProperty -> Maybe (Value Bool)
id :: RuleProperty -> Maybe (Value Text)
noncurrentVersionExpiration :: RuleProperty -> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: RuleProperty -> Maybe (Value Integer)
noncurrentVersionTransition :: RuleProperty -> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: RuleProperty -> Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: RuleProperty -> Maybe (Value Text)
objectSizeLessThan :: RuleProperty -> Maybe (Value Text)
prefix :: RuleProperty -> Maybe (Value Text)
status :: RuleProperty -> Value Text
tagFilters :: RuleProperty -> Maybe [TagFilterProperty]
transition :: RuleProperty -> Maybe TransitionProperty
transitions :: RuleProperty -> Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
= RuleProperty {status :: Value Text
status = PropertyType "Status" RuleProperty
Value Text
newValue, Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
instance Property "TagFilters" RuleProperty where
type PropertyType "TagFilters" RuleProperty = [TagFilterProperty]
set :: PropertyType "TagFilters" RuleProperty
-> RuleProperty -> RuleProperty
set PropertyType "TagFilters" RuleProperty
newValue RuleProperty {Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
abortIncompleteMultipartUpload :: RuleProperty -> Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: RuleProperty -> Maybe (Value Text)
expirationInDays :: RuleProperty -> Maybe (Value Integer)
expiredObjectDeleteMarker :: RuleProperty -> Maybe (Value Bool)
id :: RuleProperty -> Maybe (Value Text)
noncurrentVersionExpiration :: RuleProperty -> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: RuleProperty -> Maybe (Value Integer)
noncurrentVersionTransition :: RuleProperty -> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: RuleProperty -> Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: RuleProperty -> Maybe (Value Text)
objectSizeLessThan :: RuleProperty -> Maybe (Value Text)
prefix :: RuleProperty -> Maybe (Value Text)
status :: RuleProperty -> Value Text
tagFilters :: RuleProperty -> Maybe [TagFilterProperty]
transition :: RuleProperty -> Maybe TransitionProperty
transitions :: RuleProperty -> Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
= RuleProperty {tagFilters :: Maybe [TagFilterProperty]
tagFilters = [TagFilterProperty] -> Maybe [TagFilterProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [TagFilterProperty]
PropertyType "TagFilters" RuleProperty
newValue, Maybe [NoncurrentVersionTransitionProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
instance Property "Transition" RuleProperty where
type PropertyType "Transition" RuleProperty = TransitionProperty
set :: PropertyType "Transition" RuleProperty
-> RuleProperty -> RuleProperty
set PropertyType "Transition" RuleProperty
newValue RuleProperty {Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
abortIncompleteMultipartUpload :: RuleProperty -> Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: RuleProperty -> Maybe (Value Text)
expirationInDays :: RuleProperty -> Maybe (Value Integer)
expiredObjectDeleteMarker :: RuleProperty -> Maybe (Value Bool)
id :: RuleProperty -> Maybe (Value Text)
noncurrentVersionExpiration :: RuleProperty -> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: RuleProperty -> Maybe (Value Integer)
noncurrentVersionTransition :: RuleProperty -> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: RuleProperty -> Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: RuleProperty -> Maybe (Value Text)
objectSizeLessThan :: RuleProperty -> Maybe (Value Text)
prefix :: RuleProperty -> Maybe (Value Text)
status :: RuleProperty -> Value Text
tagFilters :: RuleProperty -> Maybe [TagFilterProperty]
transition :: RuleProperty -> Maybe TransitionProperty
transitions :: RuleProperty -> Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
= RuleProperty {transition :: Maybe TransitionProperty
transition = TransitionProperty -> Maybe TransitionProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Transition" RuleProperty
TransitionProperty
newValue, Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
()
Value Text
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transitions :: Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transitions :: Maybe [TransitionProperty]
..}
instance Property "Transitions" RuleProperty where
type PropertyType "Transitions" RuleProperty = [TransitionProperty]
set :: PropertyType "Transitions" RuleProperty
-> RuleProperty -> RuleProperty
set PropertyType "Transitions" RuleProperty
newValue RuleProperty {Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe [TransitionProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: RuleProperty -> ()
abortIncompleteMultipartUpload :: RuleProperty -> Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: RuleProperty -> Maybe (Value Text)
expirationInDays :: RuleProperty -> Maybe (Value Integer)
expiredObjectDeleteMarker :: RuleProperty -> Maybe (Value Bool)
id :: RuleProperty -> Maybe (Value Text)
noncurrentVersionExpiration :: RuleProperty -> Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: RuleProperty -> Maybe (Value Integer)
noncurrentVersionTransition :: RuleProperty -> Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: RuleProperty -> Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: RuleProperty -> Maybe (Value Text)
objectSizeLessThan :: RuleProperty -> Maybe (Value Text)
prefix :: RuleProperty -> Maybe (Value Text)
status :: RuleProperty -> Value Text
tagFilters :: RuleProperty -> Maybe [TagFilterProperty]
transition :: RuleProperty -> Maybe TransitionProperty
transitions :: RuleProperty -> Maybe [TransitionProperty]
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
transitions :: Maybe [TransitionProperty]
..}
= RuleProperty {transitions :: Maybe [TransitionProperty]
transitions = [TransitionProperty] -> Maybe [TransitionProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [TransitionProperty]
PropertyType "Transitions" RuleProperty
newValue, Maybe [NoncurrentVersionTransitionProperty]
Maybe [TagFilterProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe AbortIncompleteMultipartUploadProperty
Maybe NoncurrentVersionExpirationProperty
Maybe NoncurrentVersionTransitionProperty
Maybe TransitionProperty
()
Value Text
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
haddock_workaround_ :: ()
abortIncompleteMultipartUpload :: Maybe AbortIncompleteMultipartUploadProperty
expirationDate :: Maybe (Value Text)
expirationInDays :: Maybe (Value Integer)
expiredObjectDeleteMarker :: Maybe (Value Bool)
id :: Maybe (Value Text)
noncurrentVersionExpiration :: Maybe NoncurrentVersionExpirationProperty
noncurrentVersionExpirationInDays :: Maybe (Value Integer)
noncurrentVersionTransition :: Maybe NoncurrentVersionTransitionProperty
noncurrentVersionTransitions :: Maybe [NoncurrentVersionTransitionProperty]
objectSizeGreaterThan :: Maybe (Value Text)
objectSizeLessThan :: Maybe (Value Text)
prefix :: Maybe (Value Text)
status :: Value Text
tagFilters :: Maybe [TagFilterProperty]
transition :: Maybe TransitionProperty
..}