{-# 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.ConformancePackDetail
-- 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.ConformancePackDetail where

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

-- | Returns details of a conformance pack. A conformance pack is a
-- collection of Config rules and remediation actions that can be easily
-- deployed in an account and a region.
--
-- /See:/ 'newConformancePackDetail' smart constructor.
data ConformancePackDetail = ConformancePackDetail'
  { -- | A list of @ConformancePackInputParameter@ objects.
    ConformancePackDetail -> Maybe [ConformancePackInputParameter]
conformancePackInputParameters :: Prelude.Maybe [ConformancePackInputParameter],
    -- | The Amazon Web Services service that created the conformance pack.
    ConformancePackDetail -> Maybe Text
createdBy :: Prelude.Maybe Prelude.Text,
    -- | The name of the Amazon S3 bucket where Config stores conformance pack
    -- templates.
    --
    -- This field is optional.
    ConformancePackDetail -> Maybe Text
deliveryS3Bucket :: Prelude.Maybe Prelude.Text,
    -- | The prefix for the Amazon S3 bucket.
    --
    -- This field is optional.
    ConformancePackDetail -> Maybe Text
deliveryS3KeyPrefix :: Prelude.Maybe Prelude.Text,
    -- | The last time a conformation pack update was requested.
    ConformancePackDetail -> Maybe POSIX
lastUpdateRequestedTime :: Prelude.Maybe Data.POSIX,
    -- | An object that contains the name or Amazon Resource Name (ARN) of the
    -- Amazon Web Services Systems Manager document (SSM document) and the
    -- version of the SSM document that is used to create a conformance pack.
    ConformancePackDetail -> Maybe TemplateSSMDocumentDetails
templateSSMDocumentDetails :: Prelude.Maybe TemplateSSMDocumentDetails,
    -- | Name of the conformance pack.
    ConformancePackDetail -> Text
conformancePackName :: Prelude.Text,
    -- | Amazon Resource Name (ARN) of the conformance pack.
    ConformancePackDetail -> Text
conformancePackArn :: Prelude.Text,
    -- | ID of the conformance pack.
    ConformancePackDetail -> Text
conformancePackId :: Prelude.Text
  }
  deriving (ConformancePackDetail -> ConformancePackDetail -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ConformancePackDetail -> ConformancePackDetail -> Bool
$c/= :: ConformancePackDetail -> ConformancePackDetail -> Bool
== :: ConformancePackDetail -> ConformancePackDetail -> Bool
$c== :: ConformancePackDetail -> ConformancePackDetail -> Bool
Prelude.Eq, ReadPrec [ConformancePackDetail]
ReadPrec ConformancePackDetail
Int -> ReadS ConformancePackDetail
ReadS [ConformancePackDetail]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ConformancePackDetail]
$creadListPrec :: ReadPrec [ConformancePackDetail]
readPrec :: ReadPrec ConformancePackDetail
$creadPrec :: ReadPrec ConformancePackDetail
readList :: ReadS [ConformancePackDetail]
$creadList :: ReadS [ConformancePackDetail]
readsPrec :: Int -> ReadS ConformancePackDetail
$creadsPrec :: Int -> ReadS ConformancePackDetail
Prelude.Read, Int -> ConformancePackDetail -> ShowS
[ConformancePackDetail] -> ShowS
ConformancePackDetail -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ConformancePackDetail] -> ShowS
$cshowList :: [ConformancePackDetail] -> ShowS
show :: ConformancePackDetail -> String
$cshow :: ConformancePackDetail -> String
showsPrec :: Int -> ConformancePackDetail -> ShowS
$cshowsPrec :: Int -> ConformancePackDetail -> ShowS
Prelude.Show, forall x. Rep ConformancePackDetail x -> ConformancePackDetail
forall x. ConformancePackDetail -> Rep ConformancePackDetail x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ConformancePackDetail x -> ConformancePackDetail
$cfrom :: forall x. ConformancePackDetail -> Rep ConformancePackDetail x
Prelude.Generic)

