{-# 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-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.AppFlow.Types.RedshiftMetadata where

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

-- | The connector metadata specific to Amazon Redshift.
--
-- /See:/ 'newRedshiftMetadata' smart constructor.
data RedshiftMetadata = RedshiftMetadata'
  {
  }
  deriving (RedshiftMetadata -> RedshiftMetadata -> Bool
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]
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
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. 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 Data.FromJSON RedshiftMetadata where
  parseJSON :: Value -> Parser RedshiftMetadata
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"RedshiftMetadata"
      (\Object
x -> forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure RedshiftMetadata
RedshiftMetadata')

instance Prelude.Hashable RedshiftMetadata where
  hashWithSalt :: Int -> RedshiftMetadata -> Int
hashWithSalt Int
_salt RedshiftMetadata
_ =
    Int
_salt forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` ()

instance Prelude.NFData RedshiftMetadata where
  rnf :: RedshiftMetadata -> ()
rnf RedshiftMetadata
_ = ()