{-# 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.CodeCommit.CreateApprovalRuleTemplate
(
CreateApprovalRuleTemplate (..),
newCreateApprovalRuleTemplate,
createApprovalRuleTemplate_approvalRuleTemplateDescription,
createApprovalRuleTemplate_approvalRuleTemplateName,
createApprovalRuleTemplate_approvalRuleTemplateContent,
CreateApprovalRuleTemplateResponse (..),
newCreateApprovalRuleTemplateResponse,
createApprovalRuleTemplateResponse_httpStatus,
createApprovalRuleTemplateResponse_approvalRuleTemplate,
)
where
import Amazonka.CodeCommit.Types
import qualified Amazonka.Core as Core
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 CreateApprovalRuleTemplate = CreateApprovalRuleTemplate'
{
CreateApprovalRuleTemplate -> Maybe Text
approvalRuleTemplateDescription :: Prelude.Maybe Prelude.Text,
CreateApprovalRuleTemplate -> Text
approvalRuleTemplateName :: Prelude.Text,
CreateApprovalRuleTemplate -> Text
approvalRuleTemplateContent :: Prelude.Text
}
deriving (CreateApprovalRuleTemplate -> CreateApprovalRuleTemplate -> Bool
(CreateApprovalRuleTemplate -> CreateApprovalRuleTemplate -> Bool)
-> (CreateApprovalRuleTemplate
-> CreateApprovalRuleTemplate -> Bool)
-> Eq CreateApprovalRuleTemplate
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateApprovalRuleTemplate -> CreateApprovalRuleTemplate -> Bool
$c/= :: CreateApprovalRuleTemplate -> CreateApprovalRuleTemplate -> Bool
== :: CreateApprovalRuleTemplate -> CreateApprovalRuleTemplate -> Bool
$c== :: CreateApprovalRuleTemplate -> CreateApprovalRuleTemplate -> Bool
Prelude.Eq, ReadPrec [CreateApprovalRuleTemplate]
ReadPrec CreateApprovalRuleTemplate
Int -> ReadS CreateApprovalRuleTemplate
ReadS [CreateApprovalRuleTemplate]
(Int -> ReadS CreateApprovalRuleTemplate)
-> ReadS [CreateApprovalRuleTemplate]
-> ReadPrec CreateApprovalRuleTemplate
-> ReadPrec [CreateApprovalRuleTemplate]
-> Read CreateApprovalRuleTemplate
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateApprovalRuleTemplate]
$creadListPrec :: ReadPrec [CreateApprovalRuleTemplate]
readPrec :: ReadPrec CreateApprovalRuleTemplate
$creadPrec :: ReadPrec CreateApprovalRuleTemplate
readList :: ReadS [CreateApprovalRuleTemplate]
$creadList :: ReadS [CreateApprovalRuleTemplate]
readsPrec :: Int -> ReadS CreateApprovalRuleTemplate
$creadsPrec :: Int -> ReadS CreateApprovalRuleTemplate
Prelude.Read, Int -> CreateApprovalRuleTemplate -> ShowS
[CreateApprovalRuleTemplate] -> ShowS
CreateApprovalRuleTemplate -> String
(Int -> CreateApprovalRuleTemplate -> ShowS)
-> (CreateApprovalRuleTemplate -> String)
-> ([CreateApprovalRuleTemplate] -> ShowS)
-> Show CreateApprovalRuleTemplate
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateApprovalRuleTemplate] -> ShowS
$cshowList :: [CreateApprovalRuleTemplate] -> ShowS
show :: CreateApprovalRuleTemplate -> String
$cshow :: CreateApprovalRuleTemplate -> String
showsPrec :: Int -> CreateApprovalRuleTemplate -> ShowS
$cshowsPrec :: Int -> CreateApprovalRuleTemplate -> ShowS
Prelude.Show, (forall x.
CreateApprovalRuleTemplate -> Rep CreateApprovalRuleTemplate x)
-> (forall x.
Rep CreateApprovalRuleTemplate x -> CreateApprovalRuleTemplate)
-> Generic CreateApprovalRuleTemplate
forall x.
Rep CreateApprovalRuleTemplate x -> CreateApprovalRuleTemplate
forall x.
CreateApprovalRuleTemplate -> Rep CreateApprovalRuleTemplate x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CreateApprovalRuleTemplate x -> CreateApprovalRuleTemplate
$cfrom :: forall x.
CreateApprovalRuleTemplate -> Rep CreateApprovalRuleTemplate x
Prelude.Generic)
newCreateApprovalRuleTemplate ::
Prelude.Text ->
Prelude.Text ->
CreateApprovalRuleTemplate
newCreateApprovalRuleTemplate :: Text -> Text -> CreateApprovalRuleTemplate
newCreateApprovalRuleTemplate
Text
pApprovalRuleTemplateName_
Text
pApprovalRuleTemplateContent_ =
CreateApprovalRuleTemplate' :: Maybe Text -> Text -> Text -> CreateApprovalRuleTemplate
CreateApprovalRuleTemplate'
{ $sel:approvalRuleTemplateDescription:CreateApprovalRuleTemplate' :: Maybe Text
approvalRuleTemplateDescription =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:approvalRuleTemplateName:CreateApprovalRuleTemplate' :: Text
approvalRuleTemplateName =
Text
pApprovalRuleTemplateName_,
$sel:approvalRuleTemplateContent:CreateApprovalRuleTemplate' :: Text
approvalRuleTemplateContent =
Text
pApprovalRuleTemplateContent_
}
createApprovalRuleTemplate_approvalRuleTemplateDescription :: Lens.Lens' CreateApprovalRuleTemplate (Prelude.Maybe Prelude.Text)
createApprovalRuleTemplate_approvalRuleTemplateDescription :: (Maybe Text -> f (Maybe Text))
-> CreateApprovalRuleTemplate -> f CreateApprovalRuleTemplate
createApprovalRuleTemplate_approvalRuleTemplateDescription = (CreateApprovalRuleTemplate -> Maybe Text)
-> (CreateApprovalRuleTemplate
-> Maybe Text -> CreateApprovalRuleTemplate)
-> Lens
CreateApprovalRuleTemplate
CreateApprovalRuleTemplate
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateApprovalRuleTemplate' {Maybe Text
approvalRuleTemplateDescription :: Maybe Text
$sel:approvalRuleTemplateDescription:CreateApprovalRuleTemplate' :: CreateApprovalRuleTemplate -> Maybe Text
approvalRuleTemplateDescription} -> Maybe Text
approvalRuleTemplateDescription) (\s :: CreateApprovalRuleTemplate
s@CreateApprovalRuleTemplate' {} Maybe Text
a -> CreateApprovalRuleTemplate
s {$sel:approvalRuleTemplateDescription:CreateApprovalRuleTemplate' :: Maybe Text
approvalRuleTemplateDescription = Maybe Text
a} :: CreateApprovalRuleTemplate)
createApprovalRuleTemplate_approvalRuleTemplateName :: Lens.Lens' CreateApprovalRuleTemplate Prelude.Text
createApprovalRuleTemplate_approvalRuleTemplateName :: (Text -> f Text)
-> CreateApprovalRuleTemplate -> f CreateApprovalRuleTemplate
createApprovalRuleTemplate_approvalRuleTemplateName = (CreateApprovalRuleTemplate -> Text)
-> (CreateApprovalRuleTemplate
-> Text -> CreateApprovalRuleTemplate)
-> Lens
CreateApprovalRuleTemplate CreateApprovalRuleTemplate Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateApprovalRuleTemplate' {Text
approvalRuleTemplateName :: Text
$sel:approvalRuleTemplateName:CreateApprovalRuleTemplate' :: CreateApprovalRuleTemplate -> Text
approvalRuleTemplateName} -> Text
approvalRuleTemplateName) (\s :: CreateApprovalRuleTemplate
s@CreateApprovalRuleTemplate' {} Text
a -> CreateApprovalRuleTemplate
s {$sel:approvalRuleTemplateName:CreateApprovalRuleTemplate' :: Text
approvalRuleTemplateName = Text
a} :: CreateApprovalRuleTemplate)
createApprovalRuleTemplate_approvalRuleTemplateContent :: Lens.Lens' CreateApprovalRuleTemplate Prelude.Text
createApprovalRuleTemplate_approvalRuleTemplateContent :: (Text -> f Text)
-> CreateApprovalRuleTemplate -> f CreateApprovalRuleTemplate
createApprovalRuleTemplate_approvalRuleTemplateContent = (CreateApprovalRuleTemplate -> Text)
-> (CreateApprovalRuleTemplate
-> Text -> CreateApprovalRuleTemplate)
-> Lens
CreateApprovalRuleTemplate CreateApprovalRuleTemplate Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateApprovalRuleTemplate' {Text
approvalRuleTemplateContent :: Text
$sel:approvalRuleTemplateContent:CreateApprovalRuleTemplate' :: CreateApprovalRuleTemplate -> Text
approvalRuleTemplateContent} -> Text
approvalRuleTemplateContent) (\s :: CreateApprovalRuleTemplate
s@CreateApprovalRuleTemplate' {} Text
a -> CreateApprovalRuleTemplate
s {$sel:approvalRuleTemplateContent:CreateApprovalRuleTemplate' :: Text
approvalRuleTemplateContent = Text
a} :: CreateApprovalRuleTemplate)
instance Core.AWSRequest CreateApprovalRuleTemplate where
type
AWSResponse CreateApprovalRuleTemplate =
CreateApprovalRuleTemplateResponse
request :: CreateApprovalRuleTemplate -> Request CreateApprovalRuleTemplate
request = Service
-> CreateApprovalRuleTemplate -> Request CreateApprovalRuleTemplate
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy CreateApprovalRuleTemplate
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse CreateApprovalRuleTemplate)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse CreateApprovalRuleTemplate))
-> Logger
-> Service
-> Proxy CreateApprovalRuleTemplate
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse CreateApprovalRuleTemplate)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Int -> ApprovalRuleTemplate -> CreateApprovalRuleTemplateResponse
CreateApprovalRuleTemplateResponse'
(Int -> ApprovalRuleTemplate -> CreateApprovalRuleTemplateResponse)
-> Either String Int
-> Either
String (ApprovalRuleTemplate -> CreateApprovalRuleTemplateResponse)
forall (f :: * -> *) a b. Functor 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))
Either
String (ApprovalRuleTemplate -> CreateApprovalRuleTemplateResponse)
-> Either String ApprovalRuleTemplate
-> Either String CreateApprovalRuleTemplateResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String ApprovalRuleTemplate
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"approvalRuleTemplate")
)
instance Prelude.Hashable CreateApprovalRuleTemplate
instance Prelude.NFData CreateApprovalRuleTemplate
instance Core.ToHeaders CreateApprovalRuleTemplate where
toHeaders :: CreateApprovalRuleTemplate -> ResponseHeaders
toHeaders =
ResponseHeaders -> CreateApprovalRuleTemplate -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"CodeCommit_20150413.CreateApprovalRuleTemplate" ::
Prelude.ByteString
),
HeaderName
"Content-Type"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Core.ToJSON CreateApprovalRuleTemplate where
toJSON :: CreateApprovalRuleTemplate -> Value
toJSON CreateApprovalRuleTemplate' {Maybe Text
Text
approvalRuleTemplateContent :: Text
approvalRuleTemplateName :: Text
approvalRuleTemplateDescription :: Maybe Text
$sel:approvalRuleTemplateContent:CreateApprovalRuleTemplate' :: CreateApprovalRuleTemplate -> Text
$sel:approvalRuleTemplateName:CreateApprovalRuleTemplate' :: CreateApprovalRuleTemplate -> Text
$sel:approvalRuleTemplateDescription:CreateApprovalRuleTemplate' :: CreateApprovalRuleTemplate -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"approvalRuleTemplateDescription" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
approvalRuleTemplateDescription,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
( Text
"approvalRuleTemplateName"
Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
approvalRuleTemplateName
),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
( Text
"approvalRuleTemplateContent"
Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
approvalRuleTemplateContent
)
]
)
instance Core.ToPath CreateApprovalRuleTemplate where
toPath :: CreateApprovalRuleTemplate -> ByteString
toPath = ByteString -> CreateApprovalRuleTemplate -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery CreateApprovalRuleTemplate where
toQuery :: CreateApprovalRuleTemplate -> QueryString
toQuery = QueryString -> CreateApprovalRuleTemplate -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data CreateApprovalRuleTemplateResponse = CreateApprovalRuleTemplateResponse'
{
CreateApprovalRuleTemplateResponse -> Int
httpStatus :: Prelude.Int,
CreateApprovalRuleTemplateResponse -> ApprovalRuleTemplate
approvalRuleTemplate :: ApprovalRuleTemplate
}
deriving (CreateApprovalRuleTemplateResponse
-> CreateApprovalRuleTemplateResponse -> Bool
(CreateApprovalRuleTemplateResponse
-> CreateApprovalRuleTemplateResponse -> Bool)
-> (CreateApprovalRuleTemplateResponse
-> CreateApprovalRuleTemplateResponse -> Bool)
-> Eq CreateApprovalRuleTemplateResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateApprovalRuleTemplateResponse
-> CreateApprovalRuleTemplateResponse -> Bool
$c/= :: CreateApprovalRuleTemplateResponse
-> CreateApprovalRuleTemplateResponse -> Bool
== :: CreateApprovalRuleTemplateResponse
-> CreateApprovalRuleTemplateResponse -> Bool
$c== :: CreateApprovalRuleTemplateResponse
-> CreateApprovalRuleTemplateResponse -> Bool
Prelude.Eq, ReadPrec [CreateApprovalRuleTemplateResponse]
ReadPrec CreateApprovalRuleTemplateResponse
Int -> ReadS CreateApprovalRuleTemplateResponse
ReadS [CreateApprovalRuleTemplateResponse]
(Int -> ReadS CreateApprovalRuleTemplateResponse)
-> ReadS [CreateApprovalRuleTemplateResponse]
-> ReadPrec CreateApprovalRuleTemplateResponse
-> ReadPrec [CreateApprovalRuleTemplateResponse]
-> Read CreateApprovalRuleTemplateResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateApprovalRuleTemplateResponse]
$creadListPrec :: ReadPrec [CreateApprovalRuleTemplateResponse]
readPrec :: ReadPrec CreateApprovalRuleTemplateResponse
$creadPrec :: ReadPrec CreateApprovalRuleTemplateResponse
readList :: ReadS [CreateApprovalRuleTemplateResponse]
$creadList :: ReadS [CreateApprovalRuleTemplateResponse]
readsPrec :: Int -> ReadS CreateApprovalRuleTemplateResponse
$creadsPrec :: Int -> ReadS CreateApprovalRuleTemplateResponse
Prelude.Read, Int -> CreateApprovalRuleTemplateResponse -> ShowS
[CreateApprovalRuleTemplateResponse] -> ShowS
CreateApprovalRuleTemplateResponse -> String
(Int -> CreateApprovalRuleTemplateResponse -> ShowS)
-> (CreateApprovalRuleTemplateResponse -> String)
-> ([CreateApprovalRuleTemplateResponse] -> ShowS)
-> Show CreateApprovalRuleTemplateResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateApprovalRuleTemplateResponse] -> ShowS
$cshowList :: [CreateApprovalRuleTemplateResponse] -> ShowS
show :: CreateApprovalRuleTemplateResponse -> String
$cshow :: CreateApprovalRuleTemplateResponse -> String
showsPrec :: Int -> CreateApprovalRuleTemplateResponse -> ShowS
$cshowsPrec :: Int -> CreateApprovalRuleTemplateResponse -> ShowS
Prelude.Show, (forall x.
CreateApprovalRuleTemplateResponse
-> Rep CreateApprovalRuleTemplateResponse x)
-> (forall x.
Rep CreateApprovalRuleTemplateResponse x
-> CreateApprovalRuleTemplateResponse)
-> Generic CreateApprovalRuleTemplateResponse
forall x.
Rep CreateApprovalRuleTemplateResponse x
-> CreateApprovalRuleTemplateResponse
forall x.
CreateApprovalRuleTemplateResponse
-> Rep CreateApprovalRuleTemplateResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CreateApprovalRuleTemplateResponse x
-> CreateApprovalRuleTemplateResponse
$cfrom :: forall x.
CreateApprovalRuleTemplateResponse
-> Rep CreateApprovalRuleTemplateResponse x
Prelude.Generic)
newCreateApprovalRuleTemplateResponse ::
Prelude.Int ->
ApprovalRuleTemplate ->
CreateApprovalRuleTemplateResponse
newCreateApprovalRuleTemplateResponse :: Int -> ApprovalRuleTemplate -> CreateApprovalRuleTemplateResponse
newCreateApprovalRuleTemplateResponse
Int
pHttpStatus_
ApprovalRuleTemplate
pApprovalRuleTemplate_ =
CreateApprovalRuleTemplateResponse' :: Int -> ApprovalRuleTemplate -> CreateApprovalRuleTemplateResponse
CreateApprovalRuleTemplateResponse'
{ $sel:httpStatus:CreateApprovalRuleTemplateResponse' :: Int
httpStatus =
Int
pHttpStatus_,
$sel:approvalRuleTemplate:CreateApprovalRuleTemplateResponse' :: ApprovalRuleTemplate
approvalRuleTemplate =
ApprovalRuleTemplate
pApprovalRuleTemplate_
}
createApprovalRuleTemplateResponse_httpStatus :: Lens.Lens' CreateApprovalRuleTemplateResponse Prelude.Int
createApprovalRuleTemplateResponse_httpStatus :: (Int -> f Int)
-> CreateApprovalRuleTemplateResponse
-> f CreateApprovalRuleTemplateResponse
createApprovalRuleTemplateResponse_httpStatus = (CreateApprovalRuleTemplateResponse -> Int)
-> (CreateApprovalRuleTemplateResponse
-> Int -> CreateApprovalRuleTemplateResponse)
-> Lens
CreateApprovalRuleTemplateResponse
CreateApprovalRuleTemplateResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateApprovalRuleTemplateResponse' {Int
httpStatus :: Int
$sel:httpStatus:CreateApprovalRuleTemplateResponse' :: CreateApprovalRuleTemplateResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: CreateApprovalRuleTemplateResponse
s@CreateApprovalRuleTemplateResponse' {} Int
a -> CreateApprovalRuleTemplateResponse
s {$sel:httpStatus:CreateApprovalRuleTemplateResponse' :: Int
httpStatus = Int
a} :: CreateApprovalRuleTemplateResponse)
createApprovalRuleTemplateResponse_approvalRuleTemplate :: Lens.Lens' CreateApprovalRuleTemplateResponse ApprovalRuleTemplate
createApprovalRuleTemplateResponse_approvalRuleTemplate :: (ApprovalRuleTemplate -> f ApprovalRuleTemplate)
-> CreateApprovalRuleTemplateResponse
-> f CreateApprovalRuleTemplateResponse
createApprovalRuleTemplateResponse_approvalRuleTemplate = (CreateApprovalRuleTemplateResponse -> ApprovalRuleTemplate)
-> (CreateApprovalRuleTemplateResponse
-> ApprovalRuleTemplate -> CreateApprovalRuleTemplateResponse)
-> Lens
CreateApprovalRuleTemplateResponse
CreateApprovalRuleTemplateResponse
ApprovalRuleTemplate
ApprovalRuleTemplate
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateApprovalRuleTemplateResponse' {ApprovalRuleTemplate
approvalRuleTemplate :: ApprovalRuleTemplate
$sel:approvalRuleTemplate:CreateApprovalRuleTemplateResponse' :: CreateApprovalRuleTemplateResponse -> ApprovalRuleTemplate
approvalRuleTemplate} -> ApprovalRuleTemplate
approvalRuleTemplate) (\s :: CreateApprovalRuleTemplateResponse
s@CreateApprovalRuleTemplateResponse' {} ApprovalRuleTemplate
a -> CreateApprovalRuleTemplateResponse
s {$sel:approvalRuleTemplate:CreateApprovalRuleTemplateResponse' :: ApprovalRuleTemplate
approvalRuleTemplate = ApprovalRuleTemplate
a} :: CreateApprovalRuleTemplateResponse)
instance
Prelude.NFData
CreateApprovalRuleTemplateResponse