-- |
-- Create a value of 'ConformancePackDetail' 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:
--
-- 'conformancePackInputParameters', 'conformancePackDetail_conformancePackInputParameters' - A list of @ConformancePackInputParameter@ objects.
--
-- 'createdBy', 'conformancePackDetail_createdBy' - The Amazon Web Services service that created the conformance pack.
--
-- 'deliveryS3Bucket', 'conformancePackDetail_deliveryS3Bucket' - The name of the Amazon S3 bucket where Config stores conformance pack
-- templates.
--
-- This field is optional.
--
-- 'deliveryS3KeyPrefix', 'conformancePackDetail_deliveryS3KeyPrefix' - The prefix for the Amazon S3 bucket.
--
-- This field is optional.
--
-- 'lastUpdateRequestedTime', 'conformancePackDetail_lastUpdateRequestedTime' - The last time a conformation pack update was requested.
--
-- 'templateSSMDocumentDetails', 'conformancePackDetail_templateSSMDocumentDetails' - An object that contains the name or Amazon Resource Name (ARN) of the
-- Amazon Web Services Systems Manager document (SSM document) and the
-- version of the SSM document that is used to create a conformance pack.
--
-- 'conformancePackName', 'conformancePackDetail_conformancePackName' - Name of the conformance pack.
--
-- 'conformancePackArn', 'conformancePackDetail_conformancePackArn' - Amazon Resource Name (ARN) of the conformance pack.
--
-- 'conformancePackId', 'conformancePackDetail_conformancePackId' - ID of the conformance pack.
newConformancePackDetail ::
  -- | 'conformancePackName'
  Prelude.Text ->
  -- | 'conformancePackArn'
  Prelude.Text ->
  -- | 'conformancePackId'
  Prelude.Text ->
  ConformancePackDetail
newConformancePackDetail :: Text -> Text -> Text -> ConformancePackDetail
newConformancePackDetail
  Text
pConformancePackName_
  Text
pConformancePackArn_
  Text
pConformancePackId_ =
    ConformancePackDetail'
      { $sel:conformancePackInputParameters:ConformancePackDetail' :: Maybe [ConformancePackInputParameter]
conformancePackInputParameters =
          forall a. Maybe a
Prelude.Nothing,
        $sel:createdBy:ConformancePackDetail' :: Maybe Text
createdBy = forall a. Maybe a
Prelude.Nothing,
        $sel:deliveryS3Bucket:ConformancePackDetail' :: Maybe Text
deliveryS3Bucket = forall a. Maybe a
Prelude.Nothing,
        $sel:deliveryS3KeyPrefix:ConformancePackDetail' :: Maybe Text
deliveryS3KeyPrefix = forall a. Maybe a
Prelude.Nothing,
        $sel:lastUpdateRequestedTime:ConformancePackDetail' :: Maybe POSIX
lastUpdateRequestedTime = forall a. Maybe a
Prelude.Nothing,
        $sel:templateSSMDocumentDetails:ConformancePackDetail' :: Maybe TemplateSSMDocumentDetails
templateSSMDocumentDetails = forall a. Maybe a
Prelude.Nothing,
        $sel:conformancePackName:ConformancePackDetail' :: Text
conformancePackName = Text
pConformancePackName_,
        $sel:conformancePackArn:ConformancePackDetail' :: Text
conformancePackArn = Text
pConformancePackArn_,
        $sel:conformancePackId:ConformancePackDetail' :: Text
conformancePackId = Text
pConformancePackId_
      }

