{-# 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.ListAccountIntegrations
(
ListAccountIntegrations (..),
newListAccountIntegrations,
listAccountIntegrations_nextToken,
listAccountIntegrations_maxResults,
listAccountIntegrations_uri,
ListAccountIntegrationsResponse (..),
newListAccountIntegrationsResponse,
listAccountIntegrationsResponse_items,
listAccountIntegrationsResponse_nextToken,
listAccountIntegrationsResponse_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 ListAccountIntegrations = ListAccountIntegrations'
{
ListAccountIntegrations -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListAccountIntegrations -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListAccountIntegrations -> Text
uri :: Prelude.Text
}
deriving (ListAccountIntegrations -> ListAccountIntegrations -> Bool
(ListAccountIntegrations -> ListAccountIntegrations -> Bool)
-> (ListAccountIntegrations -> ListAccountIntegrations -> Bool)
-> Eq ListAccountIntegrations
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListAccountIntegrations -> ListAccountIntegrations -> Bool
$c/= :: ListAccountIntegrations -> ListAccountIntegrations -> Bool
== :: ListAccountIntegrations -> ListAccountIntegrations -> Bool
$c== :: ListAccountIntegrations -> ListAccountIntegrations -> Bool
Prelude.Eq, ReadPrec [ListAccountIntegrations]
ReadPrec ListAccountIntegrations
Int -> ReadS ListAccountIntegrations
ReadS [ListAccountIntegrations]
(Int -> ReadS ListAccountIntegrations)
-> ReadS [ListAccountIntegrations]
-> ReadPrec ListAccountIntegrations
-> ReadPrec [ListAccountIntegrations]
-> Read ListAccountIntegrations
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListAccountIntegrations]
$creadListPrec :: ReadPrec [ListAccountIntegrations]
readPrec :: ReadPrec ListAccountIntegrations
$creadPrec :: ReadPrec ListAccountIntegrations
readList :: ReadS [ListAccountIntegrations]
$creadList :: ReadS [ListAccountIntegrations]
readsPrec :: Int -> ReadS ListAccountIntegrations
$creadsPrec :: Int -> ReadS ListAccountIntegrations
Prelude.Read, Int -> ListAccountIntegrations -> ShowS
[ListAccountIntegrations] -> ShowS
ListAccountIntegrations -> String
(Int -> ListAccountIntegrations -> ShowS)
-> (ListAccountIntegrations -> String)
-> ([ListAccountIntegrations] -> ShowS)
-> Show ListAccountIntegrations
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListAccountIntegrations] -> ShowS
$cshowList :: [ListAccountIntegrations] -> ShowS
show :: ListAccountIntegrations -> String
$cshow :: ListAccountIntegrations -> String
showsPrec :: Int -> ListAccountIntegrations -> ShowS
$cshowsPrec :: Int -> ListAccountIntegrations -> ShowS
Prelude.Show, (forall x.
ListAccountIntegrations -> Rep ListAccountIntegrations x)
-> (forall x.
Rep ListAccountIntegrations x -> ListAccountIntegrations)
-> Generic ListAccountIntegrations
forall x. Rep ListAccountIntegrations x -> ListAccountIntegrations
forall x. ListAccountIntegrations -> Rep ListAccountIntegrations x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListAccountIntegrations x -> ListAccountIntegrations
$cfrom :: forall x. ListAccountIntegrations -> Rep ListAccountIntegrations x
Prelude.Generic)
newListAccountIntegrations ::
Prelude.Text ->
ListAccountIntegrations
newListAccountIntegrations :: Text -> ListAccountIntegrations
newListAccountIntegrations Text
pUri_ =
ListAccountIntegrations' :: Maybe Text -> Maybe Natural -> Text -> ListAccountIntegrations
ListAccountIntegrations'
{ $sel:nextToken:ListAccountIntegrations' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListAccountIntegrations' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:uri:ListAccountIntegrations' :: Text
uri = Text
pUri_
}
listAccountIntegrations_nextToken :: Lens.Lens' ListAccountIntegrations (Prelude.Maybe Prelude.Text)
listAccountIntegrations_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListAccountIntegrations -> f ListAccountIntegrations
listAccountIntegrations_nextToken = (ListAccountIntegrations -> Maybe Text)
-> (ListAccountIntegrations
-> Maybe Text -> ListAccountIntegrations)
-> Lens
ListAccountIntegrations
ListAccountIntegrations
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAccountIntegrations' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListAccountIntegrations' :: ListAccountIntegrations -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListAccountIntegrations
s@ListAccountIntegrations' {} Maybe Text
a -> ListAccountIntegrations
s {$sel:nextToken:ListAccountIntegrations' :: Maybe Text
nextToken = Maybe Text
a} :: ListAccountIntegrations)
listAccountIntegrations_maxResults :: Lens.Lens' ListAccountIntegrations (Prelude.Maybe Prelude.Natural)
listAccountIntegrations_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListAccountIntegrations -> f ListAccountIntegrations
listAccountIntegrations_maxResults = (ListAccountIntegrations -> Maybe Natural)
-> (ListAccountIntegrations
-> Maybe Natural -> ListAccountIntegrations)
-> Lens
ListAccountIntegrations
ListAccountIntegrations
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAccountIntegrations' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListAccountIntegrations' :: ListAccountIntegrations -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListAccountIntegrations
s@ListAccountIntegrations' {} Maybe Natural
a -> ListAccountIntegrations
s {$sel:maxResults:ListAccountIntegrations' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListAccountIntegrations)
listAccountIntegrations_uri :: Lens.Lens' ListAccountIntegrations Prelude.Text
listAccountIntegrations_uri :: (Text -> f Text)
-> ListAccountIntegrations -> f ListAccountIntegrations
listAccountIntegrations_uri = (ListAccountIntegrations -> Text)
-> (ListAccountIntegrations -> Text -> ListAccountIntegrations)
-> Lens ListAccountIntegrations ListAccountIntegrations Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAccountIntegrations' {Text
uri :: Text
$sel:uri:ListAccountIntegrations' :: ListAccountIntegrations -> Text
uri} -> Text
uri) (\s :: ListAccountIntegrations
s@ListAccountIntegrations' {} Text
a -> ListAccountIntegrations
s {$sel:uri:ListAccountIntegrations' :: Text
uri = Text
a} :: ListAccountIntegrations)
instance Core.AWSRequest ListAccountIntegrations where
type
AWSResponse ListAccountIntegrations =
ListAccountIntegrationsResponse
request :: ListAccountIntegrations -> Request ListAccountIntegrations
request = Service
-> ListAccountIntegrations -> Request ListAccountIntegrations
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy ListAccountIntegrations
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListAccountIntegrations)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListAccountIntegrations))
-> Logger
-> Service
-> Proxy ListAccountIntegrations
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListAccountIntegrations)))
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 [ListIntegrationItem]
-> Maybe Text -> Int -> ListAccountIntegrationsResponse
ListAccountIntegrationsResponse'
(Maybe [ListIntegrationItem]
-> Maybe Text -> Int -> ListAccountIntegrationsResponse)
-> Either String (Maybe [ListIntegrationItem])
-> Either
String (Maybe Text -> Int -> ListAccountIntegrationsResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object
-> Text -> Either String (Maybe (Maybe [ListIntegrationItem]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Items" Either String (Maybe (Maybe [ListIntegrationItem]))
-> Maybe [ListIntegrationItem]
-> Either String (Maybe [ListIntegrationItem])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [ListIntegrationItem]
forall a. Monoid a => a
Prelude.mempty)
Either
String (Maybe Text -> Int -> ListAccountIntegrationsResponse)
-> Either String (Maybe Text)
-> Either String (Int -> ListAccountIntegrationsResponse)
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 -> ListAccountIntegrationsResponse)
-> Either String Int
-> Either String ListAccountIntegrationsResponse
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 ListAccountIntegrations
instance Prelude.NFData ListAccountIntegrations
instance Core.ToHeaders ListAccountIntegrations where
toHeaders :: ListAccountIntegrations -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListAccountIntegrations -> 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.ToJSON ListAccountIntegrations where
toJSON :: ListAccountIntegrations -> Value
toJSON ListAccountIntegrations' {Maybe Natural
Maybe Text
Text
uri :: Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:uri:ListAccountIntegrations' :: ListAccountIntegrations -> Text
$sel:maxResults:ListAccountIntegrations' :: ListAccountIntegrations -> Maybe Natural
$sel:nextToken:ListAccountIntegrations' :: ListAccountIntegrations -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"Uri" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
uri)]
)
instance Core.ToPath ListAccountIntegrations where
toPath :: ListAccountIntegrations -> ByteString
toPath = ByteString -> ListAccountIntegrations -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/integrations"
instance Core.ToQuery ListAccountIntegrations where
toQuery :: ListAccountIntegrations -> QueryString
toQuery ListAccountIntegrations' {Maybe Natural
Maybe Text
Text
uri :: Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:uri:ListAccountIntegrations' :: ListAccountIntegrations -> Text
$sel:maxResults:ListAccountIntegrations' :: ListAccountIntegrations -> Maybe Natural
$sel:nextToken:ListAccountIntegrations' :: ListAccountIntegrations -> 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 ListAccountIntegrationsResponse = ListAccountIntegrationsResponse'
{
ListAccountIntegrationsResponse -> Maybe [ListIntegrationItem]
items :: Prelude.Maybe [ListIntegrationItem],
ListAccountIntegrationsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListAccountIntegrationsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListAccountIntegrationsResponse
-> ListAccountIntegrationsResponse -> Bool
(ListAccountIntegrationsResponse
-> ListAccountIntegrationsResponse -> Bool)
-> (ListAccountIntegrationsResponse
-> ListAccountIntegrationsResponse -> Bool)
-> Eq ListAccountIntegrationsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListAccountIntegrationsResponse
-> ListAccountIntegrationsResponse -> Bool
$c/= :: ListAccountIntegrationsResponse
-> ListAccountIntegrationsResponse -> Bool
== :: ListAccountIntegrationsResponse
-> ListAccountIntegrationsResponse -> Bool
$c== :: ListAccountIntegrationsResponse
-> ListAccountIntegrationsResponse -> Bool
Prelude.Eq, ReadPrec [ListAccountIntegrationsResponse]
ReadPrec ListAccountIntegrationsResponse
Int -> ReadS ListAccountIntegrationsResponse
ReadS [ListAccountIntegrationsResponse]
(Int -> ReadS ListAccountIntegrationsResponse)
-> ReadS [ListAccountIntegrationsResponse]
-> ReadPrec ListAccountIntegrationsResponse
-> ReadPrec [ListAccountIntegrationsResponse]
-> Read ListAccountIntegrationsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListAccountIntegrationsResponse]
$creadListPrec :: ReadPrec [ListAccountIntegrationsResponse]
readPrec :: ReadPrec ListAccountIntegrationsResponse
$creadPrec :: ReadPrec ListAccountIntegrationsResponse
readList :: ReadS [ListAccountIntegrationsResponse]
$creadList :: ReadS [ListAccountIntegrationsResponse]
readsPrec :: Int -> ReadS ListAccountIntegrationsResponse
$creadsPrec :: Int -> ReadS ListAccountIntegrationsResponse
Prelude.Read, Int -> ListAccountIntegrationsResponse -> ShowS
[ListAccountIntegrationsResponse] -> ShowS
ListAccountIntegrationsResponse -> String
(Int -> ListAccountIntegrationsResponse -> ShowS)
-> (ListAccountIntegrationsResponse -> String)
-> ([ListAccountIntegrationsResponse] -> ShowS)
-> Show ListAccountIntegrationsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListAccountIntegrationsResponse] -> ShowS
$cshowList :: [ListAccountIntegrationsResponse] -> ShowS
show :: ListAccountIntegrationsResponse -> String
$cshow :: ListAccountIntegrationsResponse -> String
showsPrec :: Int -> ListAccountIntegrationsResponse -> ShowS
$cshowsPrec :: Int -> ListAccountIntegrationsResponse -> ShowS
Prelude.Show, (forall x.
ListAccountIntegrationsResponse
-> Rep ListAccountIntegrationsResponse x)
-> (forall x.
Rep ListAccountIntegrationsResponse x
-> ListAccountIntegrationsResponse)
-> Generic ListAccountIntegrationsResponse
forall x.
Rep ListAccountIntegrationsResponse x
-> ListAccountIntegrationsResponse
forall x.
ListAccountIntegrationsResponse
-> Rep ListAccountIntegrationsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListAccountIntegrationsResponse x
-> ListAccountIntegrationsResponse
$cfrom :: forall x.
ListAccountIntegrationsResponse
-> Rep ListAccountIntegrationsResponse x
Prelude.Generic)
newListAccountIntegrationsResponse ::
Prelude.Int ->
ListAccountIntegrationsResponse
newListAccountIntegrationsResponse :: Int -> ListAccountIntegrationsResponse
newListAccountIntegrationsResponse Int
pHttpStatus_ =
ListAccountIntegrationsResponse' :: Maybe [ListIntegrationItem]
-> Maybe Text -> Int -> ListAccountIntegrationsResponse
ListAccountIntegrationsResponse'
{ $sel:items:ListAccountIntegrationsResponse' :: Maybe [ListIntegrationItem]
items =
Maybe [ListIntegrationItem]
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListAccountIntegrationsResponse' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListAccountIntegrationsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listAccountIntegrationsResponse_items :: Lens.Lens' ListAccountIntegrationsResponse (Prelude.Maybe [ListIntegrationItem])
listAccountIntegrationsResponse_items :: (Maybe [ListIntegrationItem] -> f (Maybe [ListIntegrationItem]))
-> ListAccountIntegrationsResponse
-> f ListAccountIntegrationsResponse
listAccountIntegrationsResponse_items = (ListAccountIntegrationsResponse -> Maybe [ListIntegrationItem])
-> (ListAccountIntegrationsResponse
-> Maybe [ListIntegrationItem] -> ListAccountIntegrationsResponse)
-> Lens
ListAccountIntegrationsResponse
ListAccountIntegrationsResponse
(Maybe [ListIntegrationItem])
(Maybe [ListIntegrationItem])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAccountIntegrationsResponse' {Maybe [ListIntegrationItem]
items :: Maybe [ListIntegrationItem]
$sel:items:ListAccountIntegrationsResponse' :: ListAccountIntegrationsResponse -> Maybe [ListIntegrationItem]
items} -> Maybe [ListIntegrationItem]
items) (\s :: ListAccountIntegrationsResponse
s@ListAccountIntegrationsResponse' {} Maybe [ListIntegrationItem]
a -> ListAccountIntegrationsResponse
s {$sel:items:ListAccountIntegrationsResponse' :: Maybe [ListIntegrationItem]
items = Maybe [ListIntegrationItem]
a} :: ListAccountIntegrationsResponse) ((Maybe [ListIntegrationItem] -> f (Maybe [ListIntegrationItem]))
-> ListAccountIntegrationsResponse
-> f ListAccountIntegrationsResponse)
-> ((Maybe [ListIntegrationItem]
-> f (Maybe [ListIntegrationItem]))
-> Maybe [ListIntegrationItem] -> f (Maybe [ListIntegrationItem]))
-> (Maybe [ListIntegrationItem] -> f (Maybe [ListIntegrationItem]))
-> ListAccountIntegrationsResponse
-> f ListAccountIntegrationsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[ListIntegrationItem]
[ListIntegrationItem]
[ListIntegrationItem]
[ListIntegrationItem]
-> Iso
(Maybe [ListIntegrationItem])
(Maybe [ListIntegrationItem])
(Maybe [ListIntegrationItem])
(Maybe [ListIntegrationItem])
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
[ListIntegrationItem]
[ListIntegrationItem]
[ListIntegrationItem]
[ListIntegrationItem]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listAccountIntegrationsResponse_nextToken :: Lens.Lens' ListAccountIntegrationsResponse (Prelude.Maybe Prelude.Text)
listAccountIntegrationsResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListAccountIntegrationsResponse
-> f ListAccountIntegrationsResponse
listAccountIntegrationsResponse_nextToken = (ListAccountIntegrationsResponse -> Maybe Text)
-> (ListAccountIntegrationsResponse
-> Maybe Text -> ListAccountIntegrationsResponse)
-> Lens
ListAccountIntegrationsResponse
ListAccountIntegrationsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAccountIntegrationsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListAccountIntegrationsResponse' :: ListAccountIntegrationsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListAccountIntegrationsResponse
s@ListAccountIntegrationsResponse' {} Maybe Text
a -> ListAccountIntegrationsResponse
s {$sel:nextToken:ListAccountIntegrationsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListAccountIntegrationsResponse)
listAccountIntegrationsResponse_httpStatus :: Lens.Lens' ListAccountIntegrationsResponse Prelude.Int
listAccountIntegrationsResponse_httpStatus :: (Int -> f Int)
-> ListAccountIntegrationsResponse
-> f ListAccountIntegrationsResponse
listAccountIntegrationsResponse_httpStatus = (ListAccountIntegrationsResponse -> Int)
-> (ListAccountIntegrationsResponse
-> Int -> ListAccountIntegrationsResponse)
-> Lens
ListAccountIntegrationsResponse
ListAccountIntegrationsResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListAccountIntegrationsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListAccountIntegrationsResponse' :: ListAccountIntegrationsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListAccountIntegrationsResponse
s@ListAccountIntegrationsResponse' {} Int
a -> ListAccountIntegrationsResponse
s {$sel:httpStatus:ListAccountIntegrationsResponse' :: Int
httpStatus = Int
a} :: ListAccountIntegrationsResponse)
instance
Prelude.NFData
ListAccountIntegrationsResponse