{-# 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.MediaLive.ListInputSecurityGroups
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Produces a list of Input Security Groups for an account
--
-- This operation returns paginated results.
module Amazonka.MediaLive.ListInputSecurityGroups
  ( -- * Creating a Request
    ListInputSecurityGroups (..),
    newListInputSecurityGroups,

    -- * Request Lenses
    listInputSecurityGroups_maxResults,
    listInputSecurityGroups_nextToken,

    -- * Destructuring the Response
    ListInputSecurityGroupsResponse (..),
    newListInputSecurityGroupsResponse,

    -- * Response Lenses
    listInputSecurityGroupsResponse_inputSecurityGroups,
    listInputSecurityGroupsResponse_nextToken,
    listInputSecurityGroupsResponse_httpStatus,
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.MediaLive.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response

-- | Placeholder documentation for ListInputSecurityGroupsRequest
--
-- /See:/ 'newListInputSecurityGroups' smart constructor.
data ListInputSecurityGroups = ListInputSecurityGroups'
  { ListInputSecurityGroups -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
    ListInputSecurityGroups -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text
  }
  deriving (ListInputSecurityGroups -> ListInputSecurityGroups -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListInputSecurityGroups -> ListInputSecurityGroups -> Bool
$c/= :: ListInputSecurityGroups -> ListInputSecurityGroups -> Bool
== :: ListInputSecurityGroups -> ListInputSecurityGroups -> Bool
$c== :: ListInputSecurityGroups -> ListInputSecurityGroups -> Bool
Prelude.Eq, ReadPrec [ListInputSecurityGroups]
ReadPrec ListInputSecurityGroups
Int -> ReadS ListInputSecurityGroups
ReadS [ListInputSecurityGroups]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListInputSecurityGroups]
$creadListPrec :: ReadPrec [ListInputSecurityGroups]
readPrec :: ReadPrec ListInputSecurityGroups
$creadPrec :: ReadPrec ListInputSecurityGroups
readList :: ReadS [ListInputSecurityGroups]
$creadList :: ReadS [ListInputSecurityGroups]
readsPrec :: Int -> ReadS ListInputSecurityGroups
$creadsPrec :: Int -> ReadS ListInputSecurityGroups
Prelude.Read, Int -> ListInputSecurityGroups -> ShowS
[ListInputSecurityGroups] -> ShowS
ListInputSecurityGroups -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListInputSecurityGroups] -> ShowS
$cshowList :: [ListInputSecurityGroups] -> ShowS
show :: ListInputSecurityGroups -> String
$cshow :: ListInputSecurityGroups -> String
showsPrec :: Int -> ListInputSecurityGroups -> ShowS
$cshowsPrec :: Int -> ListInputSecurityGroups -> ShowS
Prelude.Show, forall x. Rep ListInputSecurityGroups x -> ListInputSecurityGroups
forall x. ListInputSecurityGroups -> Rep ListInputSecurityGroups x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListInputSecurityGroups x -> ListInputSecurityGroups
$cfrom :: forall x. ListInputSecurityGroups -> Rep ListInputSecurityGroups x
Prelude.Generic)

-- |
-- Create a value of 'ListInputSecurityGroups' 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:
--
-- 'maxResults', 'listInputSecurityGroups_maxResults' - Undocumented member.
--
-- 'nextToken', 'listInputSecurityGroups_nextToken' - Undocumented member.
newListInputSecurityGroups ::
  ListInputSecurityGroups
newListInputSecurityGroups :: ListInputSecurityGroups
newListInputSecurityGroups =
  ListInputSecurityGroups'
    { $sel:maxResults:ListInputSecurityGroups' :: Maybe Natural
maxResults =
        forall a. Maybe a
Prelude.Nothing,
      $sel:nextToken:ListInputSecurityGroups' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing
    }

-- | Undocumented member.
listInputSecurityGroups_maxResults :: Lens.Lens' ListInputSecurityGroups (Prelude.Maybe Prelude.Natural)
listInputSecurityGroups_maxResults :: Lens' ListInputSecurityGroups (Maybe Natural)
listInputSecurityGroups_maxResults = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListInputSecurityGroups' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListInputSecurityGroups' :: ListInputSecurityGroups -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListInputSecurityGroups
s@ListInputSecurityGroups' {} Maybe Natural
a -> ListInputSecurityGroups
s {$sel:maxResults:ListInputSecurityGroups' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListInputSecurityGroups)

-- | Undocumented member.
listInputSecurityGroups_nextToken :: Lens.Lens' ListInputSecurityGroups (Prelude.Maybe Prelude.Text)
listInputSecurityGroups_nextToken :: Lens' ListInputSecurityGroups (Maybe Text)
listInputSecurityGroups_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListInputSecurityGroups' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListInputSecurityGroups' :: ListInputSecurityGroups -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListInputSecurityGroups
s@ListInputSecurityGroups' {} Maybe Text
a -> ListInputSecurityGroups
s {$sel:nextToken:ListInputSecurityGroups' :: Maybe Text
nextToken = Maybe Text
a} :: ListInputSecurityGroups)

