{-# 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.Config.GetOrganizationConformancePackDetailedStatus
-- 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)
--
-- Returns detailed status for each member account within an organization
-- for a given organization conformance pack.
--
-- This operation returns paginated results.
module Amazonka.Config.GetOrganizationConformancePackDetailedStatus
  ( -- * Creating a Request
    GetOrganizationConformancePackDetailedStatus (..),
    newGetOrganizationConformancePackDetailedStatus,

    -- * Request Lenses
    getOrganizationConformancePackDetailedStatus_filters,
    getOrganizationConformancePackDetailedStatus_nextToken,
    getOrganizationConformancePackDetailedStatus_limit,
    getOrganizationConformancePackDetailedStatus_organizationConformancePackName,

    -- * Destructuring the Response
    GetOrganizationConformancePackDetailedStatusResponse (..),
    newGetOrganizationConformancePackDetailedStatusResponse,

    -- * Response Lenses
    getOrganizationConformancePackDetailedStatusResponse_organizationConformancePackDetailedStatuses,
    getOrganizationConformancePackDetailedStatusResponse_nextToken,
    getOrganizationConformancePackDetailedStatusResponse_httpStatus,
  )
where

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

-- | /See:/ 'newGetOrganizationConformancePackDetailedStatus' smart constructor.
data GetOrganizationConformancePackDetailedStatus = GetOrganizationConformancePackDetailedStatus'
  { -- | An @OrganizationResourceDetailedStatusFilters@ object.
    GetOrganizationConformancePackDetailedStatus
-> Maybe OrganizationResourceDetailedStatusFilters
filters :: Prelude.Maybe OrganizationResourceDetailedStatusFilters,
    -- | The nextToken string returned on a previous page that you use to get the
    -- next page of results in a paginated response.
    GetOrganizationConformancePackDetailedStatus -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | The maximum number of @OrganizationConformancePackDetailedStatuses@
    -- returned on each page. If you do not specify a number, Config uses the
    -- default. The default is 100.
    GetOrganizationConformancePackDetailedStatus -> Maybe Natural
limit :: Prelude.Maybe Prelude.Natural,
    -- | The name of organization conformance pack for which you want status
    -- details for member accounts.
    GetOrganizationConformancePackDetailedStatus -> Text
organizationConformancePackName :: Prelude.Text
  }
  deriving (GetOrganizationConformancePackDetailedStatus
-> GetOrganizationConformancePackDetailedStatus -> Bool
(GetOrganizationConformancePackDetailedStatus
 -> GetOrganizationConformancePackDetailedStatus -> Bool)
-> (GetOrganizationConformancePackDetailedStatus
    -> GetOrganizationConformancePackDetailedStatus -> Bool)
-> Eq GetOrganizationConformancePackDetailedStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetOrganizationConformancePackDetailedStatus
-> GetOrganizationConformancePackDetailedStatus -> Bool
$c/= :: GetOrganizationConformancePackDetailedStatus
-> GetOrganizationConformancePackDetailedStatus -> Bool
== :: GetOrganizationConformancePackDetailedStatus
-> GetOrganizationConformancePackDetailedStatus -> Bool
$c== :: GetOrganizationConformancePackDetailedStatus
-> GetOrganizationConformancePackDetailedStatus -> Bool
Prelude.Eq, ReadPrec [GetOrganizationConformancePackDetailedStatus]
ReadPrec GetOrganizationConformancePackDetailedStatus
Int -> ReadS GetOrganizationConformancePackDetailedStatus
ReadS [GetOrganizationConformancePackDetailedStatus]
(Int -> ReadS GetOrganizationConformancePackDetailedStatus)
-> ReadS [GetOrganizationConformancePackDetailedStatus]
-> ReadPrec GetOrganizationConformancePackDetailedStatus
-> ReadPrec [GetOrganizationConformancePackDetailedStatus]
-> Read GetOrganizationConformancePackDetailedStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetOrganizationConformancePackDetailedStatus]
$creadListPrec :: ReadPrec [GetOrganizationConformancePackDetailedStatus]
readPrec :: ReadPrec GetOrganizationConformancePackDetailedStatus
$creadPrec :: ReadPrec GetOrganizationConformancePackDetailedStatus
readList :: ReadS [GetOrganizationConformancePackDetailedStatus]
$creadList :: ReadS [GetOrganizationConformancePackDetailedStatus]
readsPrec :: Int -> ReadS GetOrganizationConformancePackDetailedStatus
$creadsPrec :: Int -> ReadS GetOrganizationConformancePackDetailedStatus
Prelude.Read, Int -> GetOrganizationConformancePackDetailedStatus -> ShowS
[GetOrganizationConformancePackDetailedStatus] -> ShowS
GetOrganizationConformancePackDetailedStatus -> String
(Int -> GetOrganizationConformancePackDetailedStatus -> ShowS)
-> (GetOrganizationConformancePackDetailedStatus -> String)
-> ([GetOrganizationConformancePackDetailedStatus] -> ShowS)
-> Show GetOrganizationConformancePackDetailedStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetOrganizationConformancePackDetailedStatus] -> ShowS
$cshowList :: [GetOrganizationConformancePackDetailedStatus] -> ShowS
show :: GetOrganizationConformancePackDetailedStatus -> String
$cshow :: GetOrganizationConformancePackDetailedStatus -> String
showsPrec :: Int -> GetOrganizationConformancePackDetailedStatus -> ShowS
$cshowsPrec :: Int -> GetOrganizationConformancePackDetailedStatus -> ShowS
Prelude.Show, (forall x.
 GetOrganizationConformancePackDetailedStatus
 -> Rep GetOrganizationConformancePackDetailedStatus x)
