{-# 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.SageMaker.DescribeModelPackageGroup
(
DescribeModelPackageGroup (..),
newDescribeModelPackageGroup,
describeModelPackageGroup_modelPackageGroupName,
DescribeModelPackageGroupResponse (..),
newDescribeModelPackageGroupResponse,
describeModelPackageGroupResponse_modelPackageGroupDescription,
describeModelPackageGroupResponse_httpStatus,
describeModelPackageGroupResponse_modelPackageGroupName,
describeModelPackageGroupResponse_modelPackageGroupArn,
describeModelPackageGroupResponse_creationTime,
describeModelPackageGroupResponse_createdBy,
describeModelPackageGroupResponse_modelPackageGroupStatus,
)
where
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
import Amazonka.SageMaker.Types
data DescribeModelPackageGroup = DescribeModelPackageGroup'
{
DescribeModelPackageGroup -> Text
modelPackageGroupName :: Prelude.Text
}
deriving (DescribeModelPackageGroup -> DescribeModelPackageGroup -> Bool
(DescribeModelPackageGroup -> DescribeModelPackageGroup -> Bool)
-> (DescribeModelPackageGroup -> DescribeModelPackageGroup -> Bool)
-> Eq DescribeModelPackageGroup
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeModelPackageGroup -> DescribeModelPackageGroup -> Bool
$c/= :: DescribeModelPackageGroup -> DescribeModelPackageGroup -> Bool
== :: DescribeModelPackageGroup -> DescribeModelPackageGroup -> Bool
$c== :: DescribeModelPackageGroup -> DescribeModelPackageGroup -> Bool
Prelude.Eq, ReadPrec [DescribeModelPackageGroup]
ReadPrec DescribeModelPackageGroup
Int -> ReadS DescribeModelPackageGroup
ReadS [DescribeModelPackageGroup]
(Int -> ReadS DescribeModelPackageGroup)
-> ReadS [DescribeModelPackageGroup]
-> ReadPrec DescribeModelPackageGroup
-> ReadPrec [DescribeModelPackageGroup]
-> Read DescribeModelPackageGroup
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeModelPackageGroup]
$creadListPrec :: ReadPrec [DescribeModelPackageGroup]
readPrec :: ReadPrec DescribeModelPackageGroup
$creadPrec :: ReadPrec DescribeModelPackageGroup
readList :: ReadS [DescribeModelPackageGroup]
$creadList :: ReadS [DescribeModelPackageGroup]
readsPrec :: Int -> ReadS DescribeModelPackageGroup
$creadsPrec :: Int -> ReadS DescribeModelPackageGroup
Prelude.Read, Int -> DescribeModelPackageGroup -> ShowS
[DescribeModelPackageGroup] -> ShowS
DescribeModelPackageGroup -> String
(Int -> DescribeModelPackageGroup -> ShowS)
-> (DescribeModelPackageGroup -> String)
-> ([DescribeModelPackageGroup] -> ShowS)
-> Show DescribeModelPackageGroup
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeModelPackageGroup] -> ShowS
$cshowList :: [DescribeModelPackageGroup] -> ShowS
show :: DescribeModelPackageGroup -> String
$cshow :: DescribeModelPackageGroup -> String
showsPrec :: Int -> DescribeModelPackageGroup -> ShowS
$cshowsPrec :: Int -> DescribeModelPackageGroup -> ShowS
Prelude.Show, (forall x.
DescribeModelPackageGroup -> Rep DescribeModelPackageGroup x)
-> (forall x.
Rep DescribeModelPackageGroup x -> DescribeModelPackageGroup)
-> Generic DescribeModelPackageGroup
forall x.
Rep DescribeModelPackageGroup x -> DescribeModelPackageGroup
forall x.
DescribeModelPackageGroup -> Rep DescribeModelPackageGroup x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeModelPackageGroup x -> DescribeModelPackageGroup
$cfrom :: forall x.
DescribeModelPackageGroup -> Rep DescribeModelPackageGroup x
Prelude.Generic)
newDescribeModelPackageGroup ::
Prelude.Text ->
DescribeModelPackageGroup
newDescribeModelPackageGroup :: Text -> DescribeModelPackageGroup
newDescribeModelPackageGroup Text
pModelPackageGroupName_ =
DescribeModelPackageGroup' :: Text -> DescribeModelPackageGroup
DescribeModelPackageGroup'
{ $sel:modelPackageGroupName:DescribeModelPackageGroup' :: Text
modelPackageGroupName =
Text
pModelPackageGroupName_
}
describeModelPackageGroup_modelPackageGroupName :: Lens.Lens' DescribeModelPackageGroup Prelude.Text
describeModelPackageGroup_modelPackageGroupName :: (Text -> f Text)
-> DescribeModelPackageGroup -> f DescribeModelPackageGroup
describeModelPackageGroup_modelPackageGroupName = (DescribeModelPackageGroup -> Text)
-> (DescribeModelPackageGroup -> Text -> DescribeModelPackageGroup)
-> Lens
DescribeModelPackageGroup DescribeModelPackageGroup Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelPackageGroup' {Text
modelPackageGroupName :: Text
$sel:modelPackageGroupName:DescribeModelPackageGroup' :: DescribeModelPackageGroup -> Text
modelPackageGroupName} -> Text
modelPackageGroupName) (\s :: DescribeModelPackageGroup
s@DescribeModelPackageGroup' {} Text
a -> DescribeModelPackageGroup
s {$sel:modelPackageGroupName:DescribeModelPackageGroup' :: Text
modelPackageGroupName = Text
a} :: DescribeModelPackageGroup)
instance Core.AWSRequest DescribeModelPackageGroup where
type
AWSResponse DescribeModelPackageGroup =
DescribeModelPackageGroupResponse
request :: DescribeModelPackageGroup -> Request DescribeModelPackageGroup
request = Service
-> DescribeModelPackageGroup -> Request DescribeModelPackageGroup
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeModelPackageGroup
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeModelPackageGroup)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeModelPackageGroup))
-> Logger
-> Service
-> Proxy DescribeModelPackageGroup
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeModelPackageGroup)))
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 Text
-> Int
-> Text
-> Text
-> POSIX
-> UserContext
-> ModelPackageGroupStatus
-> DescribeModelPackageGroupResponse
DescribeModelPackageGroupResponse'
(Maybe Text
-> Int
-> Text
-> Text
-> POSIX
-> UserContext
-> ModelPackageGroupStatus
-> DescribeModelPackageGroupResponse)
-> Either String (Maybe Text)
-> Either
String
(Int
-> Text
-> Text
-> POSIX
-> UserContext
-> ModelPackageGroupStatus
-> DescribeModelPackageGroupResponse)
forall (f :: * -> *) a b. Functor 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
"ModelPackageGroupDescription")
Either
String
(Int
-> Text
-> Text
-> POSIX
-> UserContext
-> ModelPackageGroupStatus
-> DescribeModelPackageGroupResponse)
-> Either String Int
-> Either
String
(Text
-> Text
-> POSIX
-> UserContext
-> ModelPackageGroupStatus
-> DescribeModelPackageGroupResponse)
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
-> Text
-> POSIX
-> UserContext
-> ModelPackageGroupStatus
-> DescribeModelPackageGroupResponse)
-> Either String Text
-> Either
String
(Text
-> POSIX
-> UserContext
-> ModelPackageGroupStatus
-> DescribeModelPackageGroupResponse)
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
"ModelPackageGroupName")
Either
String
(Text
-> POSIX
-> UserContext
-> ModelPackageGroupStatus
-> DescribeModelPackageGroupResponse)
-> Either String Text
-> Either
String
(POSIX
-> UserContext
-> ModelPackageGroupStatus
-> DescribeModelPackageGroupResponse)
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
"ModelPackageGroupArn")
Either
String
(POSIX
-> UserContext
-> ModelPackageGroupStatus
-> DescribeModelPackageGroupResponse)
-> Either String POSIX
-> Either
String
(UserContext
-> ModelPackageGroupStatus -> DescribeModelPackageGroupResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String POSIX
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"CreationTime")
Either
String
(UserContext
-> ModelPackageGroupStatus -> DescribeModelPackageGroupResponse)
-> Either String UserContext
-> Either
String
(ModelPackageGroupStatus -> DescribeModelPackageGroupResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String UserContext
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"CreatedBy")
Either
String
(ModelPackageGroupStatus -> DescribeModelPackageGroupResponse)
-> Either String ModelPackageGroupStatus
-> Either String DescribeModelPackageGroupResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String ModelPackageGroupStatus
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"ModelPackageGroupStatus")
)
instance Prelude.Hashable DescribeModelPackageGroup
instance Prelude.NFData DescribeModelPackageGroup
instance Core.ToHeaders DescribeModelPackageGroup where
toHeaders :: DescribeModelPackageGroup -> ResponseHeaders
toHeaders =
ResponseHeaders -> DescribeModelPackageGroup -> 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
"SageMaker.DescribeModelPackageGroup" ::
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 DescribeModelPackageGroup where
toJSON :: DescribeModelPackageGroup -> Value
toJSON DescribeModelPackageGroup' {Text
modelPackageGroupName :: Text
$sel:modelPackageGroupName:DescribeModelPackageGroup' :: DescribeModelPackageGroup -> Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
( Text
"ModelPackageGroupName"
Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
modelPackageGroupName
)
]
)
instance Core.ToPath DescribeModelPackageGroup where
toPath :: DescribeModelPackageGroup -> ByteString
toPath = ByteString -> DescribeModelPackageGroup -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery DescribeModelPackageGroup where
toQuery :: DescribeModelPackageGroup -> QueryString
toQuery = QueryString -> DescribeModelPackageGroup -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeModelPackageGroupResponse = DescribeModelPackageGroupResponse'
{
DescribeModelPackageGroupResponse -> Maybe Text
modelPackageGroupDescription :: Prelude.Maybe Prelude.Text,
DescribeModelPackageGroupResponse -> Int
httpStatus :: Prelude.Int,
DescribeModelPackageGroupResponse -> Text
modelPackageGroupName :: Prelude.Text,
DescribeModelPackageGroupResponse -> Text
modelPackageGroupArn :: Prelude.Text,
DescribeModelPackageGroupResponse -> POSIX
creationTime :: Core.POSIX,
DescribeModelPackageGroupResponse -> UserContext
createdBy :: UserContext,
DescribeModelPackageGroupResponse -> ModelPackageGroupStatus
modelPackageGroupStatus :: ModelPackageGroupStatus
}
deriving (DescribeModelPackageGroupResponse
-> DescribeModelPackageGroupResponse -> Bool
(DescribeModelPackageGroupResponse
-> DescribeModelPackageGroupResponse -> Bool)
-> (DescribeModelPackageGroupResponse
-> DescribeModelPackageGroupResponse -> Bool)
-> Eq DescribeModelPackageGroupResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeModelPackageGroupResponse
-> DescribeModelPackageGroupResponse -> Bool
$c/= :: DescribeModelPackageGroupResponse
-> DescribeModelPackageGroupResponse -> Bool
== :: DescribeModelPackageGroupResponse
-> DescribeModelPackageGroupResponse -> Bool
$c== :: DescribeModelPackageGroupResponse
-> DescribeModelPackageGroupResponse -> Bool
Prelude.Eq, ReadPrec [DescribeModelPackageGroupResponse]
ReadPrec DescribeModelPackageGroupResponse
Int -> ReadS DescribeModelPackageGroupResponse
ReadS [DescribeModelPackageGroupResponse]
(Int -> ReadS DescribeModelPackageGroupResponse)
-> ReadS [DescribeModelPackageGroupResponse]
-> ReadPrec DescribeModelPackageGroupResponse
-> ReadPrec [DescribeModelPackageGroupResponse]
-> Read DescribeModelPackageGroupResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeModelPackageGroupResponse]
$creadListPrec :: ReadPrec [DescribeModelPackageGroupResponse]
readPrec :: ReadPrec DescribeModelPackageGroupResponse
$creadPrec :: ReadPrec DescribeModelPackageGroupResponse
readList :: ReadS [DescribeModelPackageGroupResponse]
$creadList :: ReadS [DescribeModelPackageGroupResponse]
readsPrec :: Int -> ReadS DescribeModelPackageGroupResponse
$creadsPrec :: Int -> ReadS DescribeModelPackageGroupResponse
Prelude.Read, Int -> DescribeModelPackageGroupResponse -> ShowS
[DescribeModelPackageGroupResponse] -> ShowS
DescribeModelPackageGroupResponse -> String
(Int -> DescribeModelPackageGroupResponse -> ShowS)
-> (DescribeModelPackageGroupResponse -> String)
-> ([DescribeModelPackageGroupResponse] -> ShowS)
-> Show DescribeModelPackageGroupResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeModelPackageGroupResponse] -> ShowS
$cshowList :: [DescribeModelPackageGroupResponse] -> ShowS
show :: DescribeModelPackageGroupResponse -> String
$cshow :: DescribeModelPackageGroupResponse -> String
showsPrec :: Int -> DescribeModelPackageGroupResponse -> ShowS
$cshowsPrec :: Int -> DescribeModelPackageGroupResponse -> ShowS
Prelude.Show, (forall x.
DescribeModelPackageGroupResponse
-> Rep DescribeModelPackageGroupResponse x)
-> (forall x.
Rep DescribeModelPackageGroupResponse x
-> DescribeModelPackageGroupResponse)
-> Generic DescribeModelPackageGroupResponse
forall x.
Rep DescribeModelPackageGroupResponse x
-> DescribeModelPackageGroupResponse
forall x.
DescribeModelPackageGroupResponse
-> Rep DescribeModelPackageGroupResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeModelPackageGroupResponse x
-> DescribeModelPackageGroupResponse
$cfrom :: forall x.
DescribeModelPackageGroupResponse
-> Rep DescribeModelPackageGroupResponse x
Prelude.Generic)
newDescribeModelPackageGroupResponse ::
Prelude.Int ->
Prelude.Text ->
Prelude.Text ->
Prelude.UTCTime ->
UserContext ->
ModelPackageGroupStatus ->
DescribeModelPackageGroupResponse
newDescribeModelPackageGroupResponse :: Int
-> Text
-> Text
-> UTCTime
-> UserContext
-> ModelPackageGroupStatus
-> DescribeModelPackageGroupResponse
newDescribeModelPackageGroupResponse
Int
pHttpStatus_
Text
pModelPackageGroupName_
Text
pModelPackageGroupArn_
UTCTime
pCreationTime_
UserContext
pCreatedBy_
ModelPackageGroupStatus
pModelPackageGroupStatus_ =
DescribeModelPackageGroupResponse' :: Maybe Text
-> Int
-> Text
-> Text
-> POSIX
-> UserContext
-> ModelPackageGroupStatus
-> DescribeModelPackageGroupResponse
DescribeModelPackageGroupResponse'
{ $sel:modelPackageGroupDescription:DescribeModelPackageGroupResponse' :: Maybe Text
modelPackageGroupDescription =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeModelPackageGroupResponse' :: Int
httpStatus = Int
pHttpStatus_,
$sel:modelPackageGroupName:DescribeModelPackageGroupResponse' :: Text
modelPackageGroupName =
Text
pModelPackageGroupName_,
$sel:modelPackageGroupArn:DescribeModelPackageGroupResponse' :: Text
modelPackageGroupArn =
Text
pModelPackageGroupArn_,
$sel:creationTime:DescribeModelPackageGroupResponse' :: POSIX
creationTime =
Tagged UTCTime (Identity UTCTime) -> Tagged POSIX (Identity POSIX)
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time (Tagged UTCTime (Identity UTCTime)
-> Tagged POSIX (Identity POSIX))
-> UTCTime -> POSIX
forall t b. AReview t b -> b -> t
Lens.# UTCTime
pCreationTime_,
$sel:createdBy:DescribeModelPackageGroupResponse' :: UserContext
createdBy = UserContext
pCreatedBy_,
$sel:modelPackageGroupStatus:DescribeModelPackageGroupResponse' :: ModelPackageGroupStatus
modelPackageGroupStatus =
ModelPackageGroupStatus
pModelPackageGroupStatus_
}
describeModelPackageGroupResponse_modelPackageGroupDescription :: Lens.Lens' DescribeModelPackageGroupResponse (Prelude.Maybe Prelude.Text)
describeModelPackageGroupResponse_modelPackageGroupDescription :: (Maybe Text -> f (Maybe Text))
-> DescribeModelPackageGroupResponse
-> f DescribeModelPackageGroupResponse
describeModelPackageGroupResponse_modelPackageGroupDescription = (DescribeModelPackageGroupResponse -> Maybe Text)
-> (DescribeModelPackageGroupResponse
-> Maybe Text -> DescribeModelPackageGroupResponse)
-> Lens
DescribeModelPackageGroupResponse
DescribeModelPackageGroupResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelPackageGroupResponse' {Maybe Text
modelPackageGroupDescription :: Maybe Text
$sel:modelPackageGroupDescription:DescribeModelPackageGroupResponse' :: DescribeModelPackageGroupResponse -> Maybe Text
modelPackageGroupDescription} -> Maybe Text
modelPackageGroupDescription) (\s :: DescribeModelPackageGroupResponse
s@DescribeModelPackageGroupResponse' {} Maybe Text
a -> DescribeModelPackageGroupResponse
s {$sel:modelPackageGroupDescription:DescribeModelPackageGroupResponse' :: Maybe Text
modelPackageGroupDescription = Maybe Text
a} :: DescribeModelPackageGroupResponse)
describeModelPackageGroupResponse_httpStatus :: Lens.Lens' DescribeModelPackageGroupResponse Prelude.Int
describeModelPackageGroupResponse_httpStatus :: (Int -> f Int)
-> DescribeModelPackageGroupResponse
-> f DescribeModelPackageGroupResponse
describeModelPackageGroupResponse_httpStatus = (DescribeModelPackageGroupResponse -> Int)
-> (DescribeModelPackageGroupResponse
-> Int -> DescribeModelPackageGroupResponse)
-> Lens
DescribeModelPackageGroupResponse
DescribeModelPackageGroupResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelPackageGroupResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeModelPackageGroupResponse' :: DescribeModelPackageGroupResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeModelPackageGroupResponse
s@DescribeModelPackageGroupResponse' {} Int
a -> DescribeModelPackageGroupResponse
s {$sel:httpStatus:DescribeModelPackageGroupResponse' :: Int
httpStatus = Int
a} :: DescribeModelPackageGroupResponse)
describeModelPackageGroupResponse_modelPackageGroupName :: Lens.Lens' DescribeModelPackageGroupResponse Prelude.Text
describeModelPackageGroupResponse_modelPackageGroupName :: (Text -> f Text)
-> DescribeModelPackageGroupResponse
-> f DescribeModelPackageGroupResponse
describeModelPackageGroupResponse_modelPackageGroupName = (DescribeModelPackageGroupResponse -> Text)
-> (DescribeModelPackageGroupResponse
-> Text -> DescribeModelPackageGroupResponse)
-> Lens
DescribeModelPackageGroupResponse
DescribeModelPackageGroupResponse
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelPackageGroupResponse' {Text
modelPackageGroupName :: Text
$sel:modelPackageGroupName:DescribeModelPackageGroupResponse' :: DescribeModelPackageGroupResponse -> Text
modelPackageGroupName} -> Text
modelPackageGroupName) (\s :: DescribeModelPackageGroupResponse
s@DescribeModelPackageGroupResponse' {} Text
a -> DescribeModelPackageGroupResponse
s {$sel:modelPackageGroupName:DescribeModelPackageGroupResponse' :: Text
modelPackageGroupName = Text
a} :: DescribeModelPackageGroupResponse)
describeModelPackageGroupResponse_modelPackageGroupArn :: Lens.Lens' DescribeModelPackageGroupResponse Prelude.Text
describeModelPackageGroupResponse_modelPackageGroupArn :: (Text -> f Text)
-> DescribeModelPackageGroupResponse
-> f DescribeModelPackageGroupResponse
describeModelPackageGroupResponse_modelPackageGroupArn = (DescribeModelPackageGroupResponse -> Text)
-> (DescribeModelPackageGroupResponse
-> Text -> DescribeModelPackageGroupResponse)
-> Lens
DescribeModelPackageGroupResponse
DescribeModelPackageGroupResponse
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelPackageGroupResponse' {Text
modelPackageGroupArn :: Text
$sel:modelPackageGroupArn:DescribeModelPackageGroupResponse' :: DescribeModelPackageGroupResponse -> Text
modelPackageGroupArn} -> Text
modelPackageGroupArn) (\s :: DescribeModelPackageGroupResponse
s@DescribeModelPackageGroupResponse' {} Text
a -> DescribeModelPackageGroupResponse
s {$sel:modelPackageGroupArn:DescribeModelPackageGroupResponse' :: Text
modelPackageGroupArn = Text
a} :: DescribeModelPackageGroupResponse)
describeModelPackageGroupResponse_creationTime :: Lens.Lens' DescribeModelPackageGroupResponse Prelude.UTCTime
describeModelPackageGroupResponse_creationTime :: (UTCTime -> f UTCTime)
-> DescribeModelPackageGroupResponse
-> f DescribeModelPackageGroupResponse
describeModelPackageGroupResponse_creationTime = (DescribeModelPackageGroupResponse -> POSIX)
-> (DescribeModelPackageGroupResponse
-> POSIX -> DescribeModelPackageGroupResponse)
-> Lens
DescribeModelPackageGroupResponse
DescribeModelPackageGroupResponse
POSIX
POSIX
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelPackageGroupResponse' {POSIX
creationTime :: POSIX
$sel:creationTime:DescribeModelPackageGroupResponse' :: DescribeModelPackageGroupResponse -> POSIX
creationTime} -> POSIX
creationTime) (\s :: DescribeModelPackageGroupResponse
s@DescribeModelPackageGroupResponse' {} POSIX
a -> DescribeModelPackageGroupResponse
s {$sel:creationTime:DescribeModelPackageGroupResponse' :: POSIX
creationTime = POSIX
a} :: DescribeModelPackageGroupResponse) ((POSIX -> f POSIX)
-> DescribeModelPackageGroupResponse
-> f DescribeModelPackageGroupResponse)
-> ((UTCTime -> f UTCTime) -> POSIX -> f POSIX)
-> (UTCTime -> f UTCTime)
-> DescribeModelPackageGroupResponse
-> f DescribeModelPackageGroupResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (UTCTime -> f UTCTime) -> POSIX -> f POSIX
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
describeModelPackageGroupResponse_createdBy :: Lens.Lens' DescribeModelPackageGroupResponse UserContext
describeModelPackageGroupResponse_createdBy :: (UserContext -> f UserContext)
-> DescribeModelPackageGroupResponse
-> f DescribeModelPackageGroupResponse
describeModelPackageGroupResponse_createdBy = (DescribeModelPackageGroupResponse -> UserContext)
-> (DescribeModelPackageGroupResponse
-> UserContext -> DescribeModelPackageGroupResponse)
-> Lens
DescribeModelPackageGroupResponse
DescribeModelPackageGroupResponse
UserContext
UserContext
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelPackageGroupResponse' {UserContext
createdBy :: UserContext
$sel:createdBy:DescribeModelPackageGroupResponse' :: DescribeModelPackageGroupResponse -> UserContext
createdBy} -> UserContext
createdBy) (\s :: DescribeModelPackageGroupResponse
s@DescribeModelPackageGroupResponse' {} UserContext
a -> DescribeModelPackageGroupResponse
s {$sel:createdBy:DescribeModelPackageGroupResponse' :: UserContext
createdBy = UserContext
a} :: DescribeModelPackageGroupResponse)
describeModelPackageGroupResponse_modelPackageGroupStatus :: Lens.Lens' DescribeModelPackageGroupResponse ModelPackageGroupStatus
describeModelPackageGroupResponse_modelPackageGroupStatus :: (ModelPackageGroupStatus -> f ModelPackageGroupStatus)
-> DescribeModelPackageGroupResponse
-> f DescribeModelPackageGroupResponse
describeModelPackageGroupResponse_modelPackageGroupStatus = (DescribeModelPackageGroupResponse -> ModelPackageGroupStatus)
-> (DescribeModelPackageGroupResponse
-> ModelPackageGroupStatus -> DescribeModelPackageGroupResponse)
-> Lens
DescribeModelPackageGroupResponse
DescribeModelPackageGroupResponse
ModelPackageGroupStatus
ModelPackageGroupStatus
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelPackageGroupResponse' {ModelPackageGroupStatus
modelPackageGroupStatus :: ModelPackageGroupStatus
$sel:modelPackageGroupStatus:DescribeModelPackageGroupResponse' :: DescribeModelPackageGroupResponse -> ModelPackageGroupStatus
modelPackageGroupStatus} -> ModelPackageGroupStatus
modelPackageGroupStatus) (\s :: DescribeModelPackageGroupResponse
s@DescribeModelPackageGroupResponse' {} ModelPackageGroupStatus
a -> DescribeModelPackageGroupResponse
s {$sel:modelPackageGroupStatus:DescribeModelPackageGroupResponse' :: ModelPackageGroupStatus
modelPackageGroupStatus = ModelPackageGroupStatus
a} :: DescribeModelPackageGroupResponse)
instance
Prelude.NFData
DescribeModelPackageGroupResponse