{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.IoT.Types.AuditCheckRunStatus
( AuditCheckRunStatus
( ..,
AuditCheckRunStatus_CANCELED,
AuditCheckRunStatus_COMPLETED_COMPLIANT,
AuditCheckRunStatus_COMPLETED_NON_COMPLIANT,
AuditCheckRunStatus_FAILED,
AuditCheckRunStatus_IN_PROGRESS,
AuditCheckRunStatus_WAITING_FOR_DATA_COLLECTION
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype AuditCheckRunStatus = AuditCheckRunStatus'
{ AuditCheckRunStatus -> Text
fromAuditCheckRunStatus ::
Core.Text
}
deriving stock
( Int -> AuditCheckRunStatus -> ShowS
[AuditCheckRunStatus] -> ShowS
AuditCheckRunStatus -> String
(Int -> AuditCheckRunStatus -> ShowS)
-> (AuditCheckRunStatus -> String)
-> ([AuditCheckRunStatus] -> ShowS)
-> Show AuditCheckRunStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AuditCheckRunStatus] -> ShowS
$cshowList :: [AuditCheckRunStatus] -> ShowS
show :: AuditCheckRunStatus -> String
$cshow :: AuditCheckRunStatus -> String
showsPrec :: Int -> AuditCheckRunStatus -> ShowS
$cshowsPrec :: Int -> AuditCheckRunStatus -> ShowS
Prelude.Show,
ReadPrec [AuditCheckRunStatus]
ReadPrec AuditCheckRunStatus
Int -> ReadS AuditCheckRunStatus
ReadS [AuditCheckRunStatus]
(Int -> ReadS AuditCheckRunStatus)
-> ReadS [AuditCheckRunStatus]
-> ReadPrec AuditCheckRunStatus
-> ReadPrec [AuditCheckRunStatus]
-> Read AuditCheckRunStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AuditCheckRunStatus]
$creadListPrec :: ReadPrec [AuditCheckRunStatus]
readPrec :: ReadPrec AuditCheckRunStatus
$creadPrec :: ReadPrec AuditCheckRunStatus
readList :: ReadS [AuditCheckRunStatus]
$creadList :: ReadS [AuditCheckRunStatus]
readsPrec :: Int -> ReadS AuditCheckRunStatus
$creadsPrec :: Int -> ReadS AuditCheckRunStatus
Prelude.Read,
AuditCheckRunStatus -> AuditCheckRunStatus -> Bool
(AuditCheckRunStatus -> AuditCheckRunStatus -> Bool)
-> (AuditCheckRunStatus -> AuditCheckRunStatus -> Bool)
-> Eq AuditCheckRunStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AuditCheckRunStatus -> AuditCheckRunStatus -> Bool
$c/= :: AuditCheckRunStatus -> AuditCheckRunStatus -> Bool
== :: AuditCheckRunStatus -> AuditCheckRunStatus -> Bool
$c== :: AuditCheckRunStatus -> AuditCheckRunStatus -> Bool
Prelude.Eq,
Eq AuditCheckRunStatus
Eq AuditCheckRunStatus
-> (AuditCheckRunStatus -> AuditCheckRunStatus -> Ordering)
-> (AuditCheckRunStatus -> AuditCheckRunStatus -> Bool)
-> (AuditCheckRunStatus -> AuditCheckRunStatus -> Bool)
-> (AuditCheckRunStatus -> AuditCheckRunStatus -> Bool)
-> (AuditCheckRunStatus -> AuditCheckRunStatus -> Bool)
-> (AuditCheckRunStatus
-> AuditCheckRunStatus -> AuditCheckRunStatus)
-> (AuditCheckRunStatus
-> AuditCheckRunStatus -> AuditCheckRunStatus)
-> Ord AuditCheckRunStatus
AuditCheckRunStatus -> AuditCheckRunStatus -> Bool
AuditCheckRunStatus -> AuditCheckRunStatus -> Ordering
AuditCheckRunStatus -> AuditCheckRunStatus -> AuditCheckRunStatus
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: AuditCheckRunStatus -> AuditCheckRunStatus -> AuditCheckRunStatus
$cmin :: AuditCheckRunStatus -> AuditCheckRunStatus -> AuditCheckRunStatus
max :: AuditCheckRunStatus -> AuditCheckRunStatus -> AuditCheckRunStatus
$cmax :: AuditCheckRunStatus -> AuditCheckRunStatus -> AuditCheckRunStatus
>= :: AuditCheckRunStatus -> AuditCheckRunStatus -> Bool
$c>= :: AuditCheckRunStatus -> AuditCheckRunStatus -> Bool
> :: AuditCheckRunStatus -> AuditCheckRunStatus -> Bool
$c> :: AuditCheckRunStatus -> AuditCheckRunStatus -> Bool
<= :: AuditCheckRunStatus -> AuditCheckRunStatus -> Bool
$c<= :: AuditCheckRunStatus -> AuditCheckRunStatus -> Bool
< :: AuditCheckRunStatus -> AuditCheckRunStatus -> Bool
$c< :: AuditCheckRunStatus -> AuditCheckRunStatus -> Bool
compare :: AuditCheckRunStatus -> AuditCheckRunStatus -> Ordering
$ccompare :: AuditCheckRunStatus -> AuditCheckRunStatus -> Ordering
$cp1Ord :: Eq AuditCheckRunStatus
Prelude.Ord,
(forall x. AuditCheckRunStatus -> Rep AuditCheckRunStatus x)
-> (forall x. Rep AuditCheckRunStatus x -> AuditCheckRunStatus)
-> Generic AuditCheckRunStatus
forall x. Rep AuditCheckRunStatus x -> AuditCheckRunStatus
forall x. AuditCheckRunStatus -> Rep AuditCheckRunStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep AuditCheckRunStatus x -> AuditCheckRunStatus
$cfrom :: forall x. AuditCheckRunStatus -> Rep AuditCheckRunStatus x
Prelude.Generic
)
deriving newtype
( Int -> AuditCheckRunStatus -> Int
AuditCheckRunStatus -> Int
(Int -> AuditCheckRunStatus -> Int)
-> (AuditCheckRunStatus -> Int) -> Hashable AuditCheckRunStatus
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: AuditCheckRunStatus -> Int
$chash :: AuditCheckRunStatus -> Int
hashWithSalt :: Int -> AuditCheckRunStatus -> Int
$chashWithSalt :: Int -> AuditCheckRunStatus -> Int
Prelude.Hashable,
AuditCheckRunStatus -> ()
(AuditCheckRunStatus -> ()) -> NFData AuditCheckRunStatus
forall a. (a -> ()) -> NFData a
rnf :: AuditCheckRunStatus -> ()
$crnf :: AuditCheckRunStatus -> ()
Prelude.NFData,
Text -> Either String AuditCheckRunStatus
(Text -> Either String AuditCheckRunStatus)
-> FromText AuditCheckRunStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String AuditCheckRunStatus
$cfromText :: Text -> Either String AuditCheckRunStatus
Core.FromText,
AuditCheckRunStatus -> Text
(AuditCheckRunStatus -> Text) -> ToText AuditCheckRunStatus
forall a. (a -> Text) -> ToText a
toText :: AuditCheckRunStatus -> Text
$ctoText :: AuditCheckRunStatus -> Text
Core.ToText,
AuditCheckRunStatus -> ByteString
(AuditCheckRunStatus -> ByteString)
-> ToByteString AuditCheckRunStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: AuditCheckRunStatus -> ByteString
$ctoBS :: AuditCheckRunStatus -> ByteString
Core.ToByteString,
AuditCheckRunStatus -> ByteStringBuilder
(AuditCheckRunStatus -> ByteStringBuilder)
-> ToLog AuditCheckRunStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: AuditCheckRunStatus -> ByteStringBuilder
$cbuild :: AuditCheckRunStatus -> ByteStringBuilder
Core.ToLog,
HeaderName -> AuditCheckRunStatus -> [Header]
(HeaderName -> AuditCheckRunStatus -> [Header])
-> ToHeader AuditCheckRunStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> AuditCheckRunStatus -> [Header]
$ctoHeader :: HeaderName -> AuditCheckRunStatus -> [Header]
Core.ToHeader,
AuditCheckRunStatus -> QueryString
(AuditCheckRunStatus -> QueryString) -> ToQuery AuditCheckRunStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: AuditCheckRunStatus -> QueryString
$ctoQuery :: AuditCheckRunStatus -> QueryString
Core.ToQuery,
Value -> Parser [AuditCheckRunStatus]
Value -> Parser AuditCheckRunStatus
(Value -> Parser AuditCheckRunStatus)
-> (Value -> Parser [AuditCheckRunStatus])
-> FromJSON AuditCheckRunStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [AuditCheckRunStatus]
$cparseJSONList :: Value -> Parser [AuditCheckRunStatus]
parseJSON :: Value -> Parser AuditCheckRunStatus
$cparseJSON :: Value -> Parser AuditCheckRunStatus
Core.FromJSON,
FromJSONKeyFunction [AuditCheckRunStatus]
FromJSONKeyFunction AuditCheckRunStatus
FromJSONKeyFunction AuditCheckRunStatus
-> FromJSONKeyFunction [AuditCheckRunStatus]
-> FromJSONKey AuditCheckRunStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [AuditCheckRunStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [AuditCheckRunStatus]
fromJSONKey :: FromJSONKeyFunction AuditCheckRunStatus
$cfromJSONKey :: FromJSONKeyFunction AuditCheckRunStatus
Core.FromJSONKey,
[AuditCheckRunStatus] -> Encoding
[AuditCheckRunStatus] -> Value
AuditCheckRunStatus -> Encoding
AuditCheckRunStatus -> Value
(AuditCheckRunStatus -> Value)
-> (AuditCheckRunStatus -> Encoding)
-> ([AuditCheckRunStatus] -> Value)
-> ([AuditCheckRunStatus] -> Encoding)
-> ToJSON AuditCheckRunStatus
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [AuditCheckRunStatus] -> Encoding
$ctoEncodingList :: [AuditCheckRunStatus] -> Encoding
toJSONList :: [AuditCheckRunStatus] -> Value
$ctoJSONList :: [AuditCheckRunStatus] -> Value
toEncoding :: AuditCheckRunStatus -> Encoding
$ctoEncoding :: AuditCheckRunStatus -> Encoding
toJSON :: AuditCheckRunStatus -> Value
$ctoJSON :: AuditCheckRunStatus -> Value
Core.ToJSON,
ToJSONKeyFunction [AuditCheckRunStatus]
ToJSONKeyFunction AuditCheckRunStatus
ToJSONKeyFunction AuditCheckRunStatus
-> ToJSONKeyFunction [AuditCheckRunStatus]
-> ToJSONKey AuditCheckRunStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [AuditCheckRunStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [AuditCheckRunStatus]
toJSONKey :: ToJSONKeyFunction AuditCheckRunStatus
$ctoJSONKey :: ToJSONKeyFunction AuditCheckRunStatus
Core.ToJSONKey,
[Node] -> Either String AuditCheckRunStatus
([Node] -> Either String AuditCheckRunStatus)
-> FromXML AuditCheckRunStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String AuditCheckRunStatus
$cparseXML :: [Node] -> Either String AuditCheckRunStatus
Core.FromXML,
AuditCheckRunStatus -> XML
(AuditCheckRunStatus -> XML) -> ToXML AuditCheckRunStatus
forall a. (a -> XML) -> ToXML a
toXML :: AuditCheckRunStatus -> XML
$ctoXML :: AuditCheckRunStatus -> XML
Core.ToXML
)
pattern AuditCheckRunStatus_CANCELED :: AuditCheckRunStatus
pattern $bAuditCheckRunStatus_CANCELED :: AuditCheckRunStatus
$mAuditCheckRunStatus_CANCELED :: forall r. AuditCheckRunStatus -> (Void# -> r) -> (Void# -> r) -> r
AuditCheckRunStatus_CANCELED = AuditCheckRunStatus' "CANCELED"
pattern AuditCheckRunStatus_COMPLETED_COMPLIANT :: AuditCheckRunStatus
pattern $bAuditCheckRunStatus_COMPLETED_COMPLIANT :: AuditCheckRunStatus
$mAuditCheckRunStatus_COMPLETED_COMPLIANT :: forall r. AuditCheckRunStatus -> (Void# -> r) -> (Void# -> r) -> r
AuditCheckRunStatus_COMPLETED_COMPLIANT = AuditCheckRunStatus' "COMPLETED_COMPLIANT"
pattern AuditCheckRunStatus_COMPLETED_NON_COMPLIANT :: AuditCheckRunStatus
pattern $bAuditCheckRunStatus_COMPLETED_NON_COMPLIANT :: AuditCheckRunStatus
$mAuditCheckRunStatus_COMPLETED_NON_COMPLIANT :: forall r. AuditCheckRunStatus -> (Void# -> r) -> (Void# -> r) -> r
AuditCheckRunStatus_COMPLETED_NON_COMPLIANT = AuditCheckRunStatus' "COMPLETED_NON_COMPLIANT"
pattern AuditCheckRunStatus_FAILED :: AuditCheckRunStatus
pattern $bAuditCheckRunStatus_FAILED :: AuditCheckRunStatus
$mAuditCheckRunStatus_FAILED :: forall r. AuditCheckRunStatus -> (Void# -> r) -> (Void# -> r) -> r
AuditCheckRunStatus_FAILED = AuditCheckRunStatus' "FAILED"
pattern AuditCheckRunStatus_IN_PROGRESS :: AuditCheckRunStatus
pattern $bAuditCheckRunStatus_IN_PROGRESS :: AuditCheckRunStatus
$mAuditCheckRunStatus_IN_PROGRESS :: forall r. AuditCheckRunStatus -> (Void# -> r) -> (Void# -> r) -> r
AuditCheckRunStatus_IN_PROGRESS = AuditCheckRunStatus' "IN_PROGRESS"
pattern AuditCheckRunStatus_WAITING_FOR_DATA_COLLECTION :: AuditCheckRunStatus
pattern $bAuditCheckRunStatus_WAITING_FOR_DATA_COLLECTION :: AuditCheckRunStatus
$mAuditCheckRunStatus_WAITING_FOR_DATA_COLLECTION :: forall r. AuditCheckRunStatus -> (Void# -> r) -> (Void# -> r) -> r
AuditCheckRunStatus_WAITING_FOR_DATA_COLLECTION = AuditCheckRunStatus' "WAITING_FOR_DATA_COLLECTION"
{-# COMPLETE
AuditCheckRunStatus_CANCELED,
AuditCheckRunStatus_COMPLETED_COMPLIANT,
AuditCheckRunStatus_COMPLETED_NON_COMPLIANT,
AuditCheckRunStatus_FAILED,
AuditCheckRunStatus_IN_PROGRESS,
AuditCheckRunStatus_WAITING_FOR_DATA_COLLECTION,
AuditCheckRunStatus'
#-}