{-# 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.ModifyTargetGroupAttributes
(
ModifyTargetGroupAttributes (..),
newModifyTargetGroupAttributes,
modifyTargetGroupAttributes_targetGroupArn,
modifyTargetGroupAttributes_attributes,
ModifyTargetGroupAttributesResponse (..),
newModifyTargetGroupAttributesResponse,
modifyTargetGroupAttributesResponse_attributes,
modifyTargetGroupAttributesResponse_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 ModifyTargetGroupAttributes = ModifyTargetGroupAttributes'
{
ModifyTargetGroupAttributes -> Text
targetGroupArn :: Prelude.Text,
ModifyTargetGroupAttributes -> [TargetGroupAttribute]
attributes :: [TargetGroupAttribute]
}
deriving (ModifyTargetGroupAttributes -> ModifyTargetGroupAttributes -> Bool
(ModifyTargetGroupAttributes
-> ModifyTargetGroupAttributes -> Bool)
-> (ModifyTargetGroupAttributes
-> ModifyTargetGroupAttributes -> Bool)
-> Eq ModifyTargetGroupAttributes
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ModifyTargetGroupAttributes -> ModifyTargetGroupAttributes -> Bool
$c/= :: ModifyTargetGroupAttributes -> ModifyTargetGroupAttributes -> Bool
== :: ModifyTargetGroupAttributes -> ModifyTargetGroupAttributes -> Bool
$c== :: ModifyTargetGroupAttributes -> ModifyTargetGroupAttributes -> Bool
Prelude.Eq, ReadPrec [ModifyTargetGroupAttributes]
ReadPrec ModifyTargetGroupAttributes
Int -> ReadS ModifyTargetGroupAttributes
ReadS [ModifyTargetGroupAttributes]
(Int -> ReadS ModifyTargetGroupAttributes)
-> ReadS [ModifyTargetGroupAttributes]
-> ReadPrec ModifyTargetGroupAttributes
-> ReadPrec [ModifyTargetGroupAttributes]
-> Read ModifyTargetGroupAttributes
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ModifyTargetGroupAttributes]
$creadListPrec :: ReadPrec [ModifyTargetGroupAttributes]
readPrec :: ReadPrec ModifyTargetGroupAttributes
$creadPrec :: ReadPrec ModifyTargetGroupAttributes
readList :: ReadS [ModifyTargetGroupAttributes]
$creadList :: ReadS [ModifyTargetGroupAttributes]
readsPrec :: Int -> ReadS ModifyTargetGroupAttributes
$creadsPrec :: Int -> ReadS ModifyTargetGroupAttributes
Prelude.Read, Int -> ModifyTargetGroupAttributes -> ShowS
[ModifyTargetGroupAttributes] -> ShowS
ModifyTargetGroupAttributes -> String
(Int -> ModifyTargetGroupAttributes -> ShowS)
-> (ModifyTargetGroupAttributes -> String)
-> ([ModifyTargetGroupAttributes] -> ShowS)
-> Show ModifyTargetGroupAttributes
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ModifyTargetGroupAttributes] -> ShowS
$cshowList :: [ModifyTargetGroupAttributes] -> ShowS
show :: ModifyTargetGroupAttributes -> String
$cshow :: ModifyTargetGroupAttributes -> String
showsPrec :: Int -> ModifyTargetGroupAttributes -> ShowS
$cshowsPrec :: Int -> ModifyTargetGroupAttributes -> ShowS
Prelude.Show, (forall x.
ModifyTargetGroupAttributes -> Rep ModifyTargetGroupAttributes x)
-> (forall x.
Rep ModifyTargetGroupAttributes x -> ModifyTargetGroupAttributes)
-> Generic ModifyTargetGroupAttributes
forall x.
Rep ModifyTargetGroupAttributes x -> ModifyTargetGroupAttributes
forall x.
ModifyTargetGroupAttributes -> Rep ModifyTargetGroupAttributes x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ModifyTargetGroupAttributes x -> ModifyTargetGroupAttributes
$cfrom :: forall x.
ModifyTargetGroupAttributes -> Rep ModifyTargetGroupAttributes x
Prelude.Generic)
newModifyTargetGroupAttributes ::
Prelude.Text ->
ModifyTargetGroupAttributes
newModifyTargetGroupAttributes :: Text -> ModifyTargetGroupAttributes
newModifyTargetGroupAttributes Text
pTargetGroupArn_ =
ModifyTargetGroupAttributes' :: Text -> [TargetGroupAttribute] -> ModifyTargetGroupAttributes
ModifyTargetGroupAttributes'
{ $sel:targetGroupArn:ModifyTargetGroupAttributes' :: Text
targetGroupArn =
Text
pTargetGroupArn_,
$sel:attributes:ModifyTargetGroupAttributes' :: [TargetGroupAttribute]
attributes = [TargetGroupAttribute]
forall a. Monoid a => a
Prelude.mempty
}
modifyTargetGroupAttributes_targetGroupArn :: Lens.Lens' ModifyTargetGroupAttributes Prelude.Text
modifyTargetGroupAttributes_targetGroupArn :: (Text -> f Text)
-> ModifyTargetGroupAttributes -> f ModifyTargetGroupAttributes
modifyTargetGroupAttributes_targetGroupArn = (ModifyTargetGroupAttributes -> Text)
-> (ModifyTargetGroupAttributes
-> Text -> ModifyTargetGroupAttributes)
-> Lens
ModifyTargetGroupAttributes ModifyTargetGroupAttributes Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyTargetGroupAttributes' {Text
targetGroupArn :: Text
$sel:targetGroupArn:ModifyTargetGroupAttributes' :: ModifyTargetGroupAttributes -> Text
targetGroupArn} -> Text
targetGroupArn) (\s :: ModifyTargetGroupAttributes
s@ModifyTargetGroupAttributes' {} Text
a -> ModifyTargetGroupAttributes
s {$sel:targetGroupArn:ModifyTargetGroupAttributes' :: Text
targetGroupArn = Text
a} :: ModifyTargetGroupAttributes)
modifyTargetGroupAttributes_attributes :: Lens.Lens' ModifyTargetGroupAttributes [TargetGroupAttribute]
modifyTargetGroupAttributes_attributes :: ([TargetGroupAttribute] -> f [TargetGroupAttribute])
-> ModifyTargetGroupAttributes -> f ModifyTargetGroupAttributes
modifyTargetGroupAttributes_attributes = (ModifyTargetGroupAttributes -> [TargetGroupAttribute])
-> (ModifyTargetGroupAttributes
-> [TargetGroupAttribute] -> ModifyTargetGroupAttributes)
-> Lens
ModifyTargetGroupAttributes
ModifyTargetGroupAttributes
[TargetGroupAttribute]
[TargetGroupAttribute]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyTargetGroupAttributes' {[TargetGroupAttribute]
attributes :: [TargetGroupAttribute]
$sel:attributes:ModifyTargetGroupAttributes' :: ModifyTargetGroupAttributes -> [TargetGroupAttribute]
attributes} -> [TargetGroupAttribute]
attributes) (\s :: ModifyTargetGroupAttributes
s@ModifyTargetGroupAttributes' {} [TargetGroupAttribute]
a -> ModifyTargetGroupAttributes
s {$sel:attributes:ModifyTargetGroupAttributes' :: [TargetGroupAttribute]
attributes = [TargetGroupAttribute]
a} :: ModifyTargetGroupAttributes) (([TargetGroupAttribute] -> f [TargetGroupAttribute])
-> ModifyTargetGroupAttributes -> f ModifyTargetGroupAttributes)
-> (([TargetGroupAttribute] -> f [TargetGroupAttribute])
-> [TargetGroupAttribute] -> f [TargetGroupAttribute])
-> ([TargetGroupAttribute] -> f [TargetGroupAttribute])
-> ModifyTargetGroupAttributes
-> f ModifyTargetGroupAttributes
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([TargetGroupAttribute] -> f [TargetGroupAttribute])
-> [TargetGroupAttribute] -> f [TargetGroupAttribute]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Core.AWSRequest ModifyTargetGroupAttributes where
type
AWSResponse ModifyTargetGroupAttributes =
ModifyTargetGroupAttributesResponse
request :: ModifyTargetGroupAttributes -> Request ModifyTargetGroupAttributes
request = Service
-> ModifyTargetGroupAttributes
-> Request ModifyTargetGroupAttributes
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
response :: Logger
-> Service
-> Proxy ModifyTargetGroupAttributes
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ModifyTargetGroupAttributes)))
response =
Text
-> (Int
-> ResponseHeaders
-> [Node]
-> Either String (AWSResponse ModifyTargetGroupAttributes))
-> Logger
-> Service
-> Proxy ModifyTargetGroupAttributes
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ModifyTargetGroupAttributes)))
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
"ModifyTargetGroupAttributesResult"
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe [TargetGroupAttribute]
-> Int -> ModifyTargetGroupAttributesResponse
ModifyTargetGroupAttributesResponse'
(Maybe [TargetGroupAttribute]
-> Int -> ModifyTargetGroupAttributesResponse)
-> Either String (Maybe [TargetGroupAttribute])
-> Either String (Int -> ModifyTargetGroupAttributesResponse)
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 [TargetGroupAttribute]))
-> Either String (Maybe [TargetGroupAttribute])
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= ([Node] -> Either String [TargetGroupAttribute])
-> [Node] -> Either String (Maybe [TargetGroupAttribute])
forall (f :: * -> *) a b.
Applicative f =>
([a] -> f b) -> [a] -> f (Maybe b)
Core.may (Text -> [Node] -> Either String [TargetGroupAttribute]
forall a. FromXML a => Text -> [Node] -> Either String [a]
Core.parseXMLList Text
"member")
)
Either String (Int -> ModifyTargetGroupAttributesResponse)
-> Either String Int
-> Either String ModifyTargetGroupAttributesResponse
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 ModifyTargetGroupAttributes
instance Prelude.NFData ModifyTargetGroupAttributes
instance Core.ToHeaders ModifyTargetGroupAttributes where
toHeaders :: ModifyTargetGroupAttributes -> ResponseHeaders
toHeaders = ResponseHeaders -> ModifyTargetGroupAttributes -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance Core.ToPath ModifyTargetGroupAttributes where
toPath :: ModifyTargetGroupAttributes -> ByteString
toPath = ByteString -> ModifyTargetGroupAttributes -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery ModifyTargetGroupAttributes where
toQuery :: ModifyTargetGroupAttributes -> QueryString
toQuery ModifyTargetGroupAttributes' {[TargetGroupAttribute]
Text
attributes :: [TargetGroupAttribute]
targetGroupArn :: Text
$sel:attributes:ModifyTargetGroupAttributes' :: ModifyTargetGroupAttributes -> [TargetGroupAttribute]
$sel:targetGroupArn:ModifyTargetGroupAttributes' :: ModifyTargetGroupAttributes -> 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
"ModifyTargetGroupAttributes" ::
Prelude.ByteString
),
ByteString
"Version"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2015-12-01" :: Prelude.ByteString),
ByteString
"TargetGroupArn" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
targetGroupArn,
ByteString
"Attributes"
ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: ByteString -> [TargetGroupAttribute] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"member" [TargetGroupAttribute]
attributes
]
data ModifyTargetGroupAttributesResponse = ModifyTargetGroupAttributesResponse'
{
ModifyTargetGroupAttributesResponse -> Maybe [TargetGroupAttribute]
attributes :: Prelude.Maybe [TargetGroupAttribute],
ModifyTargetGroupAttributesResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ModifyTargetGroupAttributesResponse
-> ModifyTargetGroupAttributesResponse -> Bool
(ModifyTargetGroupAttributesResponse
-> ModifyTargetGroupAttributesResponse -> Bool)
-> (ModifyTargetGroupAttributesResponse
-> ModifyTargetGroupAttributesResponse -> Bool)
-> Eq ModifyTargetGroupAttributesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ModifyTargetGroupAttributesResponse
-> ModifyTargetGroupAttributesResponse -> Bool
$c/= :: ModifyTargetGroupAttributesResponse
-> ModifyTargetGroupAttributesResponse -> Bool
== :: ModifyTargetGroupAttributesResponse
-> ModifyTargetGroupAttributesResponse -> Bool
$c== :: ModifyTargetGroupAttributesResponse
-> ModifyTargetGroupAttributesResponse -> Bool
Prelude.Eq, ReadPrec [ModifyTargetGroupAttributesResponse]
ReadPrec ModifyTargetGroupAttributesResponse
Int -> ReadS ModifyTargetGroupAttributesResponse
ReadS [ModifyTargetGroupAttributesResponse]
(Int -> ReadS ModifyTargetGroupAttributesResponse)
-> ReadS [ModifyTargetGroupAttributesResponse]
-> ReadPrec ModifyTargetGroupAttributesResponse
-> ReadPrec [ModifyTargetGroupAttributesResponse]
-> Read ModifyTargetGroupAttributesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ModifyTargetGroupAttributesResponse]
$creadListPrec :: ReadPrec [ModifyTargetGroupAttributesResponse]
readPrec :: ReadPrec ModifyTargetGroupAttributesResponse
$creadPrec :: ReadPrec ModifyTargetGroupAttributesResponse
readList :: ReadS [ModifyTargetGroupAttributesResponse]
$creadList :: ReadS [ModifyTargetGroupAttributesResponse]
readsPrec :: Int -> ReadS ModifyTargetGroupAttributesResponse
$creadsPrec :: Int -> ReadS ModifyTargetGroupAttributesResponse
Prelude.Read, Int -> ModifyTargetGroupAttributesResponse -> ShowS
[ModifyTargetGroupAttributesResponse] -> ShowS
ModifyTargetGroupAttributesResponse -> String
(Int -> ModifyTargetGroupAttributesResponse -> ShowS)
-> (ModifyTargetGroupAttributesResponse -> String)
-> ([ModifyTargetGroupAttributesResponse] -> ShowS)
-> Show ModifyTargetGroupAttributesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ModifyTargetGroupAttributesResponse] -> ShowS
$cshowList :: [ModifyTargetGroupAttributesResponse] -> ShowS
show :: ModifyTargetGroupAttributesResponse -> String
$cshow :: ModifyTargetGroupAttributesResponse -> String
showsPrec :: Int -> ModifyTargetGroupAttributesResponse -> ShowS
$cshowsPrec :: Int -> ModifyTargetGroupAttributesResponse -> ShowS
Prelude.Show, (forall x.
ModifyTargetGroupAttributesResponse
-> Rep ModifyTargetGroupAttributesResponse x)
-> (forall x.
Rep ModifyTargetGroupAttributesResponse x
-> ModifyTargetGroupAttributesResponse)
-> Generic ModifyTargetGroupAttributesResponse
forall x.
Rep ModifyTargetGroupAttributesResponse x
-> ModifyTargetGroupAttributesResponse
forall x.
ModifyTargetGroupAttributesResponse
-> Rep ModifyTargetGroupAttributesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ModifyTargetGroupAttributesResponse x
-> ModifyTargetGroupAttributesResponse
$cfrom :: forall x.
ModifyTargetGroupAttributesResponse
-> Rep ModifyTargetGroupAttributesResponse x
Prelude.Generic)
newModifyTargetGroupAttributesResponse ::
Prelude.Int ->
ModifyTargetGroupAttributesResponse
newModifyTargetGroupAttributesResponse :: Int -> ModifyTargetGroupAttributesResponse
newModifyTargetGroupAttributesResponse Int
pHttpStatus_ =
ModifyTargetGroupAttributesResponse' :: Maybe [TargetGroupAttribute]
-> Int -> ModifyTargetGroupAttributesResponse
ModifyTargetGroupAttributesResponse'
{ $sel:attributes:ModifyTargetGroupAttributesResponse' :: Maybe [TargetGroupAttribute]
attributes =
Maybe [TargetGroupAttribute]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ModifyTargetGroupAttributesResponse' :: Int
httpStatus = Int
pHttpStatus_
}
modifyTargetGroupAttributesResponse_attributes :: Lens.Lens' ModifyTargetGroupAttributesResponse (Prelude.Maybe [TargetGroupAttribute])
modifyTargetGroupAttributesResponse_attributes :: (Maybe [TargetGroupAttribute] -> f (Maybe [TargetGroupAttribute]))
-> ModifyTargetGroupAttributesResponse
-> f ModifyTargetGroupAttributesResponse
modifyTargetGroupAttributesResponse_attributes = (ModifyTargetGroupAttributesResponse
-> Maybe [TargetGroupAttribute])
-> (ModifyTargetGroupAttributesResponse
-> Maybe [TargetGroupAttribute]
-> ModifyTargetGroupAttributesResponse)
-> Lens
ModifyTargetGroupAttributesResponse
ModifyTargetGroupAttributesResponse
(Maybe [TargetGroupAttribute])
(Maybe [TargetGroupAttribute])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyTargetGroupAttributesResponse' {Maybe [TargetGroupAttribute]
attributes :: Maybe [TargetGroupAttribute]
$sel:attributes:ModifyTargetGroupAttributesResponse' :: ModifyTargetGroupAttributesResponse -> Maybe [TargetGroupAttribute]
attributes} -> Maybe [TargetGroupAttribute]
attributes) (\s :: ModifyTargetGroupAttributesResponse
s@ModifyTargetGroupAttributesResponse' {} Maybe [TargetGroupAttribute]
a -> ModifyTargetGroupAttributesResponse
s {$sel:attributes:ModifyTargetGroupAttributesResponse' :: Maybe [TargetGroupAttribute]
attributes = Maybe [TargetGroupAttribute]
a} :: ModifyTargetGroupAttributesResponse) ((Maybe [TargetGroupAttribute] -> f (Maybe [TargetGroupAttribute]))
-> ModifyTargetGroupAttributesResponse
-> f ModifyTargetGroupAttributesResponse)
-> ((Maybe [TargetGroupAttribute]
-> f (Maybe [TargetGroupAttribute]))
-> Maybe [TargetGroupAttribute]
-> f (Maybe [TargetGroupAttribute]))
-> (Maybe [TargetGroupAttribute]
-> f (Maybe [TargetGroupAttribute]))
-> ModifyTargetGroupAttributesResponse
-> f ModifyTargetGroupAttributesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[TargetGroupAttribute]
[TargetGroupAttribute]
[TargetGroupAttribute]
[TargetGroupAttribute]
-> Iso
(Maybe [TargetGroupAttribute])
(Maybe [TargetGroupAttribute])
(Maybe [TargetGroupAttribute])
(Maybe [TargetGroupAttribute])
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
[TargetGroupAttribute]
[TargetGroupAttribute]
[TargetGroupAttribute]
[TargetGroupAttribute]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
modifyTargetGroupAttributesResponse_httpStatus :: Lens.Lens' ModifyTargetGroupAttributesResponse Prelude.Int
modifyTargetGroupAttributesResponse_httpStatus :: (Int -> f Int)
-> ModifyTargetGroupAttributesResponse
-> f ModifyTargetGroupAttributesResponse
modifyTargetGroupAttributesResponse_httpStatus = (ModifyTargetGroupAttributesResponse -> Int)
-> (ModifyTargetGroupAttributesResponse
-> Int -> ModifyTargetGroupAttributesResponse)
-> Lens
ModifyTargetGroupAttributesResponse
ModifyTargetGroupAttributesResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyTargetGroupAttributesResponse' {Int
httpStatus :: Int
$sel:httpStatus:ModifyTargetGroupAttributesResponse' :: ModifyTargetGroupAttributesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ModifyTargetGroupAttributesResponse
s@ModifyTargetGroupAttributesResponse' {} Int
a -> ModifyTargetGroupAttributesResponse
s {$sel:httpStatus:ModifyTargetGroupAttributesResponse' :: Int
httpStatus = Int
a} :: ModifyTargetGroupAttributesResponse)
instance
Prelude.NFData
ModifyTargetGroupAttributesResponse