{-# 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.LakeFormation.ListLFTags
(
ListLFTags (..),
newListLFTags,
listLFTags_resourceShareType,
listLFTags_catalogId,
listLFTags_nextToken,
listLFTags_maxResults,
ListLFTagsResponse (..),
newListLFTagsResponse,
listLFTagsResponse_nextToken,
listLFTagsResponse_lFTags,
listLFTagsResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.LakeFormation.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 ListLFTags = ListLFTags'
{
ListLFTags -> Maybe ResourceShareType
resourceShareType :: Prelude.Maybe ResourceShareType,
ListLFTags -> Maybe Text
catalogId :: Prelude.Maybe Prelude.Text,
ListLFTags -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListLFTags -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural
}
deriving (ListLFTags -> ListLFTags -> Bool
(ListLFTags -> ListLFTags -> Bool)
-> (ListLFTags -> ListLFTags -> Bool) -> Eq ListLFTags
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListLFTags -> ListLFTags -> Bool
$c/= :: ListLFTags -> ListLFTags -> Bool
== :: ListLFTags -> ListLFTags -> Bool
$c== :: ListLFTags -> ListLFTags -> Bool
Prelude.Eq, ReadPrec [ListLFTags]
ReadPrec ListLFTags
Int -> ReadS ListLFTags
ReadS [ListLFTags]
(Int -> ReadS ListLFTags)
-> ReadS [ListLFTags]
-> ReadPrec ListLFTags
-> ReadPrec [ListLFTags]
-> Read ListLFTags
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListLFTags]
$creadListPrec :: ReadPrec [ListLFTags]
readPrec :: ReadPrec ListLFTags
$creadPrec :: ReadPrec ListLFTags
readList :: ReadS [ListLFTags]
$creadList :: ReadS [ListLFTags]
readsPrec :: Int -> ReadS ListLFTags
$creadsPrec :: Int -> ReadS ListLFTags
Prelude.Read, Int -> ListLFTags -> ShowS
[ListLFTags] -> ShowS
ListLFTags -> String
(Int -> ListLFTags -> ShowS)
-> (ListLFTags -> String)
-> ([ListLFTags] -> ShowS)
-> Show ListLFTags
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListLFTags] -> ShowS
$cshowList :: [ListLFTags] -> ShowS
show :: ListLFTags -> String
$cshow :: ListLFTags -> String
showsPrec :: Int -> ListLFTags -> ShowS
$cshowsPrec :: Int -> ListLFTags -> ShowS
Prelude.Show, (forall x. ListLFTags -> Rep ListLFTags x)
-> (forall x. Rep ListLFTags x -> ListLFTags) -> Generic ListLFTags
forall x. Rep ListLFTags x -> ListLFTags
forall x. ListLFTags -> Rep ListLFTags x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListLFTags x -> ListLFTags
$cfrom :: forall x. ListLFTags -> Rep ListLFTags x
Prelude.Generic)
newListLFTags ::
ListLFTags
newListLFTags :: ListLFTags
newListLFTags =
ListLFTags' :: Maybe ResourceShareType
-> Maybe Text -> Maybe Text -> Maybe Natural -> ListLFTags
ListLFTags'
{ $sel:resourceShareType:ListLFTags' :: Maybe ResourceShareType
resourceShareType = Maybe ResourceShareType
forall a. Maybe a
Prelude.Nothing,
$sel:catalogId:ListLFTags' :: Maybe Text
catalogId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListLFTags' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListLFTags' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing
}
listLFTags_resourceShareType :: Lens.Lens' ListLFTags (Prelude.Maybe ResourceShareType)
listLFTags_resourceShareType :: (Maybe ResourceShareType -> f (Maybe ResourceShareType))
-> ListLFTags -> f ListLFTags
listLFTags_resourceShareType = (ListLFTags -> Maybe ResourceShareType)
-> (ListLFTags -> Maybe ResourceShareType -> ListLFTags)
-> Lens
ListLFTags
ListLFTags
(Maybe ResourceShareType)
(Maybe ResourceShareType)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListLFTags' {Maybe ResourceShareType
resourceShareType :: Maybe ResourceShareType
$sel:resourceShareType:ListLFTags' :: ListLFTags -> Maybe ResourceShareType
resourceShareType} -> Maybe ResourceShareType
resourceShareType) (\s :: ListLFTags
s@ListLFTags' {} Maybe ResourceShareType
a -> ListLFTags
s {$sel:resourceShareType:ListLFTags' :: Maybe ResourceShareType
resourceShareType = Maybe ResourceShareType
a} :: ListLFTags)
listLFTags_catalogId :: Lens.Lens' ListLFTags (Prelude.Maybe Prelude.Text)
listLFTags_catalogId :: (Maybe Text -> f (Maybe Text)) -> ListLFTags -> f ListLFTags
listLFTags_catalogId = (ListLFTags -> Maybe Text)
-> (ListLFTags -> Maybe Text -> ListLFTags)
-> Lens ListLFTags ListLFTags (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListLFTags' {Maybe Text
catalogId :: Maybe Text
$sel:catalogId:ListLFTags' :: ListLFTags -> Maybe Text
catalogId} -> Maybe Text
catalogId) (\s :: ListLFTags
s@ListLFTags' {} Maybe Text
a -> ListLFTags
s {$sel:catalogId:ListLFTags' :: Maybe Text
catalogId = Maybe Text
a} :: ListLFTags)
listLFTags_nextToken :: Lens.Lens' ListLFTags (Prelude.Maybe Prelude.Text)
listLFTags_nextToken :: (Maybe Text -> f (Maybe Text)) -> ListLFTags -> f ListLFTags
listLFTags_nextToken = (ListLFTags -> Maybe Text)
-> (ListLFTags -> Maybe Text -> ListLFTags)
-> Lens ListLFTags ListLFTags (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListLFTags' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListLFTags' :: ListLFTags -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListLFTags
s@ListLFTags' {} Maybe Text
a -> ListLFTags
s {$sel:nextToken:ListLFTags' :: Maybe Text
nextToken = Maybe Text
a} :: ListLFTags)
listLFTags_maxResults :: Lens.Lens' ListLFTags (Prelude.Maybe Prelude.Natural)
listLFTags_maxResults :: (Maybe Natural -> f (Maybe Natural)) -> ListLFTags -> f ListLFTags
listLFTags_maxResults = (ListLFTags -> Maybe Natural)
-> (ListLFTags -> Maybe Natural -> ListLFTags)
-> Lens ListLFTags ListLFTags (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListLFTags' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListLFTags' :: ListLFTags -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListLFTags
s@ListLFTags' {} Maybe Natural
a -> ListLFTags
s {$sel:maxResults:ListLFTags' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListLFTags)
instance Core.AWSRequest ListLFTags where
type AWSResponse ListLFTags = ListLFTagsResponse
request :: ListLFTags -> Request ListLFTags
request = Service -> ListLFTags -> Request ListLFTags
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy ListLFTags
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse ListLFTags)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListLFTags))
-> Logger
-> Service
-> Proxy ListLFTags
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse ListLFTags)))
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 (NonEmpty LFTagPair) -> Int -> ListLFTagsResponse
ListLFTagsResponse'
(Maybe Text
-> Maybe (NonEmpty LFTagPair) -> Int -> ListLFTagsResponse)
-> Either String (Maybe Text)
-> Either
String (Maybe (NonEmpty LFTagPair) -> Int -> ListLFTagsResponse)
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 (NonEmpty LFTagPair) -> Int -> ListLFTagsResponse)
-> Either String (Maybe (NonEmpty LFTagPair))
-> Either String (Int -> ListLFTagsResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (NonEmpty LFTagPair))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"LFTags")
Either String (Int -> ListLFTagsResponse)
-> Either String Int -> Either String ListLFTagsResponse
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 ListLFTags
instance Prelude.NFData ListLFTags
instance Core.ToHeaders ListLFTags where
toHeaders :: ListLFTags -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListLFTags -> 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
"AWSLakeFormation.ListLFTags" ::
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 ListLFTags where
toJSON :: ListLFTags -> Value
toJSON ListLFTags' {Maybe Natural
Maybe Text
Maybe ResourceShareType
maxResults :: Maybe Natural
nextToken :: Maybe Text
catalogId :: Maybe Text
resourceShareType :: Maybe ResourceShareType
$sel:maxResults:ListLFTags' :: ListLFTags -> Maybe Natural
$sel:nextToken:ListLFTags' :: ListLFTags -> Maybe Text
$sel:catalogId:ListLFTags' :: ListLFTags -> Maybe Text
$sel:resourceShareType:ListLFTags' :: ListLFTags -> Maybe ResourceShareType
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"ResourceShareType" Text -> ResourceShareType -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(ResourceShareType -> Pair)
-> Maybe ResourceShareType -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ResourceShareType
resourceShareType,
(Text
"CatalogId" 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
catalogId,
(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 ListLFTags where
toPath :: ListLFTags -> ByteString
toPath = ByteString -> ListLFTags -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery ListLFTags where
toQuery :: ListLFTags -> QueryString
toQuery = QueryString -> ListLFTags -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data ListLFTagsResponse = ListLFTagsResponse'
{
ListLFTagsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListLFTagsResponse -> Maybe (NonEmpty LFTagPair)
lFTags :: Prelude.Maybe (Prelude.NonEmpty LFTagPair),
ListLFTagsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListLFTagsResponse -> ListLFTagsResponse -> Bool
(ListLFTagsResponse -> ListLFTagsResponse -> Bool)
-> (ListLFTagsResponse -> ListLFTagsResponse -> Bool)
-> Eq ListLFTagsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListLFTagsResponse -> ListLFTagsResponse -> Bool
$c/= :: ListLFTagsResponse -> ListLFTagsResponse -> Bool
== :: ListLFTagsResponse -> ListLFTagsResponse -> Bool
$c== :: ListLFTagsResponse -> ListLFTagsResponse -> Bool
Prelude.Eq, ReadPrec [ListLFTagsResponse]
ReadPrec ListLFTagsResponse
Int -> ReadS ListLFTagsResponse
ReadS [ListLFTagsResponse]
(Int -> ReadS ListLFTagsResponse)
-> ReadS [ListLFTagsResponse]
-> ReadPrec ListLFTagsResponse
-> ReadPrec [ListLFTagsResponse]
-> Read ListLFTagsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListLFTagsResponse]
$creadListPrec :: ReadPrec [ListLFTagsResponse]
readPrec :: ReadPrec ListLFTagsResponse
$creadPrec :: ReadPrec ListLFTagsResponse
readList :: ReadS [ListLFTagsResponse]
$creadList :: ReadS [ListLFTagsResponse]
readsPrec :: Int -> ReadS ListLFTagsResponse
$creadsPrec :: Int -> ReadS ListLFTagsResponse
Prelude.Read, Int -> ListLFTagsResponse -> ShowS
[ListLFTagsResponse] -> ShowS
ListLFTagsResponse -> String
(Int -> ListLFTagsResponse -> ShowS)
-> (ListLFTagsResponse -> String)
-> ([ListLFTagsResponse] -> ShowS)
-> Show ListLFTagsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListLFTagsResponse] -> ShowS
$cshowList :: [ListLFTagsResponse] -> ShowS
show :: ListLFTagsResponse -> String
$cshow :: ListLFTagsResponse -> String
showsPrec :: Int -> ListLFTagsResponse -> ShowS
$cshowsPrec :: Int -> ListLFTagsResponse -> ShowS
Prelude.Show, (forall x. ListLFTagsResponse -> Rep ListLFTagsResponse x)
-> (forall x. Rep ListLFTagsResponse x -> ListLFTagsResponse)
-> Generic ListLFTagsResponse
forall x. Rep ListLFTagsResponse x -> ListLFTagsResponse
forall x. ListLFTagsResponse -> Rep ListLFTagsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListLFTagsResponse x -> ListLFTagsResponse
$cfrom :: forall x. ListLFTagsResponse -> Rep ListLFTagsResponse x
Prelude.Generic)
newListLFTagsResponse ::
Prelude.Int ->
ListLFTagsResponse
newListLFTagsResponse :: Int -> ListLFTagsResponse
newListLFTagsResponse Int
pHttpStatus_ =
ListLFTagsResponse' :: Maybe Text
-> Maybe (NonEmpty LFTagPair) -> Int -> ListLFTagsResponse
ListLFTagsResponse'
{ $sel:nextToken:ListLFTagsResponse' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:lFTags:ListLFTagsResponse' :: Maybe (NonEmpty LFTagPair)
lFTags = Maybe (NonEmpty LFTagPair)
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListLFTagsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listLFTagsResponse_nextToken :: Lens.Lens' ListLFTagsResponse (Prelude.Maybe Prelude.Text)
listLFTagsResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListLFTagsResponse -> f ListLFTagsResponse
listLFTagsResponse_nextToken = (ListLFTagsResponse -> Maybe Text)
-> (ListLFTagsResponse -> Maybe Text -> ListLFTagsResponse)
-> Lens
ListLFTagsResponse ListLFTagsResponse (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListLFTagsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListLFTagsResponse' :: ListLFTagsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListLFTagsResponse
s@ListLFTagsResponse' {} Maybe Text
a -> ListLFTagsResponse
s {$sel:nextToken:ListLFTagsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListLFTagsResponse)
listLFTagsResponse_lFTags :: Lens.Lens' ListLFTagsResponse (Prelude.Maybe (Prelude.NonEmpty LFTagPair))
listLFTagsResponse_lFTags :: (Maybe (NonEmpty LFTagPair) -> f (Maybe (NonEmpty LFTagPair)))
-> ListLFTagsResponse -> f ListLFTagsResponse
listLFTagsResponse_lFTags = (ListLFTagsResponse -> Maybe (NonEmpty LFTagPair))
-> (ListLFTagsResponse
-> Maybe (NonEmpty LFTagPair) -> ListLFTagsResponse)
-> Lens
ListLFTagsResponse
ListLFTagsResponse
(Maybe (NonEmpty LFTagPair))
(Maybe (NonEmpty LFTagPair))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListLFTagsResponse' {Maybe (NonEmpty LFTagPair)
lFTags :: Maybe (NonEmpty LFTagPair)
$sel:lFTags:ListLFTagsResponse' :: ListLFTagsResponse -> Maybe (NonEmpty LFTagPair)
lFTags} -> Maybe (NonEmpty LFTagPair)
lFTags) (\s :: ListLFTagsResponse
s@ListLFTagsResponse' {} Maybe (NonEmpty LFTagPair)
a -> ListLFTagsResponse
s {$sel:lFTags:ListLFTagsResponse' :: Maybe (NonEmpty LFTagPair)
lFTags = Maybe (NonEmpty LFTagPair)
a} :: ListLFTagsResponse) ((Maybe (NonEmpty LFTagPair) -> f (Maybe (NonEmpty LFTagPair)))
-> ListLFTagsResponse -> f ListLFTagsResponse)
-> ((Maybe (NonEmpty LFTagPair) -> f (Maybe (NonEmpty LFTagPair)))
-> Maybe (NonEmpty LFTagPair) -> f (Maybe (NonEmpty LFTagPair)))
-> (Maybe (NonEmpty LFTagPair) -> f (Maybe (NonEmpty LFTagPair)))
-> ListLFTagsResponse
-> f ListLFTagsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(NonEmpty LFTagPair)
(NonEmpty LFTagPair)
(NonEmpty LFTagPair)
(NonEmpty LFTagPair)
-> Iso
(Maybe (NonEmpty LFTagPair))
(Maybe (NonEmpty LFTagPair))
(Maybe (NonEmpty LFTagPair))
(Maybe (NonEmpty LFTagPair))
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 LFTagPair)
(NonEmpty LFTagPair)
(NonEmpty LFTagPair)
(NonEmpty LFTagPair)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listLFTagsResponse_httpStatus :: Lens.Lens' ListLFTagsResponse Prelude.Int
listLFTagsResponse_httpStatus :: (Int -> f Int) -> ListLFTagsResponse -> f ListLFTagsResponse
listLFTagsResponse_httpStatus = (ListLFTagsResponse -> Int)
-> (ListLFTagsResponse -> Int -> ListLFTagsResponse)
-> Lens ListLFTagsResponse ListLFTagsResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListLFTagsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListLFTagsResponse' :: ListLFTagsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListLFTagsResponse
s@ListLFTagsResponse' {} Int
a -> ListLFTagsResponse
s {$sel:httpStatus:ListLFTagsResponse' :: Int
httpStatus = Int
a} :: ListLFTagsResponse)
instance Prelude.NFData ListLFTagsResponse