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

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

-- | Contains information about the data store that is managed by IoT
-- Analytics.
--
-- /See:/ 'newServiceManagedDatastoreS3StorageSummary' smart constructor.
data ServiceManagedDatastoreS3StorageSummary = ServiceManagedDatastoreS3StorageSummary'
  {
  }
  deriving (ServiceManagedDatastoreS3StorageSummary
-> ServiceManagedDatastoreS3StorageSummary -> Bool
(ServiceManagedDatastoreS3StorageSummary
 -> ServiceManagedDatastoreS3StorageSummary -> Bool)
-> (ServiceManagedDatastoreS3StorageSummary
    -> ServiceManagedDatastoreS3StorageSummary -> Bool)
-> Eq ServiceManagedDatastoreS3StorageSummary
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ServiceManagedDatastoreS3StorageSummary
-> ServiceManagedDatastoreS3StorageSummary -> Bool
$c/= :: ServiceManagedDatastoreS3StorageSummary
-> ServiceManagedDatastoreS3StorageSummary -> Bool
== :: ServiceManagedDatastoreS3StorageSummary
-> ServiceManagedDatastoreS3StorageSummary -> Bool
$c== :: ServiceManagedDatastoreS3StorageSummary
-> ServiceManagedDatastoreS3StorageSummary -> Bool
Prelude.Eq, ReadPrec [ServiceManagedDatastoreS3StorageSummary]
ReadPrec ServiceManagedDatastoreS3StorageSummary
Int -> ReadS ServiceManagedDatastoreS3StorageSummary
ReadS [ServiceManagedDatastoreS3StorageSummary]
(Int -> ReadS ServiceManagedDatastoreS3StorageSummary)
-> ReadS [ServiceManagedDatastoreS3StorageSummary]
-> ReadPrec ServiceManagedDatastoreS3StorageSummary
-> ReadPrec [ServiceManagedDatastoreS3StorageSummary]
-> Read ServiceManagedDatastoreS3StorageSummary
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ServiceManagedDatastoreS3StorageSummary]
$creadListPrec :: ReadPrec [ServiceManagedDatastoreS3StorageSummary]
readPrec :: ReadPrec ServiceManagedDatastoreS3StorageSummary
$creadPrec :: ReadPrec ServiceManagedDatastoreS3StorageSummary
readList :: ReadS [ServiceManagedDatastoreS3StorageSummary]
$creadList :: ReadS [ServiceManagedDatastoreS3StorageSummary]
readsPrec :: Int -> ReadS ServiceManagedDatastoreS3StorageSummary
$creadsPrec :: Int -> ReadS ServiceManagedDatastoreS3StorageSummary
Prelude.Read, Int -> ServiceManagedDatastoreS3StorageSummary -> ShowS
[ServiceManagedDatastoreS3StorageSummary] -> ShowS
ServiceManagedDatastoreS3StorageSummary -> String
(Int -> ServiceManagedDatastoreS3StorageSummary -> ShowS)
-> (ServiceManagedDatastoreS3StorageSummary -> String)
-> ([ServiceManagedDatastoreS3StorageSummary] -> ShowS)
-> Show ServiceManagedDatastoreS3StorageSummary
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ServiceManagedDatastoreS3StorageSummary] -> ShowS
$cshowList :: [ServiceManagedDatastoreS3StorageSummary] -> ShowS
show :: ServiceManagedDatastoreS3StorageSummary -> String
$cshow :: ServiceManagedDatastoreS3StorageSummary -> String
showsPrec :: Int -> ServiceManagedDatastoreS3StorageSummary -> ShowS
$cshowsPrec :: Int -> ServiceManagedDatastoreS3StorageSummary -> ShowS
Prelude.Show, (forall x.
 ServiceManagedDatastoreS3StorageSummary
 -> Rep ServiceManagedDatastoreS3StorageSummary x)
-> (forall x.
    Rep ServiceManagedDatastoreS3StorageSummary x
    -> ServiceManagedDatastoreS3StorageSummary)
-> Generic ServiceManagedDatastoreS3StorageSummary
forall x.
Rep ServiceManagedDatastoreS3StorageSummary x
-> ServiceManagedDatastoreS3StorageSummary
forall x.
ServiceManagedDatastoreS3StorageSummary
-> Rep ServiceManagedDatastoreS3StorageSummary x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ServiceManagedDatastoreS3StorageSummary x
-> ServiceManagedDatastoreS3StorageSummary
$cfrom :: forall x.
ServiceManagedDatastoreS3StorageSummary
-> Rep ServiceManagedDatastoreS3StorageSummary x
Prelude.Generic)

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

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

instance
  Prelude.Hashable
    ServiceManagedDatastoreS3StorageSummary

instance
  Prelude.NFData
    ServiceManagedDatastoreS3StorageSummary