{-# 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.ModifyLoadBalancerAttributes
(
ModifyLoadBalancerAttributes (..),
newModifyLoadBalancerAttributes,
modifyLoadBalancerAttributes_loadBalancerName,
modifyLoadBalancerAttributes_loadBalancerAttributes,
ModifyLoadBalancerAttributesResponse (..),
newModifyLoadBalancerAttributesResponse,
modifyLoadBalancerAttributesResponse_loadBalancerName,
modifyLoadBalancerAttributesResponse_loadBalancerAttributes,
modifyLoadBalancerAttributesResponse_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 ModifyLoadBalancerAttributes = ModifyLoadBalancerAttributes'
{
ModifyLoadBalancerAttributes -> Text
loadBalancerName :: Prelude.Text,
ModifyLoadBalancerAttributes -> LoadBalancerAttributes
loadBalancerAttributes :: LoadBalancerAttributes
}
deriving (ModifyLoadBalancerAttributes
-> ModifyLoadBalancerAttributes -> Bool
(ModifyLoadBalancerAttributes
-> ModifyLoadBalancerAttributes -> Bool)
-> (ModifyLoadBalancerAttributes
-> ModifyLoadBalancerAttributes -> Bool)
-> Eq ModifyLoadBalancerAttributes
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ModifyLoadBalancerAttributes
-> ModifyLoadBalancerAttributes -> Bool
$c/= :: ModifyLoadBalancerAttributes
-> ModifyLoadBalancerAttributes -> Bool
== :: ModifyLoadBalancerAttributes
-> ModifyLoadBalancerAttributes -> Bool
$c== :: ModifyLoadBalancerAttributes
-> ModifyLoadBalancerAttributes -> Bool
Prelude.Eq, ReadPrec [ModifyLoadBalancerAttributes]
ReadPrec ModifyLoadBalancerAttributes
Int -> ReadS ModifyLoadBalancerAttributes
ReadS [ModifyLoadBalancerAttributes]
(Int -> ReadS ModifyLoadBalancerAttributes)
-> ReadS [ModifyLoadBalancerAttributes]
-> ReadPrec ModifyLoadBalancerAttributes
-> ReadPrec [ModifyLoadBalancerAttributes]
-> Read ModifyLoadBalancerAttributes
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ModifyLoadBalancerAttributes]
$creadListPrec :: ReadPrec [ModifyLoadBalancerAttributes]
readPrec :: ReadPrec ModifyLoadBalancerAttributes
$creadPrec :: ReadPrec ModifyLoadBalancerAttributes
readList :: ReadS [ModifyLoadBalancerAttributes]
$creadList :: ReadS [ModifyLoadBalancerAttributes]
readsPrec :: Int -> ReadS ModifyLoadBalancerAttributes
$creadsPrec :: Int -> ReadS ModifyLoadBalancerAttributes
Prelude.Read, Int -> ModifyLoadBalancerAttributes -> ShowS
[ModifyLoadBalancerAttributes] -> ShowS
ModifyLoadBalancerAttributes -> String
(Int -> ModifyLoadBalancerAttributes -> ShowS)
-> (ModifyLoadBalancerAttributes -> String)
-> ([ModifyLoadBalancerAttributes] -> ShowS)
-> Show ModifyLoadBalancerAttributes
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ModifyLoadBalancerAttributes] -> ShowS
$cshowList :: [ModifyLoadBalancerAttributes] -> ShowS
show :: ModifyLoadBalancerAttributes -> String
$cshow :: ModifyLoadBalancerAttributes -> String
showsPrec :: Int -> ModifyLoadBalancerAttributes -> ShowS
$cshowsPrec :: Int -> ModifyLoadBalancerAttributes -> ShowS
Prelude.Show, (forall x.
ModifyLoadBalancerAttributes -> Rep ModifyLoadBalancerAttributes x)
-> (forall x.
Rep ModifyLoadBalancerAttributes x -> ModifyLoadBalancerAttributes)
-> Generic ModifyLoadBalancerAttributes
forall x.
Rep ModifyLoadBalancerAttributes x -> ModifyLoadBalancerAttributes
forall x.
ModifyLoadBalancerAttributes -> Rep ModifyLoadBalancerAttributes x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ModifyLoadBalancerAttributes x -> ModifyLoadBalancerAttributes
$cfrom :: forall x.
ModifyLoadBalancerAttributes -> Rep ModifyLoadBalancerAttributes x
Prelude.Generic)
newModifyLoadBalancerAttributes ::
Prelude.Text ->
LoadBalancerAttributes ->
ModifyLoadBalancerAttributes
newModifyLoadBalancerAttributes :: Text -> LoadBalancerAttributes -> ModifyLoadBalancerAttributes
newModifyLoadBalancerAttributes
Text
pLoadBalancerName_
LoadBalancerAttributes
pLoadBalancerAttributes_ =
ModifyLoadBalancerAttributes' :: Text -> LoadBalancerAttributes -> ModifyLoadBalancerAttributes
ModifyLoadBalancerAttributes'
{ $sel:loadBalancerName:ModifyLoadBalancerAttributes' :: Text
loadBalancerName =
Text
pLoadBalancerName_,
$sel:loadBalancerAttributes:ModifyLoadBalancerAttributes' :: LoadBalancerAttributes
loadBalancerAttributes =
LoadBalancerAttributes
pLoadBalancerAttributes_
}
modifyLoadBalancerAttributes_loadBalancerName :: Lens.Lens' ModifyLoadBalancerAttributes Prelude.Text
modifyLoadBalancerAttributes_loadBalancerName :: (Text -> f Text)
-> ModifyLoadBalancerAttributes -> f ModifyLoadBalancerAttributes
modifyLoadBalancerAttributes_loadBalancerName = (ModifyLoadBalancerAttributes -> Text)
-> (ModifyLoadBalancerAttributes
-> Text -> ModifyLoadBalancerAttributes)
-> Lens
ModifyLoadBalancerAttributes ModifyLoadBalancerAttributes Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyLoadBalancerAttributes' {Text
loadBalancerName :: Text
$sel:loadBalancerName:ModifyLoadBalancerAttributes' :: ModifyLoadBalancerAttributes -> Text
loadBalancerName} -> Text
loadBalancerName) (\s :: ModifyLoadBalancerAttributes
s@ModifyLoadBalancerAttributes' {} Text
a -> ModifyLoadBalancerAttributes
s {$sel:loadBalancerName:ModifyLoadBalancerAttributes' :: Text
loadBalancerName = Text
a} :: ModifyLoadBalancerAttributes)
modifyLoadBalancerAttributes_loadBalancerAttributes :: Lens.Lens' ModifyLoadBalancerAttributes LoadBalancerAttributes
modifyLoadBalancerAttributes_loadBalancerAttributes :: (LoadBalancerAttributes -> f LoadBalancerAttributes)
-> ModifyLoadBalancerAttributes -> f ModifyLoadBalancerAttributes
modifyLoadBalancerAttributes_loadBalancerAttributes = (ModifyLoadBalancerAttributes -> LoadBalancerAttributes)
-> (ModifyLoadBalancerAttributes
-> LoadBalancerAttributes -> ModifyLoadBalancerAttributes)
-> Lens
ModifyLoadBalancerAttributes
ModifyLoadBalancerAttributes
LoadBalancerAttributes
LoadBalancerAttributes
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyLoadBalancerAttributes' {LoadBalancerAttributes
loadBalancerAttributes :: LoadBalancerAttributes
$sel:loadBalancerAttributes:ModifyLoadBalancerAttributes' :: ModifyLoadBalancerAttributes -> LoadBalancerAttributes
loadBalancerAttributes} -> LoadBalancerAttributes
loadBalancerAttributes) (\s :: ModifyLoadBalancerAttributes
s@ModifyLoadBalancerAttributes' {} LoadBalancerAttributes
a -> ModifyLoadBalancerAttributes
s {$sel:loadBalancerAttributes:ModifyLoadBalancerAttributes' :: LoadBalancerAttributes
loadBalancerAttributes = LoadBalancerAttributes
a} :: ModifyLoadBalancerAttributes)
instance Core.AWSRequest ModifyLoadBalancerAttributes where
type
AWSResponse ModifyLoadBalancerAttributes =
ModifyLoadBalancerAttributesResponse
request :: ModifyLoadBalancerAttributes
-> Request ModifyLoadBalancerAttributes
request = Service
-> ModifyLoadBalancerAttributes
-> Request ModifyLoadBalancerAttributes
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
response :: Logger
-> Service
-> Proxy ModifyLoadBalancerAttributes
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ModifyLoadBalancerAttributes)))
response =
Text
-> (Int
-> ResponseHeaders
-> [Node]
-> Either String (AWSResponse ModifyLoadBalancerAttributes))
-> Logger
-> Service
-> Proxy ModifyLoadBalancerAttributes
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ModifyLoadBalancerAttributes)))
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
"ModifyLoadBalancerAttributesResult"
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe Text
-> Maybe LoadBalancerAttributes
-> Int
-> ModifyLoadBalancerAttributesResponse
ModifyLoadBalancerAttributesResponse'
(Maybe Text
-> Maybe LoadBalancerAttributes
-> Int
-> ModifyLoadBalancerAttributesResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe LoadBalancerAttributes
-> Int -> ModifyLoadBalancerAttributesResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"LoadBalancerName")
Either
String
(Maybe LoadBalancerAttributes
-> Int -> ModifyLoadBalancerAttributesResponse)
-> Either String (Maybe LoadBalancerAttributes)
-> Either String (Int -> ModifyLoadBalancerAttributesResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe LoadBalancerAttributes)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"LoadBalancerAttributes")
Either String (Int -> ModifyLoadBalancerAttributesResponse)
-> Either String Int
-> Either String ModifyLoadBalancerAttributesResponse
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
ModifyLoadBalancerAttributes
instance Prelude.NFData ModifyLoadBalancerAttributes
instance Core.ToHeaders ModifyLoadBalancerAttributes where
toHeaders :: ModifyLoadBalancerAttributes -> ResponseHeaders
toHeaders = ResponseHeaders -> ModifyLoadBalancerAttributes -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance Core.ToPath ModifyLoadBalancerAttributes where
toPath :: ModifyLoadBalancerAttributes -> ByteString
toPath = ByteString -> ModifyLoadBalancerAttributes -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery ModifyLoadBalancerAttributes where
toQuery :: ModifyLoadBalancerAttributes -> QueryString
toQuery ModifyLoadBalancerAttributes' {Text
LoadBalancerAttributes
loadBalancerAttributes :: LoadBalancerAttributes
loadBalancerName :: Text
$sel:loadBalancerAttributes:ModifyLoadBalancerAttributes' :: ModifyLoadBalancerAttributes -> LoadBalancerAttributes
$sel:loadBalancerName:ModifyLoadBalancerAttributes' :: ModifyLoadBalancerAttributes -> 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
"ModifyLoadBalancerAttributes" ::
Prelude.ByteString
),
ByteString
"Version"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2012-06-01" :: Prelude.ByteString),
ByteString
"LoadBalancerName" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
loadBalancerName,
ByteString
"LoadBalancerAttributes"
ByteString -> LoadBalancerAttributes -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: LoadBalancerAttributes
loadBalancerAttributes
]
data ModifyLoadBalancerAttributesResponse = ModifyLoadBalancerAttributesResponse'
{
ModifyLoadBalancerAttributesResponse -> Maybe Text
loadBalancerName :: Prelude.Maybe Prelude.Text,
ModifyLoadBalancerAttributesResponse
-> Maybe LoadBalancerAttributes
loadBalancerAttributes :: Prelude.Maybe LoadBalancerAttributes,
ModifyLoadBalancerAttributesResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ModifyLoadBalancerAttributesResponse
-> ModifyLoadBalancerAttributesResponse -> Bool
(ModifyLoadBalancerAttributesResponse
-> ModifyLoadBalancerAttributesResponse -> Bool)
-> (ModifyLoadBalancerAttributesResponse
-> ModifyLoadBalancerAttributesResponse -> Bool)
-> Eq ModifyLoadBalancerAttributesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ModifyLoadBalancerAttributesResponse
-> ModifyLoadBalancerAttributesResponse -> Bool
$c/= :: ModifyLoadBalancerAttributesResponse
-> ModifyLoadBalancerAttributesResponse -> Bool
== :: ModifyLoadBalancerAttributesResponse
-> ModifyLoadBalancerAttributesResponse -> Bool
$c== :: ModifyLoadBalancerAttributesResponse
-> ModifyLoadBalancerAttributesResponse -> Bool
Prelude.Eq, ReadPrec [ModifyLoadBalancerAttributesResponse]
ReadPrec ModifyLoadBalancerAttributesResponse
Int -> ReadS ModifyLoadBalancerAttributesResponse
ReadS [ModifyLoadBalancerAttributesResponse]
(Int -> ReadS ModifyLoadBalancerAttributesResponse)
-> ReadS [ModifyLoadBalancerAttributesResponse]
-> ReadPrec ModifyLoadBalancerAttributesResponse
-> ReadPrec [ModifyLoadBalancerAttributesResponse]
-> Read ModifyLoadBalancerAttributesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ModifyLoadBalancerAttributesResponse]
$creadListPrec :: ReadPrec [ModifyLoadBalancerAttributesResponse]
readPrec :: ReadPrec ModifyLoadBalancerAttributesResponse
$creadPrec :: ReadPrec ModifyLoadBalancerAttributesResponse
readList :: ReadS [ModifyLoadBalancerAttributesResponse]
$creadList :: ReadS [ModifyLoadBalancerAttributesResponse]
readsPrec :: Int -> ReadS ModifyLoadBalancerAttributesResponse
$creadsPrec :: Int -> ReadS ModifyLoadBalancerAttributesResponse
Prelude.Read, Int -> ModifyLoadBalancerAttributesResponse -> ShowS
[ModifyLoadBalancerAttributesResponse] -> ShowS
ModifyLoadBalancerAttributesResponse -> String
(Int -> ModifyLoadBalancerAttributesResponse -> ShowS)
-> (ModifyLoadBalancerAttributesResponse -> String)
-> ([ModifyLoadBalancerAttributesResponse] -> ShowS)
-> Show ModifyLoadBalancerAttributesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ModifyLoadBalancerAttributesResponse] -> ShowS
$cshowList :: [ModifyLoadBalancerAttributesResponse] -> ShowS
show :: ModifyLoadBalancerAttributesResponse -> String
$cshow :: ModifyLoadBalancerAttributesResponse -> String
showsPrec :: Int -> ModifyLoadBalancerAttributesResponse -> ShowS
$cshowsPrec :: Int -> ModifyLoadBalancerAttributesResponse -> ShowS
Prelude.Show, (forall x.
ModifyLoadBalancerAttributesResponse
-> Rep ModifyLoadBalancerAttributesResponse x)
-> (forall x.
Rep ModifyLoadBalancerAttributesResponse x
-> ModifyLoadBalancerAttributesResponse)
-> Generic ModifyLoadBalancerAttributesResponse
forall x.
Rep ModifyLoadBalancerAttributesResponse x
-> ModifyLoadBalancerAttributesResponse
forall x.
ModifyLoadBalancerAttributesResponse
-> Rep ModifyLoadBalancerAttributesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ModifyLoadBalancerAttributesResponse x
-> ModifyLoadBalancerAttributesResponse
$cfrom :: forall x.
ModifyLoadBalancerAttributesResponse
-> Rep ModifyLoadBalancerAttributesResponse x
Prelude.Generic)
newModifyLoadBalancerAttributesResponse ::
Prelude.Int ->
ModifyLoadBalancerAttributesResponse
newModifyLoadBalancerAttributesResponse :: Int -> ModifyLoadBalancerAttributesResponse
newModifyLoadBalancerAttributesResponse Int
pHttpStatus_ =
ModifyLoadBalancerAttributesResponse' :: Maybe Text
-> Maybe LoadBalancerAttributes
-> Int
-> ModifyLoadBalancerAttributesResponse
ModifyLoadBalancerAttributesResponse'
{ $sel:loadBalancerName:ModifyLoadBalancerAttributesResponse' :: Maybe Text
loadBalancerName =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:loadBalancerAttributes:ModifyLoadBalancerAttributesResponse' :: Maybe LoadBalancerAttributes
loadBalancerAttributes =
Maybe LoadBalancerAttributes
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ModifyLoadBalancerAttributesResponse' :: Int
httpStatus = Int
pHttpStatus_
}
modifyLoadBalancerAttributesResponse_loadBalancerName :: Lens.Lens' ModifyLoadBalancerAttributesResponse (Prelude.Maybe Prelude.Text)
modifyLoadBalancerAttributesResponse_loadBalancerName :: (Maybe Text -> f (Maybe Text))
-> ModifyLoadBalancerAttributesResponse
-> f ModifyLoadBalancerAttributesResponse
modifyLoadBalancerAttributesResponse_loadBalancerName = (ModifyLoadBalancerAttributesResponse -> Maybe Text)
-> (ModifyLoadBalancerAttributesResponse
-> Maybe Text -> ModifyLoadBalancerAttributesResponse)
-> Lens
ModifyLoadBalancerAttributesResponse
ModifyLoadBalancerAttributesResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyLoadBalancerAttributesResponse' {Maybe Text
loadBalancerName :: Maybe Text
$sel:loadBalancerName:ModifyLoadBalancerAttributesResponse' :: ModifyLoadBalancerAttributesResponse -> Maybe Text
loadBalancerName} -> Maybe Text
loadBalancerName) (\s :: ModifyLoadBalancerAttributesResponse
s@ModifyLoadBalancerAttributesResponse' {} Maybe Text
a -> ModifyLoadBalancerAttributesResponse
s {$sel:loadBalancerName:ModifyLoadBalancerAttributesResponse' :: Maybe Text
loadBalancerName = Maybe Text
a} :: ModifyLoadBalancerAttributesResponse)
modifyLoadBalancerAttributesResponse_loadBalancerAttributes :: Lens.Lens' ModifyLoadBalancerAttributesResponse (Prelude.Maybe LoadBalancerAttributes)
modifyLoadBalancerAttributesResponse_loadBalancerAttributes :: (Maybe LoadBalancerAttributes -> f (Maybe LoadBalancerAttributes))
-> ModifyLoadBalancerAttributesResponse
-> f ModifyLoadBalancerAttributesResponse
modifyLoadBalancerAttributesResponse_loadBalancerAttributes = (ModifyLoadBalancerAttributesResponse
-> Maybe LoadBalancerAttributes)
-> (ModifyLoadBalancerAttributesResponse
-> Maybe LoadBalancerAttributes
-> ModifyLoadBalancerAttributesResponse)
-> Lens
ModifyLoadBalancerAttributesResponse
ModifyLoadBalancerAttributesResponse
(Maybe LoadBalancerAttributes)
(Maybe LoadBalancerAttributes)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyLoadBalancerAttributesResponse' {Maybe LoadBalancerAttributes
loadBalancerAttributes :: Maybe LoadBalancerAttributes
$sel:loadBalancerAttributes:ModifyLoadBalancerAttributesResponse' :: ModifyLoadBalancerAttributesResponse
-> Maybe LoadBalancerAttributes
loadBalancerAttributes} -> Maybe LoadBalancerAttributes
loadBalancerAttributes) (\s :: ModifyLoadBalancerAttributesResponse
s@ModifyLoadBalancerAttributesResponse' {} Maybe LoadBalancerAttributes
a -> ModifyLoadBalancerAttributesResponse
s {$sel:loadBalancerAttributes:ModifyLoadBalancerAttributesResponse' :: Maybe LoadBalancerAttributes
loadBalancerAttributes = Maybe LoadBalancerAttributes
a} :: ModifyLoadBalancerAttributesResponse)
modifyLoadBalancerAttributesResponse_httpStatus :: Lens.Lens' ModifyLoadBalancerAttributesResponse Prelude.Int
modifyLoadBalancerAttributesResponse_httpStatus :: (Int -> f Int)
-> ModifyLoadBalancerAttributesResponse
-> f ModifyLoadBalancerAttributesResponse
modifyLoadBalancerAttributesResponse_httpStatus = (ModifyLoadBalancerAttributesResponse -> Int)
-> (ModifyLoadBalancerAttributesResponse
-> Int -> ModifyLoadBalancerAttributesResponse)
-> Lens
ModifyLoadBalancerAttributesResponse
ModifyLoadBalancerAttributesResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyLoadBalancerAttributesResponse' {Int
httpStatus :: Int
$sel:httpStatus:ModifyLoadBalancerAttributesResponse' :: ModifyLoadBalancerAttributesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ModifyLoadBalancerAttributesResponse
s@ModifyLoadBalancerAttributesResponse' {} Int
a -> ModifyLoadBalancerAttributesResponse
s {$sel:httpStatus:ModifyLoadBalancerAttributesResponse' :: Int
httpStatus = Int
a} :: ModifyLoadBalancerAttributesResponse)
instance
Prelude.NFData
ModifyLoadBalancerAttributesResponse