{-# 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.DataBrew.DescribeRecipe
(
DescribeRecipe (..),
newDescribeRecipe,
describeRecipe_recipeVersion,
describeRecipe_name,
DescribeRecipeResponse (..),
newDescribeRecipeResponse,
describeRecipeResponse_lastModifiedDate,
describeRecipeResponse_createDate,
describeRecipeResponse_publishedBy,
describeRecipeResponse_createdBy,
describeRecipeResponse_steps,
describeRecipeResponse_publishedDate,
describeRecipeResponse_resourceArn,
describeRecipeResponse_recipeVersion,
describeRecipeResponse_projectName,
describeRecipeResponse_lastModifiedBy,
describeRecipeResponse_description,
describeRecipeResponse_tags,
describeRecipeResponse_httpStatus,
describeRecipeResponse_name,
)
where
import qualified Amazonka.Core as Core
import Amazonka.DataBrew.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 DescribeRecipe = DescribeRecipe'
{
DescribeRecipe -> Maybe Text
recipeVersion :: Prelude.Maybe Prelude.Text,
DescribeRecipe -> Text
name :: Prelude.Text
}
deriving (DescribeRecipe -> DescribeRecipe -> Bool
(DescribeRecipe -> DescribeRecipe -> Bool)
-> (DescribeRecipe -> DescribeRecipe -> Bool) -> Eq DescribeRecipe
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeRecipe -> DescribeRecipe -> Bool
$c/= :: DescribeRecipe -> DescribeRecipe -> Bool
== :: DescribeRecipe -> DescribeRecipe -> Bool
$c== :: DescribeRecipe -> DescribeRecipe -> Bool
Prelude.Eq, ReadPrec [DescribeRecipe]
ReadPrec DescribeRecipe
Int -> ReadS DescribeRecipe
ReadS [DescribeRecipe]
(Int -> ReadS DescribeRecipe)
-> ReadS [DescribeRecipe]
-> ReadPrec DescribeRecipe
-> ReadPrec [DescribeRecipe]
-> Read DescribeRecipe
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeRecipe]
$creadListPrec :: ReadPrec [DescribeRecipe]
readPrec :: ReadPrec DescribeRecipe
$creadPrec :: ReadPrec DescribeRecipe
readList :: ReadS [DescribeRecipe]
$creadList :: ReadS [DescribeRecipe]
readsPrec :: Int -> ReadS DescribeRecipe
$creadsPrec :: Int -> ReadS DescribeRecipe
Prelude.Read, Int -> DescribeRecipe -> ShowS
[DescribeRecipe] -> ShowS
DescribeRecipe -> String
(Int -> DescribeRecipe -> ShowS)
-> (DescribeRecipe -> String)
-> ([DescribeRecipe] -> ShowS)
-> Show DescribeRecipe
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeRecipe] -> ShowS
$cshowList :: [DescribeRecipe] -> ShowS
show :: DescribeRecipe -> String
$cshow :: DescribeRecipe -> String
showsPrec :: Int -> DescribeRecipe -> ShowS
$cshowsPrec :: Int -> DescribeRecipe -> ShowS
Prelude.Show, (forall x. DescribeRecipe -> Rep DescribeRecipe x)
-> (forall x. Rep DescribeRecipe x -> DescribeRecipe)
-> Generic DescribeRecipe
forall x. Rep DescribeRecipe x -> DescribeRecipe
forall x. DescribeRecipe -> Rep DescribeRecipe x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeRecipe x -> DescribeRecipe
$cfrom :: forall x. DescribeRecipe -> Rep DescribeRecipe x
Prelude.Generic)
newDescribeRecipe ::
Prelude.Text ->
DescribeRecipe
newDescribeRecipe :: Text -> DescribeRecipe
newDescribeRecipe Text
pName_ =
DescribeRecipe' :: Maybe Text -> Text -> DescribeRecipe
DescribeRecipe'
{ $sel:recipeVersion:DescribeRecipe' :: Maybe Text
recipeVersion = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:name:DescribeRecipe' :: Text
name = Text
pName_
}
describeRecipe_recipeVersion :: Lens.Lens' DescribeRecipe (Prelude.Maybe Prelude.Text)
describeRecipe_recipeVersion :: (Maybe Text -> f (Maybe Text))
-> DescribeRecipe -> f DescribeRecipe
describeRecipe_recipeVersion = (DescribeRecipe -> Maybe Text)
-> (DescribeRecipe -> Maybe Text -> DescribeRecipe)
-> Lens DescribeRecipe DescribeRecipe (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRecipe' {Maybe Text
recipeVersion :: Maybe Text
$sel:recipeVersion:DescribeRecipe' :: DescribeRecipe -> Maybe Text
recipeVersion} -> Maybe Text
recipeVersion) (\s :: DescribeRecipe
s@DescribeRecipe' {} Maybe Text
a -> DescribeRecipe
s {$sel:recipeVersion:DescribeRecipe' :: Maybe Text
recipeVersion = Maybe Text
a} :: DescribeRecipe)
describeRecipe_name :: Lens.Lens' DescribeRecipe Prelude.Text
describeRecipe_name :: (Text -> f Text) -> DescribeRecipe -> f DescribeRecipe
describeRecipe_name = (DescribeRecipe -> Text)
-> (DescribeRecipe -> Text -> DescribeRecipe)
-> Lens DescribeRecipe DescribeRecipe Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRecipe' {Text
name :: Text
$sel:name:DescribeRecipe' :: DescribeRecipe -> Text
name} -> Text
name) (\s :: DescribeRecipe
s@DescribeRecipe' {} Text
a -> DescribeRecipe
s {$sel:name:DescribeRecipe' :: Text
name = Text
a} :: DescribeRecipe)
instance Core.AWSRequest DescribeRecipe where
type
AWSResponse DescribeRecipe =
DescribeRecipeResponse
request :: DescribeRecipe -> Request DescribeRecipe
request = Service -> DescribeRecipe -> Request DescribeRecipe
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeRecipe
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse DescribeRecipe)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeRecipe))
-> Logger
-> Service
-> Proxy DescribeRecipe
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse DescribeRecipe)))
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 ->
Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe [RecipeStep]
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse
DescribeRecipeResponse'
(Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe [RecipeStep]
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
-> Either String (Maybe POSIX)
-> Either
String
(Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe [RecipeStep]
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"LastModifiedDate")
Either
String
(Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe [RecipeStep]
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
-> Either String (Maybe POSIX)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe [RecipeStep]
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"CreateDate")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe [RecipeStep]
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe [RecipeStep]
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"PublishedBy")
Either
String
(Maybe Text
-> Maybe [RecipeStep]
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe [RecipeStep]
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"CreatedBy")
Either
String
(Maybe [RecipeStep]
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
-> Either String (Maybe [RecipeStep])
-> Either
String
(Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe [RecipeStep]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Steps" Either String (Maybe (Maybe [RecipeStep]))
-> Maybe [RecipeStep] -> Either String (Maybe [RecipeStep])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [RecipeStep]
forall a. Monoid a => a
Prelude.mempty)
Either
String
(Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
-> Either String (Maybe POSIX)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"PublishedDate")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ResourceArn")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"RecipeVersion")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ProjectName")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"LastModifiedBy")
Either
String
(Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe (HashMap Text Text)
-> Int -> Text -> DescribeRecipeResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Description")
Either
String
(Maybe (HashMap Text Text)
-> Int -> Text -> DescribeRecipeResponse)
-> Either String (Maybe (HashMap Text Text))
-> Either String (Int -> Text -> DescribeRecipeResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe (HashMap Text Text)))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Tags" Either String (Maybe (Maybe (HashMap Text Text)))
-> Maybe (HashMap Text Text)
-> Either String (Maybe (HashMap Text Text))
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe (HashMap Text Text)
forall a. Monoid a => a
Prelude.mempty)
Either String (Int -> Text -> DescribeRecipeResponse)
-> Either String Int
-> Either String (Text -> DescribeRecipeResponse)
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))
Either String (Text -> DescribeRecipeResponse)
-> Either String Text -> Either String DescribeRecipeResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String Text
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"Name")
)
instance Prelude.Hashable DescribeRecipe
instance Prelude.NFData DescribeRecipe
instance Core.ToHeaders DescribeRecipe where
toHeaders :: DescribeRecipe -> ResponseHeaders
toHeaders =
ResponseHeaders -> DescribeRecipe -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ 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.ToPath DescribeRecipe where
toPath :: DescribeRecipe -> ByteString
toPath DescribeRecipe' {Maybe Text
Text
name :: Text
recipeVersion :: Maybe Text
$sel:name:DescribeRecipe' :: DescribeRecipe -> Text
$sel:recipeVersion:DescribeRecipe' :: DescribeRecipe -> Maybe Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat [ByteString
"/recipes/", Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
name]
instance Core.ToQuery DescribeRecipe where
toQuery :: DescribeRecipe -> QueryString
toQuery DescribeRecipe' {Maybe Text
Text
name :: Text
recipeVersion :: Maybe Text
$sel:name:DescribeRecipe' :: DescribeRecipe -> Text
$sel:recipeVersion:DescribeRecipe' :: DescribeRecipe -> Maybe Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ByteString
"recipeVersion" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
recipeVersion]
data DescribeRecipeResponse = DescribeRecipeResponse'
{
DescribeRecipeResponse -> Maybe POSIX
lastModifiedDate :: Prelude.Maybe Core.POSIX,
DescribeRecipeResponse -> Maybe POSIX
createDate :: Prelude.Maybe Core.POSIX,
DescribeRecipeResponse -> Maybe Text
publishedBy :: Prelude.Maybe Prelude.Text,
DescribeRecipeResponse -> Maybe Text
createdBy :: Prelude.Maybe Prelude.Text,
DescribeRecipeResponse -> Maybe [RecipeStep]
steps :: Prelude.Maybe [RecipeStep],
DescribeRecipeResponse -> Maybe POSIX
publishedDate :: Prelude.Maybe Core.POSIX,
DescribeRecipeResponse -> Maybe Text
resourceArn :: Prelude.Maybe Prelude.Text,
DescribeRecipeResponse -> Maybe Text
recipeVersion :: Prelude.Maybe Prelude.Text,
DescribeRecipeResponse -> Maybe Text
projectName :: Prelude.Maybe Prelude.Text,
DescribeRecipeResponse -> Maybe Text
lastModifiedBy :: Prelude.Maybe Prelude.Text,
DescribeRecipeResponse -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
DescribeRecipeResponse -> Maybe (HashMap Text Text)
tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
DescribeRecipeResponse -> Int
httpStatus :: Prelude.Int,
DescribeRecipeResponse -> Text
name :: Prelude.Text
}
deriving (DescribeRecipeResponse -> DescribeRecipeResponse -> Bool
(DescribeRecipeResponse -> DescribeRecipeResponse -> Bool)
-> (DescribeRecipeResponse -> DescribeRecipeResponse -> Bool)
-> Eq DescribeRecipeResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeRecipeResponse -> DescribeRecipeResponse -> Bool
$c/= :: DescribeRecipeResponse -> DescribeRecipeResponse -> Bool
== :: DescribeRecipeResponse -> DescribeRecipeResponse -> Bool
$c== :: DescribeRecipeResponse -> DescribeRecipeResponse -> Bool
Prelude.Eq, ReadPrec [DescribeRecipeResponse]
ReadPrec DescribeRecipeResponse
Int -> ReadS DescribeRecipeResponse
ReadS [DescribeRecipeResponse]
(Int -> ReadS DescribeRecipeResponse)
-> ReadS [DescribeRecipeResponse]
-> ReadPrec DescribeRecipeResponse
-> ReadPrec [DescribeRecipeResponse]
-> Read DescribeRecipeResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeRecipeResponse]
$creadListPrec :: ReadPrec [DescribeRecipeResponse]
readPrec :: ReadPrec DescribeRecipeResponse
$creadPrec :: ReadPrec DescribeRecipeResponse
readList :: ReadS [DescribeRecipeResponse]
$creadList :: ReadS [DescribeRecipeResponse]
readsPrec :: Int -> ReadS DescribeRecipeResponse
$creadsPrec :: Int -> ReadS DescribeRecipeResponse
Prelude.Read, Int -> DescribeRecipeResponse -> ShowS
[DescribeRecipeResponse] -> ShowS
DescribeRecipeResponse -> String
(Int -> DescribeRecipeResponse -> ShowS)
-> (DescribeRecipeResponse -> String)
-> ([DescribeRecipeResponse] -> ShowS)
-> Show DescribeRecipeResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeRecipeResponse] -> ShowS
$cshowList :: [DescribeRecipeResponse] -> ShowS
show :: DescribeRecipeResponse -> String
$cshow :: DescribeRecipeResponse -> String
showsPrec :: Int -> DescribeRecipeResponse -> ShowS
$cshowsPrec :: Int -> DescribeRecipeResponse -> ShowS
Prelude.Show, (forall x. DescribeRecipeResponse -> Rep DescribeRecipeResponse x)
-> (forall x.
Rep DescribeRecipeResponse x -> DescribeRecipeResponse)
-> Generic DescribeRecipeResponse
forall x. Rep DescribeRecipeResponse x -> DescribeRecipeResponse
forall x. DescribeRecipeResponse -> Rep DescribeRecipeResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeRecipeResponse x -> DescribeRecipeResponse
$cfrom :: forall x. DescribeRecipeResponse -> Rep DescribeRecipeResponse x
Prelude.Generic)
newDescribeRecipeResponse ::
Prelude.Int ->
Prelude.Text ->
DescribeRecipeResponse
newDescribeRecipeResponse :: Int -> Text -> DescribeRecipeResponse
newDescribeRecipeResponse Int
pHttpStatus_ Text
pName_ =
DescribeRecipeResponse' :: Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe [RecipeStep]
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Int
-> Text
-> DescribeRecipeResponse
DescribeRecipeResponse'
{ $sel:lastModifiedDate:DescribeRecipeResponse' :: Maybe POSIX
lastModifiedDate =
Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:createDate:DescribeRecipeResponse' :: Maybe POSIX
createDate = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:publishedBy:DescribeRecipeResponse' :: Maybe Text
publishedBy = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:createdBy:DescribeRecipeResponse' :: Maybe Text
createdBy = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:steps:DescribeRecipeResponse' :: Maybe [RecipeStep]
steps = Maybe [RecipeStep]
forall a. Maybe a
Prelude.Nothing,
$sel:publishedDate:DescribeRecipeResponse' :: Maybe POSIX
publishedDate = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:resourceArn:DescribeRecipeResponse' :: Maybe Text
resourceArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:recipeVersion:DescribeRecipeResponse' :: Maybe Text
recipeVersion = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:projectName:DescribeRecipeResponse' :: Maybe Text
projectName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:lastModifiedBy:DescribeRecipeResponse' :: Maybe Text
lastModifiedBy = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:description:DescribeRecipeResponse' :: Maybe Text
description = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:tags:DescribeRecipeResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeRecipeResponse' :: Int
httpStatus = Int
pHttpStatus_,
$sel:name:DescribeRecipeResponse' :: Text
name = Text
pName_
}
describeRecipeResponse_lastModifiedDate :: Lens.Lens' DescribeRecipeResponse (Prelude.Maybe Prelude.UTCTime)
describeRecipeResponse_lastModifiedDate :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeRecipeResponse -> f DescribeRecipeResponse
describeRecipeResponse_lastModifiedDate = (DescribeRecipeResponse -> Maybe POSIX)
-> (DescribeRecipeResponse
-> Maybe POSIX -> DescribeRecipeResponse)
-> Lens
DescribeRecipeResponse
DescribeRecipeResponse
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRecipeResponse' {Maybe POSIX
lastModifiedDate :: Maybe POSIX
$sel:lastModifiedDate:DescribeRecipeResponse' :: DescribeRecipeResponse -> Maybe POSIX
lastModifiedDate} -> Maybe POSIX
lastModifiedDate) (\s :: DescribeRecipeResponse
s@DescribeRecipeResponse' {} Maybe POSIX
a -> DescribeRecipeResponse
s {$sel:lastModifiedDate:DescribeRecipeResponse' :: Maybe POSIX
lastModifiedDate = Maybe POSIX
a} :: DescribeRecipeResponse) ((Maybe POSIX -> f (Maybe POSIX))
-> DescribeRecipeResponse -> f DescribeRecipeResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeRecipeResponse
-> f DescribeRecipeResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
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 POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
describeRecipeResponse_createDate :: Lens.Lens' DescribeRecipeResponse (Prelude.Maybe Prelude.UTCTime)
describeRecipeResponse_createDate :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeRecipeResponse -> f DescribeRecipeResponse
describeRecipeResponse_createDate = (DescribeRecipeResponse -> Maybe POSIX)
-> (DescribeRecipeResponse
-> Maybe POSIX -> DescribeRecipeResponse)
-> Lens
DescribeRecipeResponse
DescribeRecipeResponse
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRecipeResponse' {Maybe POSIX
createDate :: Maybe POSIX
$sel:createDate:DescribeRecipeResponse' :: DescribeRecipeResponse -> Maybe POSIX
createDate} -> Maybe POSIX
createDate) (\s :: DescribeRecipeResponse
s@DescribeRecipeResponse' {} Maybe POSIX
a -> DescribeRecipeResponse
s {$sel:createDate:DescribeRecipeResponse' :: Maybe POSIX
createDate = Maybe POSIX
a} :: DescribeRecipeResponse) ((Maybe POSIX -> f (Maybe POSIX))
-> DescribeRecipeResponse -> f DescribeRecipeResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeRecipeResponse
-> f DescribeRecipeResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
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 POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
describeRecipeResponse_publishedBy :: Lens.Lens' DescribeRecipeResponse (Prelude.Maybe Prelude.Text)
describeRecipeResponse_publishedBy :: (Maybe Text -> f (Maybe Text))
-> DescribeRecipeResponse -> f DescribeRecipeResponse
describeRecipeResponse_publishedBy = (DescribeRecipeResponse -> Maybe Text)
-> (DescribeRecipeResponse -> Maybe Text -> DescribeRecipeResponse)
-> Lens
DescribeRecipeResponse
DescribeRecipeResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRecipeResponse' {Maybe Text
publishedBy :: Maybe Text
$sel:publishedBy:DescribeRecipeResponse' :: DescribeRecipeResponse -> Maybe Text
publishedBy} -> Maybe Text
publishedBy) (\s :: DescribeRecipeResponse
s@DescribeRecipeResponse' {} Maybe Text
a -> DescribeRecipeResponse
s {$sel:publishedBy:DescribeRecipeResponse' :: Maybe Text
publishedBy = Maybe Text
a} :: DescribeRecipeResponse)
describeRecipeResponse_createdBy :: Lens.Lens' DescribeRecipeResponse (Prelude.Maybe Prelude.Text)
describeRecipeResponse_createdBy :: (Maybe Text -> f (Maybe Text))
-> DescribeRecipeResponse -> f DescribeRecipeResponse
describeRecipeResponse_createdBy = (DescribeRecipeResponse -> Maybe Text)
-> (DescribeRecipeResponse -> Maybe Text -> DescribeRecipeResponse)
-> Lens
DescribeRecipeResponse
DescribeRecipeResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRecipeResponse' {Maybe Text
createdBy :: Maybe Text
$sel:createdBy:DescribeRecipeResponse' :: DescribeRecipeResponse -> Maybe Text
createdBy} -> Maybe Text
createdBy) (\s :: DescribeRecipeResponse
s@DescribeRecipeResponse' {} Maybe Text
a -> DescribeRecipeResponse
s {$sel:createdBy:DescribeRecipeResponse' :: Maybe Text
createdBy = Maybe Text
a} :: DescribeRecipeResponse)
describeRecipeResponse_steps :: Lens.Lens' DescribeRecipeResponse (Prelude.Maybe [RecipeStep])
describeRecipeResponse_steps :: (Maybe [RecipeStep] -> f (Maybe [RecipeStep]))
-> DescribeRecipeResponse -> f DescribeRecipeResponse
describeRecipeResponse_steps = (DescribeRecipeResponse -> Maybe [RecipeStep])
-> (DescribeRecipeResponse
-> Maybe [RecipeStep] -> DescribeRecipeResponse)
-> Lens
DescribeRecipeResponse
DescribeRecipeResponse
(Maybe [RecipeStep])
(Maybe [RecipeStep])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRecipeResponse' {Maybe [RecipeStep]
steps :: Maybe [RecipeStep]
$sel:steps:DescribeRecipeResponse' :: DescribeRecipeResponse -> Maybe [RecipeStep]
steps} -> Maybe [RecipeStep]
steps) (\s :: DescribeRecipeResponse
s@DescribeRecipeResponse' {} Maybe [RecipeStep]
a -> DescribeRecipeResponse
s {$sel:steps:DescribeRecipeResponse' :: Maybe [RecipeStep]
steps = Maybe [RecipeStep]
a} :: DescribeRecipeResponse) ((Maybe [RecipeStep] -> f (Maybe [RecipeStep]))
-> DescribeRecipeResponse -> f DescribeRecipeResponse)
-> ((Maybe [RecipeStep] -> f (Maybe [RecipeStep]))
-> Maybe [RecipeStep] -> f (Maybe [RecipeStep]))
-> (Maybe [RecipeStep] -> f (Maybe [RecipeStep]))
-> DescribeRecipeResponse
-> f DescribeRecipeResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [RecipeStep] [RecipeStep] [RecipeStep] [RecipeStep]
-> Iso
(Maybe [RecipeStep])
(Maybe [RecipeStep])
(Maybe [RecipeStep])
(Maybe [RecipeStep])
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 [RecipeStep] [RecipeStep] [RecipeStep] [RecipeStep]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeRecipeResponse_publishedDate :: Lens.Lens' DescribeRecipeResponse (Prelude.Maybe Prelude.UTCTime)
describeRecipeResponse_publishedDate :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeRecipeResponse -> f DescribeRecipeResponse
describeRecipeResponse_publishedDate = (DescribeRecipeResponse -> Maybe POSIX)
-> (DescribeRecipeResponse
-> Maybe POSIX -> DescribeRecipeResponse)
-> Lens
DescribeRecipeResponse
DescribeRecipeResponse
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRecipeResponse' {Maybe POSIX
publishedDate :: Maybe POSIX
$sel:publishedDate:DescribeRecipeResponse' :: DescribeRecipeResponse -> Maybe POSIX
publishedDate} -> Maybe POSIX
publishedDate) (\s :: DescribeRecipeResponse
s@DescribeRecipeResponse' {} Maybe POSIX
a -> DescribeRecipeResponse
s {$sel:publishedDate:DescribeRecipeResponse' :: Maybe POSIX
publishedDate = Maybe POSIX
a} :: DescribeRecipeResponse) ((Maybe POSIX -> f (Maybe POSIX))
-> DescribeRecipeResponse -> f DescribeRecipeResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeRecipeResponse
-> f DescribeRecipeResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
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 POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
describeRecipeResponse_resourceArn :: Lens.Lens' DescribeRecipeResponse (Prelude.Maybe Prelude.Text)
describeRecipeResponse_resourceArn :: (Maybe Text -> f (Maybe Text))
-> DescribeRecipeResponse -> f DescribeRecipeResponse
describeRecipeResponse_resourceArn = (DescribeRecipeResponse -> Maybe Text)
-> (DescribeRecipeResponse -> Maybe Text -> DescribeRecipeResponse)
-> Lens
DescribeRecipeResponse
DescribeRecipeResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRecipeResponse' {Maybe Text
resourceArn :: Maybe Text
$sel:resourceArn:DescribeRecipeResponse' :: DescribeRecipeResponse -> Maybe Text
resourceArn} -> Maybe Text
resourceArn) (\s :: DescribeRecipeResponse
s@DescribeRecipeResponse' {} Maybe Text
a -> DescribeRecipeResponse
s {$sel:resourceArn:DescribeRecipeResponse' :: Maybe Text
resourceArn = Maybe Text
a} :: DescribeRecipeResponse)
describeRecipeResponse_recipeVersion :: Lens.Lens' DescribeRecipeResponse (Prelude.Maybe Prelude.Text)
describeRecipeResponse_recipeVersion :: (Maybe Text -> f (Maybe Text))
-> DescribeRecipeResponse -> f DescribeRecipeResponse
describeRecipeResponse_recipeVersion = (DescribeRecipeResponse -> Maybe Text)
-> (DescribeRecipeResponse -> Maybe Text -> DescribeRecipeResponse)
-> Lens
DescribeRecipeResponse
DescribeRecipeResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRecipeResponse' {Maybe Text
recipeVersion :: Maybe Text
$sel:recipeVersion:DescribeRecipeResponse' :: DescribeRecipeResponse -> Maybe Text
recipeVersion} -> Maybe Text
recipeVersion) (\s :: DescribeRecipeResponse
s@DescribeRecipeResponse' {} Maybe Text
a -> DescribeRecipeResponse
s {$sel:recipeVersion:DescribeRecipeResponse' :: Maybe Text
recipeVersion = Maybe Text
a} :: DescribeRecipeResponse)
describeRecipeResponse_projectName :: Lens.Lens' DescribeRecipeResponse (Prelude.Maybe Prelude.Text)
describeRecipeResponse_projectName :: (Maybe Text -> f (Maybe Text))
-> DescribeRecipeResponse -> f DescribeRecipeResponse
describeRecipeResponse_projectName = (DescribeRecipeResponse -> Maybe Text)
-> (DescribeRecipeResponse -> Maybe Text -> DescribeRecipeResponse)
-> Lens
DescribeRecipeResponse
DescribeRecipeResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRecipeResponse' {Maybe Text
projectName :: Maybe Text
$sel:projectName:DescribeRecipeResponse' :: DescribeRecipeResponse -> Maybe Text
projectName} -> Maybe Text
projectName) (\s :: DescribeRecipeResponse
s@DescribeRecipeResponse' {} Maybe Text
a -> DescribeRecipeResponse
s {$sel:projectName:DescribeRecipeResponse' :: Maybe Text
projectName = Maybe Text
a} :: DescribeRecipeResponse)
describeRecipeResponse_lastModifiedBy :: Lens.Lens' DescribeRecipeResponse (Prelude.Maybe Prelude.Text)
describeRecipeResponse_lastModifiedBy :: (Maybe Text -> f (Maybe Text))
-> DescribeRecipeResponse -> f DescribeRecipeResponse
describeRecipeResponse_lastModifiedBy = (DescribeRecipeResponse -> Maybe Text)
-> (DescribeRecipeResponse -> Maybe Text -> DescribeRecipeResponse)
-> Lens
DescribeRecipeResponse
DescribeRecipeResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRecipeResponse' {Maybe Text
lastModifiedBy :: Maybe Text
$sel:lastModifiedBy:DescribeRecipeResponse' :: DescribeRecipeResponse -> Maybe Text
lastModifiedBy} -> Maybe Text
lastModifiedBy) (\s :: DescribeRecipeResponse
s@DescribeRecipeResponse' {} Maybe Text
a -> DescribeRecipeResponse
s {$sel:lastModifiedBy:DescribeRecipeResponse' :: Maybe Text
lastModifiedBy = Maybe Text
a} :: DescribeRecipeResponse)
describeRecipeResponse_description :: Lens.Lens' DescribeRecipeResponse (Prelude.Maybe Prelude.Text)
describeRecipeResponse_description :: (Maybe Text -> f (Maybe Text))
-> DescribeRecipeResponse -> f DescribeRecipeResponse
describeRecipeResponse_description = (DescribeRecipeResponse -> Maybe Text)
-> (DescribeRecipeResponse -> Maybe Text -> DescribeRecipeResponse)
-> Lens
DescribeRecipeResponse
DescribeRecipeResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRecipeResponse' {Maybe Text
description :: Maybe Text
$sel:description:DescribeRecipeResponse' :: DescribeRecipeResponse -> Maybe Text
description} -> Maybe Text
description) (\s :: DescribeRecipeResponse
s@DescribeRecipeResponse' {} Maybe Text
a -> DescribeRecipeResponse
s {$sel:description:DescribeRecipeResponse' :: Maybe Text
description = Maybe Text
a} :: DescribeRecipeResponse)
describeRecipeResponse_tags :: Lens.Lens' DescribeRecipeResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
describeRecipeResponse_tags :: (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> DescribeRecipeResponse -> f DescribeRecipeResponse
describeRecipeResponse_tags = (DescribeRecipeResponse -> Maybe (HashMap Text Text))
-> (DescribeRecipeResponse
-> Maybe (HashMap Text Text) -> DescribeRecipeResponse)
-> Lens
DescribeRecipeResponse
DescribeRecipeResponse
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRecipeResponse' {Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
$sel:tags:DescribeRecipeResponse' :: DescribeRecipeResponse -> Maybe (HashMap Text Text)
tags} -> Maybe (HashMap Text Text)
tags) (\s :: DescribeRecipeResponse
s@DescribeRecipeResponse' {} Maybe (HashMap Text Text)
a -> DescribeRecipeResponse
s {$sel:tags:DescribeRecipeResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
a} :: DescribeRecipeResponse) ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> DescribeRecipeResponse -> f DescribeRecipeResponse)
-> ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> DescribeRecipeResponse
-> f DescribeRecipeResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
-> Iso
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
(Maybe (HashMap Text 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
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeRecipeResponse_httpStatus :: Lens.Lens' DescribeRecipeResponse Prelude.Int
describeRecipeResponse_httpStatus :: (Int -> f Int)
-> DescribeRecipeResponse -> f DescribeRecipeResponse
describeRecipeResponse_httpStatus = (DescribeRecipeResponse -> Int)
-> (DescribeRecipeResponse -> Int -> DescribeRecipeResponse)
-> Lens DescribeRecipeResponse DescribeRecipeResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRecipeResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeRecipeResponse' :: DescribeRecipeResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeRecipeResponse
s@DescribeRecipeResponse' {} Int
a -> DescribeRecipeResponse
s {$sel:httpStatus:DescribeRecipeResponse' :: Int
httpStatus = Int
a} :: DescribeRecipeResponse)
describeRecipeResponse_name :: Lens.Lens' DescribeRecipeResponse Prelude.Text
describeRecipeResponse_name :: (Text -> f Text)
-> DescribeRecipeResponse -> f DescribeRecipeResponse
describeRecipeResponse_name = (DescribeRecipeResponse -> Text)
-> (DescribeRecipeResponse -> Text -> DescribeRecipeResponse)
-> Lens DescribeRecipeResponse DescribeRecipeResponse Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeRecipeResponse' {Text
name :: Text
$sel:name:DescribeRecipeResponse' :: DescribeRecipeResponse -> Text
name} -> Text
name) (\s :: DescribeRecipeResponse
s@DescribeRecipeResponse' {} Text
a -> DescribeRecipeResponse
s {$sel:name:DescribeRecipeResponse' :: Text
name = Text
a} :: DescribeRecipeResponse)
instance Prelude.NFData DescribeRecipeResponse