-> (forall x.
    Rep GetOrganizationConformancePackDetailedStatus x
    -> GetOrganizationConformancePackDetailedStatus)
-> Generic GetOrganizationConformancePackDetailedStatus
forall x.
Rep GetOrganizationConformancePackDetailedStatus x
-> GetOrganizationConformancePackDetailedStatus
forall x.
GetOrganizationConformancePackDetailedStatus
-> Rep GetOrganizationConformancePackDetailedStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetOrganizationConformancePackDetailedStatus x
-> GetOrganizationConformancePackDetailedStatus
$cfrom :: forall x.
GetOrganizationConformancePackDetailedStatus
-> Rep GetOrganizationConformancePackDetailedStatus x
Prelude.Generic)

-- |
-- Create a value of 'GetOrganizationConformancePackDetailedStatus' 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:
--
-- 'filters', 'getOrganizationConformancePackDetailedStatus_filters' - An @OrganizationResourceDetailedStatusFilters@ object.
--
-- 'nextToken', 'getOrganizationConformancePackDetailedStatus_nextToken' - The nextToken string returned on a previous page that you use to get the
-- next page of results in a paginated response.
--
-- 'limit', 'getOrganizationConformancePackDetailedStatus_limit' - The maximum number of @OrganizationConformancePackDetailedStatuses@
-- returned on each page. If you do not specify a number, Config uses the
-- default. The default is 100.
--
-- 'organizationConformancePackName', 'getOrganizationConformancePackDetailedStatus_organizationConformancePackName' - The name of organization conformance pack for which you want status
-- details for member accounts.
newGetOrganizationConformancePackDetailedStatus ::
  -- | 'organizationConformancePackName'
  Prelude.Text ->
  GetOrganizationConformancePackDetailedStatus
newGetOrganizationConformancePackDetailedStatus :: Text -> GetOrganizationConformancePackDetailedStatus
newGetOrganizationConformancePackDetailedStatus
  Text
pOrganizationConformancePackName_ =
    GetOrganizationConformancePackDetailedStatus' :: Maybe OrganizationResourceDetailedStatusFilters
-> Maybe Text
-> Maybe Natural
-> Text
-> GetOrganizationConformancePackDetailedStatus
GetOrganizationConformancePackDetailedStatus'
      { $sel:filters:GetOrganizationConformancePackDetailedStatus' :: Maybe OrganizationResourceDetailedStatusFilters
filters =
          Maybe OrganizationResourceDetailedStatusFilters
forall a. Maybe a
Prelude.Nothing,
        $sel:nextToken:GetOrganizationConformancePackDetailedStatus' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
        $sel:limit:GetOrganizationConformancePackDetailedStatus' :: Maybe Natural
limit = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
        $sel:organizationConformancePackName:GetOrganizationConformancePackDetailedStatus' :: Text
organizationConformancePackName =
          Text
pOrganizationConformancePackName_
      }

-- | An @OrganizationResourceDetailedStatusFilters@ object.
getOrganizationConformancePackDetailedStatus_filters :: Lens.Lens' GetOrganizationConformancePackDetailedStatus (Prelude.Maybe OrganizationResourceDetailedStatusFilters)
getOrganizationConformancePackDetailedStatus_filters :: (Maybe OrganizationResourceDetailedStatusFilters
 -> f (Maybe OrganizationResourceDetailedStatusFilters))
-> GetOrganizationConformancePackDetailedStatus
-> f GetOrganizationConformancePackDetailedStatus
getOrganizationConformancePackDetailedStatus_filters = (GetOrganizationConformancePackDetailedStatus
 -> Maybe OrganizationResourceDetailedStatusFilters)
