{-# 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.WorkMail.ListMobileDeviceAccessRules
-- 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)
--
-- Lists the mobile device access rules for the specified Amazon WorkMail
-- organization.
module Amazonka.WorkMail.ListMobileDeviceAccessRules
  ( -- * Creating a Request
    ListMobileDeviceAccessRules (..),
    newListMobileDeviceAccessRules,

    -- * Request Lenses
    listMobileDeviceAccessRules_organizationId,

    -- * Destructuring the Response
    ListMobileDeviceAccessRulesResponse (..),
    newListMobileDeviceAccessRulesResponse,

    -- * Response Lenses
    listMobileDeviceAccessRulesResponse_rules,
    listMobileDeviceAccessRulesResponse_httpStatus,
  )
where

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
import Amazonka.WorkMail.Types

-- | /See:/ 'newListMobileDeviceAccessRules' smart constructor.
data ListMobileDeviceAccessRules = ListMobileDeviceAccessRules'
  { -- | The Amazon WorkMail organization for which to list the rules.
    ListMobileDeviceAccessRules -> Text
organizationId :: Prelude.Text
  }
  deriving (ListMobileDeviceAccessRules -> ListMobileDeviceAccessRules -> Bool
(ListMobileDeviceAccessRules
 -> ListMobileDeviceAccessRules -> Bool)
-> (ListMobileDeviceAccessRules
    -> ListMobileDeviceAccessRules -> Bool)
-> Eq ListMobileDeviceAccessRules
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListMobileDeviceAccessRules -> ListMobileDeviceAccessRules -> Bool
$c/= :: ListMobileDeviceAccessRules -> ListMobileDeviceAccessRules -> Bool
== :: ListMobileDeviceAccessRules -> ListMobileDeviceAccessRules -> Bool
$c== :: ListMobileDeviceAccessRules -> ListMobileDeviceAccessRules -> Bool
Prelude.Eq, ReadPrec [ListMobileDeviceAccessRules]
ReadPrec ListMobileDeviceAccessRules
Int -> ReadS ListMobileDeviceAccessRules
ReadS [ListMobileDeviceAccessRules]
(Int -> ReadS ListMobileDeviceAccessRules)
-> ReadS [ListMobileDeviceAccessRules]
-> ReadPrec ListMobileDeviceAccessRules
-> ReadPrec [ListMobileDeviceAccessRules]
-> Read ListMobileDeviceAccessRules
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListMobileDeviceAccessRules]
$creadListPrec :: ReadPrec [ListMobileDeviceAccessRules]
readPrec :: ReadPrec ListMobileDeviceAccessRules
$creadPrec :: ReadPrec ListMobileDeviceAccessRules
readList :: ReadS [ListMobileDeviceAccessRules]
$creadList :: ReadS [ListMobileDeviceAccessRules]
readsPrec :: Int -> ReadS ListMobileDeviceAccessRules
$creadsPrec :: Int -> ReadS ListMobileDeviceAccessRules
Prelude.Read, Int -> ListMobileDeviceAccessRules -> ShowS
[ListMobileDeviceAccessRules] -> ShowS
ListMobileDeviceAccessRules -> String
(Int -> ListMobileDeviceAccessRules -> ShowS)
-> (ListMobileDeviceAccessRules -> String)
-> ([ListMobileDeviceAccessRules] -> ShowS)
-> Show ListMobileDeviceAccessRules
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListMobileDeviceAccessRules] -> ShowS
$cshowList :: [ListMobileDeviceAccessRules] -> ShowS
show :: ListMobileDeviceAccessRules -> String
$cshow :: ListMobileDeviceAccessRules -> String
showsPrec :: Int -> ListMobileDeviceAccessRules -> ShowS
$cshowsPrec :: Int -> ListMobileDeviceAccessRules -> ShowS
Prelude.Show, (forall x.
 ListMobileDeviceAccessRules -> Rep ListMobileDeviceAccessRules x)
-> (forall x.
    Rep ListMobileDeviceAccessRules x -> ListMobileDeviceAccessRules)
-> Generic ListMobileDeviceAccessRules
forall x.
Rep ListMobileDeviceAccessRules x -> ListMobileDeviceAccessRules
forall x.
ListMobileDeviceAccessRules -> Rep ListMobileDeviceAccessRules x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListMobileDeviceAccessRules x -> ListMobileDeviceAccessRules
$cfrom :: forall x.
ListMobileDeviceAccessRules -> Rep ListMobileDeviceAccessRules x
Prelude.Generic)