-- | A list of @ConformancePackInputParameter@ objects.
conformancePackDetail_conformancePackInputParameters :: Lens.Lens' ConformancePackDetail (Prelude.Maybe [ConformancePackInputParameter])
conformancePackDetail_conformancePackInputParameters :: Lens' ConformancePackDetail (Maybe [ConformancePackInputParameter])
conformancePackDetail_conformancePackInputParameters = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ConformancePackDetail' {Maybe [ConformancePackInputParameter]
conformancePackInputParameters :: Maybe [ConformancePackInputParameter]
$sel:conformancePackInputParameters:ConformancePackDetail' :: ConformancePackDetail -> Maybe [ConformancePackInputParameter]
conformancePackInputParameters} -> Maybe [ConformancePackInputParameter]
conformancePackInputParameters) (\s :: ConformancePackDetail
s@ConformancePackDetail' {} Maybe [ConformancePackInputParameter]
a -> ConformancePackDetail
s {$sel:conformancePackInputParameters:ConformancePackDetail' :: Maybe [ConformancePackInputParameter]
conformancePackInputParameters = Maybe [ConformancePackInputParameter]
a} :: ConformancePackDetail) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The Amazon Web Services service that created the conformance pack.
conformancePackDetail_createdBy :: Lens.Lens' ConformancePackDetail (Prelude.Maybe Prelude.Text)
conformancePackDetail_createdBy :: Lens' ConformancePackDetail (Maybe Text)
conformancePackDetail_createdBy = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ConformancePackDetail' {Maybe Text
createdBy :: Maybe Text
$sel:createdBy:ConformancePackDetail' :: ConformancePackDetail -> Maybe Text
createdBy} -> Maybe Text
createdBy) (\s :: ConformancePackDetail
s@ConformancePackDetail' {} Maybe Text
a -> ConformancePackDetail
s {$sel:createdBy:ConformancePackDetail' :: Maybe Text
createdBy = Maybe Text
a} :: ConformancePackDetail)

-- | The name of the Amazon S3 bucket where Config stores conformance pack
-- templates.
--
-- This field is optional.
conformancePackDetail_deliveryS3Bucket :: Lens.Lens' ConformancePackDetail (Prelude.Maybe Prelude.Text)
conformancePackDetail_deliveryS3Bucket :: Lens' ConformancePackDetail (Maybe Text)
conformancePackDetail_deliveryS3Bucket = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ConformancePackDetail' {Maybe Text
deliveryS3Bucket :: Maybe Text
$sel:deliveryS3Bucket:ConformancePackDetail' :: ConformancePackDetail -> Maybe Text
deliveryS3Bucket} -> Maybe Text
deliveryS3Bucket) (\s :: ConformancePackDetail
s@ConformancePackDetail' {} Maybe Text
a -> ConformancePackDetail
s {$sel:deliveryS3Bucket:ConformancePackDetail' :: Maybe Text
deliveryS3Bucket = Maybe Text
a} :: ConformancePackDetail)

-- | The prefix for the Amazon S3 bucket.
--
-- This field is optional.
conformancePackDetail_deliveryS3KeyPrefix :: Lens.Lens' ConformancePackDetail (Prelude.Maybe Prelude.Text)
conformancePackDetail_deliveryS3KeyPrefix :: Lens' ConformancePackDetail (Maybe Text)
conformancePackDetail_deliveryS3KeyPrefix = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ConformancePackDetail' {Maybe Text
deliveryS3KeyPrefix :: Maybe Text
$sel:deliveryS3KeyPrefix:ConformancePackDetail' :: ConformancePackDetail -> Maybe Text
deliveryS3KeyPrefix} -> Maybe Text
deliveryS3KeyPrefix) (\s :: ConformancePackDetail
s@ConformancePackDetail' {} Maybe Text
a -> ConformancePackDetail
s {$sel:deliveryS3KeyPrefix:ConformancePackDetail' :: Maybe Text
deliveryS3KeyPrefix = Maybe Text
a} :: ConformancePackDetail)

-- | The last time a conformation pack update was requested.
conformancePackDetail_lastUpdateRequestedTime :: Lens.Lens' ConformancePackDetail (Prelude.Maybe Prelude.UTCTime)
conformancePackDetail_lastUpdateRequestedTime :: Lens' ConformancePackDetail (Maybe UTCTime)
conformancePackDetail_lastUpdateRequestedTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ConformancePackDetail' {Maybe POSIX
lastUpdateRequestedTime :: Maybe POSIX
$sel:lastUpdateRequestedTime:ConformancePackDetail' :: ConformancePackDetail -> Maybe POSIX
lastUpdateRequestedTime} -> Maybe POSIX
lastUpdateRequestedTime) (\s :: ConformancePackDetail
s@ConformancePackDetail' {} Maybe POSIX
a -> ConformancePackDetail
s {$sel:lastUpdateRequestedTime:ConformancePackDetail' :: Maybe POSIX
lastUpdateRequestedTime = Maybe POSIX
a} :: ConformancePackDetail) 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

