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

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

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

instance Prelude.Hashable S3Metadata

instance Prelude.NFData S3Metadata