{-# 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.GroundStation.Types.ConfigCapabilityType
-- 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.GroundStation.Types.ConfigCapabilityType
  ( ConfigCapabilityType
      ( ..,
        ConfigCapabilityType_Antenna_downlink,
        ConfigCapabilityType_Antenna_downlink_demod_decode,
        ConfigCapabilityType_Antenna_uplink,
        ConfigCapabilityType_Dataflow_endpoint,
        ConfigCapabilityType_S3_recording,
        ConfigCapabilityType_Tracking,
        ConfigCapabilityType_Uplink_echo
      ),
  )
where

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

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

pattern ConfigCapabilityType_Antenna_downlink :: ConfigCapabilityType
pattern $bConfigCapabilityType_Antenna_downlink :: ConfigCapabilityType
$mConfigCapabilityType_Antenna_downlink :: forall r. ConfigCapabilityType -> (Void# -> r) -> (Void# -> r) -> r
ConfigCapabilityType_Antenna_downlink = ConfigCapabilityType' "antenna-downlink"

pattern ConfigCapabilityType_Antenna_downlink_demod_decode :: ConfigCapabilityType
pattern $bConfigCapabilityType_Antenna_downlink_demod_decode :: ConfigCapabilityType
$mConfigCapabilityType_Antenna_downlink_demod_decode :: forall r. ConfigCapabilityType -> (Void# -> r) -> (Void# -> r) -> r
ConfigCapabilityType_Antenna_downlink_demod_decode = ConfigCapabilityType' "antenna-downlink-demod-decode"

pattern ConfigCapabilityType_Antenna_uplink :: ConfigCapabilityType
pattern $bConfigCapabilityType_Antenna_uplink :: ConfigCapabilityType
$mConfigCapabilityType_Antenna_uplink :: forall r. ConfigCapabilityType -> (Void# -> r) -> (Void# -> r) -> r
ConfigCapabilityType_Antenna_uplink = ConfigCapabilityType' "antenna-uplink"

pattern ConfigCapabilityType_Dataflow_endpoint :: ConfigCapabilityType
pattern $bConfigCapabilityType_Dataflow_endpoint :: ConfigCapabilityType
$mConfigCapabilityType_Dataflow_endpoint :: forall r. ConfigCapabilityType -> (Void# -> r) -> (Void# -> r) -> r
ConfigCapabilityType_Dataflow_endpoint = ConfigCapabilityType' "dataflow-endpoint"

pattern ConfigCapabilityType_S3_recording :: ConfigCapabilityType
pattern $bConfigCapabilityType_S3_recording :: ConfigCapabilityType
$mConfigCapabilityType_S3_recording :: forall r. ConfigCapabilityType -> (Void# -> r) -> (Void# -> r) -> r
ConfigCapabilityType_S3_recording = ConfigCapabilityType' "s3-recording"

pattern ConfigCapabilityType_Tracking :: ConfigCapabilityType
pattern $bConfigCapabilityType_Tracking :: ConfigCapabilityType
$mConfigCapabilityType_Tracking :: forall r. ConfigCapabilityType -> (Void# -> r) -> (Void# -> r) -> r
ConfigCapabilityType_Tracking = ConfigCapabilityType' "tracking"

pattern ConfigCapabilityType_Uplink_echo :: ConfigCapabilityType
pattern $bConfigCapabilityType_Uplink_echo :: ConfigCapabilityType
$mConfigCapabilityType_Uplink_echo :: forall r. ConfigCapabilityType -> (Void# -> r) -> (Void# -> r) -> r
ConfigCapabilityType_Uplink_echo = ConfigCapabilityType' "uplink-echo"

{-# COMPLETE
  ConfigCapabilityType_Antenna_downlink,
  ConfigCapabilityType_Antenna_downlink_demod_decode,
  ConfigCapabilityType_Antenna_uplink,
  ConfigCapabilityType_Dataflow_endpoint,
  ConfigCapabilityType_S3_recording,
  ConfigCapabilityType_Tracking,
  ConfigCapabilityType_Uplink_echo,
  ConfigCapabilityType'
  #-}