{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.SageMaker.Types.AutoMLS3DataType
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.SageMaker.Types.AutoMLS3DataType
  ( AutoMLS3DataType
      ( ..,
        AutoMLS3DataType_ManifestFile,
        AutoMLS3DataType_S3Prefix
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude

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

pattern AutoMLS3DataType_ManifestFile :: AutoMLS3DataType
pattern $bAutoMLS3DataType_ManifestFile :: AutoMLS3DataType
$mAutoMLS3DataType_ManifestFile :: forall r. AutoMLS3DataType -> (Void# -> r) -> (Void# -> r) -> r
AutoMLS3DataType_ManifestFile = AutoMLS3DataType' "ManifestFile"

pattern AutoMLS3DataType_S3Prefix :: AutoMLS3DataType
pattern $bAutoMLS3DataType_S3Prefix :: AutoMLS3DataType
$mAutoMLS3DataType_S3Prefix :: forall r. AutoMLS3DataType -> (Void# -> r) -> (Void# -> r) -> r
AutoMLS3DataType_S3Prefix = AutoMLS3DataType' "S3Prefix"

{-# COMPLETE
  AutoMLS3DataType_ManifestFile,
  AutoMLS3DataType_S3Prefix,
  AutoMLS3DataType'
  #-}