{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

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

-- |
-- Module      : Amazonka.AppFlow.Types.RedshiftMetadata
-- 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.AppFlow.Types.RedshiftMetadata where

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

-- | The connector metadata specific to Amazon Redshift.
--
-- /See:/ 'newRedshiftMetadata' smart constructor.
data RedshiftMetadata = RedshiftMetadata'
  {
  }
  deriving (RedshiftMetadata -> RedshiftMetadata -> Bool
(RedshiftMetadata -> RedshiftMetadata -> Bool)
-> (RedshiftMetadata -> RedshiftMetadata -> Bool)
-> Eq RedshiftMetadata
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RedshiftMetadata -> RedshiftMetadata -> Bool
$c/= :: RedshiftMetadata -> RedshiftMetadata -> Bool
== :: RedshiftMetadata -> RedshiftMetadata -> Bool
$c== :: RedshiftMetadata -> RedshiftMetadata -> Bool
Prelude.Eq, ReadPrec [RedshiftMetadata]
ReadPrec RedshiftMetadata
Int -> ReadS RedshiftMetadata
ReadS [RedshiftMetadata]
(Int -> ReadS RedshiftMetadata)
-> ReadS [RedshiftMetadata]
-> ReadPrec RedshiftMetadata
-> ReadPrec [RedshiftMetadata]
-> Read RedshiftMetadata
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [RedshiftMetadata]
$creadListPrec :: ReadPrec [RedshiftMetadata]
readPrec :: ReadPrec RedshiftMetadata
$creadPrec :: ReadPrec RedshiftMetadata
readList :: ReadS [RedshiftMetadata]
$creadList :: ReadS [RedshiftMetadata]
readsPrec :: Int -> ReadS RedshiftMetadata
$creadsPrec :: Int -> ReadS RedshiftMetadata
Prelude.Read, Int -> RedshiftMetadata -> ShowS
[RedshiftMetadata] -> ShowS
RedshiftMetadata -> String
(Int -> RedshiftMetadata -> ShowS)
-> (RedshiftMetadata -> String)
-> ([RedshiftMetadata] -> ShowS)
-> Show RedshiftMetadata
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RedshiftMetadata] -> ShowS
$cshowList :: [RedshiftMetadata] -> ShowS
show :: RedshiftMetadata -> String
$cshow :: RedshiftMetadata -> String
showsPrec :: Int -> RedshiftMetadata -> ShowS
$cshowsPrec :: Int -> RedshiftMetadata -> ShowS
Prelude.Show, (forall x. RedshiftMetadata -> Rep RedshiftMetadata x)
-> (forall x. Rep RedshiftMetadata x -> RedshiftMetadata)
-> Generic RedshiftMetadata
forall x. Rep RedshiftMetadata x -> RedshiftMetadata
forall x. RedshiftMetadata -> Rep RedshiftMetadata x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep RedshiftMetadata x -> RedshiftMetadata
$cfrom :: forall x. RedshiftMetadata -> Rep RedshiftMetadata x
Prelude.Generic)

-- |
-- Create a value of 'RedshiftMetadata' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
newRedshiftMetadata ::
  RedshiftMetadata
newRedshiftMetadata :: RedshiftMetadata
newRedshiftMetadata = RedshiftMetadata
RedshiftMetadata'

instance Core.FromJSON RedshiftMetadata where
  parseJSON :: Value -> Parser RedshiftMetadata
parseJSON =
    String
-> (Object -> Parser RedshiftMetadata)
-> Value
-> Parser RedshiftMetadata
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
      String
"RedshiftMetadata"
      (\Object
x -> RedshiftMetadata -> Parser RedshiftMetadata
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure RedshiftMetadata
RedshiftMetadata')

instance Prelude.Hashable RedshiftMetadata

instance Prelude.NFData RedshiftMetadata