-- | An object that contains the name or Amazon Resource Name (ARN) of the
-- Amazon Web Services Systems Manager document (SSM document) and the
-- version of the SSM document that is used to create a conformance pack.
conformancePackDetail_templateSSMDocumentDetails :: Lens.Lens' ConformancePackDetail (Prelude.Maybe TemplateSSMDocumentDetails)
conformancePackDetail_templateSSMDocumentDetails :: Lens' ConformancePackDetail (Maybe TemplateSSMDocumentDetails)
conformancePackDetail_templateSSMDocumentDetails = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ConformancePackDetail' {Maybe TemplateSSMDocumentDetails
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetails
$sel:templateSSMDocumentDetails:ConformancePackDetail' :: ConformancePackDetail -> Maybe TemplateSSMDocumentDetails
templateSSMDocumentDetails} -> Maybe TemplateSSMDocumentDetails
templateSSMDocumentDetails) (\s :: ConformancePackDetail
s@ConformancePackDetail' {} Maybe TemplateSSMDocumentDetails
a -> ConformancePackDetail
s {$sel:templateSSMDocumentDetails:ConformancePackDetail' :: Maybe TemplateSSMDocumentDetails
templateSSMDocumentDetails = Maybe TemplateSSMDocumentDetails
a} :: ConformancePackDetail)

-- | Name of the conformance pack.
conformancePackDetail_conformancePackName :: Lens.Lens' ConformancePackDetail Prelude.Text
conformancePackDetail_conformancePackName :: Lens' ConformancePackDetail Text
conformancePackDetail_conformancePackName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ConformancePackDetail' {Text
conformancePackName :: Text
$sel:conformancePackName:ConformancePackDetail' :: ConformancePackDetail -> Text
conformancePackName} -> Text
conformancePackName) (\s :: ConformancePackDetail
s@ConformancePackDetail' {} Text
a -> ConformancePackDetail
s {$sel:conformancePackName:ConformancePackDetail' :: Text
conformancePackName = Text
a} :: ConformancePackDetail)

-- | Amazon Resource Name (ARN) of the conformance pack.
conformancePackDetail_conformancePackArn :: Lens.Lens' ConformancePackDetail Prelude.Text
conformancePackDetail_conformancePackArn :: Lens' ConformancePackDetail Text
conformancePackDetail_conformancePackArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ConformancePackDetail' {Text
conformancePackArn :: Text
$sel:conformancePackArn:ConformancePackDetail' :: ConformancePackDetail -> Text
conformancePackArn} -> Text
conformancePackArn) (\s :: ConformancePackDetail
s@ConformancePackDetail' {} Text
a -> ConformancePackDetail
s {$sel:conformancePackArn:ConformancePackDetail' :: Text
conformancePackArn = Text
a} :: ConformancePackDetail)

-- | ID of the conformance pack.
conformancePackDetail_conformancePackId :: Lens.Lens' ConformancePackDetail Prelude.Text
conformancePackDetail_conformancePackId :: Lens' ConformancePackDetail Text
conformancePackDetail_conformancePackId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ConformancePackDetail' {Text
conformancePackId :: Text
$sel:conformancePackId:ConformancePackDetail' :: ConformancePackDetail -> Text
conformancePackId} -> Text
conformancePackId) (\s :: ConformancePackDetail
s@ConformancePackDetail' {} Text
a -> ConformancePackDetail
s {$sel:conformancePackId:ConformancePackDetail' :: Text
conformancePackId = Text
a} :: ConformancePackDetail)

instance Data.FromJSON ConformancePackDetail where
  parseJSON :: Value -> Parser ConformancePackDetail
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"ConformancePackDetail"
      ( \Object
x ->
          Maybe [ConformancePackInputParameter]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe TemplateSSMDocumentDetails
-> Text
-> Text
-> Text
-> ConformancePackDetail
ConformancePackDetail'
            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
"ConformancePackInputParameters"
                            forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty
                        )
            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
"CreatedBy")
            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
"DeliveryS3Bucket")
            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
"DeliveryS3KeyPrefix")
            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
"LastUpdateRequestedTime")
            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
"TemplateSSMDocumentDetails")
            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
