{-# 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.DocumentDB.CreateDBClusterParameterGroup
(
CreateDBClusterParameterGroup (..),
newCreateDBClusterParameterGroup,
createDBClusterParameterGroup_tags,
createDBClusterParameterGroup_dbClusterParameterGroupName,
createDBClusterParameterGroup_dbParameterGroupFamily,
createDBClusterParameterGroup_description,
CreateDBClusterParameterGroupResponse (..),
newCreateDBClusterParameterGroupResponse,
createDBClusterParameterGroupResponse_dbClusterParameterGroup,
createDBClusterParameterGroupResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.DocumentDB.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 CreateDBClusterParameterGroup = CreateDBClusterParameterGroup'
{
CreateDBClusterParameterGroup -> Maybe [Tag]
tags :: Prelude.Maybe [Tag],
CreateDBClusterParameterGroup -> Text
dbClusterParameterGroupName :: Prelude.Text,
CreateDBClusterParameterGroup -> Text
dbParameterGroupFamily :: Prelude.Text,
CreateDBClusterParameterGroup -> Text
description :: Prelude.Text
}
deriving (CreateDBClusterParameterGroup
-> CreateDBClusterParameterGroup -> Bool
(CreateDBClusterParameterGroup
-> CreateDBClusterParameterGroup -> Bool)
-> (CreateDBClusterParameterGroup
-> CreateDBClusterParameterGroup -> Bool)
-> Eq CreateDBClusterParameterGroup
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateDBClusterParameterGroup
-> CreateDBClusterParameterGroup -> Bool
$c/= :: CreateDBClusterParameterGroup
-> CreateDBClusterParameterGroup -> Bool
== :: CreateDBClusterParameterGroup
-> CreateDBClusterParameterGroup -> Bool
$c== :: CreateDBClusterParameterGroup
-> CreateDBClusterParameterGroup -> Bool
Prelude.Eq, ReadPrec [CreateDBClusterParameterGroup]
ReadPrec CreateDBClusterParameterGroup
Int -> ReadS CreateDBClusterParameterGroup
ReadS [CreateDBClusterParameterGroup]
(Int -> ReadS CreateDBClusterParameterGroup)
-> ReadS [CreateDBClusterParameterGroup]
-> ReadPrec CreateDBClusterParameterGroup
-> ReadPrec [CreateDBClusterParameterGroup]
-> Read CreateDBClusterParameterGroup
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateDBClusterParameterGroup]
$creadListPrec :: ReadPrec [CreateDBClusterParameterGroup]
readPrec :: ReadPrec CreateDBClusterParameterGroup
$creadPrec :: ReadPrec CreateDBClusterParameterGroup
readList :: ReadS [CreateDBClusterParameterGroup]
$creadList :: ReadS [CreateDBClusterParameterGroup]
readsPrec :: Int -> ReadS CreateDBClusterParameterGroup
$creadsPrec :: Int -> ReadS CreateDBClusterParameterGroup
Prelude.Read, Int -> CreateDBClusterParameterGroup -> ShowS
[CreateDBClusterParameterGroup] -> ShowS
CreateDBClusterParameterGroup -> String
(Int -> CreateDBClusterParameterGroup -> ShowS)
-> (CreateDBClusterParameterGroup -> String)
-> ([CreateDBClusterParameterGroup] -> ShowS)
-> Show CreateDBClusterParameterGroup
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateDBClusterParameterGroup] -> ShowS
$cshowList :: [CreateDBClusterParameterGroup] -> ShowS
show :: CreateDBClusterParameterGroup -> String
$cshow :: CreateDBClusterParameterGroup -> String
showsPrec :: Int -> CreateDBClusterParameterGroup -> ShowS
$cshowsPrec :: Int -> CreateDBClusterParameterGroup -> ShowS
Prelude.Show, (forall x.
CreateDBClusterParameterGroup
-> Rep CreateDBClusterParameterGroup x)
-> (forall x.
Rep CreateDBClusterParameterGroup x
-> CreateDBClusterParameterGroup)
-> Generic CreateDBClusterParameterGroup
forall x.
Rep CreateDBClusterParameterGroup x
-> CreateDBClusterParameterGroup
forall x.
CreateDBClusterParameterGroup
-> Rep CreateDBClusterParameterGroup x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CreateDBClusterParameterGroup x
-> CreateDBClusterParameterGroup
$cfrom :: forall x.
CreateDBClusterParameterGroup
-> Rep CreateDBClusterParameterGroup x
Prelude.Generic)
newCreateDBClusterParameterGroup ::
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
CreateDBClusterParameterGroup
newCreateDBClusterParameterGroup :: Text -> Text -> Text -> CreateDBClusterParameterGroup
newCreateDBClusterParameterGroup
Text
pDBClusterParameterGroupName_
Text
pDBParameterGroupFamily_
Text
pDescription_ =
CreateDBClusterParameterGroup' :: Maybe [Tag]
-> Text -> Text -> Text -> CreateDBClusterParameterGroup
CreateDBClusterParameterGroup'
{ $sel:tags:CreateDBClusterParameterGroup' :: Maybe [Tag]
tags =
Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
$sel:dbClusterParameterGroupName:CreateDBClusterParameterGroup' :: Text
dbClusterParameterGroupName =
Text
pDBClusterParameterGroupName_,
$sel:dbParameterGroupFamily:CreateDBClusterParameterGroup' :: Text
dbParameterGroupFamily =
Text
pDBParameterGroupFamily_,
$sel:description:CreateDBClusterParameterGroup' :: Text
description = Text
pDescription_
}
createDBClusterParameterGroup_tags :: Lens.Lens' CreateDBClusterParameterGroup (Prelude.Maybe [Tag])
createDBClusterParameterGroup_tags :: (Maybe [Tag] -> f (Maybe [Tag]))
-> CreateDBClusterParameterGroup -> f CreateDBClusterParameterGroup
createDBClusterParameterGroup_tags = (CreateDBClusterParameterGroup -> Maybe [Tag])
-> (CreateDBClusterParameterGroup
-> Maybe [Tag] -> CreateDBClusterParameterGroup)
-> Lens
CreateDBClusterParameterGroup
CreateDBClusterParameterGroup
(Maybe [Tag])
(Maybe [Tag])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateDBClusterParameterGroup' {Maybe [Tag]
tags :: Maybe [Tag]
$sel:tags:CreateDBClusterParameterGroup' :: CreateDBClusterParameterGroup -> Maybe [Tag]
tags} -> Maybe [Tag]
tags) (\s :: CreateDBClusterParameterGroup
s@CreateDBClusterParameterGroup' {} Maybe [Tag]
a -> CreateDBClusterParameterGroup
s {$sel:tags:CreateDBClusterParameterGroup' :: Maybe [Tag]
tags = Maybe [Tag]
a} :: CreateDBClusterParameterGroup) ((Maybe [Tag] -> f (Maybe [Tag]))
-> CreateDBClusterParameterGroup
-> f CreateDBClusterParameterGroup)
-> ((Maybe [Tag] -> f (Maybe [Tag]))
-> Maybe [Tag] -> f (Maybe [Tag]))
-> (Maybe [Tag] -> f (Maybe [Tag]))
-> CreateDBClusterParameterGroup
-> f CreateDBClusterParameterGroup
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Tag] [Tag] [Tag] [Tag]
-> Iso (Maybe [Tag]) (Maybe [Tag]) (Maybe [Tag]) (Maybe [Tag])
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 [Tag] [Tag] [Tag] [Tag]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
createDBClusterParameterGroup_dbClusterParameterGroupName :: Lens.Lens' CreateDBClusterParameterGroup Prelude.Text
createDBClusterParameterGroup_dbClusterParameterGroupName :: (Text -> f Text)
-> CreateDBClusterParameterGroup -> f CreateDBClusterParameterGroup
createDBClusterParameterGroup_dbClusterParameterGroupName = (CreateDBClusterParameterGroup -> Text)
-> (CreateDBClusterParameterGroup
-> Text -> CreateDBClusterParameterGroup)
-> Lens
CreateDBClusterParameterGroup
CreateDBClusterParameterGroup
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateDBClusterParameterGroup' {Text
dbClusterParameterGroupName :: Text
$sel:dbClusterParameterGroupName:CreateDBClusterParameterGroup' :: CreateDBClusterParameterGroup -> Text
dbClusterParameterGroupName} -> Text
dbClusterParameterGroupName) (\s :: CreateDBClusterParameterGroup
s@CreateDBClusterParameterGroup' {} Text
a -> CreateDBClusterParameterGroup
s {$sel:dbClusterParameterGroupName:CreateDBClusterParameterGroup' :: Text
dbClusterParameterGroupName = Text
a} :: CreateDBClusterParameterGroup)
createDBClusterParameterGroup_dbParameterGroupFamily :: Lens.Lens' CreateDBClusterParameterGroup Prelude.Text
createDBClusterParameterGroup_dbParameterGroupFamily :: (Text -> f Text)
-> CreateDBClusterParameterGroup -> f CreateDBClusterParameterGroup
createDBClusterParameterGroup_dbParameterGroupFamily = (CreateDBClusterParameterGroup -> Text)
-> (CreateDBClusterParameterGroup
-> Text -> CreateDBClusterParameterGroup)
-> Lens
CreateDBClusterParameterGroup
CreateDBClusterParameterGroup
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateDBClusterParameterGroup' {Text
dbParameterGroupFamily :: Text
$sel:dbParameterGroupFamily:CreateDBClusterParameterGroup' :: CreateDBClusterParameterGroup -> Text
dbParameterGroupFamily} -> Text
dbParameterGroupFamily) (\s :: CreateDBClusterParameterGroup
s@CreateDBClusterParameterGroup' {} Text
a -> CreateDBClusterParameterGroup
s {$sel:dbParameterGroupFamily:CreateDBClusterParameterGroup' :: Text
dbParameterGroupFamily = Text
a} :: CreateDBClusterParameterGroup)
createDBClusterParameterGroup_description :: Lens.Lens' CreateDBClusterParameterGroup Prelude.Text
createDBClusterParameterGroup_description :: (Text -> f Text)
-> CreateDBClusterParameterGroup -> f CreateDBClusterParameterGroup
createDBClusterParameterGroup_description = (CreateDBClusterParameterGroup -> Text)
-> (CreateDBClusterParameterGroup
-> Text -> CreateDBClusterParameterGroup)
-> Lens
CreateDBClusterParameterGroup
CreateDBClusterParameterGroup
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateDBClusterParameterGroup' {Text
description :: Text
$sel:description:CreateDBClusterParameterGroup' :: CreateDBClusterParameterGroup -> Text
description} -> Text
description) (\s :: CreateDBClusterParameterGroup
s@CreateDBClusterParameterGroup' {} Text
a -> CreateDBClusterParameterGroup
s {$sel:description:CreateDBClusterParameterGroup' :: Text
description = Text
a} :: CreateDBClusterParameterGroup)
instance
Core.AWSRequest
CreateDBClusterParameterGroup
where
type
AWSResponse CreateDBClusterParameterGroup =
CreateDBClusterParameterGroupResponse
request :: CreateDBClusterParameterGroup
-> Request CreateDBClusterParameterGroup
request = Service
-> CreateDBClusterParameterGroup
-> Request CreateDBClusterParameterGroup
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
response :: Logger
-> Service
-> Proxy CreateDBClusterParameterGroup
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse CreateDBClusterParameterGroup)))
response =
Text
-> (Int
-> ResponseHeaders
-> [Node]
-> Either String (AWSResponse CreateDBClusterParameterGroup))
-> Logger
-> Service
-> Proxy CreateDBClusterParameterGroup
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse CreateDBClusterParameterGroup)))
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
"CreateDBClusterParameterGroupResult"
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe DBClusterParameterGroup
-> Int -> CreateDBClusterParameterGroupResponse
CreateDBClusterParameterGroupResponse'
(Maybe DBClusterParameterGroup
-> Int -> CreateDBClusterParameterGroupResponse)
-> Either String (Maybe DBClusterParameterGroup)
-> Either String (Int -> CreateDBClusterParameterGroupResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x [Node] -> Text -> Either String (Maybe DBClusterParameterGroup)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"DBClusterParameterGroup")
Either String (Int -> CreateDBClusterParameterGroupResponse)
-> Either String Int
-> Either String CreateDBClusterParameterGroupResponse
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
CreateDBClusterParameterGroup
instance Prelude.NFData CreateDBClusterParameterGroup
instance Core.ToHeaders CreateDBClusterParameterGroup where
toHeaders :: CreateDBClusterParameterGroup -> ResponseHeaders
toHeaders = ResponseHeaders -> CreateDBClusterParameterGroup -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance Core.ToPath CreateDBClusterParameterGroup where
toPath :: CreateDBClusterParameterGroup -> ByteString
toPath = ByteString -> CreateDBClusterParameterGroup -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery CreateDBClusterParameterGroup where
toQuery :: CreateDBClusterParameterGroup -> QueryString
toQuery CreateDBClusterParameterGroup' {Maybe [Tag]
Text
description :: Text
dbParameterGroupFamily :: Text
dbClusterParameterGroupName :: Text
tags :: Maybe [Tag]
$sel:description:CreateDBClusterParameterGroup' :: CreateDBClusterParameterGroup -> Text
$sel:dbParameterGroupFamily:CreateDBClusterParameterGroup' :: CreateDBClusterParameterGroup -> Text
$sel:dbClusterParameterGroupName:CreateDBClusterParameterGroup' :: CreateDBClusterParameterGroup -> Text
$sel:tags:CreateDBClusterParameterGroup' :: CreateDBClusterParameterGroup -> Maybe [Tag]
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Action"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: ( ByteString
"CreateDBClusterParameterGroup" ::
Prelude.ByteString
),
ByteString
"Version"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2014-10-31" :: Prelude.ByteString),
ByteString
"Tags"
ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe QueryString -> QueryString
forall a. ToQuery a => a -> QueryString
Core.toQuery
(ByteString -> [Tag] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"Tag" ([Tag] -> QueryString) -> Maybe [Tag] -> Maybe QueryString
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags),
ByteString
"DBClusterParameterGroupName"
ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
dbClusterParameterGroupName,
ByteString
"DBParameterGroupFamily"
ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
dbParameterGroupFamily,
ByteString
"Description" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
description
]
data CreateDBClusterParameterGroupResponse = CreateDBClusterParameterGroupResponse'
{ CreateDBClusterParameterGroupResponse
-> Maybe DBClusterParameterGroup
dbClusterParameterGroup :: Prelude.Maybe DBClusterParameterGroup,
CreateDBClusterParameterGroupResponse -> Int
httpStatus :: Prelude.Int
}
deriving (CreateDBClusterParameterGroupResponse
-> CreateDBClusterParameterGroupResponse -> Bool
(CreateDBClusterParameterGroupResponse
-> CreateDBClusterParameterGroupResponse -> Bool)
-> (CreateDBClusterParameterGroupResponse
-> CreateDBClusterParameterGroupResponse -> Bool)
-> Eq CreateDBClusterParameterGroupResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateDBClusterParameterGroupResponse
-> CreateDBClusterParameterGroupResponse -> Bool
$c/= :: CreateDBClusterParameterGroupResponse
-> CreateDBClusterParameterGroupResponse -> Bool
== :: CreateDBClusterParameterGroupResponse
-> CreateDBClusterParameterGroupResponse -> Bool
$c== :: CreateDBClusterParameterGroupResponse
-> CreateDBClusterParameterGroupResponse -> Bool
Prelude.Eq, ReadPrec [CreateDBClusterParameterGroupResponse]
ReadPrec CreateDBClusterParameterGroupResponse
Int -> ReadS CreateDBClusterParameterGroupResponse
ReadS [CreateDBClusterParameterGroupResponse]
(Int -> ReadS CreateDBClusterParameterGroupResponse)
-> ReadS [CreateDBClusterParameterGroupResponse]
-> ReadPrec CreateDBClusterParameterGroupResponse
-> ReadPrec [CreateDBClusterParameterGroupResponse]
-> Read CreateDBClusterParameterGroupResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateDBClusterParameterGroupResponse]
$creadListPrec :: ReadPrec [CreateDBClusterParameterGroupResponse]
readPrec :: ReadPrec CreateDBClusterParameterGroupResponse
$creadPrec :: ReadPrec CreateDBClusterParameterGroupResponse
readList :: ReadS [CreateDBClusterParameterGroupResponse]
$creadList :: ReadS [CreateDBClusterParameterGroupResponse]
readsPrec :: Int -> ReadS CreateDBClusterParameterGroupResponse
$creadsPrec :: Int -> ReadS CreateDBClusterParameterGroupResponse
Prelude.Read, Int -> CreateDBClusterParameterGroupResponse -> ShowS
[CreateDBClusterParameterGroupResponse] -> ShowS
CreateDBClusterParameterGroupResponse -> String
(Int -> CreateDBClusterParameterGroupResponse -> ShowS)
-> (CreateDBClusterParameterGroupResponse -> String)
-> ([CreateDBClusterParameterGroupResponse] -> ShowS)
-> Show CreateDBClusterParameterGroupResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateDBClusterParameterGroupResponse] -> ShowS
$cshowList :: [CreateDBClusterParameterGroupResponse] -> ShowS
show :: CreateDBClusterParameterGroupResponse -> String
$cshow :: CreateDBClusterParameterGroupResponse -> String
showsPrec :: Int -> CreateDBClusterParameterGroupResponse -> ShowS
$cshowsPrec :: Int -> CreateDBClusterParameterGroupResponse -> ShowS
Prelude.Show, (forall x.
CreateDBClusterParameterGroupResponse
-> Rep CreateDBClusterParameterGroupResponse x)
-> (forall x.
Rep CreateDBClusterParameterGroupResponse x
-> CreateDBClusterParameterGroupResponse)
-> Generic CreateDBClusterParameterGroupResponse
forall x.
Rep CreateDBClusterParameterGroupResponse x
-> CreateDBClusterParameterGroupResponse
forall x.
CreateDBClusterParameterGroupResponse
-> Rep CreateDBClusterParameterGroupResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CreateDBClusterParameterGroupResponse x
-> CreateDBClusterParameterGroupResponse
$cfrom :: forall x.
CreateDBClusterParameterGroupResponse
-> Rep CreateDBClusterParameterGroupResponse x
Prelude.Generic)
newCreateDBClusterParameterGroupResponse ::
Prelude.Int ->
CreateDBClusterParameterGroupResponse
newCreateDBClusterParameterGroupResponse :: Int -> CreateDBClusterParameterGroupResponse
newCreateDBClusterParameterGroupResponse Int
pHttpStatus_ =
CreateDBClusterParameterGroupResponse' :: Maybe DBClusterParameterGroup
-> Int -> CreateDBClusterParameterGroupResponse
CreateDBClusterParameterGroupResponse'
{ $sel:dbClusterParameterGroup:CreateDBClusterParameterGroupResponse' :: Maybe DBClusterParameterGroup
dbClusterParameterGroup =
Maybe DBClusterParameterGroup
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:CreateDBClusterParameterGroupResponse' :: Int
httpStatus = Int
pHttpStatus_
}
createDBClusterParameterGroupResponse_dbClusterParameterGroup :: Lens.Lens' CreateDBClusterParameterGroupResponse (Prelude.Maybe DBClusterParameterGroup)
createDBClusterParameterGroupResponse_dbClusterParameterGroup :: (Maybe DBClusterParameterGroup
-> f (Maybe DBClusterParameterGroup))
-> CreateDBClusterParameterGroupResponse
-> f CreateDBClusterParameterGroupResponse
createDBClusterParameterGroupResponse_dbClusterParameterGroup = (CreateDBClusterParameterGroupResponse
-> Maybe DBClusterParameterGroup)
-> (CreateDBClusterParameterGroupResponse
-> Maybe DBClusterParameterGroup
-> CreateDBClusterParameterGroupResponse)
-> Lens
CreateDBClusterParameterGroupResponse
CreateDBClusterParameterGroupResponse
(Maybe DBClusterParameterGroup)
(Maybe DBClusterParameterGroup)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateDBClusterParameterGroupResponse' {Maybe DBClusterParameterGroup
dbClusterParameterGroup :: Maybe DBClusterParameterGroup
$sel:dbClusterParameterGroup:CreateDBClusterParameterGroupResponse' :: CreateDBClusterParameterGroupResponse
-> Maybe DBClusterParameterGroup
dbClusterParameterGroup} -> Maybe DBClusterParameterGroup
dbClusterParameterGroup) (\s :: CreateDBClusterParameterGroupResponse
s@CreateDBClusterParameterGroupResponse' {} Maybe DBClusterParameterGroup
a -> CreateDBClusterParameterGroupResponse
s {$sel:dbClusterParameterGroup:CreateDBClusterParameterGroupResponse' :: Maybe DBClusterParameterGroup
dbClusterParameterGroup = Maybe DBClusterParameterGroup
a} :: CreateDBClusterParameterGroupResponse)
createDBClusterParameterGroupResponse_httpStatus :: Lens.Lens' CreateDBClusterParameterGroupResponse Prelude.Int
createDBClusterParameterGroupResponse_httpStatus :: (Int -> f Int)
-> CreateDBClusterParameterGroupResponse
-> f CreateDBClusterParameterGroupResponse
createDBClusterParameterGroupResponse_httpStatus = (CreateDBClusterParameterGroupResponse -> Int)
-> (CreateDBClusterParameterGroupResponse
-> Int -> CreateDBClusterParameterGroupResponse)
-> Lens
CreateDBClusterParameterGroupResponse
CreateDBClusterParameterGroupResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateDBClusterParameterGroupResponse' {Int
httpStatus :: Int
$sel:httpStatus:CreateDBClusterParameterGroupResponse' :: CreateDBClusterParameterGroupResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: CreateDBClusterParameterGroupResponse
s@CreateDBClusterParameterGroupResponse' {} Int
a -> CreateDBClusterParameterGroupResponse
s {$sel:httpStatus:CreateDBClusterParameterGroupResponse' :: Int
httpStatus = Int
a} :: CreateDBClusterParameterGroupResponse)
instance
Prelude.NFData
CreateDBClusterParameterGroupResponse