{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# 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.Types.OrganizationConformancePackDetailedStatus
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.Config.Types.OrganizationConformancePackDetailedStatus where

import Amazonka.Config.Types.OrganizationResourceDetailedStatus
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

-- | Organization conformance pack creation or deletion status in each member
-- account. This includes the name of the conformance pack, the status,
-- error code and error message when the conformance pack creation or
-- deletion failed.
--
-- /See:/ 'newOrganizationConformancePackDetailedStatus' smart constructor.
data OrganizationConformancePackDetailedStatus = OrganizationConformancePackDetailedStatus'
  { -- | An error code that is returned when conformance pack creation or
    -- deletion failed in the member account.
    OrganizationConformancePackDetailedStatus -> Maybe Text
errorCode :: Prelude.Maybe Prelude.Text,
    -- | An error message indicating that conformance pack account creation or
    -- deletion has failed due to an error in the member account.
    OrganizationConformancePackDetailedStatus -> Maybe Text
errorMessage :: Prelude.Maybe Prelude.Text,
    -- | The timestamp of the last status update.
    OrganizationConformancePackDetailedStatus -> Maybe POSIX
lastUpdateTime :: Prelude.Maybe Data.POSIX,
    -- | The 12-digit account ID of a member account.
    OrganizationConformancePackDetailedStatus -> Text
accountId :: Prelude.Text,
    -- | The name of conformance pack deployed in the member account.
    OrganizationConformancePackDetailedStatus -> Text
conformancePackName :: Prelude.Text,
    -- | Indicates deployment status for conformance pack in a member account.
    -- When management account calls @PutOrganizationConformancePack@ action
    -- for the first time, conformance pack status is created in the member
    -- account. When management account calls @PutOrganizationConformancePack@
    -- action for the second time, conformance pack status is updated in the
    -- member account. Conformance pack status is deleted when the management
    -- account deletes @OrganizationConformancePack@ and disables service
    -- access for @config-multiaccountsetup.amazonaws.com@.
    --
    -- Config sets the state of the conformance pack to:
    --
    -- -   @CREATE_SUCCESSFUL@ when conformance pack has been created in the
    --     member account.
    --
    -- -   @CREATE_IN_PROGRESS@ when conformance pack is being created in the
    --     member account.
    --
    -- -   @CREATE_FAILED@ when conformance pack creation has failed in the
    --     member account.
    --
    -- -   @DELETE_FAILED@ when conformance pack deletion has failed in the
    --     member account.
    --
    -- -   @DELETE_IN_PROGRESS@ when conformance pack is being deleted in the
    --     member account.
    --
    -- -   @DELETE_SUCCESSFUL@ when conformance pack has been deleted in the
    --     member account.
    --
    -- -   @UPDATE_SUCCESSFUL@ when conformance pack has been updated in the
    --     member account.
    --
    -- -   @UPDATE_IN_PROGRESS@ when conformance pack is being updated in the
    --     member account.
    --
    -- -   @UPDATE_FAILED@ when conformance pack deletion has failed in the
    --     member account.
    OrganizationConformancePackDetailedStatus
-> OrganizationResourceDetailedStatus
status :: OrganizationResourceDetailedStatus
  }
  deriving (OrganizationConformancePackDetailedStatus
-> OrganizationConformancePackDetailedStatus -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: OrganizationConformancePackDetailedStatus
-> OrganizationConformancePackDetailedStatus -> Bool
$c/= :: OrganizationConformancePackDetailedStatus
-> OrganizationConformancePackDetailedStatus -> Bool
== :: OrganizationConformancePackDetailedStatus
-> OrganizationConformancePackDetailedStatus -> Bool
$c== :: OrganizationConformancePackDetailedStatus
-> OrganizationConformancePackDetailedStatus -> Bool
Prelude.Eq, ReadPrec [OrganizationConformancePackDetailedStatus]
ReadPrec OrganizationConformancePackDetailedStatus
Int -> ReadS OrganizationConformancePackDetailedStatus
ReadS [OrganizationConformancePackDetailedStatus]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [OrganizationConformancePackDetailedStatus]
$creadListPrec :: ReadPrec [OrganizationConformancePackDetailedStatus]
readPrec :: ReadPrec OrganizationConformancePackDetailedStatus
$creadPrec :: ReadPrec OrganizationConformancePackDetailedStatus
readList :: ReadS [OrganizationConformancePackDetailedStatus]
$creadList :: ReadS [OrganizationConformancePackDetailedStatus]
readsPrec :: Int -> ReadS OrganizationConformancePackDetailedStatus
$creadsPrec :: Int -> ReadS OrganizationConformancePackDetailedStatus
Prelude.Read, Int -> OrganizationConformancePackDetailedStatus -> ShowS
[OrganizationConformancePackDetailedStatus] -> ShowS
OrganizationConformancePackDetailedStatus -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [OrganizationConformancePackDetailedStatus] -> ShowS
$cshowList :: [OrganizationConformancePackDetailedStatus] -> ShowS
show :: OrganizationConformancePackDetailedStatus -> String
$cshow :: OrganizationConformancePackDetailedStatus -> String
showsPrec :: Int -> OrganizationConformancePackDetailedStatus -> ShowS
$cshowsPrec :: Int -> OrganizationConformancePackDetailedStatus -> ShowS
Prelude.Show, forall x.
Rep OrganizationConformancePackDetailedStatus x
-> OrganizationConformancePackDetailedStatus
forall x.
OrganizationConformancePackDetailedStatus
-> Rep OrganizationConformancePackDetailedStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep OrganizationConformancePackDetailedStatus x
-> OrganizationConformancePackDetailedStatus
$cfrom :: forall x.
OrganizationConformancePackDetailedStatus
-> Rep OrganizationConformancePackDetailedStatus x
Prelude.Generic)

-- |
-- Create a value of 'OrganizationConformancePackDetailedStatus' 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:
--
-- 'errorCode', 'organizationConformancePackDetailedStatus_errorCode' - An error code that is returned when conformance pack creation or
-- deletion failed in the member account.
--
-- 'errorMessage', 'organizationConformancePackDetailedStatus_errorMessage' - An error message indicating that conformance pack account creation or
-- deletion has failed due to an error in the member account.
--
-- 'lastUpdateTime', 'organizationConformancePackDetailedStatus_lastUpdateTime' - The timestamp of the last status update.
--
-- 'accountId', 'organizationConformancePackDetailedStatus_accountId' - The 12-digit account ID of a member account.
--
-- 'conformancePackName', 'organizationConformancePackDetailedStatus_conformancePackName' - The name of conformance pack deployed in the member account.
--
-- 'status', 'organizationConformancePackDetailedStatus_status' - Indicates deployment status for conformance pack in a member account.
-- When management account calls @PutOrganizationConformancePack@ action
-- for the first time, conformance pack status is created in the member
-- account. When management account calls @PutOrganizationConformancePack@
-- action for the second time, conformance pack status is updated in the
-- member account. Conformance pack status is deleted when the management
-- account deletes @OrganizationConformancePack@ and disables service
-- access for @config-multiaccountsetup.amazonaws.com@.
--
-- Config sets the state of the conformance pack to:
--
-- -   @CREATE_SUCCESSFUL@ when conformance pack has been created in the
--     member account.
--
-- -   @CREATE_IN_PROGRESS@ when conformance pack is being created in the
--     member account.
--
-- -   @CREATE_FAILED@ when conformance pack creation has failed in the
--     member account.
--
-- -   @DELETE_FAILED@ when conformance pack deletion has failed in the
--     member account.
--
-- -   @DELETE_IN_PROGRESS@ when conformance pack is being deleted in the
--     member account.
--
-- -   @DELETE_SUCCESSFUL@ when conformance pack has been deleted in the
--     member account.
--
-- -   @UPDATE_SUCCESSFUL@ when conformance pack has been updated in the
--     member account.
--
-- -   @UPDATE_IN_PROGRESS@ when conformance pack is being updated in the
--     member account.
--
-- -   @UPDATE_FAILED@ when conformance pack deletion has failed in the
--     member account.
newOrganizationConformancePackDetailedStatus ::
  -- | 'accountId'
  Prelude.Text ->
  -- | 'conformancePackName'
  Prelude.Text ->
  -- | 'status'
  OrganizationResourceDetailedStatus ->
  OrganizationConformancePackDetailedStatus
newOrganizationConformancePackDetailedStatus :: Text
-> Text
-> OrganizationResourceDetailedStatus
-> OrganizationConformancePackDetailedStatus
newOrganizationConformancePackDetailedStatus
  Text
pAccountId_
  Text
pConformancePackName_
  OrganizationResourceDetailedStatus
pStatus_ =
    OrganizationConformancePackDetailedStatus'
      { $sel:errorCode:OrganizationConformancePackDetailedStatus' :: Maybe Text
errorCode =
          forall a. Maybe a
Prelude.Nothing,
        $sel:errorMessage:OrganizationConformancePackDetailedStatus' :: Maybe Text
errorMessage = forall a. Maybe a
Prelude.Nothing,
        $sel:lastUpdateTime:OrganizationConformancePackDetailedStatus' :: Maybe POSIX
lastUpdateTime = forall a. Maybe a
Prelude.Nothing,
        $sel:accountId:OrganizationConformancePackDetailedStatus' :: Text
accountId = Text
pAccountId_,
        $sel:conformancePackName:OrganizationConformancePackDetailedStatus' :: Text
conformancePackName =
          Text
pConformancePackName_,
        $sel:status:OrganizationConformancePackDetailedStatus' :: OrganizationResourceDetailedStatus
status = OrganizationResourceDetailedStatus
pStatus_
      }

-- | An error code that is returned when conformance pack creation or
-- deletion failed in the member account.
organizationConformancePackDetailedStatus_errorCode :: Lens.Lens' OrganizationConformancePackDetailedStatus (Prelude.Maybe Prelude.Text)
organizationConformancePackDetailedStatus_errorCode :: Lens' OrganizationConformancePackDetailedStatus (Maybe Text)
organizationConformancePackDetailedStatus_errorCode = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrganizationConformancePackDetailedStatus' {Maybe Text
errorCode :: Maybe Text
$sel:errorCode:OrganizationConformancePackDetailedStatus' :: OrganizationConformancePackDetailedStatus -> Maybe Text
errorCode} -> Maybe Text
errorCode) (\s :: OrganizationConformancePackDetailedStatus
s@OrganizationConformancePackDetailedStatus' {} Maybe Text
a -> OrganizationConformancePackDetailedStatus
s {$sel:errorCode:OrganizationConformancePackDetailedStatus' :: Maybe Text
errorCode = Maybe Text
a} :: OrganizationConformancePackDetailedStatus)

