{-# 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.Inspector.ListExclusions
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- List exclusions that are generated by the assessment run.
--
-- This operation returns paginated results.
module Amazonka.Inspector.ListExclusions
  ( -- * Creating a Request
    ListExclusions (..),
    newListExclusions,

    -- * Request Lenses
    listExclusions_maxResults,
    listExclusions_nextToken,
    listExclusions_assessmentRunArn,

    -- * Destructuring the Response
    ListExclusionsResponse (..),
    newListExclusionsResponse,

    -- * Response Lenses
    listExclusionsResponse_nextToken,
    listExclusionsResponse_httpStatus,
    listExclusionsResponse_exclusionArns,
  )
where

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

-- | /See:/ 'newListExclusions' smart constructor.
data ListExclusions = ListExclusions'
  { -- | You can use this parameter to indicate the maximum number of items you
    -- want in the response. The default value is 100. The maximum value is
    -- 500.
    ListExclusions -> Maybe Int
maxResults :: Prelude.Maybe Prelude.Int,
    -- | You can use this parameter when paginating results. Set the value of
    -- this parameter to null on your first call to the ListExclusionsRequest
    -- action. Subsequent calls to the action fill nextToken in the request
    -- with the value of nextToken from the previous response to continue
    -- listing data.
    ListExclusions -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | The ARN of the assessment run that generated the exclusions that you
    -- want to list.
    ListExclusions -> Text
assessmentRunArn :: Prelude.Text
  }
  deriving (ListExclusions -> ListExclusions -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListExclusions -> ListExclusions -> Bool
$c/= :: ListExclusions -> ListExclusions -> Bool
== :: ListExclusions -> ListExclusions -> Bool
$c== :: ListExclusions -> ListExclusions -> Bool
Prelude.Eq, ReadPrec [ListExclusions]
ReadPrec ListExclusions
Int -> ReadS ListExclusions
ReadS [ListExclusions]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListExclusions]
$creadListPrec :: ReadPrec [ListExclusions]
readPrec :: ReadPrec ListExclusions
$creadPrec :: ReadPrec ListExclusions
readList :: ReadS [ListExclusions]
$creadList :: ReadS [ListExclusions]
readsPrec :: Int -> ReadS ListExclusions
$creadsPrec :: Int -> ReadS ListExclusions
Prelude.Read, Int -> ListExclusions -> ShowS
[ListExclusions] -> ShowS
ListExclusions -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListExclusions] -> ShowS
$cshowList :: [ListExclusions] -> ShowS
show :: ListExclusions -> String
$cshow :: ListExclusions -> String
showsPrec :: Int -> ListExclusions -> ShowS
$cshowsPrec :: Int -> ListExclusions -> ShowS
Prelude.Show, forall x. Rep ListExclusions x -> ListExclusions
forall x. ListExclusions -> Rep ListExclusions x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListExclusions x -> ListExclusions
$cfrom :: forall x. ListExclusions -> Rep ListExclusions x
Prelude.Generic)

-- |
-- Create a value of 'ListExclusions' 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', 'listExclusions_maxResults' - You can use this parameter to indicate the maximum number of items you
-- want in the response. The default value is 100. The maximum value is
-- 500.
--
-- 'nextToken', 'listExclusions_nextToken' - You can use this parameter when paginating results. Set the value of
-- this parameter to null on your first call to the ListExclusionsRequest
-- action. Subsequent calls to the action fill nextToken in the request
-- with the value of nextToken from the previous response to continue
-- listing data.
--
-- 'assessmentRunArn', 'listExclusions_assessmentRunArn' - The ARN of the assessment run that generated the exclusions that you
-- want to list.
newListExclusions ::
  -- | 'assessmentRunArn'
  Prelude.Text ->
  ListExclusions
newListExclusions :: Text -> ListExclusions
newListExclusions Text
pAssessmentRunArn_ =
  ListExclusions'
    { $sel:maxResults:ListExclusions' :: Maybe Int
maxResults = forall a. Maybe a
Prelude.Nothing,
      $sel:nextToken:ListExclusions' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
      $sel:assessmentRunArn:ListExclusions' :: Text
assessmentRunArn = Text
pAssessmentRunArn_
    }

-- | You can use this parameter to indicate the maximum number of items you
-- want in the response. The default value is 100. The maximum value is
-- 500.
listExclusions_maxResults :: Lens.Lens' ListExclusions (Prelude.Maybe Prelude.Int)
listExclusions_maxResults :: Lens' ListExclusions (Maybe Int)
listExclusions_maxResults = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListExclusions' {Maybe Int
maxResults :: Maybe Int
$sel:maxResults:ListExclusions' :: ListExclusions -> Maybe Int
maxResults} -> Maybe Int
maxResults) (\s :: ListExclusions
s@ListExclusions' {} Maybe Int
a -> ListExclusions
s {$sel:maxResults:ListExclusions' :: Maybe Int
maxResults = Maybe Int
a} :: ListExclusions)