-- |
-- Create a value of 'ListMobileDeviceAccessRules' 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:
--
-- 'organizationId', 'listMobileDeviceAccessRules_organizationId' - The Amazon WorkMail organization for which to list the rules.
newListMobileDeviceAccessRules ::
  -- | 'organizationId'
  Prelude.Text ->
  ListMobileDeviceAccessRules
newListMobileDeviceAccessRules :: Text -> ListMobileDeviceAccessRules
newListMobileDeviceAccessRules Text
pOrganizationId_ =
  ListMobileDeviceAccessRules' :: Text -> ListMobileDeviceAccessRules
ListMobileDeviceAccessRules'
    { $sel:organizationId:ListMobileDeviceAccessRules' :: Text
organizationId =
        Text
pOrganizationId_
    }

-- | The Amazon WorkMail organization for which to list the rules.
listMobileDeviceAccessRules_organizationId :: Lens.Lens' ListMobileDeviceAccessRules Prelude.Text
listMobileDeviceAccessRules_organizationId :: (Text -> f Text)
-> ListMobileDeviceAccessRules -> f ListMobileDeviceAccessRules
listMobileDeviceAccessRules_organizationId = (ListMobileDeviceAccessRules -> Text)
-> (ListMobileDeviceAccessRules
    -> Text -> ListMobileDeviceAccessRules)
-> Lens
     ListMobileDeviceAccessRules ListMobileDeviceAccessRules Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListMobileDeviceAccessRules' {Text
organizationId :: Text
$sel:organizationId:ListMobileDeviceAccessRules' :: ListMobileDeviceAccessRules -> Text
organizationId} -> Text
organizationId) (\s :: ListMobileDeviceAccessRules
s@ListMobileDeviceAccessRules' {} Text
a -> ListMobileDeviceAccessRules
s {$sel:organizationId:ListMobileDeviceAccessRules' :: Text
organizationId = Text
a} :: ListMobileDeviceAccessRules)

instance Core.AWSRequest ListMobileDeviceAccessRules where
  type
    AWSResponse ListMobileDeviceAccessRules =
      ListMobileDeviceAccessRulesResponse
  request :: ListMobileDeviceAccessRules -> Request ListMobileDeviceAccessRules
request = Service
-> ListMobileDeviceAccessRules
-> Request ListMobileDeviceAccessRules
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy ListMobileDeviceAccessRules
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse ListMobileDeviceAccessRules)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse ListMobileDeviceAccessRules))
-> Logger
-> Service
-> Proxy ListMobileDeviceAccessRules
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse ListMobileDeviceAccessRules)))
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 [MobileDeviceAccessRule]
-> Int -> ListMobileDeviceAccessRulesResponse
ListMobileDeviceAccessRulesResponse'
            (Maybe [MobileDeviceAccessRule]
 -> Int -> ListMobileDeviceAccessRulesResponse)
-> Either String (Maybe [MobileDeviceAccessRule])
-> Either String (Int -> ListMobileDeviceAccessRulesResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object
-> Text -> Either String (Maybe (Maybe [MobileDeviceAccessRule]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Rules" Either String (Maybe (Maybe [MobileDeviceAccessRule]))
-> Maybe [MobileDeviceAccessRule]
-> Either String (Maybe [MobileDeviceAccessRule])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [MobileDeviceAccessRule]
forall a. Monoid a => a
Prelude.mempty)
            Either String (Int -> ListMobileDeviceAccessRulesResponse)
-> Either String Int
-> Either String ListMobileDeviceAccessRulesResponse
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 ListMobileDeviceAccessRules

instance Prelude.NFData ListMobileDeviceAccessRules

instance Core.ToHeaders ListMobileDeviceAccessRules where
  toHeaders :: ListMobileDeviceAccessRules -> ResponseHeaders
toHeaders =
    ResponseHeaders -> ListMobileDeviceAccessRules -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
      ( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
          [ HeaderName
"X-Amz-Target"
              HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"WorkMailService.ListMobileDeviceAccessRules" ::
                          Prelude.ByteString
                      ),
            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.ToJSON ListMobileDeviceAccessRules where
  toJSON :: ListMobileDeviceAccessRules -> Value
toJSON ListMobileDeviceAccessRules' {Text
organizationId :: Text
$sel:organizationId:ListMobileDeviceAccessRules' :: ListMobileDeviceAccessRules -> Text
..} =
    [Pair] -> Value
Core.object
      ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
              (Text
"OrganizationId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
organizationId)
          ]
      )

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

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

