{-# 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.ElastiCache.CreateCacheParameterGroup
(
CreateCacheParameterGroup (..),
newCreateCacheParameterGroup,
createCacheParameterGroup_tags,
createCacheParameterGroup_cacheParameterGroupName,
createCacheParameterGroup_cacheParameterGroupFamily,
createCacheParameterGroup_description,
CreateCacheParameterGroupResponse (..),
newCreateCacheParameterGroupResponse,
createCacheParameterGroupResponse_cacheParameterGroup,
createCacheParameterGroupResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.ElastiCache.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 CreateCacheParameterGroup = CreateCacheParameterGroup'
{
CreateCacheParameterGroup -> Maybe [Tag]
tags :: Prelude.Maybe [Tag],
CreateCacheParameterGroup -> Text
cacheParameterGroupName :: Prelude.Text,
CreateCacheParameterGroup -> Text
cacheParameterGroupFamily :: Prelude.Text,
CreateCacheParameterGroup -> Text
description :: Prelude.Text
}
deriving (CreateCacheParameterGroup -> CreateCacheParameterGroup -> Bool
(CreateCacheParameterGroup -> CreateCacheParameterGroup -> Bool)
-> (CreateCacheParameterGroup -> CreateCacheParameterGroup -> Bool)
-> Eq CreateCacheParameterGroup
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateCacheParameterGroup -> CreateCacheParameterGroup -> Bool
$c/= :: CreateCacheParameterGroup -> CreateCacheParameterGroup -> Bool
== :: CreateCacheParameterGroup -> CreateCacheParameterGroup -> Bool
$c== :: CreateCacheParameterGroup -> CreateCacheParameterGroup -> Bool
Prelude.Eq, ReadPrec [CreateCacheParameterGroup]
ReadPrec CreateCacheParameterGroup
Int -> ReadS CreateCacheParameterGroup
ReadS [CreateCacheParameterGroup]
(Int -> ReadS CreateCacheParameterGroup)
-> ReadS [CreateCacheParameterGroup]
-> ReadPrec CreateCacheParameterGroup
-> ReadPrec [CreateCacheParameterGroup]
-> Read CreateCacheParameterGroup
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateCacheParameterGroup]
$creadListPrec :: ReadPrec [CreateCacheParameterGroup]
readPrec :: ReadPrec CreateCacheParameterGroup
$creadPrec :: ReadPrec CreateCacheParameterGroup
readList :: ReadS [CreateCacheParameterGroup]
$creadList :: ReadS [CreateCacheParameterGroup]
readsPrec :: Int -> ReadS CreateCacheParameterGroup
$creadsPrec :: Int -> ReadS CreateCacheParameterGroup
Prelude.Read, Int -> CreateCacheParameterGroup -> ShowS
[CreateCacheParameterGroup] -> ShowS
CreateCacheParameterGroup -> String
(Int -> CreateCacheParameterGroup -> ShowS)
-> (CreateCacheParameterGroup -> String)
-> ([CreateCacheParameterGroup] -> ShowS)
-> Show CreateCacheParameterGroup
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateCacheParameterGroup] -> ShowS
$cshowList :: [CreateCacheParameterGroup] -> ShowS
show :: CreateCacheParameterGroup -> String
$cshow :: CreateCacheParameterGroup -> String
showsPrec :: Int -> CreateCacheParameterGroup -> ShowS
$cshowsPrec :: Int -> CreateCacheParameterGroup -> ShowS
Prelude.Show, (forall x.
CreateCacheParameterGroup -> Rep CreateCacheParameterGroup x)
-> (forall x.
Rep CreateCacheParameterGroup x -> CreateCacheParameterGroup)
-> Generic CreateCacheParameterGroup
forall x.
Rep CreateCacheParameterGroup x -> CreateCacheParameterGroup
forall x.
CreateCacheParameterGroup -> Rep CreateCacheParameterGroup x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CreateCacheParameterGroup x -> CreateCacheParameterGroup
$cfrom :: forall x.
CreateCacheParameterGroup -> Rep CreateCacheParameterGroup x
Prelude.Generic)
newCreateCacheParameterGroup ::
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
CreateCacheParameterGroup
newCreateCacheParameterGroup :: Text -> Text -> Text -> CreateCacheParameterGroup
newCreateCacheParameterGroup
Text
pCacheParameterGroupName_
Text
pCacheParameterGroupFamily_
Text
pDescription_ =
CreateCacheParameterGroup' :: Maybe [Tag] -> Text -> Text -> Text -> CreateCacheParameterGroup
CreateCacheParameterGroup'
{ $sel:tags:CreateCacheParameterGroup' :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
$sel:cacheParameterGroupName:CreateCacheParameterGroup' :: Text
cacheParameterGroupName =
Text
pCacheParameterGroupName_,
$sel:cacheParameterGroupFamily:CreateCacheParameterGroup' :: Text
cacheParameterGroupFamily =
Text
pCacheParameterGroupFamily_,
$sel:description:CreateCacheParameterGroup' :: Text
description = Text
pDescription_
}
createCacheParameterGroup_tags :: Lens.Lens' CreateCacheParameterGroup (Prelude.Maybe [Tag])
createCacheParameterGroup_tags :: (Maybe [Tag] -> f (Maybe [Tag]))
-> CreateCacheParameterGroup -> f CreateCacheParameterGroup
createCacheParameterGroup_tags = (CreateCacheParameterGroup -> Maybe [Tag])
-> (CreateCacheParameterGroup
-> Maybe [Tag] -> CreateCacheParameterGroup)
-> Lens
CreateCacheParameterGroup
CreateCacheParameterGroup
(Maybe [Tag])
(Maybe [Tag])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCacheParameterGroup' {Maybe [Tag]
tags :: Maybe [Tag]
$sel:tags:CreateCacheParameterGroup' :: CreateCacheParameterGroup -> Maybe [Tag]
tags} -> Maybe [Tag]
tags) (\s :: CreateCacheParameterGroup
s@CreateCacheParameterGroup' {} Maybe [Tag]
a -> CreateCacheParameterGroup
s {$sel:tags:CreateCacheParameterGroup' :: Maybe [Tag]
tags = Maybe [Tag]
a} :: CreateCacheParameterGroup) ((Maybe [Tag] -> f (Maybe [Tag]))
-> CreateCacheParameterGroup -> f CreateCacheParameterGroup)
-> ((Maybe [Tag] -> f (Maybe [Tag]))
-> Maybe [Tag] -> f (Maybe [Tag]))
-> (Maybe [Tag] -> f (Maybe [Tag]))
-> CreateCacheParameterGroup
-> f CreateCacheParameterGroup
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
createCacheParameterGroup_cacheParameterGroupName :: Lens.Lens' CreateCacheParameterGroup Prelude.Text
createCacheParameterGroup_cacheParameterGroupName :: (Text -> f Text)
-> CreateCacheParameterGroup -> f CreateCacheParameterGroup
createCacheParameterGroup_cacheParameterGroupName = (CreateCacheParameterGroup -> Text)
-> (CreateCacheParameterGroup -> Text -> CreateCacheParameterGroup)
-> Lens
CreateCacheParameterGroup CreateCacheParameterGroup Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCacheParameterGroup' {Text
cacheParameterGroupName :: Text
$sel:cacheParameterGroupName:CreateCacheParameterGroup' :: CreateCacheParameterGroup -> Text
cacheParameterGroupName} -> Text
cacheParameterGroupName) (\s :: CreateCacheParameterGroup
s@CreateCacheParameterGroup' {} Text
a -> CreateCacheParameterGroup
s {$sel:cacheParameterGroupName:CreateCacheParameterGroup' :: Text
cacheParameterGroupName = Text
a} :: CreateCacheParameterGroup)
createCacheParameterGroup_cacheParameterGroupFamily :: Lens.Lens' CreateCacheParameterGroup Prelude.Text
createCacheParameterGroup_cacheParameterGroupFamily :: (Text -> f Text)
-> CreateCacheParameterGroup -> f CreateCacheParameterGroup
createCacheParameterGroup_cacheParameterGroupFamily = (CreateCacheParameterGroup -> Text)
-> (CreateCacheParameterGroup -> Text -> CreateCacheParameterGroup)
-> Lens
CreateCacheParameterGroup CreateCacheParameterGroup Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCacheParameterGroup' {Text
cacheParameterGroupFamily :: Text
$sel:cacheParameterGroupFamily:CreateCacheParameterGroup' :: CreateCacheParameterGroup -> Text
cacheParameterGroupFamily} -> Text
cacheParameterGroupFamily) (\s :: CreateCacheParameterGroup
s@CreateCacheParameterGroup' {} Text
a -> CreateCacheParameterGroup
s {$sel:cacheParameterGroupFamily:CreateCacheParameterGroup' :: Text
cacheParameterGroupFamily = Text
a} :: CreateCacheParameterGroup)
createCacheParameterGroup_description :: Lens.Lens' CreateCacheParameterGroup Prelude.Text
createCacheParameterGroup_description :: (Text -> f Text)
-> CreateCacheParameterGroup -> f CreateCacheParameterGroup
createCacheParameterGroup_description = (CreateCacheParameterGroup -> Text)
-> (CreateCacheParameterGroup -> Text -> CreateCacheParameterGroup)
-> Lens
CreateCacheParameterGroup CreateCacheParameterGroup Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCacheParameterGroup' {Text
description :: Text
$sel:description:CreateCacheParameterGroup' :: CreateCacheParameterGroup -> Text
description} -> Text
description) (\s :: CreateCacheParameterGroup
s@CreateCacheParameterGroup' {} Text
a -> CreateCacheParameterGroup
s {$sel:description:CreateCacheParameterGroup' :: Text
description = Text
a} :: CreateCacheParameterGroup)
instance Core.AWSRequest CreateCacheParameterGroup where
type
AWSResponse CreateCacheParameterGroup =
CreateCacheParameterGroupResponse
request :: CreateCacheParameterGroup -> Request CreateCacheParameterGroup
request = Service
-> CreateCacheParameterGroup -> Request CreateCacheParameterGroup
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
response :: Logger
-> Service
-> Proxy CreateCacheParameterGroup
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse CreateCacheParameterGroup)))
response =
Text
-> (Int
-> ResponseHeaders
-> [Node]
-> Either String (AWSResponse CreateCacheParameterGroup))
-> Logger
-> Service
-> Proxy CreateCacheParameterGroup
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse CreateCacheParameterGroup)))
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
"CreateCacheParameterGroupResult"
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe CacheParameterGroup
-> Int -> CreateCacheParameterGroupResponse
CreateCacheParameterGroupResponse'
(Maybe CacheParameterGroup
-> Int -> CreateCacheParameterGroupResponse)
-> Either String (Maybe CacheParameterGroup)
-> Either String (Int -> CreateCacheParameterGroupResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x [Node] -> Text -> Either String (Maybe CacheParameterGroup)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"CacheParameterGroup")
Either String (Int -> CreateCacheParameterGroupResponse)
-> Either String Int
-> Either String CreateCacheParameterGroupResponse
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 CreateCacheParameterGroup
instance Prelude.NFData CreateCacheParameterGroup
instance Core.ToHeaders CreateCacheParameterGroup where
toHeaders :: CreateCacheParameterGroup -> ResponseHeaders
toHeaders = ResponseHeaders -> CreateCacheParameterGroup -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance Core.ToPath CreateCacheParameterGroup where
toPath :: CreateCacheParameterGroup -> ByteString
toPath = ByteString -> CreateCacheParameterGroup -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery CreateCacheParameterGroup where
toQuery :: CreateCacheParameterGroup -> QueryString
toQuery CreateCacheParameterGroup' {Maybe [Tag]
Text
description :: Text
cacheParameterGroupFamily :: Text
cacheParameterGroupName :: Text
tags :: Maybe [Tag]
$sel:description:CreateCacheParameterGroup' :: CreateCacheParameterGroup -> Text
$sel:cacheParameterGroupFamily:CreateCacheParameterGroup' :: CreateCacheParameterGroup -> Text
$sel:cacheParameterGroupName:CreateCacheParameterGroup' :: CreateCacheParameterGroup -> Text
$sel:tags:CreateCacheParameterGroup' :: CreateCacheParameterGroup -> 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
"CreateCacheParameterGroup" :: Prelude.ByteString),
ByteString
"Version"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2015-02-02" :: 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
"CacheParameterGroupName"
ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
cacheParameterGroupName,
ByteString
"CacheParameterGroupFamily"
ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
cacheParameterGroupFamily,
ByteString
"Description" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
description
]
data CreateCacheParameterGroupResponse = CreateCacheParameterGroupResponse'
{ CreateCacheParameterGroupResponse -> Maybe CacheParameterGroup
cacheParameterGroup :: Prelude.Maybe CacheParameterGroup,
CreateCacheParameterGroupResponse -> Int
httpStatus :: Prelude.Int
}
deriving (CreateCacheParameterGroupResponse
-> CreateCacheParameterGroupResponse -> Bool
(CreateCacheParameterGroupResponse
-> CreateCacheParameterGroupResponse -> Bool)
-> (CreateCacheParameterGroupResponse
-> CreateCacheParameterGroupResponse -> Bool)
-> Eq CreateCacheParameterGroupResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateCacheParameterGroupResponse
-> CreateCacheParameterGroupResponse -> Bool
$c/= :: CreateCacheParameterGroupResponse
-> CreateCacheParameterGroupResponse -> Bool
== :: CreateCacheParameterGroupResponse
-> CreateCacheParameterGroupResponse -> Bool
$c== :: CreateCacheParameterGroupResponse
-> CreateCacheParameterGroupResponse -> Bool
Prelude.Eq, ReadPrec [CreateCacheParameterGroupResponse]
ReadPrec CreateCacheParameterGroupResponse
Int -> ReadS CreateCacheParameterGroupResponse
ReadS [CreateCacheParameterGroupResponse]
(Int -> ReadS CreateCacheParameterGroupResponse)
-> ReadS [CreateCacheParameterGroupResponse]
-> ReadPrec CreateCacheParameterGroupResponse
-> ReadPrec [CreateCacheParameterGroupResponse]
-> Read CreateCacheParameterGroupResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateCacheParameterGroupResponse]
$creadListPrec :: ReadPrec [CreateCacheParameterGroupResponse]
readPrec :: ReadPrec CreateCacheParameterGroupResponse
$creadPrec :: ReadPrec CreateCacheParameterGroupResponse
readList :: ReadS [CreateCacheParameterGroupResponse]
$creadList :: ReadS [CreateCacheParameterGroupResponse]
readsPrec :: Int -> ReadS CreateCacheParameterGroupResponse
$creadsPrec :: Int -> ReadS CreateCacheParameterGroupResponse
Prelude.Read, Int -> CreateCacheParameterGroupResponse -> ShowS
[CreateCacheParameterGroupResponse] -> ShowS
CreateCacheParameterGroupResponse -> String
(Int -> CreateCacheParameterGroupResponse -> ShowS)
-> (CreateCacheParameterGroupResponse -> String)
-> ([CreateCacheParameterGroupResponse] -> ShowS)
-> Show CreateCacheParameterGroupResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateCacheParameterGroupResponse] -> ShowS
$cshowList :: [CreateCacheParameterGroupResponse] -> ShowS
show :: CreateCacheParameterGroupResponse -> String
$cshow :: CreateCacheParameterGroupResponse -> String
showsPrec :: Int -> CreateCacheParameterGroupResponse -> ShowS
$cshowsPrec :: Int -> CreateCacheParameterGroupResponse -> ShowS
Prelude.Show, (forall x.
CreateCacheParameterGroupResponse
-> Rep CreateCacheParameterGroupResponse x)
-> (forall x.
Rep CreateCacheParameterGroupResponse x
-> CreateCacheParameterGroupResponse)
-> Generic CreateCacheParameterGroupResponse
forall x.
Rep CreateCacheParameterGroupResponse x
-> CreateCacheParameterGroupResponse
forall x.
CreateCacheParameterGroupResponse
-> Rep CreateCacheParameterGroupResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CreateCacheParameterGroupResponse x
-> CreateCacheParameterGroupResponse
$cfrom :: forall x.
CreateCacheParameterGroupResponse
-> Rep CreateCacheParameterGroupResponse x
Prelude.Generic)
newCreateCacheParameterGroupResponse ::
Prelude.Int ->
CreateCacheParameterGroupResponse
newCreateCacheParameterGroupResponse :: Int -> CreateCacheParameterGroupResponse
newCreateCacheParameterGroupResponse Int
pHttpStatus_ =
CreateCacheParameterGroupResponse' :: Maybe CacheParameterGroup
-> Int -> CreateCacheParameterGroupResponse
CreateCacheParameterGroupResponse'
{ $sel:cacheParameterGroup:CreateCacheParameterGroupResponse' :: Maybe CacheParameterGroup
cacheParameterGroup =
Maybe CacheParameterGroup
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:CreateCacheParameterGroupResponse' :: Int
httpStatus = Int
pHttpStatus_
}
createCacheParameterGroupResponse_cacheParameterGroup :: Lens.Lens' CreateCacheParameterGroupResponse (Prelude.Maybe CacheParameterGroup)
createCacheParameterGroupResponse_cacheParameterGroup :: (Maybe CacheParameterGroup -> f (Maybe CacheParameterGroup))
-> CreateCacheParameterGroupResponse
-> f CreateCacheParameterGroupResponse
createCacheParameterGroupResponse_cacheParameterGroup = (CreateCacheParameterGroupResponse -> Maybe CacheParameterGroup)
-> (CreateCacheParameterGroupResponse
-> Maybe CacheParameterGroup -> CreateCacheParameterGroupResponse)
-> Lens
CreateCacheParameterGroupResponse
CreateCacheParameterGroupResponse
(Maybe CacheParameterGroup)
(Maybe CacheParameterGroup)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCacheParameterGroupResponse' {Maybe CacheParameterGroup
cacheParameterGroup :: Maybe CacheParameterGroup
$sel:cacheParameterGroup:CreateCacheParameterGroupResponse' :: CreateCacheParameterGroupResponse -> Maybe CacheParameterGroup
cacheParameterGroup} -> Maybe CacheParameterGroup
cacheParameterGroup) (\s :: CreateCacheParameterGroupResponse
s@CreateCacheParameterGroupResponse' {} Maybe CacheParameterGroup
a -> CreateCacheParameterGroupResponse
s {$sel:cacheParameterGroup:CreateCacheParameterGroupResponse' :: Maybe CacheParameterGroup
cacheParameterGroup = Maybe CacheParameterGroup
a} :: CreateCacheParameterGroupResponse)
createCacheParameterGroupResponse_httpStatus :: Lens.Lens' CreateCacheParameterGroupResponse Prelude.Int
createCacheParameterGroupResponse_httpStatus :: (Int -> f Int)
-> CreateCacheParameterGroupResponse
-> f CreateCacheParameterGroupResponse
createCacheParameterGroupResponse_httpStatus = (CreateCacheParameterGroupResponse -> Int)
-> (CreateCacheParameterGroupResponse
-> Int -> CreateCacheParameterGroupResponse)
-> Lens
CreateCacheParameterGroupResponse
CreateCacheParameterGroupResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCacheParameterGroupResponse' {Int
httpStatus :: Int
$sel:httpStatus:CreateCacheParameterGroupResponse' :: CreateCacheParameterGroupResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: CreateCacheParameterGroupResponse
s@CreateCacheParameterGroupResponse' {} Int
a -> CreateCacheParameterGroupResponse
s {$sel:httpStatus:CreateCacheParameterGroupResponse' :: Int
httpStatus = Int
a} :: CreateCacheParameterGroupResponse)
instance
Prelude.NFData
CreateCacheParameterGroupResponse