{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.SSOAdmin.Types.InstanceAccessControlAttributeConfigurationStatus
-- 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)
module Amazonka.SSOAdmin.Types.InstanceAccessControlAttributeConfigurationStatus
  ( InstanceAccessControlAttributeConfigurationStatus
      ( ..,
        InstanceAccessControlAttributeConfigurationStatus_CREATION_FAILED,
        InstanceAccessControlAttributeConfigurationStatus_CREATION_IN_PROGRESS,
        InstanceAccessControlAttributeConfigurationStatus_ENABLED
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude

newtype InstanceAccessControlAttributeConfigurationStatus = InstanceAccessControlAttributeConfigurationStatus'
  { InstanceAccessControlAttributeConfigurationStatus -> Text
fromInstanceAccessControlAttributeConfigurationStatus ::
      Core.Text
  }
  deriving stock
    ( Int -> InstanceAccessControlAttributeConfigurationStatus -> ShowS
[InstanceAccessControlAttributeConfigurationStatus] -> ShowS
InstanceAccessControlAttributeConfigurationStatus -> String
(Int -> InstanceAccessControlAttributeConfigurationStatus -> ShowS)
-> (InstanceAccessControlAttributeConfigurationStatus -> String)
-> ([InstanceAccessControlAttributeConfigurationStatus] -> ShowS)
-> Show InstanceAccessControlAttributeConfigurationStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InstanceAccessControlAttributeConfigurationStatus] -> ShowS
$cshowList :: [InstanceAccessControlAttributeConfigurationStatus] -> ShowS
show :: InstanceAccessControlAttributeConfigurationStatus -> String
$cshow :: InstanceAccessControlAttributeConfigurationStatus -> String
showsPrec :: Int -> InstanceAccessControlAttributeConfigurationStatus -> ShowS
$cshowsPrec :: Int -> InstanceAccessControlAttributeConfigurationStatus -> ShowS
Prelude.Show,
      ReadPrec [InstanceAccessControlAttributeConfigurationStatus]
ReadPrec InstanceAccessControlAttributeConfigurationStatus
Int -> ReadS InstanceAccessControlAttributeConfigurationStatus
ReadS [InstanceAccessControlAttributeConfigurationStatus]
(Int -> ReadS InstanceAccessControlAttributeConfigurationStatus)
-> ReadS [InstanceAccessControlAttributeConfigurationStatus]
-> ReadPrec InstanceAccessControlAttributeConfigurationStatus
-> ReadPrec [InstanceAccessControlAttributeConfigurationStatus]
-> Read InstanceAccessControlAttributeConfigurationStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [InstanceAccessControlAttributeConfigurationStatus]
$creadListPrec :: ReadPrec [InstanceAccessControlAttributeConfigurationStatus]
readPrec :: ReadPrec InstanceAccessControlAttributeConfigurationStatus
$creadPrec :: ReadPrec InstanceAccessControlAttributeConfigurationStatus
readList :: ReadS [InstanceAccessControlAttributeConfigurationStatus]
$creadList :: ReadS [InstanceAccessControlAttributeConfigurationStatus]
readsPrec :: Int -> ReadS InstanceAccessControlAttributeConfigurationStatus
$creadsPrec :: Int -> ReadS InstanceAccessControlAttributeConfigurationStatus
Prelude.Read,
      InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus -> Bool
(InstanceAccessControlAttributeConfigurationStatus
 -> InstanceAccessControlAttributeConfigurationStatus -> Bool)
-> (InstanceAccessControlAttributeConfigurationStatus
    -> InstanceAccessControlAttributeConfigurationStatus -> Bool)
-> Eq InstanceAccessControlAttributeConfigurationStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus -> Bool
$c/= :: InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus -> Bool
== :: InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus -> Bool
$c== :: InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus -> Bool
Prelude.Eq,
      Eq InstanceAccessControlAttributeConfigurationStatus
Eq InstanceAccessControlAttributeConfigurationStatus
-> (InstanceAccessControlAttributeConfigurationStatus
    -> InstanceAccessControlAttributeConfigurationStatus -> Ordering)
-> (InstanceAccessControlAttributeConfigurationStatus
    -> InstanceAccessControlAttributeConfigurationStatus -> Bool)
-> (InstanceAccessControlAttributeConfigurationStatus
    -> InstanceAccessControlAttributeConfigurationStatus -> Bool)
-> (InstanceAccessControlAttributeConfigurationStatus
    -> InstanceAccessControlAttributeConfigurationStatus -> Bool)
-> (InstanceAccessControlAttributeConfigurationStatus
    -> InstanceAccessControlAttributeConfigurationStatus -> Bool)
-> (InstanceAccessControlAttributeConfigurationStatus
    -> InstanceAccessControlAttributeConfigurationStatus
    -> InstanceAccessControlAttributeConfigurationStatus)
-> (InstanceAccessControlAttributeConfigurationStatus
    -> InstanceAccessControlAttributeConfigurationStatus
    -> InstanceAccessControlAttributeConfigurationStatus)
-> Ord InstanceAccessControlAttributeConfigurationStatus
InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus -> Bool
InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus -> Ordering
InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus
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 :: InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus
$cmin :: InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus
max :: InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus
$cmax :: InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus
>= :: InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus -> Bool
$c>= :: InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus -> Bool
> :: InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus -> Bool
$c> :: InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus -> Bool
<= :: InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus -> Bool
$c<= :: InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus -> Bool
< :: InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus -> Bool
$c< :: InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus -> Bool
compare :: InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus -> Ordering
$ccompare :: InstanceAccessControlAttributeConfigurationStatus
-> InstanceAccessControlAttributeConfigurationStatus -> Ordering
$cp1Ord :: Eq InstanceAccessControlAttributeConfigurationStatus
Prelude.Ord,
      (forall x.
 InstanceAccessControlAttributeConfigurationStatus
 -> Rep InstanceAccessControlAttributeConfigurationStatus x)
-> (forall x.
    Rep InstanceAccessControlAttributeConfigurationStatus x
    -> InstanceAccessControlAttributeConfigurationStatus)
-> Generic InstanceAccessControlAttributeConfigurationStatus
forall x.
Rep InstanceAccessControlAttributeConfigurationStatus x
-> InstanceAccessControlAttributeConfigurationStatus
forall x.
InstanceAccessControlAttributeConfigurationStatus
-> Rep InstanceAccessControlAttributeConfigurationStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep InstanceAccessControlAttributeConfigurationStatus x
-> InstanceAccessControlAttributeConfigurationStatus
$cfrom :: forall x.
InstanceAccessControlAttributeConfigurationStatus
-> Rep InstanceAccessControlAttributeConfigurationStatus x
Prelude.Generic
    )
  deriving newtype
    ( Int -> InstanceAccessControlAttributeConfigurationStatus -> Int
InstanceAccessControlAttributeConfigurationStatus -> Int
(Int -> InstanceAccessControlAttributeConfigurationStatus -> Int)
-> (InstanceAccessControlAttributeConfigurationStatus -> Int)
-> Hashable InstanceAccessControlAttributeConfigurationStatus
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: InstanceAccessControlAttributeConfigurationStatus -> Int
$chash :: InstanceAccessControlAttributeConfigurationStatus -> Int
hashWithSalt :: Int -> InstanceAccessControlAttributeConfigurationStatus -> Int
$chashWithSalt :: Int -> InstanceAccessControlAttributeConfigurationStatus -> Int
Prelude.Hashable,
      InstanceAccessControlAttributeConfigurationStatus -> ()
(InstanceAccessControlAttributeConfigurationStatus -> ())
-> NFData InstanceAccessControlAttributeConfigurationStatus
forall a. (a -> ()) -> NFData a
rnf :: InstanceAccessControlAttributeConfigurationStatus -> ()
$crnf :: InstanceAccessControlAttributeConfigurationStatus -> ()
Prelude.NFData,
      Text
-> Either String InstanceAccessControlAttributeConfigurationStatus
(Text
 -> Either String InstanceAccessControlAttributeConfigurationStatus)
-> FromText InstanceAccessControlAttributeConfigurationStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text
-> Either String InstanceAccessControlAttributeConfigurationStatus
$cfromText :: Text
-> Either String InstanceAccessControlAttributeConfigurationStatus
Core.FromText,
      InstanceAccessControlAttributeConfigurationStatus -> Text
(InstanceAccessControlAttributeConfigurationStatus -> Text)
-> ToText InstanceAccessControlAttributeConfigurationStatus
forall a. (a -> Text) -> ToText a
toText :: InstanceAccessControlAttributeConfigurationStatus -> Text
$ctoText :: InstanceAccessControlAttributeConfigurationStatus -> Text
Core.ToText,
      InstanceAccessControlAttributeConfigurationStatus -> ByteString
(InstanceAccessControlAttributeConfigurationStatus -> ByteString)
-> ToByteString InstanceAccessControlAttributeConfigurationStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: InstanceAccessControlAttributeConfigurationStatus -> ByteString
$ctoBS :: InstanceAccessControlAttributeConfigurationStatus -> ByteString
Core.ToByteString,
      InstanceAccessControlAttributeConfigurationStatus
-> ByteStringBuilder
(InstanceAccessControlAttributeConfigurationStatus
 -> ByteStringBuilder)
-> ToLog InstanceAccessControlAttributeConfigurationStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: InstanceAccessControlAttributeConfigurationStatus
-> ByteStringBuilder
$cbuild :: InstanceAccessControlAttributeConfigurationStatus
-> ByteStringBuilder
Core.ToLog,
      HeaderName
-> InstanceAccessControlAttributeConfigurationStatus -> [Header]
(HeaderName
 -> InstanceAccessControlAttributeConfigurationStatus -> [Header])
-> ToHeader InstanceAccessControlAttributeConfigurationStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName
-> InstanceAccessControlAttributeConfigurationStatus -> [Header]
$ctoHeader :: HeaderName
-> InstanceAccessControlAttributeConfigurationStatus -> [Header]
Core.ToHeader,
      InstanceAccessControlAttributeConfigurationStatus -> QueryString
(InstanceAccessControlAttributeConfigurationStatus -> QueryString)
-> ToQuery InstanceAccessControlAttributeConfigurationStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: InstanceAccessControlAttributeConfigurationStatus -> QueryString
$ctoQuery :: InstanceAccessControlAttributeConfigurationStatus -> QueryString
Core.ToQuery,
      Value -> Parser [InstanceAccessControlAttributeConfigurationStatus]
Value -> Parser InstanceAccessControlAttributeConfigurationStatus
(Value -> Parser InstanceAccessControlAttributeConfigurationStatus)
-> (Value
    -> Parser [InstanceAccessControlAttributeConfigurationStatus])
-> FromJSON InstanceAccessControlAttributeConfigurationStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [InstanceAccessControlAttributeConfigurationStatus]
$cparseJSONList :: Value -> Parser [InstanceAccessControlAttributeConfigurationStatus]
parseJSON :: Value -> Parser InstanceAccessControlAttributeConfigurationStatus
$cparseJSON :: Value -> Parser InstanceAccessControlAttributeConfigurationStatus
Core.FromJSON,
      FromJSONKeyFunction
  [InstanceAccessControlAttributeConfigurationStatus]
FromJSONKeyFunction
  InstanceAccessControlAttributeConfigurationStatus
FromJSONKeyFunction
  InstanceAccessControlAttributeConfigurationStatus
-> FromJSONKeyFunction
     [InstanceAccessControlAttributeConfigurationStatus]
-> FromJSONKey InstanceAccessControlAttributeConfigurationStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction
  [InstanceAccessControlAttributeConfigurationStatus]
$cfromJSONKeyList :: FromJSONKeyFunction
  [InstanceAccessControlAttributeConfigurationStatus]
fromJSONKey :: FromJSONKeyFunction
  InstanceAccessControlAttributeConfigurationStatus
$cfromJSONKey :: FromJSONKeyFunction
  InstanceAccessControlAttributeConfigurationStatus
Core.FromJSONKey,
      [InstanceAccessControlAttributeConfigurationStatus] -> Encoding
[InstanceAccessControlAttributeConfigurationStatus] -> Value
InstanceAccessControlAttributeConfigurationStatus -> Encoding
InstanceAccessControlAttributeConfigurationStatus -> Value
(InstanceAccessControlAttributeConfigurationStatus -> Value)
-> (InstanceAccessControlAttributeConfigurationStatus -> Encoding)
-> ([InstanceAccessControlAttributeConfigurationStatus] -> Value)
-> ([InstanceAccessControlAttributeConfigurationStatus]
    -> Encoding)
-> ToJSON InstanceAccessControlAttributeConfigurationStatus
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [InstanceAccessControlAttributeConfigurationStatus] -> Encoding
$ctoEncodingList :: [InstanceAccessControlAttributeConfigurationStatus] -> Encoding
toJSONList :: [InstanceAccessControlAttributeConfigurationStatus] -> Value
$ctoJSONList :: [InstanceAccessControlAttributeConfigurationStatus] -> Value
toEncoding :: InstanceAccessControlAttributeConfigurationStatus -> Encoding
$ctoEncoding :: InstanceAccessControlAttributeConfigurationStatus -> Encoding
toJSON :: InstanceAccessControlAttributeConfigurationStatus -> Value
$ctoJSON :: InstanceAccessControlAttributeConfigurationStatus -> Value
Core.ToJSON,
      ToJSONKeyFunction
  [InstanceAccessControlAttributeConfigurationStatus]
ToJSONKeyFunction InstanceAccessControlAttributeConfigurationStatus
ToJSONKeyFunction InstanceAccessControlAttributeConfigurationStatus
-> ToJSONKeyFunction
     [InstanceAccessControlAttributeConfigurationStatus]
-> ToJSONKey InstanceAccessControlAttributeConfigurationStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction
  [InstanceAccessControlAttributeConfigurationStatus]
$ctoJSONKeyList :: ToJSONKeyFunction
  [InstanceAccessControlAttributeConfigurationStatus]
toJSONKey :: ToJSONKeyFunction InstanceAccessControlAttributeConfigurationStatus
$ctoJSONKey :: ToJSONKeyFunction InstanceAccessControlAttributeConfigurationStatus
Core.ToJSONKey,
      [Node]
-> Either String InstanceAccessControlAttributeConfigurationStatus
([Node]
 -> Either String InstanceAccessControlAttributeConfigurationStatus)
-> FromXML InstanceAccessControlAttributeConfigurationStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node]
-> Either String InstanceAccessControlAttributeConfigurationStatus
$cparseXML :: [Node]
-> Either String InstanceAccessControlAttributeConfigurationStatus
Core.FromXML,
      InstanceAccessControlAttributeConfigurationStatus -> XML
(InstanceAccessControlAttributeConfigurationStatus -> XML)
-> ToXML InstanceAccessControlAttributeConfigurationStatus
forall a. (a -> XML) -> ToXML a
toXML :: InstanceAccessControlAttributeConfigurationStatus -> XML
$ctoXML :: InstanceAccessControlAttributeConfigurationStatus -> XML
Core.ToXML
    )

