{-# 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.Glue.GetSecurityConfigurations
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Retrieves a list of all security configurations.
--
-- This operation returns paginated results.
module Amazonka.Glue.GetSecurityConfigurations
  ( -- * Creating a Request
    GetSecurityConfigurations (..),
    newGetSecurityConfigurations,

    -- * Request Lenses
    getSecurityConfigurations_maxResults,
    getSecurityConfigurations_nextToken,

    -- * Destructuring the Response
    GetSecurityConfigurationsResponse (..),
    newGetSecurityConfigurationsResponse,

    -- * Response Lenses
    getSecurityConfigurationsResponse_nextToken,
    getSecurityConfigurationsResponse_securityConfigurations,
    getSecurityConfigurationsResponse_httpStatus,
  )
where

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

-- | /See:/ 'newGetSecurityConfigurations' smart constructor.
data GetSecurityConfigurations = GetSecurityConfigurations'
  { -- | The maximum number of results to return.
    GetSecurityConfigurations -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
    -- | A continuation token, if this is a continuation call.
    GetSecurityConfigurations -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text
  }
  deriving (GetSecurityConfigurations -> GetSecurityConfigurations -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetSecurityConfigurations -> GetSecurityConfigurations -> Bool
$c/= :: GetSecurityConfigurations -> GetSecurityConfigurations -> Bool
== :: GetSecurityConfigurations -> GetSecurityConfigurations -> Bool
$c== :: GetSecurityConfigurations -> GetSecurityConfigurations -> Bool
Prelude.Eq, ReadPrec [GetSecurityConfigurations]
ReadPrec GetSecurityConfigurations
Int -> ReadS GetSecurityConfigurations
ReadS [GetSecurityConfigurations]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetSecurityConfigurations]
$creadListPrec :: ReadPrec [GetSecurityConfigurations]
readPrec :: ReadPrec GetSecurityConfigurations
$creadPrec :: ReadPrec GetSecurityConfigurations
readList :: ReadS [GetSecurityConfigurations]
$creadList :: ReadS [GetSecurityConfigurations]
readsPrec :: Int -> ReadS GetSecurityConfigurations
$creadsPrec :: Int -> ReadS GetSecurityConfigurations
Prelude.Read, Int -> GetSecurityConfigurations -> ShowS
[GetSecurityConfigurations] -> ShowS
GetSecurityConfigurations -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetSecurityConfigurations] -> ShowS
$cshowList :: [GetSecurityConfigurations] -> ShowS
show :: GetSecurityConfigurations -> String
$cshow :: GetSecurityConfigurations -> String
showsPrec :: Int -> GetSecurityConfigurations -> ShowS
$cshowsPrec :: Int -> GetSecurityConfigurations -> ShowS
Prelude.Show, forall x.
Rep GetSecurityConfigurations x -> GetSecurityConfigurations
forall x.
GetSecurityConfigurations -> Rep GetSecurityConfigurations x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetSecurityConfigurations x -> GetSecurityConfigurations
$cfrom :: forall x.
GetSecurityConfigurations -> Rep GetSecurityConfigurations x
Prelude.Generic)

-- |
-- Create a value of 'GetSecurityConfigurations' 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', 'getSecurityConfigurations_maxResults' - The maximum number of results to return.
--
-- 'nextToken', 'getSecurityConfigurations_nextToken' - A continuation token, if this is a continuation call.
newGetSecurityConfigurations ::
  GetSecurityConfigurations
newGetSecurityConfigurations :: GetSecurityConfigurations
newGetSecurityConfigurations =
  GetSecurityConfigurations'
    { $sel:maxResults:GetSecurityConfigurations' :: Maybe Natural
maxResults =
        forall a. Maybe a
Prelude.Nothing,
      $sel:nextToken:GetSecurityConfigurations' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing
    }

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

