{-# 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.Connect.ListIntegrationAssociations
(
ListIntegrationAssociations (..),
newListIntegrationAssociations,
listIntegrationAssociations_integrationType,
listIntegrationAssociations_maxResults,
listIntegrationAssociations_nextToken,
listIntegrationAssociations_instanceId,
ListIntegrationAssociationsResponse (..),
newListIntegrationAssociationsResponse,
listIntegrationAssociationsResponse_integrationAssociationSummaryList,
listIntegrationAssociationsResponse_nextToken,
listIntegrationAssociationsResponse_httpStatus,
)
where
import Amazonka.Connect.Types
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data ListIntegrationAssociations = ListIntegrationAssociations'
{
ListIntegrationAssociations -> Maybe IntegrationType
integrationType :: Prelude.Maybe IntegrationType,
ListIntegrationAssociations -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListIntegrationAssociations -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListIntegrationAssociations -> Text
instanceId :: Prelude.Text
}
deriving (ListIntegrationAssociations -> ListIntegrationAssociations -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListIntegrationAssociations -> ListIntegrationAssociations -> Bool
$c/= :: ListIntegrationAssociations -> ListIntegrationAssociations -> Bool
== :: ListIntegrationAssociations -> ListIntegrationAssociations -> Bool
$c== :: ListIntegrationAssociations -> ListIntegrationAssociations -> Bool
Prelude.Eq, ReadPrec [ListIntegrationAssociations]
ReadPrec ListIntegrationAssociations
Int -> ReadS ListIntegrationAssociations
ReadS [ListIntegrationAssociations]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListIntegrationAssociations]
$creadListPrec :: ReadPrec [ListIntegrationAssociations]
readPrec :: ReadPrec ListIntegrationAssociations
$creadPrec :: ReadPrec ListIntegrationAssociations
readList :: ReadS [ListIntegrationAssociations]
$creadList :: ReadS [ListIntegrationAssociations]
readsPrec :: Int -> ReadS ListIntegrationAssociations
$creadsPrec :: Int -> ReadS ListIntegrationAssociations
Prelude.Read, Int -> ListIntegrationAssociations -> ShowS
[ListIntegrationAssociations] -> ShowS
ListIntegrationAssociations -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListIntegrationAssociations] -> ShowS
$cshowList :: [ListIntegrationAssociations] -> ShowS
show :: ListIntegrationAssociations -> String
$cshow :: ListIntegrationAssociations -> String
showsPrec :: Int -> ListIntegrationAssociations -> ShowS
$cshowsPrec :: Int -> ListIntegrationAssociations -> ShowS
Prelude.Show, forall x.
Rep ListIntegrationAssociations x -> ListIntegrationAssociations
forall x.
ListIntegrationAssociations -> Rep ListIntegrationAssociations x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListIntegrationAssociations x -> ListIntegrationAssociations
$cfrom :: forall x.
ListIntegrationAssociations -> Rep ListIntegrationAssociations x
Prelude.Generic)
newListIntegrationAssociations ::
Prelude.Text ->
ListIntegrationAssociations
newListIntegrationAssociations :: Text -> ListIntegrationAssociations
newListIntegrationAssociations Text
pInstanceId_ =
ListIntegrationAssociations'
{ $sel:integrationType:ListIntegrationAssociations' :: Maybe IntegrationType
integrationType =
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListIntegrationAssociations' :: Maybe Natural
maxResults = forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListIntegrationAssociations' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
$sel:instanceId:ListIntegrationAssociations' :: Text
instanceId = Text
pInstanceId_
}
listIntegrationAssociations_integrationType :: Lens.Lens' ListIntegrationAssociations (Prelude.Maybe IntegrationType)
listIntegrationAssociations_integrationType :: Lens' ListIntegrationAssociations (Maybe IntegrationType)
listIntegrationAssociations_integrationType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListIntegrationAssociations' {Maybe IntegrationType
integrationType :: Maybe IntegrationType
$sel:integrationType:ListIntegrationAssociations' :: ListIntegrationAssociations -> Maybe IntegrationType
integrationType} -> Maybe IntegrationType
integrationType) (\s :: ListIntegrationAssociations
s@ListIntegrationAssociations' {} Maybe IntegrationType
a -> ListIntegrationAssociations
s {$sel:integrationType:ListIntegrationAssociations' :: Maybe IntegrationType
integrationType = Maybe IntegrationType
a} :: ListIntegrationAssociations)
listIntegrationAssociations_maxResults :: Lens.Lens' ListIntegrationAssociations (Prelude.Maybe Prelude.Natural)
listIntegrationAssociations_maxResults :: Lens' ListIntegrationAssociations (Maybe Natural)
listIntegrationAssociations_maxResults = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListIntegrationAssociations' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListIntegrationAssociations' :: ListIntegrationAssociations -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListIntegrationAssociations
s@ListIntegrationAssociations' {} Maybe Natural
a -> ListIntegrationAssociations
s {$sel:maxResults:ListIntegrationAssociations' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListIntegrationAssociations)
listIntegrationAssociations_nextToken :: Lens.Lens' ListIntegrationAssociations (Prelude.Maybe Prelude.Text)
listIntegrationAssociations_nextToken :: Lens' ListIntegrationAssociations (Maybe Text)
listIntegrationAssociations_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListIntegrationAssociations' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListIntegrationAssociations' :: ListIntegrationAssociations -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListIntegrationAssociations
s@ListIntegrationAssociations' {} Maybe Text
a -> ListIntegrationAssociations
s {$sel:nextToken:ListIntegrationAssociations' :: Maybe Text
nextToken = Maybe Text
a} :: ListIntegrationAssociations)
listIntegrationAssociations_instanceId :: Lens.Lens' ListIntegrationAssociations Prelude.Text
listIntegrationAssociations_instanceId :: Lens' ListIntegrationAssociations Text
listIntegrationAssociations_instanceId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListIntegrationAssociations' {Text
instanceId :: Text
$sel:instanceId:ListIntegrationAssociations' :: ListIntegrationAssociations -> Text
instanceId} -> Text
instanceId) (\s :: ListIntegrationAssociations
s@ListIntegrationAssociations' {} Text
a -> ListIntegrationAssociations
s {$sel:instanceId:ListIntegrationAssociations' :: Text
instanceId = Text
a} :: ListIntegrationAssociations)
instance Core.AWSPager ListIntegrationAssociations where
page :: ListIntegrationAssociations
-> AWSResponse ListIntegrationAssociations
-> Maybe ListIntegrationAssociations
page ListIntegrationAssociations
rq AWSResponse ListIntegrationAssociations
rs
| forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListIntegrationAssociations
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListIntegrationAssociationsResponse (Maybe Text)
listIntegrationAssociationsResponse_nextToken
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
forall a. Maybe a
Prelude.Nothing
| forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListIntegrationAssociations
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens'
ListIntegrationAssociationsResponse
(Maybe [IntegrationAssociationSummary])
listIntegrationAssociationsResponse_integrationAssociationSummaryList
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
forall a. a -> Maybe a
Prelude.Just
forall a b. (a -> b) -> a -> b
Prelude.$ ListIntegrationAssociations
rq
forall a b. a -> (a -> b) -> b
Prelude.& Lens' ListIntegrationAssociations (Maybe Text)
listIntegrationAssociations_nextToken
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListIntegrationAssociations
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListIntegrationAssociationsResponse (Maybe Text)
listIntegrationAssociationsResponse_nextToken
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance Core.AWSRequest ListIntegrationAssociations where
type
AWSResponse ListIntegrationAssociations =
ListIntegrationAssociationsResponse
request :: (Service -> Service)
-> ListIntegrationAssociations
-> Request ListIntegrationAssociations
request Service -> Service
overrides =
forall a. ToRequest a => Service -> a -> Request a
Request.get (Service -> Service
overrides Service
defaultService)
response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy ListIntegrationAssociations
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListIntegrationAssociations)))
response =
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe [IntegrationAssociationSummary]
-> Maybe Text -> Int -> ListIntegrationAssociationsResponse
ListIntegrationAssociationsResponse'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x
forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"IntegrationAssociationSummaryList"
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ forall a. Monoid a => a
Prelude.mempty
)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"NextToken")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable ListIntegrationAssociations where
hashWithSalt :: Int -> ListIntegrationAssociations -> Int
hashWithSalt Int
_salt ListIntegrationAssociations' {Maybe Natural
Maybe Text
Maybe IntegrationType
Text
instanceId :: Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
integrationType :: Maybe IntegrationType
$sel:instanceId:ListIntegrationAssociations' :: ListIntegrationAssociations -> Text
$sel:nextToken:ListIntegrationAssociations' :: ListIntegrationAssociations -> Maybe Text
$sel:maxResults:ListIntegrationAssociations' :: ListIntegrationAssociations -> Maybe Natural
$sel:integrationType:ListIntegrationAssociations' :: ListIntegrationAssociations -> Maybe IntegrationType
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe IntegrationType
integrationType
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
maxResults
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
nextToken
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
instanceId
instance Prelude.NFData ListIntegrationAssociations where
rnf :: ListIntegrationAssociations -> ()
rnf ListIntegrationAssociations' {Maybe Natural
Maybe Text
Maybe IntegrationType
Text
instanceId :: Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
integrationType :: Maybe IntegrationType
$sel:instanceId:ListIntegrationAssociations' :: ListIntegrationAssociations -> Text
$sel:nextToken:ListIntegrationAssociations' :: ListIntegrationAssociations -> Maybe Text
$sel:maxResults:ListIntegrationAssociations' :: ListIntegrationAssociations -> Maybe Natural
$sel:integrationType:ListIntegrationAssociations' :: ListIntegrationAssociations -> Maybe IntegrationType
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe IntegrationType
integrationType
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
maxResults
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
instanceId
instance Data.ToHeaders ListIntegrationAssociations where
toHeaders :: ListIntegrationAssociations -> ResponseHeaders
toHeaders =
forall a b. a -> b -> a
Prelude.const
( forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"Content-Type"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Data.ToPath ListIntegrationAssociations where
toPath :: ListIntegrationAssociations -> ByteString
toPath ListIntegrationAssociations' {Maybe Natural
Maybe Text
Maybe IntegrationType
Text
instanceId :: Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
integrationType :: Maybe IntegrationType
$sel:instanceId:ListIntegrationAssociations' :: ListIntegrationAssociations -> Text
$sel:nextToken:ListIntegrationAssociations' :: ListIntegrationAssociations -> Maybe Text
$sel:maxResults:ListIntegrationAssociations' :: ListIntegrationAssociations -> Maybe Natural
$sel:integrationType:ListIntegrationAssociations' :: ListIntegrationAssociations -> Maybe IntegrationType
..} =
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"/instance/",
forall a. ToByteString a => a -> ByteString
Data.toBS Text
instanceId,
ByteString
"/integration-associations"
]
instance Data.ToQuery ListIntegrationAssociations where
toQuery :: ListIntegrationAssociations -> QueryString
toQuery ListIntegrationAssociations' {Maybe Natural
Maybe Text
Maybe IntegrationType
Text
instanceId :: Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
integrationType :: Maybe IntegrationType
$sel:instanceId:ListIntegrationAssociations' :: ListIntegrationAssociations -> Text
$sel:nextToken:ListIntegrationAssociations' :: ListIntegrationAssociations -> Maybe Text
$sel:maxResults:ListIntegrationAssociations' :: ListIntegrationAssociations -> Maybe Natural
$sel:integrationType:ListIntegrationAssociations' :: ListIntegrationAssociations -> Maybe IntegrationType
..} =
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"integrationType" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe IntegrationType
integrationType,
ByteString
"maxResults" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Natural
maxResults,
ByteString
"nextToken" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
nextToken
]
data ListIntegrationAssociationsResponse = ListIntegrationAssociationsResponse'
{
ListIntegrationAssociationsResponse
-> Maybe [IntegrationAssociationSummary]
integrationAssociationSummaryList :: Prelude.Maybe [IntegrationAssociationSummary],
ListIntegrationAssociationsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListIntegrationAssociationsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListIntegrationAssociationsResponse
-> ListIntegrationAssociationsResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListIntegrationAssociationsResponse
-> ListIntegrationAssociationsResponse -> Bool
$c/= :: ListIntegrationAssociationsResponse
-> ListIntegrationAssociationsResponse -> Bool
== :: ListIntegrationAssociationsResponse
-> ListIntegrationAssociationsResponse -> Bool
$c== :: ListIntegrationAssociationsResponse
-> ListIntegrationAssociationsResponse -> Bool
Prelude.Eq, ReadPrec [ListIntegrationAssociationsResponse]
ReadPrec ListIntegrationAssociationsResponse
Int -> ReadS ListIntegrationAssociationsResponse
ReadS [ListIntegrationAssociationsResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListIntegrationAssociationsResponse]
$creadListPrec :: ReadPrec [ListIntegrationAssociationsResponse]
readPrec :: ReadPrec ListIntegrationAssociationsResponse
$creadPrec :: ReadPrec ListIntegrationAssociationsResponse
readList :: ReadS [ListIntegrationAssociationsResponse]
$creadList :: ReadS [ListIntegrationAssociationsResponse]
readsPrec :: Int -> ReadS ListIntegrationAssociationsResponse
$creadsPrec :: Int -> ReadS ListIntegrationAssociationsResponse
Prelude.Read, Int -> ListIntegrationAssociationsResponse -> ShowS
[ListIntegrationAssociationsResponse] -> ShowS
ListIntegrationAssociationsResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListIntegrationAssociationsResponse] -> ShowS
$cshowList :: [ListIntegrationAssociationsResponse] -> ShowS
show :: ListIntegrationAssociationsResponse -> String
$cshow :: ListIntegrationAssociationsResponse -> String
showsPrec :: Int -> ListIntegrationAssociationsResponse -> ShowS
$cshowsPrec :: Int -> ListIntegrationAssociationsResponse -> ShowS
Prelude.Show, forall x.
Rep ListIntegrationAssociationsResponse x
-> ListIntegrationAssociationsResponse
forall x.
ListIntegrationAssociationsResponse
-> Rep ListIntegrationAssociationsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListIntegrationAssociationsResponse x
-> ListIntegrationAssociationsResponse
$cfrom :: forall x.
ListIntegrationAssociationsResponse
-> Rep ListIntegrationAssociationsResponse x
Prelude.Generic)
newListIntegrationAssociationsResponse ::
Prelude.Int ->
ListIntegrationAssociationsResponse
newListIntegrationAssociationsResponse :: Int -> ListIntegrationAssociationsResponse
newListIntegrationAssociationsResponse Int
pHttpStatus_ =
ListIntegrationAssociationsResponse'
{ $sel:integrationAssociationSummaryList:ListIntegrationAssociationsResponse' :: Maybe [IntegrationAssociationSummary]
integrationAssociationSummaryList =
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListIntegrationAssociationsResponse' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListIntegrationAssociationsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listIntegrationAssociationsResponse_integrationAssociationSummaryList :: Lens.Lens' ListIntegrationAssociationsResponse (Prelude.Maybe [IntegrationAssociationSummary])
listIntegrationAssociationsResponse_integrationAssociationSummaryList :: Lens'
ListIntegrationAssociationsResponse
(Maybe [IntegrationAssociationSummary])
listIntegrationAssociationsResponse_integrationAssociationSummaryList = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListIntegrationAssociationsResponse' {Maybe [IntegrationAssociationSummary]
integrationAssociationSummaryList :: Maybe [IntegrationAssociationSummary]
$sel:integrationAssociationSummaryList:ListIntegrationAssociationsResponse' :: ListIntegrationAssociationsResponse
-> Maybe [IntegrationAssociationSummary]
integrationAssociationSummaryList} -> Maybe [IntegrationAssociationSummary]
integrationAssociationSummaryList) (\s :: ListIntegrationAssociationsResponse
s@ListIntegrationAssociationsResponse' {} Maybe [IntegrationAssociationSummary]
a -> ListIntegrationAssociationsResponse
s {$sel:integrationAssociationSummaryList:ListIntegrationAssociationsResponse' :: Maybe [IntegrationAssociationSummary]
integrationAssociationSummaryList = Maybe [IntegrationAssociationSummary]
a} :: ListIntegrationAssociationsResponse) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listIntegrationAssociationsResponse_nextToken :: Lens.Lens' ListIntegrationAssociationsResponse (Prelude.Maybe Prelude.Text)
listIntegrationAssociationsResponse_nextToken :: Lens' ListIntegrationAssociationsResponse (Maybe Text)
listIntegrationAssociationsResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListIntegrationAssociationsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListIntegrationAssociationsResponse' :: ListIntegrationAssociationsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListIntegrationAssociationsResponse
s@ListIntegrationAssociationsResponse' {} Maybe Text
a -> ListIntegrationAssociationsResponse
s {$sel:nextToken:ListIntegrationAssociationsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListIntegrationAssociationsResponse)
listIntegrationAssociationsResponse_httpStatus :: Lens.Lens' ListIntegrationAssociationsResponse Prelude.Int
listIntegrationAssociationsResponse_httpStatus :: Lens' ListIntegrationAssociationsResponse Int
listIntegrationAssociationsResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListIntegrationAssociationsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListIntegrationAssociationsResponse' :: ListIntegrationAssociationsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListIntegrationAssociationsResponse
s@ListIntegrationAssociationsResponse' {} Int
a -> ListIntegrationAssociationsResponse
s {$sel:httpStatus:ListIntegrationAssociationsResponse' :: Int
httpStatus = Int
a} :: ListIntegrationAssociationsResponse)
instance
Prelude.NFData
ListIntegrationAssociationsResponse
where
rnf :: ListIntegrationAssociationsResponse -> ()
rnf ListIntegrationAssociationsResponse' {Int
Maybe [IntegrationAssociationSummary]
Maybe Text
httpStatus :: Int
nextToken :: Maybe Text
integrationAssociationSummaryList :: Maybe [IntegrationAssociationSummary]
$sel:httpStatus:ListIntegrationAssociationsResponse' :: ListIntegrationAssociationsResponse -> Int
$sel:nextToken:ListIntegrationAssociationsResponse' :: ListIntegrationAssociationsResponse -> Maybe Text
$sel:integrationAssociationSummaryList:ListIntegrationAssociationsResponse' :: ListIntegrationAssociationsResponse
-> Maybe [IntegrationAssociationSummary]
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe [IntegrationAssociationSummary]
integrationAssociationSummaryList
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus