{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.CodeDeploy.Types.DeploymentGroupInfo where
import Amazonka.CodeDeploy.Types.AlarmConfiguration
import Amazonka.CodeDeploy.Types.AutoRollbackConfiguration
import Amazonka.CodeDeploy.Types.AutoScalingGroup
import Amazonka.CodeDeploy.Types.BlueGreenDeploymentConfiguration
import Amazonka.CodeDeploy.Types.ComputePlatform
import Amazonka.CodeDeploy.Types.DeploymentStyle
import Amazonka.CodeDeploy.Types.EC2TagFilter
import Amazonka.CodeDeploy.Types.EC2TagSet
import Amazonka.CodeDeploy.Types.ECSService
import Amazonka.CodeDeploy.Types.LastDeploymentInfo
import Amazonka.CodeDeploy.Types.LoadBalancerInfo
import Amazonka.CodeDeploy.Types.OnPremisesTagSet
import Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy
import Amazonka.CodeDeploy.Types.RevisionLocation
import Amazonka.CodeDeploy.Types.TagFilter
import Amazonka.CodeDeploy.Types.TriggerConfig
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data DeploymentGroupInfo = DeploymentGroupInfo'
{
DeploymentGroupInfo -> Maybe Text
serviceRoleArn :: Prelude.Maybe Prelude.Text,
DeploymentGroupInfo -> Maybe EC2TagSet
ec2TagSet :: Prelude.Maybe EC2TagSet,
DeploymentGroupInfo -> Maybe Text
deploymentConfigName :: Prelude.Maybe Prelude.Text,
DeploymentGroupInfo -> Maybe LastDeploymentInfo
lastAttemptedDeployment :: Prelude.Maybe LastDeploymentInfo,
DeploymentGroupInfo -> Maybe OnPremisesTagSet
onPremisesTagSet :: Prelude.Maybe OnPremisesTagSet,
DeploymentGroupInfo -> Maybe ComputePlatform
computePlatform :: Prelude.Maybe ComputePlatform,
DeploymentGroupInfo -> Maybe RevisionLocation
targetRevision :: Prelude.Maybe RevisionLocation,
DeploymentGroupInfo -> Maybe [EC2TagFilter]
ec2TagFilters :: Prelude.Maybe [EC2TagFilter],
DeploymentGroupInfo -> Maybe [ECSService]
ecsServices :: Prelude.Maybe [ECSService],
DeploymentGroupInfo -> Maybe BlueGreenDeploymentConfiguration
blueGreenDeploymentConfiguration :: Prelude.Maybe BlueGreenDeploymentConfiguration,
DeploymentGroupInfo -> Maybe LoadBalancerInfo
loadBalancerInfo :: Prelude.Maybe LoadBalancerInfo,
DeploymentGroupInfo -> Maybe OutdatedInstancesStrategy
outdatedInstancesStrategy :: Prelude.Maybe OutdatedInstancesStrategy,
DeploymentGroupInfo -> Maybe [TagFilter]
onPremisesInstanceTagFilters :: Prelude.Maybe [TagFilter],
DeploymentGroupInfo -> Maybe LastDeploymentInfo
lastSuccessfulDeployment :: Prelude.Maybe LastDeploymentInfo,
DeploymentGroupInfo -> Maybe Text
applicationName :: Prelude.Maybe Prelude.Text,
DeploymentGroupInfo -> Maybe AlarmConfiguration
alarmConfiguration :: Prelude.Maybe AlarmConfiguration,
DeploymentGroupInfo -> Maybe [TriggerConfig]
triggerConfigurations :: Prelude.Maybe [TriggerConfig],
DeploymentGroupInfo -> Maybe Text
deploymentGroupId :: Prelude.Maybe Prelude.Text,
DeploymentGroupInfo -> Maybe [AutoScalingGroup]
autoScalingGroups :: Prelude.Maybe [AutoScalingGroup],
DeploymentGroupInfo -> Maybe DeploymentStyle
deploymentStyle :: Prelude.Maybe DeploymentStyle,
DeploymentGroupInfo -> Maybe AutoRollbackConfiguration
autoRollbackConfiguration :: Prelude.Maybe AutoRollbackConfiguration,
DeploymentGroupInfo -> Maybe Text
deploymentGroupName :: Prelude.Maybe Prelude.Text
}
deriving (DeploymentGroupInfo -> DeploymentGroupInfo -> Bool
(DeploymentGroupInfo -> DeploymentGroupInfo -> Bool)
-> (DeploymentGroupInfo -> DeploymentGroupInfo -> Bool)
-> Eq DeploymentGroupInfo
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeploymentGroupInfo -> DeploymentGroupInfo -> Bool
$c/= :: DeploymentGroupInfo -> DeploymentGroupInfo -> Bool
== :: DeploymentGroupInfo -> DeploymentGroupInfo -> Bool
$c== :: DeploymentGroupInfo -> DeploymentGroupInfo -> Bool
Prelude.Eq, ReadPrec [DeploymentGroupInfo]
ReadPrec DeploymentGroupInfo
Int -> ReadS DeploymentGroupInfo
ReadS [DeploymentGroupInfo]
(Int -> ReadS DeploymentGroupInfo)
-> ReadS [DeploymentGroupInfo]
-> ReadPrec DeploymentGroupInfo
-> ReadPrec [DeploymentGroupInfo]
-> Read DeploymentGroupInfo
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeploymentGroupInfo]
$creadListPrec :: ReadPrec [DeploymentGroupInfo]
readPrec :: ReadPrec DeploymentGroupInfo
$creadPrec :: ReadPrec DeploymentGroupInfo
readList :: ReadS [DeploymentGroupInfo]
$creadList :: ReadS [DeploymentGroupInfo]
readsPrec :: Int -> ReadS DeploymentGroupInfo
$creadsPrec :: Int -> ReadS DeploymentGroupInfo
Prelude.Read, Int -> DeploymentGroupInfo -> ShowS
[DeploymentGroupInfo] -> ShowS
DeploymentGroupInfo -> String
(Int -> DeploymentGroupInfo -> ShowS)
-> (DeploymentGroupInfo -> String)
-> ([DeploymentGroupInfo] -> ShowS)
-> Show DeploymentGroupInfo
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeploymentGroupInfo] -> ShowS
$cshowList :: [DeploymentGroupInfo] -> ShowS
show :: DeploymentGroupInfo -> String
$cshow :: DeploymentGroupInfo -> String
showsPrec :: Int -> DeploymentGroupInfo -> ShowS
$cshowsPrec :: Int -> DeploymentGroupInfo -> ShowS
Prelude.Show, (forall x. DeploymentGroupInfo -> Rep DeploymentGroupInfo x)
-> (forall x. Rep DeploymentGroupInfo x -> DeploymentGroupInfo)
-> Generic DeploymentGroupInfo
forall x. Rep DeploymentGroupInfo x -> DeploymentGroupInfo
forall x. DeploymentGroupInfo -> Rep DeploymentGroupInfo x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DeploymentGroupInfo x -> DeploymentGroupInfo
$cfrom :: forall x. DeploymentGroupInfo -> Rep DeploymentGroupInfo x
Prelude.Generic)
newDeploymentGroupInfo ::
DeploymentGroupInfo
newDeploymentGroupInfo :: DeploymentGroupInfo
newDeploymentGroupInfo =
DeploymentGroupInfo' :: Maybe Text
-> Maybe EC2TagSet
-> Maybe Text
-> Maybe LastDeploymentInfo
-> Maybe OnPremisesTagSet
-> Maybe ComputePlatform
-> Maybe RevisionLocation
-> Maybe [EC2TagFilter]
-> Maybe [ECSService]
-> Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo
DeploymentGroupInfo'
{ $sel:serviceRoleArn:DeploymentGroupInfo' :: Maybe Text
serviceRoleArn =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:ec2TagSet:DeploymentGroupInfo' :: Maybe EC2TagSet
ec2TagSet = Maybe EC2TagSet
forall a. Maybe a
Prelude.Nothing,
$sel:deploymentConfigName:DeploymentGroupInfo' :: Maybe Text
deploymentConfigName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:lastAttemptedDeployment:DeploymentGroupInfo' :: Maybe LastDeploymentInfo
lastAttemptedDeployment = Maybe LastDeploymentInfo
forall a. Maybe a
Prelude.Nothing,
$sel:onPremisesTagSet:DeploymentGroupInfo' :: Maybe OnPremisesTagSet
onPremisesTagSet = Maybe OnPremisesTagSet
forall a. Maybe a
Prelude.Nothing,
$sel:computePlatform:DeploymentGroupInfo' :: Maybe ComputePlatform
computePlatform = Maybe ComputePlatform
forall a. Maybe a
Prelude.Nothing,
$sel:targetRevision:DeploymentGroupInfo' :: Maybe RevisionLocation
targetRevision = Maybe RevisionLocation
forall a. Maybe a
Prelude.Nothing,
$sel:ec2TagFilters:DeploymentGroupInfo' :: Maybe [EC2TagFilter]
ec2TagFilters = Maybe [EC2TagFilter]
forall a. Maybe a
Prelude.Nothing,
$sel:ecsServices:DeploymentGroupInfo' :: Maybe [ECSService]
ecsServices = Maybe [ECSService]
forall a. Maybe a
Prelude.Nothing,
$sel:blueGreenDeploymentConfiguration:DeploymentGroupInfo' :: Maybe BlueGreenDeploymentConfiguration
blueGreenDeploymentConfiguration = Maybe BlueGreenDeploymentConfiguration
forall a. Maybe a
Prelude.Nothing,
$sel:loadBalancerInfo:DeploymentGroupInfo' :: Maybe LoadBalancerInfo
loadBalancerInfo = Maybe LoadBalancerInfo
forall a. Maybe a
Prelude.Nothing,
$sel:outdatedInstancesStrategy:DeploymentGroupInfo' :: Maybe OutdatedInstancesStrategy
outdatedInstancesStrategy = Maybe OutdatedInstancesStrategy
forall a. Maybe a
Prelude.Nothing,
$sel:onPremisesInstanceTagFilters:DeploymentGroupInfo' :: Maybe [TagFilter]
onPremisesInstanceTagFilters = Maybe [TagFilter]
forall a. Maybe a
Prelude.Nothing,
$sel:lastSuccessfulDeployment:DeploymentGroupInfo' :: Maybe LastDeploymentInfo
lastSuccessfulDeployment = Maybe LastDeploymentInfo
forall a. Maybe a
Prelude.Nothing,
$sel:applicationName:DeploymentGroupInfo' :: Maybe Text
applicationName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:alarmConfiguration:DeploymentGroupInfo' :: Maybe AlarmConfiguration
alarmConfiguration = Maybe AlarmConfiguration
forall a. Maybe a
Prelude.Nothing,
$sel:triggerConfigurations:DeploymentGroupInfo' :: Maybe [TriggerConfig]
triggerConfigurations = Maybe [TriggerConfig]
forall a. Maybe a
Prelude.Nothing,
$sel:deploymentGroupId:DeploymentGroupInfo' :: Maybe Text
deploymentGroupId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:autoScalingGroups:DeploymentGroupInfo' :: Maybe [AutoScalingGroup]
autoScalingGroups = Maybe [AutoScalingGroup]
forall a. Maybe a
Prelude.Nothing,
$sel:deploymentStyle:DeploymentGroupInfo' :: Maybe DeploymentStyle
deploymentStyle = Maybe DeploymentStyle
forall a. Maybe a
Prelude.Nothing,
$sel:autoRollbackConfiguration:DeploymentGroupInfo' :: Maybe AutoRollbackConfiguration
autoRollbackConfiguration = Maybe AutoRollbackConfiguration
forall a. Maybe a
Prelude.Nothing,
$sel:deploymentGroupName:DeploymentGroupInfo' :: Maybe Text
deploymentGroupName = Maybe Text
forall a. Maybe a
Prelude.Nothing
}
deploymentGroupInfo_serviceRoleArn :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe Prelude.Text)
deploymentGroupInfo_serviceRoleArn :: (Maybe Text -> f (Maybe Text))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_serviceRoleArn = (DeploymentGroupInfo -> Maybe Text)
-> (DeploymentGroupInfo -> Maybe Text -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo DeploymentGroupInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe Text
serviceRoleArn :: Maybe Text
$sel:serviceRoleArn:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe Text
serviceRoleArn} -> Maybe Text
serviceRoleArn) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe Text
a -> DeploymentGroupInfo
s {$sel:serviceRoleArn:DeploymentGroupInfo' :: Maybe Text
serviceRoleArn = Maybe Text
a} :: DeploymentGroupInfo)
deploymentGroupInfo_ec2TagSet :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe EC2TagSet)
deploymentGroupInfo_ec2TagSet :: (Maybe EC2TagSet -> f (Maybe EC2TagSet))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_ec2TagSet = (DeploymentGroupInfo -> Maybe EC2TagSet)
-> (DeploymentGroupInfo -> Maybe EC2TagSet -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo
DeploymentGroupInfo
(Maybe EC2TagSet)
(Maybe EC2TagSet)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe EC2TagSet
ec2TagSet :: Maybe EC2TagSet
$sel:ec2TagSet:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe EC2TagSet
ec2TagSet} -> Maybe EC2TagSet
ec2TagSet) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe EC2TagSet
a -> DeploymentGroupInfo
s {$sel:ec2TagSet:DeploymentGroupInfo' :: Maybe EC2TagSet
ec2TagSet = Maybe EC2TagSet
a} :: DeploymentGroupInfo)
deploymentGroupInfo_deploymentConfigName :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe Prelude.Text)
deploymentGroupInfo_deploymentConfigName :: (Maybe Text -> f (Maybe Text))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_deploymentConfigName = (DeploymentGroupInfo -> Maybe Text)
-> (DeploymentGroupInfo -> Maybe Text -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo DeploymentGroupInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe Text
deploymentConfigName :: Maybe Text
$sel:deploymentConfigName:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe Text
deploymentConfigName} -> Maybe Text
deploymentConfigName) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe Text
a -> DeploymentGroupInfo
s {$sel:deploymentConfigName:DeploymentGroupInfo' :: Maybe Text
deploymentConfigName = Maybe Text
a} :: DeploymentGroupInfo)
deploymentGroupInfo_lastAttemptedDeployment :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe LastDeploymentInfo)
deploymentGroupInfo_lastAttemptedDeployment :: (Maybe LastDeploymentInfo -> f (Maybe LastDeploymentInfo))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_lastAttemptedDeployment = (DeploymentGroupInfo -> Maybe LastDeploymentInfo)
-> (DeploymentGroupInfo
-> Maybe LastDeploymentInfo -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo
DeploymentGroupInfo
(Maybe LastDeploymentInfo)
(Maybe LastDeploymentInfo)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe LastDeploymentInfo
lastAttemptedDeployment :: Maybe LastDeploymentInfo
$sel:lastAttemptedDeployment:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe LastDeploymentInfo
lastAttemptedDeployment} -> Maybe LastDeploymentInfo
lastAttemptedDeployment) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe LastDeploymentInfo
a -> DeploymentGroupInfo
s {$sel:lastAttemptedDeployment:DeploymentGroupInfo' :: Maybe LastDeploymentInfo
lastAttemptedDeployment = Maybe LastDeploymentInfo
a} :: DeploymentGroupInfo)
deploymentGroupInfo_onPremisesTagSet :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe OnPremisesTagSet)
deploymentGroupInfo_onPremisesTagSet :: (Maybe OnPremisesTagSet -> f (Maybe OnPremisesTagSet))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_onPremisesTagSet = (DeploymentGroupInfo -> Maybe OnPremisesTagSet)
-> (DeploymentGroupInfo
-> Maybe OnPremisesTagSet -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo
DeploymentGroupInfo
(Maybe OnPremisesTagSet)
(Maybe OnPremisesTagSet)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe OnPremisesTagSet
onPremisesTagSet :: Maybe OnPremisesTagSet
$sel:onPremisesTagSet:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe OnPremisesTagSet
onPremisesTagSet} -> Maybe OnPremisesTagSet
onPremisesTagSet) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe OnPremisesTagSet
a -> DeploymentGroupInfo
s {$sel:onPremisesTagSet:DeploymentGroupInfo' :: Maybe OnPremisesTagSet
onPremisesTagSet = Maybe OnPremisesTagSet
a} :: DeploymentGroupInfo)
deploymentGroupInfo_computePlatform :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe ComputePlatform)
deploymentGroupInfo_computePlatform :: (Maybe ComputePlatform -> f (Maybe ComputePlatform))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_computePlatform = (DeploymentGroupInfo -> Maybe ComputePlatform)
-> (DeploymentGroupInfo
-> Maybe ComputePlatform -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo
DeploymentGroupInfo
(Maybe ComputePlatform)
(Maybe ComputePlatform)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe ComputePlatform
computePlatform :: Maybe ComputePlatform
$sel:computePlatform:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe ComputePlatform
computePlatform} -> Maybe ComputePlatform
computePlatform) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe ComputePlatform
a -> DeploymentGroupInfo
s {$sel:computePlatform:DeploymentGroupInfo' :: Maybe ComputePlatform
computePlatform = Maybe ComputePlatform
a} :: DeploymentGroupInfo)
deploymentGroupInfo_targetRevision :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe RevisionLocation)
deploymentGroupInfo_targetRevision :: (Maybe RevisionLocation -> f (Maybe RevisionLocation))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_targetRevision = (DeploymentGroupInfo -> Maybe RevisionLocation)
-> (DeploymentGroupInfo
-> Maybe RevisionLocation -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo
DeploymentGroupInfo
(Maybe RevisionLocation)
(Maybe RevisionLocation)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe RevisionLocation
targetRevision :: Maybe RevisionLocation
$sel:targetRevision:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe RevisionLocation
targetRevision} -> Maybe RevisionLocation
targetRevision) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe RevisionLocation
a -> DeploymentGroupInfo
s {$sel:targetRevision:DeploymentGroupInfo' :: Maybe RevisionLocation
targetRevision = Maybe RevisionLocation
a} :: DeploymentGroupInfo)
deploymentGroupInfo_ec2TagFilters :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe [EC2TagFilter])
deploymentGroupInfo_ec2TagFilters :: (Maybe [EC2TagFilter] -> f (Maybe [EC2TagFilter]))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_ec2TagFilters = (DeploymentGroupInfo -> Maybe [EC2TagFilter])
-> (DeploymentGroupInfo
-> Maybe [EC2TagFilter] -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo
DeploymentGroupInfo
(Maybe [EC2TagFilter])
(Maybe [EC2TagFilter])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe [EC2TagFilter]
ec2TagFilters :: Maybe [EC2TagFilter]
$sel:ec2TagFilters:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe [EC2TagFilter]
ec2TagFilters} -> Maybe [EC2TagFilter]
ec2TagFilters) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe [EC2TagFilter]
a -> DeploymentGroupInfo
s {$sel:ec2TagFilters:DeploymentGroupInfo' :: Maybe [EC2TagFilter]
ec2TagFilters = Maybe [EC2TagFilter]
a} :: DeploymentGroupInfo) ((Maybe [EC2TagFilter] -> f (Maybe [EC2TagFilter]))
-> DeploymentGroupInfo -> f DeploymentGroupInfo)
-> ((Maybe [EC2TagFilter] -> f (Maybe [EC2TagFilter]))
-> Maybe [EC2TagFilter] -> f (Maybe [EC2TagFilter]))
-> (Maybe [EC2TagFilter] -> f (Maybe [EC2TagFilter]))
-> DeploymentGroupInfo
-> f DeploymentGroupInfo
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [EC2TagFilter] [EC2TagFilter] [EC2TagFilter] [EC2TagFilter]
-> Iso
(Maybe [EC2TagFilter])
(Maybe [EC2TagFilter])
(Maybe [EC2TagFilter])
(Maybe [EC2TagFilter])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [EC2TagFilter] [EC2TagFilter] [EC2TagFilter] [EC2TagFilter]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
deploymentGroupInfo_ecsServices :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe [ECSService])
deploymentGroupInfo_ecsServices :: (Maybe [ECSService] -> f (Maybe [ECSService]))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_ecsServices = (DeploymentGroupInfo -> Maybe [ECSService])
-> (DeploymentGroupInfo
-> Maybe [ECSService] -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo
DeploymentGroupInfo
(Maybe [ECSService])
(Maybe [ECSService])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe [ECSService]
ecsServices :: Maybe [ECSService]
$sel:ecsServices:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe [ECSService]
ecsServices} -> Maybe [ECSService]
ecsServices) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe [ECSService]
a -> DeploymentGroupInfo
s {$sel:ecsServices:DeploymentGroupInfo' :: Maybe [ECSService]
ecsServices = Maybe [ECSService]
a} :: DeploymentGroupInfo) ((Maybe [ECSService] -> f (Maybe [ECSService]))
-> DeploymentGroupInfo -> f DeploymentGroupInfo)
-> ((Maybe [ECSService] -> f (Maybe [ECSService]))
-> Maybe [ECSService] -> f (Maybe [ECSService]))
-> (Maybe [ECSService] -> f (Maybe [ECSService]))
-> DeploymentGroupInfo
-> f DeploymentGroupInfo
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [ECSService] [ECSService] [ECSService] [ECSService]
-> Iso
(Maybe [ECSService])
(Maybe [ECSService])
(Maybe [ECSService])
(Maybe [ECSService])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [ECSService] [ECSService] [ECSService] [ECSService]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
deploymentGroupInfo_blueGreenDeploymentConfiguration :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe BlueGreenDeploymentConfiguration)
deploymentGroupInfo_blueGreenDeploymentConfiguration :: (Maybe BlueGreenDeploymentConfiguration
-> f (Maybe BlueGreenDeploymentConfiguration))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_blueGreenDeploymentConfiguration = (DeploymentGroupInfo -> Maybe BlueGreenDeploymentConfiguration)
-> (DeploymentGroupInfo
-> Maybe BlueGreenDeploymentConfiguration -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo
DeploymentGroupInfo
(Maybe BlueGreenDeploymentConfiguration)
(Maybe BlueGreenDeploymentConfiguration)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe BlueGreenDeploymentConfiguration
blueGreenDeploymentConfiguration :: Maybe BlueGreenDeploymentConfiguration
$sel:blueGreenDeploymentConfiguration:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe BlueGreenDeploymentConfiguration
blueGreenDeploymentConfiguration} -> Maybe BlueGreenDeploymentConfiguration
blueGreenDeploymentConfiguration) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe BlueGreenDeploymentConfiguration
a -> DeploymentGroupInfo
s {$sel:blueGreenDeploymentConfiguration:DeploymentGroupInfo' :: Maybe BlueGreenDeploymentConfiguration
blueGreenDeploymentConfiguration = Maybe BlueGreenDeploymentConfiguration
a} :: DeploymentGroupInfo)
deploymentGroupInfo_loadBalancerInfo :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe LoadBalancerInfo)
deploymentGroupInfo_loadBalancerInfo :: (Maybe LoadBalancerInfo -> f (Maybe LoadBalancerInfo))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_loadBalancerInfo = (DeploymentGroupInfo -> Maybe LoadBalancerInfo)
-> (DeploymentGroupInfo
-> Maybe LoadBalancerInfo -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo
DeploymentGroupInfo
(Maybe LoadBalancerInfo)
(Maybe LoadBalancerInfo)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe LoadBalancerInfo
loadBalancerInfo :: Maybe LoadBalancerInfo
$sel:loadBalancerInfo:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe LoadBalancerInfo
loadBalancerInfo} -> Maybe LoadBalancerInfo
loadBalancerInfo) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe LoadBalancerInfo
a -> DeploymentGroupInfo
s {$sel:loadBalancerInfo:DeploymentGroupInfo' :: Maybe LoadBalancerInfo
loadBalancerInfo = Maybe LoadBalancerInfo
a} :: DeploymentGroupInfo)
deploymentGroupInfo_outdatedInstancesStrategy :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe OutdatedInstancesStrategy)
deploymentGroupInfo_outdatedInstancesStrategy :: (Maybe OutdatedInstancesStrategy
-> f (Maybe OutdatedInstancesStrategy))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_outdatedInstancesStrategy = (DeploymentGroupInfo -> Maybe OutdatedInstancesStrategy)
-> (DeploymentGroupInfo
-> Maybe OutdatedInstancesStrategy -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo
DeploymentGroupInfo
(Maybe OutdatedInstancesStrategy)
(Maybe OutdatedInstancesStrategy)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe OutdatedInstancesStrategy
outdatedInstancesStrategy :: Maybe OutdatedInstancesStrategy
$sel:outdatedInstancesStrategy:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe OutdatedInstancesStrategy
outdatedInstancesStrategy} -> Maybe OutdatedInstancesStrategy
outdatedInstancesStrategy) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe OutdatedInstancesStrategy
a -> DeploymentGroupInfo
s {$sel:outdatedInstancesStrategy:DeploymentGroupInfo' :: Maybe OutdatedInstancesStrategy
outdatedInstancesStrategy = Maybe OutdatedInstancesStrategy
a} :: DeploymentGroupInfo)
deploymentGroupInfo_onPremisesInstanceTagFilters :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe [TagFilter])
deploymentGroupInfo_onPremisesInstanceTagFilters :: (Maybe [TagFilter] -> f (Maybe [TagFilter]))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_onPremisesInstanceTagFilters = (DeploymentGroupInfo -> Maybe [TagFilter])
-> (DeploymentGroupInfo
-> Maybe [TagFilter] -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo
DeploymentGroupInfo
(Maybe [TagFilter])
(Maybe [TagFilter])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe [TagFilter]
onPremisesInstanceTagFilters :: Maybe [TagFilter]
$sel:onPremisesInstanceTagFilters:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe [TagFilter]
onPremisesInstanceTagFilters} -> Maybe [TagFilter]
onPremisesInstanceTagFilters) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe [TagFilter]
a -> DeploymentGroupInfo
s {$sel:onPremisesInstanceTagFilters:DeploymentGroupInfo' :: Maybe [TagFilter]
onPremisesInstanceTagFilters = Maybe [TagFilter]
a} :: DeploymentGroupInfo) ((Maybe [TagFilter] -> f (Maybe [TagFilter]))
-> DeploymentGroupInfo -> f DeploymentGroupInfo)
-> ((Maybe [TagFilter] -> f (Maybe [TagFilter]))
-> Maybe [TagFilter] -> f (Maybe [TagFilter]))
-> (Maybe [TagFilter] -> f (Maybe [TagFilter]))
-> DeploymentGroupInfo
-> f DeploymentGroupInfo
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [TagFilter] [TagFilter] [TagFilter] [TagFilter]
-> Iso
(Maybe [TagFilter])
(Maybe [TagFilter])
(Maybe [TagFilter])
(Maybe [TagFilter])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [TagFilter] [TagFilter] [TagFilter] [TagFilter]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
deploymentGroupInfo_lastSuccessfulDeployment :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe LastDeploymentInfo)
deploymentGroupInfo_lastSuccessfulDeployment :: (Maybe LastDeploymentInfo -> f (Maybe LastDeploymentInfo))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_lastSuccessfulDeployment = (DeploymentGroupInfo -> Maybe LastDeploymentInfo)
-> (DeploymentGroupInfo
-> Maybe LastDeploymentInfo -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo
DeploymentGroupInfo
(Maybe LastDeploymentInfo)
(Maybe LastDeploymentInfo)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe LastDeploymentInfo
lastSuccessfulDeployment :: Maybe LastDeploymentInfo
$sel:lastSuccessfulDeployment:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe LastDeploymentInfo
lastSuccessfulDeployment} -> Maybe LastDeploymentInfo
lastSuccessfulDeployment) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe LastDeploymentInfo
a -> DeploymentGroupInfo
s {$sel:lastSuccessfulDeployment:DeploymentGroupInfo' :: Maybe LastDeploymentInfo
lastSuccessfulDeployment = Maybe LastDeploymentInfo
a} :: DeploymentGroupInfo)
deploymentGroupInfo_applicationName :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe Prelude.Text)
deploymentGroupInfo_applicationName :: (Maybe Text -> f (Maybe Text))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_applicationName = (DeploymentGroupInfo -> Maybe Text)
-> (DeploymentGroupInfo -> Maybe Text -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo DeploymentGroupInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe Text
applicationName :: Maybe Text
$sel:applicationName:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe Text
applicationName} -> Maybe Text
applicationName) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe Text
a -> DeploymentGroupInfo
s {$sel:applicationName:DeploymentGroupInfo' :: Maybe Text
applicationName = Maybe Text
a} :: DeploymentGroupInfo)
deploymentGroupInfo_alarmConfiguration :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe AlarmConfiguration)
deploymentGroupInfo_alarmConfiguration :: (Maybe AlarmConfiguration -> f (Maybe AlarmConfiguration))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_alarmConfiguration = (DeploymentGroupInfo -> Maybe AlarmConfiguration)
-> (DeploymentGroupInfo
-> Maybe AlarmConfiguration -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo
DeploymentGroupInfo
(Maybe AlarmConfiguration)
(Maybe AlarmConfiguration)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe AlarmConfiguration
alarmConfiguration :: Maybe AlarmConfiguration
$sel:alarmConfiguration:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe AlarmConfiguration
alarmConfiguration} -> Maybe AlarmConfiguration
alarmConfiguration) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe AlarmConfiguration
a -> DeploymentGroupInfo
s {$sel:alarmConfiguration:DeploymentGroupInfo' :: Maybe AlarmConfiguration
alarmConfiguration = Maybe AlarmConfiguration
a} :: DeploymentGroupInfo)
deploymentGroupInfo_triggerConfigurations :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe [TriggerConfig])
deploymentGroupInfo_triggerConfigurations :: (Maybe [TriggerConfig] -> f (Maybe [TriggerConfig]))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_triggerConfigurations = (DeploymentGroupInfo -> Maybe [TriggerConfig])
-> (DeploymentGroupInfo
-> Maybe [TriggerConfig] -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo
DeploymentGroupInfo
(Maybe [TriggerConfig])
(Maybe [TriggerConfig])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe [TriggerConfig]
triggerConfigurations :: Maybe [TriggerConfig]
$sel:triggerConfigurations:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe [TriggerConfig]
triggerConfigurations} -> Maybe [TriggerConfig]
triggerConfigurations) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe [TriggerConfig]
a -> DeploymentGroupInfo
s {$sel:triggerConfigurations:DeploymentGroupInfo' :: Maybe [TriggerConfig]
triggerConfigurations = Maybe [TriggerConfig]
a} :: DeploymentGroupInfo) ((Maybe [TriggerConfig] -> f (Maybe [TriggerConfig]))
-> DeploymentGroupInfo -> f DeploymentGroupInfo)
-> ((Maybe [TriggerConfig] -> f (Maybe [TriggerConfig]))
-> Maybe [TriggerConfig] -> f (Maybe [TriggerConfig]))
-> (Maybe [TriggerConfig] -> f (Maybe [TriggerConfig]))
-> DeploymentGroupInfo
-> f DeploymentGroupInfo
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[TriggerConfig] [TriggerConfig] [TriggerConfig] [TriggerConfig]
-> Iso
(Maybe [TriggerConfig])
(Maybe [TriggerConfig])
(Maybe [TriggerConfig])
(Maybe [TriggerConfig])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
[TriggerConfig] [TriggerConfig] [TriggerConfig] [TriggerConfig]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
deploymentGroupInfo_deploymentGroupId :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe Prelude.Text)
deploymentGroupInfo_deploymentGroupId :: (Maybe Text -> f (Maybe Text))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_deploymentGroupId = (DeploymentGroupInfo -> Maybe Text)
-> (DeploymentGroupInfo -> Maybe Text -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo DeploymentGroupInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe Text
deploymentGroupId :: Maybe Text
$sel:deploymentGroupId:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe Text
deploymentGroupId} -> Maybe Text
deploymentGroupId) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe Text
a -> DeploymentGroupInfo
s {$sel:deploymentGroupId:DeploymentGroupInfo' :: Maybe Text
deploymentGroupId = Maybe Text
a} :: DeploymentGroupInfo)
deploymentGroupInfo_autoScalingGroups :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe [AutoScalingGroup])
deploymentGroupInfo_autoScalingGroups :: (Maybe [AutoScalingGroup] -> f (Maybe [AutoScalingGroup]))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_autoScalingGroups = (DeploymentGroupInfo -> Maybe [AutoScalingGroup])
-> (DeploymentGroupInfo
-> Maybe [AutoScalingGroup] -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo
DeploymentGroupInfo
(Maybe [AutoScalingGroup])
(Maybe [AutoScalingGroup])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe [AutoScalingGroup]
autoScalingGroups :: Maybe [AutoScalingGroup]
$sel:autoScalingGroups:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe [AutoScalingGroup]
autoScalingGroups} -> Maybe [AutoScalingGroup]
autoScalingGroups) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe [AutoScalingGroup]
a -> DeploymentGroupInfo
s {$sel:autoScalingGroups:DeploymentGroupInfo' :: Maybe [AutoScalingGroup]
autoScalingGroups = Maybe [AutoScalingGroup]
a} :: DeploymentGroupInfo) ((Maybe [AutoScalingGroup] -> f (Maybe [AutoScalingGroup]))
-> DeploymentGroupInfo -> f DeploymentGroupInfo)
-> ((Maybe [AutoScalingGroup] -> f (Maybe [AutoScalingGroup]))
-> Maybe [AutoScalingGroup] -> f (Maybe [AutoScalingGroup]))
-> (Maybe [AutoScalingGroup] -> f (Maybe [AutoScalingGroup]))
-> DeploymentGroupInfo
-> f DeploymentGroupInfo
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[AutoScalingGroup]
[AutoScalingGroup]
[AutoScalingGroup]
[AutoScalingGroup]
-> Iso
(Maybe [AutoScalingGroup])
(Maybe [AutoScalingGroup])
(Maybe [AutoScalingGroup])
(Maybe [AutoScalingGroup])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
[AutoScalingGroup]
[AutoScalingGroup]
[AutoScalingGroup]
[AutoScalingGroup]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
deploymentGroupInfo_deploymentStyle :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe DeploymentStyle)
deploymentGroupInfo_deploymentStyle :: (Maybe DeploymentStyle -> f (Maybe DeploymentStyle))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_deploymentStyle = (DeploymentGroupInfo -> Maybe DeploymentStyle)
-> (DeploymentGroupInfo
-> Maybe DeploymentStyle -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo
DeploymentGroupInfo
(Maybe DeploymentStyle)
(Maybe DeploymentStyle)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe DeploymentStyle
deploymentStyle :: Maybe DeploymentStyle
$sel:deploymentStyle:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe DeploymentStyle
deploymentStyle} -> Maybe DeploymentStyle
deploymentStyle) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe DeploymentStyle
a -> DeploymentGroupInfo
s {$sel:deploymentStyle:DeploymentGroupInfo' :: Maybe DeploymentStyle
deploymentStyle = Maybe DeploymentStyle
a} :: DeploymentGroupInfo)
deploymentGroupInfo_autoRollbackConfiguration :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe AutoRollbackConfiguration)
deploymentGroupInfo_autoRollbackConfiguration :: (Maybe AutoRollbackConfiguration
-> f (Maybe AutoRollbackConfiguration))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_autoRollbackConfiguration = (DeploymentGroupInfo -> Maybe AutoRollbackConfiguration)
-> (DeploymentGroupInfo
-> Maybe AutoRollbackConfiguration -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo
DeploymentGroupInfo
(Maybe AutoRollbackConfiguration)
(Maybe AutoRollbackConfiguration)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe AutoRollbackConfiguration
autoRollbackConfiguration :: Maybe AutoRollbackConfiguration
$sel:autoRollbackConfiguration:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe AutoRollbackConfiguration
autoRollbackConfiguration} -> Maybe AutoRollbackConfiguration
autoRollbackConfiguration) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe AutoRollbackConfiguration
a -> DeploymentGroupInfo
s {$sel:autoRollbackConfiguration:DeploymentGroupInfo' :: Maybe AutoRollbackConfiguration
autoRollbackConfiguration = Maybe AutoRollbackConfiguration
a} :: DeploymentGroupInfo)
deploymentGroupInfo_deploymentGroupName :: Lens.Lens' DeploymentGroupInfo (Prelude.Maybe Prelude.Text)
deploymentGroupInfo_deploymentGroupName :: (Maybe Text -> f (Maybe Text))
-> DeploymentGroupInfo -> f DeploymentGroupInfo
deploymentGroupInfo_deploymentGroupName = (DeploymentGroupInfo -> Maybe Text)
-> (DeploymentGroupInfo -> Maybe Text -> DeploymentGroupInfo)
-> Lens
DeploymentGroupInfo DeploymentGroupInfo (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentGroupInfo' {Maybe Text
deploymentGroupName :: Maybe Text
$sel:deploymentGroupName:DeploymentGroupInfo' :: DeploymentGroupInfo -> Maybe Text
deploymentGroupName} -> Maybe Text
deploymentGroupName) (\s :: DeploymentGroupInfo
s@DeploymentGroupInfo' {} Maybe Text
a -> DeploymentGroupInfo
s {$sel:deploymentGroupName:DeploymentGroupInfo' :: Maybe Text
deploymentGroupName = Maybe Text
a} :: DeploymentGroupInfo)
instance Core.FromJSON DeploymentGroupInfo where
parseJSON :: Value -> Parser DeploymentGroupInfo
parseJSON =
String
-> (Object -> Parser DeploymentGroupInfo)
-> Value
-> Parser DeploymentGroupInfo
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"DeploymentGroupInfo"
( \Object
x ->
Maybe Text
-> Maybe EC2TagSet
-> Maybe Text
-> Maybe LastDeploymentInfo
-> Maybe OnPremisesTagSet
-> Maybe ComputePlatform
-> Maybe RevisionLocation
-> Maybe [EC2TagFilter]
-> Maybe [ECSService]
-> Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo
DeploymentGroupInfo'
(Maybe Text
-> Maybe EC2TagSet
-> Maybe Text
-> Maybe LastDeploymentInfo
-> Maybe OnPremisesTagSet
-> Maybe ComputePlatform
-> Maybe RevisionLocation
-> Maybe [EC2TagFilter]
-> Maybe [ECSService]
-> Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
-> Parser (Maybe Text)
-> Parser
(Maybe EC2TagSet
-> Maybe Text
-> Maybe LastDeploymentInfo
-> Maybe OnPremisesTagSet
-> Maybe ComputePlatform
-> Maybe RevisionLocation
-> Maybe [EC2TagFilter]
-> Maybe [ECSService]
-> Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"serviceRoleArn")
Parser
(Maybe EC2TagSet
-> Maybe Text
-> Maybe LastDeploymentInfo
-> Maybe OnPremisesTagSet
-> Maybe ComputePlatform
-> Maybe RevisionLocation
-> Maybe [EC2TagFilter]
-> Maybe [ECSService]
-> Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
-> Parser (Maybe EC2TagSet)
-> Parser
(Maybe Text
-> Maybe LastDeploymentInfo
-> Maybe OnPremisesTagSet
-> Maybe ComputePlatform
-> Maybe RevisionLocation
-> Maybe [EC2TagFilter]
-> Maybe [ECSService]
-> Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe EC2TagSet)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ec2TagSet")
Parser
(Maybe Text
-> Maybe LastDeploymentInfo
-> Maybe OnPremisesTagSet
-> Maybe ComputePlatform
-> Maybe RevisionLocation
-> Maybe [EC2TagFilter]
-> Maybe [ECSService]
-> Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
-> Parser (Maybe Text)
-> Parser
(Maybe LastDeploymentInfo
-> Maybe OnPremisesTagSet
-> Maybe ComputePlatform
-> Maybe RevisionLocation
-> Maybe [EC2TagFilter]
-> Maybe [ECSService]
-> Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"deploymentConfigName")
Parser
(Maybe LastDeploymentInfo
-> Maybe OnPremisesTagSet
-> Maybe ComputePlatform
-> Maybe RevisionLocation
-> Maybe [EC2TagFilter]
-> Maybe [ECSService]
-> Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
-> Parser (Maybe LastDeploymentInfo)
-> Parser
(Maybe OnPremisesTagSet
-> Maybe ComputePlatform
-> Maybe RevisionLocation
-> Maybe [EC2TagFilter]
-> Maybe [ECSService]
-> Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe LastDeploymentInfo)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"lastAttemptedDeployment")
Parser
(Maybe OnPremisesTagSet
-> Maybe ComputePlatform
-> Maybe RevisionLocation
-> Maybe [EC2TagFilter]
-> Maybe [ECSService]
-> Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
-> Parser (Maybe OnPremisesTagSet)
-> Parser
(Maybe ComputePlatform
-> Maybe RevisionLocation
-> Maybe [EC2TagFilter]
-> Maybe [ECSService]
-> Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe OnPremisesTagSet)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"onPremisesTagSet")
Parser
(Maybe ComputePlatform
-> Maybe RevisionLocation
-> Maybe [EC2TagFilter]
-> Maybe [ECSService]
-> Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
-> Parser (Maybe ComputePlatform)
-> Parser
(Maybe RevisionLocation
-> Maybe [EC2TagFilter]
-> Maybe [ECSService]
-> Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe ComputePlatform)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"computePlatform")
Parser
(Maybe RevisionLocation
-> Maybe [EC2TagFilter]
-> Maybe [ECSService]
-> Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
-> Parser (Maybe RevisionLocation)
-> Parser
(Maybe [EC2TagFilter]
-> Maybe [ECSService]
-> Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe RevisionLocation)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"targetRevision")
Parser
(Maybe [EC2TagFilter]
-> Maybe [ECSService]
-> Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
-> Parser (Maybe [EC2TagFilter])
-> Parser
(Maybe [ECSService]
-> Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Maybe [EC2TagFilter]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ec2TagFilters" Parser (Maybe (Maybe [EC2TagFilter]))
-> Maybe [EC2TagFilter] -> Parser (Maybe [EC2TagFilter])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [EC2TagFilter]
forall a. Monoid a => a
Prelude.mempty)
Parser
(Maybe [ECSService]
-> Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
-> Parser (Maybe [ECSService])
-> Parser
(Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Maybe [ECSService]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ecsServices" Parser (Maybe (Maybe [ECSService]))
-> Maybe [ECSService] -> Parser (Maybe [ECSService])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [ECSService]
forall a. Monoid a => a
Prelude.mempty)
Parser
(Maybe BlueGreenDeploymentConfiguration
-> Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
-> Parser (Maybe BlueGreenDeploymentConfiguration)
-> Parser
(Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe BlueGreenDeploymentConfiguration)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"blueGreenDeploymentConfiguration")
Parser
(Maybe LoadBalancerInfo
-> Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
-> Parser (Maybe LoadBalancerInfo)
-> Parser
(Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe LoadBalancerInfo)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"loadBalancerInfo")
Parser
(Maybe OutdatedInstancesStrategy
-> Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
-> Parser (Maybe OutdatedInstancesStrategy)
-> Parser
(Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe OutdatedInstancesStrategy)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"outdatedInstancesStrategy")
Parser
(Maybe [TagFilter]
-> Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
-> Parser (Maybe [TagFilter])
-> Parser
(Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Parser (Maybe (Maybe [TagFilter]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"onPremisesInstanceTagFilters"
Parser (Maybe (Maybe [TagFilter]))
-> Maybe [TagFilter] -> Parser (Maybe [TagFilter])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [TagFilter]
forall a. Monoid a => a
Prelude.mempty
)
Parser
(Maybe LastDeploymentInfo
-> Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
-> Parser (Maybe LastDeploymentInfo)
-> Parser
(Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe LastDeploymentInfo)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"lastSuccessfulDeployment")
Parser
(Maybe Text
-> Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
-> Parser (Maybe Text)
-> Parser
(Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"applicationName")
Parser
(Maybe AlarmConfiguration
-> Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
-> Parser (Maybe AlarmConfiguration)
-> Parser
(Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe AlarmConfiguration)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"alarmConfiguration")
Parser
(Maybe [TriggerConfig]
-> Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
-> Parser (Maybe [TriggerConfig])
-> Parser
(Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Parser (Maybe (Maybe [TriggerConfig]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"triggerConfigurations"
Parser (Maybe (Maybe [TriggerConfig]))
-> Maybe [TriggerConfig] -> Parser (Maybe [TriggerConfig])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [TriggerConfig]
forall a. Monoid a => a
Prelude.mempty
)
Parser
(Maybe Text
-> Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
-> Parser (Maybe Text)
-> Parser
(Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"deploymentGroupId")
Parser
(Maybe [AutoScalingGroup]
-> Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
-> Parser (Maybe [AutoScalingGroup])
-> Parser
(Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Parser (Maybe (Maybe [AutoScalingGroup]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"autoScalingGroups"
Parser (Maybe (Maybe [AutoScalingGroup]))
-> Maybe [AutoScalingGroup] -> Parser (Maybe [AutoScalingGroup])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [AutoScalingGroup]
forall a. Monoid a => a
Prelude.mempty
)
Parser
(Maybe DeploymentStyle
-> Maybe AutoRollbackConfiguration
-> Maybe Text
-> DeploymentGroupInfo)
-> Parser (Maybe DeploymentStyle)
-> Parser
(Maybe AutoRollbackConfiguration
-> Maybe Text -> DeploymentGroupInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe DeploymentStyle)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"deploymentStyle")
Parser
(Maybe AutoRollbackConfiguration
-> Maybe Text -> DeploymentGroupInfo)
-> Parser (Maybe AutoRollbackConfiguration)
-> Parser (Maybe Text -> DeploymentGroupInfo)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe AutoRollbackConfiguration)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"autoRollbackConfiguration")
Parser (Maybe Text -> DeploymentGroupInfo)
-> Parser (Maybe Text) -> Parser DeploymentGroupInfo
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"deploymentGroupName")
)
instance Prelude.Hashable DeploymentGroupInfo
instance Prelude.NFData DeploymentGroupInfo