{-# 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-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.IoTAnalytics.Types.ServiceManagedChannelS3StorageSummary where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
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
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]
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
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.
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
  Data.FromJSON
    ServiceManagedChannelS3StorageSummary
  where
  parseJSON :: Value -> Parser ServiceManagedChannelS3StorageSummary
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"ServiceManagedChannelS3StorageSummary"
      ( \Object
x ->
          forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure ServiceManagedChannelS3StorageSummary
ServiceManagedChannelS3StorageSummary'
      )

instance
  Prelude.Hashable
    ServiceManagedChannelS3StorageSummary
  where
  hashWithSalt :: Int -> ServiceManagedChannelS3StorageSummary -> Int
hashWithSalt Int
_salt ServiceManagedChannelS3StorageSummary
_ =
    Int
_salt forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` ()

instance
  Prelude.NFData
    ServiceManagedChannelS3StorageSummary
  where
  rnf :: ServiceManagedChannelS3StorageSummary -> ()
rnf ServiceManagedChannelS3StorageSummary
_ = ()