{-# 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.Glue.GetMLTransforms
(
GetMLTransforms (..),
newGetMLTransforms,
getMLTransforms_nextToken,
getMLTransforms_sort,
getMLTransforms_filter,
getMLTransforms_maxResults,
GetMLTransformsResponse (..),
newGetMLTransformsResponse,
getMLTransformsResponse_nextToken,
getMLTransformsResponse_httpStatus,
getMLTransformsResponse_transforms,
)
where
import qualified Amazonka.Core as Core
import Amazonka.Glue.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 GetMLTransforms = GetMLTransforms'
{
GetMLTransforms -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
GetMLTransforms -> Maybe TransformSortCriteria
sort :: Prelude.Maybe TransformSortCriteria,
GetMLTransforms -> Maybe TransformFilterCriteria
filter' :: Prelude.Maybe TransformFilterCriteria,
GetMLTransforms -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural
}
deriving (GetMLTransforms -> GetMLTransforms -> Bool
(GetMLTransforms -> GetMLTransforms -> Bool)
-> (GetMLTransforms -> GetMLTransforms -> Bool)
-> Eq GetMLTransforms
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetMLTransforms -> GetMLTransforms -> Bool
$c/= :: GetMLTransforms -> GetMLTransforms -> Bool
== :: GetMLTransforms -> GetMLTransforms -> Bool
$c== :: GetMLTransforms -> GetMLTransforms -> Bool
Prelude.Eq, ReadPrec [GetMLTransforms]
ReadPrec GetMLTransforms
Int -> ReadS GetMLTransforms
ReadS [GetMLTransforms]
(Int -> ReadS GetMLTransforms)
-> ReadS [GetMLTransforms]
-> ReadPrec GetMLTransforms
-> ReadPrec [GetMLTransforms]
-> Read GetMLTransforms
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetMLTransforms]
$creadListPrec :: ReadPrec [GetMLTransforms]
readPrec :: ReadPrec GetMLTransforms
$creadPrec :: ReadPrec GetMLTransforms
readList :: ReadS [GetMLTransforms]
$creadList :: ReadS [GetMLTransforms]
readsPrec :: Int -> ReadS GetMLTransforms
$creadsPrec :: Int -> ReadS GetMLTransforms
Prelude.Read, Int -> GetMLTransforms -> ShowS
[GetMLTransforms] -> ShowS
GetMLTransforms -> String
(Int -> GetMLTransforms -> ShowS)
-> (GetMLTransforms -> String)
-> ([GetMLTransforms] -> ShowS)
-> Show GetMLTransforms
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetMLTransforms] -> ShowS
$cshowList :: [GetMLTransforms] -> ShowS
show :: GetMLTransforms -> String
$cshow :: GetMLTransforms -> String
showsPrec :: Int -> GetMLTransforms -> ShowS
$cshowsPrec :: Int -> GetMLTransforms -> ShowS
Prelude.Show, (forall x. GetMLTransforms -> Rep GetMLTransforms x)
-> (forall x. Rep GetMLTransforms x -> GetMLTransforms)
-> Generic GetMLTransforms
forall x. Rep GetMLTransforms x -> GetMLTransforms
forall x. GetMLTransforms -> Rep GetMLTransforms x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GetMLTransforms x -> GetMLTransforms
$cfrom :: forall x. GetMLTransforms -> Rep GetMLTransforms x
Prelude.Generic)
newGetMLTransforms ::
GetMLTransforms
newGetMLTransforms :: GetMLTransforms
newGetMLTransforms =
GetMLTransforms' :: Maybe Text
-> Maybe TransformSortCriteria
-> Maybe TransformFilterCriteria
-> Maybe Natural
-> GetMLTransforms
GetMLTransforms'
{ $sel:nextToken:GetMLTransforms' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:sort:GetMLTransforms' :: Maybe TransformSortCriteria
sort = Maybe TransformSortCriteria
forall a. Maybe a
Prelude.Nothing,
$sel:filter':GetMLTransforms' :: Maybe TransformFilterCriteria
filter' = Maybe TransformFilterCriteria
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:GetMLTransforms' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing
}
getMLTransforms_nextToken :: Lens.Lens' GetMLTransforms (Prelude.Maybe Prelude.Text)
getMLTransforms_nextToken :: (Maybe Text -> f (Maybe Text))
-> GetMLTransforms -> f GetMLTransforms
getMLTransforms_nextToken = (GetMLTransforms -> Maybe Text)
-> (GetMLTransforms -> Maybe Text -> GetMLTransforms)
-> Lens GetMLTransforms GetMLTransforms (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetMLTransforms' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:GetMLTransforms' :: GetMLTransforms -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: GetMLTransforms
s@GetMLTransforms' {} Maybe Text
a -> GetMLTransforms
s {$sel:nextToken:GetMLTransforms' :: Maybe Text
nextToken = Maybe Text
a} :: GetMLTransforms)
getMLTransforms_sort :: Lens.Lens' GetMLTransforms (Prelude.Maybe TransformSortCriteria)
getMLTransforms_sort :: (Maybe TransformSortCriteria -> f (Maybe TransformSortCriteria))
-> GetMLTransforms -> f GetMLTransforms
getMLTransforms_sort = (GetMLTransforms -> Maybe TransformSortCriteria)
-> (GetMLTransforms
-> Maybe TransformSortCriteria -> GetMLTransforms)
-> Lens
GetMLTransforms
GetMLTransforms
(Maybe TransformSortCriteria)
(Maybe TransformSortCriteria)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetMLTransforms' {Maybe TransformSortCriteria
sort :: Maybe TransformSortCriteria
$sel:sort:GetMLTransforms' :: GetMLTransforms -> Maybe TransformSortCriteria
sort} -> Maybe TransformSortCriteria
sort) (\s :: GetMLTransforms
s@GetMLTransforms' {} Maybe TransformSortCriteria
a -> GetMLTransforms
s {$sel:sort:GetMLTransforms' :: Maybe TransformSortCriteria
sort = Maybe TransformSortCriteria
a} :: GetMLTransforms)
getMLTransforms_filter :: Lens.Lens' GetMLTransforms (Prelude.Maybe TransformFilterCriteria)
getMLTransforms_filter :: (Maybe TransformFilterCriteria
-> f (Maybe TransformFilterCriteria))
-> GetMLTransforms -> f GetMLTransforms
getMLTransforms_filter = (GetMLTransforms -> Maybe TransformFilterCriteria)
-> (GetMLTransforms
-> Maybe TransformFilterCriteria -> GetMLTransforms)
-> Lens
GetMLTransforms
GetMLTransforms
(Maybe TransformFilterCriteria)
(Maybe TransformFilterCriteria)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetMLTransforms' {Maybe TransformFilterCriteria
filter' :: Maybe TransformFilterCriteria
$sel:filter':GetMLTransforms' :: GetMLTransforms -> Maybe TransformFilterCriteria
filter'} -> Maybe TransformFilterCriteria
filter') (\s :: GetMLTransforms
s@GetMLTransforms' {} Maybe TransformFilterCriteria
a -> GetMLTransforms
s {$sel:filter':GetMLTransforms' :: Maybe TransformFilterCriteria
filter' = Maybe TransformFilterCriteria
a} :: GetMLTransforms)
getMLTransforms_maxResults :: Lens.Lens' GetMLTransforms (Prelude.Maybe Prelude.Natural)
getMLTransforms_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> GetMLTransforms -> f GetMLTransforms
getMLTransforms_maxResults = (GetMLTransforms -> Maybe Natural)
-> (GetMLTransforms -> Maybe Natural -> GetMLTransforms)
-> Lens
GetMLTransforms GetMLTransforms (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetMLTransforms' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:GetMLTransforms' :: GetMLTransforms -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: GetMLTransforms
s@GetMLTransforms' {} Maybe Natural
a -> GetMLTransforms
s {$sel:maxResults:GetMLTransforms' :: Maybe Natural
maxResults = Maybe Natural
a} :: GetMLTransforms)
instance Core.AWSRequest GetMLTransforms where
type
AWSResponse GetMLTransforms =
GetMLTransformsResponse
request :: GetMLTransforms -> Request GetMLTransforms
request = Service -> GetMLTransforms -> Request GetMLTransforms
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy GetMLTransforms
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse GetMLTransforms)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse GetMLTransforms))
-> Logger
-> Service
-> Proxy GetMLTransforms
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse GetMLTransforms)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe Text -> Int -> [MLTransform] -> GetMLTransformsResponse
GetMLTransformsResponse'
(Maybe Text -> Int -> [MLTransform] -> GetMLTransformsResponse)
-> Either String (Maybe Text)
-> Either String (Int -> [MLTransform] -> GetMLTransformsResponse)
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 (Int -> [MLTransform] -> GetMLTransformsResponse)
-> Either String Int
-> Either String ([MLTransform] -> GetMLTransformsResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
Either String ([MLTransform] -> GetMLTransformsResponse)
-> Either String [MLTransform]
-> Either String GetMLTransformsResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe [MLTransform])
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Transforms" Either String (Maybe [MLTransform])
-> [MLTransform] -> Either String [MLTransform]
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ [MLTransform]
forall a. Monoid a => a
Prelude.mempty)
)
instance Prelude.Hashable GetMLTransforms
instance Prelude.NFData GetMLTransforms
instance Core.ToHeaders GetMLTransforms where
toHeaders :: GetMLTransforms -> ResponseHeaders
toHeaders =
ResponseHeaders -> GetMLTransforms -> 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
"AWSGlue.GetMLTransforms" :: 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 GetMLTransforms where
toJSON :: GetMLTransforms -> Value
toJSON GetMLTransforms' {Maybe Natural
Maybe Text
Maybe TransformSortCriteria
Maybe TransformFilterCriteria
maxResults :: Maybe Natural
filter' :: Maybe TransformFilterCriteria
sort :: Maybe TransformSortCriteria
nextToken :: Maybe Text
$sel:maxResults:GetMLTransforms' :: GetMLTransforms -> Maybe Natural
$sel:filter':GetMLTransforms' :: GetMLTransforms -> Maybe TransformFilterCriteria
$sel:sort:GetMLTransforms' :: GetMLTransforms -> Maybe TransformSortCriteria
$sel:nextToken:GetMLTransforms' :: GetMLTransforms -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (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
"Sort" Text -> TransformSortCriteria -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (TransformSortCriteria -> Pair)
-> Maybe TransformSortCriteria -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TransformSortCriteria
sort,
(Text
"Filter" Text -> TransformFilterCriteria -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (TransformFilterCriteria -> Pair)
-> Maybe TransformFilterCriteria -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TransformFilterCriteria
filter',
(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 GetMLTransforms where
toPath :: GetMLTransforms -> ByteString
toPath = ByteString -> GetMLTransforms -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery GetMLTransforms where
toQuery :: GetMLTransforms -> QueryString
toQuery = QueryString -> GetMLTransforms -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data GetMLTransformsResponse = GetMLTransformsResponse'
{
GetMLTransformsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
GetMLTransformsResponse -> Int
httpStatus :: Prelude.Int,
GetMLTransformsResponse -> [MLTransform]
transforms :: [MLTransform]
}
deriving (GetMLTransformsResponse -> GetMLTransformsResponse -> Bool
(GetMLTransformsResponse -> GetMLTransformsResponse -> Bool)
-> (GetMLTransformsResponse -> GetMLTransformsResponse -> Bool)
-> Eq GetMLTransformsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetMLTransformsResponse -> GetMLTransformsResponse -> Bool
$c/= :: GetMLTransformsResponse -> GetMLTransformsResponse -> Bool
== :: GetMLTransformsResponse -> GetMLTransformsResponse -> Bool
$c== :: GetMLTransformsResponse -> GetMLTransformsResponse -> Bool
Prelude.Eq, ReadPrec [GetMLTransformsResponse]
ReadPrec GetMLTransformsResponse
Int -> ReadS GetMLTransformsResponse
ReadS [GetMLTransformsResponse]
(Int -> ReadS GetMLTransformsResponse)
-> ReadS [GetMLTransformsResponse]
-> ReadPrec GetMLTransformsResponse
-> ReadPrec [GetMLTransformsResponse]
-> Read GetMLTransformsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetMLTransformsResponse]
$creadListPrec :: ReadPrec [GetMLTransformsResponse]
readPrec :: ReadPrec GetMLTransformsResponse
$creadPrec :: ReadPrec GetMLTransformsResponse
readList :: ReadS [GetMLTransformsResponse]
$creadList :: ReadS [GetMLTransformsResponse]
readsPrec :: Int -> ReadS GetMLTransformsResponse
$creadsPrec :: Int -> ReadS GetMLTransformsResponse
Prelude.Read, Int -> GetMLTransformsResponse -> ShowS
[GetMLTransformsResponse] -> ShowS
GetMLTransformsResponse -> String
(Int -> GetMLTransformsResponse -> ShowS)
-> (GetMLTransformsResponse -> String)
-> ([GetMLTransformsResponse] -> ShowS)
-> Show GetMLTransformsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetMLTransformsResponse] -> ShowS
$cshowList :: [GetMLTransformsResponse] -> ShowS
show :: GetMLTransformsResponse -> String
$cshow :: GetMLTransformsResponse -> String
showsPrec :: Int -> GetMLTransformsResponse -> ShowS
$cshowsPrec :: Int -> GetMLTransformsResponse -> ShowS
Prelude.Show, (forall x.
GetMLTransformsResponse -> Rep GetMLTransformsResponse x)
-> (forall x.
Rep GetMLTransformsResponse x -> GetMLTransformsResponse)
-> Generic GetMLTransformsResponse
forall x. Rep GetMLTransformsResponse x -> GetMLTransformsResponse
forall x. GetMLTransformsResponse -> Rep GetMLTransformsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GetMLTransformsResponse x -> GetMLTransformsResponse
$cfrom :: forall x. GetMLTransformsResponse -> Rep GetMLTransformsResponse x
Prelude.Generic)
newGetMLTransformsResponse ::
Prelude.Int ->
GetMLTransformsResponse
newGetMLTransformsResponse :: Int -> GetMLTransformsResponse
newGetMLTransformsResponse Int
pHttpStatus_ =
GetMLTransformsResponse' :: Maybe Text -> Int -> [MLTransform] -> GetMLTransformsResponse
GetMLTransformsResponse'
{ $sel:nextToken:GetMLTransformsResponse' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:GetMLTransformsResponse' :: Int
httpStatus = Int
pHttpStatus_,
$sel:transforms:GetMLTransformsResponse' :: [MLTransform]
transforms = [MLTransform]
forall a. Monoid a => a
Prelude.mempty
}
getMLTransformsResponse_nextToken :: Lens.Lens' GetMLTransformsResponse (Prelude.Maybe Prelude.Text)
getMLTransformsResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> GetMLTransformsResponse -> f GetMLTransformsResponse
getMLTransformsResponse_nextToken = (GetMLTransformsResponse -> Maybe Text)
-> (GetMLTransformsResponse
-> Maybe Text -> GetMLTransformsResponse)
-> Lens
GetMLTransformsResponse
GetMLTransformsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetMLTransformsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:GetMLTransformsResponse' :: GetMLTransformsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: GetMLTransformsResponse
s@GetMLTransformsResponse' {} Maybe Text
a -> GetMLTransformsResponse
s {$sel:nextToken:GetMLTransformsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: GetMLTransformsResponse)
getMLTransformsResponse_httpStatus :: Lens.Lens' GetMLTransformsResponse Prelude.Int
getMLTransformsResponse_httpStatus :: (Int -> f Int)
-> GetMLTransformsResponse -> f GetMLTransformsResponse
getMLTransformsResponse_httpStatus = (GetMLTransformsResponse -> Int)
-> (GetMLTransformsResponse -> Int -> GetMLTransformsResponse)
-> Lens GetMLTransformsResponse GetMLTransformsResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetMLTransformsResponse' {Int
httpStatus :: Int
$sel:httpStatus:GetMLTransformsResponse' :: GetMLTransformsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: GetMLTransformsResponse
s@GetMLTransformsResponse' {} Int
a -> GetMLTransformsResponse
s {$sel:httpStatus:GetMLTransformsResponse' :: Int
httpStatus = Int
a} :: GetMLTransformsResponse)
getMLTransformsResponse_transforms :: Lens.Lens' GetMLTransformsResponse [MLTransform]
getMLTransformsResponse_transforms :: ([MLTransform] -> f [MLTransform])
-> GetMLTransformsResponse -> f GetMLTransformsResponse
getMLTransformsResponse_transforms = (GetMLTransformsResponse -> [MLTransform])
-> (GetMLTransformsResponse
-> [MLTransform] -> GetMLTransformsResponse)
-> Lens
GetMLTransformsResponse
GetMLTransformsResponse
[MLTransform]
[MLTransform]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetMLTransformsResponse' {[MLTransform]
transforms :: [MLTransform]
$sel:transforms:GetMLTransformsResponse' :: GetMLTransformsResponse -> [MLTransform]
transforms} -> [MLTransform]
transforms) (\s :: GetMLTransformsResponse
s@GetMLTransformsResponse' {} [MLTransform]
a -> GetMLTransformsResponse
s {$sel:transforms:GetMLTransformsResponse' :: [MLTransform]
transforms = [MLTransform]
a} :: GetMLTransformsResponse) (([MLTransform] -> f [MLTransform])
-> GetMLTransformsResponse -> f GetMLTransformsResponse)
-> (([MLTransform] -> f [MLTransform])
-> [MLTransform] -> f [MLTransform])
-> ([MLTransform] -> f [MLTransform])
-> GetMLTransformsResponse
-> f GetMLTransformsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([MLTransform] -> f [MLTransform])
-> [MLTransform] -> f [MLTransform]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Prelude.NFData GetMLTransformsResponse