"ConformancePackArn")
            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
"ConformancePackId")
      )

instance Prelude.Hashable ConformancePackDetail where
  hashWithSalt :: Int -> ConformancePackDetail -> Int
hashWithSalt Int
_salt ConformancePackDetail' {Maybe [ConformancePackInputParameter]
Maybe Text
Maybe POSIX
Maybe TemplateSSMDocumentDetails
Text
conformancePackId :: Text
conformancePackArn :: Text
conformancePackName :: Text
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetails
lastUpdateRequestedTime :: Maybe POSIX
deliveryS3KeyPrefix :: Maybe Text
deliveryS3Bucket :: Maybe Text
createdBy :: Maybe Text
conformancePackInputParameters :: Maybe [ConformancePackInputParameter]
$sel:conformancePackId:ConformancePackDetail' :: ConformancePackDetail -> Text
$sel:conformancePackArn:ConformancePackDetail' :: ConformancePackDetail -> Text
$sel:conformancePackName:ConformancePackDetail' :: ConformancePackDetail -> Text
$sel:templateSSMDocumentDetails:ConformancePackDetail' :: ConformancePackDetail -> Maybe TemplateSSMDocumentDetails
$sel:lastUpdateRequestedTime:ConformancePackDetail' :: ConformancePackDetail -> Maybe POSIX
$sel:deliveryS3KeyPrefix:ConformancePackDetail' :: ConformancePackDetail -> Maybe Text
$sel:deliveryS3Bucket:ConformancePackDetail' :: ConformancePackDetail -> Maybe Text
$sel:createdBy:ConformancePackDetail' :: ConformancePackDetail -> Maybe Text
$sel:conformancePackInputParameters:ConformancePackDetail' :: ConformancePackDetail -> Maybe [ConformancePackInputParameter]
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [ConformancePackInputParameter]
conformancePackInputParameters
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
createdBy
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
deliveryS3Bucket
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
deliveryS3KeyPrefix
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
lastUpdateRequestedTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe TemplateSSMDocumentDetails
templateSSMDocumentDetails
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
conformancePackName
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
conformancePackArn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
conformancePackId

instance Prelude.NFData ConformancePackDetail where
  rnf :: ConformancePackDetail -> ()
rnf ConformancePackDetail' {Maybe [ConformancePackInputParameter]
Maybe Text
Maybe POSIX
Maybe TemplateSSMDocumentDetails
Text
conformancePackId :: Text
conformancePackArn :: Text
conformancePackName :: Text
templateSSMDocumentDetails :: Maybe TemplateSSMDocumentDetails
lastUpdateRequestedTime :: Maybe POSIX
deliveryS3KeyPrefix :: Maybe Text
deliveryS3Bucket :: Maybe Text
createdBy :: Maybe Text
conformancePackInputParameters :: Maybe [ConformancePackInputParameter]
$sel:conformancePackId:ConformancePackDetail' :: ConformancePackDetail -> Text
$sel:conformancePackArn:ConformancePackDetail' :: ConformancePackDetail -> Text
$sel:conformancePackName:ConformancePackDetail' :: ConformancePackDetail -> Text
$sel:templateSSMDocumentDetails:ConformancePackDetail' :: ConformancePackDetail -> Maybe TemplateSSMDocumentDetails
$sel:lastUpdateRequestedTime:ConformancePackDetail' :: ConformancePackDetail -> Maybe POSIX
$sel:deliveryS3KeyPrefix:ConformancePackDetail' :: ConformancePackDetail -> Maybe Text
$sel:deliveryS3Bucket:ConformancePackDetail' :: ConformancePackDetail -> Maybe Text
$sel:createdBy:ConformancePackDetail' :: ConformancePackDetail -> Maybe Text
$sel:conformancePackInputParameters:ConformancePackDetail' :: ConformancePackDetail -> Maybe [ConformancePackInputParameter]
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe [ConformancePackInputParameter]
conformancePackInputParameters
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
createdBy
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
deliveryS3Bucket
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
deliveryS3KeyPrefix
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
lastUpdateRequestedTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe TemplateSSMDocumentDetails
templateSSMDocumentDetails
      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 Text
conformancePackArn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
conformancePackId