{-# 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.Transcribe.ListVocabularyFilters
(
ListVocabularyFilters (..),
newListVocabularyFilters,
listVocabularyFilters_nameContains,
listVocabularyFilters_nextToken,
listVocabularyFilters_maxResults,
ListVocabularyFiltersResponse (..),
newListVocabularyFiltersResponse,
listVocabularyFiltersResponse_nextToken,
listVocabularyFiltersResponse_vocabularyFilters,
listVocabularyFiltersResponse_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.Transcribe.Types
data ListVocabularyFilters = ListVocabularyFilters'
{
ListVocabularyFilters -> Maybe Text
nameContains :: Prelude.Maybe Prelude.Text,
ListVocabularyFilters -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListVocabularyFilters -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural
}
deriving (ListVocabularyFilters -> ListVocabularyFilters -> Bool
(ListVocabularyFilters -> ListVocabularyFilters -> Bool)
-> (ListVocabularyFilters -> ListVocabularyFilters -> Bool)
-> Eq ListVocabularyFilters
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListVocabularyFilters -> ListVocabularyFilters -> Bool
$c/= :: ListVocabularyFilters -> ListVocabularyFilters -> Bool
== :: ListVocabularyFilters -> ListVocabularyFilters -> Bool
$c== :: ListVocabularyFilters -> ListVocabularyFilters -> Bool
Prelude.Eq, ReadPrec [ListVocabularyFilters]
ReadPrec ListVocabularyFilters
Int -> ReadS ListVocabularyFilters
ReadS [ListVocabularyFilters]
(Int -> ReadS ListVocabularyFilters)
-> ReadS [ListVocabularyFilters]
-> ReadPrec ListVocabularyFilters
-> ReadPrec [ListVocabularyFilters]
-> Read ListVocabularyFilters
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListVocabularyFilters]
$creadListPrec :: ReadPrec [ListVocabularyFilters]
readPrec :: ReadPrec ListVocabularyFilters
$creadPrec :: ReadPrec ListVocabularyFilters
readList :: ReadS [ListVocabularyFilters]
$creadList :: ReadS [ListVocabularyFilters]
readsPrec :: Int -> ReadS ListVocabularyFilters
$creadsPrec :: Int -> ReadS ListVocabularyFilters
Prelude.Read, Int -> ListVocabularyFilters -> ShowS
[ListVocabularyFilters] -> ShowS
ListVocabularyFilters -> String
(Int -> ListVocabularyFilters -> ShowS)
-> (ListVocabularyFilters -> String)
-> ([ListVocabularyFilters] -> ShowS)
-> Show ListVocabularyFilters
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListVocabularyFilters] -> ShowS
$cshowList :: [ListVocabularyFilters] -> ShowS
show :: ListVocabularyFilters -> String
$cshow :: ListVocabularyFilters -> String
showsPrec :: Int -> ListVocabularyFilters -> ShowS
$cshowsPrec :: Int -> ListVocabularyFilters -> ShowS
Prelude.Show, (forall x. ListVocabularyFilters -> Rep ListVocabularyFilters x)
-> (forall x. Rep ListVocabularyFilters x -> ListVocabularyFilters)
-> Generic ListVocabularyFilters
forall x. Rep ListVocabularyFilters x -> ListVocabularyFilters
forall x. ListVocabularyFilters -> Rep ListVocabularyFilters x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListVocabularyFilters x -> ListVocabularyFilters
$cfrom :: forall x. ListVocabularyFilters -> Rep ListVocabularyFilters x
Prelude.Generic)
newListVocabularyFilters ::
ListVocabularyFilters
newListVocabularyFilters :: ListVocabularyFilters
newListVocabularyFilters =
ListVocabularyFilters' :: Maybe Text -> Maybe Text -> Maybe Natural -> ListVocabularyFilters
ListVocabularyFilters'
{ $sel:nameContains:ListVocabularyFilters' :: Maybe Text
nameContains =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListVocabularyFilters' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListVocabularyFilters' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing
}
listVocabularyFilters_nameContains :: Lens.Lens' ListVocabularyFilters (Prelude.Maybe Prelude.Text)
listVocabularyFilters_nameContains :: (Maybe Text -> f (Maybe Text))
-> ListVocabularyFilters -> f ListVocabularyFilters
listVocabularyFilters_nameContains = (ListVocabularyFilters -> Maybe Text)
-> (ListVocabularyFilters -> Maybe Text -> ListVocabularyFilters)
-> Lens
ListVocabularyFilters
ListVocabularyFilters
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListVocabularyFilters' {Maybe Text
nameContains :: Maybe Text
$sel:nameContains:ListVocabularyFilters' :: ListVocabularyFilters -> Maybe Text
nameContains} -> Maybe Text
nameContains) (\s :: ListVocabularyFilters
s@ListVocabularyFilters' {} Maybe Text
a -> ListVocabularyFilters
s {$sel:nameContains:ListVocabularyFilters' :: Maybe Text
nameContains = Maybe Text
a} :: ListVocabularyFilters)
listVocabularyFilters_nextToken :: Lens.Lens' ListVocabularyFilters (Prelude.Maybe Prelude.Text)
listVocabularyFilters_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListVocabularyFilters -> f ListVocabularyFilters
listVocabularyFilters_nextToken = (ListVocabularyFilters -> Maybe Text)
-> (ListVocabularyFilters -> Maybe Text -> ListVocabularyFilters)
-> Lens
ListVocabularyFilters
ListVocabularyFilters
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListVocabularyFilters' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListVocabularyFilters' :: ListVocabularyFilters -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListVocabularyFilters
s@ListVocabularyFilters' {} Maybe Text
a -> ListVocabularyFilters
s {$sel:nextToken:ListVocabularyFilters' :: Maybe Text
nextToken = Maybe Text
a} :: ListVocabularyFilters)
listVocabularyFilters_maxResults :: Lens.Lens' ListVocabularyFilters (Prelude.Maybe Prelude.Natural)
listVocabularyFilters_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListVocabularyFilters -> f ListVocabularyFilters
listVocabularyFilters_maxResults = (ListVocabularyFilters -> Maybe Natural)
-> (ListVocabularyFilters
-> Maybe Natural -> ListVocabularyFilters)
-> Lens
ListVocabularyFilters
ListVocabularyFilters
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListVocabularyFilters' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListVocabularyFilters' :: ListVocabularyFilters -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListVocabularyFilters
s@ListVocabularyFilters' {} Maybe Natural
a -> ListVocabularyFilters
s {$sel:maxResults:ListVocabularyFilters' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListVocabularyFilters)
instance Core.AWSRequest ListVocabularyFilters where
type
AWSResponse ListVocabularyFilters =
ListVocabularyFiltersResponse
request :: ListVocabularyFilters -> Request ListVocabularyFilters
request = Service -> ListVocabularyFilters -> Request ListVocabularyFilters
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy ListVocabularyFilters
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListVocabularyFilters)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListVocabularyFilters))
-> Logger
-> Service
-> Proxy ListVocabularyFilters
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListVocabularyFilters)))
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 [VocabularyFilterInfo]
-> Int
-> ListVocabularyFiltersResponse
ListVocabularyFiltersResponse'
(Maybe Text
-> Maybe [VocabularyFilterInfo]
-> Int
-> ListVocabularyFiltersResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe [VocabularyFilterInfo]
-> Int -> ListVocabularyFiltersResponse)
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 [VocabularyFilterInfo]
-> Int -> ListVocabularyFiltersResponse)
-> Either String (Maybe [VocabularyFilterInfo])
-> Either String (Int -> ListVocabularyFiltersResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text -> Either String (Maybe (Maybe [VocabularyFilterInfo]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"VocabularyFilters"
Either String (Maybe (Maybe [VocabularyFilterInfo]))
-> Maybe [VocabularyFilterInfo]
-> Either String (Maybe [VocabularyFilterInfo])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [VocabularyFilterInfo]
forall a. Monoid a => a
Prelude.mempty
)
Either String (Int -> ListVocabularyFiltersResponse)
-> Either String Int -> Either String ListVocabularyFiltersResponse
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 ListVocabularyFilters
instance Prelude.NFData ListVocabularyFilters
instance Core.ToHeaders ListVocabularyFilters where
toHeaders :: ListVocabularyFilters -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListVocabularyFilters -> 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
"Transcribe.ListVocabularyFilters" ::
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 ListVocabularyFilters where
toJSON :: ListVocabularyFilters -> Value
toJSON ListVocabularyFilters' {Maybe Natural
Maybe Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
nameContains :: Maybe Text
$sel:maxResults:ListVocabularyFilters' :: ListVocabularyFilters -> Maybe Natural
$sel:nextToken:ListVocabularyFilters' :: ListVocabularyFilters -> Maybe Text
$sel:nameContains:ListVocabularyFilters' :: ListVocabularyFilters -> 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
"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 ListVocabularyFilters where
toPath :: ListVocabularyFilters -> ByteString
toPath = ByteString -> ListVocabularyFilters -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery ListVocabularyFilters where
toQuery :: ListVocabularyFilters -> QueryString
toQuery = QueryString -> ListVocabularyFilters -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data ListVocabularyFiltersResponse = ListVocabularyFiltersResponse'
{
ListVocabularyFiltersResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListVocabularyFiltersResponse -> Maybe [VocabularyFilterInfo]
vocabularyFilters :: Prelude.Maybe [VocabularyFilterInfo],
ListVocabularyFiltersResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListVocabularyFiltersResponse
-> ListVocabularyFiltersResponse -> Bool
(ListVocabularyFiltersResponse
-> ListVocabularyFiltersResponse -> Bool)
-> (ListVocabularyFiltersResponse
-> ListVocabularyFiltersResponse -> Bool)
-> Eq ListVocabularyFiltersResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListVocabularyFiltersResponse
-> ListVocabularyFiltersResponse -> Bool
$c/= :: ListVocabularyFiltersResponse
-> ListVocabularyFiltersResponse -> Bool
== :: ListVocabularyFiltersResponse
-> ListVocabularyFiltersResponse -> Bool
$c== :: ListVocabularyFiltersResponse
-> ListVocabularyFiltersResponse -> Bool
Prelude.Eq, ReadPrec [ListVocabularyFiltersResponse]
ReadPrec ListVocabularyFiltersResponse
Int -> ReadS ListVocabularyFiltersResponse
ReadS [ListVocabularyFiltersResponse]
(Int -> ReadS ListVocabularyFiltersResponse)
-> ReadS [ListVocabularyFiltersResponse]
-> ReadPrec ListVocabularyFiltersResponse
-> ReadPrec [ListVocabularyFiltersResponse]
-> Read ListVocabularyFiltersResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListVocabularyFiltersResponse]
$creadListPrec :: ReadPrec [ListVocabularyFiltersResponse]
readPrec :: ReadPrec ListVocabularyFiltersResponse
$creadPrec :: ReadPrec ListVocabularyFiltersResponse
readList :: ReadS [ListVocabularyFiltersResponse]
$creadList :: ReadS [ListVocabularyFiltersResponse]
readsPrec :: Int -> ReadS ListVocabularyFiltersResponse
$creadsPrec :: Int -> ReadS ListVocabularyFiltersResponse
Prelude.Read, Int -> ListVocabularyFiltersResponse -> ShowS
[ListVocabularyFiltersResponse] -> ShowS
ListVocabularyFiltersResponse -> String
(Int -> ListVocabularyFiltersResponse -> ShowS)
-> (ListVocabularyFiltersResponse -> String)
-> ([ListVocabularyFiltersResponse] -> ShowS)
-> Show ListVocabularyFiltersResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListVocabularyFiltersResponse] -> ShowS
$cshowList :: [ListVocabularyFiltersResponse] -> ShowS
show :: ListVocabularyFiltersResponse -> String
$cshow :: ListVocabularyFiltersResponse -> String
showsPrec :: Int -> ListVocabularyFiltersResponse -> ShowS
$cshowsPrec :: Int -> ListVocabularyFiltersResponse -> ShowS
Prelude.Show, (forall x.
ListVocabularyFiltersResponse
-> Rep ListVocabularyFiltersResponse x)
-> (forall x.
Rep ListVocabularyFiltersResponse x
-> ListVocabularyFiltersResponse)
-> Generic ListVocabularyFiltersResponse
forall x.
Rep ListVocabularyFiltersResponse x
-> ListVocabularyFiltersResponse
forall x.
ListVocabularyFiltersResponse
-> Rep ListVocabularyFiltersResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListVocabularyFiltersResponse x
-> ListVocabularyFiltersResponse
$cfrom :: forall x.
ListVocabularyFiltersResponse
-> Rep ListVocabularyFiltersResponse x
Prelude.Generic)
newListVocabularyFiltersResponse ::
Prelude.Int ->
ListVocabularyFiltersResponse
newListVocabularyFiltersResponse :: Int -> ListVocabularyFiltersResponse
newListVocabularyFiltersResponse Int
pHttpStatus_ =
ListVocabularyFiltersResponse' :: Maybe Text
-> Maybe [VocabularyFilterInfo]
-> Int
-> ListVocabularyFiltersResponse
ListVocabularyFiltersResponse'
{ $sel:nextToken:ListVocabularyFiltersResponse' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:vocabularyFilters:ListVocabularyFiltersResponse' :: Maybe [VocabularyFilterInfo]
vocabularyFilters = Maybe [VocabularyFilterInfo]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListVocabularyFiltersResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listVocabularyFiltersResponse_nextToken :: Lens.Lens' ListVocabularyFiltersResponse (Prelude.Maybe Prelude.Text)
listVocabularyFiltersResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListVocabularyFiltersResponse -> f ListVocabularyFiltersResponse
listVocabularyFiltersResponse_nextToken = (ListVocabularyFiltersResponse -> Maybe Text)
-> (ListVocabularyFiltersResponse
-> Maybe Text -> ListVocabularyFiltersResponse)
-> Lens
ListVocabularyFiltersResponse
ListVocabularyFiltersResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListVocabularyFiltersResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListVocabularyFiltersResponse' :: ListVocabularyFiltersResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListVocabularyFiltersResponse
s@ListVocabularyFiltersResponse' {} Maybe Text
a -> ListVocabularyFiltersResponse
s {$sel:nextToken:ListVocabularyFiltersResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListVocabularyFiltersResponse)
listVocabularyFiltersResponse_vocabularyFilters :: Lens.Lens' ListVocabularyFiltersResponse (Prelude.Maybe [VocabularyFilterInfo])
listVocabularyFiltersResponse_vocabularyFilters :: (Maybe [VocabularyFilterInfo] -> f (Maybe [VocabularyFilterInfo]))
-> ListVocabularyFiltersResponse -> f ListVocabularyFiltersResponse
listVocabularyFiltersResponse_vocabularyFilters = (ListVocabularyFiltersResponse -> Maybe [VocabularyFilterInfo])
-> (ListVocabularyFiltersResponse
-> Maybe [VocabularyFilterInfo] -> ListVocabularyFiltersResponse)
-> Lens
ListVocabularyFiltersResponse
ListVocabularyFiltersResponse
(Maybe [VocabularyFilterInfo])
(Maybe [VocabularyFilterInfo])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListVocabularyFiltersResponse' {Maybe [VocabularyFilterInfo]
vocabularyFilters :: Maybe [VocabularyFilterInfo]
$sel:vocabularyFilters:ListVocabularyFiltersResponse' :: ListVocabularyFiltersResponse -> Maybe [VocabularyFilterInfo]
vocabularyFilters} -> Maybe [VocabularyFilterInfo]
vocabularyFilters) (\s :: ListVocabularyFiltersResponse
s@ListVocabularyFiltersResponse' {} Maybe [VocabularyFilterInfo]
a -> ListVocabularyFiltersResponse
s {$sel:vocabularyFilters:ListVocabularyFiltersResponse' :: Maybe [VocabularyFilterInfo]
vocabularyFilters = Maybe [VocabularyFilterInfo]
a} :: ListVocabularyFiltersResponse) ((Maybe [VocabularyFilterInfo] -> f (Maybe [VocabularyFilterInfo]))
-> ListVocabularyFiltersResponse
-> f ListVocabularyFiltersResponse)
-> ((Maybe [VocabularyFilterInfo]
-> f (Maybe [VocabularyFilterInfo]))
-> Maybe [VocabularyFilterInfo]
-> f (Maybe [VocabularyFilterInfo]))
-> (Maybe [VocabularyFilterInfo]
-> f (Maybe [VocabularyFilterInfo]))
-> ListVocabularyFiltersResponse
-> f ListVocabularyFiltersResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[VocabularyFilterInfo]
[VocabularyFilterInfo]
[VocabularyFilterInfo]
[VocabularyFilterInfo]
-> Iso
(Maybe [VocabularyFilterInfo])
(Maybe [VocabularyFilterInfo])
(Maybe [VocabularyFilterInfo])
(Maybe [VocabularyFilterInfo])
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
[VocabularyFilterInfo]
[VocabularyFilterInfo]
[VocabularyFilterInfo]
[VocabularyFilterInfo]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listVocabularyFiltersResponse_httpStatus :: Lens.Lens' ListVocabularyFiltersResponse Prelude.Int
listVocabularyFiltersResponse_httpStatus :: (Int -> f Int)
-> ListVocabularyFiltersResponse -> f ListVocabularyFiltersResponse
listVocabularyFiltersResponse_httpStatus = (ListVocabularyFiltersResponse -> Int)
-> (ListVocabularyFiltersResponse
-> Int -> ListVocabularyFiltersResponse)
-> Lens
ListVocabularyFiltersResponse ListVocabularyFiltersResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListVocabularyFiltersResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListVocabularyFiltersResponse' :: ListVocabularyFiltersResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListVocabularyFiltersResponse
s@ListVocabularyFiltersResponse' {} Int
a -> ListVocabularyFiltersResponse
s {$sel:httpStatus:ListVocabularyFiltersResponse' :: Int
httpStatus = Int
a} :: ListVocabularyFiltersResponse)
instance Prelude.NFData ListVocabularyFiltersResponse