{-# 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 #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.AppIntegrationS.ListEventIntegrations
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Returns a paginated list of event integrations in the account.
module Amazonka.AppIntegrationS.ListEventIntegrations
  ( -- * Creating a Request
    ListEventIntegrations (..),
    newListEventIntegrations,

    -- * Request Lenses
    listEventIntegrations_nextToken,
    listEventIntegrations_maxResults,

    -- * Destructuring the Response
    ListEventIntegrationsResponse (..),
    newListEventIntegrationsResponse,

    -- * Response Lenses
    listEventIntegrationsResponse_eventIntegrations,
    listEventIntegrationsResponse_nextToken,
    listEventIntegrationsResponse_httpStatus,
  )
where

import Amazonka.AppIntegrationS.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

-- | /See:/ 'newListEventIntegrations' smart constructor.
data ListEventIntegrations = ListEventIntegrations'
  { -- | The token for the next set of results. Use the value returned in the
    -- previous response in the next request to retrieve the next set of
    -- results.
    ListEventIntegrations -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | The maximum number of results to return per page.
    ListEventIntegrations -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural
  }
  deriving (ListEventIntegrations -> ListEventIntegrations -> Bool
(ListEventIntegrations -> ListEventIntegrations -> Bool)
-> (ListEventIntegrations -> ListEventIntegrations -> Bool)
-> Eq ListEventIntegrations
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListEventIntegrations -> ListEventIntegrations -> Bool
$c/= :: ListEventIntegrations -> ListEventIntegrations -> Bool
== :: ListEventIntegrations -> ListEventIntegrations -> Bool
$c== :: ListEventIntegrations -> ListEventIntegrations -> Bool
Prelude.Eq, ReadPrec [ListEventIntegrations]
ReadPrec ListEventIntegrations
Int -> ReadS ListEventIntegrations
ReadS [ListEventIntegrations]
(Int -> ReadS ListEventIntegrations)
-> ReadS [ListEventIntegrations]
-> ReadPrec ListEventIntegrations
-> ReadPrec [ListEventIntegrations]
-> Read ListEventIntegrations
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListEventIntegrations]
$creadListPrec :: ReadPrec [ListEventIntegrations]
readPrec :: ReadPrec ListEventIntegrations
$creadPrec :: ReadPrec ListEventIntegrations
readList :: ReadS [ListEventIntegrations]
$creadList :: ReadS [ListEventIntegrations]
readsPrec :: Int -> ReadS ListEventIntegrations
$creadsPrec :: Int -> ReadS ListEventIntegrations
Prelude.Read, Int -> ListEventIntegrations -> ShowS
[ListEventIntegrations] -> ShowS
ListEventIntegrations -> String
(Int -> ListEventIntegrations -> ShowS)
-> (ListEventIntegrations -> String)
-> ([ListEventIntegrations] -> ShowS)
-> Show ListEventIntegrations
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListEventIntegrations] -> ShowS
$cshowList :: [ListEventIntegrations] -> ShowS
show :: ListEventIntegrations -> String
$cshow :: ListEventIntegrations -> String
showsPrec :: Int -> ListEventIntegrations -> ShowS
$cshowsPrec :: Int -> ListEventIntegrations -> ShowS
Prelude.Show, (forall x. ListEventIntegrations -> Rep ListEventIntegrations x)
-> (forall x. Rep ListEventIntegrations x -> ListEventIntegrations)
-> Generic ListEventIntegrations
forall x. Rep ListEventIntegrations x -> ListEventIntegrations
forall x. ListEventIntegrations -> Rep ListEventIntegrations x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListEventIntegrations x -> ListEventIntegrations
$cfrom :: forall x. ListEventIntegrations -> Rep ListEventIntegrations x
Prelude.Generic)

-- |
-- Create a value of 'ListEventIntegrations' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'nextToken', 'listEventIntegrations_nextToken' - The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
--
-- 'maxResults', 'listEventIntegrations_maxResults' - The maximum number of results to return per page.
newListEventIntegrations ::
  ListEventIntegrations
newListEventIntegrations :: ListEventIntegrations
newListEventIntegrations =
  ListEventIntegrations' :: Maybe Text -> Maybe Natural -> ListEventIntegrations
ListEventIntegrations'
    { $sel:nextToken:ListEventIntegrations' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:maxResults:ListEventIntegrations' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing
    }