-- | An error message indicating that conformance pack account creation or
-- deletion has failed due to an error in the member account.
organizationConformancePackDetailedStatus_errorMessage :: Lens.Lens' OrganizationConformancePackDetailedStatus (Prelude.Maybe Prelude.Text)
organizationConformancePackDetailedStatus_errorMessage :: Lens' OrganizationConformancePackDetailedStatus (Maybe Text)
organizationConformancePackDetailedStatus_errorMessage = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrganizationConformancePackDetailedStatus' {Maybe Text
errorMessage :: Maybe Text
$sel:errorMessage:OrganizationConformancePackDetailedStatus' :: OrganizationConformancePackDetailedStatus -> Maybe Text
errorMessage} -> Maybe Text
errorMessage) (\s :: OrganizationConformancePackDetailedStatus
s@OrganizationConformancePackDetailedStatus' {} Maybe Text
a -> OrganizationConformancePackDetailedStatus
s {$sel:errorMessage:OrganizationConformancePackDetailedStatus' :: Maybe Text
errorMessage = Maybe Text
a} :: OrganizationConformancePackDetailedStatus)

-- | The timestamp of the last status update.
organizationConformancePackDetailedStatus_lastUpdateTime :: Lens.Lens' OrganizationConformancePackDetailedStatus (Prelude.Maybe Prelude.UTCTime)
organizationConformancePackDetailedStatus_lastUpdateTime :: Lens' OrganizationConformancePackDetailedStatus (Maybe UTCTime)
organizationConformancePackDetailedStatus_lastUpdateTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrganizationConformancePackDetailedStatus' {Maybe POSIX
lastUpdateTime :: Maybe POSIX
$sel:lastUpdateTime:OrganizationConformancePackDetailedStatus' :: OrganizationConformancePackDetailedStatus -> Maybe POSIX
lastUpdateTime} -> Maybe POSIX
lastUpdateTime) (\s :: OrganizationConformancePackDetailedStatus
s@OrganizationConformancePackDetailedStatus' {} Maybe POSIX
a -> OrganizationConformancePackDetailedStatus
s {$sel:lastUpdateTime:OrganizationConformancePackDetailedStatus' :: Maybe POSIX
lastUpdateTime = Maybe POSIX
a} :: OrganizationConformancePackDetailedStatus) 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 (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The 12-digit account ID of a member account.
organizationConformancePackDetailedStatus_accountId :: Lens.Lens' OrganizationConformancePackDetailedStatus Prelude.Text
organizationConformancePackDetailedStatus_accountId :: Lens' OrganizationConformancePackDetailedStatus Text
organizationConformancePackDetailedStatus_accountId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrganizationConformancePackDetailedStatus' {Text
accountId :: Text
$sel:accountId:OrganizationConformancePackDetailedStatus' :: OrganizationConformancePackDetailedStatus -> Text
accountId} -> Text
accountId) (\s :: OrganizationConformancePackDetailedStatus
s@OrganizationConformancePackDetailedStatus' {} Text
a -> OrganizationConformancePackDetailedStatus
s {$sel:accountId:OrganizationConformancePackDetailedStatus' :: Text
accountId = Text
a} :: OrganizationConformancePackDetailedStatus)

