{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.ELB.DescribeLoadBalancerPolicyTypes
(
DescribeLoadBalancerPolicyTypes (..),
newDescribeLoadBalancerPolicyTypes,
describeLoadBalancerPolicyTypes_policyTypeNames,
DescribeLoadBalancerPolicyTypesResponse (..),
newDescribeLoadBalancerPolicyTypesResponse,
describeLoadBalancerPolicyTypesResponse_policyTypeDescriptions,
describeLoadBalancerPolicyTypesResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.ELB.Types
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data DescribeLoadBalancerPolicyTypes = DescribeLoadBalancerPolicyTypes'
{
DescribeLoadBalancerPolicyTypes -> Maybe [Text]
policyTypeNames :: Prelude.Maybe [Prelude.Text]
}
deriving (DescribeLoadBalancerPolicyTypes
-> DescribeLoadBalancerPolicyTypes -> Bool
(DescribeLoadBalancerPolicyTypes
-> DescribeLoadBalancerPolicyTypes -> Bool)
-> (DescribeLoadBalancerPolicyTypes
-> DescribeLoadBalancerPolicyTypes -> Bool)
-> Eq DescribeLoadBalancerPolicyTypes
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeLoadBalancerPolicyTypes
-> DescribeLoadBalancerPolicyTypes -> Bool
$c/= :: DescribeLoadBalancerPolicyTypes
-> DescribeLoadBalancerPolicyTypes -> Bool
== :: DescribeLoadBalancerPolicyTypes
-> DescribeLoadBalancerPolicyTypes -> Bool
$c== :: DescribeLoadBalancerPolicyTypes
-> DescribeLoadBalancerPolicyTypes -> Bool
Prelude.Eq, ReadPrec [DescribeLoadBalancerPolicyTypes]
ReadPrec DescribeLoadBalancerPolicyTypes
Int -> ReadS DescribeLoadBalancerPolicyTypes
ReadS [DescribeLoadBalancerPolicyTypes]
(Int -> ReadS DescribeLoadBalancerPolicyTypes)
-> ReadS [DescribeLoadBalancerPolicyTypes]
-> ReadPrec DescribeLoadBalancerPolicyTypes
-> ReadPrec [DescribeLoadBalancerPolicyTypes]
-> Read DescribeLoadBalancerPolicyTypes
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeLoadBalancerPolicyTypes]
$creadListPrec :: ReadPrec [DescribeLoadBalancerPolicyTypes]
readPrec :: ReadPrec DescribeLoadBalancerPolicyTypes
$creadPrec :: ReadPrec DescribeLoadBalancerPolicyTypes
readList :: ReadS [DescribeLoadBalancerPolicyTypes]
$creadList :: ReadS [DescribeLoadBalancerPolicyTypes]
readsPrec :: Int -> ReadS DescribeLoadBalancerPolicyTypes
$creadsPrec :: Int -> ReadS DescribeLoadBalancerPolicyTypes
Prelude.Read, Int -> DescribeLoadBalancerPolicyTypes -> ShowS
[DescribeLoadBalancerPolicyTypes] -> ShowS
DescribeLoadBalancerPolicyTypes -> String
(Int -> DescribeLoadBalancerPolicyTypes -> ShowS)
-> (DescribeLoadBalancerPolicyTypes -> String)
-> ([DescribeLoadBalancerPolicyTypes] -> ShowS)
-> Show DescribeLoadBalancerPolicyTypes
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeLoadBalancerPolicyTypes] -> ShowS
$cshowList :: [DescribeLoadBalancerPolicyTypes] -> ShowS
show :: DescribeLoadBalancerPolicyTypes -> String
$cshow :: DescribeLoadBalancerPolicyTypes -> String
showsPrec :: Int -> DescribeLoadBalancerPolicyTypes -> ShowS
$cshowsPrec :: Int -> DescribeLoadBalancerPolicyTypes -> ShowS
Prelude.Show, (forall x.
DescribeLoadBalancerPolicyTypes
-> Rep DescribeLoadBalancerPolicyTypes x)
-> (forall x.
Rep DescribeLoadBalancerPolicyTypes x
-> DescribeLoadBalancerPolicyTypes)
-> Generic DescribeLoadBalancerPolicyTypes
forall x.
Rep DescribeLoadBalancerPolicyTypes x
-> DescribeLoadBalancerPolicyTypes
forall x.
DescribeLoadBalancerPolicyTypes
-> Rep DescribeLoadBalancerPolicyTypes x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeLoadBalancerPolicyTypes x
-> DescribeLoadBalancerPolicyTypes
$cfrom :: forall x.
DescribeLoadBalancerPolicyTypes
-> Rep DescribeLoadBalancerPolicyTypes x
Prelude.Generic)
newDescribeLoadBalancerPolicyTypes ::
DescribeLoadBalancerPolicyTypes
newDescribeLoadBalancerPolicyTypes :: DescribeLoadBalancerPolicyTypes
newDescribeLoadBalancerPolicyTypes =
DescribeLoadBalancerPolicyTypes' :: Maybe [Text] -> DescribeLoadBalancerPolicyTypes
DescribeLoadBalancerPolicyTypes'
{ $sel:policyTypeNames:DescribeLoadBalancerPolicyTypes' :: Maybe [Text]
policyTypeNames =
Maybe [Text]
forall a. Maybe a
Prelude.Nothing
}
describeLoadBalancerPolicyTypes_policyTypeNames :: Lens.Lens' DescribeLoadBalancerPolicyTypes (Prelude.Maybe [Prelude.Text])
describeLoadBalancerPolicyTypes_policyTypeNames :: (Maybe [Text] -> f (Maybe [Text]))
-> DescribeLoadBalancerPolicyTypes
-> f DescribeLoadBalancerPolicyTypes
describeLoadBalancerPolicyTypes_policyTypeNames = (DescribeLoadBalancerPolicyTypes -> Maybe [Text])
-> (DescribeLoadBalancerPolicyTypes
-> Maybe [Text] -> DescribeLoadBalancerPolicyTypes)
-> Lens
DescribeLoadBalancerPolicyTypes
DescribeLoadBalancerPolicyTypes
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeLoadBalancerPolicyTypes' {Maybe [Text]
policyTypeNames :: Maybe [Text]
$sel:policyTypeNames:DescribeLoadBalancerPolicyTypes' :: DescribeLoadBalancerPolicyTypes -> Maybe [Text]
policyTypeNames} -> Maybe [Text]
policyTypeNames) (\s :: DescribeLoadBalancerPolicyTypes
s@DescribeLoadBalancerPolicyTypes' {} Maybe [Text]
a -> DescribeLoadBalancerPolicyTypes
s {$sel:policyTypeNames:DescribeLoadBalancerPolicyTypes' :: Maybe [Text]
policyTypeNames = Maybe [Text]
a} :: DescribeLoadBalancerPolicyTypes) ((Maybe [Text] -> f (Maybe [Text]))
-> DescribeLoadBalancerPolicyTypes
-> f DescribeLoadBalancerPolicyTypes)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> DescribeLoadBalancerPolicyTypes
-> f DescribeLoadBalancerPolicyTypes
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
instance
Core.AWSRequest
DescribeLoadBalancerPolicyTypes
where
type
AWSResponse DescribeLoadBalancerPolicyTypes =
DescribeLoadBalancerPolicyTypesResponse
request :: DescribeLoadBalancerPolicyTypes
-> Request DescribeLoadBalancerPolicyTypes
request = Service
-> DescribeLoadBalancerPolicyTypes
-> Request DescribeLoadBalancerPolicyTypes
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeLoadBalancerPolicyTypes
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse DescribeLoadBalancerPolicyTypes)))
response =
Text
-> (Int
-> ResponseHeaders
-> [Node]
-> Either String (AWSResponse DescribeLoadBalancerPolicyTypes))
-> Logger
-> Service
-> Proxy DescribeLoadBalancerPolicyTypes
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse DescribeLoadBalancerPolicyTypes)))
forall (m :: * -> *) a.
MonadResource m =>
Text
-> (Int
-> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveXMLWrapper
Text
"DescribeLoadBalancerPolicyTypesResult"
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe [PolicyTypeDescription]
-> Int -> DescribeLoadBalancerPolicyTypesResponse
DescribeLoadBalancerPolicyTypesResponse'
(Maybe [PolicyTypeDescription]
-> Int -> DescribeLoadBalancerPolicyTypesResponse)
-> Either String (Maybe [PolicyTypeDescription])
-> Either String (Int -> DescribeLoadBalancerPolicyTypesResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( [Node]
x [Node] -> Text -> Either String (Maybe [Node])
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"PolicyTypeDescriptions"
Either String (Maybe [Node]) -> [Node] -> Either String [Node]
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ [Node]
forall a. Monoid a => a
Prelude.mempty
Either String [Node]
-> ([Node] -> Either String (Maybe [PolicyTypeDescription]))
-> Either String (Maybe [PolicyTypeDescription])
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= ([Node] -> Either String [PolicyTypeDescription])
-> [Node] -> Either String (Maybe [PolicyTypeDescription])
forall (f :: * -> *) a b.
Applicative f =>
([a] -> f b) -> [a] -> f (Maybe b)
Core.may (Text -> [Node] -> Either String [PolicyTypeDescription]
forall a. FromXML a => Text -> [Node] -> Either String [a]
Core.parseXMLList Text
"member")
)
Either String (Int -> DescribeLoadBalancerPolicyTypesResponse)
-> Either String Int
-> Either String DescribeLoadBalancerPolicyTypesResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance
Prelude.Hashable
DescribeLoadBalancerPolicyTypes
instance
Prelude.NFData
DescribeLoadBalancerPolicyTypes
instance
Core.ToHeaders
DescribeLoadBalancerPolicyTypes
where
toHeaders :: DescribeLoadBalancerPolicyTypes -> ResponseHeaders
toHeaders = ResponseHeaders
-> DescribeLoadBalancerPolicyTypes -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance Core.ToPath DescribeLoadBalancerPolicyTypes where
toPath :: DescribeLoadBalancerPolicyTypes -> ByteString
toPath = ByteString -> DescribeLoadBalancerPolicyTypes -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery DescribeLoadBalancerPolicyTypes where
toQuery :: DescribeLoadBalancerPolicyTypes -> QueryString
toQuery DescribeLoadBalancerPolicyTypes' {Maybe [Text]
policyTypeNames :: Maybe [Text]
$sel:policyTypeNames:DescribeLoadBalancerPolicyTypes' :: DescribeLoadBalancerPolicyTypes -> Maybe [Text]
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Action"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: ( ByteString
"DescribeLoadBalancerPolicyTypes" ::
Prelude.ByteString
),
ByteString
"Version"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2012-06-01" :: Prelude.ByteString),
ByteString
"PolicyTypeNames"
ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe QueryString -> QueryString
forall a. ToQuery a => a -> QueryString
Core.toQuery
( ByteString -> [Text] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"member"
([Text] -> QueryString) -> Maybe [Text] -> Maybe QueryString
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
policyTypeNames
)
]
data DescribeLoadBalancerPolicyTypesResponse = DescribeLoadBalancerPolicyTypesResponse'
{
DescribeLoadBalancerPolicyTypesResponse
-> Maybe [PolicyTypeDescription]
policyTypeDescriptions :: Prelude.Maybe [PolicyTypeDescription],
DescribeLoadBalancerPolicyTypesResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeLoadBalancerPolicyTypesResponse
-> DescribeLoadBalancerPolicyTypesResponse -> Bool
(DescribeLoadBalancerPolicyTypesResponse
-> DescribeLoadBalancerPolicyTypesResponse -> Bool)
-> (DescribeLoadBalancerPolicyTypesResponse
-> DescribeLoadBalancerPolicyTypesResponse -> Bool)
-> Eq DescribeLoadBalancerPolicyTypesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeLoadBalancerPolicyTypesResponse
-> DescribeLoadBalancerPolicyTypesResponse -> Bool
$c/= :: DescribeLoadBalancerPolicyTypesResponse
-> DescribeLoadBalancerPolicyTypesResponse -> Bool
== :: DescribeLoadBalancerPolicyTypesResponse
-> DescribeLoadBalancerPolicyTypesResponse -> Bool
$c== :: DescribeLoadBalancerPolicyTypesResponse
-> DescribeLoadBalancerPolicyTypesResponse -> Bool
Prelude.Eq, ReadPrec [DescribeLoadBalancerPolicyTypesResponse]
ReadPrec DescribeLoadBalancerPolicyTypesResponse
Int -> ReadS DescribeLoadBalancerPolicyTypesResponse
ReadS [DescribeLoadBalancerPolicyTypesResponse]
(Int -> ReadS DescribeLoadBalancerPolicyTypesResponse)
-> ReadS [DescribeLoadBalancerPolicyTypesResponse]
-> ReadPrec DescribeLoadBalancerPolicyTypesResponse
-> ReadPrec [DescribeLoadBalancerPolicyTypesResponse]
-> Read DescribeLoadBalancerPolicyTypesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeLoadBalancerPolicyTypesResponse]
$creadListPrec :: ReadPrec [DescribeLoadBalancerPolicyTypesResponse]
readPrec :: ReadPrec DescribeLoadBalancerPolicyTypesResponse
$creadPrec :: ReadPrec DescribeLoadBalancerPolicyTypesResponse
readList :: ReadS [DescribeLoadBalancerPolicyTypesResponse]
$creadList :: ReadS [DescribeLoadBalancerPolicyTypesResponse]
readsPrec :: Int -> ReadS DescribeLoadBalancerPolicyTypesResponse
$creadsPrec :: Int -> ReadS DescribeLoadBalancerPolicyTypesResponse
Prelude.Read, Int -> DescribeLoadBalancerPolicyTypesResponse -> ShowS
[DescribeLoadBalancerPolicyTypesResponse] -> ShowS
DescribeLoadBalancerPolicyTypesResponse -> String
(Int -> DescribeLoadBalancerPolicyTypesResponse -> ShowS)
-> (DescribeLoadBalancerPolicyTypesResponse -> String)
-> ([DescribeLoadBalancerPolicyTypesResponse] -> ShowS)
-> Show DescribeLoadBalancerPolicyTypesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeLoadBalancerPolicyTypesResponse] -> ShowS
$cshowList :: [DescribeLoadBalancerPolicyTypesResponse] -> ShowS
show :: DescribeLoadBalancerPolicyTypesResponse -> String
$cshow :: DescribeLoadBalancerPolicyTypesResponse -> String
showsPrec :: Int -> DescribeLoadBalancerPolicyTypesResponse -> ShowS
$cshowsPrec :: Int -> DescribeLoadBalancerPolicyTypesResponse -> ShowS
Prelude.Show, (forall x.
DescribeLoadBalancerPolicyTypesResponse
-> Rep DescribeLoadBalancerPolicyTypesResponse x)
-> (forall x.
Rep DescribeLoadBalancerPolicyTypesResponse x
-> DescribeLoadBalancerPolicyTypesResponse)
-> Generic DescribeLoadBalancerPolicyTypesResponse
forall x.
Rep DescribeLoadBalancerPolicyTypesResponse x
-> DescribeLoadBalancerPolicyTypesResponse
forall x.
DescribeLoadBalancerPolicyTypesResponse
-> Rep DescribeLoadBalancerPolicyTypesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeLoadBalancerPolicyTypesResponse x
-> DescribeLoadBalancerPolicyTypesResponse
$cfrom :: forall x.
DescribeLoadBalancerPolicyTypesResponse
-> Rep DescribeLoadBalancerPolicyTypesResponse x
Prelude.Generic)
newDescribeLoadBalancerPolicyTypesResponse ::
Prelude.Int ->
DescribeLoadBalancerPolicyTypesResponse
newDescribeLoadBalancerPolicyTypesResponse :: Int -> DescribeLoadBalancerPolicyTypesResponse
newDescribeLoadBalancerPolicyTypesResponse
Int
pHttpStatus_ =
DescribeLoadBalancerPolicyTypesResponse' :: Maybe [PolicyTypeDescription]
-> Int -> DescribeLoadBalancerPolicyTypesResponse
DescribeLoadBalancerPolicyTypesResponse'
{ $sel:policyTypeDescriptions:DescribeLoadBalancerPolicyTypesResponse' :: Maybe [PolicyTypeDescription]
policyTypeDescriptions =
Maybe [PolicyTypeDescription]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeLoadBalancerPolicyTypesResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeLoadBalancerPolicyTypesResponse_policyTypeDescriptions :: Lens.Lens' DescribeLoadBalancerPolicyTypesResponse (Prelude.Maybe [PolicyTypeDescription])
describeLoadBalancerPolicyTypesResponse_policyTypeDescriptions :: (Maybe [PolicyTypeDescription]
-> f (Maybe [PolicyTypeDescription]))
-> DescribeLoadBalancerPolicyTypesResponse
-> f DescribeLoadBalancerPolicyTypesResponse
describeLoadBalancerPolicyTypesResponse_policyTypeDescriptions = (DescribeLoadBalancerPolicyTypesResponse
-> Maybe [PolicyTypeDescription])
-> (DescribeLoadBalancerPolicyTypesResponse
-> Maybe [PolicyTypeDescription]
-> DescribeLoadBalancerPolicyTypesResponse)
-> Lens
DescribeLoadBalancerPolicyTypesResponse
DescribeLoadBalancerPolicyTypesResponse
(Maybe [PolicyTypeDescription])
(Maybe [PolicyTypeDescription])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeLoadBalancerPolicyTypesResponse' {Maybe [PolicyTypeDescription]
policyTypeDescriptions :: Maybe [PolicyTypeDescription]
$sel:policyTypeDescriptions:DescribeLoadBalancerPolicyTypesResponse' :: DescribeLoadBalancerPolicyTypesResponse
-> Maybe [PolicyTypeDescription]
policyTypeDescriptions} -> Maybe [PolicyTypeDescription]
policyTypeDescriptions) (\s :: DescribeLoadBalancerPolicyTypesResponse
s@DescribeLoadBalancerPolicyTypesResponse' {} Maybe [PolicyTypeDescription]
a -> DescribeLoadBalancerPolicyTypesResponse
s {$sel:policyTypeDescriptions:DescribeLoadBalancerPolicyTypesResponse' :: Maybe [PolicyTypeDescription]
policyTypeDescriptions = Maybe [PolicyTypeDescription]
a} :: DescribeLoadBalancerPolicyTypesResponse) ((Maybe [PolicyTypeDescription]
-> f (Maybe [PolicyTypeDescription]))
-> DescribeLoadBalancerPolicyTypesResponse
-> f DescribeLoadBalancerPolicyTypesResponse)
-> ((Maybe [PolicyTypeDescription]
-> f (Maybe [PolicyTypeDescription]))
-> Maybe [PolicyTypeDescription]
-> f (Maybe [PolicyTypeDescription]))
-> (Maybe [PolicyTypeDescription]
-> f (Maybe [PolicyTypeDescription]))
-> DescribeLoadBalancerPolicyTypesResponse
-> f DescribeLoadBalancerPolicyTypesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[PolicyTypeDescription]
[PolicyTypeDescription]
[PolicyTypeDescription]
[PolicyTypeDescription]
-> Iso
(Maybe [PolicyTypeDescription])
(Maybe [PolicyTypeDescription])
(Maybe [PolicyTypeDescription])
(Maybe [PolicyTypeDescription])
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
[PolicyTypeDescription]
[PolicyTypeDescription]
[PolicyTypeDescription]
[PolicyTypeDescription]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeLoadBalancerPolicyTypesResponse_httpStatus :: Lens.Lens' DescribeLoadBalancerPolicyTypesResponse Prelude.Int
describeLoadBalancerPolicyTypesResponse_httpStatus :: (Int -> f Int)
-> DescribeLoadBalancerPolicyTypesResponse
-> f DescribeLoadBalancerPolicyTypesResponse
describeLoadBalancerPolicyTypesResponse_httpStatus = (DescribeLoadBalancerPolicyTypesResponse -> Int)
-> (DescribeLoadBalancerPolicyTypesResponse
-> Int -> DescribeLoadBalancerPolicyTypesResponse)
-> Lens
DescribeLoadBalancerPolicyTypesResponse
DescribeLoadBalancerPolicyTypesResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeLoadBalancerPolicyTypesResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeLoadBalancerPolicyTypesResponse' :: DescribeLoadBalancerPolicyTypesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeLoadBalancerPolicyTypesResponse
s@DescribeLoadBalancerPolicyTypesResponse' {} Int
a -> DescribeLoadBalancerPolicyTypesResponse
s {$sel:httpStatus:DescribeLoadBalancerPolicyTypesResponse' :: Int
httpStatus = Int
a} :: DescribeLoadBalancerPolicyTypesResponse)
instance
Prelude.NFData
DescribeLoadBalancerPolicyTypesResponse