{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.AppStream.Types.AccessEndpointType
( AccessEndpointType
( ..,
AccessEndpointType_STREAMING
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype AccessEndpointType = AccessEndpointType'
{ AccessEndpointType -> Text
fromAccessEndpointType ::
Core.Text
}
deriving stock
( Int -> AccessEndpointType -> ShowS
[AccessEndpointType] -> ShowS
AccessEndpointType -> String
(Int -> AccessEndpointType -> ShowS)
-> (AccessEndpointType -> String)
-> ([AccessEndpointType] -> ShowS)
-> Show AccessEndpointType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AccessEndpointType] -> ShowS
$cshowList :: [AccessEndpointType] -> ShowS
show :: AccessEndpointType -> String
$cshow :: AccessEndpointType -> String
showsPrec :: Int -> AccessEndpointType -> ShowS
$cshowsPrec :: Int -> AccessEndpointType -> ShowS
Prelude.Show,
ReadPrec [AccessEndpointType]
ReadPrec AccessEndpointType
Int -> ReadS AccessEndpointType
ReadS [AccessEndpointType]
(Int -> ReadS AccessEndpointType)
-> ReadS [AccessEndpointType]
-> ReadPrec AccessEndpointType
-> ReadPrec [AccessEndpointType]
-> Read AccessEndpointType
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AccessEndpointType]
$creadListPrec :: ReadPrec [AccessEndpointType]
readPrec :: ReadPrec AccessEndpointType
$creadPrec :: ReadPrec AccessEndpointType
readList :: ReadS [AccessEndpointType]
$creadList :: ReadS [AccessEndpointType]
readsPrec :: Int -> ReadS AccessEndpointType
$creadsPrec :: Int -> ReadS AccessEndpointType
Prelude.Read,
AccessEndpointType -> AccessEndpointType -> Bool
(AccessEndpointType -> AccessEndpointType -> Bool)
-> (AccessEndpointType -> AccessEndpointType -> Bool)
-> Eq AccessEndpointType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AccessEndpointType -> AccessEndpointType -> Bool
$c/= :: AccessEndpointType -> AccessEndpointType -> Bool
== :: AccessEndpointType -> AccessEndpointType -> Bool
$c== :: AccessEndpointType -> AccessEndpointType -> Bool
Prelude.Eq,
Eq AccessEndpointType
Eq AccessEndpointType
-> (AccessEndpointType -> AccessEndpointType -> Ordering)
-> (AccessEndpointType -> AccessEndpointType -> Bool)
-> (AccessEndpointType -> AccessEndpointType -> Bool)
-> (AccessEndpointType -> AccessEndpointType -> Bool)
-> (AccessEndpointType -> AccessEndpointType -> Bool)
-> (AccessEndpointType -> AccessEndpointType -> AccessEndpointType)
-> (AccessEndpointType -> AccessEndpointType -> AccessEndpointType)
-> Ord AccessEndpointType
AccessEndpointType -> AccessEndpointType -> Bool
AccessEndpointType -> AccessEndpointType -> Ordering
AccessEndpointType -> AccessEndpointType -> AccessEndpointType
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 :: AccessEndpointType -> AccessEndpointType -> AccessEndpointType
$cmin :: AccessEndpointType -> AccessEndpointType -> AccessEndpointType
max :: AccessEndpointType -> AccessEndpointType -> AccessEndpointType
$cmax :: AccessEndpointType -> AccessEndpointType -> AccessEndpointType
>= :: AccessEndpointType -> AccessEndpointType -> Bool
$c>= :: AccessEndpointType -> AccessEndpointType -> Bool
> :: AccessEndpointType -> AccessEndpointType -> Bool
$c> :: AccessEndpointType -> AccessEndpointType -> Bool
<= :: AccessEndpointType -> AccessEndpointType -> Bool
$c<= :: AccessEndpointType -> AccessEndpointType -> Bool
< :: AccessEndpointType -> AccessEndpointType -> Bool
$c< :: AccessEndpointType -> AccessEndpointType -> Bool
compare :: AccessEndpointType -> AccessEndpointType -> Ordering
$ccompare :: AccessEndpointType -> AccessEndpointType -> Ordering
$cp1Ord :: Eq AccessEndpointType
Prelude.Ord,
(forall x. AccessEndpointType -> Rep AccessEndpointType x)
-> (forall x. Rep AccessEndpointType x -> AccessEndpointType)
-> Generic AccessEndpointType
forall x. Rep AccessEndpointType x -> AccessEndpointType
forall x. AccessEndpointType -> Rep AccessEndpointType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep AccessEndpointType x -> AccessEndpointType
$cfrom :: forall x. AccessEndpointType -> Rep AccessEndpointType x
Prelude.Generic
)
deriving newtype
( Int -> AccessEndpointType -> Int
AccessEndpointType -> Int
(Int -> AccessEndpointType -> Int)
-> (AccessEndpointType -> Int) -> Hashable AccessEndpointType
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: AccessEndpointType -> Int
$chash :: AccessEndpointType -> Int
hashWithSalt :: Int -> AccessEndpointType -> Int
$chashWithSalt :: Int -> AccessEndpointType -> Int
Prelude.Hashable,
AccessEndpointType -> ()
(AccessEndpointType -> ()) -> NFData AccessEndpointType
forall a. (a -> ()) -> NFData a
rnf :: AccessEndpointType -> ()
$crnf :: AccessEndpointType -> ()
Prelude.NFData,
Text -> Either String AccessEndpointType
(Text -> Either String AccessEndpointType)
-> FromText AccessEndpointType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String AccessEndpointType
$cfromText :: Text -> Either String AccessEndpointType
Core.FromText,
AccessEndpointType -> Text
(AccessEndpointType -> Text) -> ToText AccessEndpointType
forall a. (a -> Text) -> ToText a
toText :: AccessEndpointType -> Text
$ctoText :: AccessEndpointType -> Text
Core.ToText,
AccessEndpointType -> ByteString
(AccessEndpointType -> ByteString)
-> ToByteString AccessEndpointType
forall a. (a -> ByteString) -> ToByteString a
toBS :: AccessEndpointType -> ByteString
$ctoBS :: AccessEndpointType -> ByteString
Core.ToByteString,
AccessEndpointType -> ByteStringBuilder
(AccessEndpointType -> ByteStringBuilder)
-> ToLog AccessEndpointType
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: AccessEndpointType -> ByteStringBuilder
$cbuild :: AccessEndpointType -> ByteStringBuilder
Core.ToLog,
HeaderName -> AccessEndpointType -> [Header]
(HeaderName -> AccessEndpointType -> [Header])
-> ToHeader AccessEndpointType
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> AccessEndpointType -> [Header]
$ctoHeader :: HeaderName -> AccessEndpointType -> [Header]
Core.ToHeader,
AccessEndpointType -> QueryString
(AccessEndpointType -> QueryString) -> ToQuery AccessEndpointType
forall a. (a -> QueryString) -> ToQuery a
toQuery :: AccessEndpointType -> QueryString
$ctoQuery :: AccessEndpointType -> QueryString
Core.ToQuery,
Value -> Parser [AccessEndpointType]
Value -> Parser AccessEndpointType
(Value -> Parser AccessEndpointType)
-> (Value -> Parser [AccessEndpointType])
-> FromJSON AccessEndpointType
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [AccessEndpointType]
$cparseJSONList :: Value -> Parser [AccessEndpointType]
parseJSON :: Value -> Parser AccessEndpointType
$cparseJSON :: Value -> Parser AccessEndpointType
Core.FromJSON,
FromJSONKeyFunction [AccessEndpointType]
FromJSONKeyFunction AccessEndpointType
FromJSONKeyFunction AccessEndpointType
-> FromJSONKeyFunction [AccessEndpointType]
-> FromJSONKey AccessEndpointType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [AccessEndpointType]
$cfromJSONKeyList :: FromJSONKeyFunction [AccessEndpointType]
fromJSONKey :: FromJSONKeyFunction AccessEndpointType
$cfromJSONKey :: FromJSONKeyFunction AccessEndpointType
Core.FromJSONKey,
[AccessEndpointType] -> Encoding
[AccessEndpointType] -> Value
AccessEndpointType -> Encoding
AccessEndpointType -> Value
(AccessEndpointType -> Value)
-> (AccessEndpointType -> Encoding)
-> ([AccessEndpointType] -> Value)
-> ([AccessEndpointType] -> Encoding)
-> ToJSON AccessEndpointType
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [AccessEndpointType] -> Encoding
$ctoEncodingList :: [AccessEndpointType] -> Encoding
toJSONList :: [AccessEndpointType] -> Value
$ctoJSONList :: [AccessEndpointType] -> Value
toEncoding :: AccessEndpointType -> Encoding
$ctoEncoding :: AccessEndpointType -> Encoding
toJSON :: AccessEndpointType -> Value
$ctoJSON :: AccessEndpointType -> Value
Core.ToJSON,
ToJSONKeyFunction [AccessEndpointType]
ToJSONKeyFunction AccessEndpointType
ToJSONKeyFunction AccessEndpointType
-> ToJSONKeyFunction [AccessEndpointType]
-> ToJSONKey AccessEndpointType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [AccessEndpointType]
$ctoJSONKeyList :: ToJSONKeyFunction [AccessEndpointType]
toJSONKey :: ToJSONKeyFunction AccessEndpointType
$ctoJSONKey :: ToJSONKeyFunction AccessEndpointType
Core.ToJSONKey,
[Node] -> Either String AccessEndpointType
([Node] -> Either String AccessEndpointType)
-> FromXML AccessEndpointType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String AccessEndpointType
$cparseXML :: [Node] -> Either String AccessEndpointType
Core.FromXML,
AccessEndpointType -> XML
(AccessEndpointType -> XML) -> ToXML AccessEndpointType
forall a. (a -> XML) -> ToXML a
toXML :: AccessEndpointType -> XML
$ctoXML :: AccessEndpointType -> XML
Core.ToXML
)
pattern AccessEndpointType_STREAMING :: AccessEndpointType
pattern $bAccessEndpointType_STREAMING :: AccessEndpointType
$mAccessEndpointType_STREAMING :: forall r. AccessEndpointType -> (Void# -> r) -> (Void# -> r) -> r
AccessEndpointType_STREAMING = AccessEndpointType' "STREAMING"
{-# COMPLETE
AccessEndpointType_STREAMING,
AccessEndpointType'
#-}