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