{-# 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.MGN.Types.SsmParameterStoreParameterType
-- 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.MGN.Types.SsmParameterStoreParameterType
  ( SsmParameterStoreParameterType
      ( ..,
        SsmParameterStoreParameterType_STRING
      ),
  )
where

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

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

pattern SsmParameterStoreParameterType_STRING :: SsmParameterStoreParameterType
pattern $bSsmParameterStoreParameterType_STRING :: SsmParameterStoreParameterType
$mSsmParameterStoreParameterType_STRING :: forall {r}.
SsmParameterStoreParameterType -> ((# #) -> r) -> ((# #) -> r) -> r
SsmParameterStoreParameterType_STRING = SsmParameterStoreParameterType' "STRING"

{-# COMPLETE
  SsmParameterStoreParameterType_STRING,
  SsmParameterStoreParameterType'
  #-}