{-# 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.Neptune.ModifyDBClusterEndpoint
(
ModifyDBClusterEndpoint (..),
newModifyDBClusterEndpoint,
modifyDBClusterEndpoint_staticMembers,
modifyDBClusterEndpoint_endpointType,
modifyDBClusterEndpoint_excludedMembers,
modifyDBClusterEndpoint_dbClusterEndpointIdentifier,
ModifyDBClusterEndpointResponse (..),
newModifyDBClusterEndpointResponse,
modifyDBClusterEndpointResponse_status,
modifyDBClusterEndpointResponse_dbClusterIdentifier,
modifyDBClusterEndpointResponse_dbClusterEndpointArn,
modifyDBClusterEndpointResponse_customEndpointType,
modifyDBClusterEndpointResponse_staticMembers,
modifyDBClusterEndpointResponse_endpointType,
modifyDBClusterEndpointResponse_dbClusterEndpointIdentifier,
modifyDBClusterEndpointResponse_endpoint,
modifyDBClusterEndpointResponse_dbClusterEndpointResourceIdentifier,
modifyDBClusterEndpointResponse_excludedMembers,
modifyDBClusterEndpointResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import Amazonka.Neptune.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data ModifyDBClusterEndpoint = ModifyDBClusterEndpoint'
{
ModifyDBClusterEndpoint -> Maybe [Text]
staticMembers :: Prelude.Maybe [Prelude.Text],
ModifyDBClusterEndpoint -> Maybe Text
endpointType :: Prelude.Maybe Prelude.Text,
ModifyDBClusterEndpoint -> Maybe [Text]
excludedMembers :: Prelude.Maybe [Prelude.Text],
ModifyDBClusterEndpoint -> Text
dbClusterEndpointIdentifier :: Prelude.Text
}
deriving (ModifyDBClusterEndpoint -> ModifyDBClusterEndpoint -> Bool
(ModifyDBClusterEndpoint -> ModifyDBClusterEndpoint -> Bool)
-> (ModifyDBClusterEndpoint -> ModifyDBClusterEndpoint -> Bool)
-> Eq ModifyDBClusterEndpoint
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ModifyDBClusterEndpoint -> ModifyDBClusterEndpoint -> Bool
$c/= :: ModifyDBClusterEndpoint -> ModifyDBClusterEndpoint -> Bool
== :: ModifyDBClusterEndpoint -> ModifyDBClusterEndpoint -> Bool
$c== :: ModifyDBClusterEndpoint -> ModifyDBClusterEndpoint -> Bool
Prelude.Eq, ReadPrec [ModifyDBClusterEndpoint]
ReadPrec ModifyDBClusterEndpoint
Int -> ReadS ModifyDBClusterEndpoint
ReadS [ModifyDBClusterEndpoint]
(Int -> ReadS ModifyDBClusterEndpoint)
-> ReadS [ModifyDBClusterEndpoint]
-> ReadPrec ModifyDBClusterEndpoint
-> ReadPrec [ModifyDBClusterEndpoint]
-> Read ModifyDBClusterEndpoint
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ModifyDBClusterEndpoint]
$creadListPrec :: ReadPrec [ModifyDBClusterEndpoint]
readPrec :: ReadPrec ModifyDBClusterEndpoint
$creadPrec :: ReadPrec ModifyDBClusterEndpoint
readList :: ReadS [ModifyDBClusterEndpoint]
$creadList :: ReadS [ModifyDBClusterEndpoint]
readsPrec :: Int -> ReadS ModifyDBClusterEndpoint
$creadsPrec :: Int -> ReadS ModifyDBClusterEndpoint
Prelude.Read, Int -> ModifyDBClusterEndpoint -> ShowS
[ModifyDBClusterEndpoint] -> ShowS
ModifyDBClusterEndpoint -> String
(Int -> ModifyDBClusterEndpoint -> ShowS)
-> (ModifyDBClusterEndpoint -> String)
-> ([ModifyDBClusterEndpoint] -> ShowS)
-> Show ModifyDBClusterEndpoint
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ModifyDBClusterEndpoint] -> ShowS
$cshowList :: [ModifyDBClusterEndpoint] -> ShowS
show :: ModifyDBClusterEndpoint -> String
$cshow :: ModifyDBClusterEndpoint -> String
showsPrec :: Int -> ModifyDBClusterEndpoint -> ShowS
$cshowsPrec :: Int -> ModifyDBClusterEndpoint -> ShowS
Prelude.Show, (forall x.
ModifyDBClusterEndpoint -> Rep ModifyDBClusterEndpoint x)
-> (forall x.
Rep ModifyDBClusterEndpoint x -> ModifyDBClusterEndpoint)
-> Generic ModifyDBClusterEndpoint
forall x. Rep ModifyDBClusterEndpoint x -> ModifyDBClusterEndpoint
forall x. ModifyDBClusterEndpoint -> Rep ModifyDBClusterEndpoint x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ModifyDBClusterEndpoint x -> ModifyDBClusterEndpoint
$cfrom :: forall x. ModifyDBClusterEndpoint -> Rep ModifyDBClusterEndpoint x
Prelude.Generic)
newModifyDBClusterEndpoint ::
Prelude.Text ->
ModifyDBClusterEndpoint
newModifyDBClusterEndpoint :: Text -> ModifyDBClusterEndpoint
newModifyDBClusterEndpoint
Text
pDBClusterEndpointIdentifier_ =
ModifyDBClusterEndpoint' :: Maybe [Text]
-> Maybe Text -> Maybe [Text] -> Text -> ModifyDBClusterEndpoint
ModifyDBClusterEndpoint'
{ $sel:staticMembers:ModifyDBClusterEndpoint' :: Maybe [Text]
staticMembers =
Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:endpointType:ModifyDBClusterEndpoint' :: Maybe Text
endpointType = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:excludedMembers:ModifyDBClusterEndpoint' :: Maybe [Text]
excludedMembers = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:dbClusterEndpointIdentifier:ModifyDBClusterEndpoint' :: Text
dbClusterEndpointIdentifier =
Text
pDBClusterEndpointIdentifier_
}
modifyDBClusterEndpoint_staticMembers :: Lens.Lens' ModifyDBClusterEndpoint (Prelude.Maybe [Prelude.Text])
modifyDBClusterEndpoint_staticMembers :: (Maybe [Text] -> f (Maybe [Text]))
-> ModifyDBClusterEndpoint -> f ModifyDBClusterEndpoint
modifyDBClusterEndpoint_staticMembers = (ModifyDBClusterEndpoint -> Maybe [Text])
-> (ModifyDBClusterEndpoint
-> Maybe [Text] -> ModifyDBClusterEndpoint)
-> Lens
ModifyDBClusterEndpoint
ModifyDBClusterEndpoint
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyDBClusterEndpoint' {Maybe [Text]
staticMembers :: Maybe [Text]
$sel:staticMembers:ModifyDBClusterEndpoint' :: ModifyDBClusterEndpoint -> Maybe [Text]
staticMembers} -> Maybe [Text]
staticMembers) (\s :: ModifyDBClusterEndpoint
s@ModifyDBClusterEndpoint' {} Maybe [Text]
a -> ModifyDBClusterEndpoint
s {$sel:staticMembers:ModifyDBClusterEndpoint' :: Maybe [Text]
staticMembers = Maybe [Text]
a} :: ModifyDBClusterEndpoint) ((Maybe [Text] -> f (Maybe [Text]))
-> ModifyDBClusterEndpoint -> f ModifyDBClusterEndpoint)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> ModifyDBClusterEndpoint
-> f ModifyDBClusterEndpoint
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
modifyDBClusterEndpoint_endpointType :: Lens.Lens' ModifyDBClusterEndpoint (Prelude.Maybe Prelude.Text)
modifyDBClusterEndpoint_endpointType :: (Maybe Text -> f (Maybe Text))
-> ModifyDBClusterEndpoint -> f ModifyDBClusterEndpoint
modifyDBClusterEndpoint_endpointType = (ModifyDBClusterEndpoint -> Maybe Text)
-> (ModifyDBClusterEndpoint
-> Maybe Text -> ModifyDBClusterEndpoint)
-> Lens
ModifyDBClusterEndpoint
ModifyDBClusterEndpoint
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyDBClusterEndpoint' {Maybe Text
endpointType :: Maybe Text
$sel:endpointType:ModifyDBClusterEndpoint' :: ModifyDBClusterEndpoint -> Maybe Text
endpointType} -> Maybe Text
endpointType) (\s :: ModifyDBClusterEndpoint
s@ModifyDBClusterEndpoint' {} Maybe Text
a -> ModifyDBClusterEndpoint
s {$sel:endpointType:ModifyDBClusterEndpoint' :: Maybe Text
endpointType = Maybe Text
a} :: ModifyDBClusterEndpoint)
modifyDBClusterEndpoint_excludedMembers :: Lens.Lens' ModifyDBClusterEndpoint (Prelude.Maybe [Prelude.Text])
modifyDBClusterEndpoint_excludedMembers :: (Maybe [Text] -> f (Maybe [Text]))
-> ModifyDBClusterEndpoint -> f ModifyDBClusterEndpoint
modifyDBClusterEndpoint_excludedMembers = (ModifyDBClusterEndpoint -> Maybe [Text])
-> (ModifyDBClusterEndpoint
-> Maybe [Text] -> ModifyDBClusterEndpoint)
-> Lens
ModifyDBClusterEndpoint
ModifyDBClusterEndpoint
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyDBClusterEndpoint' {Maybe [Text]
excludedMembers :: Maybe [Text]
$sel:excludedMembers:ModifyDBClusterEndpoint' :: ModifyDBClusterEndpoint -> Maybe [Text]
excludedMembers} -> Maybe [Text]
excludedMembers) (\s :: ModifyDBClusterEndpoint
s@ModifyDBClusterEndpoint' {} Maybe [Text]
a -> ModifyDBClusterEndpoint
s {$sel:excludedMembers:ModifyDBClusterEndpoint' :: Maybe [Text]
excludedMembers = Maybe [Text]
a} :: ModifyDBClusterEndpoint) ((Maybe [Text] -> f (Maybe [Text]))
-> ModifyDBClusterEndpoint -> f ModifyDBClusterEndpoint)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> ModifyDBClusterEndpoint
-> f ModifyDBClusterEndpoint
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
modifyDBClusterEndpoint_dbClusterEndpointIdentifier :: Lens.Lens' ModifyDBClusterEndpoint Prelude.Text
modifyDBClusterEndpoint_dbClusterEndpointIdentifier :: (Text -> f Text)
-> ModifyDBClusterEndpoint -> f ModifyDBClusterEndpoint
modifyDBClusterEndpoint_dbClusterEndpointIdentifier = (ModifyDBClusterEndpoint -> Text)
-> (ModifyDBClusterEndpoint -> Text -> ModifyDBClusterEndpoint)
-> Lens ModifyDBClusterEndpoint ModifyDBClusterEndpoint Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyDBClusterEndpoint' {Text
dbClusterEndpointIdentifier :: Text
$sel:dbClusterEndpointIdentifier:ModifyDBClusterEndpoint' :: ModifyDBClusterEndpoint -> Text
dbClusterEndpointIdentifier} -> Text
dbClusterEndpointIdentifier) (\s :: ModifyDBClusterEndpoint
s@ModifyDBClusterEndpoint' {} Text
a -> ModifyDBClusterEndpoint
s {$sel:dbClusterEndpointIdentifier:ModifyDBClusterEndpoint' :: Text
dbClusterEndpointIdentifier = Text
a} :: ModifyDBClusterEndpoint)
instance Core.AWSRequest ModifyDBClusterEndpoint where
type
AWSResponse ModifyDBClusterEndpoint =
ModifyDBClusterEndpointResponse
request :: ModifyDBClusterEndpoint -> Request ModifyDBClusterEndpoint
request = Service
-> ModifyDBClusterEndpoint -> Request ModifyDBClusterEndpoint
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
response :: Logger
-> Service
-> Proxy ModifyDBClusterEndpoint
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ModifyDBClusterEndpoint)))
response =
Text
-> (Int
-> ResponseHeaders
-> [Node]
-> Either String (AWSResponse ModifyDBClusterEndpoint))
-> Logger
-> Service
-> Proxy ModifyDBClusterEndpoint
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ModifyDBClusterEndpoint)))
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
"ModifyDBClusterEndpointResult"
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Int
-> ModifyDBClusterEndpointResponse
ModifyDBClusterEndpointResponse'
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Int
-> ModifyDBClusterEndpointResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Int
-> ModifyDBClusterEndpointResponse)
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
"Status")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Int
-> ModifyDBClusterEndpointResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Int
-> ModifyDBClusterEndpointResponse)
forall (f :: * -> *) a b. Applicative f => 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
"DBClusterIdentifier")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Int
-> ModifyDBClusterEndpointResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Int
-> ModifyDBClusterEndpointResponse)
forall (f :: * -> *) a b. Applicative f => 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
"DBClusterEndpointArn")
Either
String
(Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Int
-> ModifyDBClusterEndpointResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Int
-> ModifyDBClusterEndpointResponse)
forall (f :: * -> *) a b. Applicative f => 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
"CustomEndpointType")
Either
String
(Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Int
-> ModifyDBClusterEndpointResponse)
-> Either String (Maybe [Text])
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Int
-> ModifyDBClusterEndpointResponse)
forall (f :: * -> *) a b. Applicative f => 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
"StaticMembers" 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 [Text]))
-> Either String (Maybe [Text])
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= ([Node] -> Either String [Text])
-> [Node] -> Either String (Maybe [Text])
forall (f :: * -> *) a b.
Applicative f =>
([a] -> f b) -> [a] -> f (Maybe b)
Core.may (Text -> [Node] -> Either String [Text]
forall a. FromXML a => Text -> [Node] -> Either String [a]
Core.parseXMLList Text
"member")
)
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Int
-> ModifyDBClusterEndpointResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Int
-> ModifyDBClusterEndpointResponse)
forall (f :: * -> *) a b. Applicative f => 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
"EndpointType")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Int
-> ModifyDBClusterEndpointResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Int
-> ModifyDBClusterEndpointResponse)
forall (f :: * -> *) a b. Applicative f => 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
"DBClusterEndpointIdentifier")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Int
-> ModifyDBClusterEndpointResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe [Text] -> Int -> ModifyDBClusterEndpointResponse)
forall (f :: * -> *) a b. Applicative f => 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
"Endpoint")
Either
String
(Maybe Text
-> Maybe [Text] -> Int -> ModifyDBClusterEndpointResponse)
-> Either String (Maybe Text)
-> Either
String (Maybe [Text] -> Int -> ModifyDBClusterEndpointResponse)
forall (f :: * -> *) a b. Applicative f => 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
"DBClusterEndpointResourceIdentifier")
Either
String (Maybe [Text] -> Int -> ModifyDBClusterEndpointResponse)
-> Either String (Maybe [Text])
-> Either String (Int -> ModifyDBClusterEndpointResponse)
forall (f :: * -> *) a b. Applicative f => 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
"ExcludedMembers" 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 [Text]))
-> Either String (Maybe [Text])
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= ([Node] -> Either String [Text])
-> [Node] -> Either String (Maybe [Text])
forall (f :: * -> *) a b.
Applicative f =>
([a] -> f b) -> [a] -> f (Maybe b)
Core.may (Text -> [Node] -> Either String [Text]
forall a. FromXML a => Text -> [Node] -> Either String [a]
Core.parseXMLList Text
"member")
)
Either String (Int -> ModifyDBClusterEndpointResponse)
-> Either String Int
-> Either String ModifyDBClusterEndpointResponse
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 ModifyDBClusterEndpoint
instance Prelude.NFData ModifyDBClusterEndpoint
instance Core.ToHeaders ModifyDBClusterEndpoint where
toHeaders :: ModifyDBClusterEndpoint -> ResponseHeaders
toHeaders = ResponseHeaders -> ModifyDBClusterEndpoint -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance Core.ToPath ModifyDBClusterEndpoint where
toPath :: ModifyDBClusterEndpoint -> ByteString
toPath = ByteString -> ModifyDBClusterEndpoint -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery ModifyDBClusterEndpoint where
toQuery :: ModifyDBClusterEndpoint -> QueryString
toQuery ModifyDBClusterEndpoint' {Maybe [Text]
Maybe Text
Text
dbClusterEndpointIdentifier :: Text
excludedMembers :: Maybe [Text]
endpointType :: Maybe Text
staticMembers :: Maybe [Text]
$sel:dbClusterEndpointIdentifier:ModifyDBClusterEndpoint' :: ModifyDBClusterEndpoint -> Text
$sel:excludedMembers:ModifyDBClusterEndpoint' :: ModifyDBClusterEndpoint -> Maybe [Text]
$sel:endpointType:ModifyDBClusterEndpoint' :: ModifyDBClusterEndpoint -> Maybe Text
$sel:staticMembers:ModifyDBClusterEndpoint' :: ModifyDBClusterEndpoint -> 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
"ModifyDBClusterEndpoint" :: Prelude.ByteString),
ByteString
"Version"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2014-10-31" :: Prelude.ByteString),
ByteString
"StaticMembers"
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]
staticMembers
),
ByteString
"EndpointType" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
endpointType,
ByteString
"ExcludedMembers"
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]
excludedMembers
),
ByteString
"DBClusterEndpointIdentifier"
ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
dbClusterEndpointIdentifier
]
data ModifyDBClusterEndpointResponse = ModifyDBClusterEndpointResponse'
{
ModifyDBClusterEndpointResponse -> Maybe Text
status :: Prelude.Maybe Prelude.Text,
ModifyDBClusterEndpointResponse -> Maybe Text
dbClusterIdentifier :: Prelude.Maybe Prelude.Text,
ModifyDBClusterEndpointResponse -> Maybe Text
dbClusterEndpointArn :: Prelude.Maybe Prelude.Text,
ModifyDBClusterEndpointResponse -> Maybe Text
customEndpointType :: Prelude.Maybe Prelude.Text,
ModifyDBClusterEndpointResponse -> Maybe [Text]
staticMembers :: Prelude.Maybe [Prelude.Text],
ModifyDBClusterEndpointResponse -> Maybe Text
endpointType :: Prelude.Maybe Prelude.Text,
ModifyDBClusterEndpointResponse -> Maybe Text
dbClusterEndpointIdentifier :: Prelude.Maybe Prelude.Text,
ModifyDBClusterEndpointResponse -> Maybe Text
endpoint :: Prelude.Maybe Prelude.Text,
ModifyDBClusterEndpointResponse -> Maybe Text
dbClusterEndpointResourceIdentifier :: Prelude.Maybe Prelude.Text,
ModifyDBClusterEndpointResponse -> Maybe [Text]
excludedMembers :: Prelude.Maybe [Prelude.Text],
ModifyDBClusterEndpointResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ModifyDBClusterEndpointResponse
-> ModifyDBClusterEndpointResponse -> Bool
(ModifyDBClusterEndpointResponse
-> ModifyDBClusterEndpointResponse -> Bool)
-> (ModifyDBClusterEndpointResponse
-> ModifyDBClusterEndpointResponse -> Bool)
-> Eq ModifyDBClusterEndpointResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ModifyDBClusterEndpointResponse
-> ModifyDBClusterEndpointResponse -> Bool
$c/= :: ModifyDBClusterEndpointResponse
-> ModifyDBClusterEndpointResponse -> Bool
== :: ModifyDBClusterEndpointResponse
-> ModifyDBClusterEndpointResponse -> Bool
$c== :: ModifyDBClusterEndpointResponse
-> ModifyDBClusterEndpointResponse -> Bool
Prelude.Eq, ReadPrec [ModifyDBClusterEndpointResponse]
ReadPrec ModifyDBClusterEndpointResponse
Int -> ReadS ModifyDBClusterEndpointResponse
ReadS [ModifyDBClusterEndpointResponse]
(Int -> ReadS ModifyDBClusterEndpointResponse)
-> ReadS [ModifyDBClusterEndpointResponse]
-> ReadPrec ModifyDBClusterEndpointResponse
-> ReadPrec [ModifyDBClusterEndpointResponse]
-> Read ModifyDBClusterEndpointResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ModifyDBClusterEndpointResponse]
$creadListPrec :: ReadPrec [ModifyDBClusterEndpointResponse]
readPrec :: ReadPrec ModifyDBClusterEndpointResponse
$creadPrec :: ReadPrec ModifyDBClusterEndpointResponse
readList :: ReadS [ModifyDBClusterEndpointResponse]
$creadList :: ReadS [ModifyDBClusterEndpointResponse]
readsPrec :: Int -> ReadS ModifyDBClusterEndpointResponse
$creadsPrec :: Int -> ReadS ModifyDBClusterEndpointResponse
Prelude.Read, Int -> ModifyDBClusterEndpointResponse -> ShowS
[ModifyDBClusterEndpointResponse] -> ShowS
ModifyDBClusterEndpointResponse -> String
(Int -> ModifyDBClusterEndpointResponse -> ShowS)
-> (ModifyDBClusterEndpointResponse -> String)
-> ([ModifyDBClusterEndpointResponse] -> ShowS)
-> Show ModifyDBClusterEndpointResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ModifyDBClusterEndpointResponse] -> ShowS
$cshowList :: [ModifyDBClusterEndpointResponse] -> ShowS
show :: ModifyDBClusterEndpointResponse -> String
$cshow :: ModifyDBClusterEndpointResponse -> String
showsPrec :: Int -> ModifyDBClusterEndpointResponse -> ShowS
$cshowsPrec :: Int -> ModifyDBClusterEndpointResponse -> ShowS
Prelude.Show, (forall x.
ModifyDBClusterEndpointResponse
-> Rep ModifyDBClusterEndpointResponse x)
-> (forall x.
Rep ModifyDBClusterEndpointResponse x
-> ModifyDBClusterEndpointResponse)
-> Generic ModifyDBClusterEndpointResponse
forall x.
Rep ModifyDBClusterEndpointResponse x
-> ModifyDBClusterEndpointResponse
forall x.
ModifyDBClusterEndpointResponse
-> Rep ModifyDBClusterEndpointResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ModifyDBClusterEndpointResponse x
-> ModifyDBClusterEndpointResponse
$cfrom :: forall x.
ModifyDBClusterEndpointResponse
-> Rep ModifyDBClusterEndpointResponse x
Prelude.Generic)
newModifyDBClusterEndpointResponse ::
Prelude.Int ->
ModifyDBClusterEndpointResponse
newModifyDBClusterEndpointResponse :: Int -> ModifyDBClusterEndpointResponse
newModifyDBClusterEndpointResponse Int
pHttpStatus_ =
ModifyDBClusterEndpointResponse' :: Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Int
-> ModifyDBClusterEndpointResponse
ModifyDBClusterEndpointResponse'
{ $sel:status:ModifyDBClusterEndpointResponse' :: Maybe Text
status =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:dbClusterIdentifier:ModifyDBClusterEndpointResponse' :: Maybe Text
dbClusterIdentifier = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:dbClusterEndpointArn:ModifyDBClusterEndpointResponse' :: Maybe Text
dbClusterEndpointArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:customEndpointType:ModifyDBClusterEndpointResponse' :: Maybe Text
customEndpointType = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:staticMembers:ModifyDBClusterEndpointResponse' :: Maybe [Text]
staticMembers = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:endpointType:ModifyDBClusterEndpointResponse' :: Maybe Text
endpointType = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:dbClusterEndpointIdentifier:ModifyDBClusterEndpointResponse' :: Maybe Text
dbClusterEndpointIdentifier =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:endpoint:ModifyDBClusterEndpointResponse' :: Maybe Text
endpoint = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:dbClusterEndpointResourceIdentifier:ModifyDBClusterEndpointResponse' :: Maybe Text
dbClusterEndpointResourceIdentifier =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:excludedMembers:ModifyDBClusterEndpointResponse' :: Maybe [Text]
excludedMembers = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ModifyDBClusterEndpointResponse' :: Int
httpStatus = Int
pHttpStatus_
}
modifyDBClusterEndpointResponse_status :: Lens.Lens' ModifyDBClusterEndpointResponse (Prelude.Maybe Prelude.Text)
modifyDBClusterEndpointResponse_status :: (Maybe Text -> f (Maybe Text))
-> ModifyDBClusterEndpointResponse
-> f ModifyDBClusterEndpointResponse
modifyDBClusterEndpointResponse_status = (ModifyDBClusterEndpointResponse -> Maybe Text)
-> (ModifyDBClusterEndpointResponse
-> Maybe Text -> ModifyDBClusterEndpointResponse)
-> Lens
ModifyDBClusterEndpointResponse
ModifyDBClusterEndpointResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyDBClusterEndpointResponse' {Maybe Text
status :: Maybe Text
$sel:status:ModifyDBClusterEndpointResponse' :: ModifyDBClusterEndpointResponse -> Maybe Text
status} -> Maybe Text
status) (\s :: ModifyDBClusterEndpointResponse
s@ModifyDBClusterEndpointResponse' {} Maybe Text
a -> ModifyDBClusterEndpointResponse
s {$sel:status:ModifyDBClusterEndpointResponse' :: Maybe Text
status = Maybe Text
a} :: ModifyDBClusterEndpointResponse)
modifyDBClusterEndpointResponse_dbClusterIdentifier :: Lens.Lens' ModifyDBClusterEndpointResponse (Prelude.Maybe Prelude.Text)
modifyDBClusterEndpointResponse_dbClusterIdentifier :: (Maybe Text -> f (Maybe Text))
-> ModifyDBClusterEndpointResponse
-> f ModifyDBClusterEndpointResponse
modifyDBClusterEndpointResponse_dbClusterIdentifier = (ModifyDBClusterEndpointResponse -> Maybe Text)
-> (ModifyDBClusterEndpointResponse
-> Maybe Text -> ModifyDBClusterEndpointResponse)
-> Lens
ModifyDBClusterEndpointResponse
ModifyDBClusterEndpointResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyDBClusterEndpointResponse' {Maybe Text
dbClusterIdentifier :: Maybe Text
$sel:dbClusterIdentifier:ModifyDBClusterEndpointResponse' :: ModifyDBClusterEndpointResponse -> Maybe Text
dbClusterIdentifier} -> Maybe Text
dbClusterIdentifier) (\s :: ModifyDBClusterEndpointResponse
s@ModifyDBClusterEndpointResponse' {} Maybe Text
a -> ModifyDBClusterEndpointResponse
s {$sel:dbClusterIdentifier:ModifyDBClusterEndpointResponse' :: Maybe Text
dbClusterIdentifier = Maybe Text
a} :: ModifyDBClusterEndpointResponse)
modifyDBClusterEndpointResponse_dbClusterEndpointArn :: Lens.Lens' ModifyDBClusterEndpointResponse (Prelude.Maybe Prelude.Text)
modifyDBClusterEndpointResponse_dbClusterEndpointArn :: (Maybe Text -> f (Maybe Text))
-> ModifyDBClusterEndpointResponse
-> f ModifyDBClusterEndpointResponse
modifyDBClusterEndpointResponse_dbClusterEndpointArn = (ModifyDBClusterEndpointResponse -> Maybe Text)
-> (ModifyDBClusterEndpointResponse
-> Maybe Text -> ModifyDBClusterEndpointResponse)
-> Lens
ModifyDBClusterEndpointResponse
ModifyDBClusterEndpointResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyDBClusterEndpointResponse' {Maybe Text
dbClusterEndpointArn :: Maybe Text
$sel:dbClusterEndpointArn:ModifyDBClusterEndpointResponse' :: ModifyDBClusterEndpointResponse -> Maybe Text
dbClusterEndpointArn} -> Maybe Text
dbClusterEndpointArn) (\s :: ModifyDBClusterEndpointResponse
s@ModifyDBClusterEndpointResponse' {} Maybe Text
a -> ModifyDBClusterEndpointResponse
s {$sel:dbClusterEndpointArn:ModifyDBClusterEndpointResponse' :: Maybe Text
dbClusterEndpointArn = Maybe Text
a} :: ModifyDBClusterEndpointResponse)
modifyDBClusterEndpointResponse_customEndpointType :: Lens.Lens' ModifyDBClusterEndpointResponse (Prelude.Maybe Prelude.Text)
modifyDBClusterEndpointResponse_customEndpointType :: (Maybe Text -> f (Maybe Text))
-> ModifyDBClusterEndpointResponse
-> f ModifyDBClusterEndpointResponse
modifyDBClusterEndpointResponse_customEndpointType = (ModifyDBClusterEndpointResponse -> Maybe Text)
-> (ModifyDBClusterEndpointResponse
-> Maybe Text -> ModifyDBClusterEndpointResponse)
-> Lens
ModifyDBClusterEndpointResponse
ModifyDBClusterEndpointResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyDBClusterEndpointResponse' {Maybe Text
customEndpointType :: Maybe Text
$sel:customEndpointType:ModifyDBClusterEndpointResponse' :: ModifyDBClusterEndpointResponse -> Maybe Text
customEndpointType} -> Maybe Text
customEndpointType) (\s :: ModifyDBClusterEndpointResponse
s@ModifyDBClusterEndpointResponse' {} Maybe Text
a -> ModifyDBClusterEndpointResponse
s {$sel:customEndpointType:ModifyDBClusterEndpointResponse' :: Maybe Text
customEndpointType = Maybe Text
a} :: ModifyDBClusterEndpointResponse)
modifyDBClusterEndpointResponse_staticMembers :: Lens.Lens' ModifyDBClusterEndpointResponse (Prelude.Maybe [Prelude.Text])
modifyDBClusterEndpointResponse_staticMembers :: (Maybe [Text] -> f (Maybe [Text]))
-> ModifyDBClusterEndpointResponse
-> f ModifyDBClusterEndpointResponse
modifyDBClusterEndpointResponse_staticMembers = (ModifyDBClusterEndpointResponse -> Maybe [Text])
-> (ModifyDBClusterEndpointResponse
-> Maybe [Text] -> ModifyDBClusterEndpointResponse)
-> Lens
ModifyDBClusterEndpointResponse
ModifyDBClusterEndpointResponse
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyDBClusterEndpointResponse' {Maybe [Text]
staticMembers :: Maybe [Text]
$sel:staticMembers:ModifyDBClusterEndpointResponse' :: ModifyDBClusterEndpointResponse -> Maybe [Text]
staticMembers} -> Maybe [Text]
staticMembers) (\s :: ModifyDBClusterEndpointResponse
s@ModifyDBClusterEndpointResponse' {} Maybe [Text]
a -> ModifyDBClusterEndpointResponse
s {$sel:staticMembers:ModifyDBClusterEndpointResponse' :: Maybe [Text]
staticMembers = Maybe [Text]
a} :: ModifyDBClusterEndpointResponse) ((Maybe [Text] -> f (Maybe [Text]))
-> ModifyDBClusterEndpointResponse
-> f ModifyDBClusterEndpointResponse)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> ModifyDBClusterEndpointResponse
-> f ModifyDBClusterEndpointResponse
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
modifyDBClusterEndpointResponse_endpointType :: Lens.Lens' ModifyDBClusterEndpointResponse (Prelude.Maybe Prelude.Text)
modifyDBClusterEndpointResponse_endpointType :: (Maybe Text -> f (Maybe Text))
-> ModifyDBClusterEndpointResponse
-> f ModifyDBClusterEndpointResponse
modifyDBClusterEndpointResponse_endpointType = (ModifyDBClusterEndpointResponse -> Maybe Text)
-> (ModifyDBClusterEndpointResponse
-> Maybe Text -> ModifyDBClusterEndpointResponse)
-> Lens
ModifyDBClusterEndpointResponse
ModifyDBClusterEndpointResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyDBClusterEndpointResponse' {Maybe Text
endpointType :: Maybe Text
$sel:endpointType:ModifyDBClusterEndpointResponse' :: ModifyDBClusterEndpointResponse -> Maybe Text
endpointType} -> Maybe Text
endpointType) (\s :: ModifyDBClusterEndpointResponse
s@ModifyDBClusterEndpointResponse' {} Maybe Text
a -> ModifyDBClusterEndpointResponse
s {$sel:endpointType:ModifyDBClusterEndpointResponse' :: Maybe Text
endpointType = Maybe Text
a} :: ModifyDBClusterEndpointResponse)
modifyDBClusterEndpointResponse_dbClusterEndpointIdentifier :: Lens.Lens' ModifyDBClusterEndpointResponse (Prelude.Maybe Prelude.Text)
modifyDBClusterEndpointResponse_dbClusterEndpointIdentifier :: (Maybe Text -> f (Maybe Text))
-> ModifyDBClusterEndpointResponse
-> f ModifyDBClusterEndpointResponse
modifyDBClusterEndpointResponse_dbClusterEndpointIdentifier = (ModifyDBClusterEndpointResponse -> Maybe Text)
-> (ModifyDBClusterEndpointResponse
-> Maybe Text -> ModifyDBClusterEndpointResponse)
-> Lens
ModifyDBClusterEndpointResponse
ModifyDBClusterEndpointResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyDBClusterEndpointResponse' {Maybe Text
dbClusterEndpointIdentifier :: Maybe Text
$sel:dbClusterEndpointIdentifier:ModifyDBClusterEndpointResponse' :: ModifyDBClusterEndpointResponse -> Maybe Text
dbClusterEndpointIdentifier} -> Maybe Text
dbClusterEndpointIdentifier) (\s :: ModifyDBClusterEndpointResponse
s@ModifyDBClusterEndpointResponse' {} Maybe Text
a -> ModifyDBClusterEndpointResponse
s {$sel:dbClusterEndpointIdentifier:ModifyDBClusterEndpointResponse' :: Maybe Text
dbClusterEndpointIdentifier = Maybe Text
a} :: ModifyDBClusterEndpointResponse)
modifyDBClusterEndpointResponse_endpoint :: Lens.Lens' ModifyDBClusterEndpointResponse (Prelude.Maybe Prelude.Text)
modifyDBClusterEndpointResponse_endpoint :: (Maybe Text -> f (Maybe Text))
-> ModifyDBClusterEndpointResponse
-> f ModifyDBClusterEndpointResponse
modifyDBClusterEndpointResponse_endpoint = (ModifyDBClusterEndpointResponse -> Maybe Text)
-> (ModifyDBClusterEndpointResponse
-> Maybe Text -> ModifyDBClusterEndpointResponse)
-> Lens
ModifyDBClusterEndpointResponse
ModifyDBClusterEndpointResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyDBClusterEndpointResponse' {Maybe Text
endpoint :: Maybe Text
$sel:endpoint:ModifyDBClusterEndpointResponse' :: ModifyDBClusterEndpointResponse -> Maybe Text
endpoint} -> Maybe Text
endpoint) (\s :: ModifyDBClusterEndpointResponse
s@ModifyDBClusterEndpointResponse' {} Maybe Text
a -> ModifyDBClusterEndpointResponse
s {$sel:endpoint:ModifyDBClusterEndpointResponse' :: Maybe Text
endpoint = Maybe Text
a} :: ModifyDBClusterEndpointResponse)
modifyDBClusterEndpointResponse_dbClusterEndpointResourceIdentifier :: Lens.Lens' ModifyDBClusterEndpointResponse (Prelude.Maybe Prelude.Text)
modifyDBClusterEndpointResponse_dbClusterEndpointResourceIdentifier :: (Maybe Text -> f (Maybe Text))
-> ModifyDBClusterEndpointResponse
-> f ModifyDBClusterEndpointResponse
modifyDBClusterEndpointResponse_dbClusterEndpointResourceIdentifier = (ModifyDBClusterEndpointResponse -> Maybe Text)
-> (ModifyDBClusterEndpointResponse
-> Maybe Text -> ModifyDBClusterEndpointResponse)
-> Lens
ModifyDBClusterEndpointResponse
ModifyDBClusterEndpointResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyDBClusterEndpointResponse' {Maybe Text
dbClusterEndpointResourceIdentifier :: Maybe Text
$sel:dbClusterEndpointResourceIdentifier:ModifyDBClusterEndpointResponse' :: ModifyDBClusterEndpointResponse -> Maybe Text
dbClusterEndpointResourceIdentifier} -> Maybe Text
dbClusterEndpointResourceIdentifier) (\s :: ModifyDBClusterEndpointResponse
s@ModifyDBClusterEndpointResponse' {} Maybe Text
a -> ModifyDBClusterEndpointResponse
s {$sel:dbClusterEndpointResourceIdentifier:ModifyDBClusterEndpointResponse' :: Maybe Text
dbClusterEndpointResourceIdentifier = Maybe Text
a} :: ModifyDBClusterEndpointResponse)
modifyDBClusterEndpointResponse_excludedMembers :: Lens.Lens' ModifyDBClusterEndpointResponse (Prelude.Maybe [Prelude.Text])
modifyDBClusterEndpointResponse_excludedMembers :: (Maybe [Text] -> f (Maybe [Text]))
-> ModifyDBClusterEndpointResponse
-> f ModifyDBClusterEndpointResponse
modifyDBClusterEndpointResponse_excludedMembers = (ModifyDBClusterEndpointResponse -> Maybe [Text])
-> (ModifyDBClusterEndpointResponse
-> Maybe [Text] -> ModifyDBClusterEndpointResponse)
-> Lens
ModifyDBClusterEndpointResponse
ModifyDBClusterEndpointResponse
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyDBClusterEndpointResponse' {Maybe [Text]
excludedMembers :: Maybe [Text]
$sel:excludedMembers:ModifyDBClusterEndpointResponse' :: ModifyDBClusterEndpointResponse -> Maybe [Text]
excludedMembers} -> Maybe [Text]
excludedMembers) (\s :: ModifyDBClusterEndpointResponse
s@ModifyDBClusterEndpointResponse' {} Maybe [Text]
a -> ModifyDBClusterEndpointResponse
s {$sel:excludedMembers:ModifyDBClusterEndpointResponse' :: Maybe [Text]
excludedMembers = Maybe [Text]
a} :: ModifyDBClusterEndpointResponse) ((Maybe [Text] -> f (Maybe [Text]))
-> ModifyDBClusterEndpointResponse
-> f ModifyDBClusterEndpointResponse)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> ModifyDBClusterEndpointResponse
-> f ModifyDBClusterEndpointResponse
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
modifyDBClusterEndpointResponse_httpStatus :: Lens.Lens' ModifyDBClusterEndpointResponse Prelude.Int
modifyDBClusterEndpointResponse_httpStatus :: (Int -> f Int)
-> ModifyDBClusterEndpointResponse
-> f ModifyDBClusterEndpointResponse
modifyDBClusterEndpointResponse_httpStatus = (ModifyDBClusterEndpointResponse -> Int)
-> (ModifyDBClusterEndpointResponse
-> Int -> ModifyDBClusterEndpointResponse)
-> Lens
ModifyDBClusterEndpointResponse
ModifyDBClusterEndpointResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ModifyDBClusterEndpointResponse' {Int
httpStatus :: Int
$sel:httpStatus:ModifyDBClusterEndpointResponse' :: ModifyDBClusterEndpointResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ModifyDBClusterEndpointResponse
s@ModifyDBClusterEndpointResponse' {} Int
a -> ModifyDBClusterEndpointResponse
s {$sel:httpStatus:ModifyDBClusterEndpointResponse' :: Int
httpStatus = Int
a} :: ModifyDBClusterEndpointResponse)
instance
Prelude.NFData
ModifyDBClusterEndpointResponse