{-# 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.DescribeCodeRepository
(
DescribeCodeRepository (..),
newDescribeCodeRepository,
describeCodeRepository_codeRepositoryName,
DescribeCodeRepositoryResponse (..),
newDescribeCodeRepositoryResponse,
describeCodeRepositoryResponse_gitConfig,
describeCodeRepositoryResponse_httpStatus,
describeCodeRepositoryResponse_codeRepositoryName,
describeCodeRepositoryResponse_codeRepositoryArn,
describeCodeRepositoryResponse_creationTime,
describeCodeRepositoryResponse_lastModifiedTime,
)
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 DescribeCodeRepository = DescribeCodeRepository'
{
DescribeCodeRepository -> Text
codeRepositoryName :: Prelude.Text
}
deriving (DescribeCodeRepository -> DescribeCodeRepository -> Bool
(DescribeCodeRepository -> DescribeCodeRepository -> Bool)
-> (DescribeCodeRepository -> DescribeCodeRepository -> Bool)
-> Eq DescribeCodeRepository
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeCodeRepository -> DescribeCodeRepository -> Bool
$c/= :: DescribeCodeRepository -> DescribeCodeRepository -> Bool
== :: DescribeCodeRepository -> DescribeCodeRepository -> Bool
$c== :: DescribeCodeRepository -> DescribeCodeRepository -> Bool
Prelude.Eq, ReadPrec [DescribeCodeRepository]
ReadPrec DescribeCodeRepository
Int -> ReadS DescribeCodeRepository
ReadS [DescribeCodeRepository]
(Int -> ReadS DescribeCodeRepository)
-> ReadS [DescribeCodeRepository]
-> ReadPrec DescribeCodeRepository
-> ReadPrec [DescribeCodeRepository]
-> Read DescribeCodeRepository
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeCodeRepository]
$creadListPrec :: ReadPrec [DescribeCodeRepository]
readPrec :: ReadPrec DescribeCodeRepository
$creadPrec :: ReadPrec DescribeCodeRepository
readList :: ReadS [DescribeCodeRepository]
$creadList :: ReadS [DescribeCodeRepository]
readsPrec :: Int -> ReadS DescribeCodeRepository
$creadsPrec :: Int -> ReadS DescribeCodeRepository
Prelude.Read, Int -> DescribeCodeRepository -> ShowS
[DescribeCodeRepository] -> ShowS
DescribeCodeRepository -> String
(Int -> DescribeCodeRepository -> ShowS)
-> (DescribeCodeRepository -> String)
-> ([DescribeCodeRepository] -> ShowS)
-> Show DescribeCodeRepository
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeCodeRepository] -> ShowS
$cshowList :: [DescribeCodeRepository] -> ShowS
show :: DescribeCodeRepository -> String
$cshow :: DescribeCodeRepository -> String
showsPrec :: Int -> DescribeCodeRepository -> ShowS
$cshowsPrec :: Int -> DescribeCodeRepository -> ShowS
Prelude.Show, (forall x. DescribeCodeRepository -> Rep DescribeCodeRepository x)
-> (forall x.
Rep DescribeCodeRepository x -> DescribeCodeRepository)
-> Generic DescribeCodeRepository
forall x. Rep DescribeCodeRepository x -> DescribeCodeRepository
forall x. DescribeCodeRepository -> Rep DescribeCodeRepository x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeCodeRepository x -> DescribeCodeRepository
$cfrom :: forall x. DescribeCodeRepository -> Rep DescribeCodeRepository x
Prelude.Generic)
newDescribeCodeRepository ::
Prelude.Text ->
DescribeCodeRepository
newDescribeCodeRepository :: Text -> DescribeCodeRepository
newDescribeCodeRepository Text
pCodeRepositoryName_ =
DescribeCodeRepository' :: Text -> DescribeCodeRepository
DescribeCodeRepository'
{ $sel:codeRepositoryName:DescribeCodeRepository' :: Text
codeRepositoryName =
Text
pCodeRepositoryName_
}
describeCodeRepository_codeRepositoryName :: Lens.Lens' DescribeCodeRepository Prelude.Text
describeCodeRepository_codeRepositoryName :: (Text -> f Text)
-> DescribeCodeRepository -> f DescribeCodeRepository
describeCodeRepository_codeRepositoryName = (DescribeCodeRepository -> Text)
-> (DescribeCodeRepository -> Text -> DescribeCodeRepository)
-> Lens DescribeCodeRepository DescribeCodeRepository Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeCodeRepository' {Text
codeRepositoryName :: Text
$sel:codeRepositoryName:DescribeCodeRepository' :: DescribeCodeRepository -> Text
codeRepositoryName} -> Text
codeRepositoryName) (\s :: DescribeCodeRepository
s@DescribeCodeRepository' {} Text
a -> DescribeCodeRepository
s {$sel:codeRepositoryName:DescribeCodeRepository' :: Text
codeRepositoryName = Text
a} :: DescribeCodeRepository)
instance Core.AWSRequest DescribeCodeRepository where
type
AWSResponse DescribeCodeRepository =
DescribeCodeRepositoryResponse
request :: DescribeCodeRepository -> Request DescribeCodeRepository
request = Service -> DescribeCodeRepository -> Request DescribeCodeRepository
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeCodeRepository
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeCodeRepository)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeCodeRepository))
-> Logger
-> Service
-> Proxy DescribeCodeRepository
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeCodeRepository)))
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 GitConfig
-> Int
-> Text
-> Text
-> POSIX
-> POSIX
-> DescribeCodeRepositoryResponse
DescribeCodeRepositoryResponse'
(Maybe GitConfig
-> Int
-> Text
-> Text
-> POSIX
-> POSIX
-> DescribeCodeRepositoryResponse)
-> Either String (Maybe GitConfig)
-> Either
String
(Int
-> Text
-> Text
-> POSIX
-> POSIX
-> DescribeCodeRepositoryResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe GitConfig)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"GitConfig")
Either
String
(Int
-> Text
-> Text
-> POSIX
-> POSIX
-> DescribeCodeRepositoryResponse)
-> Either String Int
-> Either
String
(Text -> Text -> POSIX -> POSIX -> DescribeCodeRepositoryResponse)
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 -> POSIX -> DescribeCodeRepositoryResponse)
-> Either String Text
-> Either
String (Text -> POSIX -> POSIX -> DescribeCodeRepositoryResponse)
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
"CodeRepositoryName")
Either
String (Text -> POSIX -> POSIX -> DescribeCodeRepositoryResponse)
-> Either String Text
-> Either String (POSIX -> POSIX -> DescribeCodeRepositoryResponse)
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
"CodeRepositoryArn")
Either String (POSIX -> POSIX -> DescribeCodeRepositoryResponse)
-> Either String POSIX
-> Either String (POSIX -> DescribeCodeRepositoryResponse)
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 (POSIX -> DescribeCodeRepositoryResponse)
-> Either String POSIX
-> Either String DescribeCodeRepositoryResponse
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
"LastModifiedTime")
)
instance Prelude.Hashable DescribeCodeRepository
instance Prelude.NFData DescribeCodeRepository
instance Core.ToHeaders DescribeCodeRepository where
toHeaders :: DescribeCodeRepository -> ResponseHeaders
toHeaders =
ResponseHeaders -> DescribeCodeRepository -> 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.DescribeCodeRepository" ::
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 DescribeCodeRepository where
toJSON :: DescribeCodeRepository -> Value
toJSON DescribeCodeRepository' {Text
codeRepositoryName :: Text
$sel:codeRepositoryName:DescribeCodeRepository' :: DescribeCodeRepository -> 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
"CodeRepositoryName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
codeRepositoryName)
]
)
instance Core.ToPath DescribeCodeRepository where
toPath :: DescribeCodeRepository -> ByteString
toPath = ByteString -> DescribeCodeRepository -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery DescribeCodeRepository where
toQuery :: DescribeCodeRepository -> QueryString
toQuery = QueryString -> DescribeCodeRepository -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeCodeRepositoryResponse = DescribeCodeRepositoryResponse'
{
DescribeCodeRepositoryResponse -> Maybe GitConfig
gitConfig :: Prelude.Maybe GitConfig,
DescribeCodeRepositoryResponse -> Int
httpStatus :: Prelude.Int,
DescribeCodeRepositoryResponse -> Text
codeRepositoryName :: Prelude.Text,
DescribeCodeRepositoryResponse -> Text
codeRepositoryArn :: Prelude.Text,
DescribeCodeRepositoryResponse -> POSIX
creationTime :: Core.POSIX,
DescribeCodeRepositoryResponse -> POSIX
lastModifiedTime :: Core.POSIX
}
deriving (DescribeCodeRepositoryResponse
-> DescribeCodeRepositoryResponse -> Bool
(DescribeCodeRepositoryResponse
-> DescribeCodeRepositoryResponse -> Bool)
-> (DescribeCodeRepositoryResponse
-> DescribeCodeRepositoryResponse -> Bool)
-> Eq DescribeCodeRepositoryResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeCodeRepositoryResponse
-> DescribeCodeRepositoryResponse -> Bool
$c/= :: DescribeCodeRepositoryResponse
-> DescribeCodeRepositoryResponse -> Bool
== :: DescribeCodeRepositoryResponse
-> DescribeCodeRepositoryResponse -> Bool
$c== :: DescribeCodeRepositoryResponse
-> DescribeCodeRepositoryResponse -> Bool
Prelude.Eq, ReadPrec [DescribeCodeRepositoryResponse]
ReadPrec DescribeCodeRepositoryResponse
Int -> ReadS DescribeCodeRepositoryResponse
ReadS [DescribeCodeRepositoryResponse]
(Int -> ReadS DescribeCodeRepositoryResponse)
-> ReadS [DescribeCodeRepositoryResponse]
-> ReadPrec DescribeCodeRepositoryResponse
-> ReadPrec [DescribeCodeRepositoryResponse]
-> Read DescribeCodeRepositoryResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeCodeRepositoryResponse]
$creadListPrec :: ReadPrec [DescribeCodeRepositoryResponse]
readPrec :: ReadPrec DescribeCodeRepositoryResponse
$creadPrec :: ReadPrec DescribeCodeRepositoryResponse
readList :: ReadS [DescribeCodeRepositoryResponse]
$creadList :: ReadS [DescribeCodeRepositoryResponse]
readsPrec :: Int -> ReadS DescribeCodeRepositoryResponse
$creadsPrec :: Int -> ReadS DescribeCodeRepositoryResponse
Prelude.Read, Int -> DescribeCodeRepositoryResponse -> ShowS
[DescribeCodeRepositoryResponse] -> ShowS
DescribeCodeRepositoryResponse -> String
(Int -> DescribeCodeRepositoryResponse -> ShowS)
-> (DescribeCodeRepositoryResponse -> String)
-> ([DescribeCodeRepositoryResponse] -> ShowS)
-> Show DescribeCodeRepositoryResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeCodeRepositoryResponse] -> ShowS
$cshowList :: [DescribeCodeRepositoryResponse] -> ShowS
show :: DescribeCodeRepositoryResponse -> String
$cshow :: DescribeCodeRepositoryResponse -> String
showsPrec :: Int -> DescribeCodeRepositoryResponse -> ShowS
$cshowsPrec :: Int -> DescribeCodeRepositoryResponse -> ShowS
Prelude.Show, (forall x.
DescribeCodeRepositoryResponse
-> Rep DescribeCodeRepositoryResponse x)
-> (forall x.
Rep DescribeCodeRepositoryResponse x
-> DescribeCodeRepositoryResponse)
-> Generic DescribeCodeRepositoryResponse
forall x.
Rep DescribeCodeRepositoryResponse x
-> DescribeCodeRepositoryResponse
forall x.
DescribeCodeRepositoryResponse
-> Rep DescribeCodeRepositoryResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeCodeRepositoryResponse x
-> DescribeCodeRepositoryResponse
$cfrom :: forall x.
DescribeCodeRepositoryResponse
-> Rep DescribeCodeRepositoryResponse x
Prelude.Generic)
newDescribeCodeRepositoryResponse ::
Prelude.Int ->
Prelude.Text ->
Prelude.Text ->
Prelude.UTCTime ->
Prelude.UTCTime ->
DescribeCodeRepositoryResponse
newDescribeCodeRepositoryResponse :: Int
-> Text
-> Text
-> UTCTime
-> UTCTime
-> DescribeCodeRepositoryResponse
newDescribeCodeRepositoryResponse
Int
pHttpStatus_
Text
pCodeRepositoryName_
Text
pCodeRepositoryArn_
UTCTime
pCreationTime_
UTCTime
pLastModifiedTime_ =
DescribeCodeRepositoryResponse' :: Maybe GitConfig
-> Int
-> Text
-> Text
-> POSIX
-> POSIX
-> DescribeCodeRepositoryResponse
DescribeCodeRepositoryResponse'
{ $sel:gitConfig:DescribeCodeRepositoryResponse' :: Maybe GitConfig
gitConfig =
Maybe GitConfig
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeCodeRepositoryResponse' :: Int
httpStatus = Int
pHttpStatus_,
$sel:codeRepositoryName:DescribeCodeRepositoryResponse' :: Text
codeRepositoryName = Text
pCodeRepositoryName_,
$sel:codeRepositoryArn:DescribeCodeRepositoryResponse' :: Text
codeRepositoryArn = Text
pCodeRepositoryArn_,
$sel:creationTime:DescribeCodeRepositoryResponse' :: 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:lastModifiedTime:DescribeCodeRepositoryResponse' :: POSIX
lastModifiedTime =
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
pLastModifiedTime_
}
describeCodeRepositoryResponse_gitConfig :: Lens.Lens' DescribeCodeRepositoryResponse (Prelude.Maybe GitConfig)
describeCodeRepositoryResponse_gitConfig :: (Maybe GitConfig -> f (Maybe GitConfig))
-> DescribeCodeRepositoryResponse
-> f DescribeCodeRepositoryResponse
describeCodeRepositoryResponse_gitConfig = (DescribeCodeRepositoryResponse -> Maybe GitConfig)
-> (DescribeCodeRepositoryResponse
-> Maybe GitConfig -> DescribeCodeRepositoryResponse)
-> Lens
DescribeCodeRepositoryResponse
DescribeCodeRepositoryResponse
(Maybe GitConfig)
(Maybe GitConfig)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeCodeRepositoryResponse' {Maybe GitConfig
gitConfig :: Maybe GitConfig
$sel:gitConfig:DescribeCodeRepositoryResponse' :: DescribeCodeRepositoryResponse -> Maybe GitConfig
gitConfig} -> Maybe GitConfig
gitConfig) (\s :: DescribeCodeRepositoryResponse
s@DescribeCodeRepositoryResponse' {} Maybe GitConfig
a -> DescribeCodeRepositoryResponse
s {$sel:gitConfig:DescribeCodeRepositoryResponse' :: Maybe GitConfig
gitConfig = Maybe GitConfig
a} :: DescribeCodeRepositoryResponse)
describeCodeRepositoryResponse_httpStatus :: Lens.Lens' DescribeCodeRepositoryResponse Prelude.Int
describeCodeRepositoryResponse_httpStatus :: (Int -> f Int)
-> DescribeCodeRepositoryResponse
-> f DescribeCodeRepositoryResponse
describeCodeRepositoryResponse_httpStatus = (DescribeCodeRepositoryResponse -> Int)
-> (DescribeCodeRepositoryResponse
-> Int -> DescribeCodeRepositoryResponse)
-> Lens
DescribeCodeRepositoryResponse
DescribeCodeRepositoryResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeCodeRepositoryResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeCodeRepositoryResponse' :: DescribeCodeRepositoryResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeCodeRepositoryResponse
s@DescribeCodeRepositoryResponse' {} Int
a -> DescribeCodeRepositoryResponse
s {$sel:httpStatus:DescribeCodeRepositoryResponse' :: Int
httpStatus = Int
a} :: DescribeCodeRepositoryResponse)
describeCodeRepositoryResponse_codeRepositoryName :: Lens.Lens' DescribeCodeRepositoryResponse Prelude.Text
describeCodeRepositoryResponse_codeRepositoryName :: (Text -> f Text)
-> DescribeCodeRepositoryResponse
-> f DescribeCodeRepositoryResponse
describeCodeRepositoryResponse_codeRepositoryName = (DescribeCodeRepositoryResponse -> Text)
-> (DescribeCodeRepositoryResponse
-> Text -> DescribeCodeRepositoryResponse)
-> Lens
DescribeCodeRepositoryResponse
DescribeCodeRepositoryResponse
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeCodeRepositoryResponse' {Text
codeRepositoryName :: Text
$sel:codeRepositoryName:DescribeCodeRepositoryResponse' :: DescribeCodeRepositoryResponse -> Text
codeRepositoryName} -> Text
codeRepositoryName) (\s :: DescribeCodeRepositoryResponse
s@DescribeCodeRepositoryResponse' {} Text
a -> DescribeCodeRepositoryResponse
s {$sel:codeRepositoryName:DescribeCodeRepositoryResponse' :: Text
codeRepositoryName = Text
a} :: DescribeCodeRepositoryResponse)
describeCodeRepositoryResponse_codeRepositoryArn :: Lens.Lens' DescribeCodeRepositoryResponse Prelude.Text
describeCodeRepositoryResponse_codeRepositoryArn :: (Text -> f Text)
-> DescribeCodeRepositoryResponse
-> f DescribeCodeRepositoryResponse
describeCodeRepositoryResponse_codeRepositoryArn = (DescribeCodeRepositoryResponse -> Text)
-> (DescribeCodeRepositoryResponse
-> Text -> DescribeCodeRepositoryResponse)
-> Lens
DescribeCodeRepositoryResponse
DescribeCodeRepositoryResponse
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeCodeRepositoryResponse' {Text
codeRepositoryArn :: Text
$sel:codeRepositoryArn:DescribeCodeRepositoryResponse' :: DescribeCodeRepositoryResponse -> Text
codeRepositoryArn} -> Text
codeRepositoryArn) (\s :: DescribeCodeRepositoryResponse
s@DescribeCodeRepositoryResponse' {} Text
a -> DescribeCodeRepositoryResponse
s {$sel:codeRepositoryArn:DescribeCodeRepositoryResponse' :: Text
codeRepositoryArn = Text
a} :: DescribeCodeRepositoryResponse)
describeCodeRepositoryResponse_creationTime :: Lens.Lens' DescribeCodeRepositoryResponse Prelude.UTCTime
describeCodeRepositoryResponse_creationTime :: (UTCTime -> f UTCTime)
-> DescribeCodeRepositoryResponse
-> f DescribeCodeRepositoryResponse
describeCodeRepositoryResponse_creationTime = (DescribeCodeRepositoryResponse -> POSIX)
-> (DescribeCodeRepositoryResponse
-> POSIX -> DescribeCodeRepositoryResponse)
-> Lens
DescribeCodeRepositoryResponse
DescribeCodeRepositoryResponse
POSIX
POSIX
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeCodeRepositoryResponse' {POSIX
creationTime :: POSIX
$sel:creationTime:DescribeCodeRepositoryResponse' :: DescribeCodeRepositoryResponse -> POSIX
creationTime} -> POSIX
creationTime) (\s :: DescribeCodeRepositoryResponse
s@DescribeCodeRepositoryResponse' {} POSIX
a -> DescribeCodeRepositoryResponse
s {$sel:creationTime:DescribeCodeRepositoryResponse' :: POSIX
creationTime = POSIX
a} :: DescribeCodeRepositoryResponse) ((POSIX -> f POSIX)
-> DescribeCodeRepositoryResponse
-> f DescribeCodeRepositoryResponse)
-> ((UTCTime -> f UTCTime) -> POSIX -> f POSIX)
-> (UTCTime -> f UTCTime)
-> DescribeCodeRepositoryResponse
-> f DescribeCodeRepositoryResponse
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
describeCodeRepositoryResponse_lastModifiedTime :: Lens.Lens' DescribeCodeRepositoryResponse Prelude.UTCTime
describeCodeRepositoryResponse_lastModifiedTime :: (UTCTime -> f UTCTime)
-> DescribeCodeRepositoryResponse
-> f DescribeCodeRepositoryResponse
describeCodeRepositoryResponse_lastModifiedTime = (DescribeCodeRepositoryResponse -> POSIX)
-> (DescribeCodeRepositoryResponse
-> POSIX -> DescribeCodeRepositoryResponse)
-> Lens
DescribeCodeRepositoryResponse
DescribeCodeRepositoryResponse
POSIX
POSIX
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeCodeRepositoryResponse' {POSIX
lastModifiedTime :: POSIX
$sel:lastModifiedTime:DescribeCodeRepositoryResponse' :: DescribeCodeRepositoryResponse -> POSIX
lastModifiedTime} -> POSIX
lastModifiedTime) (\s :: DescribeCodeRepositoryResponse
s@DescribeCodeRepositoryResponse' {} POSIX
a -> DescribeCodeRepositoryResponse
s {$sel:lastModifiedTime:DescribeCodeRepositoryResponse' :: POSIX
lastModifiedTime = POSIX
a} :: DescribeCodeRepositoryResponse) ((POSIX -> f POSIX)
-> DescribeCodeRepositoryResponse
-> f DescribeCodeRepositoryResponse)
-> ((UTCTime -> f UTCTime) -> POSIX -> f POSIX)
-> (UTCTime -> f UTCTime)
-> DescribeCodeRepositoryResponse
-> f DescribeCodeRepositoryResponse
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
instance
Prelude.NFData
DescribeCodeRepositoryResponse