{-# 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.EventBridgeMetadata
-- 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.EventBridgeMetadata 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 EventBridge.
--
-- /See:/ 'newEventBridgeMetadata' smart constructor.
data EventBridgeMetadata = EventBridgeMetadata'
  {
  }
  deriving (EventBridgeMetadata -> EventBridgeMetadata -> Bool
(EventBridgeMetadata -> EventBridgeMetadata -> Bool)
-> (EventBridgeMetadata -> EventBridgeMetadata -> Bool)
-> Eq EventBridgeMetadata
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: EventBridgeMetadata -> EventBridgeMetadata -> Bool
$c/= :: EventBridgeMetadata -> EventBridgeMetadata -> Bool
== :: EventBridgeMetadata -> EventBridgeMetadata -> Bool
$c== :: EventBridgeMetadata -> EventBridgeMetadata -> Bool
Prelude.Eq, ReadPrec [EventBridgeMetadata]
ReadPrec EventBridgeMetadata
Int -> ReadS EventBridgeMetadata
ReadS [EventBridgeMetadata]
(Int -> ReadS EventBridgeMetadata)
-> ReadS [EventBridgeMetadata]
-> ReadPrec EventBridgeMetadata
-> ReadPrec [EventBridgeMetadata]
-> Read EventBridgeMetadata
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [EventBridgeMetadata]
$creadListPrec :: ReadPrec [EventBridgeMetadata]
readPrec :: ReadPrec EventBridgeMetadata
$creadPrec :: ReadPrec EventBridgeMetadata
readList :: ReadS [EventBridgeMetadata]
$creadList :: ReadS [EventBridgeMetadata]
readsPrec :: Int -> ReadS EventBridgeMetadata
$creadsPrec :: Int -> ReadS EventBridgeMetadata
Prelude.Read, Int -> EventBridgeMetadata -> ShowS
[EventBridgeMetadata] -> ShowS
EventBridgeMetadata -> String
(Int -> EventBridgeMetadata -> ShowS)
-> (EventBridgeMetadata -> String)
-> ([EventBridgeMetadata] -> ShowS)
-> Show EventBridgeMetadata
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [EventBridgeMetadata] -> ShowS
$cshowList :: [EventBridgeMetadata] -> ShowS
show :: EventBridgeMetadata -> String
$cshow :: EventBridgeMetadata -> String
showsPrec :: Int -> EventBridgeMetadata -> ShowS
$cshowsPrec :: Int -> EventBridgeMetadata -> ShowS
Prelude.Show, (forall x. EventBridgeMetadata -> Rep EventBridgeMetadata x)
-> (forall x. Rep EventBridgeMetadata x -> EventBridgeMetadata)
-> Generic EventBridgeMetadata
forall x. Rep EventBridgeMetadata x -> EventBridgeMetadata
forall x. EventBridgeMetadata -> Rep EventBridgeMetadata x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep EventBridgeMetadata x -> EventBridgeMetadata
$cfrom :: forall x. EventBridgeMetadata -> Rep EventBridgeMetadata x
Prelude.Generic)

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

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

instance Prelude.Hashable EventBridgeMetadata

instance Prelude.NFData EventBridgeMetadata