{-# 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.IoTWireless.ListNetworkAnalyzerConfigurations
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Lists the network analyzer configurations.
module Amazonka.IoTWireless.ListNetworkAnalyzerConfigurations
  ( -- * Creating a Request
    ListNetworkAnalyzerConfigurations (..),
    newListNetworkAnalyzerConfigurations,

    -- * Request Lenses
    listNetworkAnalyzerConfigurations_maxResults,
    listNetworkAnalyzerConfigurations_nextToken,

    -- * Destructuring the Response
    ListNetworkAnalyzerConfigurationsResponse (..),
    newListNetworkAnalyzerConfigurationsResponse,

    -- * Response Lenses
    listNetworkAnalyzerConfigurationsResponse_networkAnalyzerConfigurationList,
    listNetworkAnalyzerConfigurationsResponse_nextToken,
    listNetworkAnalyzerConfigurationsResponse_httpStatus,
  )
where

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

-- | /See:/ 'newListNetworkAnalyzerConfigurations' smart constructor.
data ListNetworkAnalyzerConfigurations = ListNetworkAnalyzerConfigurations'
  { ListNetworkAnalyzerConfigurations -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
    -- | To retrieve the next set of results, the @nextToken@ value from a
    -- previous response; otherwise __null__ to receive the first set of
    -- results.
    ListNetworkAnalyzerConfigurations -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text
  }
  deriving (ListNetworkAnalyzerConfigurations
-> ListNetworkAnalyzerConfigurations -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListNetworkAnalyzerConfigurations
-> ListNetworkAnalyzerConfigurations -> Bool
$c/= :: ListNetworkAnalyzerConfigurations
-> ListNetworkAnalyzerConfigurations -> Bool
== :: ListNetworkAnalyzerConfigurations
-> ListNetworkAnalyzerConfigurations -> Bool
$c== :: ListNetworkAnalyzerConfigurations
-> ListNetworkAnalyzerConfigurations -> Bool
Prelude.Eq, ReadPrec [ListNetworkAnalyzerConfigurations]
ReadPrec ListNetworkAnalyzerConfigurations
Int -> ReadS ListNetworkAnalyzerConfigurations
ReadS [ListNetworkAnalyzerConfigurations]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListNetworkAnalyzerConfigurations]
$creadListPrec :: ReadPrec [ListNetworkAnalyzerConfigurations]
readPrec :: ReadPrec ListNetworkAnalyzerConfigurations
$creadPrec :: ReadPrec ListNetworkAnalyzerConfigurations
readList :: ReadS [ListNetworkAnalyzerConfigurations]
$creadList :: ReadS [ListNetworkAnalyzerConfigurations]
readsPrec :: Int -> ReadS ListNetworkAnalyzerConfigurations
$creadsPrec :: Int -> ReadS ListNetworkAnalyzerConfigurations
Prelude.Read, Int -> ListNetworkAnalyzerConfigurations -> ShowS
[ListNetworkAnalyzerConfigurations] -> ShowS
ListNetworkAnalyzerConfigurations -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListNetworkAnalyzerConfigurations] -> ShowS
$cshowList :: [ListNetworkAnalyzerConfigurations] -> ShowS
show :: ListNetworkAnalyzerConfigurations -> String
$cshow :: ListNetworkAnalyzerConfigurations -> String
showsPrec :: Int -> ListNetworkAnalyzerConfigurations -> ShowS
$cshowsPrec :: Int -> ListNetworkAnalyzerConfigurations -> ShowS
Prelude.Show, forall x.
Rep ListNetworkAnalyzerConfigurations x
-> ListNetworkAnalyzerConfigurations
forall x.
ListNetworkAnalyzerConfigurations
-> Rep ListNetworkAnalyzerConfigurations x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListNetworkAnalyzerConfigurations x
-> ListNetworkAnalyzerConfigurations
$cfrom :: forall x.
ListNetworkAnalyzerConfigurations
-> Rep ListNetworkAnalyzerConfigurations x
Prelude.Generic)