-> (GetOrganizationConformancePackDetailedStatus
    -> Maybe OrganizationResourceDetailedStatusFilters
    -> GetOrganizationConformancePackDetailedStatus)
-> Lens
     GetOrganizationConformancePackDetailedStatus
     GetOrganizationConformancePackDetailedStatus
     (Maybe OrganizationResourceDetailedStatusFilters)
     (Maybe OrganizationResourceDetailedStatusFilters)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetOrganizationConformancePackDetailedStatus' {Maybe OrganizationResourceDetailedStatusFilters
filters :: Maybe OrganizationResourceDetailedStatusFilters
$sel:filters:GetOrganizationConformancePackDetailedStatus' :: GetOrganizationConformancePackDetailedStatus
-> Maybe OrganizationResourceDetailedStatusFilters
filters} -> Maybe OrganizationResourceDetailedStatusFilters
filters) (\s :: GetOrganizationConformancePackDetailedStatus
s@GetOrganizationConformancePackDetailedStatus' {} Maybe OrganizationResourceDetailedStatusFilters
a -> GetOrganizationConformancePackDetailedStatus
s {$sel:filters:GetOrganizationConformancePackDetailedStatus' :: Maybe OrganizationResourceDetailedStatusFilters
filters = Maybe OrganizationResourceDetailedStatusFilters
a} :: GetOrganizationConformancePackDetailedStatus)

-- | The nextToken string returned on a previous page that you use to get the
-- next page of results in a paginated response.
getOrganizationConformancePackDetailedStatus_nextToken :: Lens.Lens' GetOrganizationConformancePackDetailedStatus (Prelude.Maybe Prelude.Text)
getOrganizationConformancePackDetailedStatus_nextToken :: (Maybe Text -> f (Maybe Text))
-> GetOrganizationConformancePackDetailedStatus
-> f GetOrganizationConformancePackDetailedStatus
getOrganizationConformancePackDetailedStatus_nextToken = (GetOrganizationConformancePackDetailedStatus -> Maybe Text)
-> (GetOrganizationConformancePackDetailedStatus
    -> Maybe Text -> GetOrganizationConformancePackDetailedStatus)
-> Lens
     GetOrganizationConformancePackDetailedStatus
     GetOrganizationConformancePackDetailedStatus
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetOrganizationConformancePackDetailedStatus' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:GetOrganizationConformancePackDetailedStatus' :: GetOrganizationConformancePackDetailedStatus -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: GetOrganizationConformancePackDetailedStatus
s@GetOrganizationConformancePackDetailedStatus' {} Maybe Text
a -> GetOrganizationConformancePackDetailedStatus
s {$sel:nextToken:GetOrganizationConformancePackDetailedStatus' :: Maybe Text
nextToken = Maybe Text
a} :: GetOrganizationConformancePackDetailedStatus)

-- | The maximum number of @OrganizationConformancePackDetailedStatuses@
-- returned on each page. If you do not specify a number, Config uses the
-- default. The default is 100.
getOrganizationConformancePackDetailedStatus_limit :: Lens.Lens' GetOrganizationConformancePackDetailedStatus (Prelude.Maybe Prelude.Natural)
getOrganizationConformancePackDetailedStatus_limit :: (Maybe Natural -> f (Maybe Natural))
-> GetOrganizationConformancePackDetailedStatus
-> f GetOrganizationConformancePackDetailedStatus
getOrganizationConformancePackDetailedStatus_limit = (GetOrganizationConformancePackDetailedStatus -> Maybe Natural)
-> (GetOrganizationConformancePackDetailedStatus
    -> Maybe Natural -> GetOrganizationConformancePackDetailedStatus)
-> Lens
     GetOrganizationConformancePackDetailedStatus
     GetOrganizationConformancePackDetailedStatus
     (Maybe Natural)
     (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetOrganizationConformancePackDetailedStatus' {Maybe Natural
limit :: Maybe Natural
$sel:limit:GetOrganizationConformancePackDetailedStatus' :: GetOrganizationConformancePackDetailedStatus -> Maybe Natural
limit} -> Maybe Natural
limit) (\s :: GetOrganizationConformancePackDetailedStatus
s@GetOrganizationConformancePackDetailedStatus' {} Maybe Natural
a -> GetOrganizationConformancePackDetailedStatus
s {$sel:limit:GetOrganizationConformancePackDetailedStatus' :: Maybe Natural
limit = Maybe Natural
a} :: GetOrganizationConformancePackDetailedStatus)