instance Core.AWSPager ListInputSecurityGroups where
  page :: ListInputSecurityGroups
-> AWSResponse ListInputSecurityGroups
-> Maybe ListInputSecurityGroups
page ListInputSecurityGroups
rq AWSResponse ListInputSecurityGroups
rs
    | forall a. AWSTruncated a => a -> Bool
Core.stop
        ( AWSResponse ListInputSecurityGroups
rs
            forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListInputSecurityGroupsResponse (Maybe Text)
listInputSecurityGroupsResponse_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 ListInputSecurityGroups
rs
            forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListInputSecurityGroupsResponse (Maybe [InputSecurityGroup])
listInputSecurityGroupsResponse_inputSecurityGroups
            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.$ ListInputSecurityGroups
rq
          forall a b. a -> (a -> b) -> b
Prelude.& Lens' ListInputSecurityGroups (Maybe Text)
listInputSecurityGroups_nextToken
          forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListInputSecurityGroups
rs
          forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListInputSecurityGroupsResponse (Maybe Text)
listInputSecurityGroupsResponse_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 ListInputSecurityGroups where
  type
    AWSResponse ListInputSecurityGroups =
      ListInputSecurityGroupsResponse
  request :: (Service -> Service)
-> ListInputSecurityGroups -> Request ListInputSecurityGroups
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 ListInputSecurityGroups
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse ListInputSecurityGroups)))
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 [InputSecurityGroup]
-> Maybe Text -> Int -> ListInputSecurityGroupsResponse
ListInputSecurityGroupsResponse'
            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
"inputSecurityGroups"
                            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 ListInputSecurityGroups where
  hashWithSalt :: Int -> ListInputSecurityGroups -> Int
hashWithSalt Int
_salt ListInputSecurityGroups' {Maybe Natural
Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:nextToken:ListInputSecurityGroups' :: ListInputSecurityGroups -> Maybe Text
$sel:maxResults:ListInputSecurityGroups' :: ListInputSecurityGroups -> Maybe Natural
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
maxResults
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
nextToken

instance Prelude.NFData ListInputSecurityGroups where
  rnf :: ListInputSecurityGroups -> ()
rnf ListInputSecurityGroups' {Maybe Natural
Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:nextToken:ListInputSecurityGroups' :: ListInputSecurityGroups -> Maybe Text
$sel:maxResults:ListInputSecurityGroups' :: ListInputSecurityGroups -> Maybe Natural
..} =
    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

instance Data.ToHeaders ListInputSecurityGroups where
  toHeaders :: ListInputSecurityGroups -> 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 ListInputSecurityGroups where
  toPath :: ListInputSecurityGroups -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/prod/inputSecurityGroups"

instance Data.ToQuery ListInputSecurityGroups where
  toQuery :: ListInputSecurityGroups -> QueryString
toQuery ListInputSecurityGroups' {Maybe Natural
Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:nextToken:ListInputSecurityGroups' :: ListInputSecurityGroups -> Maybe Text
$sel:maxResults:ListInputSecurityGroups' :: ListInputSecurityGroups -> Maybe Natural
..} =
    forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ 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
      ]

-- | Placeholder documentation for ListInputSecurityGroupsResponse
--
-- /See:/ 'newListInputSecurityGroupsResponse' smart constructor.
data ListInputSecurityGroupsResponse = ListInputSecurityGroupsResponse'
  { -- | List of input security groups
    ListInputSecurityGroupsResponse -> Maybe [InputSecurityGroup]
inputSecurityGroups :: Prelude.Maybe [InputSecurityGroup],
    ListInputSecurityGroupsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    ListInputSecurityGroupsResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (ListInputSecurityGroupsResponse
-> ListInputSecurityGroupsResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListInputSecurityGroupsResponse
-> ListInputSecurityGroupsResponse -> Bool
$c/= :: ListInputSecurityGroupsResponse
-> ListInputSecurityGroupsResponse -> Bool
== :: ListInputSecurityGroupsResponse
-> ListInputSecurityGroupsResponse -> Bool
$c== :: ListInputSecurityGroupsResponse
-> ListInputSecurityGroupsResponse -> Bool
Prelude.Eq, ReadPrec [ListInputSecurityGroupsResponse]
ReadPrec ListInputSecurityGroupsResponse
Int -> ReadS ListInputSecurityGroupsResponse
ReadS [ListInputSecurityGroupsResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListInputSecurityGroupsResponse]
$creadListPrec :: ReadPrec [ListInputSecurityGroupsResponse]
readPrec :: ReadPrec ListInputSecurityGroupsResponse
$creadPrec :: ReadPrec ListInputSecurityGroupsResponse
readList :: ReadS [ListInputSecurityGroupsResponse]
$creadList :: ReadS [ListInputSecurityGroupsResponse]
readsPrec :: Int -> ReadS ListInputSecurityGroupsResponse
$creadsPrec :: Int -> ReadS ListInputSecurityGroupsResponse
Prelude.Read, Int -> ListInputSecurityGroupsResponse -> ShowS
[ListInputSecurityGroupsResponse] -> ShowS
ListInputSecurityGroupsResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListInputSecurityGroupsResponse] -> ShowS
$cshowList :: [ListInputSecurityGroupsResponse] -> ShowS
show :: ListInputSecurityGroupsResponse -> String
$cshow :: ListInputSecurityGroupsResponse -> String
showsPrec :: Int -> ListInputSecurityGroupsResponse -> ShowS
$cshowsPrec :: Int -> ListInputSecurityGroupsResponse -> ShowS
Prelude.Show, forall x.
Rep ListInputSecurityGroupsResponse x
-> ListInputSecurityGroupsResponse
forall x.
ListInputSecurityGroupsResponse
-> Rep ListInputSecurityGroupsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListInputSecurityGroupsResponse x
-> ListInputSecurityGroupsResponse
$cfrom :: forall x.
ListInputSecurityGroupsResponse
-> Rep ListInputSecurityGroupsResponse x
Prelude.Generic)

