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