-- | A continuation token, if this is a continuation call.
getSecurityConfigurations_nextToken :: Lens.Lens' GetSecurityConfigurations (Prelude.Maybe Prelude.Text)
getSecurityConfigurations_nextToken :: Lens' GetSecurityConfigurations (Maybe Text)
getSecurityConfigurations_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetSecurityConfigurations' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:GetSecurityConfigurations' :: GetSecurityConfigurations -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: GetSecurityConfigurations
s@GetSecurityConfigurations' {} Maybe Text
a -> GetSecurityConfigurations
s {$sel:nextToken:GetSecurityConfigurations' :: Maybe Text
nextToken = Maybe Text
a} :: GetSecurityConfigurations)

instance Core.AWSPager GetSecurityConfigurations where
  page :: GetSecurityConfigurations
-> AWSResponse GetSecurityConfigurations
-> Maybe GetSecurityConfigurations
page GetSecurityConfigurations
rq AWSResponse GetSecurityConfigurations
rs
    | forall a. AWSTruncated a => a -> Bool
Core.stop
        ( AWSResponse GetSecurityConfigurations
rs
            forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' GetSecurityConfigurationsResponse (Maybe Text)
getSecurityConfigurationsResponse_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 GetSecurityConfigurations
rs
            forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens'
  GetSecurityConfigurationsResponse (Maybe [SecurityConfiguration])
getSecurityConfigurationsResponse_securityConfigurations
            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.$ GetSecurityConfigurations
rq
          forall a b. a -> (a -> b) -> b
Prelude.& Lens' GetSecurityConfigurations (Maybe Text)
getSecurityConfigurations_nextToken
          forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse GetSecurityConfigurations
rs
          forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' GetSecurityConfigurationsResponse (Maybe Text)
getSecurityConfigurationsResponse_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 GetSecurityConfigurations where
  type
    AWSResponse GetSecurityConfigurations =
      GetSecurityConfigurationsResponse
  request :: (Service -> Service)
-> GetSecurityConfigurations -> Request GetSecurityConfigurations
request Service -> Service
overrides =
    forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON (Service -> Service
overrides Service
defaultService)
  response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy GetSecurityConfigurations
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse GetSecurityConfigurations)))
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 Text
-> Maybe [SecurityConfiguration]
-> Int
-> GetSecurityConfigurationsResponse
GetSecurityConfigurationsResponse'
            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
"NextToken")
            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
"SecurityConfigurations"
                            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.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
      )

instance Prelude.Hashable GetSecurityConfigurations where
  hashWithSalt :: Int -> GetSecurityConfigurations -> Int
hashWithSalt Int
_salt GetSecurityConfigurations' {Maybe Natural
Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:nextToken:GetSecurityConfigurations' :: GetSecurityConfigurations -> Maybe Text
$sel:maxResults:GetSecurityConfigurations' :: GetSecurityConfigurations -> 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 GetSecurityConfigurations where
  rnf :: GetSecurityConfigurations -> ()
rnf GetSecurityConfigurations' {Maybe Natural
Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:nextToken:GetSecurityConfigurations' :: GetSecurityConfigurations -> Maybe Text
$sel:maxResults:GetSecurityConfigurations' :: GetSecurityConfigurations -> 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 GetSecurityConfigurations where
  toHeaders :: GetSecurityConfigurations -> ResponseHeaders
toHeaders =
    forall a b. a -> b -> a
Prelude.const
      ( forall a. Monoid a => [a] -> a
Prelude.mconcat
          [ HeaderName
"X-Amz-Target"
              forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"AWSGlue.GetSecurityConfigurations" ::
                          Prelude.ByteString
                      ),
            HeaderName
"Content-Type"
              forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.1" ::
                          Prelude.ByteString
                      )
          ]
      )

instance Data.ToJSON GetSecurityConfigurations where
  toJSON :: GetSecurityConfigurations -> Value
toJSON GetSecurityConfigurations' {Maybe Natural
Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:nextToken:GetSecurityConfigurations' :: GetSecurityConfigurations -> Maybe Text
$sel:maxResults:GetSecurityConfigurations' :: GetSecurityConfigurations -> Maybe Natural
..} =
    [Pair] -> Value