-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
listEventIntegrations_nextToken :: Lens.Lens' ListEventIntegrations (Prelude.Maybe Prelude.Text)
listEventIntegrations_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListEventIntegrations -> f ListEventIntegrations
listEventIntegrations_nextToken = (ListEventIntegrations -> Maybe Text)
-> (ListEventIntegrations -> Maybe Text -> ListEventIntegrations)
-> Lens
     ListEventIntegrations
     ListEventIntegrations
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListEventIntegrations' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListEventIntegrations' :: ListEventIntegrations -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListEventIntegrations
s@ListEventIntegrations' {} Maybe Text
a -> ListEventIntegrations
s {$sel:nextToken:ListEventIntegrations' :: Maybe Text
nextToken = Maybe Text
a} :: ListEventIntegrations)

-- | The maximum number of results to return per page.
listEventIntegrations_maxResults :: Lens.Lens' ListEventIntegrations (Prelude.Maybe Prelude.Natural)
listEventIntegrations_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListEventIntegrations -> f ListEventIntegrations
listEventIntegrations_maxResults = (ListEventIntegrations -> Maybe Natural)
-> (ListEventIntegrations
    -> Maybe Natural -> ListEventIntegrations)
-> Lens
     ListEventIntegrations
     ListEventIntegrations
     (Maybe Natural)
     (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListEventIntegrations' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListEventIntegrations' :: ListEventIntegrations -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListEventIntegrations
s@ListEventIntegrations' {} Maybe Natural
a -> ListEventIntegrations
s {$sel:maxResults:ListEventIntegrations' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListEventIntegrations)

instance Core.AWSRequest ListEventIntegrations where
  type
    AWSResponse ListEventIntegrations =
      ListEventIntegrationsResponse
  request :: ListEventIntegrations -> Request ListEventIntegrations
request = Service -> ListEventIntegrations -> Request ListEventIntegrations
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
  response :: Logger
-> Service
-> Proxy ListEventIntegrations
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse ListEventIntegrations)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse ListEventIntegrations))
-> Logger
-> Service
-> Proxy ListEventIntegrations
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse ListEventIntegrations)))
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 (NonEmpty EventIntegration)
-> Maybe Text -> Int -> ListEventIntegrationsResponse
ListEventIntegrationsResponse'
            (Maybe (NonEmpty EventIntegration)
 -> Maybe Text -> Int -> ListEventIntegrationsResponse)
-> Either String (Maybe (NonEmpty EventIntegration))
-> Either
     String (Maybe Text -> Int -> ListEventIntegrationsResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe (NonEmpty EventIntegration))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"EventIntegrations")
            Either String (Maybe Text -> Int -> ListEventIntegrationsResponse)
-> Either String (Maybe Text)
-> Either String (Int -> ListEventIntegrationsResponse)
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 -> ListEventIntegrationsResponse)
-> Either String Int -> Either String ListEventIntegrationsResponse
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 ListEventIntegrations

instance Prelude.NFData ListEventIntegrations

instance Core.ToHeaders ListEventIntegrations where
  toHeaders :: ListEventIntegrations -> ResponseHeaders
toHeaders =
    ResponseHeaders -> ListEventIntegrations -> 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 ListEventIntegrations where
  toPath :: ListEventIntegrations -> ByteString
toPath = ByteString -> ListEventIntegrations -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/eventIntegrations"

instance Core.ToQuery ListEventIntegrations where
  toQuery :: ListEventIntegrations -> QueryString
toQuery ListEventIntegrations' {Maybe Natural
Maybe Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:maxResults:ListEventIntegrations' :: ListEventIntegrations -> Maybe Natural
$sel:nextToken:ListEventIntegrations' :: ListEventIntegrations -> 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
      ]