-- | /See:/ 'newListMobileDeviceAccessRulesResponse' smart constructor.
data ListMobileDeviceAccessRulesResponse = ListMobileDeviceAccessRulesResponse'
  { -- | The list of mobile device access rules that exist under the specified
    -- Amazon WorkMail organization.
    ListMobileDeviceAccessRulesResponse
-> Maybe [MobileDeviceAccessRule]
rules :: Prelude.Maybe [MobileDeviceAccessRule],
    -- | The response's http status code.
    ListMobileDeviceAccessRulesResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (ListMobileDeviceAccessRulesResponse
-> ListMobileDeviceAccessRulesResponse -> Bool
(ListMobileDeviceAccessRulesResponse
 -> ListMobileDeviceAccessRulesResponse -> Bool)
-> (ListMobileDeviceAccessRulesResponse
    -> ListMobileDeviceAccessRulesResponse -> Bool)
-> Eq ListMobileDeviceAccessRulesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListMobileDeviceAccessRulesResponse
-> ListMobileDeviceAccessRulesResponse -> Bool
$c/= :: ListMobileDeviceAccessRulesResponse
-> ListMobileDeviceAccessRulesResponse -> Bool
== :: ListMobileDeviceAccessRulesResponse
-> ListMobileDeviceAccessRulesResponse -> Bool
$c== :: ListMobileDeviceAccessRulesResponse
-> ListMobileDeviceAccessRulesResponse -> Bool
Prelude.Eq, ReadPrec [ListMobileDeviceAccessRulesResponse]
ReadPrec ListMobileDeviceAccessRulesResponse
Int -> ReadS ListMobileDeviceAccessRulesResponse
ReadS [ListMobileDeviceAccessRulesResponse]
(Int -> ReadS ListMobileDeviceAccessRulesResponse)
-> ReadS [ListMobileDeviceAccessRulesResponse]
-> ReadPrec ListMobileDeviceAccessRulesResponse
-> ReadPrec [ListMobileDeviceAccessRulesResponse]
-> Read ListMobileDeviceAccessRulesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListMobileDeviceAccessRulesResponse]
$creadListPrec :: ReadPrec [ListMobileDeviceAccessRulesResponse]
readPrec :: ReadPrec ListMobileDeviceAccessRulesResponse
$creadPrec :: ReadPrec ListMobileDeviceAccessRulesResponse
readList :: ReadS [ListMobileDeviceAccessRulesResponse]
$creadList :: ReadS [ListMobileDeviceAccessRulesResponse]
readsPrec :: Int -> ReadS ListMobileDeviceAccessRulesResponse
$creadsPrec :: Int -> ReadS ListMobileDeviceAccessRulesResponse
Prelude.Read, Int -> ListMobileDeviceAccessRulesResponse -> ShowS
[ListMobileDeviceAccessRulesResponse] -> ShowS
ListMobileDeviceAccessRulesResponse -> String
(Int -> ListMobileDeviceAccessRulesResponse -> ShowS)
-> (ListMobileDeviceAccessRulesResponse -> String)
-> ([ListMobileDeviceAccessRulesResponse] -> ShowS)
-> Show ListMobileDeviceAccessRulesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListMobileDeviceAccessRulesResponse] -> ShowS
$cshowList :: [ListMobileDeviceAccessRulesResponse] -> ShowS
show :: ListMobileDeviceAccessRulesResponse -> String
$cshow :: ListMobileDeviceAccessRulesResponse -> String
showsPrec :: Int -> ListMobileDeviceAccessRulesResponse -> ShowS
$cshowsPrec :: Int -> ListMobileDeviceAccessRulesResponse -> ShowS
Prelude.Show, (forall x.
 ListMobileDeviceAccessRulesResponse
 -> Rep ListMobileDeviceAccessRulesResponse x)
-> (forall x.
    Rep ListMobileDeviceAccessRulesResponse x
    -> ListMobileDeviceAccessRulesResponse)
-> Generic ListMobileDeviceAccessRulesResponse
forall x.
Rep ListMobileDeviceAccessRulesResponse x
-> ListMobileDeviceAccessRulesResponse
forall x.
ListMobileDeviceAccessRulesResponse
-> Rep ListMobileDeviceAccessRulesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListMobileDeviceAccessRulesResponse x
-> ListMobileDeviceAccessRulesResponse
$cfrom :: forall x.
ListMobileDeviceAccessRulesResponse
-> Rep ListMobileDeviceAccessRulesResponse x
Prelude.Generic)

