{-# 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.SecurityHub.Types.AwsElbLoadBalancerDetails where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.SecurityHub.Types.AwsElbLoadBalancerAttributes
import Amazonka.SecurityHub.Types.AwsElbLoadBalancerBackendServerDescription
import Amazonka.SecurityHub.Types.AwsElbLoadBalancerHealthCheck
import Amazonka.SecurityHub.Types.AwsElbLoadBalancerInstance
import Amazonka.SecurityHub.Types.AwsElbLoadBalancerListenerDescription
import Amazonka.SecurityHub.Types.AwsElbLoadBalancerPolicies
import Amazonka.SecurityHub.Types.AwsElbLoadBalancerSourceSecurityGroup
data AwsElbLoadBalancerDetails = AwsElbLoadBalancerDetails'
{
AwsElbLoadBalancerDetails
-> Maybe AwsElbLoadBalancerSourceSecurityGroup
sourceSecurityGroup :: Prelude.Maybe AwsElbLoadBalancerSourceSecurityGroup,
AwsElbLoadBalancerDetails -> Maybe Text
canonicalHostedZoneName :: Prelude.Maybe Prelude.Text,
AwsElbLoadBalancerDetails -> Maybe [Text]
securityGroups :: Prelude.Maybe [Prelude.Text],
AwsElbLoadBalancerDetails -> Maybe AwsElbLoadBalancerHealthCheck
healthCheck :: Prelude.Maybe AwsElbLoadBalancerHealthCheck,
AwsElbLoadBalancerDetails -> Maybe Text
loadBalancerName :: Prelude.Maybe Prelude.Text,
AwsElbLoadBalancerDetails -> Maybe AwsElbLoadBalancerAttributes
loadBalancerAttributes :: Prelude.Maybe AwsElbLoadBalancerAttributes,
AwsElbLoadBalancerDetails -> Maybe Text
createdTime :: Prelude.Maybe Prelude.Text,
AwsElbLoadBalancerDetails -> Maybe Text
vpcId :: Prelude.Maybe Prelude.Text,
AwsElbLoadBalancerDetails -> Maybe [Text]
subnets :: Prelude.Maybe [Prelude.Text],
AwsElbLoadBalancerDetails -> Maybe [Text]
availabilityZones :: Prelude.Maybe [Prelude.Text],
AwsElbLoadBalancerDetails
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
backendServerDescriptions :: Prelude.Maybe [AwsElbLoadBalancerBackendServerDescription],
AwsElbLoadBalancerDetails -> Maybe Text
canonicalHostedZoneNameID :: Prelude.Maybe Prelude.Text,
AwsElbLoadBalancerDetails -> Maybe [AwsElbLoadBalancerInstance]
instances :: Prelude.Maybe [AwsElbLoadBalancerInstance],
AwsElbLoadBalancerDetails -> Maybe Text
scheme :: Prelude.Maybe Prelude.Text,
AwsElbLoadBalancerDetails
-> Maybe [AwsElbLoadBalancerListenerDescription]
listenerDescriptions :: Prelude.Maybe [AwsElbLoadBalancerListenerDescription],
AwsElbLoadBalancerDetails -> Maybe Text
dnsName :: Prelude.Maybe Prelude.Text,
AwsElbLoadBalancerDetails -> Maybe AwsElbLoadBalancerPolicies
policies :: Prelude.Maybe AwsElbLoadBalancerPolicies
}
deriving (AwsElbLoadBalancerDetails -> AwsElbLoadBalancerDetails -> Bool
(AwsElbLoadBalancerDetails -> AwsElbLoadBalancerDetails -> Bool)
-> (AwsElbLoadBalancerDetails -> AwsElbLoadBalancerDetails -> Bool)
-> Eq AwsElbLoadBalancerDetails
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AwsElbLoadBalancerDetails -> AwsElbLoadBalancerDetails -> Bool
$c/= :: AwsElbLoadBalancerDetails -> AwsElbLoadBalancerDetails -> Bool
== :: AwsElbLoadBalancerDetails -> AwsElbLoadBalancerDetails -> Bool
$c== :: AwsElbLoadBalancerDetails -> AwsElbLoadBalancerDetails -> Bool
Prelude.Eq, ReadPrec [AwsElbLoadBalancerDetails]
ReadPrec AwsElbLoadBalancerDetails
Int -> ReadS AwsElbLoadBalancerDetails
ReadS [AwsElbLoadBalancerDetails]
(Int -> ReadS AwsElbLoadBalancerDetails)
-> ReadS [AwsElbLoadBalancerDetails]
-> ReadPrec AwsElbLoadBalancerDetails
-> ReadPrec [AwsElbLoadBalancerDetails]
-> Read AwsElbLoadBalancerDetails
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AwsElbLoadBalancerDetails]
$creadListPrec :: ReadPrec [AwsElbLoadBalancerDetails]
readPrec :: ReadPrec AwsElbLoadBalancerDetails
$creadPrec :: ReadPrec AwsElbLoadBalancerDetails
readList :: ReadS [AwsElbLoadBalancerDetails]
$creadList :: ReadS [AwsElbLoadBalancerDetails]
readsPrec :: Int -> ReadS AwsElbLoadBalancerDetails
$creadsPrec :: Int -> ReadS AwsElbLoadBalancerDetails
Prelude.Read, Int -> AwsElbLoadBalancerDetails -> ShowS
[AwsElbLoadBalancerDetails] -> ShowS
AwsElbLoadBalancerDetails -> String
(Int -> AwsElbLoadBalancerDetails -> ShowS)
-> (AwsElbLoadBalancerDetails -> String)
-> ([AwsElbLoadBalancerDetails] -> ShowS)
-> Show AwsElbLoadBalancerDetails
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AwsElbLoadBalancerDetails] -> ShowS
$cshowList :: [AwsElbLoadBalancerDetails] -> ShowS
show :: AwsElbLoadBalancerDetails -> String
$cshow :: AwsElbLoadBalancerDetails -> String
showsPrec :: Int -> AwsElbLoadBalancerDetails -> ShowS
$cshowsPrec :: Int -> AwsElbLoadBalancerDetails -> ShowS
Prelude.Show, (forall x.
AwsElbLoadBalancerDetails -> Rep AwsElbLoadBalancerDetails x)
-> (forall x.
Rep AwsElbLoadBalancerDetails x -> AwsElbLoadBalancerDetails)
-> Generic AwsElbLoadBalancerDetails
forall x.
Rep AwsElbLoadBalancerDetails x -> AwsElbLoadBalancerDetails
forall x.
AwsElbLoadBalancerDetails -> Rep AwsElbLoadBalancerDetails x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep AwsElbLoadBalancerDetails x -> AwsElbLoadBalancerDetails
$cfrom :: forall x.
AwsElbLoadBalancerDetails -> Rep AwsElbLoadBalancerDetails x
Prelude.Generic)
newAwsElbLoadBalancerDetails ::
AwsElbLoadBalancerDetails
newAwsElbLoadBalancerDetails :: AwsElbLoadBalancerDetails
newAwsElbLoadBalancerDetails =
AwsElbLoadBalancerDetails' :: Maybe AwsElbLoadBalancerSourceSecurityGroup
-> Maybe Text
-> Maybe [Text]
-> Maybe AwsElbLoadBalancerHealthCheck
-> Maybe Text
-> Maybe AwsElbLoadBalancerAttributes
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails
AwsElbLoadBalancerDetails'
{ $sel:sourceSecurityGroup:AwsElbLoadBalancerDetails' :: Maybe AwsElbLoadBalancerSourceSecurityGroup
sourceSecurityGroup =
Maybe AwsElbLoadBalancerSourceSecurityGroup
forall a. Maybe a
Prelude.Nothing,
$sel:canonicalHostedZoneName:AwsElbLoadBalancerDetails' :: Maybe Text
canonicalHostedZoneName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:securityGroups:AwsElbLoadBalancerDetails' :: Maybe [Text]
securityGroups = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:healthCheck:AwsElbLoadBalancerDetails' :: Maybe AwsElbLoadBalancerHealthCheck
healthCheck = Maybe AwsElbLoadBalancerHealthCheck
forall a. Maybe a
Prelude.Nothing,
$sel:loadBalancerName:AwsElbLoadBalancerDetails' :: Maybe Text
loadBalancerName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:loadBalancerAttributes:AwsElbLoadBalancerDetails' :: Maybe AwsElbLoadBalancerAttributes
loadBalancerAttributes = Maybe AwsElbLoadBalancerAttributes
forall a. Maybe a
Prelude.Nothing,
$sel:createdTime:AwsElbLoadBalancerDetails' :: Maybe Text
createdTime = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:vpcId:AwsElbLoadBalancerDetails' :: Maybe Text
vpcId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:subnets:AwsElbLoadBalancerDetails' :: Maybe [Text]
subnets = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:availabilityZones:AwsElbLoadBalancerDetails' :: Maybe [Text]
availabilityZones = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:backendServerDescriptions:AwsElbLoadBalancerDetails' :: Maybe [AwsElbLoadBalancerBackendServerDescription]
backendServerDescriptions = Maybe [AwsElbLoadBalancerBackendServerDescription]
forall a. Maybe a
Prelude.Nothing,
$sel:canonicalHostedZoneNameID:AwsElbLoadBalancerDetails' :: Maybe Text
canonicalHostedZoneNameID = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:instances:AwsElbLoadBalancerDetails' :: Maybe [AwsElbLoadBalancerInstance]
instances = Maybe [AwsElbLoadBalancerInstance]
forall a. Maybe a
Prelude.Nothing,
$sel:scheme:AwsElbLoadBalancerDetails' :: Maybe Text
scheme = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:listenerDescriptions:AwsElbLoadBalancerDetails' :: Maybe [AwsElbLoadBalancerListenerDescription]
listenerDescriptions = Maybe [AwsElbLoadBalancerListenerDescription]
forall a. Maybe a
Prelude.Nothing,
$sel:dnsName:AwsElbLoadBalancerDetails' :: Maybe Text
dnsName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:policies:AwsElbLoadBalancerDetails' :: Maybe AwsElbLoadBalancerPolicies
policies = Maybe AwsElbLoadBalancerPolicies
forall a. Maybe a
Prelude.Nothing
}
awsElbLoadBalancerDetails_sourceSecurityGroup :: Lens.Lens' AwsElbLoadBalancerDetails (Prelude.Maybe AwsElbLoadBalancerSourceSecurityGroup)
awsElbLoadBalancerDetails_sourceSecurityGroup :: (Maybe AwsElbLoadBalancerSourceSecurityGroup
-> f (Maybe AwsElbLoadBalancerSourceSecurityGroup))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails
awsElbLoadBalancerDetails_sourceSecurityGroup = (AwsElbLoadBalancerDetails
-> Maybe AwsElbLoadBalancerSourceSecurityGroup)
-> (AwsElbLoadBalancerDetails
-> Maybe AwsElbLoadBalancerSourceSecurityGroup
-> AwsElbLoadBalancerDetails)
-> Lens
AwsElbLoadBalancerDetails
AwsElbLoadBalancerDetails
(Maybe AwsElbLoadBalancerSourceSecurityGroup)
(Maybe AwsElbLoadBalancerSourceSecurityGroup)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElbLoadBalancerDetails' {Maybe AwsElbLoadBalancerSourceSecurityGroup
sourceSecurityGroup :: Maybe AwsElbLoadBalancerSourceSecurityGroup
$sel:sourceSecurityGroup:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails
-> Maybe AwsElbLoadBalancerSourceSecurityGroup
sourceSecurityGroup} -> Maybe AwsElbLoadBalancerSourceSecurityGroup
sourceSecurityGroup) (\s :: AwsElbLoadBalancerDetails
s@AwsElbLoadBalancerDetails' {} Maybe AwsElbLoadBalancerSourceSecurityGroup
a -> AwsElbLoadBalancerDetails
s {$sel:sourceSecurityGroup:AwsElbLoadBalancerDetails' :: Maybe AwsElbLoadBalancerSourceSecurityGroup
sourceSecurityGroup = Maybe AwsElbLoadBalancerSourceSecurityGroup
a} :: AwsElbLoadBalancerDetails)
awsElbLoadBalancerDetails_canonicalHostedZoneName :: Lens.Lens' AwsElbLoadBalancerDetails (Prelude.Maybe Prelude.Text)
awsElbLoadBalancerDetails_canonicalHostedZoneName :: (Maybe Text -> f (Maybe Text))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails
awsElbLoadBalancerDetails_canonicalHostedZoneName = (AwsElbLoadBalancerDetails -> Maybe Text)
-> (AwsElbLoadBalancerDetails
-> Maybe Text -> AwsElbLoadBalancerDetails)
-> Lens
AwsElbLoadBalancerDetails
AwsElbLoadBalancerDetails
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElbLoadBalancerDetails' {Maybe Text
canonicalHostedZoneName :: Maybe Text
$sel:canonicalHostedZoneName:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe Text
canonicalHostedZoneName} -> Maybe Text
canonicalHostedZoneName) (\s :: AwsElbLoadBalancerDetails
s@AwsElbLoadBalancerDetails' {} Maybe Text
a -> AwsElbLoadBalancerDetails
s {$sel:canonicalHostedZoneName:AwsElbLoadBalancerDetails' :: Maybe Text
canonicalHostedZoneName = Maybe Text
a} :: AwsElbLoadBalancerDetails)
awsElbLoadBalancerDetails_securityGroups :: Lens.Lens' AwsElbLoadBalancerDetails (Prelude.Maybe [Prelude.Text])
awsElbLoadBalancerDetails_securityGroups :: (Maybe [Text] -> f (Maybe [Text]))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails
awsElbLoadBalancerDetails_securityGroups = (AwsElbLoadBalancerDetails -> Maybe [Text])
-> (AwsElbLoadBalancerDetails
-> Maybe [Text] -> AwsElbLoadBalancerDetails)
-> Lens
AwsElbLoadBalancerDetails
AwsElbLoadBalancerDetails
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElbLoadBalancerDetails' {Maybe [Text]
securityGroups :: Maybe [Text]
$sel:securityGroups:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe [Text]
securityGroups} -> Maybe [Text]
securityGroups) (\s :: AwsElbLoadBalancerDetails
s@AwsElbLoadBalancerDetails' {} Maybe [Text]
a -> AwsElbLoadBalancerDetails
s {$sel:securityGroups:AwsElbLoadBalancerDetails' :: Maybe [Text]
securityGroups = Maybe [Text]
a} :: AwsElbLoadBalancerDetails) ((Maybe [Text] -> f (Maybe [Text]))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> AwsElbLoadBalancerDetails
-> f AwsElbLoadBalancerDetails
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
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 [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
awsElbLoadBalancerDetails_healthCheck :: Lens.Lens' AwsElbLoadBalancerDetails (Prelude.Maybe AwsElbLoadBalancerHealthCheck)
awsElbLoadBalancerDetails_healthCheck :: (Maybe AwsElbLoadBalancerHealthCheck
-> f (Maybe AwsElbLoadBalancerHealthCheck))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails
awsElbLoadBalancerDetails_healthCheck = (AwsElbLoadBalancerDetails -> Maybe AwsElbLoadBalancerHealthCheck)
-> (AwsElbLoadBalancerDetails
-> Maybe AwsElbLoadBalancerHealthCheck
-> AwsElbLoadBalancerDetails)
-> Lens
AwsElbLoadBalancerDetails
AwsElbLoadBalancerDetails
(Maybe AwsElbLoadBalancerHealthCheck)
(Maybe AwsElbLoadBalancerHealthCheck)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElbLoadBalancerDetails' {Maybe AwsElbLoadBalancerHealthCheck
healthCheck :: Maybe AwsElbLoadBalancerHealthCheck
$sel:healthCheck:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe AwsElbLoadBalancerHealthCheck
healthCheck} -> Maybe AwsElbLoadBalancerHealthCheck
healthCheck) (\s :: AwsElbLoadBalancerDetails
s@AwsElbLoadBalancerDetails' {} Maybe AwsElbLoadBalancerHealthCheck
a -> AwsElbLoadBalancerDetails
s {$sel:healthCheck:AwsElbLoadBalancerDetails' :: Maybe AwsElbLoadBalancerHealthCheck
healthCheck = Maybe AwsElbLoadBalancerHealthCheck
a} :: AwsElbLoadBalancerDetails)
awsElbLoadBalancerDetails_loadBalancerName :: Lens.Lens' AwsElbLoadBalancerDetails (Prelude.Maybe Prelude.Text)
awsElbLoadBalancerDetails_loadBalancerName :: (Maybe Text -> f (Maybe Text))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails
awsElbLoadBalancerDetails_loadBalancerName = (AwsElbLoadBalancerDetails -> Maybe Text)
-> (AwsElbLoadBalancerDetails
-> Maybe Text -> AwsElbLoadBalancerDetails)
-> Lens
AwsElbLoadBalancerDetails
AwsElbLoadBalancerDetails
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElbLoadBalancerDetails' {Maybe Text
loadBalancerName :: Maybe Text
$sel:loadBalancerName:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe Text
loadBalancerName} -> Maybe Text
loadBalancerName) (\s :: AwsElbLoadBalancerDetails
s@AwsElbLoadBalancerDetails' {} Maybe Text
a -> AwsElbLoadBalancerDetails
s {$sel:loadBalancerName:AwsElbLoadBalancerDetails' :: Maybe Text
loadBalancerName = Maybe Text
a} :: AwsElbLoadBalancerDetails)
awsElbLoadBalancerDetails_loadBalancerAttributes :: Lens.Lens' AwsElbLoadBalancerDetails (Prelude.Maybe AwsElbLoadBalancerAttributes)
awsElbLoadBalancerDetails_loadBalancerAttributes :: (Maybe AwsElbLoadBalancerAttributes
-> f (Maybe AwsElbLoadBalancerAttributes))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails
awsElbLoadBalancerDetails_loadBalancerAttributes = (AwsElbLoadBalancerDetails -> Maybe AwsElbLoadBalancerAttributes)
-> (AwsElbLoadBalancerDetails
-> Maybe AwsElbLoadBalancerAttributes -> AwsElbLoadBalancerDetails)
-> Lens
AwsElbLoadBalancerDetails
AwsElbLoadBalancerDetails
(Maybe AwsElbLoadBalancerAttributes)
(Maybe AwsElbLoadBalancerAttributes)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElbLoadBalancerDetails' {Maybe AwsElbLoadBalancerAttributes
loadBalancerAttributes :: Maybe AwsElbLoadBalancerAttributes
$sel:loadBalancerAttributes:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe AwsElbLoadBalancerAttributes
loadBalancerAttributes} -> Maybe AwsElbLoadBalancerAttributes
loadBalancerAttributes) (\s :: AwsElbLoadBalancerDetails
s@AwsElbLoadBalancerDetails' {} Maybe AwsElbLoadBalancerAttributes
a -> AwsElbLoadBalancerDetails
s {$sel:loadBalancerAttributes:AwsElbLoadBalancerDetails' :: Maybe AwsElbLoadBalancerAttributes
loadBalancerAttributes = Maybe AwsElbLoadBalancerAttributes
a} :: AwsElbLoadBalancerDetails)
awsElbLoadBalancerDetails_createdTime :: Lens.Lens' AwsElbLoadBalancerDetails (Prelude.Maybe Prelude.Text)
awsElbLoadBalancerDetails_createdTime :: (Maybe Text -> f (Maybe Text))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails
awsElbLoadBalancerDetails_createdTime = (AwsElbLoadBalancerDetails -> Maybe Text)
-> (AwsElbLoadBalancerDetails
-> Maybe Text -> AwsElbLoadBalancerDetails)
-> Lens
AwsElbLoadBalancerDetails
AwsElbLoadBalancerDetails
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElbLoadBalancerDetails' {Maybe Text
createdTime :: Maybe Text
$sel:createdTime:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe Text
createdTime} -> Maybe Text
createdTime) (\s :: AwsElbLoadBalancerDetails
s@AwsElbLoadBalancerDetails' {} Maybe Text
a -> AwsElbLoadBalancerDetails
s {$sel:createdTime:AwsElbLoadBalancerDetails' :: Maybe Text
createdTime = Maybe Text
a} :: AwsElbLoadBalancerDetails)
awsElbLoadBalancerDetails_vpcId :: Lens.Lens' AwsElbLoadBalancerDetails (Prelude.Maybe Prelude.Text)
awsElbLoadBalancerDetails_vpcId :: (Maybe Text -> f (Maybe Text))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails
awsElbLoadBalancerDetails_vpcId = (AwsElbLoadBalancerDetails -> Maybe Text)
-> (AwsElbLoadBalancerDetails
-> Maybe Text -> AwsElbLoadBalancerDetails)
-> Lens
AwsElbLoadBalancerDetails
AwsElbLoadBalancerDetails
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElbLoadBalancerDetails' {Maybe Text
vpcId :: Maybe Text
$sel:vpcId:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe Text
vpcId} -> Maybe Text
vpcId) (\s :: AwsElbLoadBalancerDetails
s@AwsElbLoadBalancerDetails' {} Maybe Text
a -> AwsElbLoadBalancerDetails
s {$sel:vpcId:AwsElbLoadBalancerDetails' :: Maybe Text
vpcId = Maybe Text
a} :: AwsElbLoadBalancerDetails)
awsElbLoadBalancerDetails_subnets :: Lens.Lens' AwsElbLoadBalancerDetails (Prelude.Maybe [Prelude.Text])
awsElbLoadBalancerDetails_subnets :: (Maybe [Text] -> f (Maybe [Text]))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails
awsElbLoadBalancerDetails_subnets = (AwsElbLoadBalancerDetails -> Maybe [Text])
-> (AwsElbLoadBalancerDetails
-> Maybe [Text] -> AwsElbLoadBalancerDetails)
-> Lens
AwsElbLoadBalancerDetails
AwsElbLoadBalancerDetails
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElbLoadBalancerDetails' {Maybe [Text]
subnets :: Maybe [Text]
$sel:subnets:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe [Text]
subnets} -> Maybe [Text]
subnets) (\s :: AwsElbLoadBalancerDetails
s@AwsElbLoadBalancerDetails' {} Maybe [Text]
a -> AwsElbLoadBalancerDetails
s {$sel:subnets:AwsElbLoadBalancerDetails' :: Maybe [Text]
subnets = Maybe [Text]
a} :: AwsElbLoadBalancerDetails) ((Maybe [Text] -> f (Maybe [Text]))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> AwsElbLoadBalancerDetails
-> f AwsElbLoadBalancerDetails
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
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 [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
awsElbLoadBalancerDetails_availabilityZones :: Lens.Lens' AwsElbLoadBalancerDetails (Prelude.Maybe [Prelude.Text])
awsElbLoadBalancerDetails_availabilityZones :: (Maybe [Text] -> f (Maybe [Text]))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails
awsElbLoadBalancerDetails_availabilityZones = (AwsElbLoadBalancerDetails -> Maybe [Text])
-> (AwsElbLoadBalancerDetails
-> Maybe [Text] -> AwsElbLoadBalancerDetails)
-> Lens
AwsElbLoadBalancerDetails
AwsElbLoadBalancerDetails
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElbLoadBalancerDetails' {Maybe [Text]
availabilityZones :: Maybe [Text]
$sel:availabilityZones:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe [Text]
availabilityZones} -> Maybe [Text]
availabilityZones) (\s :: AwsElbLoadBalancerDetails
s@AwsElbLoadBalancerDetails' {} Maybe [Text]
a -> AwsElbLoadBalancerDetails
s {$sel:availabilityZones:AwsElbLoadBalancerDetails' :: Maybe [Text]
availabilityZones = Maybe [Text]
a} :: AwsElbLoadBalancerDetails) ((Maybe [Text] -> f (Maybe [Text]))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> AwsElbLoadBalancerDetails
-> f AwsElbLoadBalancerDetails
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
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 [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
awsElbLoadBalancerDetails_backendServerDescriptions :: Lens.Lens' AwsElbLoadBalancerDetails (Prelude.Maybe [AwsElbLoadBalancerBackendServerDescription])
awsElbLoadBalancerDetails_backendServerDescriptions :: (Maybe [AwsElbLoadBalancerBackendServerDescription]
-> f (Maybe [AwsElbLoadBalancerBackendServerDescription]))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails
awsElbLoadBalancerDetails_backendServerDescriptions = (AwsElbLoadBalancerDetails
-> Maybe [AwsElbLoadBalancerBackendServerDescription])
-> (AwsElbLoadBalancerDetails
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> AwsElbLoadBalancerDetails)
-> Lens
AwsElbLoadBalancerDetails
AwsElbLoadBalancerDetails
(Maybe [AwsElbLoadBalancerBackendServerDescription])
(Maybe [AwsElbLoadBalancerBackendServerDescription])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElbLoadBalancerDetails' {Maybe [AwsElbLoadBalancerBackendServerDescription]
backendServerDescriptions :: Maybe [AwsElbLoadBalancerBackendServerDescription]
$sel:backendServerDescriptions:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
backendServerDescriptions} -> Maybe [AwsElbLoadBalancerBackendServerDescription]
backendServerDescriptions) (\s :: AwsElbLoadBalancerDetails
s@AwsElbLoadBalancerDetails' {} Maybe [AwsElbLoadBalancerBackendServerDescription]
a -> AwsElbLoadBalancerDetails
s {$sel:backendServerDescriptions:AwsElbLoadBalancerDetails' :: Maybe [AwsElbLoadBalancerBackendServerDescription]
backendServerDescriptions = Maybe [AwsElbLoadBalancerBackendServerDescription]
a} :: AwsElbLoadBalancerDetails) ((Maybe [AwsElbLoadBalancerBackendServerDescription]
-> f (Maybe [AwsElbLoadBalancerBackendServerDescription]))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails)
-> ((Maybe [AwsElbLoadBalancerBackendServerDescription]
-> f (Maybe [AwsElbLoadBalancerBackendServerDescription]))
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> f (Maybe [AwsElbLoadBalancerBackendServerDescription]))
-> (Maybe [AwsElbLoadBalancerBackendServerDescription]
-> f (Maybe [AwsElbLoadBalancerBackendServerDescription]))
-> AwsElbLoadBalancerDetails
-> f AwsElbLoadBalancerDetails
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[AwsElbLoadBalancerBackendServerDescription]
[AwsElbLoadBalancerBackendServerDescription]
[AwsElbLoadBalancerBackendServerDescription]
[AwsElbLoadBalancerBackendServerDescription]
-> Iso
(Maybe [AwsElbLoadBalancerBackendServerDescription])
(Maybe [AwsElbLoadBalancerBackendServerDescription])
(Maybe [AwsElbLoadBalancerBackendServerDescription])
(Maybe [AwsElbLoadBalancerBackendServerDescription])
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
[AwsElbLoadBalancerBackendServerDescription]
[AwsElbLoadBalancerBackendServerDescription]
[AwsElbLoadBalancerBackendServerDescription]
[AwsElbLoadBalancerBackendServerDescription]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
awsElbLoadBalancerDetails_canonicalHostedZoneNameID :: Lens.Lens' AwsElbLoadBalancerDetails (Prelude.Maybe Prelude.Text)
awsElbLoadBalancerDetails_canonicalHostedZoneNameID :: (Maybe Text -> f (Maybe Text))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails
awsElbLoadBalancerDetails_canonicalHostedZoneNameID = (AwsElbLoadBalancerDetails -> Maybe Text)
-> (AwsElbLoadBalancerDetails
-> Maybe Text -> AwsElbLoadBalancerDetails)
-> Lens
AwsElbLoadBalancerDetails
AwsElbLoadBalancerDetails
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElbLoadBalancerDetails' {Maybe Text
canonicalHostedZoneNameID :: Maybe Text
$sel:canonicalHostedZoneNameID:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe Text
canonicalHostedZoneNameID} -> Maybe Text
canonicalHostedZoneNameID) (\s :: AwsElbLoadBalancerDetails
s@AwsElbLoadBalancerDetails' {} Maybe Text
a -> AwsElbLoadBalancerDetails
s {$sel:canonicalHostedZoneNameID:AwsElbLoadBalancerDetails' :: Maybe Text
canonicalHostedZoneNameID = Maybe Text
a} :: AwsElbLoadBalancerDetails)
awsElbLoadBalancerDetails_instances :: Lens.Lens' AwsElbLoadBalancerDetails (Prelude.Maybe [AwsElbLoadBalancerInstance])
awsElbLoadBalancerDetails_instances :: (Maybe [AwsElbLoadBalancerInstance]
-> f (Maybe [AwsElbLoadBalancerInstance]))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails
awsElbLoadBalancerDetails_instances = (AwsElbLoadBalancerDetails -> Maybe [AwsElbLoadBalancerInstance])
-> (AwsElbLoadBalancerDetails
-> Maybe [AwsElbLoadBalancerInstance] -> AwsElbLoadBalancerDetails)
-> Lens
AwsElbLoadBalancerDetails
AwsElbLoadBalancerDetails
(Maybe [AwsElbLoadBalancerInstance])
(Maybe [AwsElbLoadBalancerInstance])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElbLoadBalancerDetails' {Maybe [AwsElbLoadBalancerInstance]
instances :: Maybe [AwsElbLoadBalancerInstance]
$sel:instances:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe [AwsElbLoadBalancerInstance]
instances} -> Maybe [AwsElbLoadBalancerInstance]
instances) (\s :: AwsElbLoadBalancerDetails
s@AwsElbLoadBalancerDetails' {} Maybe [AwsElbLoadBalancerInstance]
a -> AwsElbLoadBalancerDetails
s {$sel:instances:AwsElbLoadBalancerDetails' :: Maybe [AwsElbLoadBalancerInstance]
instances = Maybe [AwsElbLoadBalancerInstance]
a} :: AwsElbLoadBalancerDetails) ((Maybe [AwsElbLoadBalancerInstance]
-> f (Maybe [AwsElbLoadBalancerInstance]))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails)
-> ((Maybe [AwsElbLoadBalancerInstance]
-> f (Maybe [AwsElbLoadBalancerInstance]))
-> Maybe [AwsElbLoadBalancerInstance]
-> f (Maybe [AwsElbLoadBalancerInstance]))
-> (Maybe [AwsElbLoadBalancerInstance]
-> f (Maybe [AwsElbLoadBalancerInstance]))
-> AwsElbLoadBalancerDetails
-> f AwsElbLoadBalancerDetails
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[AwsElbLoadBalancerInstance]
[AwsElbLoadBalancerInstance]
[AwsElbLoadBalancerInstance]
[AwsElbLoadBalancerInstance]
-> Iso
(Maybe [AwsElbLoadBalancerInstance])
(Maybe [AwsElbLoadBalancerInstance])
(Maybe [AwsElbLoadBalancerInstance])
(Maybe [AwsElbLoadBalancerInstance])
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
[AwsElbLoadBalancerInstance]
[AwsElbLoadBalancerInstance]
[AwsElbLoadBalancerInstance]
[AwsElbLoadBalancerInstance]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
awsElbLoadBalancerDetails_scheme :: Lens.Lens' AwsElbLoadBalancerDetails (Prelude.Maybe Prelude.Text)
awsElbLoadBalancerDetails_scheme :: (Maybe Text -> f (Maybe Text))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails
awsElbLoadBalancerDetails_scheme = (AwsElbLoadBalancerDetails -> Maybe Text)
-> (AwsElbLoadBalancerDetails
-> Maybe Text -> AwsElbLoadBalancerDetails)
-> Lens
AwsElbLoadBalancerDetails
AwsElbLoadBalancerDetails
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElbLoadBalancerDetails' {Maybe Text
scheme :: Maybe Text
$sel:scheme:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe Text
scheme} -> Maybe Text
scheme) (\s :: AwsElbLoadBalancerDetails
s@AwsElbLoadBalancerDetails' {} Maybe Text
a -> AwsElbLoadBalancerDetails
s {$sel:scheme:AwsElbLoadBalancerDetails' :: Maybe Text
scheme = Maybe Text
a} :: AwsElbLoadBalancerDetails)
awsElbLoadBalancerDetails_listenerDescriptions :: Lens.Lens' AwsElbLoadBalancerDetails (Prelude.Maybe [AwsElbLoadBalancerListenerDescription])
awsElbLoadBalancerDetails_listenerDescriptions :: (Maybe [AwsElbLoadBalancerListenerDescription]
-> f (Maybe [AwsElbLoadBalancerListenerDescription]))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails
awsElbLoadBalancerDetails_listenerDescriptions = (AwsElbLoadBalancerDetails
-> Maybe [AwsElbLoadBalancerListenerDescription])
-> (AwsElbLoadBalancerDetails
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> AwsElbLoadBalancerDetails)
-> Lens
AwsElbLoadBalancerDetails
AwsElbLoadBalancerDetails
(Maybe [AwsElbLoadBalancerListenerDescription])
(Maybe [AwsElbLoadBalancerListenerDescription])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElbLoadBalancerDetails' {Maybe [AwsElbLoadBalancerListenerDescription]
listenerDescriptions :: Maybe [AwsElbLoadBalancerListenerDescription]
$sel:listenerDescriptions:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails
-> Maybe [AwsElbLoadBalancerListenerDescription]
listenerDescriptions} -> Maybe [AwsElbLoadBalancerListenerDescription]
listenerDescriptions) (\s :: AwsElbLoadBalancerDetails
s@AwsElbLoadBalancerDetails' {} Maybe [AwsElbLoadBalancerListenerDescription]
a -> AwsElbLoadBalancerDetails
s {$sel:listenerDescriptions:AwsElbLoadBalancerDetails' :: Maybe [AwsElbLoadBalancerListenerDescription]
listenerDescriptions = Maybe [AwsElbLoadBalancerListenerDescription]
a} :: AwsElbLoadBalancerDetails) ((Maybe [AwsElbLoadBalancerListenerDescription]
-> f (Maybe [AwsElbLoadBalancerListenerDescription]))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails)
-> ((Maybe [AwsElbLoadBalancerListenerDescription]
-> f (Maybe [AwsElbLoadBalancerListenerDescription]))
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> f (Maybe [AwsElbLoadBalancerListenerDescription]))
-> (Maybe [AwsElbLoadBalancerListenerDescription]
-> f (Maybe [AwsElbLoadBalancerListenerDescription]))
-> AwsElbLoadBalancerDetails
-> f AwsElbLoadBalancerDetails
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[AwsElbLoadBalancerListenerDescription]
[AwsElbLoadBalancerListenerDescription]
[AwsElbLoadBalancerListenerDescription]
[AwsElbLoadBalancerListenerDescription]
-> Iso
(Maybe [AwsElbLoadBalancerListenerDescription])
(Maybe [AwsElbLoadBalancerListenerDescription])
(Maybe [AwsElbLoadBalancerListenerDescription])
(Maybe [AwsElbLoadBalancerListenerDescription])
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
[AwsElbLoadBalancerListenerDescription]
[AwsElbLoadBalancerListenerDescription]
[AwsElbLoadBalancerListenerDescription]
[AwsElbLoadBalancerListenerDescription]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
awsElbLoadBalancerDetails_dnsName :: Lens.Lens' AwsElbLoadBalancerDetails (Prelude.Maybe Prelude.Text)
awsElbLoadBalancerDetails_dnsName :: (Maybe Text -> f (Maybe Text))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails
awsElbLoadBalancerDetails_dnsName = (AwsElbLoadBalancerDetails -> Maybe Text)
-> (AwsElbLoadBalancerDetails
-> Maybe Text -> AwsElbLoadBalancerDetails)
-> Lens
AwsElbLoadBalancerDetails
AwsElbLoadBalancerDetails
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElbLoadBalancerDetails' {Maybe Text
dnsName :: Maybe Text
$sel:dnsName:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe Text
dnsName} -> Maybe Text
dnsName) (\s :: AwsElbLoadBalancerDetails
s@AwsElbLoadBalancerDetails' {} Maybe Text
a -> AwsElbLoadBalancerDetails
s {$sel:dnsName:AwsElbLoadBalancerDetails' :: Maybe Text
dnsName = Maybe Text
a} :: AwsElbLoadBalancerDetails)
awsElbLoadBalancerDetails_policies :: Lens.Lens' AwsElbLoadBalancerDetails (Prelude.Maybe AwsElbLoadBalancerPolicies)
awsElbLoadBalancerDetails_policies :: (Maybe AwsElbLoadBalancerPolicies
-> f (Maybe AwsElbLoadBalancerPolicies))
-> AwsElbLoadBalancerDetails -> f AwsElbLoadBalancerDetails
awsElbLoadBalancerDetails_policies = (AwsElbLoadBalancerDetails -> Maybe AwsElbLoadBalancerPolicies)
-> (AwsElbLoadBalancerDetails
-> Maybe AwsElbLoadBalancerPolicies -> AwsElbLoadBalancerDetails)
-> Lens
AwsElbLoadBalancerDetails
AwsElbLoadBalancerDetails
(Maybe AwsElbLoadBalancerPolicies)
(Maybe AwsElbLoadBalancerPolicies)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AwsElbLoadBalancerDetails' {Maybe AwsElbLoadBalancerPolicies
policies :: Maybe AwsElbLoadBalancerPolicies
$sel:policies:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe AwsElbLoadBalancerPolicies
policies} -> Maybe AwsElbLoadBalancerPolicies
policies) (\s :: AwsElbLoadBalancerDetails
s@AwsElbLoadBalancerDetails' {} Maybe AwsElbLoadBalancerPolicies
a -> AwsElbLoadBalancerDetails
s {$sel:policies:AwsElbLoadBalancerDetails' :: Maybe AwsElbLoadBalancerPolicies
policies = Maybe AwsElbLoadBalancerPolicies
a} :: AwsElbLoadBalancerDetails)
instance Core.FromJSON AwsElbLoadBalancerDetails where
parseJSON :: Value -> Parser AwsElbLoadBalancerDetails
parseJSON =
String
-> (Object -> Parser AwsElbLoadBalancerDetails)
-> Value
-> Parser AwsElbLoadBalancerDetails
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"AwsElbLoadBalancerDetails"
( \Object
x ->
Maybe AwsElbLoadBalancerSourceSecurityGroup
-> Maybe Text
-> Maybe [Text]
-> Maybe AwsElbLoadBalancerHealthCheck
-> Maybe Text
-> Maybe AwsElbLoadBalancerAttributes
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails
AwsElbLoadBalancerDetails'
(Maybe AwsElbLoadBalancerSourceSecurityGroup
-> Maybe Text
-> Maybe [Text]
-> Maybe AwsElbLoadBalancerHealthCheck
-> Maybe Text
-> Maybe AwsElbLoadBalancerAttributes
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
-> Parser (Maybe AwsElbLoadBalancerSourceSecurityGroup)
-> Parser
(Maybe Text
-> Maybe [Text]
-> Maybe AwsElbLoadBalancerHealthCheck
-> Maybe Text
-> Maybe AwsElbLoadBalancerAttributes
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object
-> Text -> Parser (Maybe AwsElbLoadBalancerSourceSecurityGroup)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"SourceSecurityGroup")
Parser
(Maybe Text
-> Maybe [Text]
-> Maybe AwsElbLoadBalancerHealthCheck
-> Maybe Text
-> Maybe AwsElbLoadBalancerAttributes
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe [Text]
-> Maybe AwsElbLoadBalancerHealthCheck
-> Maybe Text
-> Maybe AwsElbLoadBalancerAttributes
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
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
"CanonicalHostedZoneName")
Parser
(Maybe [Text]
-> Maybe AwsElbLoadBalancerHealthCheck
-> Maybe Text
-> Maybe AwsElbLoadBalancerAttributes
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
-> Parser (Maybe [Text])
-> Parser
(Maybe AwsElbLoadBalancerHealthCheck
-> Maybe Text
-> Maybe AwsElbLoadBalancerAttributes
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"SecurityGroups" Parser (Maybe (Maybe [Text]))
-> Maybe [Text] -> Parser (Maybe [Text])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Text]
forall a. Monoid a => a
Prelude.mempty)
Parser
(Maybe AwsElbLoadBalancerHealthCheck
-> Maybe Text
-> Maybe AwsElbLoadBalancerAttributes
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
-> Parser (Maybe AwsElbLoadBalancerHealthCheck)
-> Parser
(Maybe Text
-> Maybe AwsElbLoadBalancerAttributes
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe AwsElbLoadBalancerHealthCheck)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"HealthCheck")
Parser
(Maybe Text
-> Maybe AwsElbLoadBalancerAttributes
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe AwsElbLoadBalancerAttributes
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
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
"LoadBalancerName")
Parser
(Maybe AwsElbLoadBalancerAttributes
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
-> Parser (Maybe AwsElbLoadBalancerAttributes)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe AwsElbLoadBalancerAttributes)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"LoadBalancerAttributes")
Parser
(Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
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
"CreatedTime")
Parser
(Maybe Text
-> Maybe [Text]
-> Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe [Text]
-> Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
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
"VpcId")
Parser
(Maybe [Text]
-> Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
-> Parser (Maybe [Text])
-> Parser
(Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Subnets" Parser (Maybe (Maybe [Text]))
-> Maybe [Text] -> Parser (Maybe [Text])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Text]
forall a. Monoid a => a
Prelude.mempty)
Parser
(Maybe [Text]
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
-> Parser (Maybe [Text])
-> Parser
(Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Parser (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"AvailabilityZones"
Parser (Maybe (Maybe [Text]))
-> Maybe [Text] -> Parser (Maybe [Text])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Text]
forall a. Monoid a => a
Prelude.mempty
)
Parser
(Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
-> Parser (Maybe [AwsElbLoadBalancerBackendServerDescription])
-> Parser
(Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text
-> Parser
(Maybe (Maybe [AwsElbLoadBalancerBackendServerDescription]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"BackendServerDescriptions"
Parser (Maybe (Maybe [AwsElbLoadBalancerBackendServerDescription]))
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
-> Parser (Maybe [AwsElbLoadBalancerBackendServerDescription])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [AwsElbLoadBalancerBackendServerDescription]
forall a. Monoid a => a
Prelude.mempty
)
Parser
(Maybe Text
-> Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
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
"CanonicalHostedZoneNameID")
Parser
(Maybe [AwsElbLoadBalancerInstance]
-> Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
-> Parser (Maybe [AwsElbLoadBalancerInstance])
-> Parser
(Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object
-> Text -> Parser (Maybe (Maybe [AwsElbLoadBalancerInstance]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Instances" Parser (Maybe (Maybe [AwsElbLoadBalancerInstance]))
-> Maybe [AwsElbLoadBalancerInstance]
-> Parser (Maybe [AwsElbLoadBalancerInstance])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [AwsElbLoadBalancerInstance]
forall a. Monoid a => a
Prelude.mempty)
Parser
(Maybe Text
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
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
"Scheme")
Parser
(Maybe [AwsElbLoadBalancerListenerDescription]
-> Maybe Text
-> Maybe AwsElbLoadBalancerPolicies
-> AwsElbLoadBalancerDetails)
-> Parser (Maybe [AwsElbLoadBalancerListenerDescription])
-> Parser
(Maybe Text
-> Maybe AwsElbLoadBalancerPolicies -> AwsElbLoadBalancerDetails)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text
-> Parser (Maybe (Maybe [AwsElbLoadBalancerListenerDescription]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ListenerDescriptions"
Parser (Maybe (Maybe [AwsElbLoadBalancerListenerDescription]))
-> Maybe [AwsElbLoadBalancerListenerDescription]
-> Parser (Maybe [AwsElbLoadBalancerListenerDescription])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [AwsElbLoadBalancerListenerDescription]
forall a. Monoid a => a
Prelude.mempty
)
Parser
(Maybe Text
-> Maybe AwsElbLoadBalancerPolicies -> AwsElbLoadBalancerDetails)
-> Parser (Maybe Text)
-> Parser
(Maybe AwsElbLoadBalancerPolicies -> AwsElbLoadBalancerDetails)
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
"DnsName")
Parser
(Maybe AwsElbLoadBalancerPolicies -> AwsElbLoadBalancerDetails)
-> Parser (Maybe AwsElbLoadBalancerPolicies)
-> Parser AwsElbLoadBalancerDetails
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe AwsElbLoadBalancerPolicies)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Policies")
)
instance Prelude.Hashable AwsElbLoadBalancerDetails
instance Prelude.NFData AwsElbLoadBalancerDetails
instance Core.ToJSON AwsElbLoadBalancerDetails where
toJSON :: AwsElbLoadBalancerDetails -> Value
toJSON AwsElbLoadBalancerDetails' {Maybe [Text]
Maybe [AwsElbLoadBalancerBackendServerDescription]
Maybe [AwsElbLoadBalancerInstance]
Maybe [AwsElbLoadBalancerListenerDescription]
Maybe Text
Maybe AwsElbLoadBalancerAttributes
Maybe AwsElbLoadBalancerHealthCheck
Maybe AwsElbLoadBalancerPolicies
Maybe AwsElbLoadBalancerSourceSecurityGroup
policies :: Maybe AwsElbLoadBalancerPolicies
dnsName :: Maybe Text
listenerDescriptions :: Maybe [AwsElbLoadBalancerListenerDescription]
scheme :: Maybe Text
instances :: Maybe [AwsElbLoadBalancerInstance]
canonicalHostedZoneNameID :: Maybe Text
backendServerDescriptions :: Maybe [AwsElbLoadBalancerBackendServerDescription]
availabilityZones :: Maybe [Text]
subnets :: Maybe [Text]
vpcId :: Maybe Text
createdTime :: Maybe Text
loadBalancerAttributes :: Maybe AwsElbLoadBalancerAttributes
loadBalancerName :: Maybe Text
healthCheck :: Maybe AwsElbLoadBalancerHealthCheck
securityGroups :: Maybe [Text]
canonicalHostedZoneName :: Maybe Text
sourceSecurityGroup :: Maybe AwsElbLoadBalancerSourceSecurityGroup
$sel:policies:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe AwsElbLoadBalancerPolicies
$sel:dnsName:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe Text
$sel:listenerDescriptions:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails
-> Maybe [AwsElbLoadBalancerListenerDescription]
$sel:scheme:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe Text
$sel:instances:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe [AwsElbLoadBalancerInstance]
$sel:canonicalHostedZoneNameID:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe Text
$sel:backendServerDescriptions:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails
-> Maybe [AwsElbLoadBalancerBackendServerDescription]
$sel:availabilityZones:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe [Text]
$sel:subnets:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe [Text]
$sel:vpcId:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe Text
$sel:createdTime:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe Text
$sel:loadBalancerAttributes:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe AwsElbLoadBalancerAttributes
$sel:loadBalancerName:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe Text
$sel:healthCheck:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe AwsElbLoadBalancerHealthCheck
$sel:securityGroups:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe [Text]
$sel:canonicalHostedZoneName:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails -> Maybe Text
$sel:sourceSecurityGroup:AwsElbLoadBalancerDetails' :: AwsElbLoadBalancerDetails
-> Maybe AwsElbLoadBalancerSourceSecurityGroup
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"SourceSecurityGroup" Text -> AwsElbLoadBalancerSourceSecurityGroup -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(AwsElbLoadBalancerSourceSecurityGroup -> Pair)
-> Maybe AwsElbLoadBalancerSourceSecurityGroup -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AwsElbLoadBalancerSourceSecurityGroup
sourceSecurityGroup,
(Text
"CanonicalHostedZoneName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
canonicalHostedZoneName,
(Text
"SecurityGroups" Text -> [Text] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
([Text] -> Pair) -> Maybe [Text] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
securityGroups,
(Text
"HealthCheck" Text -> AwsElbLoadBalancerHealthCheck -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (AwsElbLoadBalancerHealthCheck -> Pair)
-> Maybe AwsElbLoadBalancerHealthCheck -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AwsElbLoadBalancerHealthCheck
healthCheck,
(Text
"LoadBalancerName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
loadBalancerName,
(Text
"LoadBalancerAttributes" Text -> AwsElbLoadBalancerAttributes -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(AwsElbLoadBalancerAttributes -> Pair)
-> Maybe AwsElbLoadBalancerAttributes -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AwsElbLoadBalancerAttributes
loadBalancerAttributes,
(Text
"CreatedTime" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
createdTime,
(Text
"VpcId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
vpcId,
(Text
"Subnets" Text -> [Text] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) ([Text] -> Pair) -> Maybe [Text] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
subnets,
(Text
"AvailabilityZones" Text -> [Text] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
([Text] -> Pair) -> Maybe [Text] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
availabilityZones,
(Text
"BackendServerDescriptions" Text -> [AwsElbLoadBalancerBackendServerDescription] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
([AwsElbLoadBalancerBackendServerDescription] -> Pair)
-> Maybe [AwsElbLoadBalancerBackendServerDescription] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [AwsElbLoadBalancerBackendServerDescription]
backendServerDescriptions,
(Text
"CanonicalHostedZoneNameID" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
canonicalHostedZoneNameID,
(Text
"Instances" Text -> [AwsElbLoadBalancerInstance] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) ([AwsElbLoadBalancerInstance] -> Pair)
-> Maybe [AwsElbLoadBalancerInstance] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [AwsElbLoadBalancerInstance]
instances,
(Text
"Scheme" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
scheme,
(Text
"ListenerDescriptions" Text -> [AwsElbLoadBalancerListenerDescription] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
([AwsElbLoadBalancerListenerDescription] -> Pair)
-> Maybe [AwsElbLoadBalancerListenerDescription] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [AwsElbLoadBalancerListenerDescription]
listenerDescriptions,
(Text
"DnsName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
dnsName,
(Text
"Policies" Text -> AwsElbLoadBalancerPolicies -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (AwsElbLoadBalancerPolicies -> Pair)
-> Maybe AwsElbLoadBalancerPolicies -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AwsElbLoadBalancerPolicies
policies
]
)