{-# 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.ListStudioLifecycleConfigs
(
ListStudioLifecycleConfigs (..),
newListStudioLifecycleConfigs,
listStudioLifecycleConfigs_nameContains,
listStudioLifecycleConfigs_creationTimeAfter,
listStudioLifecycleConfigs_modifiedTimeAfter,
listStudioLifecycleConfigs_nextToken,
listStudioLifecycleConfigs_sortOrder,
listStudioLifecycleConfigs_creationTimeBefore,
listStudioLifecycleConfigs_modifiedTimeBefore,
listStudioLifecycleConfigs_appTypeEquals,
listStudioLifecycleConfigs_maxResults,
listStudioLifecycleConfigs_sortBy,
ListStudioLifecycleConfigsResponse (..),
newListStudioLifecycleConfigsResponse,
listStudioLifecycleConfigsResponse_nextToken,
listStudioLifecycleConfigsResponse_studioLifecycleConfigs,
listStudioLifecycleConfigsResponse_httpStatus,
)
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 ListStudioLifecycleConfigs = ListStudioLifecycleConfigs'
{
ListStudioLifecycleConfigs -> Maybe Text
nameContains :: Prelude.Maybe Prelude.Text,
ListStudioLifecycleConfigs -> Maybe POSIX
creationTimeAfter :: Prelude.Maybe Core.POSIX,
ListStudioLifecycleConfigs -> Maybe POSIX
modifiedTimeAfter :: Prelude.Maybe Core.POSIX,
ListStudioLifecycleConfigs -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListStudioLifecycleConfigs -> Maybe SortOrder
sortOrder :: Prelude.Maybe SortOrder,
ListStudioLifecycleConfigs -> Maybe POSIX
creationTimeBefore :: Prelude.Maybe Core.POSIX,
ListStudioLifecycleConfigs -> Maybe POSIX
modifiedTimeBefore :: Prelude.Maybe Core.POSIX,
ListStudioLifecycleConfigs -> Maybe StudioLifecycleConfigAppType
appTypeEquals :: Prelude.Maybe StudioLifecycleConfigAppType,
ListStudioLifecycleConfigs -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListStudioLifecycleConfigs -> Maybe StudioLifecycleConfigSortKey
sortBy :: Prelude.Maybe StudioLifecycleConfigSortKey
}
deriving (ListStudioLifecycleConfigs -> ListStudioLifecycleConfigs -> Bool
(ListStudioLifecycleConfigs -> ListStudioLifecycleConfigs -> Bool)
-> (ListStudioLifecycleConfigs
-> ListStudioLifecycleConfigs -> Bool)
-> Eq ListStudioLifecycleConfigs
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListStudioLifecycleConfigs -> ListStudioLifecycleConfigs -> Bool
$c/= :: ListStudioLifecycleConfigs -> ListStudioLifecycleConfigs -> Bool
== :: ListStudioLifecycleConfigs -> ListStudioLifecycleConfigs -> Bool
$c== :: ListStudioLifecycleConfigs -> ListStudioLifecycleConfigs -> Bool
Prelude.Eq, ReadPrec [ListStudioLifecycleConfigs]
ReadPrec ListStudioLifecycleConfigs
Int -> ReadS ListStudioLifecycleConfigs
ReadS [ListStudioLifecycleConfigs]
(Int -> ReadS ListStudioLifecycleConfigs)
-> ReadS [ListStudioLifecycleConfigs]
-> ReadPrec ListStudioLifecycleConfigs
-> ReadPrec [ListStudioLifecycleConfigs]
-> Read ListStudioLifecycleConfigs
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListStudioLifecycleConfigs]
$creadListPrec :: ReadPrec [ListStudioLifecycleConfigs]
readPrec :: ReadPrec ListStudioLifecycleConfigs
$creadPrec :: ReadPrec ListStudioLifecycleConfigs
readList :: ReadS [ListStudioLifecycleConfigs]
$creadList :: ReadS [ListStudioLifecycleConfigs]
readsPrec :: Int -> ReadS ListStudioLifecycleConfigs
$creadsPrec :: Int -> ReadS ListStudioLifecycleConfigs
Prelude.Read, Int -> ListStudioLifecycleConfigs -> ShowS
[ListStudioLifecycleConfigs] -> ShowS
ListStudioLifecycleConfigs -> String
(Int -> ListStudioLifecycleConfigs -> ShowS)
-> (ListStudioLifecycleConfigs -> String)
-> ([ListStudioLifecycleConfigs] -> ShowS)
-> Show ListStudioLifecycleConfigs
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListStudioLifecycleConfigs] -> ShowS
$cshowList :: [ListStudioLifecycleConfigs] -> ShowS
show :: ListStudioLifecycleConfigs -> String
$cshow :: ListStudioLifecycleConfigs -> String
showsPrec :: Int -> ListStudioLifecycleConfigs -> ShowS
$cshowsPrec :: Int -> ListStudioLifecycleConfigs -> ShowS
Prelude.Show, (forall x.
ListStudioLifecycleConfigs -> Rep ListStudioLifecycleConfigs x)
-> (forall x.
Rep ListStudioLifecycleConfigs x -> ListStudioLifecycleConfigs)
-> Generic ListStudioLifecycleConfigs
forall x.
Rep ListStudioLifecycleConfigs x -> ListStudioLifecycleConfigs
forall x.
ListStudioLifecycleConfigs -> Rep ListStudioLifecycleConfigs x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListStudioLifecycleConfigs x -> ListStudioLifecycleConfigs
$cfrom :: forall x.
ListStudioLifecycleConfigs -> Rep ListStudioLifecycleConfigs x
Prelude.Generic)
newListStudioLifecycleConfigs ::
ListStudioLifecycleConfigs
newListStudioLifecycleConfigs :: ListStudioLifecycleConfigs
newListStudioLifecycleConfigs =
ListStudioLifecycleConfigs' :: Maybe Text
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe SortOrder
-> Maybe POSIX
-> Maybe POSIX
-> Maybe StudioLifecycleConfigAppType
-> Maybe Natural
-> Maybe StudioLifecycleConfigSortKey
-> ListStudioLifecycleConfigs
ListStudioLifecycleConfigs'
{ $sel:nameContains:ListStudioLifecycleConfigs' :: Maybe Text
nameContains =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:creationTimeAfter:ListStudioLifecycleConfigs' :: Maybe POSIX
creationTimeAfter = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:modifiedTimeAfter:ListStudioLifecycleConfigs' :: Maybe POSIX
modifiedTimeAfter = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListStudioLifecycleConfigs' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:sortOrder:ListStudioLifecycleConfigs' :: Maybe SortOrder
sortOrder = Maybe SortOrder
forall a. Maybe a
Prelude.Nothing,
$sel:creationTimeBefore:ListStudioLifecycleConfigs' :: Maybe POSIX
creationTimeBefore = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:modifiedTimeBefore:ListStudioLifecycleConfigs' :: Maybe POSIX
modifiedTimeBefore = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:appTypeEquals:ListStudioLifecycleConfigs' :: Maybe StudioLifecycleConfigAppType
appTypeEquals = Maybe StudioLifecycleConfigAppType
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListStudioLifecycleConfigs' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:sortBy:ListStudioLifecycleConfigs' :: Maybe StudioLifecycleConfigSortKey
sortBy = Maybe StudioLifecycleConfigSortKey
forall a. Maybe a
Prelude.Nothing
}
listStudioLifecycleConfigs_nameContains :: Lens.Lens' ListStudioLifecycleConfigs (Prelude.Maybe Prelude.Text)
listStudioLifecycleConfigs_nameContains :: (Maybe Text -> f (Maybe Text))
-> ListStudioLifecycleConfigs -> f ListStudioLifecycleConfigs
listStudioLifecycleConfigs_nameContains = (ListStudioLifecycleConfigs -> Maybe Text)
-> (ListStudioLifecycleConfigs
-> Maybe Text -> ListStudioLifecycleConfigs)
-> Lens
ListStudioLifecycleConfigs
ListStudioLifecycleConfigs
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStudioLifecycleConfigs' {Maybe Text
nameContains :: Maybe Text
$sel:nameContains:ListStudioLifecycleConfigs' :: ListStudioLifecycleConfigs -> Maybe Text
nameContains} -> Maybe Text
nameContains) (\s :: ListStudioLifecycleConfigs
s@ListStudioLifecycleConfigs' {} Maybe Text
a -> ListStudioLifecycleConfigs
s {$sel:nameContains:ListStudioLifecycleConfigs' :: Maybe Text
nameContains = Maybe Text
a} :: ListStudioLifecycleConfigs)
listStudioLifecycleConfigs_creationTimeAfter :: Lens.Lens' ListStudioLifecycleConfigs (Prelude.Maybe Prelude.UTCTime)
listStudioLifecycleConfigs_creationTimeAfter :: (Maybe UTCTime -> f (Maybe UTCTime))
-> ListStudioLifecycleConfigs -> f ListStudioLifecycleConfigs
listStudioLifecycleConfigs_creationTimeAfter = (ListStudioLifecycleConfigs -> Maybe POSIX)
-> (ListStudioLifecycleConfigs
-> Maybe POSIX -> ListStudioLifecycleConfigs)
-> Lens
ListStudioLifecycleConfigs
ListStudioLifecycleConfigs
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStudioLifecycleConfigs' {Maybe POSIX
creationTimeAfter :: Maybe POSIX
$sel:creationTimeAfter:ListStudioLifecycleConfigs' :: ListStudioLifecycleConfigs -> Maybe POSIX
creationTimeAfter} -> Maybe POSIX
creationTimeAfter) (\s :: ListStudioLifecycleConfigs
s@ListStudioLifecycleConfigs' {} Maybe POSIX
a -> ListStudioLifecycleConfigs
s {$sel:creationTimeAfter:ListStudioLifecycleConfigs' :: Maybe POSIX
creationTimeAfter = Maybe POSIX
a} :: ListStudioLifecycleConfigs) ((Maybe POSIX -> f (Maybe POSIX))
-> ListStudioLifecycleConfigs -> f ListStudioLifecycleConfigs)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> ListStudioLifecycleConfigs
-> f ListStudioLifecycleConfigs
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
listStudioLifecycleConfigs_modifiedTimeAfter :: Lens.Lens' ListStudioLifecycleConfigs (Prelude.Maybe Prelude.UTCTime)
listStudioLifecycleConfigs_modifiedTimeAfter :: (Maybe UTCTime -> f (Maybe UTCTime))
-> ListStudioLifecycleConfigs -> f ListStudioLifecycleConfigs
listStudioLifecycleConfigs_modifiedTimeAfter = (ListStudioLifecycleConfigs -> Maybe POSIX)
-> (ListStudioLifecycleConfigs
-> Maybe POSIX -> ListStudioLifecycleConfigs)
-> Lens
ListStudioLifecycleConfigs
ListStudioLifecycleConfigs
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStudioLifecycleConfigs' {Maybe POSIX
modifiedTimeAfter :: Maybe POSIX
$sel:modifiedTimeAfter:ListStudioLifecycleConfigs' :: ListStudioLifecycleConfigs -> Maybe POSIX
modifiedTimeAfter} -> Maybe POSIX
modifiedTimeAfter) (\s :: ListStudioLifecycleConfigs
s@ListStudioLifecycleConfigs' {} Maybe POSIX
a -> ListStudioLifecycleConfigs
s {$sel:modifiedTimeAfter:ListStudioLifecycleConfigs' :: Maybe POSIX
modifiedTimeAfter = Maybe POSIX
a} :: ListStudioLifecycleConfigs) ((Maybe POSIX -> f (Maybe POSIX))
-> ListStudioLifecycleConfigs -> f ListStudioLifecycleConfigs)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> ListStudioLifecycleConfigs
-> f ListStudioLifecycleConfigs
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
listStudioLifecycleConfigs_nextToken :: Lens.Lens' ListStudioLifecycleConfigs (Prelude.Maybe Prelude.Text)
listStudioLifecycleConfigs_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListStudioLifecycleConfigs -> f ListStudioLifecycleConfigs
listStudioLifecycleConfigs_nextToken = (ListStudioLifecycleConfigs -> Maybe Text)
-> (ListStudioLifecycleConfigs
-> Maybe Text -> ListStudioLifecycleConfigs)
-> Lens
ListStudioLifecycleConfigs
ListStudioLifecycleConfigs
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStudioLifecycleConfigs' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListStudioLifecycleConfigs' :: ListStudioLifecycleConfigs -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListStudioLifecycleConfigs
s@ListStudioLifecycleConfigs' {} Maybe Text
a -> ListStudioLifecycleConfigs
s {$sel:nextToken:ListStudioLifecycleConfigs' :: Maybe Text
nextToken = Maybe Text
a} :: ListStudioLifecycleConfigs)
listStudioLifecycleConfigs_sortOrder :: Lens.Lens' ListStudioLifecycleConfigs (Prelude.Maybe SortOrder)
listStudioLifecycleConfigs_sortOrder :: (Maybe SortOrder -> f (Maybe SortOrder))
-> ListStudioLifecycleConfigs -> f ListStudioLifecycleConfigs
listStudioLifecycleConfigs_sortOrder = (ListStudioLifecycleConfigs -> Maybe SortOrder)
-> (ListStudioLifecycleConfigs
-> Maybe SortOrder -> ListStudioLifecycleConfigs)
-> Lens
ListStudioLifecycleConfigs
ListStudioLifecycleConfigs
(Maybe SortOrder)
(Maybe SortOrder)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStudioLifecycleConfigs' {Maybe SortOrder
sortOrder :: Maybe SortOrder
$sel:sortOrder:ListStudioLifecycleConfigs' :: ListStudioLifecycleConfigs -> Maybe SortOrder
sortOrder} -> Maybe SortOrder
sortOrder) (\s :: ListStudioLifecycleConfigs
s@ListStudioLifecycleConfigs' {} Maybe SortOrder
a -> ListStudioLifecycleConfigs
s {$sel:sortOrder:ListStudioLifecycleConfigs' :: Maybe SortOrder
sortOrder = Maybe SortOrder
a} :: ListStudioLifecycleConfigs)
listStudioLifecycleConfigs_creationTimeBefore :: Lens.Lens' ListStudioLifecycleConfigs (Prelude.Maybe Prelude.UTCTime)
listStudioLifecycleConfigs_creationTimeBefore :: (Maybe UTCTime -> f (Maybe UTCTime))
-> ListStudioLifecycleConfigs -> f ListStudioLifecycleConfigs
listStudioLifecycleConfigs_creationTimeBefore = (ListStudioLifecycleConfigs -> Maybe POSIX)
-> (ListStudioLifecycleConfigs
-> Maybe POSIX -> ListStudioLifecycleConfigs)
-> Lens
ListStudioLifecycleConfigs
ListStudioLifecycleConfigs
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStudioLifecycleConfigs' {Maybe POSIX
creationTimeBefore :: Maybe POSIX
$sel:creationTimeBefore:ListStudioLifecycleConfigs' :: ListStudioLifecycleConfigs -> Maybe POSIX
creationTimeBefore} -> Maybe POSIX
creationTimeBefore) (\s :: ListStudioLifecycleConfigs
s@ListStudioLifecycleConfigs' {} Maybe POSIX
a -> ListStudioLifecycleConfigs
s {$sel:creationTimeBefore:ListStudioLifecycleConfigs' :: Maybe POSIX
creationTimeBefore = Maybe POSIX
a} :: ListStudioLifecycleConfigs) ((Maybe POSIX -> f (Maybe POSIX))
-> ListStudioLifecycleConfigs -> f ListStudioLifecycleConfigs)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> ListStudioLifecycleConfigs
-> f ListStudioLifecycleConfigs
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
listStudioLifecycleConfigs_modifiedTimeBefore :: Lens.Lens' ListStudioLifecycleConfigs (Prelude.Maybe Prelude.UTCTime)
listStudioLifecycleConfigs_modifiedTimeBefore :: (Maybe UTCTime -> f (Maybe UTCTime))
-> ListStudioLifecycleConfigs -> f ListStudioLifecycleConfigs
listStudioLifecycleConfigs_modifiedTimeBefore = (ListStudioLifecycleConfigs -> Maybe POSIX)
-> (ListStudioLifecycleConfigs
-> Maybe POSIX -> ListStudioLifecycleConfigs)
-> Lens
ListStudioLifecycleConfigs
ListStudioLifecycleConfigs
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStudioLifecycleConfigs' {Maybe POSIX
modifiedTimeBefore :: Maybe POSIX
$sel:modifiedTimeBefore:ListStudioLifecycleConfigs' :: ListStudioLifecycleConfigs -> Maybe POSIX
modifiedTimeBefore} -> Maybe POSIX
modifiedTimeBefore) (\s :: ListStudioLifecycleConfigs
s@ListStudioLifecycleConfigs' {} Maybe POSIX
a -> ListStudioLifecycleConfigs
s {$sel:modifiedTimeBefore:ListStudioLifecycleConfigs' :: Maybe POSIX
modifiedTimeBefore = Maybe POSIX
a} :: ListStudioLifecycleConfigs) ((Maybe POSIX -> f (Maybe POSIX))
-> ListStudioLifecycleConfigs -> f ListStudioLifecycleConfigs)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> ListStudioLifecycleConfigs
-> f ListStudioLifecycleConfigs
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
listStudioLifecycleConfigs_appTypeEquals :: Lens.Lens' ListStudioLifecycleConfigs (Prelude.Maybe StudioLifecycleConfigAppType)
listStudioLifecycleConfigs_appTypeEquals :: (Maybe StudioLifecycleConfigAppType
-> f (Maybe StudioLifecycleConfigAppType))
-> ListStudioLifecycleConfigs -> f ListStudioLifecycleConfigs
listStudioLifecycleConfigs_appTypeEquals = (ListStudioLifecycleConfigs -> Maybe StudioLifecycleConfigAppType)
-> (ListStudioLifecycleConfigs
-> Maybe StudioLifecycleConfigAppType
-> ListStudioLifecycleConfigs)
-> Lens
ListStudioLifecycleConfigs
ListStudioLifecycleConfigs
(Maybe StudioLifecycleConfigAppType)
(Maybe StudioLifecycleConfigAppType)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStudioLifecycleConfigs' {Maybe StudioLifecycleConfigAppType
appTypeEquals :: Maybe StudioLifecycleConfigAppType
$sel:appTypeEquals:ListStudioLifecycleConfigs' :: ListStudioLifecycleConfigs -> Maybe StudioLifecycleConfigAppType
appTypeEquals} -> Maybe StudioLifecycleConfigAppType
appTypeEquals) (\s :: ListStudioLifecycleConfigs
s@ListStudioLifecycleConfigs' {} Maybe StudioLifecycleConfigAppType
a -> ListStudioLifecycleConfigs
s {$sel:appTypeEquals:ListStudioLifecycleConfigs' :: Maybe StudioLifecycleConfigAppType
appTypeEquals = Maybe StudioLifecycleConfigAppType
a} :: ListStudioLifecycleConfigs)
listStudioLifecycleConfigs_maxResults :: Lens.Lens' ListStudioLifecycleConfigs (Prelude.Maybe Prelude.Natural)
listStudioLifecycleConfigs_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListStudioLifecycleConfigs -> f ListStudioLifecycleConfigs
listStudioLifecycleConfigs_maxResults = (ListStudioLifecycleConfigs -> Maybe Natural)
-> (ListStudioLifecycleConfigs
-> Maybe Natural -> ListStudioLifecycleConfigs)
-> Lens
ListStudioLifecycleConfigs
ListStudioLifecycleConfigs
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStudioLifecycleConfigs' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListStudioLifecycleConfigs' :: ListStudioLifecycleConfigs -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListStudioLifecycleConfigs
s@ListStudioLifecycleConfigs' {} Maybe Natural
a -> ListStudioLifecycleConfigs
s {$sel:maxResults:ListStudioLifecycleConfigs' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListStudioLifecycleConfigs)
listStudioLifecycleConfigs_sortBy :: Lens.Lens' ListStudioLifecycleConfigs (Prelude.Maybe StudioLifecycleConfigSortKey)
listStudioLifecycleConfigs_sortBy :: (Maybe StudioLifecycleConfigSortKey
-> f (Maybe StudioLifecycleConfigSortKey))
-> ListStudioLifecycleConfigs -> f ListStudioLifecycleConfigs
listStudioLifecycleConfigs_sortBy = (ListStudioLifecycleConfigs -> Maybe StudioLifecycleConfigSortKey)
-> (ListStudioLifecycleConfigs
-> Maybe StudioLifecycleConfigSortKey
-> ListStudioLifecycleConfigs)
-> Lens
ListStudioLifecycleConfigs
ListStudioLifecycleConfigs
(Maybe StudioLifecycleConfigSortKey)
(Maybe StudioLifecycleConfigSortKey)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStudioLifecycleConfigs' {Maybe StudioLifecycleConfigSortKey
sortBy :: Maybe StudioLifecycleConfigSortKey
$sel:sortBy:ListStudioLifecycleConfigs' :: ListStudioLifecycleConfigs -> Maybe StudioLifecycleConfigSortKey
sortBy} -> Maybe StudioLifecycleConfigSortKey
sortBy) (\s :: ListStudioLifecycleConfigs
s@ListStudioLifecycleConfigs' {} Maybe StudioLifecycleConfigSortKey
a -> ListStudioLifecycleConfigs
s {$sel:sortBy:ListStudioLifecycleConfigs' :: Maybe StudioLifecycleConfigSortKey
sortBy = Maybe StudioLifecycleConfigSortKey
a} :: ListStudioLifecycleConfigs)
instance Core.AWSPager ListStudioLifecycleConfigs where
page :: ListStudioLifecycleConfigs
-> AWSResponse ListStudioLifecycleConfigs
-> Maybe ListStudioLifecycleConfigs
page ListStudioLifecycleConfigs
rq AWSResponse ListStudioLifecycleConfigs
rs
| Maybe Text -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListStudioLifecycleConfigs
ListStudioLifecycleConfigsResponse
rs
ListStudioLifecycleConfigsResponse
-> Getting (First Text) ListStudioLifecycleConfigsResponse Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> ListStudioLifecycleConfigsResponse
-> Const (First Text) ListStudioLifecycleConfigsResponse
Lens' ListStudioLifecycleConfigsResponse (Maybe Text)
listStudioLifecycleConfigsResponse_nextToken
((Maybe Text -> Const (First Text) (Maybe Text))
-> ListStudioLifecycleConfigsResponse
-> Const (First Text) ListStudioLifecycleConfigsResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting (First Text) ListStudioLifecycleConfigsResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe ListStudioLifecycleConfigs
forall a. Maybe a
Prelude.Nothing
| Maybe [StudioLifecycleConfigDetails] -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListStudioLifecycleConfigs
ListStudioLifecycleConfigsResponse
rs
ListStudioLifecycleConfigsResponse
-> Getting
(First [StudioLifecycleConfigDetails])
ListStudioLifecycleConfigsResponse
[StudioLifecycleConfigDetails]
-> Maybe [StudioLifecycleConfigDetails]
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe [StudioLifecycleConfigDetails]
-> Const
(First [StudioLifecycleConfigDetails])
(Maybe [StudioLifecycleConfigDetails]))
-> ListStudioLifecycleConfigsResponse
-> Const
(First [StudioLifecycleConfigDetails])
ListStudioLifecycleConfigsResponse
Lens'
ListStudioLifecycleConfigsResponse
(Maybe [StudioLifecycleConfigDetails])
listStudioLifecycleConfigsResponse_studioLifecycleConfigs
((Maybe [StudioLifecycleConfigDetails]
-> Const
(First [StudioLifecycleConfigDetails])
(Maybe [StudioLifecycleConfigDetails]))
-> ListStudioLifecycleConfigsResponse
-> Const
(First [StudioLifecycleConfigDetails])
ListStudioLifecycleConfigsResponse)
-> (([StudioLifecycleConfigDetails]
-> Const
(First [StudioLifecycleConfigDetails])
[StudioLifecycleConfigDetails])
-> Maybe [StudioLifecycleConfigDetails]
-> Const
(First [StudioLifecycleConfigDetails])
(Maybe [StudioLifecycleConfigDetails]))
-> Getting
(First [StudioLifecycleConfigDetails])
ListStudioLifecycleConfigsResponse
[StudioLifecycleConfigDetails]
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([StudioLifecycleConfigDetails]
-> Const
(First [StudioLifecycleConfigDetails])
[StudioLifecycleConfigDetails])
-> Maybe [StudioLifecycleConfigDetails]
-> Const
(First [StudioLifecycleConfigDetails])
(Maybe [StudioLifecycleConfigDetails])
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe ListStudioLifecycleConfigs
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
ListStudioLifecycleConfigs -> Maybe ListStudioLifecycleConfigs
forall a. a -> Maybe a
Prelude.Just (ListStudioLifecycleConfigs -> Maybe ListStudioLifecycleConfigs)
-> ListStudioLifecycleConfigs -> Maybe ListStudioLifecycleConfigs
forall a b. (a -> b) -> a -> b
Prelude.$
ListStudioLifecycleConfigs
rq
ListStudioLifecycleConfigs
-> (ListStudioLifecycleConfigs -> ListStudioLifecycleConfigs)
-> ListStudioLifecycleConfigs
forall a b. a -> (a -> b) -> b
Prelude.& (Maybe Text -> Identity (Maybe Text))
-> ListStudioLifecycleConfigs
-> Identity ListStudioLifecycleConfigs
Lens
ListStudioLifecycleConfigs
ListStudioLifecycleConfigs
(Maybe Text)
(Maybe Text)
listStudioLifecycleConfigs_nextToken
((Maybe Text -> Identity (Maybe Text))
-> ListStudioLifecycleConfigs
-> Identity ListStudioLifecycleConfigs)
-> Maybe Text
-> ListStudioLifecycleConfigs
-> ListStudioLifecycleConfigs
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListStudioLifecycleConfigs
ListStudioLifecycleConfigsResponse
rs
ListStudioLifecycleConfigsResponse
-> Getting (First Text) ListStudioLifecycleConfigsResponse Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> ListStudioLifecycleConfigsResponse
-> Const (First Text) ListStudioLifecycleConfigsResponse
Lens' ListStudioLifecycleConfigsResponse (Maybe Text)
listStudioLifecycleConfigsResponse_nextToken
((Maybe Text -> Const (First Text) (Maybe Text))
-> ListStudioLifecycleConfigsResponse
-> Const (First Text) ListStudioLifecycleConfigsResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting (First Text) ListStudioLifecycleConfigsResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance Core.AWSRequest ListStudioLifecycleConfigs where
type
AWSResponse ListStudioLifecycleConfigs =
ListStudioLifecycleConfigsResponse
request :: ListStudioLifecycleConfigs -> Request ListStudioLifecycleConfigs
request = Service
-> ListStudioLifecycleConfigs -> Request ListStudioLifecycleConfigs
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy ListStudioLifecycleConfigs
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListStudioLifecycleConfigs)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListStudioLifecycleConfigs))
-> Logger
-> Service
-> Proxy ListStudioLifecycleConfigs
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListStudioLifecycleConfigs)))
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
-> Maybe [StudioLifecycleConfigDetails]
-> Int
-> ListStudioLifecycleConfigsResponse
ListStudioLifecycleConfigsResponse'
(Maybe Text
-> Maybe [StudioLifecycleConfigDetails]
-> Int
-> ListStudioLifecycleConfigsResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe [StudioLifecycleConfigDetails]
-> Int -> ListStudioLifecycleConfigsResponse)
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
"NextToken")
Either
String
(Maybe [StudioLifecycleConfigDetails]
-> Int -> ListStudioLifecycleConfigsResponse)
-> Either String (Maybe [StudioLifecycleConfigDetails])
-> Either String (Int -> ListStudioLifecycleConfigsResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text
-> Either String (Maybe (Maybe [StudioLifecycleConfigDetails]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"StudioLifecycleConfigs"
Either String (Maybe (Maybe [StudioLifecycleConfigDetails]))
-> Maybe [StudioLifecycleConfigDetails]
-> Either String (Maybe [StudioLifecycleConfigDetails])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [StudioLifecycleConfigDetails]
forall a. Monoid a => a
Prelude.mempty
)
Either String (Int -> ListStudioLifecycleConfigsResponse)
-> Either String Int
-> Either String ListStudioLifecycleConfigsResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable ListStudioLifecycleConfigs
instance Prelude.NFData ListStudioLifecycleConfigs
instance Core.ToHeaders ListStudioLifecycleConfigs where
toHeaders :: ListStudioLifecycleConfigs -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListStudioLifecycleConfigs -> 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.ListStudioLifecycleConfigs" ::
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 ListStudioLifecycleConfigs where
toJSON :: ListStudioLifecycleConfigs -> Value
toJSON ListStudioLifecycleConfigs' {Maybe Natural
Maybe Text
Maybe POSIX
Maybe SortOrder
Maybe StudioLifecycleConfigAppType
Maybe StudioLifecycleConfigSortKey
sortBy :: Maybe StudioLifecycleConfigSortKey
maxResults :: Maybe Natural
appTypeEquals :: Maybe StudioLifecycleConfigAppType
modifiedTimeBefore :: Maybe POSIX
creationTimeBefore :: Maybe POSIX
sortOrder :: Maybe SortOrder
nextToken :: Maybe Text
modifiedTimeAfter :: Maybe POSIX
creationTimeAfter :: Maybe POSIX
nameContains :: Maybe Text
$sel:sortBy:ListStudioLifecycleConfigs' :: ListStudioLifecycleConfigs -> Maybe StudioLifecycleConfigSortKey
$sel:maxResults:ListStudioLifecycleConfigs' :: ListStudioLifecycleConfigs -> Maybe Natural
$sel:appTypeEquals:ListStudioLifecycleConfigs' :: ListStudioLifecycleConfigs -> Maybe StudioLifecycleConfigAppType
$sel:modifiedTimeBefore:ListStudioLifecycleConfigs' :: ListStudioLifecycleConfigs -> Maybe POSIX
$sel:creationTimeBefore:ListStudioLifecycleConfigs' :: ListStudioLifecycleConfigs -> Maybe POSIX
$sel:sortOrder:ListStudioLifecycleConfigs' :: ListStudioLifecycleConfigs -> Maybe SortOrder
$sel:nextToken:ListStudioLifecycleConfigs' :: ListStudioLifecycleConfigs -> Maybe Text
$sel:modifiedTimeAfter:ListStudioLifecycleConfigs' :: ListStudioLifecycleConfigs -> Maybe POSIX
$sel:creationTimeAfter:ListStudioLifecycleConfigs' :: ListStudioLifecycleConfigs -> Maybe POSIX
$sel:nameContains:ListStudioLifecycleConfigs' :: ListStudioLifecycleConfigs -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"NameContains" 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
nameContains,
(Text
"CreationTimeAfter" Text -> POSIX -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(POSIX -> Pair) -> Maybe POSIX -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe POSIX
creationTimeAfter,
(Text
"ModifiedTimeAfter" Text -> POSIX -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(POSIX -> Pair) -> Maybe POSIX -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe POSIX
modifiedTimeAfter,
(Text
"NextToken" 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
nextToken,
(Text
"SortOrder" Text -> SortOrder -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (SortOrder -> Pair) -> Maybe SortOrder -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SortOrder
sortOrder,
(Text
"CreationTimeBefore" Text -> POSIX -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(POSIX -> Pair) -> Maybe POSIX -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe POSIX
creationTimeBefore,
(Text
"ModifiedTimeBefore" Text -> POSIX -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(POSIX -> Pair) -> Maybe POSIX -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe POSIX
modifiedTimeBefore,
(Text
"AppTypeEquals" Text -> StudioLifecycleConfigAppType -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (StudioLifecycleConfigAppType -> Pair)
-> Maybe StudioLifecycleConfigAppType -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe StudioLifecycleConfigAppType
appTypeEquals,
(Text
"MaxResults" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
maxResults,
(Text
"SortBy" Text -> StudioLifecycleConfigSortKey -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (StudioLifecycleConfigSortKey -> Pair)
-> Maybe StudioLifecycleConfigSortKey -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe StudioLifecycleConfigSortKey
sortBy
]
)
instance Core.ToPath ListStudioLifecycleConfigs where
toPath :: ListStudioLifecycleConfigs -> ByteString
toPath = ByteString -> ListStudioLifecycleConfigs -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery ListStudioLifecycleConfigs where
toQuery :: ListStudioLifecycleConfigs -> QueryString
toQuery = QueryString -> ListStudioLifecycleConfigs -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data ListStudioLifecycleConfigsResponse = ListStudioLifecycleConfigsResponse'
{
ListStudioLifecycleConfigsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListStudioLifecycleConfigsResponse
-> Maybe [StudioLifecycleConfigDetails]
studioLifecycleConfigs :: Prelude.Maybe [StudioLifecycleConfigDetails],
ListStudioLifecycleConfigsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListStudioLifecycleConfigsResponse
-> ListStudioLifecycleConfigsResponse -> Bool
(ListStudioLifecycleConfigsResponse
-> ListStudioLifecycleConfigsResponse -> Bool)
-> (ListStudioLifecycleConfigsResponse
-> ListStudioLifecycleConfigsResponse -> Bool)
-> Eq ListStudioLifecycleConfigsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListStudioLifecycleConfigsResponse
-> ListStudioLifecycleConfigsResponse -> Bool
$c/= :: ListStudioLifecycleConfigsResponse
-> ListStudioLifecycleConfigsResponse -> Bool
== :: ListStudioLifecycleConfigsResponse
-> ListStudioLifecycleConfigsResponse -> Bool
$c== :: ListStudioLifecycleConfigsResponse
-> ListStudioLifecycleConfigsResponse -> Bool
Prelude.Eq, ReadPrec [ListStudioLifecycleConfigsResponse]
ReadPrec ListStudioLifecycleConfigsResponse
Int -> ReadS ListStudioLifecycleConfigsResponse
ReadS [ListStudioLifecycleConfigsResponse]
(Int -> ReadS ListStudioLifecycleConfigsResponse)
-> ReadS [ListStudioLifecycleConfigsResponse]
-> ReadPrec ListStudioLifecycleConfigsResponse
-> ReadPrec [ListStudioLifecycleConfigsResponse]
-> Read ListStudioLifecycleConfigsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListStudioLifecycleConfigsResponse]
$creadListPrec :: ReadPrec [ListStudioLifecycleConfigsResponse]
readPrec :: ReadPrec ListStudioLifecycleConfigsResponse
$creadPrec :: ReadPrec ListStudioLifecycleConfigsResponse
readList :: ReadS [ListStudioLifecycleConfigsResponse]
$creadList :: ReadS [ListStudioLifecycleConfigsResponse]
readsPrec :: Int -> ReadS ListStudioLifecycleConfigsResponse
$creadsPrec :: Int -> ReadS ListStudioLifecycleConfigsResponse
Prelude.Read, Int -> ListStudioLifecycleConfigsResponse -> ShowS
[ListStudioLifecycleConfigsResponse] -> ShowS
ListStudioLifecycleConfigsResponse -> String
(Int -> ListStudioLifecycleConfigsResponse -> ShowS)
-> (ListStudioLifecycleConfigsResponse -> String)
-> ([ListStudioLifecycleConfigsResponse] -> ShowS)
-> Show ListStudioLifecycleConfigsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListStudioLifecycleConfigsResponse] -> ShowS
$cshowList :: [ListStudioLifecycleConfigsResponse] -> ShowS
show :: ListStudioLifecycleConfigsResponse -> String
$cshow :: ListStudioLifecycleConfigsResponse -> String
showsPrec :: Int -> ListStudioLifecycleConfigsResponse -> ShowS
$cshowsPrec :: Int -> ListStudioLifecycleConfigsResponse -> ShowS
Prelude.Show, (forall x.
ListStudioLifecycleConfigsResponse
-> Rep ListStudioLifecycleConfigsResponse x)
-> (forall x.
Rep ListStudioLifecycleConfigsResponse x
-> ListStudioLifecycleConfigsResponse)
-> Generic ListStudioLifecycleConfigsResponse
forall x.
Rep ListStudioLifecycleConfigsResponse x
-> ListStudioLifecycleConfigsResponse
forall x.
ListStudioLifecycleConfigsResponse
-> Rep ListStudioLifecycleConfigsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListStudioLifecycleConfigsResponse x
-> ListStudioLifecycleConfigsResponse
$cfrom :: forall x.
ListStudioLifecycleConfigsResponse
-> Rep ListStudioLifecycleConfigsResponse x
Prelude.Generic)
newListStudioLifecycleConfigsResponse ::
Prelude.Int ->
ListStudioLifecycleConfigsResponse
newListStudioLifecycleConfigsResponse :: Int -> ListStudioLifecycleConfigsResponse
newListStudioLifecycleConfigsResponse Int
pHttpStatus_ =
ListStudioLifecycleConfigsResponse' :: Maybe Text
-> Maybe [StudioLifecycleConfigDetails]
-> Int
-> ListStudioLifecycleConfigsResponse
ListStudioLifecycleConfigsResponse'
{ $sel:nextToken:ListStudioLifecycleConfigsResponse' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:studioLifecycleConfigs:ListStudioLifecycleConfigsResponse' :: Maybe [StudioLifecycleConfigDetails]
studioLifecycleConfigs =
Maybe [StudioLifecycleConfigDetails]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListStudioLifecycleConfigsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listStudioLifecycleConfigsResponse_nextToken :: Lens.Lens' ListStudioLifecycleConfigsResponse (Prelude.Maybe Prelude.Text)
listStudioLifecycleConfigsResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListStudioLifecycleConfigsResponse
-> f ListStudioLifecycleConfigsResponse
listStudioLifecycleConfigsResponse_nextToken = (ListStudioLifecycleConfigsResponse -> Maybe Text)
-> (ListStudioLifecycleConfigsResponse
-> Maybe Text -> ListStudioLifecycleConfigsResponse)
-> Lens' ListStudioLifecycleConfigsResponse (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStudioLifecycleConfigsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListStudioLifecycleConfigsResponse' :: ListStudioLifecycleConfigsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListStudioLifecycleConfigsResponse
s@ListStudioLifecycleConfigsResponse' {} Maybe Text
a -> ListStudioLifecycleConfigsResponse
s {$sel:nextToken:ListStudioLifecycleConfigsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListStudioLifecycleConfigsResponse)
listStudioLifecycleConfigsResponse_studioLifecycleConfigs :: Lens.Lens' ListStudioLifecycleConfigsResponse (Prelude.Maybe [StudioLifecycleConfigDetails])
listStudioLifecycleConfigsResponse_studioLifecycleConfigs :: (Maybe [StudioLifecycleConfigDetails]
-> f (Maybe [StudioLifecycleConfigDetails]))
-> ListStudioLifecycleConfigsResponse
-> f ListStudioLifecycleConfigsResponse
listStudioLifecycleConfigsResponse_studioLifecycleConfigs = (ListStudioLifecycleConfigsResponse
-> Maybe [StudioLifecycleConfigDetails])
-> (ListStudioLifecycleConfigsResponse
-> Maybe [StudioLifecycleConfigDetails]
-> ListStudioLifecycleConfigsResponse)
-> Lens'
ListStudioLifecycleConfigsResponse
(Maybe [StudioLifecycleConfigDetails])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStudioLifecycleConfigsResponse' {Maybe [StudioLifecycleConfigDetails]
studioLifecycleConfigs :: Maybe [StudioLifecycleConfigDetails]
$sel:studioLifecycleConfigs:ListStudioLifecycleConfigsResponse' :: ListStudioLifecycleConfigsResponse
-> Maybe [StudioLifecycleConfigDetails]
studioLifecycleConfigs} -> Maybe [StudioLifecycleConfigDetails]
studioLifecycleConfigs) (\s :: ListStudioLifecycleConfigsResponse
s@ListStudioLifecycleConfigsResponse' {} Maybe [StudioLifecycleConfigDetails]
a -> ListStudioLifecycleConfigsResponse
s {$sel:studioLifecycleConfigs:ListStudioLifecycleConfigsResponse' :: Maybe [StudioLifecycleConfigDetails]
studioLifecycleConfigs = Maybe [StudioLifecycleConfigDetails]
a} :: ListStudioLifecycleConfigsResponse) ((Maybe [StudioLifecycleConfigDetails]
-> f (Maybe [StudioLifecycleConfigDetails]))
-> ListStudioLifecycleConfigsResponse
-> f ListStudioLifecycleConfigsResponse)
-> ((Maybe [StudioLifecycleConfigDetails]
-> f (Maybe [StudioLifecycleConfigDetails]))
-> Maybe [StudioLifecycleConfigDetails]
-> f (Maybe [StudioLifecycleConfigDetails]))
-> (Maybe [StudioLifecycleConfigDetails]
-> f (Maybe [StudioLifecycleConfigDetails]))
-> ListStudioLifecycleConfigsResponse
-> f ListStudioLifecycleConfigsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[StudioLifecycleConfigDetails]
[StudioLifecycleConfigDetails]
[StudioLifecycleConfigDetails]
[StudioLifecycleConfigDetails]
-> Iso
(Maybe [StudioLifecycleConfigDetails])
(Maybe [StudioLifecycleConfigDetails])
(Maybe [StudioLifecycleConfigDetails])
(Maybe [StudioLifecycleConfigDetails])
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
[StudioLifecycleConfigDetails]
[StudioLifecycleConfigDetails]
[StudioLifecycleConfigDetails]
[StudioLifecycleConfigDetails]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listStudioLifecycleConfigsResponse_httpStatus :: Lens.Lens' ListStudioLifecycleConfigsResponse Prelude.Int
listStudioLifecycleConfigsResponse_httpStatus :: (Int -> f Int)
-> ListStudioLifecycleConfigsResponse
-> f ListStudioLifecycleConfigsResponse
listStudioLifecycleConfigsResponse_httpStatus = (ListStudioLifecycleConfigsResponse -> Int)
-> (ListStudioLifecycleConfigsResponse
-> Int -> ListStudioLifecycleConfigsResponse)
-> Lens
ListStudioLifecycleConfigsResponse
ListStudioLifecycleConfigsResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStudioLifecycleConfigsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListStudioLifecycleConfigsResponse' :: ListStudioLifecycleConfigsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListStudioLifecycleConfigsResponse
s@ListStudioLifecycleConfigsResponse' {} Int
a -> ListStudioLifecycleConfigsResponse
s {$sel:httpStatus:ListStudioLifecycleConfigsResponse' :: Int
httpStatus = Int
a} :: ListStudioLifecycleConfigsResponse)
instance
Prelude.NFData
ListStudioLifecycleConfigsResponse