-- | The name of conformance pack deployed in the member account.
organizationConformancePackDetailedStatus_conformancePackName :: Lens.Lens' OrganizationConformancePackDetailedStatus Prelude.Text
organizationConformancePackDetailedStatus_conformancePackName :: Lens' OrganizationConformancePackDetailedStatus Text
organizationConformancePackDetailedStatus_conformancePackName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrganizationConformancePackDetailedStatus' {Text
conformancePackName :: Text
$sel:conformancePackName:OrganizationConformancePackDetailedStatus' :: OrganizationConformancePackDetailedStatus -> Text
conformancePackName} -> Text
conformancePackName) (\s :: OrganizationConformancePackDetailedStatus
s@OrganizationConformancePackDetailedStatus' {} Text
a -> OrganizationConformancePackDetailedStatus
s {$sel:conformancePackName:OrganizationConformancePackDetailedStatus' :: Text
conformancePackName = Text
a} :: OrganizationConformancePackDetailedStatus)

-- | Indicates deployment status for conformance pack in a member account.
-- When management account calls @PutOrganizationConformancePack@ action
-- for the first time, conformance pack status is created in the member
-- account. When management account calls @PutOrganizationConformancePack@
-- action for the second time, conformance pack status is updated in the
-- member account. Conformance pack status is deleted when the management
-- account deletes @OrganizationConformancePack@ and disables service
-- access for @config-multiaccountsetup.amazonaws.com@.
--
-- Config sets the state of the conformance pack to:
--
-- -   @CREATE_SUCCESSFUL@ when conformance pack has been created in the
--     member account.
--
-- -   @CREATE_IN_PROGRESS@ when conformance pack is being created in the
--     member account.
--
-- -   @CREATE_FAILED@ when conformance pack creation has failed in the
--     member account.
--
-- -   @DELETE_FAILED@ when conformance pack deletion has failed in the
--     member account.
--
-- -   @DELETE_IN_PROGRESS@ when conformance pack is being deleted in the
--     member account.
--
-- -   @DELETE_SUCCESSFUL@ when conformance pack has been deleted in the
--     member account.
--
-- -   @UPDATE_SUCCESSFUL@ when conformance pack has been updated in the
--     member account.
--
-- -   @UPDATE_IN_PROGRESS@ when conformance pack is being updated in the
--     member account.
--
-- -   @UPDATE_FAILED@ when conformance pack deletion has failed in the
--     member account.
organizationConformancePackDetailedStatus_status :: Lens.Lens' OrganizationConformancePackDetailedStatus OrganizationResourceDetailedStatus
organizationConformancePackDetailedStatus_status :: Lens'
  OrganizationConformancePackDetailedStatus
  OrganizationResourceDetailedStatus