-- |
-- Create a value of 'ListNetworkAnalyzerConfigurations' 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', 'listNetworkAnalyzerConfigurations_maxResults' - Undocumented member.
--
-- 'nextToken', 'listNetworkAnalyzerConfigurations_nextToken' - To retrieve the next set of results, the @nextToken@ value from a
-- previous response; otherwise __null__ to receive the first set of
-- results.
newListNetworkAnalyzerConfigurations ::
  ListNetworkAnalyzerConfigurations
newListNetworkAnalyzerConfigurations :: ListNetworkAnalyzerConfigurations
newListNetworkAnalyzerConfigurations =
  ListNetworkAnalyzerConfigurations'
    { $sel:maxResults:ListNetworkAnalyzerConfigurations' :: Maybe Natural
maxResults =
        forall a. Maybe a
Prelude.Nothing,
      $sel:nextToken:ListNetworkAnalyzerConfigurations' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing
    }

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

-- | To retrieve the next set of results, the @nextToken@ value from a
-- previous response; otherwise __null__ to receive the first set of
-- results.
listNetworkAnalyzerConfigurations_nextToken :: Lens.Lens' ListNetworkAnalyzerConfigurations (Prelude.Maybe Prelude.Text)
listNetworkAnalyzerConfigurations_nextToken :: Lens' ListNetworkAnalyzerConfigurations (Maybe Text)
listNetworkAnalyzerConfigurations_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListNetworkAnalyzerConfigurations' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListNetworkAnalyzerConfigurations' :: ListNetworkAnalyzerConfigurations -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListNetworkAnalyzerConfigurations
s@ListNetworkAnalyzerConfigurations' {} Maybe Text
a -> ListNetworkAnalyzerConfigurations
s {$sel:nextToken:ListNetworkAnalyzerConfigurations' :: Maybe Text
nextToken = Maybe Text
a} :: ListNetworkAnalyzerConfigurations)

instance
  Core.AWSRequest
    ListNetworkAnalyzerConfigurations
  where
  type
    AWSResponse ListNetworkAnalyzerConfigurations =
      ListNetworkAnalyzerConfigurationsResponse
  request :: (Service -> Service)
-> ListNetworkAnalyzerConfigurations
-> Request ListNetworkAnalyzerConfigurations
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 ListNetworkAnalyzerConfigurations
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse (AWSResponse ListNetworkAnalyzerConfigurations)))
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 [NetworkAnalyzerConfigurations]
-> Maybe Text -> Int -> ListNetworkAnalyzerConfigurationsResponse
ListNetworkAnalyzerConfigurationsResponse'
            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
"NetworkAnalyzerConfigurationList"
                            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
    ListNetworkAnalyzerConfigurations
  where
  hashWithSalt :: Int -> ListNetworkAnalyzerConfigurations -> Int
hashWithSalt
    Int
_salt
    ListNetworkAnalyzerConfigurations' {Maybe Natural
Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:nextToken:ListNetworkAnalyzerConfigurations' :: ListNetworkAnalyzerConfigurations -> Maybe Text
$sel:maxResults:ListNetworkAnalyzerConfigurations' :: ListNetworkAnalyzerConfigurations -> 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
    ListNetworkAnalyzerConfigurations
  where
  rnf :: ListNetworkAnalyzerConfigurations -> ()
rnf ListNetworkAnalyzerConfigurations' {Maybe Natural
Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:nextToken:ListNetworkAnalyzerConfigurations' :: ListNetworkAnalyzerConfigurations -> Maybe Text
$sel:maxResults:ListNetworkAnalyzerConfigurations' :: ListNetworkAnalyzerConfigurations -> 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
    ListNetworkAnalyzerConfigurations
  where
  toHeaders :: ListNetworkAnalyzerConfigurations -> ResponseHeaders
toHeaders = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty

instance
  Data.ToPath
    ListNetworkAnalyzerConfigurations
  where
  toPath :: ListNetworkAnalyzerConfigurations -> ByteString
