{-# 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.AuditManager.ListKeywordsForDataSource
(
ListKeywordsForDataSource (..),
newListKeywordsForDataSource,
listKeywordsForDataSource_nextToken,
listKeywordsForDataSource_maxResults,
listKeywordsForDataSource_source,
ListKeywordsForDataSourceResponse (..),
newListKeywordsForDataSourceResponse,
listKeywordsForDataSourceResponse_nextToken,
listKeywordsForDataSourceResponse_keywords,
listKeywordsForDataSourceResponse_httpStatus,
)
where
import Amazonka.AuditManager.Types
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
data ListKeywordsForDataSource = ListKeywordsForDataSource'
{
ListKeywordsForDataSource -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListKeywordsForDataSource -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListKeywordsForDataSource -> SourceType
source :: SourceType
}
deriving (ListKeywordsForDataSource -> ListKeywordsForDataSource -> Bool
(ListKeywordsForDataSource -> ListKeywordsForDataSource -> Bool)
-> (ListKeywordsForDataSource -> ListKeywordsForDataSource -> Bool)
-> Eq ListKeywordsForDataSource
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListKeywordsForDataSource -> ListKeywordsForDataSource -> Bool
$c/= :: ListKeywordsForDataSource -> ListKeywordsForDataSource -> Bool
== :: ListKeywordsForDataSource -> ListKeywordsForDataSource -> Bool
$c== :: ListKeywordsForDataSource -> ListKeywordsForDataSource -> Bool
Prelude.Eq, ReadPrec [ListKeywordsForDataSource]
ReadPrec ListKeywordsForDataSource
Int -> ReadS ListKeywordsForDataSource
ReadS [ListKeywordsForDataSource]
(Int -> ReadS ListKeywordsForDataSource)
-> ReadS [ListKeywordsForDataSource]
-> ReadPrec ListKeywordsForDataSource
-> ReadPrec [ListKeywordsForDataSource]
-> Read ListKeywordsForDataSource
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListKeywordsForDataSource]
$creadListPrec :: ReadPrec [ListKeywordsForDataSource]
readPrec :: ReadPrec ListKeywordsForDataSource
$creadPrec :: ReadPrec ListKeywordsForDataSource
readList :: ReadS [ListKeywordsForDataSource]
$creadList :: ReadS [ListKeywordsForDataSource]
readsPrec :: Int -> ReadS ListKeywordsForDataSource
$creadsPrec :: Int -> ReadS ListKeywordsForDataSource
Prelude.Read, Int -> ListKeywordsForDataSource -> ShowS
[ListKeywordsForDataSource] -> ShowS
ListKeywordsForDataSource -> String
(Int -> ListKeywordsForDataSource -> ShowS)
-> (ListKeywordsForDataSource -> String)
-> ([ListKeywordsForDataSource] -> ShowS)
-> Show ListKeywordsForDataSource
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListKeywordsForDataSource] -> ShowS
$cshowList :: [ListKeywordsForDataSource] -> ShowS
show :: ListKeywordsForDataSource -> String
$cshow :: ListKeywordsForDataSource -> String
showsPrec :: Int -> ListKeywordsForDataSource -> ShowS
$cshowsPrec :: Int -> ListKeywordsForDataSource -> ShowS
Prelude.Show, (forall x.
ListKeywordsForDataSource -> Rep ListKeywordsForDataSource x)
-> (forall x.
Rep ListKeywordsForDataSource x -> ListKeywordsForDataSource)
-> Generic ListKeywordsForDataSource
forall x.
Rep ListKeywordsForDataSource x -> ListKeywordsForDataSource
forall x.
ListKeywordsForDataSource -> Rep ListKeywordsForDataSource x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListKeywordsForDataSource x -> ListKeywordsForDataSource
$cfrom :: forall x.
ListKeywordsForDataSource -> Rep ListKeywordsForDataSource x
Prelude.Generic)
newListKeywordsForDataSource ::
SourceType ->
ListKeywordsForDataSource
newListKeywordsForDataSource :: SourceType -> ListKeywordsForDataSource
newListKeywordsForDataSource SourceType
pSource_ =
ListKeywordsForDataSource' :: Maybe Text
-> Maybe Natural -> SourceType -> ListKeywordsForDataSource
ListKeywordsForDataSource'
{ $sel:nextToken:ListKeywordsForDataSource' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListKeywordsForDataSource' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:source:ListKeywordsForDataSource' :: SourceType
source = SourceType
pSource_
}
listKeywordsForDataSource_nextToken :: Lens.Lens' ListKeywordsForDataSource (Prelude.Maybe Prelude.Text)
listKeywordsForDataSource_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListKeywordsForDataSource -> f ListKeywordsForDataSource
listKeywordsForDataSource_nextToken = (ListKeywordsForDataSource -> Maybe Text)
-> (ListKeywordsForDataSource
-> Maybe Text -> ListKeywordsForDataSource)
-> Lens
ListKeywordsForDataSource
ListKeywordsForDataSource
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListKeywordsForDataSource' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListKeywordsForDataSource' :: ListKeywordsForDataSource -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListKeywordsForDataSource
s@ListKeywordsForDataSource' {} Maybe Text
a -> ListKeywordsForDataSource
s {$sel:nextToken:ListKeywordsForDataSource' :: Maybe Text
nextToken = Maybe Text
a} :: ListKeywordsForDataSource)
listKeywordsForDataSource_maxResults :: Lens.Lens' ListKeywordsForDataSource (Prelude.Maybe Prelude.Natural)
listKeywordsForDataSource_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListKeywordsForDataSource -> f ListKeywordsForDataSource
listKeywordsForDataSource_maxResults = (ListKeywordsForDataSource -> Maybe Natural)
-> (ListKeywordsForDataSource
-> Maybe Natural -> ListKeywordsForDataSource)
-> Lens
ListKeywordsForDataSource
ListKeywordsForDataSource
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListKeywordsForDataSource' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListKeywordsForDataSource' :: ListKeywordsForDataSource -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListKeywordsForDataSource
s@ListKeywordsForDataSource' {} Maybe Natural
a -> ListKeywordsForDataSource
s {$sel:maxResults:ListKeywordsForDataSource' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListKeywordsForDataSource)
listKeywordsForDataSource_source :: Lens.Lens' ListKeywordsForDataSource SourceType
listKeywordsForDataSource_source :: (SourceType -> f SourceType)
-> ListKeywordsForDataSource -> f ListKeywordsForDataSource
listKeywordsForDataSource_source = (ListKeywordsForDataSource -> SourceType)
-> (ListKeywordsForDataSource
-> SourceType -> ListKeywordsForDataSource)
-> Lens
ListKeywordsForDataSource
ListKeywordsForDataSource
SourceType
SourceType
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListKeywordsForDataSource' {SourceType
source :: SourceType
$sel:source:ListKeywordsForDataSource' :: ListKeywordsForDataSource -> SourceType
source} -> SourceType
source) (\s :: ListKeywordsForDataSource
s@ListKeywordsForDataSource' {} SourceType
a -> ListKeywordsForDataSource
s {$sel:source:ListKeywordsForDataSource' :: SourceType
source = SourceType
a} :: ListKeywordsForDataSource)
instance Core.AWSRequest ListKeywordsForDataSource where
type
AWSResponse ListKeywordsForDataSource =
ListKeywordsForDataSourceResponse
request :: ListKeywordsForDataSource -> Request ListKeywordsForDataSource
request = Service
-> ListKeywordsForDataSource -> Request ListKeywordsForDataSource
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy ListKeywordsForDataSource
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListKeywordsForDataSource)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListKeywordsForDataSource))
-> Logger
-> Service
-> Proxy ListKeywordsForDataSource
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListKeywordsForDataSource)))
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 -> ListKeywordsForDataSourceResponse
ListKeywordsForDataSourceResponse'
(Maybe Text
-> Maybe [Text] -> Int -> ListKeywordsForDataSourceResponse)
-> Either String (Maybe Text)
-> Either
String (Maybe [Text] -> Int -> ListKeywordsForDataSourceResponse)
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 [Text] -> Int -> ListKeywordsForDataSourceResponse)
-> Either String (Maybe [Text])
-> Either String (Int -> ListKeywordsForDataSourceResponse)
forall (f :: * -> *) a b. Applicative f => 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
"keywords" 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 (Int -> ListKeywordsForDataSourceResponse)
-> Either String Int
-> Either String ListKeywordsForDataSourceResponse
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 ListKeywordsForDataSource
instance Prelude.NFData ListKeywordsForDataSource
instance Core.ToHeaders ListKeywordsForDataSource where
toHeaders :: ListKeywordsForDataSource -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListKeywordsForDataSource -> 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.ToPath ListKeywordsForDataSource where
toPath :: ListKeywordsForDataSource -> ByteString
toPath = ByteString -> ListKeywordsForDataSource -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/dataSourceKeywords"
instance Core.ToQuery ListKeywordsForDataSource where
toQuery :: ListKeywordsForDataSource -> QueryString
toQuery ListKeywordsForDataSource' {Maybe Natural
Maybe Text
SourceType
source :: SourceType
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:source:ListKeywordsForDataSource' :: ListKeywordsForDataSource -> SourceType
$sel:maxResults:ListKeywordsForDataSource' :: ListKeywordsForDataSource -> Maybe Natural
$sel:nextToken:ListKeywordsForDataSource' :: ListKeywordsForDataSource -> Maybe Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"nextToken" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
nextToken,
ByteString
"maxResults" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
maxResults,
ByteString
"source" ByteString -> SourceType -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: SourceType
source
]
data ListKeywordsForDataSourceResponse = ListKeywordsForDataSourceResponse'
{
ListKeywordsForDataSourceResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListKeywordsForDataSourceResponse -> Maybe [Text]
keywords :: Prelude.Maybe [Prelude.Text],
ListKeywordsForDataSourceResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListKeywordsForDataSourceResponse
-> ListKeywordsForDataSourceResponse -> Bool
(ListKeywordsForDataSourceResponse
-> ListKeywordsForDataSourceResponse -> Bool)
-> (ListKeywordsForDataSourceResponse
-> ListKeywordsForDataSourceResponse -> Bool)
-> Eq ListKeywordsForDataSourceResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListKeywordsForDataSourceResponse
-> ListKeywordsForDataSourceResponse -> Bool
$c/= :: ListKeywordsForDataSourceResponse
-> ListKeywordsForDataSourceResponse -> Bool
== :: ListKeywordsForDataSourceResponse
-> ListKeywordsForDataSourceResponse -> Bool
$c== :: ListKeywordsForDataSourceResponse
-> ListKeywordsForDataSourceResponse -> Bool
Prelude.Eq, ReadPrec [ListKeywordsForDataSourceResponse]
ReadPrec ListKeywordsForDataSourceResponse
Int -> ReadS ListKeywordsForDataSourceResponse
ReadS [ListKeywordsForDataSourceResponse]
(Int -> ReadS ListKeywordsForDataSourceResponse)
-> ReadS [ListKeywordsForDataSourceResponse]
-> ReadPrec ListKeywordsForDataSourceResponse
-> ReadPrec [ListKeywordsForDataSourceResponse]
-> Read ListKeywordsForDataSourceResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListKeywordsForDataSourceResponse]
$creadListPrec :: ReadPrec [ListKeywordsForDataSourceResponse]
readPrec :: ReadPrec ListKeywordsForDataSourceResponse
$creadPrec :: ReadPrec ListKeywordsForDataSourceResponse
readList :: ReadS [ListKeywordsForDataSourceResponse]
$creadList :: ReadS [ListKeywordsForDataSourceResponse]
readsPrec :: Int -> ReadS ListKeywordsForDataSourceResponse
$creadsPrec :: Int -> ReadS ListKeywordsForDataSourceResponse
Prelude.Read, Int -> ListKeywordsForDataSourceResponse -> ShowS
[ListKeywordsForDataSourceResponse] -> ShowS
ListKeywordsForDataSourceResponse -> String
(Int -> ListKeywordsForDataSourceResponse -> ShowS)
-> (ListKeywordsForDataSourceResponse -> String)
-> ([ListKeywordsForDataSourceResponse] -> ShowS)
-> Show ListKeywordsForDataSourceResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListKeywordsForDataSourceResponse] -> ShowS
$cshowList :: [ListKeywordsForDataSourceResponse] -> ShowS
show :: ListKeywordsForDataSourceResponse -> String
$cshow :: ListKeywordsForDataSourceResponse -> String
showsPrec :: Int -> ListKeywordsForDataSourceResponse -> ShowS
$cshowsPrec :: Int -> ListKeywordsForDataSourceResponse -> ShowS
Prelude.Show, (forall x.
ListKeywordsForDataSourceResponse
-> Rep ListKeywordsForDataSourceResponse x)
-> (forall x.
Rep ListKeywordsForDataSourceResponse x
-> ListKeywordsForDataSourceResponse)
-> Generic ListKeywordsForDataSourceResponse
forall x.
Rep ListKeywordsForDataSourceResponse x
-> ListKeywordsForDataSourceResponse
forall x.
ListKeywordsForDataSourceResponse
-> Rep ListKeywordsForDataSourceResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListKeywordsForDataSourceResponse x
-> ListKeywordsForDataSourceResponse
$cfrom :: forall x.
ListKeywordsForDataSourceResponse
-> Rep ListKeywordsForDataSourceResponse x
Prelude.Generic)
newListKeywordsForDataSourceResponse ::
Prelude.Int ->
ListKeywordsForDataSourceResponse
newListKeywordsForDataSourceResponse :: Int -> ListKeywordsForDataSourceResponse
newListKeywordsForDataSourceResponse Int
pHttpStatus_ =
ListKeywordsForDataSourceResponse' :: Maybe Text
-> Maybe [Text] -> Int -> ListKeywordsForDataSourceResponse
ListKeywordsForDataSourceResponse'
{ $sel:nextToken:ListKeywordsForDataSourceResponse' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:keywords:ListKeywordsForDataSourceResponse' :: Maybe [Text]
keywords = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListKeywordsForDataSourceResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listKeywordsForDataSourceResponse_nextToken :: Lens.Lens' ListKeywordsForDataSourceResponse (Prelude.Maybe Prelude.Text)
listKeywordsForDataSourceResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListKeywordsForDataSourceResponse
-> f ListKeywordsForDataSourceResponse
listKeywordsForDataSourceResponse_nextToken = (ListKeywordsForDataSourceResponse -> Maybe Text)
-> (ListKeywordsForDataSourceResponse
-> Maybe Text -> ListKeywordsForDataSourceResponse)
-> Lens
ListKeywordsForDataSourceResponse
ListKeywordsForDataSourceResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListKeywordsForDataSourceResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListKeywordsForDataSourceResponse' :: ListKeywordsForDataSourceResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListKeywordsForDataSourceResponse
s@ListKeywordsForDataSourceResponse' {} Maybe Text
a -> ListKeywordsForDataSourceResponse
s {$sel:nextToken:ListKeywordsForDataSourceResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListKeywordsForDataSourceResponse)
listKeywordsForDataSourceResponse_keywords :: Lens.Lens' ListKeywordsForDataSourceResponse (Prelude.Maybe [Prelude.Text])
listKeywordsForDataSourceResponse_keywords :: (Maybe [Text] -> f (Maybe [Text]))
-> ListKeywordsForDataSourceResponse
-> f ListKeywordsForDataSourceResponse
listKeywordsForDataSourceResponse_keywords = (ListKeywordsForDataSourceResponse -> Maybe [Text])
-> (ListKeywordsForDataSourceResponse
-> Maybe [Text] -> ListKeywordsForDataSourceResponse)
-> Lens
ListKeywordsForDataSourceResponse
ListKeywordsForDataSourceResponse
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListKeywordsForDataSourceResponse' {Maybe [Text]
keywords :: Maybe [Text]
$sel:keywords:ListKeywordsForDataSourceResponse' :: ListKeywordsForDataSourceResponse -> Maybe [Text]
keywords} -> Maybe [Text]
keywords) (\s :: ListKeywordsForDataSourceResponse
s@ListKeywordsForDataSourceResponse' {} Maybe [Text]
a -> ListKeywordsForDataSourceResponse
s {$sel:keywords:ListKeywordsForDataSourceResponse' :: Maybe [Text]
keywords = Maybe [Text]
a} :: ListKeywordsForDataSourceResponse) ((Maybe [Text] -> f (Maybe [Text]))
-> ListKeywordsForDataSourceResponse
-> f ListKeywordsForDataSourceResponse)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> ListKeywordsForDataSourceResponse
-> f ListKeywordsForDataSourceResponse
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
listKeywordsForDataSourceResponse_httpStatus :: Lens.Lens' ListKeywordsForDataSourceResponse Prelude.Int
listKeywordsForDataSourceResponse_httpStatus :: (Int -> f Int)
-> ListKeywordsForDataSourceResponse
-> f ListKeywordsForDataSourceResponse
listKeywordsForDataSourceResponse_httpStatus = (ListKeywordsForDataSourceResponse -> Int)
-> (ListKeywordsForDataSourceResponse
-> Int -> ListKeywordsForDataSourceResponse)
-> Lens
ListKeywordsForDataSourceResponse
ListKeywordsForDataSourceResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListKeywordsForDataSourceResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListKeywordsForDataSourceResponse' :: ListKeywordsForDataSourceResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListKeywordsForDataSourceResponse
s@ListKeywordsForDataSourceResponse' {} Int
a -> ListKeywordsForDataSourceResponse
s {$sel:httpStatus:ListKeywordsForDataSourceResponse' :: Int
httpStatus = Int
a} :: ListKeywordsForDataSourceResponse)
instance
Prelude.NFData
ListKeywordsForDataSourceResponse