{-# 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.Lambda.ListFunctionsByCodeSigningConfig
(
ListFunctionsByCodeSigningConfig (..),
newListFunctionsByCodeSigningConfig,
listFunctionsByCodeSigningConfig_marker,
listFunctionsByCodeSigningConfig_maxItems,
listFunctionsByCodeSigningConfig_codeSigningConfigArn,
ListFunctionsByCodeSigningConfigResponse (..),
newListFunctionsByCodeSigningConfigResponse,
listFunctionsByCodeSigningConfigResponse_functionArns,
listFunctionsByCodeSigningConfigResponse_nextMarker,
listFunctionsByCodeSigningConfigResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.Lambda.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 ListFunctionsByCodeSigningConfig = ListFunctionsByCodeSigningConfig'
{
ListFunctionsByCodeSigningConfig -> Maybe Text
marker :: Prelude.Maybe Prelude.Text,
ListFunctionsByCodeSigningConfig -> Maybe Natural
maxItems :: Prelude.Maybe Prelude.Natural,
ListFunctionsByCodeSigningConfig -> Text
codeSigningConfigArn :: Prelude.Text
}
deriving (ListFunctionsByCodeSigningConfig
-> ListFunctionsByCodeSigningConfig -> Bool
(ListFunctionsByCodeSigningConfig
-> ListFunctionsByCodeSigningConfig -> Bool)
-> (ListFunctionsByCodeSigningConfig
-> ListFunctionsByCodeSigningConfig -> Bool)
-> Eq ListFunctionsByCodeSigningConfig
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListFunctionsByCodeSigningConfig
-> ListFunctionsByCodeSigningConfig -> Bool
$c/= :: ListFunctionsByCodeSigningConfig
-> ListFunctionsByCodeSigningConfig -> Bool
== :: ListFunctionsByCodeSigningConfig
-> ListFunctionsByCodeSigningConfig -> Bool
$c== :: ListFunctionsByCodeSigningConfig
-> ListFunctionsByCodeSigningConfig -> Bool
Prelude.Eq, ReadPrec [ListFunctionsByCodeSigningConfig]
ReadPrec ListFunctionsByCodeSigningConfig
Int -> ReadS ListFunctionsByCodeSigningConfig
ReadS [ListFunctionsByCodeSigningConfig]
(Int -> ReadS ListFunctionsByCodeSigningConfig)
-> ReadS [ListFunctionsByCodeSigningConfig]
-> ReadPrec ListFunctionsByCodeSigningConfig
-> ReadPrec [ListFunctionsByCodeSigningConfig]
-> Read ListFunctionsByCodeSigningConfig
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListFunctionsByCodeSigningConfig]
$creadListPrec :: ReadPrec [ListFunctionsByCodeSigningConfig]
readPrec :: ReadPrec ListFunctionsByCodeSigningConfig
$creadPrec :: ReadPrec ListFunctionsByCodeSigningConfig
readList :: ReadS [ListFunctionsByCodeSigningConfig]
$creadList :: ReadS [ListFunctionsByCodeSigningConfig]
readsPrec :: Int -> ReadS ListFunctionsByCodeSigningConfig
$creadsPrec :: Int -> ReadS ListFunctionsByCodeSigningConfig
Prelude.Read, Int -> ListFunctionsByCodeSigningConfig -> ShowS
[ListFunctionsByCodeSigningConfig] -> ShowS
ListFunctionsByCodeSigningConfig -> String
(Int -> ListFunctionsByCodeSigningConfig -> ShowS)
-> (ListFunctionsByCodeSigningConfig -> String)
-> ([ListFunctionsByCodeSigningConfig] -> ShowS)
-> Show ListFunctionsByCodeSigningConfig
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListFunctionsByCodeSigningConfig] -> ShowS
$cshowList :: [ListFunctionsByCodeSigningConfig] -> ShowS
show :: ListFunctionsByCodeSigningConfig -> String
$cshow :: ListFunctionsByCodeSigningConfig -> String
showsPrec :: Int -> ListFunctionsByCodeSigningConfig -> ShowS
$cshowsPrec :: Int -> ListFunctionsByCodeSigningConfig -> ShowS
Prelude.Show, (forall x.
ListFunctionsByCodeSigningConfig
-> Rep ListFunctionsByCodeSigningConfig x)
-> (forall x.
Rep ListFunctionsByCodeSigningConfig x
-> ListFunctionsByCodeSigningConfig)
-> Generic ListFunctionsByCodeSigningConfig
forall x.
Rep ListFunctionsByCodeSigningConfig x
-> ListFunctionsByCodeSigningConfig
forall x.
ListFunctionsByCodeSigningConfig
-> Rep ListFunctionsByCodeSigningConfig x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListFunctionsByCodeSigningConfig x
-> ListFunctionsByCodeSigningConfig
$cfrom :: forall x.
ListFunctionsByCodeSigningConfig
-> Rep ListFunctionsByCodeSigningConfig x
Prelude.Generic)
newListFunctionsByCodeSigningConfig ::
Prelude.Text ->
ListFunctionsByCodeSigningConfig
newListFunctionsByCodeSigningConfig :: Text -> ListFunctionsByCodeSigningConfig
newListFunctionsByCodeSigningConfig
Text
pCodeSigningConfigArn_ =
ListFunctionsByCodeSigningConfig' :: Maybe Text
-> Maybe Natural -> Text -> ListFunctionsByCodeSigningConfig
ListFunctionsByCodeSigningConfig'
{ $sel:marker:ListFunctionsByCodeSigningConfig' :: Maybe Text
marker =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxItems:ListFunctionsByCodeSigningConfig' :: Maybe Natural
maxItems = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:codeSigningConfigArn:ListFunctionsByCodeSigningConfig' :: Text
codeSigningConfigArn =
Text
pCodeSigningConfigArn_
}
listFunctionsByCodeSigningConfig_marker :: Lens.Lens' ListFunctionsByCodeSigningConfig (Prelude.Maybe Prelude.Text)
listFunctionsByCodeSigningConfig_marker :: (Maybe Text -> f (Maybe Text))
-> ListFunctionsByCodeSigningConfig
-> f ListFunctionsByCodeSigningConfig
listFunctionsByCodeSigningConfig_marker = (ListFunctionsByCodeSigningConfig -> Maybe Text)
-> (ListFunctionsByCodeSigningConfig
-> Maybe Text -> ListFunctionsByCodeSigningConfig)
-> Lens
ListFunctionsByCodeSigningConfig
ListFunctionsByCodeSigningConfig
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFunctionsByCodeSigningConfig' {Maybe Text
marker :: Maybe Text
$sel:marker:ListFunctionsByCodeSigningConfig' :: ListFunctionsByCodeSigningConfig -> Maybe Text
marker} -> Maybe Text
marker) (\s :: ListFunctionsByCodeSigningConfig
s@ListFunctionsByCodeSigningConfig' {} Maybe Text
a -> ListFunctionsByCodeSigningConfig
s {$sel:marker:ListFunctionsByCodeSigningConfig' :: Maybe Text
marker = Maybe Text
a} :: ListFunctionsByCodeSigningConfig)
listFunctionsByCodeSigningConfig_maxItems :: Lens.Lens' ListFunctionsByCodeSigningConfig (Prelude.Maybe Prelude.Natural)
listFunctionsByCodeSigningConfig_maxItems :: (Maybe Natural -> f (Maybe Natural))
-> ListFunctionsByCodeSigningConfig
-> f ListFunctionsByCodeSigningConfig
listFunctionsByCodeSigningConfig_maxItems = (ListFunctionsByCodeSigningConfig -> Maybe Natural)
-> (ListFunctionsByCodeSigningConfig
-> Maybe Natural -> ListFunctionsByCodeSigningConfig)
-> Lens
ListFunctionsByCodeSigningConfig
ListFunctionsByCodeSigningConfig
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFunctionsByCodeSigningConfig' {Maybe Natural
maxItems :: Maybe Natural
$sel:maxItems:ListFunctionsByCodeSigningConfig' :: ListFunctionsByCodeSigningConfig -> Maybe Natural
maxItems} -> Maybe Natural
maxItems) (\s :: ListFunctionsByCodeSigningConfig
s@ListFunctionsByCodeSigningConfig' {} Maybe Natural
a -> ListFunctionsByCodeSigningConfig
s {$sel:maxItems:ListFunctionsByCodeSigningConfig' :: Maybe Natural
maxItems = Maybe Natural
a} :: ListFunctionsByCodeSigningConfig)
listFunctionsByCodeSigningConfig_codeSigningConfigArn :: Lens.Lens' ListFunctionsByCodeSigningConfig Prelude.Text
listFunctionsByCodeSigningConfig_codeSigningConfigArn :: (Text -> f Text)
-> ListFunctionsByCodeSigningConfig
-> f ListFunctionsByCodeSigningConfig
listFunctionsByCodeSigningConfig_codeSigningConfigArn = (ListFunctionsByCodeSigningConfig -> Text)
-> (ListFunctionsByCodeSigningConfig
-> Text -> ListFunctionsByCodeSigningConfig)
-> Lens
ListFunctionsByCodeSigningConfig
ListFunctionsByCodeSigningConfig
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFunctionsByCodeSigningConfig' {Text
codeSigningConfigArn :: Text
$sel:codeSigningConfigArn:ListFunctionsByCodeSigningConfig' :: ListFunctionsByCodeSigningConfig -> Text
codeSigningConfigArn} -> Text
codeSigningConfigArn) (\s :: ListFunctionsByCodeSigningConfig
s@ListFunctionsByCodeSigningConfig' {} Text
a -> ListFunctionsByCodeSigningConfig
s {$sel:codeSigningConfigArn:ListFunctionsByCodeSigningConfig' :: Text
codeSigningConfigArn = Text
a} :: ListFunctionsByCodeSigningConfig)
instance
Core.AWSPager
ListFunctionsByCodeSigningConfig
where
page :: ListFunctionsByCodeSigningConfig
-> AWSResponse ListFunctionsByCodeSigningConfig
-> Maybe ListFunctionsByCodeSigningConfig
page ListFunctionsByCodeSigningConfig
rq AWSResponse ListFunctionsByCodeSigningConfig
rs
| Maybe Text -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListFunctionsByCodeSigningConfig
ListFunctionsByCodeSigningConfigResponse
rs
ListFunctionsByCodeSigningConfigResponse
-> Getting
(First Text) ListFunctionsByCodeSigningConfigResponse Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> ListFunctionsByCodeSigningConfigResponse
-> Const (First Text) ListFunctionsByCodeSigningConfigResponse
Lens' ListFunctionsByCodeSigningConfigResponse (Maybe Text)
listFunctionsByCodeSigningConfigResponse_nextMarker
((Maybe Text -> Const (First Text) (Maybe Text))
-> ListFunctionsByCodeSigningConfigResponse
-> Const (First Text) ListFunctionsByCodeSigningConfigResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting
(First Text) ListFunctionsByCodeSigningConfigResponse 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 ListFunctionsByCodeSigningConfig
forall a. Maybe a
Prelude.Nothing
| Maybe [Text] -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListFunctionsByCodeSigningConfig
ListFunctionsByCodeSigningConfigResponse
rs
ListFunctionsByCodeSigningConfigResponse
-> Getting
(First [Text]) ListFunctionsByCodeSigningConfigResponse [Text]
-> Maybe [Text]
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe [Text] -> Const (First [Text]) (Maybe [Text]))
-> ListFunctionsByCodeSigningConfigResponse
-> Const (First [Text]) ListFunctionsByCodeSigningConfigResponse
Lens' ListFunctionsByCodeSigningConfigResponse (Maybe [Text])
listFunctionsByCodeSigningConfigResponse_functionArns
((Maybe [Text] -> Const (First [Text]) (Maybe [Text]))
-> ListFunctionsByCodeSigningConfigResponse
-> Const (First [Text]) ListFunctionsByCodeSigningConfigResponse)
-> (([Text] -> Const (First [Text]) [Text])
-> Maybe [Text] -> Const (First [Text]) (Maybe [Text]))
-> Getting
(First [Text]) ListFunctionsByCodeSigningConfigResponse [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 ListFunctionsByCodeSigningConfig
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
ListFunctionsByCodeSigningConfig
-> Maybe ListFunctionsByCodeSigningConfig
forall a. a -> Maybe a
Prelude.Just (ListFunctionsByCodeSigningConfig
-> Maybe ListFunctionsByCodeSigningConfig)
-> ListFunctionsByCodeSigningConfig
-> Maybe ListFunctionsByCodeSigningConfig
forall a b. (a -> b) -> a -> b
Prelude.$
ListFunctionsByCodeSigningConfig
rq
ListFunctionsByCodeSigningConfig
-> (ListFunctionsByCodeSigningConfig
-> ListFunctionsByCodeSigningConfig)
-> ListFunctionsByCodeSigningConfig
forall a b. a -> (a -> b) -> b
Prelude.& (Maybe Text -> Identity (Maybe Text))
-> ListFunctionsByCodeSigningConfig
-> Identity ListFunctionsByCodeSigningConfig
Lens
ListFunctionsByCodeSigningConfig
ListFunctionsByCodeSigningConfig
(Maybe Text)
(Maybe Text)
listFunctionsByCodeSigningConfig_marker
((Maybe Text -> Identity (Maybe Text))
-> ListFunctionsByCodeSigningConfig
-> Identity ListFunctionsByCodeSigningConfig)
-> Maybe Text
-> ListFunctionsByCodeSigningConfig
-> ListFunctionsByCodeSigningConfig
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListFunctionsByCodeSigningConfig
ListFunctionsByCodeSigningConfigResponse
rs
ListFunctionsByCodeSigningConfigResponse
-> Getting
(First Text) ListFunctionsByCodeSigningConfigResponse Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> ListFunctionsByCodeSigningConfigResponse
-> Const (First Text) ListFunctionsByCodeSigningConfigResponse
Lens' ListFunctionsByCodeSigningConfigResponse (Maybe Text)
listFunctionsByCodeSigningConfigResponse_nextMarker
((Maybe Text -> Const (First Text) (Maybe Text))
-> ListFunctionsByCodeSigningConfigResponse
-> Const (First Text) ListFunctionsByCodeSigningConfigResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting
(First Text) ListFunctionsByCodeSigningConfigResponse 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
ListFunctionsByCodeSigningConfig
where
type
AWSResponse ListFunctionsByCodeSigningConfig =
ListFunctionsByCodeSigningConfigResponse
request :: ListFunctionsByCodeSigningConfig
-> Request ListFunctionsByCodeSigningConfig
request = Service
-> ListFunctionsByCodeSigningConfig
-> Request ListFunctionsByCodeSigningConfig
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy ListFunctionsByCodeSigningConfig
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse ListFunctionsByCodeSigningConfig)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListFunctionsByCodeSigningConfig))
-> Logger
-> Service
-> Proxy ListFunctionsByCodeSigningConfig
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse ListFunctionsByCodeSigningConfig)))
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 Text -> Int -> ListFunctionsByCodeSigningConfigResponse
ListFunctionsByCodeSigningConfigResponse'
(Maybe [Text]
-> Maybe Text -> Int -> ListFunctionsByCodeSigningConfigResponse)
-> Either String (Maybe [Text])
-> Either
String
(Maybe Text -> Int -> ListFunctionsByCodeSigningConfigResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"FunctionArns" Either String (Maybe (Maybe [Text]))
-> Maybe [Text] -> Either String (Maybe [Text])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [Text]
forall a. Monoid a => a
Prelude.mempty)
Either
String
(Maybe Text -> Int -> ListFunctionsByCodeSigningConfigResponse)
-> Either String (Maybe Text)
-> Either String (Int -> ListFunctionsByCodeSigningConfigResponse)
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
"NextMarker")
Either String (Int -> ListFunctionsByCodeSigningConfigResponse)
-> Either String Int
-> Either String ListFunctionsByCodeSigningConfigResponse
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
ListFunctionsByCodeSigningConfig
instance
Prelude.NFData
ListFunctionsByCodeSigningConfig
instance
Core.ToHeaders
ListFunctionsByCodeSigningConfig
where
toHeaders :: ListFunctionsByCodeSigningConfig -> ResponseHeaders
toHeaders = ResponseHeaders
-> ListFunctionsByCodeSigningConfig -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance Core.ToPath ListFunctionsByCodeSigningConfig where
toPath :: ListFunctionsByCodeSigningConfig -> ByteString
toPath ListFunctionsByCodeSigningConfig' {Maybe Natural
Maybe Text
Text
codeSigningConfigArn :: Text
maxItems :: Maybe Natural
marker :: Maybe Text
$sel:codeSigningConfigArn:ListFunctionsByCodeSigningConfig' :: ListFunctionsByCodeSigningConfig -> Text
$sel:maxItems:ListFunctionsByCodeSigningConfig' :: ListFunctionsByCodeSigningConfig -> Maybe Natural
$sel:marker:ListFunctionsByCodeSigningConfig' :: ListFunctionsByCodeSigningConfig -> Maybe Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"/2020-04-22/code-signing-configs/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
codeSigningConfigArn,
ByteString
"/functions"
]
instance
Core.ToQuery
ListFunctionsByCodeSigningConfig
where
toQuery :: ListFunctionsByCodeSigningConfig -> QueryString
toQuery ListFunctionsByCodeSigningConfig' {Maybe Natural
Maybe Text
Text
codeSigningConfigArn :: Text
maxItems :: Maybe Natural
marker :: Maybe Text
$sel:codeSigningConfigArn:ListFunctionsByCodeSigningConfig' :: ListFunctionsByCodeSigningConfig -> Text
$sel:maxItems:ListFunctionsByCodeSigningConfig' :: ListFunctionsByCodeSigningConfig -> Maybe Natural
$sel:marker:ListFunctionsByCodeSigningConfig' :: ListFunctionsByCodeSigningConfig -> Maybe Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Marker" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
marker,
ByteString
"MaxItems" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
maxItems
]
data ListFunctionsByCodeSigningConfigResponse = ListFunctionsByCodeSigningConfigResponse'
{
ListFunctionsByCodeSigningConfigResponse -> Maybe [Text]
functionArns :: Prelude.Maybe [Prelude.Text],
ListFunctionsByCodeSigningConfigResponse -> Maybe Text
nextMarker :: Prelude.Maybe Prelude.Text,
ListFunctionsByCodeSigningConfigResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListFunctionsByCodeSigningConfigResponse
-> ListFunctionsByCodeSigningConfigResponse -> Bool
(ListFunctionsByCodeSigningConfigResponse
-> ListFunctionsByCodeSigningConfigResponse -> Bool)
-> (ListFunctionsByCodeSigningConfigResponse
-> ListFunctionsByCodeSigningConfigResponse -> Bool)
-> Eq ListFunctionsByCodeSigningConfigResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListFunctionsByCodeSigningConfigResponse
-> ListFunctionsByCodeSigningConfigResponse -> Bool
$c/= :: ListFunctionsByCodeSigningConfigResponse
-> ListFunctionsByCodeSigningConfigResponse -> Bool
== :: ListFunctionsByCodeSigningConfigResponse
-> ListFunctionsByCodeSigningConfigResponse -> Bool
$c== :: ListFunctionsByCodeSigningConfigResponse
-> ListFunctionsByCodeSigningConfigResponse -> Bool
Prelude.Eq, ReadPrec [ListFunctionsByCodeSigningConfigResponse]
ReadPrec ListFunctionsByCodeSigningConfigResponse
Int -> ReadS ListFunctionsByCodeSigningConfigResponse
ReadS [ListFunctionsByCodeSigningConfigResponse]
(Int -> ReadS ListFunctionsByCodeSigningConfigResponse)
-> ReadS [ListFunctionsByCodeSigningConfigResponse]
-> ReadPrec ListFunctionsByCodeSigningConfigResponse
-> ReadPrec [ListFunctionsByCodeSigningConfigResponse]
-> Read ListFunctionsByCodeSigningConfigResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListFunctionsByCodeSigningConfigResponse]
$creadListPrec :: ReadPrec [ListFunctionsByCodeSigningConfigResponse]
readPrec :: ReadPrec ListFunctionsByCodeSigningConfigResponse
$creadPrec :: ReadPrec ListFunctionsByCodeSigningConfigResponse
readList :: ReadS [ListFunctionsByCodeSigningConfigResponse]
$creadList :: ReadS [ListFunctionsByCodeSigningConfigResponse]
readsPrec :: Int -> ReadS ListFunctionsByCodeSigningConfigResponse
$creadsPrec :: Int -> ReadS ListFunctionsByCodeSigningConfigResponse
Prelude.Read, Int -> ListFunctionsByCodeSigningConfigResponse -> ShowS
[ListFunctionsByCodeSigningConfigResponse] -> ShowS
ListFunctionsByCodeSigningConfigResponse -> String
(Int -> ListFunctionsByCodeSigningConfigResponse -> ShowS)
-> (ListFunctionsByCodeSigningConfigResponse -> String)
-> ([ListFunctionsByCodeSigningConfigResponse] -> ShowS)
-> Show ListFunctionsByCodeSigningConfigResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListFunctionsByCodeSigningConfigResponse] -> ShowS
$cshowList :: [ListFunctionsByCodeSigningConfigResponse] -> ShowS
show :: ListFunctionsByCodeSigningConfigResponse -> String
$cshow :: ListFunctionsByCodeSigningConfigResponse -> String
showsPrec :: Int -> ListFunctionsByCodeSigningConfigResponse -> ShowS
$cshowsPrec :: Int -> ListFunctionsByCodeSigningConfigResponse -> ShowS
Prelude.Show, (forall x.
ListFunctionsByCodeSigningConfigResponse
-> Rep ListFunctionsByCodeSigningConfigResponse x)
-> (forall x.
Rep ListFunctionsByCodeSigningConfigResponse x
-> ListFunctionsByCodeSigningConfigResponse)
-> Generic ListFunctionsByCodeSigningConfigResponse
forall x.
Rep ListFunctionsByCodeSigningConfigResponse x
-> ListFunctionsByCodeSigningConfigResponse
forall x.
ListFunctionsByCodeSigningConfigResponse
-> Rep ListFunctionsByCodeSigningConfigResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListFunctionsByCodeSigningConfigResponse x
-> ListFunctionsByCodeSigningConfigResponse
$cfrom :: forall x.
ListFunctionsByCodeSigningConfigResponse
-> Rep ListFunctionsByCodeSigningConfigResponse x
Prelude.Generic)
newListFunctionsByCodeSigningConfigResponse ::
Prelude.Int ->
ListFunctionsByCodeSigningConfigResponse
newListFunctionsByCodeSigningConfigResponse :: Int -> ListFunctionsByCodeSigningConfigResponse
newListFunctionsByCodeSigningConfigResponse
Int
pHttpStatus_ =
ListFunctionsByCodeSigningConfigResponse' :: Maybe [Text]
-> Maybe Text -> Int -> ListFunctionsByCodeSigningConfigResponse
ListFunctionsByCodeSigningConfigResponse'
{ $sel:functionArns:ListFunctionsByCodeSigningConfigResponse' :: Maybe [Text]
functionArns =
Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:nextMarker:ListFunctionsByCodeSigningConfigResponse' :: Maybe Text
nextMarker = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListFunctionsByCodeSigningConfigResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listFunctionsByCodeSigningConfigResponse_functionArns :: Lens.Lens' ListFunctionsByCodeSigningConfigResponse (Prelude.Maybe [Prelude.Text])
listFunctionsByCodeSigningConfigResponse_functionArns :: (Maybe [Text] -> f (Maybe [Text]))
-> ListFunctionsByCodeSigningConfigResponse
-> f ListFunctionsByCodeSigningConfigResponse
listFunctionsByCodeSigningConfigResponse_functionArns = (ListFunctionsByCodeSigningConfigResponse -> Maybe [Text])
-> (ListFunctionsByCodeSigningConfigResponse
-> Maybe [Text] -> ListFunctionsByCodeSigningConfigResponse)
-> Lens' ListFunctionsByCodeSigningConfigResponse (Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFunctionsByCodeSigningConfigResponse' {Maybe [Text]
functionArns :: Maybe [Text]
$sel:functionArns:ListFunctionsByCodeSigningConfigResponse' :: ListFunctionsByCodeSigningConfigResponse -> Maybe [Text]
functionArns} -> Maybe [Text]
functionArns) (\s :: ListFunctionsByCodeSigningConfigResponse
s@ListFunctionsByCodeSigningConfigResponse' {} Maybe [Text]
a -> ListFunctionsByCodeSigningConfigResponse
s {$sel:functionArns:ListFunctionsByCodeSigningConfigResponse' :: Maybe [Text]
functionArns = Maybe [Text]
a} :: ListFunctionsByCodeSigningConfigResponse) ((Maybe [Text] -> f (Maybe [Text]))
-> ListFunctionsByCodeSigningConfigResponse
-> f ListFunctionsByCodeSigningConfigResponse)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> ListFunctionsByCodeSigningConfigResponse
-> f ListFunctionsByCodeSigningConfigResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [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 [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listFunctionsByCodeSigningConfigResponse_nextMarker :: Lens.Lens' ListFunctionsByCodeSigningConfigResponse (Prelude.Maybe Prelude.Text)
listFunctionsByCodeSigningConfigResponse_nextMarker :: (Maybe Text -> f (Maybe Text))
-> ListFunctionsByCodeSigningConfigResponse
-> f ListFunctionsByCodeSigningConfigResponse
listFunctionsByCodeSigningConfigResponse_nextMarker = (ListFunctionsByCodeSigningConfigResponse -> Maybe Text)
-> (ListFunctionsByCodeSigningConfigResponse
-> Maybe Text -> ListFunctionsByCodeSigningConfigResponse)
-> Lens' ListFunctionsByCodeSigningConfigResponse (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFunctionsByCodeSigningConfigResponse' {Maybe Text
nextMarker :: Maybe Text
$sel:nextMarker:ListFunctionsByCodeSigningConfigResponse' :: ListFunctionsByCodeSigningConfigResponse -> Maybe Text
nextMarker} -> Maybe Text
nextMarker) (\s :: ListFunctionsByCodeSigningConfigResponse
s@ListFunctionsByCodeSigningConfigResponse' {} Maybe Text
a -> ListFunctionsByCodeSigningConfigResponse
s {$sel:nextMarker:ListFunctionsByCodeSigningConfigResponse' :: Maybe Text
nextMarker = Maybe Text
a} :: ListFunctionsByCodeSigningConfigResponse)
listFunctionsByCodeSigningConfigResponse_httpStatus :: Lens.Lens' ListFunctionsByCodeSigningConfigResponse Prelude.Int
listFunctionsByCodeSigningConfigResponse_httpStatus :: (Int -> f Int)
-> ListFunctionsByCodeSigningConfigResponse
-> f ListFunctionsByCodeSigningConfigResponse
listFunctionsByCodeSigningConfigResponse_httpStatus = (ListFunctionsByCodeSigningConfigResponse -> Int)
-> (ListFunctionsByCodeSigningConfigResponse
-> Int -> ListFunctionsByCodeSigningConfigResponse)
-> Lens
ListFunctionsByCodeSigningConfigResponse
ListFunctionsByCodeSigningConfigResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListFunctionsByCodeSigningConfigResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListFunctionsByCodeSigningConfigResponse' :: ListFunctionsByCodeSigningConfigResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListFunctionsByCodeSigningConfigResponse
s@ListFunctionsByCodeSigningConfigResponse' {} Int
a -> ListFunctionsByCodeSigningConfigResponse
s {$sel:httpStatus:ListFunctionsByCodeSigningConfigResponse' :: Int
httpStatus = Int
a} :: ListFunctionsByCodeSigningConfigResponse)
instance
Prelude.NFData
ListFunctionsByCodeSigningConfigResponse