-- | The name of organization conformance pack for which you want status
-- details for member accounts.
getOrganizationConformancePackDetailedStatus_organizationConformancePackName :: Lens.Lens' GetOrganizationConformancePackDetailedStatus Prelude.Text
getOrganizationConformancePackDetailedStatus_organizationConformancePackName :: (Text -> f Text)
-> GetOrganizationConformancePackDetailedStatus
-> f GetOrganizationConformancePackDetailedStatus
getOrganizationConformancePackDetailedStatus_organizationConformancePackName = (GetOrganizationConformancePackDetailedStatus -> Text)
-> (GetOrganizationConformancePackDetailedStatus
    -> Text -> GetOrganizationConformancePackDetailedStatus)
-> Lens
     GetOrganizationConformancePackDetailedStatus
     GetOrganizationConformancePackDetailedStatus
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetOrganizationConformancePackDetailedStatus' {Text
organizationConformancePackName :: Text
$sel:organizationConformancePackName:GetOrganizationConformancePackDetailedStatus' :: GetOrganizationConformancePackDetailedStatus -> Text
organizationConformancePackName} -> Text
organizationConformancePackName) (\s :: GetOrganizationConformancePackDetailedStatus
s@GetOrganizationConformancePackDetailedStatus' {} Text
a -> GetOrganizationConformancePackDetailedStatus
s {$sel:organizationConformancePackName:GetOrganizationConformancePackDetailedStatus' :: Text
organizationConformancePackName = Text
a} :: GetOrganizationConformancePackDetailedStatus)

instance
  Core.AWSPager
    GetOrganizationConformancePackDetailedStatus
  where
  page :: GetOrganizationConformancePackDetailedStatus
-> AWSResponse GetOrganizationConformancePackDetailedStatus
-> Maybe GetOrganizationConformancePackDetailedStatus
page GetOrganizationConformancePackDetailedStatus
rq AWSResponse GetOrganizationConformancePackDetailedStatus
rs
    | Maybe Text -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
        ( AWSResponse GetOrganizationConformancePackDetailedStatus
GetOrganizationConformancePackDetailedStatusResponse
rs
            GetOrganizationConformancePackDetailedStatusResponse
-> Getting
     (First Text)
     GetOrganizationConformancePackDetailedStatusResponse
     Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> GetOrganizationConformancePackDetailedStatusResponse
-> Const
     (First Text) GetOrganizationConformancePackDetailedStatusResponse
Lens'
  GetOrganizationConformancePackDetailedStatusResponse (Maybe Text)
getOrganizationConformancePackDetailedStatusResponse_nextToken
              ((Maybe Text -> Const (First Text) (Maybe Text))
 -> GetOrganizationConformancePackDetailedStatusResponse
 -> Const
      (First Text) GetOrganizationConformancePackDetailedStatusResponse)
-> ((Text -> Const (First Text) Text)
    -> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting
     (First Text)
     GetOrganizationConformancePackDetailedStatusResponse
     Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
        ) =
      Maybe GetOrganizationConformancePackDetailedStatus
forall a. Maybe a
Prelude.Nothing
    | Maybe [OrganizationConformancePackDetailedStatus] -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
        ( AWSResponse GetOrganizationConformancePackDetailedStatus
GetOrganizationConformancePackDetailedStatusResponse
rs
            GetOrganizationConformancePackDetailedStatusResponse
-> Getting
     (First [OrganizationConformancePackDetailedStatus])
     GetOrganizationConformancePackDetailedStatusResponse
     [OrganizationConformancePackDetailedStatus]
-> Maybe [OrganizationConformancePackDetailedStatus]
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe [OrganizationConformancePackDetailedStatus]
 -> Const
      (First [OrganizationConformancePackDetailedStatus])
      (Maybe [OrganizationConformancePackDetailedStatus]))
-> GetOrganizationConformancePackDetailedStatusResponse
-> Const
     (First [OrganizationConformancePackDetailedStatus])
     GetOrganizationConformancePackDetailedStatusResponse
Lens'
  GetOrganizationConformancePackDetailedStatusResponse
  (Maybe [OrganizationConformancePackDetailedStatus])
getOrganizationConformancePackDetailedStatusResponse_organizationConformancePackDetailedStatuses
              ((Maybe [OrganizationConformancePackDetailedStatus]
  -> Const
       (First [OrganizationConformancePackDetailedStatus])
       (Maybe [OrganizationConformancePackDetailedStatus]))
 -> GetOrganizationConformancePackDetailedStatusResponse
 -> Const
      (First [OrganizationConformancePackDetailedStatus])
      GetOrganizationConformancePackDetailedStatusResponse)
-> (([OrganizationConformancePackDetailedStatus]
     -> Const
          (First [OrganizationConformancePackDetailedStatus])
          [OrganizationConformancePackDetailedStatus])
    -> Maybe [OrganizationConformancePackDetailedStatus]
    -> Const
         (First [OrganizationConformancePackDetailedStatus])
         (Maybe [OrganizationConformancePackDetailedStatus]))
-> Getting
     (First [OrganizationConformancePackDetailedStatus])
     GetOrganizationConformancePackDetailedStatusResponse
     [OrganizationConformancePackDetailedStatus]
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([OrganizationConformancePackDetailedStatus]
 -> Const
      (First [OrganizationConformancePackDetailedStatus])
      [OrganizationConformancePackDetailedStatus])
-> Maybe [OrganizationConformancePackDetailedStatus]
-> Const
     (First [OrganizationConformancePackDetailedStatus])
     (Maybe [OrganizationConformancePackDetailedStatus])
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
        ) =
      Maybe GetOrganizationConformancePackDetailedStatus
