module Stratosphere.Backup.RestoreTestingSelection (
module Exports, RestoreTestingSelection(..),
mkRestoreTestingSelection
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Backup.RestoreTestingSelection.ProtectedResourceConditionsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data RestoreTestingSelection
=
RestoreTestingSelection {RestoreTestingSelection -> ()
haddock_workaround_ :: (),
RestoreTestingSelection -> Value Text
iamRoleArn :: (Value Prelude.Text),
RestoreTestingSelection -> Maybe (ValueList Text)
protectedResourceArns :: (Prelude.Maybe (ValueList Prelude.Text)),
RestoreTestingSelection
-> Maybe ProtectedResourceConditionsProperty
protectedResourceConditions :: (Prelude.Maybe ProtectedResourceConditionsProperty),
RestoreTestingSelection -> Value Text
protectedResourceType :: (Value Prelude.Text),
RestoreTestingSelection -> Maybe (Map Text (Value Text))
restoreMetadataOverrides :: (Prelude.Maybe (Prelude.Map Prelude.Text (Value Prelude.Text))),
RestoreTestingSelection -> Value Text
restoreTestingPlanName :: (Value Prelude.Text),
RestoreTestingSelection -> Value Text
restoreTestingSelectionName :: (Value Prelude.Text),
RestoreTestingSelection -> Maybe (Value Integer)
validationWindowHours :: (Prelude.Maybe (Value Prelude.Integer))}
deriving stock (RestoreTestingSelection -> RestoreTestingSelection -> Bool
(RestoreTestingSelection -> RestoreTestingSelection -> Bool)
-> (RestoreTestingSelection -> RestoreTestingSelection -> Bool)
-> Eq RestoreTestingSelection
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: RestoreTestingSelection -> RestoreTestingSelection -> Bool
== :: RestoreTestingSelection -> RestoreTestingSelection -> Bool
$c/= :: RestoreTestingSelection -> RestoreTestingSelection -> Bool
/= :: RestoreTestingSelection -> RestoreTestingSelection -> Bool
Prelude.Eq, Int -> RestoreTestingSelection -> ShowS
[RestoreTestingSelection] -> ShowS
RestoreTestingSelection -> String
(Int -> RestoreTestingSelection -> ShowS)
-> (RestoreTestingSelection -> String)
-> ([RestoreTestingSelection] -> ShowS)
-> Show RestoreTestingSelection
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> RestoreTestingSelection -> ShowS
showsPrec :: Int -> RestoreTestingSelection -> ShowS
$cshow :: RestoreTestingSelection -> String
show :: RestoreTestingSelection -> String
$cshowList :: [RestoreTestingSelection] -> ShowS
showList :: [RestoreTestingSelection] -> ShowS
Prelude.Show)
mkRestoreTestingSelection ::
Value Prelude.Text
-> Value Prelude.Text
-> Value Prelude.Text
-> Value Prelude.Text -> RestoreTestingSelection
mkRestoreTestingSelection :: Value Text
-> Value Text
-> Value Text
-> Value Text
-> RestoreTestingSelection
mkRestoreTestingSelection
Value Text
iamRoleArn
Value Text
protectedResourceType
Value Text
restoreTestingPlanName
Value Text
restoreTestingSelectionName
= RestoreTestingSelection
{haddock_workaround_ :: ()
haddock_workaround_ = (), iamRoleArn :: Value Text
iamRoleArn = Value Text
iamRoleArn,
protectedResourceType :: Value Text
protectedResourceType = Value Text
protectedResourceType,
restoreTestingPlanName :: Value Text
restoreTestingPlanName = Value Text
restoreTestingPlanName,
restoreTestingSelectionName :: Value Text
restoreTestingSelectionName = Value Text
restoreTestingSelectionName,
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceArns = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceConditions = Maybe ProtectedResourceConditionsProperty
forall a. Maybe a
Prelude.Nothing,
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreMetadataOverrides = Maybe (Map Text (Value Text))
forall a. Maybe a
Prelude.Nothing,
validationWindowHours :: Maybe (Value Integer)
validationWindowHours = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties RestoreTestingSelection where
toResourceProperties :: RestoreTestingSelection -> ResourceProperties
toResourceProperties RestoreTestingSelection {Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe ProtectedResourceConditionsProperty
()
Value Text
haddock_workaround_ :: RestoreTestingSelection -> ()
iamRoleArn :: RestoreTestingSelection -> Value Text
protectedResourceArns :: RestoreTestingSelection -> Maybe (ValueList Text)
protectedResourceConditions :: RestoreTestingSelection
-> Maybe ProtectedResourceConditionsProperty
protectedResourceType :: RestoreTestingSelection -> Value Text
restoreMetadataOverrides :: RestoreTestingSelection -> Maybe (Map Text (Value Text))
restoreTestingPlanName :: RestoreTestingSelection -> Value Text
restoreTestingSelectionName :: RestoreTestingSelection -> Value Text
validationWindowHours :: RestoreTestingSelection -> Maybe (Value Integer)
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Backup::RestoreTestingSelection",
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
"IamRoleArn" 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
iamRoleArn,
Key
"ProtectedResourceType" 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
protectedResourceType,
Key
"RestoreTestingPlanName" 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
restoreTestingPlanName,
Key
"RestoreTestingSelectionName" 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
restoreTestingSelectionName]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ProtectedResourceArns"
(ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
protectedResourceArns,
Key -> ProtectedResourceConditionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ProtectedResourceConditions"
(ProtectedResourceConditionsProperty -> (Key, Value))
-> Maybe ProtectedResourceConditionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProtectedResourceConditionsProperty
protectedResourceConditions,
Key -> Map Text (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
"RestoreMetadataOverrides"
(Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
restoreMetadataOverrides,
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
"ValidationWindowHours"
(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)
validationWindowHours]))}
instance JSON.ToJSON RestoreTestingSelection where
toJSON :: RestoreTestingSelection -> Value
toJSON RestoreTestingSelection {Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe ProtectedResourceConditionsProperty
()
Value Text
haddock_workaround_ :: RestoreTestingSelection -> ()
iamRoleArn :: RestoreTestingSelection -> Value Text
protectedResourceArns :: RestoreTestingSelection -> Maybe (ValueList Text)
protectedResourceConditions :: RestoreTestingSelection
-> Maybe ProtectedResourceConditionsProperty
protectedResourceType :: RestoreTestingSelection -> Value Text
restoreMetadataOverrides :: RestoreTestingSelection -> Maybe (Map Text (Value Text))
restoreTestingPlanName :: RestoreTestingSelection -> Value Text
restoreTestingSelectionName :: RestoreTestingSelection -> Value Text
validationWindowHours :: RestoreTestingSelection -> Maybe (Value Integer)
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
..}
= [(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
"IamRoleArn" 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
iamRoleArn,
Key
"ProtectedResourceType" 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
protectedResourceType,
Key
"RestoreTestingPlanName" 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
restoreTestingPlanName,
Key
"RestoreTestingSelectionName" 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
restoreTestingSelectionName]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ProtectedResourceArns"
(ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
protectedResourceArns,
Key -> ProtectedResourceConditionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ProtectedResourceConditions"
(ProtectedResourceConditionsProperty -> (Key, Value))
-> Maybe ProtectedResourceConditionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ProtectedResourceConditionsProperty
protectedResourceConditions,
Key -> Map Text (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
"RestoreMetadataOverrides"
(Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
restoreMetadataOverrides,
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
"ValidationWindowHours"
(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)
validationWindowHours])))
instance Property "IamRoleArn" RestoreTestingSelection where
type PropertyType "IamRoleArn" RestoreTestingSelection = Value Prelude.Text
set :: PropertyType "IamRoleArn" RestoreTestingSelection
-> RestoreTestingSelection -> RestoreTestingSelection
set PropertyType "IamRoleArn" RestoreTestingSelection
newValue RestoreTestingSelection {Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe ProtectedResourceConditionsProperty
()
Value Text
haddock_workaround_ :: RestoreTestingSelection -> ()
iamRoleArn :: RestoreTestingSelection -> Value Text
protectedResourceArns :: RestoreTestingSelection -> Maybe (ValueList Text)
protectedResourceConditions :: RestoreTestingSelection
-> Maybe ProtectedResourceConditionsProperty
protectedResourceType :: RestoreTestingSelection -> Value Text
restoreMetadataOverrides :: RestoreTestingSelection -> Maybe (Map Text (Value Text))
restoreTestingPlanName :: RestoreTestingSelection -> Value Text
restoreTestingSelectionName :: RestoreTestingSelection -> Value Text
validationWindowHours :: RestoreTestingSelection -> Maybe (Value Integer)
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
..}
= RestoreTestingSelection {iamRoleArn :: Value Text
iamRoleArn = PropertyType "IamRoleArn" RestoreTestingSelection
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe ProtectedResourceConditionsProperty
()
Value Text
haddock_workaround_ :: ()
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
haddock_workaround_ :: ()
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
..}
instance Property "ProtectedResourceArns" RestoreTestingSelection where
type PropertyType "ProtectedResourceArns" RestoreTestingSelection = ValueList Prelude.Text
set :: PropertyType "ProtectedResourceArns" RestoreTestingSelection
-> RestoreTestingSelection -> RestoreTestingSelection
set PropertyType "ProtectedResourceArns" RestoreTestingSelection
newValue RestoreTestingSelection {Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe ProtectedResourceConditionsProperty
()
Value Text
haddock_workaround_ :: RestoreTestingSelection -> ()
iamRoleArn :: RestoreTestingSelection -> Value Text
protectedResourceArns :: RestoreTestingSelection -> Maybe (ValueList Text)
protectedResourceConditions :: RestoreTestingSelection
-> Maybe ProtectedResourceConditionsProperty
protectedResourceType :: RestoreTestingSelection -> Value Text
restoreMetadataOverrides :: RestoreTestingSelection -> Maybe (Map Text (Value Text))
restoreTestingPlanName :: RestoreTestingSelection -> Value Text
restoreTestingSelectionName :: RestoreTestingSelection -> Value Text
validationWindowHours :: RestoreTestingSelection -> Maybe (Value Integer)
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
..}
= RestoreTestingSelection
{protectedResourceArns :: Maybe (ValueList Text)
protectedResourceArns = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ProtectedResourceArns" RestoreTestingSelection
ValueList Text
newValue, Maybe (Map Text (Value Text))
Maybe (Value Integer)
Maybe ProtectedResourceConditionsProperty
()
Value Text
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
..}
instance Property "ProtectedResourceConditions" RestoreTestingSelection where
type PropertyType "ProtectedResourceConditions" RestoreTestingSelection = ProtectedResourceConditionsProperty
set :: PropertyType "ProtectedResourceConditions" RestoreTestingSelection
-> RestoreTestingSelection -> RestoreTestingSelection
set PropertyType "ProtectedResourceConditions" RestoreTestingSelection
newValue RestoreTestingSelection {Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe ProtectedResourceConditionsProperty
()
Value Text
haddock_workaround_ :: RestoreTestingSelection -> ()
iamRoleArn :: RestoreTestingSelection -> Value Text
protectedResourceArns :: RestoreTestingSelection -> Maybe (ValueList Text)
protectedResourceConditions :: RestoreTestingSelection
-> Maybe ProtectedResourceConditionsProperty
protectedResourceType :: RestoreTestingSelection -> Value Text
restoreMetadataOverrides :: RestoreTestingSelection -> Maybe (Map Text (Value Text))
restoreTestingPlanName :: RestoreTestingSelection -> Value Text
restoreTestingSelectionName :: RestoreTestingSelection -> Value Text
validationWindowHours :: RestoreTestingSelection -> Maybe (Value Integer)
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
..}
= RestoreTestingSelection
{protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceConditions = ProtectedResourceConditionsProperty
-> Maybe ProtectedResourceConditionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ProtectedResourceConditions" RestoreTestingSelection
ProtectedResourceConditionsProperty
newValue, Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Integer)
()
Value Text
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
..}
instance Property "ProtectedResourceType" RestoreTestingSelection where
type PropertyType "ProtectedResourceType" RestoreTestingSelection = Value Prelude.Text
set :: PropertyType "ProtectedResourceType" RestoreTestingSelection
-> RestoreTestingSelection -> RestoreTestingSelection
set PropertyType "ProtectedResourceType" RestoreTestingSelection
newValue RestoreTestingSelection {Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe ProtectedResourceConditionsProperty
()
Value Text
haddock_workaround_ :: RestoreTestingSelection -> ()
iamRoleArn :: RestoreTestingSelection -> Value Text
protectedResourceArns :: RestoreTestingSelection -> Maybe (ValueList Text)
protectedResourceConditions :: RestoreTestingSelection
-> Maybe ProtectedResourceConditionsProperty
protectedResourceType :: RestoreTestingSelection -> Value Text
restoreMetadataOverrides :: RestoreTestingSelection -> Maybe (Map Text (Value Text))
restoreTestingPlanName :: RestoreTestingSelection -> Value Text
restoreTestingSelectionName :: RestoreTestingSelection -> Value Text
validationWindowHours :: RestoreTestingSelection -> Maybe (Value Integer)
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
..}
= RestoreTestingSelection {protectedResourceType :: Value Text
protectedResourceType = PropertyType "ProtectedResourceType" RestoreTestingSelection
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe ProtectedResourceConditionsProperty
()
Value Text
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
..}
instance Property "RestoreMetadataOverrides" RestoreTestingSelection where
type PropertyType "RestoreMetadataOverrides" RestoreTestingSelection = Prelude.Map Prelude.Text (Value Prelude.Text)
set :: PropertyType "RestoreMetadataOverrides" RestoreTestingSelection
-> RestoreTestingSelection -> RestoreTestingSelection
set PropertyType "RestoreMetadataOverrides" RestoreTestingSelection
newValue RestoreTestingSelection {Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe ProtectedResourceConditionsProperty
()
Value Text
haddock_workaround_ :: RestoreTestingSelection -> ()
iamRoleArn :: RestoreTestingSelection -> Value Text
protectedResourceArns :: RestoreTestingSelection -> Maybe (ValueList Text)
protectedResourceConditions :: RestoreTestingSelection
-> Maybe ProtectedResourceConditionsProperty
protectedResourceType :: RestoreTestingSelection -> Value Text
restoreMetadataOverrides :: RestoreTestingSelection -> Maybe (Map Text (Value Text))
restoreTestingPlanName :: RestoreTestingSelection -> Value Text
restoreTestingSelectionName :: RestoreTestingSelection -> Value Text
validationWindowHours :: RestoreTestingSelection -> Maybe (Value Integer)
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
..}
= RestoreTestingSelection
{restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreMetadataOverrides = Map Text (Value Text) -> Maybe (Map Text (Value Text))
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Map Text (Value Text)
PropertyType "RestoreMetadataOverrides" RestoreTestingSelection
newValue, Maybe (ValueList Text)
Maybe (Value Integer)
Maybe ProtectedResourceConditionsProperty
()
Value Text
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
..}
instance Property "RestoreTestingPlanName" RestoreTestingSelection where
type PropertyType "RestoreTestingPlanName" RestoreTestingSelection = Value Prelude.Text
set :: PropertyType "RestoreTestingPlanName" RestoreTestingSelection
-> RestoreTestingSelection -> RestoreTestingSelection
set PropertyType "RestoreTestingPlanName" RestoreTestingSelection
newValue RestoreTestingSelection {Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe ProtectedResourceConditionsProperty
()
Value Text
haddock_workaround_ :: RestoreTestingSelection -> ()
iamRoleArn :: RestoreTestingSelection -> Value Text
protectedResourceArns :: RestoreTestingSelection -> Maybe (ValueList Text)
protectedResourceConditions :: RestoreTestingSelection
-> Maybe ProtectedResourceConditionsProperty
protectedResourceType :: RestoreTestingSelection -> Value Text
restoreMetadataOverrides :: RestoreTestingSelection -> Maybe (Map Text (Value Text))
restoreTestingPlanName :: RestoreTestingSelection -> Value Text
restoreTestingSelectionName :: RestoreTestingSelection -> Value Text
validationWindowHours :: RestoreTestingSelection -> Maybe (Value Integer)
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
..}
= RestoreTestingSelection {restoreTestingPlanName :: Value Text
restoreTestingPlanName = PropertyType "RestoreTestingPlanName" RestoreTestingSelection
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe ProtectedResourceConditionsProperty
()
Value Text
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
..}
instance Property "RestoreTestingSelectionName" RestoreTestingSelection where
type PropertyType "RestoreTestingSelectionName" RestoreTestingSelection = Value Prelude.Text
set :: PropertyType "RestoreTestingSelectionName" RestoreTestingSelection
-> RestoreTestingSelection -> RestoreTestingSelection
set PropertyType "RestoreTestingSelectionName" RestoreTestingSelection
newValue RestoreTestingSelection {Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe ProtectedResourceConditionsProperty
()
Value Text
haddock_workaround_ :: RestoreTestingSelection -> ()
iamRoleArn :: RestoreTestingSelection -> Value Text
protectedResourceArns :: RestoreTestingSelection -> Maybe (ValueList Text)
protectedResourceConditions :: RestoreTestingSelection
-> Maybe ProtectedResourceConditionsProperty
protectedResourceType :: RestoreTestingSelection -> Value Text
restoreMetadataOverrides :: RestoreTestingSelection -> Maybe (Map Text (Value Text))
restoreTestingPlanName :: RestoreTestingSelection -> Value Text
restoreTestingSelectionName :: RestoreTestingSelection -> Value Text
validationWindowHours :: RestoreTestingSelection -> Maybe (Value Integer)
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
..}
= RestoreTestingSelection
{restoreTestingSelectionName :: Value Text
restoreTestingSelectionName = PropertyType "RestoreTestingSelectionName" RestoreTestingSelection
Value Text
newValue, Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe ProtectedResourceConditionsProperty
()
Value Text
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
validationWindowHours :: Maybe (Value Integer)
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
validationWindowHours :: Maybe (Value Integer)
..}
instance Property "ValidationWindowHours" RestoreTestingSelection where
type PropertyType "ValidationWindowHours" RestoreTestingSelection = Value Prelude.Integer
set :: PropertyType "ValidationWindowHours" RestoreTestingSelection
-> RestoreTestingSelection -> RestoreTestingSelection
set PropertyType "ValidationWindowHours" RestoreTestingSelection
newValue RestoreTestingSelection {Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Integer)
Maybe ProtectedResourceConditionsProperty
()
Value Text
haddock_workaround_ :: RestoreTestingSelection -> ()
iamRoleArn :: RestoreTestingSelection -> Value Text
protectedResourceArns :: RestoreTestingSelection -> Maybe (ValueList Text)
protectedResourceConditions :: RestoreTestingSelection
-> Maybe ProtectedResourceConditionsProperty
protectedResourceType :: RestoreTestingSelection -> Value Text
restoreMetadataOverrides :: RestoreTestingSelection -> Maybe (Map Text (Value Text))
restoreTestingPlanName :: RestoreTestingSelection -> Value Text
restoreTestingSelectionName :: RestoreTestingSelection -> Value Text
validationWindowHours :: RestoreTestingSelection -> Maybe (Value Integer)
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
validationWindowHours :: Maybe (Value Integer)
..}
= RestoreTestingSelection
{validationWindowHours :: Maybe (Value Integer)
validationWindowHours = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ValidationWindowHours" RestoreTestingSelection
Value Integer
newValue, Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe ProtectedResourceConditionsProperty
()
Value Text
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
haddock_workaround_ :: ()
iamRoleArn :: Value Text
protectedResourceArns :: Maybe (ValueList Text)
protectedResourceConditions :: Maybe ProtectedResourceConditionsProperty
protectedResourceType :: Value Text
restoreMetadataOverrides :: Maybe (Map Text (Value Text))
restoreTestingPlanName :: Value Text
restoreTestingSelectionName :: Value Text
..}