-- | /See:/ 'newListEventIntegrationsResponse' smart constructor.
data ListEventIntegrationsResponse = ListEventIntegrationsResponse'
  { -- | The event integrations.
    ListEventIntegrationsResponse -> Maybe (NonEmpty EventIntegration)
eventIntegrations :: Prelude.Maybe (Prelude.NonEmpty EventIntegration),
    -- | If there are additional results, this is the token for the next set of
    -- results.
    ListEventIntegrationsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    ListEventIntegrationsResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (ListEventIntegrationsResponse
-> ListEventIntegrationsResponse -> Bool
(ListEventIntegrationsResponse
 -> ListEventIntegrationsResponse -> Bool)
-> (ListEventIntegrationsResponse
    -> ListEventIntegrationsResponse -> Bool)
-> Eq ListEventIntegrationsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListEventIntegrationsResponse
-> ListEventIntegrationsResponse -> Bool
$c/= :: ListEventIntegrationsResponse
-> ListEventIntegrationsResponse -> Bool
== :: ListEventIntegrationsResponse
-> ListEventIntegrationsResponse -> Bool
$c== :: ListEventIntegrationsResponse
-> ListEventIntegrationsResponse -> Bool
Prelude.Eq, ReadPrec [ListEventIntegrationsResponse]
ReadPrec ListEventIntegrationsResponse
Int -> ReadS ListEventIntegrationsResponse
ReadS [ListEventIntegrationsResponse]
(Int -> ReadS ListEventIntegrationsResponse)
-> ReadS [ListEventIntegrationsResponse]
-> ReadPrec ListEventIntegrationsResponse
-> ReadPrec [ListEventIntegrationsResponse]
-> Read ListEventIntegrationsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListEventIntegrationsResponse]
$creadListPrec :: ReadPrec [ListEventIntegrationsResponse]
readPrec :: ReadPrec ListEventIntegrationsResponse
$creadPrec :: ReadPrec ListEventIntegrationsResponse
readList :: ReadS [ListEventIntegrationsResponse]
$creadList :: ReadS [ListEventIntegrationsResponse]
readsPrec :: Int -> ReadS ListEventIntegrationsResponse
$creadsPrec :: Int -> ReadS ListEventIntegrationsResponse
Prelude.Read, Int -> ListEventIntegrationsResponse -> ShowS
[ListEventIntegrationsResponse] -> ShowS
ListEventIntegrationsResponse -> String
(Int -> ListEventIntegrationsResponse -> ShowS)
-> (ListEventIntegrationsResponse -> String)
-> ([ListEventIntegrationsResponse] -> ShowS)
-> Show ListEventIntegrationsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListEventIntegrationsResponse] -> ShowS
$cshowList :: [ListEventIntegrationsResponse] -> ShowS
show :: ListEventIntegrationsResponse -> String
$cshow :: ListEventIntegrationsResponse -> String
showsPrec :: Int -> ListEventIntegrationsResponse -> ShowS
$cshowsPrec :: Int -> ListEventIntegrationsResponse -> ShowS
Prelude.Show, (forall x.
 ListEventIntegrationsResponse
 -> Rep ListEventIntegrationsResponse x)
-> (forall x.
    Rep ListEventIntegrationsResponse x
    -> ListEventIntegrationsResponse)
-> Generic ListEventIntegrationsResponse
forall x.
Rep ListEventIntegrationsResponse x
-> ListEventIntegrationsResponse
forall x.
ListEventIntegrationsResponse
-> Rep ListEventIntegrationsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListEventIntegrationsResponse x
-> ListEventIntegrationsResponse
$cfrom :: forall x.
ListEventIntegrationsResponse
-> Rep ListEventIntegrationsResponse x
Prelude.Generic)

-- |
-- Create a value of 'ListEventIntegrationsResponse' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'eventIntegrations', 'listEventIntegrationsResponse_eventIntegrations' - The event integrations.
--
-- 'nextToken', 'listEventIntegrationsResponse_nextToken' - If there are additional results, this is the token for the next set of
-- results.
--
-- 'httpStatus', 'listEventIntegrationsResponse_httpStatus' - The response's http status code.
newListEventIntegrationsResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  ListEventIntegrationsResponse
newListEventIntegrationsResponse :: Int -> ListEventIntegrationsResponse
newListEventIntegrationsResponse Int
pHttpStatus_ =
  ListEventIntegrationsResponse' :: Maybe (NonEmpty EventIntegration)
