module Stratosphere.SSM.MaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty (
        module Exports, MaintenanceWindowRunCommandParametersProperty(..),
        mkMaintenanceWindowRunCommandParametersProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.SSM.MaintenanceWindowTask.CloudWatchOutputConfigProperty as Exports
import {-# SOURCE #-} Stratosphere.SSM.MaintenanceWindowTask.NotificationConfigProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data MaintenanceWindowRunCommandParametersProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html>
    MaintenanceWindowRunCommandParametersProperty {MaintenanceWindowRunCommandParametersProperty -> ()
haddock_workaround_ :: (),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-cloudwatchoutputconfig>
                                                   MaintenanceWindowRunCommandParametersProperty
-> Maybe CloudWatchOutputConfigProperty
cloudWatchOutputConfig :: (Prelude.Maybe CloudWatchOutputConfigProperty),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-comment>
                                                   MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
comment :: (Prelude.Maybe (Value Prelude.Text)),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-documenthash>
                                                   MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHash :: (Prelude.Maybe (Value Prelude.Text)),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-documenthashtype>
                                                   MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHashType :: (Prelude.Maybe (Value Prelude.Text)),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-documentversion>
                                                   MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentVersion :: (Prelude.Maybe (Value Prelude.Text)),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-notificationconfig>
                                                   MaintenanceWindowRunCommandParametersProperty
-> Maybe NotificationConfigProperty
notificationConfig :: (Prelude.Maybe NotificationConfigProperty),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-outputs3bucketname>
                                                   MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
outputS3BucketName :: (Prelude.Maybe (Value Prelude.Text)),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-outputs3keyprefix>
                                                   MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
outputS3KeyPrefix :: (Prelude.Maybe (Value Prelude.Text)),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-parameters>
                                                   MaintenanceWindowRunCommandParametersProperty -> Maybe Object
parameters :: (Prelude.Maybe JSON.Object),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-servicerolearn>
                                                   MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
serviceRoleArn :: (Prelude.Maybe (Value Prelude.Text)),
                                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-timeoutseconds>
                                                   MaintenanceWindowRunCommandParametersProperty
-> Maybe (Value Integer)
timeoutSeconds :: (Prelude.Maybe (Value Prelude.Integer))}
  deriving stock (MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty -> Bool
(MaintenanceWindowRunCommandParametersProperty
 -> MaintenanceWindowRunCommandParametersProperty -> Bool)
-> (MaintenanceWindowRunCommandParametersProperty
    -> MaintenanceWindowRunCommandParametersProperty -> Bool)
-> Eq MaintenanceWindowRunCommandParametersProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty -> Bool
== :: MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty -> Bool
$c/= :: MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty -> Bool
/= :: MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty -> Bool
Prelude.Eq, Int -> MaintenanceWindowRunCommandParametersProperty -> ShowS
[MaintenanceWindowRunCommandParametersProperty] -> ShowS
MaintenanceWindowRunCommandParametersProperty -> String
(Int -> MaintenanceWindowRunCommandParametersProperty -> ShowS)
-> (MaintenanceWindowRunCommandParametersProperty -> String)
-> ([MaintenanceWindowRunCommandParametersProperty] -> ShowS)
-> Show MaintenanceWindowRunCommandParametersProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> MaintenanceWindowRunCommandParametersProperty -> ShowS
showsPrec :: Int -> MaintenanceWindowRunCommandParametersProperty -> ShowS
$cshow :: MaintenanceWindowRunCommandParametersProperty -> String
show :: MaintenanceWindowRunCommandParametersProperty -> String
$cshowList :: [MaintenanceWindowRunCommandParametersProperty] -> ShowS
showList :: [MaintenanceWindowRunCommandParametersProperty] -> ShowS
Prelude.Show)
mkMaintenanceWindowRunCommandParametersProperty ::
  MaintenanceWindowRunCommandParametersProperty
mkMaintenanceWindowRunCommandParametersProperty :: MaintenanceWindowRunCommandParametersProperty
mkMaintenanceWindowRunCommandParametersProperty
  = MaintenanceWindowRunCommandParametersProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
cloudWatchOutputConfig = Maybe CloudWatchOutputConfigProperty
forall a. Maybe a
Prelude.Nothing,
       comment :: Maybe (Value Text)
comment = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, documentHash :: Maybe (Value Text)
documentHash = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       documentHashType :: Maybe (Value Text)
documentHashType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       documentVersion :: Maybe (Value Text)
documentVersion = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       notificationConfig :: Maybe NotificationConfigProperty
notificationConfig = Maybe NotificationConfigProperty
forall a. Maybe a
Prelude.Nothing,
       outputS3BucketName :: Maybe (Value Text)
outputS3BucketName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       outputS3KeyPrefix :: Maybe (Value Text)
outputS3KeyPrefix = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, parameters :: Maybe Object
parameters = Maybe Object
forall a. Maybe a
Prelude.Nothing,
       serviceRoleArn :: Maybe (Value Text)
serviceRoleArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, timeoutSeconds :: Maybe (Value Integer)
timeoutSeconds = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties MaintenanceWindowRunCommandParametersProperty where
  toResourceProperties :: MaintenanceWindowRunCommandParametersProperty -> ResourceProperties
toResourceProperties
    MaintenanceWindowRunCommandParametersProperty {Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: MaintenanceWindowRunCommandParametersProperty -> ()
cloudWatchOutputConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe CloudWatchOutputConfigProperty
comment :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHash :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHashType :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentVersion :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
notificationConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe NotificationConfigProperty
outputS3BucketName :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
outputS3KeyPrefix :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
parameters :: MaintenanceWindowRunCommandParametersProperty -> Maybe Object
serviceRoleArn :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
timeoutSeconds :: MaintenanceWindowRunCommandParametersProperty
-> Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::SSM::MaintenanceWindowTask.MaintenanceWindowRunCommandParameters",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [Key -> CloudWatchOutputConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CloudWatchOutputConfig"
                              (CloudWatchOutputConfigProperty -> (Key, Value))
-> Maybe CloudWatchOutputConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CloudWatchOutputConfigProperty
cloudWatchOutputConfig,
                            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
"Comment" (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)
comment,
                            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
"DocumentHash" (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)
documentHash,
                            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
"DocumentHashType" (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)
documentHashType,
                            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
"DocumentVersion" (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)
documentVersion,
                            Key -> NotificationConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NotificationConfig" (NotificationConfigProperty -> (Key, Value))
-> Maybe NotificationConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NotificationConfigProperty
notificationConfig,
                            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
"OutputS3BucketName" (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)
outputS3BucketName,
                            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
"OutputS3KeyPrefix" (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)
outputS3KeyPrefix,
                            Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Parameters" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
parameters,
                            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
"ServiceRoleArn" (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)
serviceRoleArn,
                            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
"TimeoutSeconds" (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)
timeoutSeconds])}
instance JSON.ToJSON MaintenanceWindowRunCommandParametersProperty where
  toJSON :: MaintenanceWindowRunCommandParametersProperty -> Value