toPath =
    forall a b. a -> b -> a
Prelude.const ByteString
"/network-analyzer-configurations"

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

-- | /See:/ 'newListNetworkAnalyzerConfigurationsResponse' smart constructor.
data ListNetworkAnalyzerConfigurationsResponse = ListNetworkAnalyzerConfigurationsResponse'
  { -- | The list of network analyzer configurations.
    ListNetworkAnalyzerConfigurationsResponse
-> Maybe [NetworkAnalyzerConfigurations]
networkAnalyzerConfigurationList :: Prelude.Maybe [NetworkAnalyzerConfigurations],
    -- | The token to use to get the next set of results, or __null__ if there
    -- are no additional results.
    ListNetworkAnalyzerConfigurationsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    ListNetworkAnalyzerConfigurationsResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (ListNetworkAnalyzerConfigurationsResponse
-> ListNetworkAnalyzerConfigurationsResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListNetworkAnalyzerConfigurationsResponse
-> ListNetworkAnalyzerConfigurationsResponse -> Bool
$c/= :: ListNetworkAnalyzerConfigurationsResponse
-> ListNetworkAnalyzerConfigurationsResponse -> Bool
== :: ListNetworkAnalyzerConfigurationsResponse
-> ListNetworkAnalyzerConfigurationsResponse -> Bool
$c== :: ListNetworkAnalyzerConfigurationsResponse
-> ListNetworkAnalyzerConfigurationsResponse -> Bool
Prelude.Eq, ReadPrec [ListNetworkAnalyzerConfigurationsResponse]
ReadPrec ListNetworkAnalyzerConfigurationsResponse
Int -> ReadS ListNetworkAnalyzerConfigurationsResponse
ReadS [ListNetworkAnalyzerConfigurationsResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListNetworkAnalyzerConfigurationsResponse]
$creadListPrec :: ReadPrec [ListNetworkAnalyzerConfigurationsResponse]
readPrec :: ReadPrec ListNetworkAnalyzerConfigurationsResponse
$creadPrec :: ReadPrec ListNetworkAnalyzerConfigurationsResponse
readList :: ReadS [ListNetworkAnalyzerConfigurationsResponse]
$creadList :: ReadS [ListNetworkAnalyzerConfigurationsResponse]
readsPrec :: Int -> ReadS ListNetworkAnalyzerConfigurationsResponse
$creadsPrec :: Int -> ReadS ListNetworkAnalyzerConfigurationsResponse
Prelude.Read, Int -> ListNetworkAnalyzerConfigurationsResponse -> ShowS
[ListNetworkAnalyzerConfigurationsResponse] -> ShowS
ListNetworkAnalyzerConfigurationsResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListNetworkAnalyzerConfigurationsResponse] -> ShowS
$cshowList :: [ListNetworkAnalyzerConfigurationsResponse] -> ShowS
show :: ListNetworkAnalyzerConfigurationsResponse -> String
$cshow :: ListNetworkAnalyzerConfigurationsResponse -> String
showsPrec :: Int -> ListNetworkAnalyzerConfigurationsResponse -> ShowS
$cshowsPrec :: Int -> ListNetworkAnalyzerConfigurationsResponse -> ShowS
Prelude.Show, forall x.
Rep ListNetworkAnalyzerConfigurationsResponse x
-> ListNetworkAnalyzerConfigurationsResponse
forall x.
ListNetworkAnalyzerConfigurationsResponse
-> Rep ListNetworkAnalyzerConfigurationsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListNetworkAnalyzerConfigurationsResponse x
-> ListNetworkAnalyzerConfigurationsResponse
$cfrom :: forall x.
ListNetworkAnalyzerConfigurationsResponse
-> Rep ListNetworkAnalyzerConfigurationsResponse x
Prelude.Generic)