organizationConformancePackDetailedStatus_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OrganizationConformancePackDetailedStatus' {OrganizationResourceDetailedStatus
status :: OrganizationResourceDetailedStatus
$sel:status:OrganizationConformancePackDetailedStatus' :: OrganizationConformancePackDetailedStatus
-> OrganizationResourceDetailedStatus
status} -> OrganizationResourceDetailedStatus
status) (\s :: OrganizationConformancePackDetailedStatus
s@OrganizationConformancePackDetailedStatus' {} OrganizationResourceDetailedStatus
a -> OrganizationConformancePackDetailedStatus
s {$sel:status:OrganizationConformancePackDetailedStatus' :: OrganizationResourceDetailedStatus
status = OrganizationResourceDetailedStatus
a} :: OrganizationConformancePackDetailedStatus)

instance
  Data.FromJSON
    OrganizationConformancePackDetailedStatus
  where
  parseJSON :: Value -> Parser OrganizationConformancePackDetailedStatus
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"OrganizationConformancePackDetailedStatus"
      ( \Object
x ->
          Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Text
-> Text
-> OrganizationResourceDetailedStatus
-> OrganizationConformancePackDetailedStatus
OrganizationConformancePackDetailedStatus'
            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ErrorCode")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ErrorMessage")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"LastUpdateTime")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"AccountId")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"ConformancePackName")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"Status")
      )