forall a. Maybe a
Prelude.Nothing
    | Bool
Prelude.otherwise =
      GetOrganizationConformancePackDetailedStatus
-> Maybe GetOrganizationConformancePackDetailedStatus
forall a. a -> Maybe a
Prelude.Just (GetOrganizationConformancePackDetailedStatus
 -> Maybe GetOrganizationConformancePackDetailedStatus)
-> GetOrganizationConformancePackDetailedStatus
-> Maybe GetOrganizationConformancePackDetailedStatus
forall a b. (a -> b) -> a -> b
Prelude.$
        GetOrganizationConformancePackDetailedStatus
rq
          GetOrganizationConformancePackDetailedStatus
-> (GetOrganizationConformancePackDetailedStatus
    -> GetOrganizationConformancePackDetailedStatus)
-> GetOrganizationConformancePackDetailedStatus
forall a b. a -> (a -> b) -> b
Prelude.& (Maybe Text -> Identity (Maybe Text))
-> GetOrganizationConformancePackDetailedStatus
-> Identity GetOrganizationConformancePackDetailedStatus
Lens
  GetOrganizationConformancePackDetailedStatus
  GetOrganizationConformancePackDetailedStatus
  (Maybe Text)
  (Maybe Text)
getOrganizationConformancePackDetailedStatus_nextToken
          ((Maybe Text -> Identity (Maybe Text))
 -> GetOrganizationConformancePackDetailedStatus
 -> Identity GetOrganizationConformancePackDetailedStatus)
-> Maybe Text
-> GetOrganizationConformancePackDetailedStatus
-> GetOrganizationConformancePackDetailedStatus
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse GetOrganizationConformancePackDetailedStatus
GetOrganizationConformancePackDetailedStatusResponse
rs
            GetOrganizationConformancePackDetailedStatusResponse
-> Getting
     (First Text)
     GetOrganizationConformancePackDetailedStatusResponse
     Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> GetOrganizationConformancePackDetailedStatusResponse
-> Const
     (First Text) GetOrganizationConformancePackDetailedStatusResponse
Lens'
  GetOrganizationConformancePackDetailedStatusResponse (Maybe Text)
getOrganizationConformancePackDetailedStatusResponse_nextToken
              ((Maybe Text -> Const (First Text) (Maybe Text))
 -> GetOrganizationConformancePackDetailedStatusResponse
 -> Const
      (First Text) GetOrganizationConformancePackDetailedStatusResponse)
-> ((Text -> Const (First Text) Text)
    -> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting
     (First Text)
     GetOrganizationConformancePackDetailedStatusResponse
     Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just

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

instance
  Prelude.NFData
    GetOrganizationConformancePackDetailedStatus

instance
  Core.ToHeaders
    GetOrganizationConformancePackDetailedStatus
  where
  toHeaders :: GetOrganizationConformancePackDetailedStatus -> ResponseHeaders
toHeaders =
    ResponseHeaders
-> GetOrganizationConformancePackDetailedStatus -> 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
"StarlingDoveService.GetOrganizationConformancePackDetailedStatus" ::
                          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
    GetOrganizationConformancePackDetailedStatus
  where
  toJSON :: GetOrganizationConformancePackDetailedStatus -> Value
toJSON
    GetOrganizationConformancePackDetailedStatus' {Maybe Natural
Maybe Text
Maybe OrganizationResourceDetailedStatusFilters
Text
organizationConformancePackName :: Text
limit :: Maybe Natural
nextToken :: Maybe Text
filters :: Maybe OrganizationResourceDetailedStatusFilters
$sel:organizationConformancePackName:GetOrganizationConformancePackDetailedStatus' :: GetOrganizationConformancePackDetailedStatus -> Text
$sel:limit:GetOrganizationConformancePackDetailedStatus' :: GetOrganizationConformancePackDetailedStatus -> Maybe Natural
$sel:nextToken:GetOrganizationConformancePackDetailedStatus' :: GetOrganizationConformancePackDetailedStatus -> Maybe Text
$sel:filters:GetOrganizationConformancePackDetailedStatus' :: GetOrganizationConformancePackDetailedStatus
-> Maybe OrganizationResourceDetailedStatusFilters
..} =
      [Pair] -> Value
