{-# 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.IoTAnalytics.Types.ServiceManagedChannelS3StorageSummary
-- 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.IoTAnalytics.Types.ServiceManagedChannelS3StorageSummary where

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

-- | Used to store channel data in an S3 bucket managed by IoT Analytics.
--
-- /See:/ 'newServiceManagedChannelS3StorageSummary' smart constructor.
data ServiceManagedChannelS3StorageSummary = ServiceManagedChannelS3StorageSummary'
  {
  }
  deriving (ServiceManagedChannelS3StorageSummary
-> ServiceManagedChannelS3StorageSummary -> Bool
(ServiceManagedChannelS3StorageSummary
 -> ServiceManagedChannelS3StorageSummary -> Bool)
-> (ServiceManagedChannelS3StorageSummary
    -> ServiceManagedChannelS3StorageSummary -> Bool)
-> Eq ServiceManagedChannelS3StorageSummary
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ServiceManagedChannelS3StorageSummary
-> ServiceManagedChannelS3StorageSummary -> Bool
$c/= :: ServiceManagedChannelS3StorageSummary
-> ServiceManagedChannelS3StorageSummary -> Bool
== :: ServiceManagedChannelS3StorageSummary
-> ServiceManagedChannelS3StorageSummary -> Bool
$c== :: ServiceManagedChannelS3StorageSummary
-> ServiceManagedChannelS3StorageSummary -> Bool
Prelude.Eq, ReadPrec [ServiceManagedChannelS3StorageSummary]
ReadPrec ServiceManagedChannelS3StorageSummary
Int -> ReadS ServiceManagedChannelS3StorageSummary
ReadS [ServiceManagedChannelS3StorageSummary]
(Int -> ReadS ServiceManagedChannelS3StorageSummary)
-> ReadS [ServiceManagedChannelS3StorageSummary]
-> ReadPrec ServiceManagedChannelS3StorageSummary
-> ReadPrec [ServiceManagedChannelS3StorageSummary]
-> Read ServiceManagedChannelS3StorageSummary
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ServiceManagedChannelS3StorageSummary]
$creadListPrec :: ReadPrec [ServiceManagedChannelS3StorageSummary]
readPrec :: ReadPrec ServiceManagedChannelS3StorageSummary
$creadPrec :: ReadPrec ServiceManagedChannelS3StorageSummary
readList :: ReadS [ServiceManagedChannelS3StorageSummary]
$creadList :: ReadS [ServiceManagedChannelS3StorageSummary]
readsPrec :: Int -> ReadS ServiceManagedChannelS3StorageSummary
$creadsPrec :: Int -> ReadS ServiceManagedChannelS3StorageSummary
Prelude.Read, Int -> ServiceManagedChannelS3StorageSummary -> ShowS
[ServiceManagedChannelS3StorageSummary] -> ShowS
ServiceManagedChannelS3StorageSummary -> String
(Int -> ServiceManagedChannelS3StorageSummary -> ShowS)
-> (ServiceManagedChannelS3StorageSummary -> String)
-> ([ServiceManagedChannelS3StorageSummary] -> ShowS)
-> Show ServiceManagedChannelS3StorageSummary
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ServiceManagedChannelS3StorageSummary] -> ShowS
$cshowList :: [ServiceManagedChannelS3StorageSummary] -> ShowS
show :: ServiceManagedChannelS3StorageSummary -> String
$cshow :: ServiceManagedChannelS3StorageSummary -> String
showsPrec :: Int -> ServiceManagedChannelS3StorageSummary -> ShowS
$cshowsPrec :: Int -> ServiceManagedChannelS3StorageSummary -> ShowS
Prelude.Show, (forall x.
 ServiceManagedChannelS3StorageSummary
 -> Rep ServiceManagedChannelS3StorageSummary x)
-> (forall x.
    Rep ServiceManagedChannelS3StorageSummary x
    -> ServiceManagedChannelS3StorageSummary)
-> Generic ServiceManagedChannelS3StorageSummary
forall x.
Rep ServiceManagedChannelS3StorageSummary x
-> ServiceManagedChannelS3StorageSummary
forall x.
ServiceManagedChannelS3StorageSummary
-> Rep ServiceManagedChannelS3StorageSummary x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ServiceManagedChannelS3StorageSummary x
-> ServiceManagedChannelS3StorageSummary
$cfrom :: forall x.
ServiceManagedChannelS3StorageSummary
-> Rep ServiceManagedChannelS3StorageSummary x
Prelude.Generic)

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

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

instance
  Prelude.Hashable
    ServiceManagedChannelS3StorageSummary

instance
  Prelude.NFData
    ServiceManagedChannelS3StorageSummary