module Stratosphere.IoT.Command (
        module Exports, Command(..), mkCommand
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.IoT.Command.CommandParameterProperty as Exports
import {-# SOURCE #-} Stratosphere.IoT.Command.CommandPayloadProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Command
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-command.html>
    Command {Command -> ()
haddock_workaround_ :: (),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-command.html#cfn-iot-command-commandid>
             Command -> Value Text
commandId :: (Value Prelude.Text),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-command.html#cfn-iot-command-createdat>
             Command -> Maybe (Value Text)
createdAt :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-command.html#cfn-iot-command-deprecated>
             Command -> Maybe (Value Bool)
deprecated :: (Prelude.Maybe (Value Prelude.Bool)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-command.html#cfn-iot-command-description>
             Command -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-command.html#cfn-iot-command-displayname>
             Command -> Maybe (Value Text)
displayName :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-command.html#cfn-iot-command-lastupdatedat>
             Command -> Maybe (Value Text)
lastUpdatedAt :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-command.html#cfn-iot-command-mandatoryparameters>
             Command -> Maybe [CommandParameterProperty]
mandatoryParameters :: (Prelude.Maybe [CommandParameterProperty]),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-command.html#cfn-iot-command-namespace>
             Command -> Maybe (Value Text)
namespace :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-command.html#cfn-iot-command-payload>
             Command -> Maybe CommandPayloadProperty
payload :: (Prelude.Maybe CommandPayloadProperty),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-command.html#cfn-iot-command-pendingdeletion>
             Command -> Maybe (Value Bool)
pendingDeletion :: (Prelude.Maybe (Value Prelude.Bool)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-command.html#cfn-iot-command-rolearn>
             Command -> Maybe (Value Text)
roleArn :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-command.html#cfn-iot-command-tags>
             Command -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
  deriving stock (Command -> Command -> Bool
(Command -> Command -> Bool)
-> (Command -> Command -> Bool) -> Eq Command
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Command -> Command -> Bool
== :: Command -> Command -> Bool
$c/= :: Command -> Command -> Bool
/= :: Command -> Command -> Bool
Prelude.Eq, Int -> Command -> ShowS
[Command] -> ShowS
Command -> String
(Int -> Command -> ShowS)
-> (Command -> String) -> ([Command] -> ShowS) -> Show Command
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Command -> ShowS
showsPrec :: Int -> Command -> ShowS
$cshow :: Command -> String
show :: Command -> String
$cshowList :: [Command] -> ShowS
showList :: [Command] -> ShowS
Prelude.Show)
mkCommand :: Value Prelude.Text -> Command
mkCommand :: Value Text -> Command
mkCommand Value Text
commandId
  = Command
      {haddock_workaround_ :: ()
haddock_workaround_ = (), commandId :: Value Text
commandId = Value Text
commandId,
       createdAt :: Maybe (Value Text)
createdAt = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, deprecated :: Maybe (Value Bool)
deprecated = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, displayName :: Maybe (Value Text)
displayName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       lastUpdatedAt :: Maybe (Value Text)
lastUpdatedAt = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       mandatoryParameters :: Maybe [CommandParameterProperty]
mandatoryParameters = Maybe [CommandParameterProperty]
forall a. Maybe a
Prelude.Nothing, namespace :: Maybe (Value Text)
namespace = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       payload :: Maybe CommandPayloadProperty
payload = Maybe CommandPayloadProperty
forall a. Maybe a
Prelude.Nothing, pendingDeletion :: Maybe (Value Bool)
pendingDeletion = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       roleArn :: Maybe (Value Text)
roleArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Command where
  toResourceProperties :: Command -> ResourceProperties
toResourceProperties Command {Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: Command -> ()
commandId :: Command -> Value Text
createdAt :: Command -> Maybe (Value Text)
deprecated :: Command -> Maybe (Value Bool)
description :: Command -> Maybe (Value Text)
displayName :: Command -> Maybe (Value Text)
lastUpdatedAt :: Command -> Maybe (Value Text)
mandatoryParameters :: Command -> Maybe [CommandParameterProperty]
namespace :: Command -> Maybe (Value Text)
payload :: Command -> Maybe CommandPayloadProperty
pendingDeletion :: Command -> Maybe (Value Bool)
roleArn :: Command -> Maybe (Value Text)
tags :: Command -> Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::IoT::Command", supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         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
"CommandId" 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
commandId]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [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
"CreatedAt" (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)
createdAt,
                               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Deprecated" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
deprecated,
                               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
"Description" (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)
description,
                               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
"DisplayName" (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)
displayName,
                               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
"LastUpdatedAt" (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)
lastUpdatedAt,
                               Key -> [CommandParameterProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MandatoryParameters" ([CommandParameterProperty] -> (Key, Value))
-> Maybe [CommandParameterProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [CommandParameterProperty]
mandatoryParameters,
                               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
"Namespace" (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)
namespace,
                               Key -> CommandPayloadProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Payload" (CommandPayloadProperty -> (Key, Value))
-> Maybe CommandPayloadProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CommandPayloadProperty
payload,
                               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PendingDeletion" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
pendingDeletion,
                               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
"RoleArn" (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)
roleArn,
                               Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags]))}
instance JSON.ToJSON Command where
  toJSON :: Command -> Value
toJSON Command {Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: Command -> ()
commandId :: Command -> Value Text
createdAt :: Command -> Maybe (Value Text)
deprecated :: Command -> Maybe (Value Bool)
description :: Command -> Maybe (Value Text)
displayName :: Command -> Maybe (Value Text)
lastUpdatedAt :: Command -> Maybe (Value Text)
mandatoryParameters :: Command -> Maybe [CommandParameterProperty]
namespace :: Command -> Maybe (Value Text)
payload :: Command -> Maybe CommandPayloadProperty
pendingDeletion :: Command -> Maybe (Value Bool)
roleArn :: Command -> Maybe (Value Text)
tags :: Command -> Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = [(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
"CommandId" 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
commandId]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [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
"CreatedAt" (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)
createdAt,
                  Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Deprecated" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
deprecated,
                  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
"Description" (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)
description,
                  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
"DisplayName" (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)
displayName,
                  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
"LastUpdatedAt" (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)
lastUpdatedAt,
                  Key -> [CommandParameterProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MandatoryParameters" ([CommandParameterProperty] -> (Key, Value))
-> Maybe [CommandParameterProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [CommandParameterProperty]
mandatoryParameters,
                  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
"Namespace" (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)
namespace,
                  Key -> CommandPayloadProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Payload" (CommandPayloadProperty -> (Key, Value))
-> Maybe CommandPayloadProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CommandPayloadProperty
payload,
                  Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PendingDeletion" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
pendingDeletion,
                  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
"RoleArn" (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)
roleArn,
                  Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags])))
instance Property "CommandId" Command where
  type PropertyType "CommandId" Command = Value Prelude.Text
  set :: PropertyType "CommandId" Command -> Command -> Command
set PropertyType "CommandId" Command
newValue Command {Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: Command -> ()
commandId :: Command -> Value Text
createdAt :: Command -> Maybe (Value Text)
deprecated :: Command -> Maybe (Value Bool)
description :: Command -> Maybe (Value Text)
displayName :: Command -> Maybe (Value Text)
lastUpdatedAt :: Command -> Maybe (Value Text)
mandatoryParameters :: Command -> Maybe [CommandParameterProperty]
namespace :: Command -> Maybe (Value Text)
payload :: Command -> Maybe CommandPayloadProperty
pendingDeletion :: Command -> Maybe (Value Bool)
roleArn :: Command -> Maybe (Value Text)
tags :: Command -> Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..} = Command {commandId :: Value Text
commandId = PropertyType "CommandId" Command
Value Text
newValue, Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "CreatedAt" Command where
  type PropertyType "CreatedAt" Command = Value Prelude.Text
  set :: PropertyType "CreatedAt" Command -> Command -> Command
set PropertyType "CreatedAt" Command
newValue Command {Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: Command -> ()
commandId :: Command -> Value Text
createdAt :: Command -> Maybe (Value Text)
deprecated :: Command -> Maybe (Value Bool)
description :: Command -> Maybe (Value Text)
displayName :: Command -> Maybe (Value Text)
lastUpdatedAt :: Command -> Maybe (Value Text)
mandatoryParameters :: Command -> Maybe [CommandParameterProperty]
namespace :: Command -> Maybe (Value Text)
payload :: Command -> Maybe CommandPayloadProperty
pendingDeletion :: Command -> Maybe (Value Bool)
roleArn :: Command -> Maybe (Value Text)
tags :: Command -> Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = Command {createdAt :: Maybe (Value Text)
createdAt = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CreatedAt" Command
Value Text
newValue, Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: ()
commandId :: Value Text
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Deprecated" Command where
  type PropertyType "Deprecated" Command = Value Prelude.Bool
  set :: PropertyType "Deprecated" Command -> Command -> Command
set PropertyType "Deprecated" Command
newValue Command {Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: Command -> ()
commandId :: Command -> Value Text
createdAt :: Command -> Maybe (Value Text)
deprecated :: Command -> Maybe (Value Bool)
description :: Command -> Maybe (Value Text)
displayName :: Command -> Maybe (Value Text)
lastUpdatedAt :: Command -> Maybe (Value Text)
mandatoryParameters :: Command -> Maybe [CommandParameterProperty]
namespace :: Command -> Maybe (Value Text)
payload :: Command -> Maybe CommandPayloadProperty
pendingDeletion :: Command -> Maybe (Value Bool)
roleArn :: Command -> Maybe (Value Text)
tags :: Command -> Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = Command {deprecated :: Maybe (Value Bool)
deprecated = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Deprecated" Command
Value Bool
newValue, Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Description" Command where
  type PropertyType "Description" Command = Value Prelude.Text
  set :: PropertyType "Description" Command -> Command -> Command
set PropertyType "Description" Command
newValue Command {Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: Command -> ()
commandId :: Command -> Value Text
createdAt :: Command -> Maybe (Value Text)
deprecated :: Command -> Maybe (Value Bool)
description :: Command -> Maybe (Value Text)
displayName :: Command -> Maybe (Value Text)
lastUpdatedAt :: Command -> Maybe (Value Text)
mandatoryParameters :: Command -> Maybe [CommandParameterProperty]
namespace :: Command -> Maybe (Value Text)
payload :: Command -> Maybe CommandPayloadProperty
pendingDeletion :: Command -> Maybe (Value Bool)
roleArn :: Command -> Maybe (Value Text)
tags :: Command -> Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = Command {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" Command
Value Text
newValue, Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "DisplayName" Command where
  type PropertyType "DisplayName" Command = Value Prelude.Text
  set :: PropertyType "DisplayName" Command -> Command -> Command
set PropertyType "DisplayName" Command
newValue Command {Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: Command -> ()
commandId :: Command -> Value Text
createdAt :: Command -> Maybe (Value Text)
deprecated :: Command -> Maybe (Value Bool)
description :: Command -> Maybe (Value Text)
displayName :: Command -> Maybe (Value Text)
lastUpdatedAt :: Command -> Maybe (Value Text)
mandatoryParameters :: Command -> Maybe [CommandParameterProperty]
namespace :: Command -> Maybe (Value Text)
payload :: Command -> Maybe CommandPayloadProperty
pendingDeletion :: Command -> Maybe (Value Bool)
roleArn :: Command -> Maybe (Value Text)
tags :: Command -> Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = Command {displayName :: Maybe (Value Text)
displayName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DisplayName" Command
Value Text
newValue, Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "LastUpdatedAt" Command where
  type PropertyType "LastUpdatedAt" Command = Value Prelude.Text
  set :: PropertyType "LastUpdatedAt" Command -> Command -> Command
set PropertyType "LastUpdatedAt" Command
newValue Command {Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: Command -> ()
commandId :: Command -> Value Text
createdAt :: Command -> Maybe (Value Text)
deprecated :: Command -> Maybe (Value Bool)
description :: Command -> Maybe (Value Text)
displayName :: Command -> Maybe (Value Text)
lastUpdatedAt :: Command -> Maybe (Value Text)
mandatoryParameters :: Command -> Maybe [CommandParameterProperty]
namespace :: Command -> Maybe (Value Text)
payload :: Command -> Maybe CommandPayloadProperty
pendingDeletion :: Command -> Maybe (Value Bool)
roleArn :: Command -> Maybe (Value Text)
tags :: Command -> Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = Command {lastUpdatedAt :: Maybe (Value Text)
lastUpdatedAt = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LastUpdatedAt" Command
Value Text
newValue, Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "MandatoryParameters" Command where
  type PropertyType "MandatoryParameters" Command = [CommandParameterProperty]
  set :: PropertyType "MandatoryParameters" Command -> Command -> Command
set PropertyType "MandatoryParameters" Command
newValue Command {Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: Command -> ()
commandId :: Command -> Value Text
createdAt :: Command -> Maybe (Value Text)
deprecated :: Command -> Maybe (Value Bool)
description :: Command -> Maybe (Value Text)
displayName :: Command -> Maybe (Value Text)
lastUpdatedAt :: Command -> Maybe (Value Text)
mandatoryParameters :: Command -> Maybe [CommandParameterProperty]
namespace :: Command -> Maybe (Value Text)
payload :: Command -> Maybe CommandPayloadProperty
pendingDeletion :: Command -> Maybe (Value Bool)
roleArn :: Command -> Maybe (Value Text)
tags :: Command -> Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = Command {mandatoryParameters :: Maybe [CommandParameterProperty]
mandatoryParameters = [CommandParameterProperty] -> Maybe [CommandParameterProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [CommandParameterProperty]
PropertyType "MandatoryParameters" Command
newValue, Maybe [Tag]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Namespace" Command where
  type PropertyType "Namespace" Command = Value Prelude.Text
  set :: PropertyType "Namespace" Command -> Command -> Command
set PropertyType "Namespace" Command
newValue Command {Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: Command -> ()
commandId :: Command -> Value Text
createdAt :: Command -> Maybe (Value Text)
deprecated :: Command -> Maybe (Value Bool)
description :: Command -> Maybe (Value Text)
displayName :: Command -> Maybe (Value Text)
lastUpdatedAt :: Command -> Maybe (Value Text)
mandatoryParameters :: Command -> Maybe [CommandParameterProperty]
namespace :: Command -> Maybe (Value Text)
payload :: Command -> Maybe CommandPayloadProperty
pendingDeletion :: Command -> Maybe (Value Bool)
roleArn :: Command -> Maybe (Value Text)
tags :: Command -> Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = Command {namespace :: Maybe (Value Text)
namespace = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Namespace" Command
Value Text
newValue, Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Payload" Command where
  type PropertyType "Payload" Command = CommandPayloadProperty
  set :: PropertyType "Payload" Command -> Command -> Command
set PropertyType "Payload" Command
newValue Command {Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: Command -> ()
commandId :: Command -> Value Text
createdAt :: Command -> Maybe (Value Text)
deprecated :: Command -> Maybe (Value Bool)
description :: Command -> Maybe (Value Text)
displayName :: Command -> Maybe (Value Text)
lastUpdatedAt :: Command -> Maybe (Value Text)
mandatoryParameters :: Command -> Maybe [CommandParameterProperty]
namespace :: Command -> Maybe (Value Text)
payload :: Command -> Maybe CommandPayloadProperty
pendingDeletion :: Command -> Maybe (Value Bool)
roleArn :: Command -> Maybe (Value Text)
tags :: Command -> Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = Command {payload :: Maybe CommandPayloadProperty
payload = CommandPayloadProperty -> Maybe CommandPayloadProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Payload" Command
CommandPayloadProperty
newValue, Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "PendingDeletion" Command where
  type PropertyType "PendingDeletion" Command = Value Prelude.Bool
  set :: PropertyType "PendingDeletion" Command -> Command -> Command
set PropertyType "PendingDeletion" Command
newValue Command {Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: Command -> ()
commandId :: Command -> Value Text
createdAt :: Command -> Maybe (Value Text)
deprecated :: Command -> Maybe (Value Bool)
description :: Command -> Maybe (Value Text)
displayName :: Command -> Maybe (Value Text)
lastUpdatedAt :: Command -> Maybe (Value Text)
mandatoryParameters :: Command -> Maybe [CommandParameterProperty]
namespace :: Command -> Maybe (Value Text)
payload :: Command -> Maybe CommandPayloadProperty
pendingDeletion :: Command -> Maybe (Value Bool)
roleArn :: Command -> Maybe (Value Text)
tags :: Command -> Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = Command {pendingDeletion :: Maybe (Value Bool)
pendingDeletion = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "PendingDeletion" Command
Value Bool
newValue, Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "RoleArn" Command where
  type PropertyType "RoleArn" Command = Value Prelude.Text
  set :: PropertyType "RoleArn" Command -> Command -> Command
set PropertyType "RoleArn" Command
newValue Command {Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: Command -> ()
commandId :: Command -> Value Text
createdAt :: Command -> Maybe (Value Text)
deprecated :: Command -> Maybe (Value Bool)
description :: Command -> Maybe (Value Text)
displayName :: Command -> Maybe (Value Text)
lastUpdatedAt :: Command -> Maybe (Value Text)
mandatoryParameters :: Command -> Maybe [CommandParameterProperty]
namespace :: Command -> Maybe (Value Text)
payload :: Command -> Maybe CommandPayloadProperty
pendingDeletion :: Command -> Maybe (Value Bool)
roleArn :: Command -> Maybe (Value Text)
tags :: Command -> Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = Command {roleArn :: Maybe (Value Text)
roleArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RoleArn" Command
Value Text
newValue, Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
tags :: Maybe [Tag]
..}
instance Property "Tags" Command where
  type PropertyType "Tags" Command = [Tag]
  set :: PropertyType "Tags" Command -> Command -> Command
set PropertyType "Tags" Command
newValue Command {Maybe [Tag]
Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: Command -> ()
commandId :: Command -> Value Text
createdAt :: Command -> Maybe (Value Text)
deprecated :: Command -> Maybe (Value Bool)
description :: Command -> Maybe (Value Text)
displayName :: Command -> Maybe (Value Text)
lastUpdatedAt :: Command -> Maybe (Value Text)
mandatoryParameters :: Command -> Maybe [CommandParameterProperty]
namespace :: Command -> Maybe (Value Text)
payload :: Command -> Maybe CommandPayloadProperty
pendingDeletion :: Command -> Maybe (Value Bool)
roleArn :: Command -> Maybe (Value Text)
tags :: Command -> Maybe [Tag]
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
    = Command {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" Command
newValue, Maybe [CommandParameterProperty]
Maybe (Value Bool)
Maybe (Value Text)
Maybe CommandPayloadProperty
()
Value Text
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
haddock_workaround_ :: ()
commandId :: Value Text
createdAt :: Maybe (Value Text)
deprecated :: Maybe (Value Bool)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
lastUpdatedAt :: Maybe (Value Text)
mandatoryParameters :: Maybe [CommandParameterProperty]
namespace :: Maybe (Value Text)
payload :: Maybe CommandPayloadProperty
pendingDeletion :: Maybe (Value Bool)
roleArn :: Maybe (Value Text)
..}