Core.object
        ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
            [ (Text
"Filters" Text -> OrganizationResourceDetailedStatusFilters -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (OrganizationResourceDetailedStatusFilters -> Pair)
-> Maybe OrganizationResourceDetailedStatusFilters -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OrganizationResourceDetailedStatusFilters
filters,
              (Text
"NextToken" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
nextToken,
              (Text
"Limit" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
limit,
              Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
                ( Text
"OrganizationConformancePackName"
                    Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
organizationConformancePackName
                )
            ]
        )

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

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

-- | /See:/ 'newGetOrganizationConformancePackDetailedStatusResponse' smart constructor.
data GetOrganizationConformancePackDetailedStatusResponse = GetOrganizationConformancePackDetailedStatusResponse'
  { -- | A list of @OrganizationConformancePackDetailedStatus@ objects.
    GetOrganizationConformancePackDetailedStatusResponse
-> Maybe [OrganizationConformancePackDetailedStatus]
organizationConformancePackDetailedStatuses :: Prelude.Maybe [OrganizationConformancePackDetailedStatus],
    -- | The nextToken string returned on a previous page that you use to get the
    -- next page of results in a paginated response.
    GetOrganizationConformancePackDetailedStatusResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    GetOrganizationConformancePackDetailedStatusResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (GetOrganizationConformancePackDetailedStatusResponse
-> GetOrganizationConformancePackDetailedStatusResponse -> Bool
(GetOrganizationConformancePackDetailedStatusResponse
 -> GetOrganizationConformancePackDetailedStatusResponse -> Bool)
-> (GetOrganizationConformancePackDetailedStatusResponse
    -> GetOrganizationConformancePackDetailedStatusResponse -> Bool)
-> Eq GetOrganizationConformancePackDetailedStatusResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetOrganizationConformancePackDetailedStatusResponse
-> GetOrganizationConformancePackDetailedStatusResponse -> Bool
$c/= :: GetOrganizationConformancePackDetailedStatusResponse
-> GetOrganizationConformancePackDetailedStatusResponse -> Bool
== :: GetOrganizationConformancePackDetailedStatusResponse
-> GetOrganizationConformancePackDetailedStatusResponse -> Bool
$c== :: GetOrganizationConformancePackDetailedStatusResponse
-> GetOrganizationConformancePackDetailedStatusResponse -> Bool
Prelude.Eq, ReadPrec [GetOrganizationConformancePackDetailedStatusResponse]
ReadPrec GetOrganizationConformancePackDetailedStatusResponse
Int -> ReadS GetOrganizationConformancePackDetailedStatusResponse
ReadS [GetOrganizationConformancePackDetailedStatusResponse]
(Int -> ReadS GetOrganizationConformancePackDetailedStatusResponse)
-> ReadS [GetOrganizationConformancePackDetailedStatusResponse]
-> ReadPrec GetOrganizationConformancePackDetailedStatusResponse
-> ReadPrec [GetOrganizationConformancePackDetailedStatusResponse]
-> Read GetOrganizationConformancePackDetailedStatusResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetOrganizationConformancePackDetailedStatusResponse]
$creadListPrec :: ReadPrec [GetOrganizationConformancePackDetailedStatusResponse]
readPrec :: ReadPrec GetOrganizationConformancePackDetailedStatusResponse
$creadPrec :: ReadPrec GetOrganizationConformancePackDetailedStatusResponse
readList :: ReadS [GetOrganizationConformancePackDetailedStatusResponse]
$creadList :: ReadS [GetOrganizationConformancePackDetailedStatusResponse]
readsPrec :: Int -> ReadS GetOrganizationConformancePackDetailedStatusResponse
$creadsPrec :: Int -> ReadS GetOrganizationConformancePackDetailedStatusResponse
Prelude.Read, Int
-> GetOrganizationConformancePackDetailedStatusResponse -> ShowS
[GetOrganizationConformancePackDetailedStatusResponse] -> ShowS
GetOrganizationConformancePackDetailedStatusResponse -> String
(Int
 -> GetOrganizationConformancePackDetailedStatusResponse -> ShowS)
-> (GetOrganizationConformancePackDetailedStatusResponse -> String)
-> ([GetOrganizationConformancePackDetailedStatusResponse]
    -> ShowS)
-> Show GetOrganizationConformancePackDetailedStatusResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetOrganizationConformancePackDetailedStatusResponse] -> ShowS
$cshowList :: [GetOrganizationConformancePackDetailedStatusResponse] -> ShowS
show :: GetOrganizationConformancePackDetailedStatusResponse -> String
$cshow :: GetOrganizationConformancePackDetailedStatusResponse -> String
showsPrec :: Int
-> GetOrganizationConformancePackDetailedStatusResponse -> ShowS
$cshowsPrec :: Int
-> GetOrganizationConformancePackDetailedStatusResponse -> ShowS
Prelude.Show, (forall x.
 GetOrganizationConformancePackDetailedStatusResponse
 -> Rep GetOrganizationConformancePackDetailedStatusResponse x)
-> (forall x.
    Rep GetOrganizationConformancePackDetailedStatusResponse x
    -> GetOrganizationConformancePackDetailedStatusResponse)
-> Generic GetOrganizationConformancePackDetailedStatusResponse
forall x.
Rep GetOrganizationConformancePackDetailedStatusResponse x
-> GetOrganizationConformancePackDetailedStatusResponse
forall x.
GetOrganizationConformancePackDetailedStatusResponse
-> Rep GetOrganizationConformancePackDetailedStatusResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetOrganizationConformancePackDetailedStatusResponse x
-> GetOrganizationConformancePackDetailedStatusResponse
$cfrom :: forall x.
GetOrganizationConformancePackDetailedStatusResponse
-> Rep GetOrganizationConformancePackDetailedStatusResponse x
Prelude.Generic)

-- |
-- Create a value of 'GetOrganizationConformancePackDetailedStatusResponse' 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:
--
-- 'organizationConformancePackDetailedStatuses', 'getOrganizationConformancePackDetailedStatusResponse_organizationConformancePackDetailedStatuses' - A list of @OrganizationConformancePackDetailedStatus@ objects.
--
-- 'nextToken', 'getOrganizationConformancePackDetailedStatusResponse_nextToken' - The nextToken string returned on a previous page that you use to get the
-- next page of results in a paginated response.
--
-- 'httpStatus', 'getOrganizationConformancePackDetailedStatusResponse_httpStatus' - The response's http status code.
newGetOrganizationConformancePackDetailedStatusResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  GetOrganizationConformancePackDetailedStatusResponse
newGetOrganizationConformancePackDetailedStatusResponse :: Int -> GetOrganizationConformancePackDetailedStatusResponse
newGetOrganizationConformancePackDetailedStatusResponse
  Int
pHttpStatus_ =
    GetOrganizationConformancePackDetailedStatusResponse' :: Maybe [OrganizationConformancePackDetailedStatus]
-> Maybe Text
-> Int
-> GetOrganizationConformancePackDetailedStatusResponse
GetOrganizationConformancePackDetailedStatusResponse'
      { $sel:organizationConformancePackDetailedStatuses:GetOrganizationConformancePackDetailedStatusResponse' :: Maybe [OrganizationConformancePackDetailedStatus]
organizationConformancePackDetailedStatuses =
          Maybe [OrganizationConformancePackDetailedStatus]
forall a. Maybe a
Prelude.Nothing,
        $sel:nextToken:GetOrganizationConformancePackDetailedStatusResponse' :: Maybe Text
nextToken =
          Maybe Text
forall a. Maybe a
Prelude.Nothing,
        $sel:httpStatus:GetOrganizationConformancePackDetailedStatusResponse' :: Int
httpStatus =
          Int
pHttpStatus_
      }

-- | A list of @OrganizationConformancePackDetailedStatus@ objects.
getOrganizationConformancePackDetailedStatusResponse_organizationConformancePackDetailedStatuses :: Lens.Lens' GetOrganizationConformancePackDetailedStatusResponse (Prelude.Maybe [OrganizationConformancePackDetailedStatus])
getOrganizationConformancePackDetailedStatusResponse_organizationConformancePackDetailedStatuses :: (Maybe [OrganizationConformancePackDetailedStatus]
 -> f (Maybe [OrganizationConformancePackDetailedStatus]))
-> GetOrganizationConformancePackDetailedStatusResponse
-> f GetOrganizationConformancePackDetailedStatusResponse
getOrganizationConformancePackDetailedStatusResponse_organizationConformancePackDetailedStatuses = (GetOrganizationConformancePackDetailedStatusResponse
 -> Maybe [OrganizationConformancePackDetailedStatus])
-> (GetOrganizationConformancePackDetailedStatusResponse
    -> Maybe [OrganizationConformancePackDetailedStatus]
    -> GetOrganizationConformancePackDetailedStatusResponse)
-> Lens'
     GetOrganizationConformancePackDetailedStatusResponse
     (Maybe [OrganizationConformancePackDetailedStatus])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetOrganizationConformancePackDetailedStatusResponse' {Maybe [OrganizationConformancePackDetailedStatus]
organizationConformancePackDetailedStatuses :: Maybe [OrganizationConformancePackDetailedStatus]
$sel:organizationConformancePackDetailedStatuses:GetOrganizationConformancePackDetailedStatusResponse' :: GetOrganizationConformancePackDetailedStatusResponse
-> Maybe [OrganizationConformancePackDetailedStatus]
organizationConformancePackDetailedStatuses} -> Maybe [OrganizationConformancePackDetailedStatus]
organizationConformancePackDetailedStatuses) (\s :: GetOrganizationConformancePackDetailedStatusResponse
s@GetOrganizationConformancePackDetailedStatusResponse' {} Maybe [OrganizationConformancePackDetailedStatus]
a -> GetOrganizationConformancePackDetailedStatusResponse
s {$sel:organizationConformancePackDetailedStatuses:GetOrganizationConformancePackDetailedStatusResponse' :: Maybe [OrganizationConformancePackDetailedStatus]
organizationConformancePackDetailedStatuses = Maybe [OrganizationConformancePackDetailedStatus]
a} :: GetOrganizationConformancePackDetailedStatusResponse) ((Maybe [OrganizationConformancePackDetailedStatus]
  -> f (Maybe [OrganizationConformancePackDetailedStatus]))
 -> GetOrganizationConformancePackDetailedStatusResponse
 -> f GetOrganizationConformancePackDetailedStatusResponse)
