{-# 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 #-}
module Amazonka.Config.DescribeConformancePackStatus
(
DescribeConformancePackStatus (..),
newDescribeConformancePackStatus,
describeConformancePackStatus_conformancePackNames,
describeConformancePackStatus_limit,
describeConformancePackStatus_nextToken,
DescribeConformancePackStatusResponse (..),
newDescribeConformancePackStatusResponse,
describeConformancePackStatusResponse_conformancePackStatusDetails,
describeConformancePackStatusResponse_nextToken,
describeConformancePackStatusResponse_httpStatus,
)
where
import Amazonka.Config.Types
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
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data DescribeConformancePackStatus = DescribeConformancePackStatus'
{
DescribeConformancePackStatus -> Maybe [Text]
conformancePackNames :: Prelude.Maybe [Prelude.Text],
DescribeConformancePackStatus -> Maybe Natural
limit :: Prelude.Maybe Prelude.Natural,
DescribeConformancePackStatus -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text
}
deriving (DescribeConformancePackStatus
-> DescribeConformancePackStatus -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeConformancePackStatus
-> DescribeConformancePackStatus -> Bool
$c/= :: DescribeConformancePackStatus
-> DescribeConformancePackStatus -> Bool
== :: DescribeConformancePackStatus
-> DescribeConformancePackStatus -> Bool
$c== :: DescribeConformancePackStatus
-> DescribeConformancePackStatus -> Bool
Prelude.Eq, ReadPrec [DescribeConformancePackStatus]
ReadPrec DescribeConformancePackStatus
Int -> ReadS DescribeConformancePackStatus
ReadS [DescribeConformancePackStatus]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeConformancePackStatus]
$creadListPrec :: ReadPrec [DescribeConformancePackStatus]
readPrec :: ReadPrec DescribeConformancePackStatus
$creadPrec :: ReadPrec DescribeConformancePackStatus
readList :: ReadS [DescribeConformancePackStatus]
$creadList :: ReadS [DescribeConformancePackStatus]
readsPrec :: Int -> ReadS DescribeConformancePackStatus
$creadsPrec :: Int -> ReadS DescribeConformancePackStatus
Prelude.Read, Int -> DescribeConformancePackStatus -> ShowS
[DescribeConformancePackStatus] -> ShowS
DescribeConformancePackStatus -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeConformancePackStatus] -> ShowS
$cshowList :: [DescribeConformancePackStatus] -> ShowS
show :: DescribeConformancePackStatus -> String
$cshow :: DescribeConformancePackStatus -> String
showsPrec :: Int -> DescribeConformancePackStatus -> ShowS
$cshowsPrec :: Int -> DescribeConformancePackStatus -> ShowS
Prelude.Show, forall x.
Rep DescribeConformancePackStatus x
-> DescribeConformancePackStatus
forall x.
DescribeConformancePackStatus
-> Rep DescribeConformancePackStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeConformancePackStatus x
-> DescribeConformancePackStatus
$cfrom :: forall x.
DescribeConformancePackStatus
-> Rep DescribeConformancePackStatus x
Prelude.Generic)
newDescribeConformancePackStatus ::
DescribeConformancePackStatus
newDescribeConformancePackStatus :: DescribeConformancePackStatus
newDescribeConformancePackStatus =
DescribeConformancePackStatus'
{ $sel:conformancePackNames:DescribeConformancePackStatus' :: Maybe [Text]
conformancePackNames =
forall a. Maybe a
Prelude.Nothing,
$sel:limit:DescribeConformancePackStatus' :: Maybe Natural
limit = forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:DescribeConformancePackStatus' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing
}
describeConformancePackStatus_conformancePackNames :: Lens.Lens' DescribeConformancePackStatus (Prelude.Maybe [Prelude.Text])
describeConformancePackStatus_conformancePackNames :: Lens' DescribeConformancePackStatus (Maybe [Text])
describeConformancePackStatus_conformancePackNames = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeConformancePackStatus' {Maybe [Text]
conformancePackNames :: Maybe [Text]
$sel:conformancePackNames:DescribeConformancePackStatus' :: DescribeConformancePackStatus -> Maybe [Text]
conformancePackNames} -> Maybe [Text]
conformancePackNames) (\s :: DescribeConformancePackStatus
s@DescribeConformancePackStatus' {} Maybe [Text]
a -> DescribeConformancePackStatus
s {$sel:conformancePackNames:DescribeConformancePackStatus' :: Maybe [Text]
conformancePackNames = Maybe [Text]
a} :: DescribeConformancePackStatus) 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
describeConformancePackStatus_limit :: Lens.Lens' DescribeConformancePackStatus (Prelude.Maybe Prelude.Natural)
describeConformancePackStatus_limit :: Lens' DescribeConformancePackStatus (Maybe Natural)
describeConformancePackStatus_limit = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeConformancePackStatus' {Maybe Natural
limit :: Maybe Natural
$sel:limit:DescribeConformancePackStatus' :: DescribeConformancePackStatus -> Maybe Natural
limit} -> Maybe Natural
limit) (\s :: DescribeConformancePackStatus
s@DescribeConformancePackStatus' {} Maybe Natural
a -> DescribeConformancePackStatus
s {$sel:limit:DescribeConformancePackStatus' :: Maybe Natural
limit = Maybe Natural
a} :: DescribeConformancePackStatus)
describeConformancePackStatus_nextToken :: Lens.Lens' DescribeConformancePackStatus (Prelude.Maybe Prelude.Text)
describeConformancePackStatus_nextToken :: Lens' DescribeConformancePackStatus (Maybe Text)
describeConformancePackStatus_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeConformancePackStatus' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:DescribeConformancePackStatus' :: DescribeConformancePackStatus -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: DescribeConformancePackStatus
s@DescribeConformancePackStatus' {} Maybe Text
a -> DescribeConformancePackStatus
s {$sel:nextToken:DescribeConformancePackStatus' :: Maybe Text
nextToken = Maybe Text
a} :: DescribeConformancePackStatus)
instance Core.AWSPager DescribeConformancePackStatus where
page :: DescribeConformancePackStatus
-> AWSResponse DescribeConformancePackStatus
-> Maybe DescribeConformancePackStatus
page DescribeConformancePackStatus
rq AWSResponse DescribeConformancePackStatus
rs
| forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse DescribeConformancePackStatus
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' DescribeConformancePackStatusResponse (Maybe Text)
describeConformancePackStatusResponse_nextToken
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
forall a. Maybe a
Prelude.Nothing
| forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse DescribeConformancePackStatus
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens'
DescribeConformancePackStatusResponse
(Maybe [ConformancePackStatusDetail])
describeConformancePackStatusResponse_conformancePackStatusDetails
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
forall a. a -> Maybe a
Prelude.Just
forall a b. (a -> b) -> a -> b
Prelude.$ DescribeConformancePackStatus
rq
forall a b. a -> (a -> b) -> b
Prelude.& Lens' DescribeConformancePackStatus (Maybe Text)
describeConformancePackStatus_nextToken
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse DescribeConformancePackStatus
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' DescribeConformancePackStatusResponse (Maybe Text)
describeConformancePackStatusResponse_nextToken
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance
Core.AWSRequest
DescribeConformancePackStatus
where
type
AWSResponse DescribeConformancePackStatus =
DescribeConformancePackStatusResponse
request :: (Service -> Service)
-> DescribeConformancePackStatus
-> Request DescribeConformancePackStatus
request Service -> Service
overrides =
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON (Service -> Service
overrides Service
defaultService)
response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy DescribeConformancePackStatus
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeConformancePackStatus)))
response =
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe [ConformancePackStatusDetail]
-> Maybe Text -> Int -> DescribeConformancePackStatusResponse
DescribeConformancePackStatusResponse'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x
forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"ConformancePackStatusDetails"
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ 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 -> Either String (Maybe a)
Data..?> Key
"NextToken")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance
Prelude.Hashable
DescribeConformancePackStatus
where
hashWithSalt :: Int -> DescribeConformancePackStatus -> Int
hashWithSalt Int
_salt DescribeConformancePackStatus' {Maybe Natural
Maybe [Text]
Maybe Text
nextToken :: Maybe Text
limit :: Maybe Natural
conformancePackNames :: Maybe [Text]
$sel:nextToken:DescribeConformancePackStatus' :: DescribeConformancePackStatus -> Maybe Text
$sel:limit:DescribeConformancePackStatus' :: DescribeConformancePackStatus -> Maybe Natural
$sel:conformancePackNames:DescribeConformancePackStatus' :: DescribeConformancePackStatus -> Maybe [Text]
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
conformancePackNames
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
limit
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
nextToken
instance Prelude.NFData DescribeConformancePackStatus where
rnf :: DescribeConformancePackStatus -> ()
rnf DescribeConformancePackStatus' {Maybe Natural
Maybe [Text]
Maybe Text
nextToken :: Maybe Text
limit :: Maybe Natural
conformancePackNames :: Maybe [Text]
$sel:nextToken:DescribeConformancePackStatus' :: DescribeConformancePackStatus -> Maybe Text
$sel:limit:DescribeConformancePackStatus' :: DescribeConformancePackStatus -> Maybe Natural
$sel:conformancePackNames:DescribeConformancePackStatus' :: DescribeConformancePackStatus -> Maybe [Text]
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
conformancePackNames
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
limit
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken
instance Data.ToHeaders DescribeConformancePackStatus where
toHeaders :: DescribeConformancePackStatus -> ResponseHeaders
toHeaders =
forall a b. a -> b -> a
Prelude.const
( forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"StarlingDoveService.DescribeConformancePackStatus" ::
Prelude.ByteString
),
HeaderName
"Content-Type"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Data.ToJSON DescribeConformancePackStatus where
toJSON :: DescribeConformancePackStatus -> Value
toJSON DescribeConformancePackStatus' {Maybe Natural
Maybe [Text]
Maybe Text
nextToken :: Maybe Text
limit :: Maybe Natural
conformancePackNames :: Maybe [Text]
$sel:nextToken:DescribeConformancePackStatus' :: DescribeConformancePackStatus -> Maybe Text
$sel:limit:DescribeConformancePackStatus' :: DescribeConformancePackStatus -> Maybe Natural
$sel:conformancePackNames:DescribeConformancePackStatus' :: DescribeConformancePackStatus -> Maybe [Text]
..} =
[Pair] -> Value
Data.object
( forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Key
"ConformancePackNames" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
conformancePackNames,
(Key
"Limit" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
limit,
(Key
"NextToken" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
nextToken
]
)
instance Data.ToPath DescribeConformancePackStatus where
toPath :: DescribeConformancePackStatus -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Data.ToQuery DescribeConformancePackStatus where
toQuery :: DescribeConformancePackStatus -> QueryString
toQuery = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty
data DescribeConformancePackStatusResponse = DescribeConformancePackStatusResponse'
{
DescribeConformancePackStatusResponse
-> Maybe [ConformancePackStatusDetail]
conformancePackStatusDetails :: Prelude.Maybe [ConformancePackStatusDetail],
DescribeConformancePackStatusResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
DescribeConformancePackStatusResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeConformancePackStatusResponse
-> DescribeConformancePackStatusResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeConformancePackStatusResponse
-> DescribeConformancePackStatusResponse -> Bool
$c/= :: DescribeConformancePackStatusResponse
-> DescribeConformancePackStatusResponse -> Bool
== :: DescribeConformancePackStatusResponse
-> DescribeConformancePackStatusResponse -> Bool
$c== :: DescribeConformancePackStatusResponse
-> DescribeConformancePackStatusResponse -> Bool
Prelude.Eq, ReadPrec [DescribeConformancePackStatusResponse]
ReadPrec DescribeConformancePackStatusResponse
Int -> ReadS DescribeConformancePackStatusResponse
ReadS [DescribeConformancePackStatusResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeConformancePackStatusResponse]
$creadListPrec :: ReadPrec [DescribeConformancePackStatusResponse]
readPrec :: ReadPrec DescribeConformancePackStatusResponse
$creadPrec :: ReadPrec DescribeConformancePackStatusResponse
readList :: ReadS [DescribeConformancePackStatusResponse]
$creadList :: ReadS [DescribeConformancePackStatusResponse]
readsPrec :: Int -> ReadS DescribeConformancePackStatusResponse
$creadsPrec :: Int -> ReadS DescribeConformancePackStatusResponse
Prelude.Read, Int -> DescribeConformancePackStatusResponse -> ShowS
[DescribeConformancePackStatusResponse] -> ShowS
DescribeConformancePackStatusResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeConformancePackStatusResponse] -> ShowS
$cshowList :: [DescribeConformancePackStatusResponse] -> ShowS
show :: DescribeConformancePackStatusResponse -> String
$cshow :: DescribeConformancePackStatusResponse -> String
showsPrec :: Int -> DescribeConformancePackStatusResponse -> ShowS
$cshowsPrec :: Int -> DescribeConformancePackStatusResponse -> ShowS
Prelude.Show, forall x.
Rep DescribeConformancePackStatusResponse x
-> DescribeConformancePackStatusResponse
forall x.
DescribeConformancePackStatusResponse
-> Rep DescribeConformancePackStatusResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeConformancePackStatusResponse x
-> DescribeConformancePackStatusResponse
$cfrom :: forall x.
DescribeConformancePackStatusResponse
-> Rep DescribeConformancePackStatusResponse x
Prelude.Generic)
newDescribeConformancePackStatusResponse ::
Prelude.Int ->
DescribeConformancePackStatusResponse
newDescribeConformancePackStatusResponse :: Int -> DescribeConformancePackStatusResponse
newDescribeConformancePackStatusResponse Int
pHttpStatus_ =
DescribeConformancePackStatusResponse'
{ $sel:conformancePackStatusDetails:DescribeConformancePackStatusResponse' :: Maybe [ConformancePackStatusDetail]
conformancePackStatusDetails =
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:DescribeConformancePackStatusResponse' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeConformancePackStatusResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeConformancePackStatusResponse_conformancePackStatusDetails :: Lens.Lens' DescribeConformancePackStatusResponse (Prelude.Maybe [ConformancePackStatusDetail])
describeConformancePackStatusResponse_conformancePackStatusDetails :: Lens'
DescribeConformancePackStatusResponse
(Maybe [ConformancePackStatusDetail])
describeConformancePackStatusResponse_conformancePackStatusDetails = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeConformancePackStatusResponse' {Maybe [ConformancePackStatusDetail]
conformancePackStatusDetails :: Maybe [ConformancePackStatusDetail]
$sel:conformancePackStatusDetails:DescribeConformancePackStatusResponse' :: DescribeConformancePackStatusResponse
-> Maybe [ConformancePackStatusDetail]
conformancePackStatusDetails} -> Maybe [ConformancePackStatusDetail]
conformancePackStatusDetails) (\s :: DescribeConformancePackStatusResponse
s@DescribeConformancePackStatusResponse' {} Maybe [ConformancePackStatusDetail]
a -> DescribeConformancePackStatusResponse
s {$sel:conformancePackStatusDetails:DescribeConformancePackStatusResponse' :: Maybe [ConformancePackStatusDetail]
conformancePackStatusDetails = Maybe [ConformancePackStatusDetail]
a} :: DescribeConformancePackStatusResponse) 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
describeConformancePackStatusResponse_nextToken :: Lens.Lens' DescribeConformancePackStatusResponse (Prelude.Maybe Prelude.Text)
describeConformancePackStatusResponse_nextToken :: Lens' DescribeConformancePackStatusResponse (Maybe Text)
describeConformancePackStatusResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeConformancePackStatusResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:DescribeConformancePackStatusResponse' :: DescribeConformancePackStatusResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: DescribeConformancePackStatusResponse
s@DescribeConformancePackStatusResponse' {} Maybe Text
a -> DescribeConformancePackStatusResponse
s {$sel:nextToken:DescribeConformancePackStatusResponse' :: Maybe Text
nextToken = Maybe Text
a} :: DescribeConformancePackStatusResponse)
describeConformancePackStatusResponse_httpStatus :: Lens.Lens' DescribeConformancePackStatusResponse Prelude.Int
describeConformancePackStatusResponse_httpStatus :: Lens' DescribeConformancePackStatusResponse Int
describeConformancePackStatusResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeConformancePackStatusResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeConformancePackStatusResponse' :: DescribeConformancePackStatusResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeConformancePackStatusResponse
s@DescribeConformancePackStatusResponse' {} Int
a -> DescribeConformancePackStatusResponse
s {$sel:httpStatus:DescribeConformancePackStatusResponse' :: Int
httpStatus = Int
a} :: DescribeConformancePackStatusResponse)
instance
Prelude.NFData
DescribeConformancePackStatusResponse
where
rnf :: DescribeConformancePackStatusResponse -> ()
rnf DescribeConformancePackStatusResponse' {Int
Maybe [ConformancePackStatusDetail]
Maybe Text
httpStatus :: Int
nextToken :: Maybe Text
conformancePackStatusDetails :: Maybe [ConformancePackStatusDetail]
$sel:httpStatus:DescribeConformancePackStatusResponse' :: DescribeConformancePackStatusResponse -> Int
$sel:nextToken:DescribeConformancePackStatusResponse' :: DescribeConformancePackStatusResponse -> Maybe Text
$sel:conformancePackStatusDetails:DescribeConformancePackStatusResponse' :: DescribeConformancePackStatusResponse
-> Maybe [ConformancePackStatusDetail]
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe [ConformancePackStatusDetail]
conformancePackStatusDetails
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus