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