-- | You can use this parameter when paginating results. Set the value of
-- this parameter to null on your first call to the ListExclusionsRequest
-- action. Subsequent calls to the action fill nextToken in the request
-- with the value of nextToken from the previous response to continue
-- listing data.
listExclusions_nextToken :: Lens.Lens' ListExclusions (Prelude.Maybe Prelude.Text)
listExclusions_nextToken :: Lens' ListExclusions (Maybe Text)
listExclusions_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListExclusions' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListExclusions' :: ListExclusions -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListExclusions
s@ListExclusions' {} Maybe Text
a -> ListExclusions
s {$sel:nextToken:ListExclusions' :: Maybe Text
nextToken = Maybe Text
a} :: ListExclusions)

-- | The ARN of the assessment run that generated the exclusions that you
-- want to list.
listExclusions_assessmentRunArn :: Lens.Lens' ListExclusions Prelude.Text
listExclusions_assessmentRunArn :: Lens' ListExclusions Text
listExclusions_assessmentRunArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListExclusions' {Text
assessmentRunArn :: Text
$sel:assessmentRunArn:ListExclusions' :: ListExclusions -> Text
assessmentRunArn} -> Text
assessmentRunArn) (\s :: ListExclusions
s@ListExclusions' {} Text
a -> ListExclusions
s {$sel:assessmentRunArn:ListExclusions' :: Text
assessmentRunArn = Text
a} :: ListExclusions)

instance Core.AWSPager ListExclusions where
  page :: ListExclusions
-> AWSResponse ListExclusions -> Maybe ListExclusions
page ListExclusions
rq AWSResponse ListExclusions
rs
    | forall a. AWSTruncated a => a -> Bool
Core.stop
        ( AWSResponse ListExclusions
rs
            forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListExclusionsResponse (Maybe Text)
listExclusionsResponse_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 ListExclusions
rs forall s a. s -> Getting a s a -> a
Lens.^. Lens' ListExclusionsResponse [Text]
listExclusionsResponse_exclusionArns) =
        forall a. Maybe a
Prelude.Nothing
    | Bool
Prelude.otherwise =
        forall a. a -> Maybe a
Prelude.Just
          forall a b. (a -> b) -> a -> b
Prelude.$ ListExclusions
rq
          forall a b. a -> (a -> b) -> b
Prelude.& Lens' ListExclusions (Maybe Text)
listExclusions_nextToken
          forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListExclusions
rs
          forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListExclusionsResponse (Maybe Text)
listExclusionsResponse_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 ListExclusions where
  type
    AWSResponse ListExclusions =
      ListExclusionsResponse
  request :: (Service -> Service) -> ListExclusions -> Request ListExclusions
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 ListExclusions
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse ListExclusions)))
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 -> Int -> [Text] -> ListExclusionsResponse
ListExclusionsResponse'
            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.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
            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
"exclusionArns" forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ forall a. Monoid a => a
Prelude.mempty)
      )

instance Prelude.Hashable ListExclusions where
  hashWithSalt :: Int -> ListExclusions -> Int
hashWithSalt Int
_salt ListExclusions' {Maybe Int
Maybe Text
Text
assessmentRunArn :: Text
nextToken :: Maybe Text
maxResults :: Maybe Int
$sel:assessmentRunArn:ListExclusions' :: ListExclusions -> Text
$sel:nextToken:ListExclusions' :: ListExclusions -> Maybe Text
$sel:maxResults:ListExclusions' :: ListExclusions -> Maybe Int
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
maxResults
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
nextToken
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
assessmentRunArn

instance Prelude.NFData ListExclusions where
  rnf :: ListExclusions -> ()
rnf ListExclusions' {Maybe Int
Maybe Text
Text
assessmentRunArn :: Text
nextToken :: Maybe Text
maxResults :: Maybe Int
$sel:assessmentRunArn:ListExclusions' :: ListExclusions -> Text
$sel:nextToken:ListExclusions' :: ListExclusions -> Maybe Text
$sel:maxResults:ListExclusions' :: ListExclusions -> Maybe Int
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
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
assessmentRunArn

instance Data.ToHeaders ListExclusions where
  toHeaders :: ListExclusions -> 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
"InspectorService.ListExclusions" ::
                          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 ListExclusions where
  toJSON :: ListExclusions -> Value
toJSON ListExclusions' {Maybe Int
Maybe Text
Text
assessmentRunArn :: Text
nextToken :: Maybe Text
maxResults :: Maybe Int
$sel:assessmentRunArn:ListExclusions' :: ListExclusions -> Text
$sel:nextToken:ListExclusions' :: ListExclusions -> Maybe Text
$sel:maxResults:ListExclusions' :: ListExclusions -> Maybe Int
..} =
    [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 Int
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,
            forall a. a -> Maybe a
Prelude.Just
              (Key
"assessmentRunArn" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= Text
assessmentRunArn)
          ]
      )

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

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

