{-# 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.ContinuationEvent
-- 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.ContinuationEvent where

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

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

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

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

instance Prelude.Hashable ContinuationEvent

instance Prelude.NFData ContinuationEvent