pattern InstanceAccessControlAttributeConfigurationStatus_CREATION_FAILED :: InstanceAccessControlAttributeConfigurationStatus
pattern $bInstanceAccessControlAttributeConfigurationStatus_CREATION_FAILED :: InstanceAccessControlAttributeConfigurationStatus
$mInstanceAccessControlAttributeConfigurationStatus_CREATION_FAILED :: forall r.
InstanceAccessControlAttributeConfigurationStatus
-> (Void# -> r) -> (Void# -> r) -> r
InstanceAccessControlAttributeConfigurationStatus_CREATION_FAILED = InstanceAccessControlAttributeConfigurationStatus' "CREATION_FAILED"

pattern InstanceAccessControlAttributeConfigurationStatus_CREATION_IN_PROGRESS :: InstanceAccessControlAttributeConfigurationStatus
pattern $bInstanceAccessControlAttributeConfigurationStatus_CREATION_IN_PROGRESS :: InstanceAccessControlAttributeConfigurationStatus
$mInstanceAccessControlAttributeConfigurationStatus_CREATION_IN_PROGRESS :: forall r.
InstanceAccessControlAttributeConfigurationStatus
-> (Void# -> r) -> (Void# -> r) -> r
InstanceAccessControlAttributeConfigurationStatus_CREATION_IN_PROGRESS = InstanceAccessControlAttributeConfigurationStatus' "CREATION_IN_PROGRESS"

pattern InstanceAccessControlAttributeConfigurationStatus_ENABLED :: InstanceAccessControlAttributeConfigurationStatus
pattern $bInstanceAccessControlAttributeConfigurationStatus_ENABLED :: InstanceAccessControlAttributeConfigurationStatus
$mInstanceAccessControlAttributeConfigurationStatus_ENABLED :: forall r.
InstanceAccessControlAttributeConfigurationStatus
-> (Void# -> r) -> (Void# -> r) -> r
InstanceAccessControlAttributeConfigurationStatus_ENABLED = InstanceAccessControlAttributeConfigurationStatus' "ENABLED"

{-# COMPLETE
  InstanceAccessControlAttributeConfigurationStatus_CREATION_FAILED,
  InstanceAccessControlAttributeConfigurationStatus_CREATION_IN_PROGRESS,
  InstanceAccessControlAttributeConfigurationStatus_ENABLED,
  InstanceAccessControlAttributeConfigurationStatus'
  #-}