{-# 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.AmplifyBackend.Types.ResourceConfig
-- 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.AmplifyBackend.Types.ResourceConfig where

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

-- | Defines the resource configuration for the data model in your Amplify
-- project.
--
-- /See:/ 'newResourceConfig' smart constructor.
data ResourceConfig = ResourceConfig'
  {
  }
  deriving (ResourceConfig -> ResourceConfig -> Bool
(ResourceConfig -> ResourceConfig -> Bool)
-> (ResourceConfig -> ResourceConfig -> Bool) -> Eq ResourceConfig
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ResourceConfig -> ResourceConfig -> Bool
$c/= :: ResourceConfig -> ResourceConfig -> Bool
== :: ResourceConfig -> ResourceConfig -> Bool
$c== :: ResourceConfig -> ResourceConfig -> Bool
Prelude.Eq, ReadPrec [ResourceConfig]
ReadPrec ResourceConfig
Int -> ReadS ResourceConfig
ReadS [ResourceConfig]
(Int -> ReadS ResourceConfig)
-> ReadS [ResourceConfig]
-> ReadPrec ResourceConfig
-> ReadPrec [ResourceConfig]
-> Read ResourceConfig
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ResourceConfig]
$creadListPrec :: ReadPrec [ResourceConfig]
readPrec :: ReadPrec ResourceConfig
$creadPrec :: ReadPrec ResourceConfig
readList :: ReadS [ResourceConfig]
$creadList :: ReadS [ResourceConfig]
readsPrec :: Int -> ReadS ResourceConfig
$creadsPrec :: Int -> ReadS ResourceConfig
Prelude.Read, Int -> ResourceConfig -> ShowS
[ResourceConfig] -> ShowS
ResourceConfig -> String
(Int -> ResourceConfig -> ShowS)
-> (ResourceConfig -> String)
-> ([ResourceConfig] -> ShowS)
-> Show ResourceConfig
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ResourceConfig] -> ShowS
$cshowList :: [ResourceConfig] -> ShowS
show :: ResourceConfig -> String
$cshow :: ResourceConfig -> String
showsPrec :: Int -> ResourceConfig -> ShowS
$cshowsPrec :: Int -> ResourceConfig -> ShowS
Prelude.Show, (forall x. ResourceConfig -> Rep ResourceConfig x)
-> (forall x. Rep ResourceConfig x -> ResourceConfig)
-> Generic ResourceConfig
forall x. Rep ResourceConfig x -> ResourceConfig
forall x. ResourceConfig -> Rep ResourceConfig x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ResourceConfig x -> ResourceConfig
$cfrom :: forall x. ResourceConfig -> Rep ResourceConfig x
Prelude.Generic)

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

instance Prelude.Hashable ResourceConfig

instance Prelude.NFData ResourceConfig

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