-- |
-- Create a value of 'ListMobileDeviceAccessRulesResponse' 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:
--
-- 'rules', 'listMobileDeviceAccessRulesResponse_rules' - The list of mobile device access rules that exist under the specified
-- Amazon WorkMail organization.
--
-- 'httpStatus', 'listMobileDeviceAccessRulesResponse_httpStatus' - The response's http status code.
newListMobileDeviceAccessRulesResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  ListMobileDeviceAccessRulesResponse
newListMobileDeviceAccessRulesResponse :: Int -> ListMobileDeviceAccessRulesResponse
newListMobileDeviceAccessRulesResponse Int
pHttpStatus_ =
  ListMobileDeviceAccessRulesResponse' :: Maybe [MobileDeviceAccessRule]
-> Int -> ListMobileDeviceAccessRulesResponse
ListMobileDeviceAccessRulesResponse'
    { $sel:rules:ListMobileDeviceAccessRulesResponse' :: Maybe [MobileDeviceAccessRule]
rules =
        Maybe [MobileDeviceAccessRule]
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:ListMobileDeviceAccessRulesResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | The list of mobile device access rules that exist under the specified
-- Amazon WorkMail organization.
listMobileDeviceAccessRulesResponse_rules :: Lens.Lens' ListMobileDeviceAccessRulesResponse (Prelude.Maybe [MobileDeviceAccessRule])
listMobileDeviceAccessRulesResponse_rules :: (Maybe [MobileDeviceAccessRule]
 -> f (Maybe [MobileDeviceAccessRule]))
-> ListMobileDeviceAccessRulesResponse
-> f ListMobileDeviceAccessRulesResponse
listMobileDeviceAccessRulesResponse_rules = (ListMobileDeviceAccessRulesResponse
 -> Maybe [MobileDeviceAccessRule])
-> (ListMobileDeviceAccessRulesResponse
    -> Maybe [MobileDeviceAccessRule]
    -> ListMobileDeviceAccessRulesResponse)
-> Lens
     ListMobileDeviceAccessRulesResponse
     ListMobileDeviceAccessRulesResponse
     (Maybe [MobileDeviceAccessRule])
     (Maybe [MobileDeviceAccessRule])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListMobileDeviceAccessRulesResponse' {Maybe [MobileDeviceAccessRule]
rules :: Maybe [MobileDeviceAccessRule]
$sel:rules:ListMobileDeviceAccessRulesResponse' :: ListMobileDeviceAccessRulesResponse
-> Maybe [MobileDeviceAccessRule]
rules} -> Maybe [MobileDeviceAccessRule]
rules) (\s :: ListMobileDeviceAccessRulesResponse
s@ListMobileDeviceAccessRulesResponse' {} Maybe [MobileDeviceAccessRule]
a -> ListMobileDeviceAccessRulesResponse
s {$sel:rules:ListMobileDeviceAccessRulesResponse' :: Maybe [MobileDeviceAccessRule]
rules = Maybe [MobileDeviceAccessRule]
a} :: ListMobileDeviceAccessRulesResponse) ((Maybe [MobileDeviceAccessRule]
  -> f (Maybe [MobileDeviceAccessRule]))
 -> ListMobileDeviceAccessRulesResponse
 -> f ListMobileDeviceAccessRulesResponse)
-> ((Maybe [MobileDeviceAccessRule]
     -> f (Maybe [MobileDeviceAccessRule]))
    -> Maybe [MobileDeviceAccessRule]
    -> f (Maybe [MobileDeviceAccessRule]))
-> (Maybe [MobileDeviceAccessRule]
    -> f (Maybe [MobileDeviceAccessRule]))
-> ListMobileDeviceAccessRulesResponse
-> f ListMobileDeviceAccessRulesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  [MobileDeviceAccessRule]
  [MobileDeviceAccessRule]
  [MobileDeviceAccessRule]
  [MobileDeviceAccessRule]
-> Iso
     (Maybe [MobileDeviceAccessRule])
     (Maybe [MobileDeviceAccessRule])
     (Maybe [MobileDeviceAccessRule])
     (Maybe [MobileDeviceAccessRule])
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
  [MobileDeviceAccessRule]
  [MobileDeviceAccessRule]
  [MobileDeviceAccessRule]
  [MobileDeviceAccessRule]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

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

instance
  Prelude.NFData
    ListMobileDeviceAccessRulesResponse