-- |
-- Create a value of 'ListNetworkAnalyzerConfigurationsResponse' 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:
--
-- 'networkAnalyzerConfigurationList', 'listNetworkAnalyzerConfigurationsResponse_networkAnalyzerConfigurationList' - The list of network analyzer configurations.
--
-- 'nextToken', 'listNetworkAnalyzerConfigurationsResponse_nextToken' - The token to use to get the next set of results, or __null__ if there
-- are no additional results.
--
-- 'httpStatus', 'listNetworkAnalyzerConfigurationsResponse_httpStatus' - The response's http status code.
newListNetworkAnalyzerConfigurationsResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  ListNetworkAnalyzerConfigurationsResponse
newListNetworkAnalyzerConfigurationsResponse :: Int -> ListNetworkAnalyzerConfigurationsResponse
newListNetworkAnalyzerConfigurationsResponse
  Int
pHttpStatus_ =
    ListNetworkAnalyzerConfigurationsResponse'
      { $sel:networkAnalyzerConfigurationList:ListNetworkAnalyzerConfigurationsResponse' :: Maybe [NetworkAnalyzerConfigurations]
networkAnalyzerConfigurationList =
          forall a. Maybe a
Prelude.Nothing,
        $sel:nextToken:ListNetworkAnalyzerConfigurationsResponse' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
        $sel:httpStatus:ListNetworkAnalyzerConfigurationsResponse' :: Int
httpStatus = Int
pHttpStatus_
      }

-- | The list of network analyzer configurations.
listNetworkAnalyzerConfigurationsResponse_networkAnalyzerConfigurationList :: Lens.Lens' ListNetworkAnalyzerConfigurationsResponse (Prelude.Maybe [NetworkAnalyzerConfigurations])
listNetworkAnalyzerConfigurationsResponse_networkAnalyzerConfigurationList :: Lens'
  ListNetworkAnalyzerConfigurationsResponse
  (Maybe [NetworkAnalyzerConfigurations])
listNetworkAnalyzerConfigurationsResponse_networkAnalyzerConfigurationList = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListNetworkAnalyzerConfigurationsResponse' {Maybe [NetworkAnalyzerConfigurations]
networkAnalyzerConfigurationList :: Maybe [NetworkAnalyzerConfigurations]
$sel:networkAnalyzerConfigurationList:ListNetworkAnalyzerConfigurationsResponse' :: ListNetworkAnalyzerConfigurationsResponse
-> Maybe [NetworkAnalyzerConfigurations]
networkAnalyzerConfigurationList} -> Maybe [NetworkAnalyzerConfigurations]
networkAnalyzerConfigurationList) (\s :: ListNetworkAnalyzerConfigurationsResponse
s@ListNetworkAnalyzerConfigurationsResponse' {} Maybe [NetworkAnalyzerConfigurations]
a -> ListNetworkAnalyzerConfigurationsResponse
s {$sel:networkAnalyzerConfigurationList:ListNetworkAnalyzerConfigurationsResponse' :: Maybe [NetworkAnalyzerConfigurations]
networkAnalyzerConfigurationList = Maybe [NetworkAnalyzerConfigurations]
a} :: ListNetworkAnalyzerConfigurationsResponse) 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

-- | The token to use to get the next set of results, or __null__ if there
-- are no additional results.
listNetworkAnalyzerConfigurationsResponse_nextToken :: Lens.Lens' ListNetworkAnalyzerConfigurationsResponse (Prelude.Maybe Prelude.Text)
listNetworkAnalyzerConfigurationsResponse_nextToken :: Lens' ListNetworkAnalyzerConfigurationsResponse (Maybe Text)
listNetworkAnalyzerConfigurationsResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListNetworkAnalyzerConfigurationsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListNetworkAnalyzerConfigurationsResponse' :: ListNetworkAnalyzerConfigurationsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListNetworkAnalyzerConfigurationsResponse
s@ListNetworkAnalyzerConfigurationsResponse' {} Maybe Text
a -> ListNetworkAnalyzerConfigurationsResponse
s {$sel:nextToken:ListNetworkAnalyzerConfigurationsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListNetworkAnalyzerConfigurationsResponse)

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

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