-> ((Maybe [OrganizationConformancePackDetailedStatus]
     -> f (Maybe [OrganizationConformancePackDetailedStatus]))
    -> Maybe [OrganizationConformancePackDetailedStatus]
    -> f (Maybe [OrganizationConformancePackDetailedStatus]))
-> (Maybe [OrganizationConformancePackDetailedStatus]
    -> f (Maybe [OrganizationConformancePackDetailedStatus]))
-> GetOrganizationConformancePackDetailedStatusResponse
-> f GetOrganizationConformancePackDetailedStatusResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  [OrganizationConformancePackDetailedStatus]
  [OrganizationConformancePackDetailedStatus]
  [OrganizationConformancePackDetailedStatus]
  [OrganizationConformancePackDetailedStatus]
-> Iso
     (Maybe [OrganizationConformancePackDetailedStatus])
     (Maybe [OrganizationConformancePackDetailedStatus])
     (Maybe [OrganizationConformancePackDetailedStatus])
     (Maybe [OrganizationConformancePackDetailedStatus])
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
  [OrganizationConformancePackDetailedStatus]
  [OrganizationConformancePackDetailedStatus]
  [OrganizationConformancePackDetailedStatus]
  [OrganizationConformancePackDetailedStatus]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The nextToken string returned on a previous page that you use to get the
