module Stratosphere.Deadline.Fleet (
module Exports, Fleet(..), mkFleet
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Deadline.Fleet.FleetConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.Deadline.Fleet.HostConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Fleet
=
Fleet {Fleet -> ()
haddock_workaround_ :: (),
Fleet -> FleetConfigurationProperty
configuration :: FleetConfigurationProperty,
Fleet -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
Fleet -> Value Text
displayName :: (Value Prelude.Text),
Fleet -> Value Text
farmId :: (Value Prelude.Text),
Fleet -> Maybe HostConfigurationProperty
hostConfiguration :: (Prelude.Maybe HostConfigurationProperty),
Fleet -> Value Integer
maxWorkerCount :: (Value Prelude.Integer),
Fleet -> Maybe (Value Integer)
minWorkerCount :: (Prelude.Maybe (Value Prelude.Integer)),
Fleet -> Value Text
roleArn :: (Value Prelude.Text),
Fleet -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
deriving stock (Fleet -> Fleet -> Bool
(Fleet -> Fleet -> Bool) -> (Fleet -> Fleet -> Bool) -> Eq Fleet
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Fleet -> Fleet -> Bool
== :: Fleet -> Fleet -> Bool
$c/= :: Fleet -> Fleet -> Bool
/= :: Fleet -> Fleet -> Bool
Prelude.Eq, Int -> Fleet -> ShowS
[Fleet] -> ShowS
Fleet -> String
(Int -> Fleet -> ShowS)
-> (Fleet -> String) -> ([Fleet] -> ShowS) -> Show Fleet
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Fleet -> ShowS
showsPrec :: Int -> Fleet -> ShowS
$cshow :: Fleet -> String
show :: Fleet -> String
$cshowList :: [Fleet] -> ShowS
showList :: [Fleet] -> ShowS
Prelude.Show)
mkFleet ::
FleetConfigurationProperty
-> Value Prelude.Text
-> Value Prelude.Text
-> Value Prelude.Integer -> Value Prelude.Text -> Fleet
mkFleet :: FleetConfigurationProperty
-> Value Text -> Value Text -> Value Integer -> Value Text -> Fleet
mkFleet FleetConfigurationProperty
configuration Value Text
displayName Value Text
farmId Value Integer
maxWorkerCount Value Text
roleArn
= Fleet
{haddock_workaround_ :: ()
haddock_workaround_ = (), configuration :: FleetConfigurationProperty
configuration = FleetConfigurationProperty
configuration,
displayName :: Value Text
displayName = Value Text
displayName, farmId :: Value Text
farmId = Value Text
farmId,
maxWorkerCount :: Value Integer
maxWorkerCount = Value Integer
maxWorkerCount, roleArn :: Value Text
roleArn = Value Text
roleArn,
description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, hostConfiguration :: Maybe HostConfigurationProperty
hostConfiguration = Maybe HostConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
minWorkerCount :: Maybe (Value Integer)
minWorkerCount = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Fleet where
toResourceProperties :: Fleet -> ResourceProperties
toResourceProperties Fleet {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe HostConfigurationProperty
()
Value Integer
Value Text
FleetConfigurationProperty
haddock_workaround_ :: Fleet -> ()
configuration :: Fleet -> FleetConfigurationProperty
description :: Fleet -> Maybe (Value Text)
displayName :: Fleet -> Value Text
farmId :: Fleet -> Value Text
hostConfiguration :: Fleet -> Maybe HostConfigurationProperty
maxWorkerCount :: Fleet -> Value Integer
minWorkerCount :: Fleet -> Maybe (Value Integer)
roleArn :: Fleet -> Value Text
tags :: Fleet -> Maybe [Tag]
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Deadline::Fleet", 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
"Configuration" Key -> FleetConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= FleetConfigurationProperty
configuration,
Key
"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..= Value Text
displayName, Key
"FarmId" 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
farmId,
Key
"MaxWorkerCount" 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..= Value Integer
maxWorkerCount, Key
"RoleArn" 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
roleArn]
([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
"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 -> HostConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"HostConfiguration" (HostConfigurationProperty -> (Key, Value))
-> Maybe HostConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe HostConfigurationProperty
hostConfiguration,
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
"MinWorkerCount" (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)
minWorkerCount,
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 Fleet where
toJSON :: Fleet -> Value
toJSON Fleet {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe HostConfigurationProperty
()
Value Integer
Value Text
FleetConfigurationProperty
haddock_workaround_ :: Fleet -> ()
configuration :: Fleet -> FleetConfigurationProperty
description :: Fleet -> Maybe (Value Text)
displayName :: Fleet -> Value Text
farmId :: Fleet -> Value Text
hostConfiguration :: Fleet -> Maybe HostConfigurationProperty
maxWorkerCount :: Fleet -> Value Integer
minWorkerCount :: Fleet -> Maybe (Value Integer)
roleArn :: Fleet -> Value Text
tags :: Fleet -> Maybe [Tag]
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: 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
"Configuration" Key -> FleetConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= FleetConfigurationProperty
configuration,
Key
"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..= Value Text
displayName, Key
"FarmId" 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
farmId,
Key
"MaxWorkerCount" 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..= Value Integer
maxWorkerCount, Key
"RoleArn" 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
roleArn]
([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
"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 -> HostConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"HostConfiguration" (HostConfigurationProperty -> (Key, Value))
-> Maybe HostConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe HostConfigurationProperty
hostConfiguration,
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
"MinWorkerCount" (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)
minWorkerCount,
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 "Configuration" Fleet where
type PropertyType "Configuration" Fleet = FleetConfigurationProperty
set :: PropertyType "Configuration" Fleet -> Fleet -> Fleet
set PropertyType "Configuration" Fleet
newValue Fleet {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe HostConfigurationProperty
()
Value Integer
Value Text
FleetConfigurationProperty
haddock_workaround_ :: Fleet -> ()
configuration :: Fleet -> FleetConfigurationProperty
description :: Fleet -> Maybe (Value Text)
displayName :: Fleet -> Value Text
farmId :: Fleet -> Value Text
hostConfiguration :: Fleet -> Maybe HostConfigurationProperty
maxWorkerCount :: Fleet -> Value Integer
minWorkerCount :: Fleet -> Maybe (Value Integer)
roleArn :: Fleet -> Value Text
tags :: Fleet -> Maybe [Tag]
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
..} = Fleet {configuration :: FleetConfigurationProperty
configuration = PropertyType "Configuration" Fleet
FleetConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe HostConfigurationProperty
()
Value Integer
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
instance Property "Description" Fleet where
type PropertyType "Description" Fleet = Value Prelude.Text
set :: PropertyType "Description" Fleet -> Fleet -> Fleet
set PropertyType "Description" Fleet
newValue Fleet {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe HostConfigurationProperty
()
Value Integer
Value Text
FleetConfigurationProperty
haddock_workaround_ :: Fleet -> ()
configuration :: Fleet -> FleetConfigurationProperty
description :: Fleet -> Maybe (Value Text)
displayName :: Fleet -> Value Text
farmId :: Fleet -> Value Text
hostConfiguration :: Fleet -> Maybe HostConfigurationProperty
maxWorkerCount :: Fleet -> Value Integer
minWorkerCount :: Fleet -> Maybe (Value Integer)
roleArn :: Fleet -> Value Text
tags :: Fleet -> Maybe [Tag]
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
= Fleet {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" Fleet
Value Text
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe HostConfigurationProperty
()
Value Integer
Value Text
FleetConfigurationProperty
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
instance Property "DisplayName" Fleet where
type PropertyType "DisplayName" Fleet = Value Prelude.Text
set :: PropertyType "DisplayName" Fleet -> Fleet -> Fleet
set PropertyType "DisplayName" Fleet
newValue Fleet {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe HostConfigurationProperty
()
Value Integer
Value Text
FleetConfigurationProperty
haddock_workaround_ :: Fleet -> ()
configuration :: Fleet -> FleetConfigurationProperty
description :: Fleet -> Maybe (Value Text)
displayName :: Fleet -> Value Text
farmId :: Fleet -> Value Text
hostConfiguration :: Fleet -> Maybe HostConfigurationProperty
maxWorkerCount :: Fleet -> Value Integer
minWorkerCount :: Fleet -> Maybe (Value Integer)
roleArn :: Fleet -> Value Text
tags :: Fleet -> Maybe [Tag]
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
..} = Fleet {displayName :: Value Text
displayName = PropertyType "DisplayName" Fleet
Value Text
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe HostConfigurationProperty
()
Value Integer
Value Text
FleetConfigurationProperty
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
instance Property "FarmId" Fleet where
type PropertyType "FarmId" Fleet = Value Prelude.Text
set :: PropertyType "FarmId" Fleet -> Fleet -> Fleet
set PropertyType "FarmId" Fleet
newValue Fleet {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe HostConfigurationProperty
()
Value Integer
Value Text
FleetConfigurationProperty
haddock_workaround_ :: Fleet -> ()
configuration :: Fleet -> FleetConfigurationProperty
description :: Fleet -> Maybe (Value Text)
displayName :: Fleet -> Value Text
farmId :: Fleet -> Value Text
hostConfiguration :: Fleet -> Maybe HostConfigurationProperty
maxWorkerCount :: Fleet -> Value Integer
minWorkerCount :: Fleet -> Maybe (Value Integer)
roleArn :: Fleet -> Value Text
tags :: Fleet -> Maybe [Tag]
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
..} = Fleet {farmId :: Value Text
farmId = PropertyType "FarmId" Fleet
Value Text
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe HostConfigurationProperty
()
Value Integer
Value Text
FleetConfigurationProperty
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
instance Property "HostConfiguration" Fleet where
type PropertyType "HostConfiguration" Fleet = HostConfigurationProperty
set :: PropertyType "HostConfiguration" Fleet -> Fleet -> Fleet
set PropertyType "HostConfiguration" Fleet
newValue Fleet {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe HostConfigurationProperty
()
Value Integer
Value Text
FleetConfigurationProperty
haddock_workaround_ :: Fleet -> ()
configuration :: Fleet -> FleetConfigurationProperty
description :: Fleet -> Maybe (Value Text)
displayName :: Fleet -> Value Text
farmId :: Fleet -> Value Text
hostConfiguration :: Fleet -> Maybe HostConfigurationProperty
maxWorkerCount :: Fleet -> Value Integer
minWorkerCount :: Fleet -> Maybe (Value Integer)
roleArn :: Fleet -> Value Text
tags :: Fleet -> Maybe [Tag]
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
= Fleet {hostConfiguration :: Maybe HostConfigurationProperty
hostConfiguration = HostConfigurationProperty -> Maybe HostConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "HostConfiguration" Fleet
HostConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
()
Value Integer
Value Text
FleetConfigurationProperty
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
instance Property "MaxWorkerCount" Fleet where
type PropertyType "MaxWorkerCount" Fleet = Value Prelude.Integer
set :: PropertyType "MaxWorkerCount" Fleet -> Fleet -> Fleet
set PropertyType "MaxWorkerCount" Fleet
newValue Fleet {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe HostConfigurationProperty
()
Value Integer
Value Text
FleetConfigurationProperty
haddock_workaround_ :: Fleet -> ()
configuration :: Fleet -> FleetConfigurationProperty
description :: Fleet -> Maybe (Value Text)
displayName :: Fleet -> Value Text
farmId :: Fleet -> Value Text
hostConfiguration :: Fleet -> Maybe HostConfigurationProperty
maxWorkerCount :: Fleet -> Value Integer
minWorkerCount :: Fleet -> Maybe (Value Integer)
roleArn :: Fleet -> Value Text
tags :: Fleet -> Maybe [Tag]
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
..} = Fleet {maxWorkerCount :: Value Integer
maxWorkerCount = PropertyType "MaxWorkerCount" Fleet
Value Integer
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe HostConfigurationProperty
()
Value Text
FleetConfigurationProperty
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
instance Property "MinWorkerCount" Fleet where
type PropertyType "MinWorkerCount" Fleet = Value Prelude.Integer
set :: PropertyType "MinWorkerCount" Fleet -> Fleet -> Fleet
set PropertyType "MinWorkerCount" Fleet
newValue Fleet {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe HostConfigurationProperty
()
Value Integer
Value Text
FleetConfigurationProperty
haddock_workaround_ :: Fleet -> ()
configuration :: Fleet -> FleetConfigurationProperty
description :: Fleet -> Maybe (Value Text)
displayName :: Fleet -> Value Text
farmId :: Fleet -> Value Text
hostConfiguration :: Fleet -> Maybe HostConfigurationProperty
maxWorkerCount :: Fleet -> Value Integer
minWorkerCount :: Fleet -> Maybe (Value Integer)
roleArn :: Fleet -> Value Text
tags :: Fleet -> Maybe [Tag]
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
..}
= Fleet {minWorkerCount :: Maybe (Value Integer)
minWorkerCount = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MinWorkerCount" Fleet
Value Integer
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe HostConfigurationProperty
()
Value Integer
Value Text
FleetConfigurationProperty
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
roleArn :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
roleArn :: Value Text
tags :: Maybe [Tag]
..}
instance Property "RoleArn" Fleet where
type PropertyType "RoleArn" Fleet = Value Prelude.Text
set :: PropertyType "RoleArn" Fleet -> Fleet -> Fleet
set PropertyType "RoleArn" Fleet
newValue Fleet {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe HostConfigurationProperty
()
Value Integer
Value Text
FleetConfigurationProperty
haddock_workaround_ :: Fleet -> ()
configuration :: Fleet -> FleetConfigurationProperty
description :: Fleet -> Maybe (Value Text)
displayName :: Fleet -> Value Text
farmId :: Fleet -> Value Text
hostConfiguration :: Fleet -> Maybe HostConfigurationProperty
maxWorkerCount :: Fleet -> Value Integer
minWorkerCount :: Fleet -> Maybe (Value Integer)
roleArn :: Fleet -> Value Text
tags :: Fleet -> Maybe [Tag]
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
..} = Fleet {roleArn :: Value Text
roleArn = PropertyType "RoleArn" Fleet
Value Text
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe HostConfigurationProperty
()
Value Integer
Value Text
FleetConfigurationProperty
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
tags :: Maybe [Tag]
..}
instance Property "Tags" Fleet where
type PropertyType "Tags" Fleet = [Tag]
set :: PropertyType "Tags" Fleet -> Fleet -> Fleet
set PropertyType "Tags" Fleet
newValue Fleet {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe HostConfigurationProperty
()
Value Integer
Value Text
FleetConfigurationProperty
haddock_workaround_ :: Fleet -> ()
configuration :: Fleet -> FleetConfigurationProperty
description :: Fleet -> Maybe (Value Text)
displayName :: Fleet -> Value Text
farmId :: Fleet -> Value Text
hostConfiguration :: Fleet -> Maybe HostConfigurationProperty
maxWorkerCount :: Fleet -> Value Integer
minWorkerCount :: Fleet -> Maybe (Value Integer)
roleArn :: Fleet -> Value Text
tags :: Fleet -> Maybe [Tag]
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
tags :: Maybe [Tag]
..} = Fleet {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" Fleet
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe HostConfigurationProperty
()
Value Integer
Value Text
FleetConfigurationProperty
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
haddock_workaround_ :: ()
configuration :: FleetConfigurationProperty
description :: Maybe (Value Text)
displayName :: Value Text
farmId :: Value Text
hostConfiguration :: Maybe HostConfigurationProperty
maxWorkerCount :: Value Integer
minWorkerCount :: Maybe (Value Integer)
roleArn :: Value Text
..}