toJSON MaintenanceWindowRunCommandParametersProperty {Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: MaintenanceWindowRunCommandParametersProperty -> ()
cloudWatchOutputConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe CloudWatchOutputConfigProperty
comment :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHash :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHashType :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentVersion :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
notificationConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe NotificationConfigProperty
outputS3BucketName :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
outputS3KeyPrefix :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
parameters :: MaintenanceWindowRunCommandParametersProperty -> Maybe Object
serviceRoleArn :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
timeoutSeconds :: MaintenanceWindowRunCommandParametersProperty
-> Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [Key -> CloudWatchOutputConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CloudWatchOutputConfig"
                 (CloudWatchOutputConfigProperty -> (Key, Value))
-> Maybe CloudWatchOutputConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CloudWatchOutputConfigProperty
cloudWatchOutputConfig,
               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
"Comment" (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)
comment,
               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
"DocumentHash" (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)
documentHash,
               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
"DocumentHashType" (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)
documentHashType,
               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
"DocumentVersion" (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)
documentVersion,
               Key -> NotificationConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NotificationConfig" (NotificationConfigProperty -> (Key, Value))
-> Maybe NotificationConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NotificationConfigProperty
notificationConfig,
               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
"OutputS3BucketName" (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)
outputS3BucketName,
               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
"OutputS3KeyPrefix" (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)
outputS3KeyPrefix,
               Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Parameters" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
parameters,
               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
"ServiceRoleArn" (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)
serviceRoleArn,
               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
"TimeoutSeconds" (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)
timeoutSeconds]))
instance Property "CloudWatchOutputConfig" MaintenanceWindowRunCommandParametersProperty where
  type PropertyType "CloudWatchOutputConfig" MaintenanceWindowRunCommandParametersProperty = CloudWatchOutputConfigProperty
  set :: PropertyType
  "CloudWatchOutputConfig"
  MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
set PropertyType
  "CloudWatchOutputConfig"
  MaintenanceWindowRunCommandParametersProperty
