{-# 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.ImageBuilder.ListImagePipelines
(
ListImagePipelines (..),
newListImagePipelines,
listImagePipelines_filters,
listImagePipelines_nextToken,
listImagePipelines_maxResults,
ListImagePipelinesResponse (..),
newListImagePipelinesResponse,
listImagePipelinesResponse_requestId,
listImagePipelinesResponse_nextToken,
listImagePipelinesResponse_imagePipelineList,
listImagePipelinesResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.ImageBuilder.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 ListImagePipelines = ListImagePipelines'
{
ListImagePipelines -> Maybe (NonEmpty Filter)
filters :: Prelude.Maybe (Prelude.NonEmpty Filter),
ListImagePipelines -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListImagePipelines -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural
}
deriving (ListImagePipelines -> ListImagePipelines -> Bool
(ListImagePipelines -> ListImagePipelines -> Bool)
-> (ListImagePipelines -> ListImagePipelines -> Bool)
-> Eq ListImagePipelines
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListImagePipelines -> ListImagePipelines -> Bool
$c/= :: ListImagePipelines -> ListImagePipelines -> Bool
== :: ListImagePipelines -> ListImagePipelines -> Bool
$c== :: ListImagePipelines -> ListImagePipelines -> Bool
Prelude.Eq, ReadPrec [ListImagePipelines]
ReadPrec ListImagePipelines
Int -> ReadS ListImagePipelines
ReadS [ListImagePipelines]
(Int -> ReadS ListImagePipelines)
-> ReadS [ListImagePipelines]
-> ReadPrec ListImagePipelines
-> ReadPrec [ListImagePipelines]
-> Read ListImagePipelines
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListImagePipelines]
$creadListPrec :: ReadPrec [ListImagePipelines]
readPrec :: ReadPrec ListImagePipelines
$creadPrec :: ReadPrec ListImagePipelines
readList :: ReadS [ListImagePipelines]
$creadList :: ReadS [ListImagePipelines]
readsPrec :: Int -> ReadS ListImagePipelines
$creadsPrec :: Int -> ReadS ListImagePipelines
Prelude.Read, Int -> ListImagePipelines -> ShowS
[ListImagePipelines] -> ShowS
ListImagePipelines -> String
(Int -> ListImagePipelines -> ShowS)
-> (ListImagePipelines -> String)
-> ([ListImagePipelines] -> ShowS)
-> Show ListImagePipelines
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListImagePipelines] -> ShowS
$cshowList :: [ListImagePipelines] -> ShowS
show :: ListImagePipelines -> String
$cshow :: ListImagePipelines -> String
showsPrec :: Int -> ListImagePipelines -> ShowS
$cshowsPrec :: Int -> ListImagePipelines -> ShowS
Prelude.Show, (forall x. ListImagePipelines -> Rep ListImagePipelines x)
-> (forall x. Rep ListImagePipelines x -> ListImagePipelines)
-> Generic ListImagePipelines
forall x. Rep ListImagePipelines x -> ListImagePipelines
forall x. ListImagePipelines -> Rep ListImagePipelines x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListImagePipelines x -> ListImagePipelines
$cfrom :: forall x. ListImagePipelines -> Rep ListImagePipelines x
Prelude.Generic)
newListImagePipelines ::
ListImagePipelines
newListImagePipelines :: ListImagePipelines
newListImagePipelines =
ListImagePipelines' :: Maybe (NonEmpty Filter)
-> Maybe Text -> Maybe Natural -> ListImagePipelines
ListImagePipelines'
{ $sel:filters:ListImagePipelines' :: Maybe (NonEmpty Filter)
filters = Maybe (NonEmpty Filter)
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListImagePipelines' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListImagePipelines' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing
}
listImagePipelines_filters :: Lens.Lens' ListImagePipelines (Prelude.Maybe (Prelude.NonEmpty Filter))
listImagePipelines_filters :: (Maybe (NonEmpty Filter) -> f (Maybe (NonEmpty Filter)))
-> ListImagePipelines -> f ListImagePipelines
listImagePipelines_filters = (ListImagePipelines -> Maybe (NonEmpty Filter))
-> (ListImagePipelines
-> Maybe (NonEmpty Filter) -> ListImagePipelines)
-> Lens
ListImagePipelines
ListImagePipelines
(Maybe (NonEmpty Filter))
(Maybe (NonEmpty Filter))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListImagePipelines' {Maybe (NonEmpty Filter)
filters :: Maybe (NonEmpty Filter)
$sel:filters:ListImagePipelines' :: ListImagePipelines -> Maybe (NonEmpty Filter)
filters} -> Maybe (NonEmpty Filter)
filters) (\s :: ListImagePipelines
s@ListImagePipelines' {} Maybe (NonEmpty Filter)
a -> ListImagePipelines
s {$sel:filters:ListImagePipelines' :: Maybe (NonEmpty Filter)
filters = Maybe (NonEmpty Filter)
a} :: ListImagePipelines) ((Maybe (NonEmpty Filter) -> f (Maybe (NonEmpty Filter)))
-> ListImagePipelines -> f ListImagePipelines)
-> ((Maybe (NonEmpty Filter) -> f (Maybe (NonEmpty Filter)))
-> Maybe (NonEmpty Filter) -> f (Maybe (NonEmpty Filter)))
-> (Maybe (NonEmpty Filter) -> f (Maybe (NonEmpty Filter)))
-> ListImagePipelines
-> f ListImagePipelines
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(NonEmpty Filter)
(NonEmpty Filter)
(NonEmpty Filter)
(NonEmpty Filter)
-> Iso
(Maybe (NonEmpty Filter))
(Maybe (NonEmpty Filter))
(Maybe (NonEmpty Filter))
(Maybe (NonEmpty Filter))
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
(NonEmpty Filter)
(NonEmpty Filter)
(NonEmpty Filter)
(NonEmpty Filter)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listImagePipelines_nextToken :: Lens.Lens' ListImagePipelines (Prelude.Maybe Prelude.Text)
listImagePipelines_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListImagePipelines -> f ListImagePipelines
listImagePipelines_nextToken = (ListImagePipelines -> Maybe Text)
-> (ListImagePipelines -> Maybe Text -> ListImagePipelines)
-> Lens
ListImagePipelines ListImagePipelines (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListImagePipelines' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListImagePipelines' :: ListImagePipelines -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListImagePipelines
s@ListImagePipelines' {} Maybe Text
a -> ListImagePipelines
s {$sel:nextToken:ListImagePipelines' :: Maybe Text
nextToken = Maybe Text
a} :: ListImagePipelines)
listImagePipelines_maxResults :: Lens.Lens' ListImagePipelines (Prelude.Maybe Prelude.Natural)
listImagePipelines_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListImagePipelines -> f ListImagePipelines
listImagePipelines_maxResults = (ListImagePipelines -> Maybe Natural)
-> (ListImagePipelines -> Maybe Natural -> ListImagePipelines)
-> Lens
ListImagePipelines
ListImagePipelines
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListImagePipelines' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListImagePipelines' :: ListImagePipelines -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListImagePipelines
s@ListImagePipelines' {} Maybe Natural
a -> ListImagePipelines
s {$sel:maxResults:ListImagePipelines' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListImagePipelines)
instance Core.AWSRequest ListImagePipelines where
type
AWSResponse ListImagePipelines =
ListImagePipelinesResponse
request :: ListImagePipelines -> Request ListImagePipelines
request = Service -> ListImagePipelines -> Request ListImagePipelines
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy ListImagePipelines
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListImagePipelines)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListImagePipelines))
-> Logger
-> Service
-> Proxy ListImagePipelines
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListImagePipelines)))
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
-> Maybe [ImagePipeline]
-> Int
-> ListImagePipelinesResponse
ListImagePipelinesResponse'
(Maybe Text
-> Maybe Text
-> Maybe [ImagePipeline]
-> Int
-> ListImagePipelinesResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe [ImagePipeline] -> Int -> ListImagePipelinesResponse)
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
"requestId")
Either
String
(Maybe Text
-> Maybe [ImagePipeline] -> Int -> ListImagePipelinesResponse)
-> Either String (Maybe Text)
-> Either
String (Maybe [ImagePipeline] -> Int -> ListImagePipelinesResponse)
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
"nextToken")
Either
String (Maybe [ImagePipeline] -> Int -> ListImagePipelinesResponse)
-> Either String (Maybe [ImagePipeline])
-> Either String (Int -> ListImagePipelinesResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Either String (Maybe (Maybe [ImagePipeline]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"imagePipelineList"
Either String (Maybe (Maybe [ImagePipeline]))
-> Maybe [ImagePipeline] -> Either String (Maybe [ImagePipeline])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [ImagePipeline]
forall a. Monoid a => a
Prelude.mempty
)
Either String (Int -> ListImagePipelinesResponse)
-> Either String Int -> Either String ListImagePipelinesResponse
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 ListImagePipelines
instance Prelude.NFData ListImagePipelines
instance Core.ToHeaders ListImagePipelines where
toHeaders :: ListImagePipelines -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListImagePipelines -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"Content-Type"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Core.ToJSON ListImagePipelines where
toJSON :: ListImagePipelines -> Value
toJSON ListImagePipelines' {Maybe Natural
Maybe (NonEmpty Filter)
Maybe Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
filters :: Maybe (NonEmpty Filter)
$sel:maxResults:ListImagePipelines' :: ListImagePipelines -> Maybe Natural
$sel:nextToken:ListImagePipelines' :: ListImagePipelines -> Maybe Text
$sel:filters:ListImagePipelines' :: ListImagePipelines -> Maybe (NonEmpty Filter)
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"filters" Text -> NonEmpty Filter -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (NonEmpty Filter -> Pair) -> Maybe (NonEmpty Filter) -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (NonEmpty Filter)
filters,
(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
"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
]
)
instance Core.ToPath ListImagePipelines where
toPath :: ListImagePipelines -> ByteString
toPath = ByteString -> ListImagePipelines -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/ListImagePipelines"
instance Core.ToQuery ListImagePipelines where
toQuery :: ListImagePipelines -> QueryString
toQuery = QueryString -> ListImagePipelines -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data ListImagePipelinesResponse = ListImagePipelinesResponse'
{
ListImagePipelinesResponse -> Maybe Text
requestId :: Prelude.Maybe Prelude.Text,
ListImagePipelinesResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListImagePipelinesResponse -> Maybe [ImagePipeline]
imagePipelineList :: Prelude.Maybe [ImagePipeline],
ListImagePipelinesResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListImagePipelinesResponse -> ListImagePipelinesResponse -> Bool
(ListImagePipelinesResponse -> ListImagePipelinesResponse -> Bool)
-> (ListImagePipelinesResponse
-> ListImagePipelinesResponse -> Bool)
-> Eq ListImagePipelinesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListImagePipelinesResponse -> ListImagePipelinesResponse -> Bool
$c/= :: ListImagePipelinesResponse -> ListImagePipelinesResponse -> Bool
== :: ListImagePipelinesResponse -> ListImagePipelinesResponse -> Bool
$c== :: ListImagePipelinesResponse -> ListImagePipelinesResponse -> Bool
Prelude.Eq, ReadPrec [ListImagePipelinesResponse]
ReadPrec ListImagePipelinesResponse
Int -> ReadS ListImagePipelinesResponse
ReadS [ListImagePipelinesResponse]
(Int -> ReadS ListImagePipelinesResponse)
-> ReadS [ListImagePipelinesResponse]
-> ReadPrec ListImagePipelinesResponse
-> ReadPrec [ListImagePipelinesResponse]
-> Read ListImagePipelinesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListImagePipelinesResponse]
$creadListPrec :: ReadPrec [ListImagePipelinesResponse]
readPrec :: ReadPrec ListImagePipelinesResponse
$creadPrec :: ReadPrec ListImagePipelinesResponse
readList :: ReadS [ListImagePipelinesResponse]
$creadList :: ReadS [ListImagePipelinesResponse]
readsPrec :: Int -> ReadS ListImagePipelinesResponse
$creadsPrec :: Int -> ReadS ListImagePipelinesResponse
Prelude.Read, Int -> ListImagePipelinesResponse -> ShowS
[ListImagePipelinesResponse] -> ShowS
ListImagePipelinesResponse -> String
(Int -> ListImagePipelinesResponse -> ShowS)
-> (ListImagePipelinesResponse -> String)
-> ([ListImagePipelinesResponse] -> ShowS)
-> Show ListImagePipelinesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListImagePipelinesResponse] -> ShowS
$cshowList :: [ListImagePipelinesResponse] -> ShowS
show :: ListImagePipelinesResponse -> String
$cshow :: ListImagePipelinesResponse -> String
showsPrec :: Int -> ListImagePipelinesResponse -> ShowS
$cshowsPrec :: Int -> ListImagePipelinesResponse -> ShowS
Prelude.Show, (forall x.
ListImagePipelinesResponse -> Rep ListImagePipelinesResponse x)
-> (forall x.
Rep ListImagePipelinesResponse x -> ListImagePipelinesResponse)
-> Generic ListImagePipelinesResponse
forall x.
Rep ListImagePipelinesResponse x -> ListImagePipelinesResponse
forall x.
ListImagePipelinesResponse -> Rep ListImagePipelinesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListImagePipelinesResponse x -> ListImagePipelinesResponse
$cfrom :: forall x.
ListImagePipelinesResponse -> Rep ListImagePipelinesResponse x
Prelude.Generic)
newListImagePipelinesResponse ::
Prelude.Int ->
ListImagePipelinesResponse
newListImagePipelinesResponse :: Int -> ListImagePipelinesResponse
newListImagePipelinesResponse Int
pHttpStatus_ =
ListImagePipelinesResponse' :: Maybe Text
-> Maybe Text
-> Maybe [ImagePipeline]
-> Int
-> ListImagePipelinesResponse
ListImagePipelinesResponse'
{ $sel:requestId:ListImagePipelinesResponse' :: Maybe Text
requestId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListImagePipelinesResponse' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:imagePipelineList:ListImagePipelinesResponse' :: Maybe [ImagePipeline]
imagePipelineList = Maybe [ImagePipeline]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListImagePipelinesResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listImagePipelinesResponse_requestId :: Lens.Lens' ListImagePipelinesResponse (Prelude.Maybe Prelude.Text)
listImagePipelinesResponse_requestId :: (Maybe Text -> f (Maybe Text))
-> ListImagePipelinesResponse -> f ListImagePipelinesResponse
listImagePipelinesResponse_requestId = (ListImagePipelinesResponse -> Maybe Text)
-> (ListImagePipelinesResponse
-> Maybe Text -> ListImagePipelinesResponse)
-> Lens
ListImagePipelinesResponse
ListImagePipelinesResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListImagePipelinesResponse' {Maybe Text
requestId :: Maybe Text
$sel:requestId:ListImagePipelinesResponse' :: ListImagePipelinesResponse -> Maybe Text
requestId} -> Maybe Text
requestId) (\s :: ListImagePipelinesResponse
s@ListImagePipelinesResponse' {} Maybe Text
a -> ListImagePipelinesResponse
s {$sel:requestId:ListImagePipelinesResponse' :: Maybe Text
requestId = Maybe Text
a} :: ListImagePipelinesResponse)
listImagePipelinesResponse_nextToken :: Lens.Lens' ListImagePipelinesResponse (Prelude.Maybe Prelude.Text)
listImagePipelinesResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListImagePipelinesResponse -> f ListImagePipelinesResponse
listImagePipelinesResponse_nextToken = (ListImagePipelinesResponse -> Maybe Text)
-> (ListImagePipelinesResponse
-> Maybe Text -> ListImagePipelinesResponse)
-> Lens
ListImagePipelinesResponse
ListImagePipelinesResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListImagePipelinesResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListImagePipelinesResponse' :: ListImagePipelinesResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListImagePipelinesResponse
s@ListImagePipelinesResponse' {} Maybe Text
a -> ListImagePipelinesResponse
s {$sel:nextToken:ListImagePipelinesResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListImagePipelinesResponse)
listImagePipelinesResponse_imagePipelineList :: Lens.Lens' ListImagePipelinesResponse (Prelude.Maybe [ImagePipeline])
listImagePipelinesResponse_imagePipelineList :: (Maybe [ImagePipeline] -> f (Maybe [ImagePipeline]))
-> ListImagePipelinesResponse -> f ListImagePipelinesResponse
listImagePipelinesResponse_imagePipelineList = (ListImagePipelinesResponse -> Maybe [ImagePipeline])
-> (ListImagePipelinesResponse
-> Maybe [ImagePipeline] -> ListImagePipelinesResponse)
-> Lens
ListImagePipelinesResponse
ListImagePipelinesResponse
(Maybe [ImagePipeline])
(Maybe [ImagePipeline])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListImagePipelinesResponse' {Maybe [ImagePipeline]
imagePipelineList :: Maybe [ImagePipeline]
$sel:imagePipelineList:ListImagePipelinesResponse' :: ListImagePipelinesResponse -> Maybe [ImagePipeline]
imagePipelineList} -> Maybe [ImagePipeline]
imagePipelineList) (\s :: ListImagePipelinesResponse
s@ListImagePipelinesResponse' {} Maybe [ImagePipeline]
a -> ListImagePipelinesResponse
s {$sel:imagePipelineList:ListImagePipelinesResponse' :: Maybe [ImagePipeline]
imagePipelineList = Maybe [ImagePipeline]
a} :: ListImagePipelinesResponse) ((Maybe [ImagePipeline] -> f (Maybe [ImagePipeline]))
-> ListImagePipelinesResponse -> f ListImagePipelinesResponse)
-> ((Maybe [ImagePipeline] -> f (Maybe [ImagePipeline]))
-> Maybe [ImagePipeline] -> f (Maybe [ImagePipeline]))
-> (Maybe [ImagePipeline] -> f (Maybe [ImagePipeline]))
-> ListImagePipelinesResponse
-> f ListImagePipelinesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[ImagePipeline] [ImagePipeline] [ImagePipeline] [ImagePipeline]
-> Iso
(Maybe [ImagePipeline])
(Maybe [ImagePipeline])
(Maybe [ImagePipeline])
(Maybe [ImagePipeline])
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
[ImagePipeline] [ImagePipeline] [ImagePipeline] [ImagePipeline]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listImagePipelinesResponse_httpStatus :: Lens.Lens' ListImagePipelinesResponse Prelude.Int
listImagePipelinesResponse_httpStatus :: (Int -> f Int)
-> ListImagePipelinesResponse -> f ListImagePipelinesResponse
listImagePipelinesResponse_httpStatus = (ListImagePipelinesResponse -> Int)
-> (ListImagePipelinesResponse
-> Int -> ListImagePipelinesResponse)
-> Lens
ListImagePipelinesResponse ListImagePipelinesResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListImagePipelinesResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListImagePipelinesResponse' :: ListImagePipelinesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListImagePipelinesResponse
s@ListImagePipelinesResponse' {} Int
a -> ListImagePipelinesResponse
s {$sel:httpStatus:ListImagePipelinesResponse' :: Int
httpStatus = Int
a} :: ListImagePipelinesResponse)
instance Prelude.NFData ListImagePipelinesResponse