{-# 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.LakeFormation.Types.CatalogResource
-- 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.LakeFormation.Types.CatalogResource 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

-- | A structure for the catalog object.
--
-- /See:/ 'newCatalogResource' smart constructor.
data CatalogResource = CatalogResource'
  {
  }
  deriving (CatalogResource -> CatalogResource -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CatalogResource -> CatalogResource -> Bool
$c/= :: CatalogResource -> CatalogResource -> Bool
== :: CatalogResource -> CatalogResource -> Bool
$c== :: CatalogResource -> CatalogResource -> Bool
Prelude.Eq, ReadPrec [CatalogResource]
ReadPrec CatalogResource
Int -> ReadS CatalogResource
ReadS [CatalogResource]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CatalogResource]
$creadListPrec :: ReadPrec [CatalogResource]
readPrec :: ReadPrec CatalogResource
$creadPrec :: ReadPrec CatalogResource
readList :: ReadS [CatalogResource]
$creadList :: ReadS [CatalogResource]
readsPrec :: Int -> ReadS CatalogResource
$creadsPrec :: Int -> ReadS CatalogResource
Prelude.Read, Int -> CatalogResource -> ShowS
[CatalogResource] -> ShowS
CatalogResource -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CatalogResource] -> ShowS
$cshowList :: [CatalogResource] -> ShowS
show :: CatalogResource -> String
$cshow :: CatalogResource -> String
showsPrec :: Int -> CatalogResource -> ShowS
$cshowsPrec :: Int -> CatalogResource -> ShowS
Prelude.Show, forall x. Rep CatalogResource x -> CatalogResource
forall x. CatalogResource -> Rep CatalogResource x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CatalogResource x -> CatalogResource
$cfrom :: forall x. CatalogResource -> Rep CatalogResource x
Prelude.Generic)

-- |
-- Create a value of 'CatalogResource' 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.
newCatalogResource ::
  CatalogResource
newCatalogResource :: CatalogResource
newCatalogResource = CatalogResource
CatalogResource'

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

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

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

instance Data.ToJSON CatalogResource where
  toJSON :: CatalogResource -> Value
toJSON = forall a b. a -> b -> a
Prelude.const (Object -> Value
Data.Object forall a. Monoid a => a
Prelude.mempty)