-> Maybe Text -> Int -> ListEventIntegrationsResponse
ListEventIntegrationsResponse'
    { $sel:eventIntegrations:ListEventIntegrationsResponse' :: Maybe (NonEmpty EventIntegration)
eventIntegrations =
        Maybe (NonEmpty EventIntegration)
forall a. Maybe a
Prelude.Nothing,
      $sel:nextToken:ListEventIntegrationsResponse' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:ListEventIntegrationsResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | The event integrations.
listEventIntegrationsResponse_eventIntegrations :: Lens.Lens' ListEventIntegrationsResponse (Prelude.Maybe (Prelude.NonEmpty EventIntegration))
listEventIntegrationsResponse_eventIntegrations :: (Maybe (NonEmpty EventIntegration)
 -> f (Maybe (NonEmpty EventIntegration)))
-> ListEventIntegrationsResponse -> f ListEventIntegrationsResponse
listEventIntegrationsResponse_eventIntegrations = (ListEventIntegrationsResponse
 -> Maybe (NonEmpty EventIntegration))
-> (ListEventIntegrationsResponse
    -> Maybe (NonEmpty EventIntegration)
    -> ListEventIntegrationsResponse)
-> Lens
     ListEventIntegrationsResponse
     ListEventIntegrationsResponse
     (Maybe (NonEmpty EventIntegration))
     (Maybe (NonEmpty EventIntegration))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListEventIntegrationsResponse' {Maybe (NonEmpty EventIntegration)
eventIntegrations :: Maybe (NonEmpty EventIntegration)
$sel:eventIntegrations:ListEventIntegrationsResponse' :: ListEventIntegrationsResponse -> Maybe (NonEmpty EventIntegration)
eventIntegrations} -> Maybe (NonEmpty EventIntegration)
eventIntegrations) (\s :: ListEventIntegrationsResponse
s@ListEventIntegrationsResponse' {} Maybe (NonEmpty EventIntegration)
a -> ListEventIntegrationsResponse
s {$sel:eventIntegrations:ListEventIntegrationsResponse' :: Maybe (NonEmpty EventIntegration)
eventIntegrations = Maybe (NonEmpty EventIntegration)
a} :: ListEventIntegrationsResponse) ((Maybe (NonEmpty EventIntegration)
  -> f (Maybe (NonEmpty EventIntegration)))
 -> ListEventIntegrationsResponse
 -> f ListEventIntegrationsResponse)
-> ((Maybe (NonEmpty EventIntegration)
     -> f (Maybe (NonEmpty EventIntegration)))
    -> Maybe (NonEmpty EventIntegration)
    -> f (Maybe (NonEmpty EventIntegration)))
-> (Maybe (NonEmpty EventIntegration)
    -> f (Maybe (NonEmpty EventIntegration)))
-> ListEventIntegrationsResponse
-> f ListEventIntegrationsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  (NonEmpty EventIntegration)
  (NonEmpty EventIntegration)
  (NonEmpty EventIntegration)
  (NonEmpty EventIntegration)
-> Iso
     (Maybe (NonEmpty EventIntegration))
     (Maybe (NonEmpty EventIntegration))
     (Maybe (NonEmpty EventIntegration))
     (Maybe (NonEmpty EventIntegration))
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 EventIntegration)
  (NonEmpty EventIntegration)
  (NonEmpty EventIntegration)
  (NonEmpty EventIntegration)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | If there are additional results, this is the token for the next set of
-- results.
listEventIntegrationsResponse_nextToken :: Lens.Lens' ListEventIntegrationsResponse (Prelude.Maybe Prelude.Text)
listEventIntegrationsResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListEventIntegrationsResponse -> f ListEventIntegrationsResponse
listEventIntegrationsResponse_nextToken = (ListEventIntegrationsResponse -> Maybe Text)
-> (ListEventIntegrationsResponse
    -> Maybe Text -> ListEventIntegrationsResponse)
-> Lens
     ListEventIntegrationsResponse
     ListEventIntegrationsResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListEventIntegrationsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListEventIntegrationsResponse' :: ListEventIntegrationsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListEventIntegrationsResponse
s@ListEventIntegrationsResponse' {} Maybe Text
a -> ListEventIntegrationsResponse
s {$sel:nextToken:ListEventIntegrationsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListEventIntegrationsResponse)

-- | The response's http status code.
listEventIntegrationsResponse_httpStatus :: Lens.Lens' ListEventIntegrationsResponse Prelude.Int
listEventIntegrationsResponse_httpStatus :: (Int -> f Int)
-> ListEventIntegrationsResponse -> f ListEventIntegrationsResponse
listEventIntegrationsResponse_httpStatus = (ListEventIntegrationsResponse -> Int)
-> (ListEventIntegrationsResponse
    -> Int -> ListEventIntegrationsResponse)
-> Lens
     ListEventIntegrationsResponse ListEventIntegrationsResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListEventIntegrationsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListEventIntegrationsResponse' :: ListEventIntegrationsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListEventIntegrationsResponse
s@ListEventIntegrationsResponse' {} Int
a -> ListEventIntegrationsResponse
s {$sel:httpStatus:ListEventIntegrationsResponse' :: Int
httpStatus = Int
a} :: ListEventIntegrationsResponse)

instance Prelude.NFData ListEventIntegrationsResponse