{-# 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.CustomerProfiles.ListProfileObjectTypes
(
ListProfileObjectTypes (..),
newListProfileObjectTypes,
listProfileObjectTypes_nextToken,
listProfileObjectTypes_maxResults,
listProfileObjectTypes_domainName,
ListProfileObjectTypesResponse (..),
newListProfileObjectTypesResponse,
listProfileObjectTypesResponse_items,
listProfileObjectTypesResponse_nextToken,
listProfileObjectTypesResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.CustomerProfiles.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 ListProfileObjectTypes = ListProfileObjectTypes'
{
ListProfileObjectTypes -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListProfileObjectTypes -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListProfileObjectTypes -> Text
domainName :: Prelude.Text
}
deriving (ListProfileObjectTypes -> ListProfileObjectTypes -> Bool
(ListProfileObjectTypes -> ListProfileObjectTypes -> Bool)
-> (ListProfileObjectTypes -> ListProfileObjectTypes -> Bool)
-> Eq ListProfileObjectTypes
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListProfileObjectTypes -> ListProfileObjectTypes -> Bool
$c/= :: ListProfileObjectTypes -> ListProfileObjectTypes -> Bool
== :: ListProfileObjectTypes -> ListProfileObjectTypes -> Bool
$c== :: ListProfileObjectTypes -> ListProfileObjectTypes -> Bool
Prelude.Eq, ReadPrec [ListProfileObjectTypes]
ReadPrec ListProfileObjectTypes
Int -> ReadS ListProfileObjectTypes
ReadS [ListProfileObjectTypes]
(Int -> ReadS ListProfileObjectTypes)
-> ReadS [ListProfileObjectTypes]
-> ReadPrec ListProfileObjectTypes
-> ReadPrec [ListProfileObjectTypes]
-> Read ListProfileObjectTypes
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListProfileObjectTypes]
$creadListPrec :: ReadPrec [ListProfileObjectTypes]
readPrec :: ReadPrec ListProfileObjectTypes
$creadPrec :: ReadPrec ListProfileObjectTypes
readList :: ReadS [ListProfileObjectTypes]
$creadList :: ReadS [ListProfileObjectTypes]
readsPrec :: Int -> ReadS ListProfileObjectTypes
$creadsPrec :: Int -> ReadS ListProfileObjectTypes
Prelude.Read, Int -> ListProfileObjectTypes -> ShowS
[ListProfileObjectTypes] -> ShowS
ListProfileObjectTypes -> String
(Int -> ListProfileObjectTypes -> ShowS)
-> (ListProfileObjectTypes -> String)
-> ([ListProfileObjectTypes] -> ShowS)
-> Show ListProfileObjectTypes
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListProfileObjectTypes] -> ShowS
$cshowList :: [ListProfileObjectTypes] -> ShowS
show :: ListProfileObjectTypes -> String
$cshow :: ListProfileObjectTypes -> String
showsPrec :: Int -> ListProfileObjectTypes -> ShowS
$cshowsPrec :: Int -> ListProfileObjectTypes -> ShowS
Prelude.Show, (forall x. ListProfileObjectTypes -> Rep ListProfileObjectTypes x)
-> (forall x.
Rep ListProfileObjectTypes x -> ListProfileObjectTypes)
-> Generic ListProfileObjectTypes
forall x. Rep ListProfileObjectTypes x -> ListProfileObjectTypes
forall x. ListProfileObjectTypes -> Rep ListProfileObjectTypes x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListProfileObjectTypes x -> ListProfileObjectTypes
$cfrom :: forall x. ListProfileObjectTypes -> Rep ListProfileObjectTypes x
Prelude.Generic)
newListProfileObjectTypes ::
Prelude.Text ->
ListProfileObjectTypes
newListProfileObjectTypes :: Text -> ListProfileObjectTypes
newListProfileObjectTypes Text
pDomainName_ =
ListProfileObjectTypes' :: Maybe Text -> Maybe Natural -> Text -> ListProfileObjectTypes
ListProfileObjectTypes'
{ $sel:nextToken:ListProfileObjectTypes' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListProfileObjectTypes' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:domainName:ListProfileObjectTypes' :: Text
domainName = Text
pDomainName_
}
listProfileObjectTypes_nextToken :: Lens.Lens' ListProfileObjectTypes (Prelude.Maybe Prelude.Text)
listProfileObjectTypes_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListProfileObjectTypes -> f ListProfileObjectTypes
listProfileObjectTypes_nextToken = (ListProfileObjectTypes -> Maybe Text)
-> (ListProfileObjectTypes -> Maybe Text -> ListProfileObjectTypes)
-> Lens
ListProfileObjectTypes
ListProfileObjectTypes
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListProfileObjectTypes' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListProfileObjectTypes' :: ListProfileObjectTypes -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListProfileObjectTypes
s@ListProfileObjectTypes' {} Maybe Text
a -> ListProfileObjectTypes
s {$sel:nextToken:ListProfileObjectTypes' :: Maybe Text
nextToken = Maybe Text
a} :: ListProfileObjectTypes)
listProfileObjectTypes_maxResults :: Lens.Lens' ListProfileObjectTypes (Prelude.Maybe Prelude.Natural)
listProfileObjectTypes_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListProfileObjectTypes -> f ListProfileObjectTypes
listProfileObjectTypes_maxResults = (ListProfileObjectTypes -> Maybe Natural)
-> (ListProfileObjectTypes
-> Maybe Natural -> ListProfileObjectTypes)
-> Lens
ListProfileObjectTypes
ListProfileObjectTypes
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListProfileObjectTypes' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListProfileObjectTypes' :: ListProfileObjectTypes -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListProfileObjectTypes
s@ListProfileObjectTypes' {} Maybe Natural
a -> ListProfileObjectTypes
s {$sel:maxResults:ListProfileObjectTypes' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListProfileObjectTypes)
listProfileObjectTypes_domainName :: Lens.Lens' ListProfileObjectTypes Prelude.Text
listProfileObjectTypes_domainName :: (Text -> f Text)
-> ListProfileObjectTypes -> f ListProfileObjectTypes
listProfileObjectTypes_domainName = (ListProfileObjectTypes -> Text)
-> (ListProfileObjectTypes -> Text -> ListProfileObjectTypes)
-> Lens ListProfileObjectTypes ListProfileObjectTypes Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListProfileObjectTypes' {Text
domainName :: Text
$sel:domainName:ListProfileObjectTypes' :: ListProfileObjectTypes -> Text
domainName} -> Text
domainName) (\s :: ListProfileObjectTypes
s@ListProfileObjectTypes' {} Text
a -> ListProfileObjectTypes
s {$sel:domainName:ListProfileObjectTypes' :: Text
domainName = Text
a} :: ListProfileObjectTypes)
instance Core.AWSRequest ListProfileObjectTypes where
type
AWSResponse ListProfileObjectTypes =
ListProfileObjectTypesResponse
request :: ListProfileObjectTypes -> Request ListProfileObjectTypes
request = Service -> ListProfileObjectTypes -> Request ListProfileObjectTypes
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy ListProfileObjectTypes
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListProfileObjectTypes)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListProfileObjectTypes))
-> Logger
-> Service
-> Proxy ListProfileObjectTypes
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListProfileObjectTypes)))
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 [ListProfileObjectTypeItem]
-> Maybe Text -> Int -> ListProfileObjectTypesResponse
ListProfileObjectTypesResponse'
(Maybe [ListProfileObjectTypeItem]
-> Maybe Text -> Int -> ListProfileObjectTypesResponse)
-> Either String (Maybe [ListProfileObjectTypeItem])
-> Either
String (Maybe Text -> Int -> ListProfileObjectTypesResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object
-> Text
-> Either String (Maybe (Maybe [ListProfileObjectTypeItem]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Items" Either String (Maybe (Maybe [ListProfileObjectTypeItem]))
-> Maybe [ListProfileObjectTypeItem]
-> Either String (Maybe [ListProfileObjectTypeItem])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [ListProfileObjectTypeItem]
forall a. Monoid a => a
Prelude.mempty)
Either String (Maybe Text -> Int -> ListProfileObjectTypesResponse)
-> Either String (Maybe Text)
-> Either String (Int -> ListProfileObjectTypesResponse)
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 (Int -> ListProfileObjectTypesResponse)
-> Either String Int
-> Either String ListProfileObjectTypesResponse
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 ListProfileObjectTypes
instance Prelude.NFData ListProfileObjectTypes
instance Core.ToHeaders ListProfileObjectTypes where
toHeaders :: ListProfileObjectTypes -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListProfileObjectTypes -> 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 ListProfileObjectTypes where
toPath :: ListProfileObjectTypes -> ByteString
toPath ListProfileObjectTypes' {Maybe Natural
Maybe Text
Text
domainName :: Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:domainName:ListProfileObjectTypes' :: ListProfileObjectTypes -> Text
$sel:maxResults:ListProfileObjectTypes' :: ListProfileObjectTypes -> Maybe Natural
$sel:nextToken:ListProfileObjectTypes' :: ListProfileObjectTypes -> Maybe Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ByteString
"/domains/", Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
domainName, ByteString
"/object-types"]
instance Core.ToQuery ListProfileObjectTypes where
toQuery :: ListProfileObjectTypes -> QueryString
toQuery ListProfileObjectTypes' {Maybe Natural
Maybe Text
Text
domainName :: Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:domainName:ListProfileObjectTypes' :: ListProfileObjectTypes -> Text
$sel:maxResults:ListProfileObjectTypes' :: ListProfileObjectTypes -> Maybe Natural
$sel:nextToken:ListProfileObjectTypes' :: ListProfileObjectTypes -> Maybe Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"next-token" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
nextToken,
ByteString
"max-results" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
maxResults
]
data ListProfileObjectTypesResponse = ListProfileObjectTypesResponse'
{
ListProfileObjectTypesResponse -> Maybe [ListProfileObjectTypeItem]
items :: Prelude.Maybe [ListProfileObjectTypeItem],
ListProfileObjectTypesResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListProfileObjectTypesResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListProfileObjectTypesResponse
-> ListProfileObjectTypesResponse -> Bool
(ListProfileObjectTypesResponse
-> ListProfileObjectTypesResponse -> Bool)
-> (ListProfileObjectTypesResponse
-> ListProfileObjectTypesResponse -> Bool)
-> Eq ListProfileObjectTypesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListProfileObjectTypesResponse
-> ListProfileObjectTypesResponse -> Bool
$c/= :: ListProfileObjectTypesResponse
-> ListProfileObjectTypesResponse -> Bool
== :: ListProfileObjectTypesResponse
-> ListProfileObjectTypesResponse -> Bool
$c== :: ListProfileObjectTypesResponse
-> ListProfileObjectTypesResponse -> Bool
Prelude.Eq, ReadPrec [ListProfileObjectTypesResponse]
ReadPrec ListProfileObjectTypesResponse
Int -> ReadS ListProfileObjectTypesResponse
ReadS [ListProfileObjectTypesResponse]
(Int -> ReadS ListProfileObjectTypesResponse)
-> ReadS [ListProfileObjectTypesResponse]
-> ReadPrec ListProfileObjectTypesResponse
-> ReadPrec [ListProfileObjectTypesResponse]
-> Read ListProfileObjectTypesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListProfileObjectTypesResponse]
$creadListPrec :: ReadPrec [ListProfileObjectTypesResponse]
readPrec :: ReadPrec ListProfileObjectTypesResponse
$creadPrec :: ReadPrec ListProfileObjectTypesResponse
readList :: ReadS [ListProfileObjectTypesResponse]
$creadList :: ReadS [ListProfileObjectTypesResponse]
readsPrec :: Int -> ReadS ListProfileObjectTypesResponse
$creadsPrec :: Int -> ReadS ListProfileObjectTypesResponse
Prelude.Read, Int -> ListProfileObjectTypesResponse -> ShowS
[ListProfileObjectTypesResponse] -> ShowS
ListProfileObjectTypesResponse -> String
(Int -> ListProfileObjectTypesResponse -> ShowS)
-> (ListProfileObjectTypesResponse -> String)
-> ([ListProfileObjectTypesResponse] -> ShowS)
-> Show ListProfileObjectTypesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListProfileObjectTypesResponse] -> ShowS
$cshowList :: [ListProfileObjectTypesResponse] -> ShowS
show :: ListProfileObjectTypesResponse -> String
$cshow :: ListProfileObjectTypesResponse -> String
showsPrec :: Int -> ListProfileObjectTypesResponse -> ShowS
$cshowsPrec :: Int -> ListProfileObjectTypesResponse -> ShowS
Prelude.Show, (forall x.
ListProfileObjectTypesResponse
-> Rep ListProfileObjectTypesResponse x)
-> (forall x.
Rep ListProfileObjectTypesResponse x
-> ListProfileObjectTypesResponse)
-> Generic ListProfileObjectTypesResponse
forall x.
Rep ListProfileObjectTypesResponse x
-> ListProfileObjectTypesResponse
forall x.
ListProfileObjectTypesResponse
-> Rep ListProfileObjectTypesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListProfileObjectTypesResponse x
-> ListProfileObjectTypesResponse
$cfrom :: forall x.
ListProfileObjectTypesResponse
-> Rep ListProfileObjectTypesResponse x
Prelude.Generic)
newListProfileObjectTypesResponse ::
Prelude.Int ->
ListProfileObjectTypesResponse
newListProfileObjectTypesResponse :: Int -> ListProfileObjectTypesResponse
newListProfileObjectTypesResponse Int
pHttpStatus_ =
ListProfileObjectTypesResponse' :: Maybe [ListProfileObjectTypeItem]
-> Maybe Text -> Int -> ListProfileObjectTypesResponse
ListProfileObjectTypesResponse'
{ $sel:items:ListProfileObjectTypesResponse' :: Maybe [ListProfileObjectTypeItem]
items =
Maybe [ListProfileObjectTypeItem]
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListProfileObjectTypesResponse' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListProfileObjectTypesResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listProfileObjectTypesResponse_items :: Lens.Lens' ListProfileObjectTypesResponse (Prelude.Maybe [ListProfileObjectTypeItem])
listProfileObjectTypesResponse_items :: (Maybe [ListProfileObjectTypeItem]
-> f (Maybe [ListProfileObjectTypeItem]))
-> ListProfileObjectTypesResponse
-> f ListProfileObjectTypesResponse
listProfileObjectTypesResponse_items = (ListProfileObjectTypesResponse
-> Maybe [ListProfileObjectTypeItem])
-> (ListProfileObjectTypesResponse
-> Maybe [ListProfileObjectTypeItem]
-> ListProfileObjectTypesResponse)
-> Lens
ListProfileObjectTypesResponse
ListProfileObjectTypesResponse
(Maybe [ListProfileObjectTypeItem])
(Maybe [ListProfileObjectTypeItem])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListProfileObjectTypesResponse' {Maybe [ListProfileObjectTypeItem]
items :: Maybe [ListProfileObjectTypeItem]
$sel:items:ListProfileObjectTypesResponse' :: ListProfileObjectTypesResponse -> Maybe [ListProfileObjectTypeItem]
items} -> Maybe [ListProfileObjectTypeItem]
items) (\s :: ListProfileObjectTypesResponse
s@ListProfileObjectTypesResponse' {} Maybe [ListProfileObjectTypeItem]
a -> ListProfileObjectTypesResponse
s {$sel:items:ListProfileObjectTypesResponse' :: Maybe [ListProfileObjectTypeItem]
items = Maybe [ListProfileObjectTypeItem]
a} :: ListProfileObjectTypesResponse) ((Maybe [ListProfileObjectTypeItem]
-> f (Maybe [ListProfileObjectTypeItem]))
-> ListProfileObjectTypesResponse
-> f ListProfileObjectTypesResponse)
-> ((Maybe [ListProfileObjectTypeItem]
-> f (Maybe [ListProfileObjectTypeItem]))
-> Maybe [ListProfileObjectTypeItem]
-> f (Maybe [ListProfileObjectTypeItem]))
-> (Maybe [ListProfileObjectTypeItem]
-> f (Maybe [ListProfileObjectTypeItem]))
-> ListProfileObjectTypesResponse
-> f ListProfileObjectTypesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[ListProfileObjectTypeItem]
[ListProfileObjectTypeItem]
[ListProfileObjectTypeItem]
[ListProfileObjectTypeItem]
-> Iso
(Maybe [ListProfileObjectTypeItem])
(Maybe [ListProfileObjectTypeItem])
(Maybe [ListProfileObjectTypeItem])
(Maybe [ListProfileObjectTypeItem])
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
[ListProfileObjectTypeItem]
[ListProfileObjectTypeItem]
[ListProfileObjectTypeItem]
[ListProfileObjectTypeItem]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listProfileObjectTypesResponse_nextToken :: Lens.Lens' ListProfileObjectTypesResponse (Prelude.Maybe Prelude.Text)
listProfileObjectTypesResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListProfileObjectTypesResponse
-> f ListProfileObjectTypesResponse
listProfileObjectTypesResponse_nextToken = (ListProfileObjectTypesResponse -> Maybe Text)
-> (ListProfileObjectTypesResponse
-> Maybe Text -> ListProfileObjectTypesResponse)
-> Lens
ListProfileObjectTypesResponse
ListProfileObjectTypesResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListProfileObjectTypesResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListProfileObjectTypesResponse' :: ListProfileObjectTypesResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListProfileObjectTypesResponse
s@ListProfileObjectTypesResponse' {} Maybe Text
a -> ListProfileObjectTypesResponse
s {$sel:nextToken:ListProfileObjectTypesResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListProfileObjectTypesResponse)
listProfileObjectTypesResponse_httpStatus :: Lens.Lens' ListProfileObjectTypesResponse Prelude.Int
listProfileObjectTypesResponse_httpStatus :: (Int -> f Int)
-> ListProfileObjectTypesResponse
-> f ListProfileObjectTypesResponse
listProfileObjectTypesResponse_httpStatus = (ListProfileObjectTypesResponse -> Int)
-> (ListProfileObjectTypesResponse
-> Int -> ListProfileObjectTypesResponse)
-> Lens
ListProfileObjectTypesResponse
ListProfileObjectTypesResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListProfileObjectTypesResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListProfileObjectTypesResponse' :: ListProfileObjectTypesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListProfileObjectTypesResponse
s@ListProfileObjectTypesResponse' {} Int
a -> ListProfileObjectTypesResponse
s {$sel:httpStatus:ListProfileObjectTypesResponse' :: Int
httpStatus = Int
a} :: ListProfileObjectTypesResponse)
instance
Prelude.NFData
ListProfileObjectTypesResponse