{-# 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.ResilienceHub.Types.SopServiceType
-- 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.ResilienceHub.Types.SopServiceType
  ( SopServiceType
      ( ..,
        SopServiceType_SSM
      ),
  )
where

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

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

pattern SopServiceType_SSM :: SopServiceType
pattern $bSopServiceType_SSM :: SopServiceType
$mSopServiceType_SSM :: forall {r}. SopServiceType -> ((# #) -> r) -> ((# #) -> r) -> r
SopServiceType_SSM = SopServiceType' "SSM"

{-# COMPLETE
  SopServiceType_SSM,
  SopServiceType'
  #-}