-- |
-- Create a value of 'ListInputSecurityGroupsResponse' 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:
--
-- 'inputSecurityGroups', 'listInputSecurityGroupsResponse_inputSecurityGroups' - List of input security groups
--
-- 'nextToken', 'listInputSecurityGroupsResponse_nextToken' - Undocumented member.
--
-- 'httpStatus', 'listInputSecurityGroupsResponse_httpStatus' - The response's http status code.
newListInputSecurityGroupsResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  ListInputSecurityGroupsResponse
newListInputSecurityGroupsResponse :: Int -> ListInputSecurityGroupsResponse
newListInputSecurityGroupsResponse Int
pHttpStatus_ =
  ListInputSecurityGroupsResponse'
    { $sel:inputSecurityGroups:ListInputSecurityGroupsResponse' :: Maybe [InputSecurityGroup]
inputSecurityGroups =
        forall a. Maybe a
Prelude.Nothing,
      $sel:nextToken:ListInputSecurityGroupsResponse' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:ListInputSecurityGroupsResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | List of input security groups
listInputSecurityGroupsResponse_inputSecurityGroups :: Lens.Lens' ListInputSecurityGroupsResponse (Prelude.Maybe [InputSecurityGroup])
listInputSecurityGroupsResponse_inputSecurityGroups :: Lens' ListInputSecurityGroupsResponse (Maybe [InputSecurityGroup])
listInputSecurityGroupsResponse_inputSecurityGroups = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListInputSecurityGroupsResponse' {Maybe [InputSecurityGroup]
inputSecurityGroups :: Maybe [InputSecurityGroup]
$sel:inputSecurityGroups:ListInputSecurityGroupsResponse' :: ListInputSecurityGroupsResponse -> Maybe [InputSecurityGroup]
inputSecurityGroups} -> Maybe [InputSecurityGroup]
inputSecurityGroups) (\s :: ListInputSecurityGroupsResponse
s@ListInputSecurityGroupsResponse' {} Maybe [InputSecurityGroup]
a -> ListInputSecurityGroupsResponse
s {$sel:inputSecurityGroups:ListInputSecurityGroupsResponse' :: Maybe [InputSecurityGroup]
inputSecurityGroups = Maybe [InputSecurityGroup]
a} :: ListInputSecurityGroupsResponse) 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

-- | Undocumented member.
listInputSecurityGroupsResponse_nextToken :: Lens.Lens' ListInputSecurityGroupsResponse (Prelude.Maybe Prelude.Text)
listInputSecurityGroupsResponse_nextToken :: Lens' ListInputSecurityGroupsResponse (Maybe Text)
listInputSecurityGroupsResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListInputSecurityGroupsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListInputSecurityGroupsResponse' :: ListInputSecurityGroupsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListInputSecurityGroupsResponse
s@ListInputSecurityGroupsResponse' {} Maybe Text
a -> ListInputSecurityGroupsResponse
s {$sel:nextToken:ListInputSecurityGroupsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListInputSecurityGroupsResponse)

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

instance
  Prelude.NFData
    ListInputSecurityGroupsResponse
  where
  rnf :: ListInputSecurityGroupsResponse -> ()
rnf ListInputSecurityGroupsResponse' {Int
Maybe [InputSecurityGroup]
Maybe Text
httpStatus :: Int
nextToken :: Maybe Text
inputSecurityGroups :: Maybe [InputSecurityGroup]
$sel:httpStatus:ListInputSecurityGroupsResponse' :: ListInputSecurityGroupsResponse -> Int
$sel:nextToken:ListInputSecurityGroupsResponse' :: ListInputSecurityGroupsResponse -> Maybe Text
$sel:inputSecurityGroups:ListInputSecurityGroupsResponse' :: ListInputSecurityGroupsResponse -> Maybe [InputSecurityGroup]
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe [InputSecurityGroup]
inputSecurityGroups
      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