Data.object
      ( forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ (Key
"MaxResults" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
maxResults,
            (Key
"NextToken" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
nextToken
          ]
      )

instance Data.ToPath GetSecurityConfigurations where
  toPath :: GetSecurityConfigurations -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/"

instance Data.ToQuery GetSecurityConfigurations where
  toQuery :: GetSecurityConfigurations -> QueryString
toQuery = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty

-- | /See:/ 'newGetSecurityConfigurationsResponse' smart constructor.
data GetSecurityConfigurationsResponse = GetSecurityConfigurationsResponse'
  { -- | A continuation token, if there are more security configurations to
    -- return.
    GetSecurityConfigurationsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | A list of security configurations.
    GetSecurityConfigurationsResponse -> Maybe [SecurityConfiguration]
securityConfigurations :: Prelude.Maybe [SecurityConfiguration],
    -- | The response's http status code.
    GetSecurityConfigurationsResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (GetSecurityConfigurationsResponse
-> GetSecurityConfigurationsResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetSecurityConfigurationsResponse
-> GetSecurityConfigurationsResponse -> Bool
$c/= :: GetSecurityConfigurationsResponse
-> GetSecurityConfigurationsResponse -> Bool
== :: GetSecurityConfigurationsResponse
-> GetSecurityConfigurationsResponse -> Bool
$c== :: GetSecurityConfigurationsResponse
-> GetSecurityConfigurationsResponse -> Bool
Prelude.Eq, ReadPrec [GetSecurityConfigurationsResponse]
ReadPrec GetSecurityConfigurationsResponse
Int -> ReadS GetSecurityConfigurationsResponse
ReadS [GetSecurityConfigurationsResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetSecurityConfigurationsResponse]
$creadListPrec :: ReadPrec [GetSecurityConfigurationsResponse]
readPrec :: ReadPrec GetSecurityConfigurationsResponse
$creadPrec :: ReadPrec GetSecurityConfigurationsResponse
readList :: ReadS [GetSecurityConfigurationsResponse]
$creadList :: ReadS [GetSecurityConfigurationsResponse]
readsPrec :: Int -> ReadS GetSecurityConfigurationsResponse
$creadsPrec :: Int -> ReadS GetSecurityConfigurationsResponse
Prelude.Read, Int -> GetSecurityConfigurationsResponse -> ShowS
[GetSecurityConfigurationsResponse] -> ShowS
GetSecurityConfigurationsResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetSecurityConfigurationsResponse] -> ShowS
$cshowList :: [GetSecurityConfigurationsResponse] -> ShowS
show :: GetSecurityConfigurationsResponse -> String
$cshow :: GetSecurityConfigurationsResponse -> String
showsPrec :: Int -> GetSecurityConfigurationsResponse -> ShowS
$cshowsPrec :: Int -> GetSecurityConfigurationsResponse -> ShowS
Prelude.Show, forall x.
Rep GetSecurityConfigurationsResponse x
-> GetSecurityConfigurationsResponse
forall x.
GetSecurityConfigurationsResponse
-> Rep GetSecurityConfigurationsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetSecurityConfigurationsResponse x
-> GetSecurityConfigurationsResponse
$cfrom :: forall x.
GetSecurityConfigurationsResponse
-> Rep GetSecurityConfigurationsResponse x
Prelude.Generic)

-- |
-- Create a value of 'GetSecurityConfigurationsResponse' 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', 'getSecurityConfigurationsResponse_nextToken' - A continuation token, if there are more security configurations to
-- return.
--
-- 'securityConfigurations', 'getSecurityConfigurationsResponse_securityConfigurations' - A list of security configurations.
--
-- 'httpStatus', 'getSecurityConfigurationsResponse_httpStatus' - The response's http status code.
newGetSecurityConfigurationsResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  GetSecurityConfigurationsResponse
newGetSecurityConfigurationsResponse :: Int -> GetSecurityConfigurationsResponse
newGetSecurityConfigurationsResponse Int
pHttpStatus_ =
  GetSecurityConfigurationsResponse'
    { $sel:nextToken:GetSecurityConfigurationsResponse' :: Maybe Text
nextToken =
        forall a. Maybe a
Prelude.Nothing,
      $sel:securityConfigurations:GetSecurityConfigurationsResponse' :: Maybe [SecurityConfiguration]
securityConfigurations = forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:GetSecurityConfigurationsResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | A continuation token, if there are more security configurations to
-- return.
getSecurityConfigurationsResponse_nextToken :: Lens.Lens' GetSecurityConfigurationsResponse (Prelude.Maybe Prelude.Text)
getSecurityConfigurationsResponse_nextToken :: Lens' GetSecurityConfigurationsResponse (Maybe Text)
getSecurityConfigurationsResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetSecurityConfigurationsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:GetSecurityConfigurationsResponse' :: GetSecurityConfigurationsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: GetSecurityConfigurationsResponse
s@GetSecurityConfigurationsResponse' {} Maybe Text
a -> GetSecurityConfigurationsResponse
s {$sel:nextToken:GetSecurityConfigurationsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: GetSecurityConfigurationsResponse)

-- | A list of security configurations.
getSecurityConfigurationsResponse_securityConfigurations :: Lens.Lens' GetSecurityConfigurationsResponse (Prelude.Maybe [SecurityConfiguration])
getSecurityConfigurationsResponse_securityConfigurations :: Lens'
  GetSecurityConfigurationsResponse (Maybe [SecurityConfiguration])
getSecurityConfigurationsResponse_securityConfigurations = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetSecurityConfigurationsResponse' {Maybe [SecurityConfiguration]
securityConfigurations :: Maybe [SecurityConfiguration]
$sel:securityConfigurations:GetSecurityConfigurationsResponse' :: GetSecurityConfigurationsResponse -> Maybe [SecurityConfiguration]
securityConfigurations} -> Maybe [SecurityConfiguration]
securityConfigurations) (\s :: GetSecurityConfigurationsResponse
s@GetSecurityConfigurationsResponse' {} Maybe [SecurityConfiguration]
a -> GetSecurityConfigurationsResponse
s {$sel:securityConfigurations:GetSecurityConfigurationsResponse' :: Maybe [SecurityConfiguration]
securityConfigurations = Maybe [SecurityConfiguration]
a} :: GetSecurityConfigurationsResponse) 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 response's http status code.
getSecurityConfigurationsResponse_httpStatus :: Lens.Lens' GetSecurityConfigurationsResponse Prelude.Int
getSecurityConfigurationsResponse_httpStatus :: Lens' GetSecurityConfigurationsResponse Int
getSecurityConfigurationsResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetSecurityConfigurationsResponse' {Int
httpStatus :: Int
$sel:httpStatus:GetSecurityConfigurationsResponse' :: GetSecurityConfigurationsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: GetSecurityConfigurationsResponse
s@GetSecurityConfigurationsResponse' {} Int
a -> GetSecurityConfigurationsResponse
s {$sel:httpStatus:GetSecurityConfigurationsResponse' :: Int
httpStatus = Int
a} :: GetSecurityConfigurationsResponse)

instance
  Prelude.NFData
    GetSecurityConfigurationsResponse
  where
  rnf :: GetSecurityConfigurationsResponse -> ()
rnf GetSecurityConfigurationsResponse' {Int
Maybe [SecurityConfiguration]
Maybe Text
httpStatus :: Int
securityConfigurations :: Maybe [SecurityConfiguration]
nextToken :: Maybe Text
$sel:httpStatus:GetSecurityConfigurationsResponse' :: GetSecurityConfigurationsResponse -> Int
$sel:securityConfigurations:GetSecurityConfigurationsResponse' :: GetSecurityConfigurationsResponse -> Maybe [SecurityConfiguration]
$sel:nextToken:GetSecurityConfigurationsResponse' :: GetSecurityConfigurationsResponse -> Maybe Text
..} =
    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 Maybe [SecurityConfiguration]
securityConfigurations
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus