{-# 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.S3.Types.SSES3
-- 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.S3.Types.SSES3 where

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

-- | Specifies the use of SSE-S3 to encrypt delivered inventory reports.
--
-- /See:/ 'newSSES3' smart constructor.
data SSES3 = SSES3'
  {
  }
  deriving (SSES3 -> SSES3 -> Bool
(SSES3 -> SSES3 -> Bool) -> (SSES3 -> SSES3 -> Bool) -> Eq SSES3
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SSES3 -> SSES3 -> Bool
$c/= :: SSES3 -> SSES3 -> Bool
== :: SSES3 -> SSES3 -> Bool
$c== :: SSES3 -> SSES3 -> Bool
Prelude.Eq, ReadPrec [SSES3]
ReadPrec SSES3
Int -> ReadS SSES3
ReadS [SSES3]
(Int -> ReadS SSES3)
-> ReadS [SSES3]
-> ReadPrec SSES3
-> ReadPrec [SSES3]
-> Read SSES3
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [SSES3]
$creadListPrec :: ReadPrec [SSES3]
readPrec :: ReadPrec SSES3
$creadPrec :: ReadPrec SSES3
readList :: ReadS [SSES3]
$creadList :: ReadS [SSES3]
readsPrec :: Int -> ReadS SSES3
$creadsPrec :: Int -> ReadS SSES3
Prelude.Read, Int -> SSES3 -> ShowS
[SSES3] -> ShowS
SSES3 -> String
(Int -> SSES3 -> ShowS)
-> (SSES3 -> String) -> ([SSES3] -> ShowS) -> Show SSES3
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SSES3] -> ShowS
$cshowList :: [SSES3] -> ShowS
show :: SSES3 -> String
$cshow :: SSES3 -> String
showsPrec :: Int -> SSES3 -> ShowS
$cshowsPrec :: Int -> SSES3 -> ShowS
Prelude.Show, (forall x. SSES3 -> Rep SSES3 x)
-> (forall x. Rep SSES3 x -> SSES3) -> Generic SSES3
forall x. Rep SSES3 x -> SSES3
forall x. SSES3 -> Rep SSES3 x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep SSES3 x -> SSES3
$cfrom :: forall x. SSES3 -> Rep SSES3 x
Prelude.Generic)

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

instance Core.FromXML SSES3 where
  parseXML :: [Node] -> Either String SSES3
parseXML = Either String SSES3 -> [Node] -> Either String SSES3
forall a b. a -> b -> a
Prelude.const (SSES3 -> Either String SSES3
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure SSES3
SSES3')

instance Prelude.Hashable SSES3

instance Prelude.NFData SSES3

instance Core.ToXML SSES3 where
  toXML :: SSES3 -> XML
toXML = XML -> SSES3 -> XML
forall a b. a -> b -> a
Prelude.const XML
forall a. Monoid a => a
Prelude.mempty