instance
  Prelude.Hashable
    OrganizationConformancePackDetailedStatus
  where
  hashWithSalt :: Int -> OrganizationConformancePackDetailedStatus -> Int
hashWithSalt
    Int
_salt
    OrganizationConformancePackDetailedStatus' {Maybe Text
Maybe POSIX
Text
OrganizationResourceDetailedStatus
status :: OrganizationResourceDetailedStatus
conformancePackName :: Text
accountId :: Text
lastUpdateTime :: Maybe POSIX
errorMessage :: Maybe Text
errorCode :: Maybe Text
$sel:status:OrganizationConformancePackDetailedStatus' :: OrganizationConformancePackDetailedStatus
-> OrganizationResourceDetailedStatus
$sel:conformancePackName:OrganizationConformancePackDetailedStatus' :: OrganizationConformancePackDetailedStatus -> Text
$sel:accountId:OrganizationConformancePackDetailedStatus' :: OrganizationConformancePackDetailedStatus -> Text
$sel:lastUpdateTime:OrganizationConformancePackDetailedStatus' :: OrganizationConformancePackDetailedStatus -> Maybe POSIX
$sel:errorMessage:OrganizationConformancePackDetailedStatus' :: OrganizationConformancePackDetailedStatus -> Maybe Text
$sel:errorCode:OrganizationConformancePackDetailedStatus' :: OrganizationConformancePackDetailedStatus -> Maybe Text
..} =
      Int
_salt
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
errorCode
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
errorMessage
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
lastUpdateTime
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
accountId
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
conformancePackName
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` OrganizationResourceDetailedStatus
status

instance
  Prelude.NFData
    OrganizationConformancePackDetailedStatus
  where
  rnf :: OrganizationConformancePackDetailedStatus -> ()
rnf OrganizationConformancePackDetailedStatus' {Maybe Text
Maybe POSIX
Text
OrganizationResourceDetailedStatus
status :: OrganizationResourceDetailedStatus
conformancePackName :: Text
accountId :: Text
lastUpdateTime :: Maybe POSIX
errorMessage :: Maybe Text
errorCode :: Maybe Text
$sel:status:OrganizationConformancePackDetailedStatus' :: OrganizationConformancePackDetailedStatus
-> OrganizationResourceDetailedStatus
$sel:conformancePackName:OrganizationConformancePackDetailedStatus' :: OrganizationConformancePackDetailedStatus -> Text
$sel:accountId:OrganizationConformancePackDetailedStatus' :: OrganizationConformancePackDetailedStatus -> Text
$sel:lastUpdateTime:OrganizationConformancePackDetailedStatus' :: OrganizationConformancePackDetailedStatus -> Maybe POSIX
$sel:errorMessage:OrganizationConformancePackDetailedStatus' :: OrganizationConformancePackDetailedStatus -> Maybe Text
$sel:errorCode:OrganizationConformancePackDetailedStatus' :: OrganizationConformancePackDetailedStatus -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
errorCode
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
errorMessage
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
lastUpdateTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
accountId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
conformancePackName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf OrganizationResourceDetailedStatus
status