{-# 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.ELBV2.ModifyLoadBalancerAttributes
(
ModifyLoadBalancerAttributes (..),
newModifyLoadBalancerAttributes,
modifyLoadBalancerAttributes_loadBalancerArn,
modifyLoadBalancerAttributes_attributes,
ModifyLoadBalancerAttributesResponse (..),
newModifyLoadBalancerAttributesResponse,
modifyLoadBalancerAttributesResponse_attributes,
modifyLoadBalancerAttributesResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.ELBV2.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
loadBalancerArn :: Prelude.Text,
ModifyLoadBalancerAttributes -> [LoadBalancerAttribute]
attributes :: [LoadBalancerAttribute]
}
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 ->
ModifyLoadBalancerAttributes
newModifyLoadBalancerAttributes :: Text -> ModifyLoadBalancerAttributes
newModifyLoadBalancerAttributes Text
pLoadBalancerArn_ =
ModifyLoadBalancerAttributes' :: Text -> [LoadBalancerAttribute] -> ModifyLoadBalancerAttributes
ModifyLoadBalancerAttributes'
{ $sel:loadBalancerArn:ModifyLoadBalancerAttributes' :: Text
loadBalancerArn =
Text
pLoadBalancerArn_,
$sel:attributes:ModifyLoadBalancerAttributes' :: [LoadBalancerAttribute]
attributes = [LoadBalancerAttribute]
forall a. Monoid a => a
Prelude.mempty
}
modifyLoadBalancerAttributes_loadBalancerArn :: Lens.Lens' ModifyLoadBalancerAttributes Prelude.Text
modifyLoadBalancerAttributes_loadBalancerArn :: (Text -> f Text)
-> ModifyLoadBalancerAttributes -> f ModifyLoadBalancerAttributes
modifyLoadBalancerAttributes_loadBalancerArn = (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
loadBalancerArn :: Text
$sel:loadBalancerArn:ModifyLoadBalancerAttributes' :: ModifyLoadBalancerAttributes -> Text
loadBalancerArn} -> Text
loadBalancerArn) (\s :: ModifyLoadBalancerAttributes
s@ModifyLoadBalancerAttributes' {} Text
a -> ModifyLoadBalancerAttributes
s {$sel:loadBalancerArn:ModifyLoadBalancerAttributes' :: Text
loadBalancerArn = Text
a} :: ModifyLoadBalancerAttributes)
modifyLoadBalancerAttributes_attributes :: Lens.Lens' ModifyLoadBalancerAttributes [LoadBalancerAttribute]
modifyLoadBalancerAttributes_attributes :: ([LoadBalancerAttribute] -> f [LoadBalancerAttribute])
-> ModifyLoadBalancerAttributes -> f ModifyLoadBalancerAttributes
modifyLoadBalancerAttributes_attributes = (ModifyLoadBalancerAttributes -> [LoadBalancerAttribute])
-> (ModifyLoadBalancerAttributes
-> [LoadBalancerAttribute] -> ModifyLoadBalancerAttributes)
-> Lens
ModifyLoadBalancerAttributes
ModifyLoadBalancerAttributes
[LoadBalancerAttribute]
[LoadBalancerAttribute]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyLoadBalancerAttributes' {[LoadBalancerAttribute]
attributes :: [LoadBalancerAttribute]
$sel:attributes:ModifyLoadBalancerAttributes' :: ModifyLoadBalancerAttributes -> [LoadBalancerAttribute]
attributes} -> [LoadBalancerAttribute]
attributes) (\s :: ModifyLoadBalancerAttributes
s@ModifyLoadBalancerAttributes' {} [LoadBalancerAttribute]
a -> ModifyLoadBalancerAttributes
s {$sel:attributes:ModifyLoadBalancerAttributes' :: [LoadBalancerAttribute]
attributes = [LoadBalancerAttribute]
a} :: ModifyLoadBalancerAttributes) (([LoadBalancerAttribute] -> f [LoadBalancerAttribute])
-> ModifyLoadBalancerAttributes -> f ModifyLoadBalancerAttributes)
-> (([LoadBalancerAttribute] -> f [LoadBalancerAttribute])
-> [LoadBalancerAttribute] -> f [LoadBalancerAttribute])
-> ([LoadBalancerAttribute] -> f [LoadBalancerAttribute])
-> ModifyLoadBalancerAttributes
-> f ModifyLoadBalancerAttributes
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([LoadBalancerAttribute] -> f [LoadBalancerAttribute])
-> [LoadBalancerAttribute] -> f [LoadBalancerAttribute]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
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 [LoadBalancerAttribute]
-> Int -> ModifyLoadBalancerAttributesResponse
ModifyLoadBalancerAttributesResponse'
(Maybe [LoadBalancerAttribute]
-> Int -> ModifyLoadBalancerAttributesResponse)
-> Either String (Maybe [LoadBalancerAttribute])
-> Either String (Int -> ModifyLoadBalancerAttributesResponse)
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
"Attributes" 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 [LoadBalancerAttribute]))
-> Either String (Maybe [LoadBalancerAttribute])
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= ([Node] -> Either String [LoadBalancerAttribute])
-> [Node] -> Either String (Maybe [LoadBalancerAttribute])
forall (f :: * -> *) a b.
Applicative f =>
([a] -> f b) -> [a] -> f (Maybe b)
Core.may (Text -> [Node] -> Either String [LoadBalancerAttribute]
forall a. FromXML a => Text -> [Node] -> Either String [a]
Core.parseXMLList Text
"member")
)
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' {[LoadBalancerAttribute]
Text
attributes :: [LoadBalancerAttribute]
loadBalancerArn :: Text
$sel:attributes:ModifyLoadBalancerAttributes' :: ModifyLoadBalancerAttributes -> [LoadBalancerAttribute]
$sel:loadBalancerArn: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
"2015-12-01" :: Prelude.ByteString),
ByteString
"LoadBalancerArn" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
loadBalancerArn,
ByteString
"Attributes"
ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: ByteString -> [LoadBalancerAttribute] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"member" [LoadBalancerAttribute]
attributes
]
data ModifyLoadBalancerAttributesResponse = ModifyLoadBalancerAttributesResponse'
{
ModifyLoadBalancerAttributesResponse
-> Maybe [LoadBalancerAttribute]
attributes :: Prelude.Maybe [LoadBalancerAttribute],
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 [LoadBalancerAttribute]
-> Int -> ModifyLoadBalancerAttributesResponse
ModifyLoadBalancerAttributesResponse'
{ $sel:attributes:ModifyLoadBalancerAttributesResponse' :: Maybe [LoadBalancerAttribute]
attributes =
Maybe [LoadBalancerAttribute]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ModifyLoadBalancerAttributesResponse' :: Int
httpStatus = Int
pHttpStatus_
}
modifyLoadBalancerAttributesResponse_attributes :: Lens.Lens' ModifyLoadBalancerAttributesResponse (Prelude.Maybe [LoadBalancerAttribute])
modifyLoadBalancerAttributesResponse_attributes :: (Maybe [LoadBalancerAttribute]
-> f (Maybe [LoadBalancerAttribute]))
-> ModifyLoadBalancerAttributesResponse
-> f ModifyLoadBalancerAttributesResponse
modifyLoadBalancerAttributesResponse_attributes = (ModifyLoadBalancerAttributesResponse
-> Maybe [LoadBalancerAttribute])
-> (ModifyLoadBalancerAttributesResponse
-> Maybe [LoadBalancerAttribute]
-> ModifyLoadBalancerAttributesResponse)
-> Lens
ModifyLoadBalancerAttributesResponse
ModifyLoadBalancerAttributesResponse
(Maybe [LoadBalancerAttribute])
(Maybe [LoadBalancerAttribute])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyLoadBalancerAttributesResponse' {Maybe [LoadBalancerAttribute]
attributes :: Maybe [LoadBalancerAttribute]
$sel:attributes:ModifyLoadBalancerAttributesResponse' :: ModifyLoadBalancerAttributesResponse
-> Maybe [LoadBalancerAttribute]
attributes} -> Maybe [LoadBalancerAttribute]
attributes) (\s :: ModifyLoadBalancerAttributesResponse
s@ModifyLoadBalancerAttributesResponse' {} Maybe [LoadBalancerAttribute]
a -> ModifyLoadBalancerAttributesResponse
s {$sel:attributes:ModifyLoadBalancerAttributesResponse' :: Maybe [LoadBalancerAttribute]
attributes = Maybe [LoadBalancerAttribute]
a} :: ModifyLoadBalancerAttributesResponse) ((Maybe [LoadBalancerAttribute]
-> f (Maybe [LoadBalancerAttribute]))
-> ModifyLoadBalancerAttributesResponse
-> f ModifyLoadBalancerAttributesResponse)
-> ((Maybe [LoadBalancerAttribute]
-> f (Maybe [LoadBalancerAttribute]))
-> Maybe [LoadBalancerAttribute]
-> f (Maybe [LoadBalancerAttribute]))
-> (Maybe [LoadBalancerAttribute]
-> f (Maybe [LoadBalancerAttribute]))
-> ModifyLoadBalancerAttributesResponse
-> f ModifyLoadBalancerAttributesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[LoadBalancerAttribute]
[LoadBalancerAttribute]
[LoadBalancerAttribute]
[LoadBalancerAttribute]
-> Iso
(Maybe [LoadBalancerAttribute])
(Maybe [LoadBalancerAttribute])
(Maybe [LoadBalancerAttribute])
(Maybe [LoadBalancerAttribute])
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
[LoadBalancerAttribute]
[LoadBalancerAttribute]
[LoadBalancerAttribute]
[LoadBalancerAttribute]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
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