{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.DataExchange.Types.Type
( Type
( ..,
Type_CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET,
Type_EXPORT_ASSETS_TO_S3,
Type_EXPORT_ASSET_TO_SIGNED_URL,
Type_EXPORT_REVISIONS_TO_S3,
Type_IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY,
Type_IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES,
Type_IMPORT_ASSETS_FROM_S3,
Type_IMPORT_ASSET_FROM_API_GATEWAY_API,
Type_IMPORT_ASSET_FROM_SIGNED_URL
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype Type = Type' {Type -> Text
fromType :: Data.Text}
deriving stock
( Int -> Type -> ShowS
[Type] -> ShowS
Type -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Type] -> ShowS
$cshowList :: [Type] -> ShowS
show :: Type -> String
$cshow :: Type -> String
showsPrec :: Int -> Type -> ShowS
$cshowsPrec :: Int -> Type -> ShowS
Prelude.Show,
ReadPrec [Type]
ReadPrec Type
Int -> ReadS Type
ReadS [Type]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Type]
$creadListPrec :: ReadPrec [Type]
readPrec :: ReadPrec Type
$creadPrec :: ReadPrec Type
readList :: ReadS [Type]
$creadList :: ReadS [Type]
readsPrec :: Int -> ReadS Type
$creadsPrec :: Int -> ReadS Type
Prelude.Read,
Type -> Type -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Type -> Type -> Bool
$c/= :: Type -> Type -> Bool
== :: Type -> Type -> Bool
$c== :: Type -> Type -> Bool
Prelude.Eq,
Eq Type
Type -> Type -> Bool
Type -> Type -> Ordering
Type -> Type -> Type
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 :: Type -> Type -> Type
$cmin :: Type -> Type -> Type
max :: Type -> Type -> Type
$cmax :: Type -> Type -> Type
>= :: Type -> Type -> Bool
$c>= :: Type -> Type -> Bool
> :: Type -> Type -> Bool
$c> :: Type -> Type -> Bool
<= :: Type -> Type -> Bool
$c<= :: Type -> Type -> Bool
< :: Type -> Type -> Bool
$c< :: Type -> Type -> Bool
compare :: Type -> Type -> Ordering
$ccompare :: Type -> Type -> Ordering
Prelude.Ord,
forall x. Rep Type x -> Type
forall x. Type -> Rep Type x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Type x -> Type
$cfrom :: forall x. Type -> Rep Type x
Prelude.Generic
)
deriving newtype
( Eq Type
Int -> Type -> Int
Type -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: Type -> Int
$chash :: Type -> Int
hashWithSalt :: Int -> Type -> Int
$chashWithSalt :: Int -> Type -> Int
Prelude.Hashable,
Type -> ()
forall a. (a -> ()) -> NFData a
rnf :: Type -> ()
$crnf :: Type -> ()
Prelude.NFData,
Text -> Either String Type
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String Type
$cfromText :: Text -> Either String Type
Data.FromText,
Type -> Text
forall a. (a -> Text) -> ToText a
toText :: Type -> Text
$ctoText :: Type -> Text
Data.ToText,
Type -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: Type -> ByteString
$ctoBS :: Type -> ByteString
Data.ToByteString,
Type -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: Type -> ByteStringBuilder
$cbuild :: Type -> ByteStringBuilder
Data.ToLog,
HeaderName -> Type -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> Type -> [Header]
$ctoHeader :: HeaderName -> Type -> [Header]
Data.ToHeader,
Type -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: Type -> QueryString
$ctoQuery :: Type -> QueryString
Data.ToQuery,
Value -> Parser [Type]
Value -> Parser Type
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [Type]
$cparseJSONList :: Value -> Parser [Type]
parseJSON :: Value -> Parser Type
$cparseJSON :: Value -> Parser Type
Data.FromJSON,
FromJSONKeyFunction [Type]
FromJSONKeyFunction Type
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [Type]
$cfromJSONKeyList :: FromJSONKeyFunction [Type]
fromJSONKey :: FromJSONKeyFunction Type
$cfromJSONKey :: FromJSONKeyFunction Type
Data.FromJSONKey,
[Type] -> Encoding
[Type] -> Value
Type -> Encoding
Type -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [Type] -> Encoding
$ctoEncodingList :: [Type] -> Encoding
toJSONList :: [Type] -> Value
$ctoJSONList :: [Type] -> Value
toEncoding :: Type -> Encoding
$ctoEncoding :: Type -> Encoding
toJSON :: Type -> Value
$ctoJSON :: Type -> Value
Data.ToJSON,
ToJSONKeyFunction [Type]
ToJSONKeyFunction Type
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [Type]
$ctoJSONKeyList :: ToJSONKeyFunction [Type]
toJSONKey :: ToJSONKeyFunction Type
$ctoJSONKey :: ToJSONKeyFunction Type
Data.ToJSONKey,
[Node] -> Either String Type
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String Type
$cparseXML :: [Node] -> Either String Type
Data.FromXML,
Type -> XML
forall a. (a -> XML) -> ToXML a
toXML :: Type -> XML
$ctoXML :: Type -> XML
Data.ToXML
)
pattern Type_CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET :: Type
pattern $bType_CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET :: Type
$mType_CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET :: forall {r}. Type -> ((# #) -> r) -> ((# #) -> r) -> r
Type_CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET = Type' "CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET"
pattern Type_EXPORT_ASSETS_TO_S3 :: Type
pattern $bType_EXPORT_ASSETS_TO_S3 :: Type
$mType_EXPORT_ASSETS_TO_S3 :: forall {r}. Type -> ((# #) -> r) -> ((# #) -> r) -> r
Type_EXPORT_ASSETS_TO_S3 = Type' "EXPORT_ASSETS_TO_S3"
pattern Type_EXPORT_ASSET_TO_SIGNED_URL :: Type
pattern $bType_EXPORT_ASSET_TO_SIGNED_URL :: Type
$mType_EXPORT_ASSET_TO_SIGNED_URL :: forall {r}. Type -> ((# #) -> r) -> ((# #) -> r) -> r
Type_EXPORT_ASSET_TO_SIGNED_URL = Type' "EXPORT_ASSET_TO_SIGNED_URL"
pattern Type_EXPORT_REVISIONS_TO_S3 :: Type
pattern $bType_EXPORT_REVISIONS_TO_S3 :: Type
$mType_EXPORT_REVISIONS_TO_S3 :: forall {r}. Type -> ((# #) -> r) -> ((# #) -> r) -> r
Type_EXPORT_REVISIONS_TO_S3 = Type' "EXPORT_REVISIONS_TO_S3"
pattern Type_IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY :: Type
pattern $bType_IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY :: Type
$mType_IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY :: forall {r}. Type -> ((# #) -> r) -> ((# #) -> r) -> r
Type_IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY = Type' "IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY"
pattern Type_IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES :: Type
pattern $bType_IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES :: Type
$mType_IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES :: forall {r}. Type -> ((# #) -> r) -> ((# #) -> r) -> r
Type_IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES = Type' "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES"
pattern Type_IMPORT_ASSETS_FROM_S3 :: Type
pattern $bType_IMPORT_ASSETS_FROM_S3 :: Type
$mType_IMPORT_ASSETS_FROM_S3 :: forall {r}. Type -> ((# #) -> r) -> ((# #) -> r) -> r
Type_IMPORT_ASSETS_FROM_S3 = Type' "IMPORT_ASSETS_FROM_S3"
pattern Type_IMPORT_ASSET_FROM_API_GATEWAY_API :: Type
pattern $bType_IMPORT_ASSET_FROM_API_GATEWAY_API :: Type
$mType_IMPORT_ASSET_FROM_API_GATEWAY_API :: forall {r}. Type -> ((# #) -> r) -> ((# #) -> r) -> r
Type_IMPORT_ASSET_FROM_API_GATEWAY_API = Type' "IMPORT_ASSET_FROM_API_GATEWAY_API"
pattern Type_IMPORT_ASSET_FROM_SIGNED_URL :: Type
pattern $bType_IMPORT_ASSET_FROM_SIGNED_URL :: Type
$mType_IMPORT_ASSET_FROM_SIGNED_URL :: forall {r}. Type -> ((# #) -> r) -> ((# #) -> r) -> r
Type_IMPORT_ASSET_FROM_SIGNED_URL = Type' "IMPORT_ASSET_FROM_SIGNED_URL"
{-# COMPLETE
Type_CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET,
Type_EXPORT_ASSETS_TO_S3,
Type_EXPORT_ASSET_TO_SIGNED_URL,
Type_EXPORT_REVISIONS_TO_S3,
Type_IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY,
Type_IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES,
Type_IMPORT_ASSETS_FROM_S3,
Type_IMPORT_ASSET_FROM_API_GATEWAY_API,
Type_IMPORT_ASSET_FROM_SIGNED_URL,
Type'
#-}