-- | /See:/ 'newListExclusionsResponse' smart constructor.
data ListExclusionsResponse = ListExclusionsResponse'
  { -- | When a response is generated, if there is more data to be listed, this
    -- parameters is present in the response and contains the value to use for
    -- the nextToken parameter in a subsequent pagination request. If there is
    -- no more data to be listed, this parameter is set to null.
    ListExclusionsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    ListExclusionsResponse -> Int
httpStatus :: Prelude.Int,
    -- | A list of exclusions\' ARNs returned by the action.
    ListExclusionsResponse -> [Text]
exclusionArns :: [Prelude.Text]
  }
  deriving (ListExclusionsResponse -> ListExclusionsResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListExclusionsResponse -> ListExclusionsResponse -> Bool
$c/= :: ListExclusionsResponse -> ListExclusionsResponse -> Bool
== :: ListExclusionsResponse -> ListExclusionsResponse -> Bool
$c== :: ListExclusionsResponse -> ListExclusionsResponse -> Bool
Prelude.Eq, ReadPrec [ListExclusionsResponse]
ReadPrec ListExclusionsResponse
Int -> ReadS ListExclusionsResponse
ReadS [ListExclusionsResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListExclusionsResponse]
$creadListPrec :: ReadPrec [ListExclusionsResponse]
readPrec :: ReadPrec ListExclusionsResponse
$creadPrec :: ReadPrec ListExclusionsResponse
readList :: ReadS [ListExclusionsResponse]
$creadList :: ReadS [ListExclusionsResponse]
readsPrec :: Int -> ReadS ListExclusionsResponse
$creadsPrec :: Int -> ReadS ListExclusionsResponse
Prelude.Read, Int -> ListExclusionsResponse -> ShowS
[ListExclusionsResponse] -> ShowS
ListExclusionsResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListExclusionsResponse] -> ShowS
$cshowList :: [ListExclusionsResponse] -> ShowS
show :: ListExclusionsResponse -> String
$cshow :: ListExclusionsResponse -> String
showsPrec :: Int -> ListExclusionsResponse -> ShowS
$cshowsPrec :: Int -> ListExclusionsResponse -> ShowS
Prelude.Show, forall x. Rep ListExclusionsResponse x -> ListExclusionsResponse
forall x. ListExclusionsResponse -> Rep ListExclusionsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListExclusionsResponse x -> ListExclusionsResponse
$cfrom :: forall x. ListExclusionsResponse -> Rep ListExclusionsResponse x
Prelude.Generic)

-- |
-- Create a value of 'ListExclusionsResponse' 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', 'listExclusionsResponse_nextToken' - When a response is generated, if there is more data to be listed, this
-- parameters is present in the response and contains the value to use for
-- the nextToken parameter in a subsequent pagination request. If there is
-- no more data to be listed, this parameter is set to null.
--
-- 'httpStatus', 'listExclusionsResponse_httpStatus' - The response's http status code.
--
-- 'exclusionArns', 'listExclusionsResponse_exclusionArns' - A list of exclusions\' ARNs returned by the action.
newListExclusionsResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  ListExclusionsResponse
newListExclusionsResponse :: Int -> ListExclusionsResponse
newListExclusionsResponse Int
pHttpStatus_ =
  ListExclusionsResponse'
    { $sel:nextToken:ListExclusionsResponse' :: Maybe Text
nextToken =
        forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:ListExclusionsResponse' :: Int
httpStatus = Int
pHttpStatus_,
      $sel:exclusionArns:ListExclusionsResponse' :: [Text]
exclusionArns = forall a. Monoid a => a
Prelude.mempty
    }

-- | When a response is generated, if there is more data to be listed, this
-- parameters is present in the response and contains the value to use for
-- the nextToken parameter in a subsequent pagination request. If there is
-- no more data to be listed, this parameter is set to null.
listExclusionsResponse_nextToken :: Lens.Lens' ListExclusionsResponse (Prelude.Maybe Prelude.Text)
listExclusionsResponse_nextToken :: Lens' ListExclusionsResponse (Maybe Text)
listExclusionsResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListExclusionsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListExclusionsResponse' :: ListExclusionsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListExclusionsResponse
s@ListExclusionsResponse' {} Maybe Text
a -> ListExclusionsResponse
s {$sel:nextToken:ListExclusionsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListExclusionsResponse)

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

-- | A list of exclusions\' ARNs returned by the action.
listExclusionsResponse_exclusionArns :: Lens.Lens' ListExclusionsResponse [Prelude.Text]
listExclusionsResponse_exclusionArns :: Lens' ListExclusionsResponse [Text]
listExclusionsResponse_exclusionArns = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListExclusionsResponse' {[Text]
exclusionArns :: [Text]
$sel:exclusionArns:ListExclusionsResponse' :: ListExclusionsResponse -> [Text]
exclusionArns} -> [Text]
exclusionArns) (\s :: ListExclusionsResponse
s@ListExclusionsResponse' {} [Text]
a -> ListExclusionsResponse
s {$sel:exclusionArns:ListExclusionsResponse' :: [Text]
exclusionArns = [Text]
a} :: ListExclusionsResponse) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

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