newValue MaintenanceWindowRunCommandParametersProperty {Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: MaintenanceWindowRunCommandParametersProperty -> ()
cloudWatchOutputConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe CloudWatchOutputConfigProperty
comment :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHash :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHashType :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentVersion :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
notificationConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe NotificationConfigProperty
outputS3BucketName :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
outputS3KeyPrefix :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
parameters :: MaintenanceWindowRunCommandParametersProperty -> Maybe Object
serviceRoleArn :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
timeoutSeconds :: MaintenanceWindowRunCommandParametersProperty
-> Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
    = MaintenanceWindowRunCommandParametersProperty
        {cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
cloudWatchOutputConfig = CloudWatchOutputConfigProperty
-> Maybe CloudWatchOutputConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "CloudWatchOutputConfig"
  MaintenanceWindowRunCommandParametersProperty
CloudWatchOutputConfigProperty
newValue, Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe NotificationConfigProperty
()
haddock_workaround_ :: ()
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
haddock_workaround_ :: ()
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
instance Property "Comment" MaintenanceWindowRunCommandParametersProperty where
  type PropertyType "Comment" MaintenanceWindowRunCommandParametersProperty = Value Prelude.Text
  set :: PropertyType
  "Comment" MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
set PropertyType
  "Comment" MaintenanceWindowRunCommandParametersProperty
newValue MaintenanceWindowRunCommandParametersProperty {Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: MaintenanceWindowRunCommandParametersProperty -> ()
cloudWatchOutputConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe CloudWatchOutputConfigProperty
comment :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHash :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHashType :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentVersion :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
notificationConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe NotificationConfigProperty
outputS3BucketName :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
outputS3KeyPrefix :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
parameters :: MaintenanceWindowRunCommandParametersProperty -> Maybe Object
serviceRoleArn :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
timeoutSeconds :: MaintenanceWindowRunCommandParametersProperty
-> Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
    = MaintenanceWindowRunCommandParametersProperty
        {comment :: Maybe (Value Text)
comment = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "Comment" MaintenanceWindowRunCommandParametersProperty
Value Text
newValue, Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
instance Property "DocumentHash" MaintenanceWindowRunCommandParametersProperty where
  type PropertyType "DocumentHash" MaintenanceWindowRunCommandParametersProperty = Value Prelude.Text
  set :: PropertyType
  "DocumentHash" MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
set PropertyType
  "DocumentHash" MaintenanceWindowRunCommandParametersProperty
newValue MaintenanceWindowRunCommandParametersProperty {Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: MaintenanceWindowRunCommandParametersProperty -> ()
cloudWatchOutputConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe CloudWatchOutputConfigProperty
comment :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHash :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHashType :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentVersion :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
notificationConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe NotificationConfigProperty
outputS3BucketName :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
outputS3KeyPrefix :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
parameters :: MaintenanceWindowRunCommandParametersProperty -> Maybe Object
serviceRoleArn :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
timeoutSeconds :: MaintenanceWindowRunCommandParametersProperty
-> Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
    = MaintenanceWindowRunCommandParametersProperty
        {documentHash :: Maybe (Value Text)
documentHash = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "DocumentHash" MaintenanceWindowRunCommandParametersProperty
Value Text
newValue, Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
instance Property "DocumentHashType" MaintenanceWindowRunCommandParametersProperty where
  type PropertyType "DocumentHashType" MaintenanceWindowRunCommandParametersProperty = Value Prelude.Text
  set :: PropertyType
  "DocumentHashType" MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
set PropertyType
  "DocumentHashType" MaintenanceWindowRunCommandParametersProperty
newValue MaintenanceWindowRunCommandParametersProperty {Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: MaintenanceWindowRunCommandParametersProperty -> ()
cloudWatchOutputConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe CloudWatchOutputConfigProperty
comment :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHash :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHashType :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentVersion :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
notificationConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe NotificationConfigProperty
outputS3BucketName :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
outputS3KeyPrefix :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
parameters :: MaintenanceWindowRunCommandParametersProperty -> Maybe Object
serviceRoleArn :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
timeoutSeconds :: MaintenanceWindowRunCommandParametersProperty
-> Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
    = MaintenanceWindowRunCommandParametersProperty
        {documentHashType :: Maybe (Value Text)
documentHashType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "DocumentHashType" MaintenanceWindowRunCommandParametersProperty
Value Text
newValue, Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
instance Property "DocumentVersion" MaintenanceWindowRunCommandParametersProperty where
  type PropertyType "DocumentVersion" MaintenanceWindowRunCommandParametersProperty = Value Prelude.Text
  set :: PropertyType
  "DocumentVersion" MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
set PropertyType
  "DocumentVersion" MaintenanceWindowRunCommandParametersProperty
newValue MaintenanceWindowRunCommandParametersProperty {Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: MaintenanceWindowRunCommandParametersProperty -> ()
cloudWatchOutputConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe CloudWatchOutputConfigProperty
comment :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHash :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHashType :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentVersion :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
notificationConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe NotificationConfigProperty
outputS3BucketName :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
outputS3KeyPrefix :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
parameters :: MaintenanceWindowRunCommandParametersProperty -> Maybe Object
serviceRoleArn :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
timeoutSeconds :: MaintenanceWindowRunCommandParametersProperty
-> Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
    = MaintenanceWindowRunCommandParametersProperty
        {documentVersion :: Maybe (Value Text)
documentVersion = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "DocumentVersion" MaintenanceWindowRunCommandParametersProperty
Value Text
newValue, Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
instance Property "NotificationConfig" MaintenanceWindowRunCommandParametersProperty where
  type PropertyType "NotificationConfig" MaintenanceWindowRunCommandParametersProperty = NotificationConfigProperty
  set :: PropertyType
  "NotificationConfig" MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
set PropertyType
  "NotificationConfig" MaintenanceWindowRunCommandParametersProperty
newValue MaintenanceWindowRunCommandParametersProperty {Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: MaintenanceWindowRunCommandParametersProperty -> ()
cloudWatchOutputConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe CloudWatchOutputConfigProperty
comment :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHash :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHashType :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentVersion :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
notificationConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe NotificationConfigProperty
outputS3BucketName :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
outputS3KeyPrefix :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
parameters :: MaintenanceWindowRunCommandParametersProperty -> Maybe Object
serviceRoleArn :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
timeoutSeconds :: MaintenanceWindowRunCommandParametersProperty
-> Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
    = MaintenanceWindowRunCommandParametersProperty
        {notificationConfig :: Maybe NotificationConfigProperty
notificationConfig = NotificationConfigProperty -> Maybe NotificationConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "NotificationConfig" MaintenanceWindowRunCommandParametersProperty
NotificationConfigProperty
newValue, Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
()
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
instance Property "OutputS3BucketName" MaintenanceWindowRunCommandParametersProperty where
  type PropertyType "OutputS3BucketName" MaintenanceWindowRunCommandParametersProperty = Value Prelude.Text
  set :: PropertyType
  "OutputS3BucketName" MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
set PropertyType
  "OutputS3BucketName" MaintenanceWindowRunCommandParametersProperty
newValue MaintenanceWindowRunCommandParametersProperty {Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: MaintenanceWindowRunCommandParametersProperty -> ()
cloudWatchOutputConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe CloudWatchOutputConfigProperty
comment :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHash :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHashType :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentVersion :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
notificationConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe NotificationConfigProperty
outputS3BucketName :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
outputS3KeyPrefix :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
parameters :: MaintenanceWindowRunCommandParametersProperty -> Maybe Object
serviceRoleArn :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
timeoutSeconds :: MaintenanceWindowRunCommandParametersProperty
-> Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
    = MaintenanceWindowRunCommandParametersProperty
        {outputS3BucketName :: Maybe (Value Text)
outputS3BucketName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "OutputS3BucketName" MaintenanceWindowRunCommandParametersProperty
Value Text
newValue, Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
instance Property "OutputS3KeyPrefix" MaintenanceWindowRunCommandParametersProperty where
  type PropertyType "OutputS3KeyPrefix" MaintenanceWindowRunCommandParametersProperty = Value Prelude.Text
  set :: PropertyType
  "OutputS3KeyPrefix" MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
set PropertyType
  "OutputS3KeyPrefix" MaintenanceWindowRunCommandParametersProperty
newValue MaintenanceWindowRunCommandParametersProperty {Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: MaintenanceWindowRunCommandParametersProperty -> ()
cloudWatchOutputConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe CloudWatchOutputConfigProperty
comment :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHash :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHashType :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentVersion :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
notificationConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe NotificationConfigProperty
outputS3BucketName :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
outputS3KeyPrefix :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
parameters :: MaintenanceWindowRunCommandParametersProperty -> Maybe Object
serviceRoleArn :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
timeoutSeconds :: MaintenanceWindowRunCommandParametersProperty
-> Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
    = MaintenanceWindowRunCommandParametersProperty
        {outputS3KeyPrefix :: Maybe (Value Text)
outputS3KeyPrefix = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "OutputS3KeyPrefix" MaintenanceWindowRunCommandParametersProperty
Value Text
newValue, Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
instance Property "Parameters" MaintenanceWindowRunCommandParametersProperty where
  type PropertyType "Parameters" MaintenanceWindowRunCommandParametersProperty = JSON.Object
  set :: PropertyType
  "Parameters" MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
set PropertyType
  "Parameters" MaintenanceWindowRunCommandParametersProperty
newValue MaintenanceWindowRunCommandParametersProperty {Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: MaintenanceWindowRunCommandParametersProperty -> ()
cloudWatchOutputConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe CloudWatchOutputConfigProperty
comment :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHash :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHashType :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentVersion :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
notificationConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe NotificationConfigProperty
outputS3BucketName :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
outputS3KeyPrefix :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
parameters :: MaintenanceWindowRunCommandParametersProperty -> Maybe Object
serviceRoleArn :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
timeoutSeconds :: MaintenanceWindowRunCommandParametersProperty
-> Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
    = MaintenanceWindowRunCommandParametersProperty
        {parameters :: Maybe Object
parameters = Object -> Maybe Object
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Object
PropertyType
  "Parameters" MaintenanceWindowRunCommandParametersProperty
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
instance Property "ServiceRoleArn" MaintenanceWindowRunCommandParametersProperty where
  type PropertyType "ServiceRoleArn" MaintenanceWindowRunCommandParametersProperty = Value Prelude.Text
  set :: PropertyType
  "ServiceRoleArn" MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
set PropertyType
  "ServiceRoleArn" MaintenanceWindowRunCommandParametersProperty
newValue MaintenanceWindowRunCommandParametersProperty {Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: MaintenanceWindowRunCommandParametersProperty -> ()
cloudWatchOutputConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe CloudWatchOutputConfigProperty
comment :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHash :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHashType :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentVersion :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
notificationConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe NotificationConfigProperty
outputS3BucketName :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
outputS3KeyPrefix :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
parameters :: MaintenanceWindowRunCommandParametersProperty -> Maybe Object
serviceRoleArn :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
timeoutSeconds :: MaintenanceWindowRunCommandParametersProperty
-> Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
    = MaintenanceWindowRunCommandParametersProperty
        {serviceRoleArn :: Maybe (Value Text)
serviceRoleArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "ServiceRoleArn" MaintenanceWindowRunCommandParametersProperty
Value Text
newValue, Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
timeoutSeconds :: Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
timeoutSeconds :: Maybe (Value Integer)
..}
instance Property "TimeoutSeconds" MaintenanceWindowRunCommandParametersProperty where
  type PropertyType "TimeoutSeconds" MaintenanceWindowRunCommandParametersProperty = Value Prelude.Integer
  set :: PropertyType
  "TimeoutSeconds" MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
-> MaintenanceWindowRunCommandParametersProperty
set PropertyType
  "TimeoutSeconds" MaintenanceWindowRunCommandParametersProperty
newValue MaintenanceWindowRunCommandParametersProperty {Maybe Object
Maybe (Value Integer)
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: MaintenanceWindowRunCommandParametersProperty -> ()
cloudWatchOutputConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe CloudWatchOutputConfigProperty
comment :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHash :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentHashType :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
documentVersion :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
notificationConfig :: MaintenanceWindowRunCommandParametersProperty
-> Maybe NotificationConfigProperty
outputS3BucketName :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
outputS3KeyPrefix :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
parameters :: MaintenanceWindowRunCommandParametersProperty -> Maybe Object
serviceRoleArn :: MaintenanceWindowRunCommandParametersProperty -> Maybe (Value Text)
timeoutSeconds :: MaintenanceWindowRunCommandParametersProperty
-> Maybe (Value Integer)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
timeoutSeconds :: Maybe (Value Integer)
..}
    = MaintenanceWindowRunCommandParametersProperty
        {timeoutSeconds :: Maybe (Value Integer)
timeoutSeconds = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "TimeoutSeconds" MaintenanceWindowRunCommandParametersProperty
Value Integer
newValue, Maybe Object
Maybe (Value Text)
Maybe CloudWatchOutputConfigProperty
Maybe NotificationConfigProperty
()
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
haddock_workaround_ :: ()
cloudWatchOutputConfig :: Maybe CloudWatchOutputConfigProperty
comment :: Maybe (Value Text)
documentHash :: Maybe (Value Text)
documentHashType :: Maybe (Value Text)
documentVersion :: Maybe (Value Text)
notificationConfig :: Maybe NotificationConfigProperty
outputS3BucketName :: Maybe (Value Text)
outputS3KeyPrefix :: Maybe (Value Text)
parameters :: Maybe Object
serviceRoleArn :: Maybe (Value Text)
..}