-- next page of results in a paginated response.
getOrganizationConformancePackDetailedStatusResponse_nextToken :: Lens.Lens' GetOrganizationConformancePackDetailedStatusResponse (Prelude.Maybe Prelude.Text)
getOrganizationConformancePackDetailedStatusResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> GetOrganizationConformancePackDetailedStatusResponse
-> f GetOrganizationConformancePackDetailedStatusResponse
getOrganizationConformancePackDetailedStatusResponse_nextToken = (GetOrganizationConformancePackDetailedStatusResponse
 -> Maybe Text)
-> (GetOrganizationConformancePackDetailedStatusResponse
    -> Maybe Text
    -> GetOrganizationConformancePackDetailedStatusResponse)
-> Lens'
     GetOrganizationConformancePackDetailedStatusResponse (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetOrganizationConformancePackDetailedStatusResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:GetOrganizationConformancePackDetailedStatusResponse' :: GetOrganizationConformancePackDetailedStatusResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: GetOrganizationConformancePackDetailedStatusResponse
s@GetOrganizationConformancePackDetailedStatusResponse' {} Maybe Text
a -> GetOrganizationConformancePackDetailedStatusResponse
s {$sel:nextToken:GetOrganizationConformancePackDetailedStatusResponse' :: Maybe Text
nextToken = Maybe Text
a} :: GetOrganizationConformancePackDetailedStatusResponse)

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

instance
  Prelude.NFData
    GetOrganizationConformancePackDetailedStatusResponse