{-# 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.AppFlow.Types.LookoutMetricsDestinationProperties
-- 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.AppFlow.Types.LookoutMetricsDestinationProperties 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

-- | The properties that are applied when Amazon Lookout for Metrics is used
-- as a destination.
--
-- /See:/ 'newLookoutMetricsDestinationProperties' smart constructor.
data LookoutMetricsDestinationProperties = LookoutMetricsDestinationProperties'
  {
  }
  deriving (LookoutMetricsDestinationProperties
-> LookoutMetricsDestinationProperties -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LookoutMetricsDestinationProperties
-> LookoutMetricsDestinationProperties -> Bool
$c/= :: LookoutMetricsDestinationProperties
-> LookoutMetricsDestinationProperties -> Bool
== :: LookoutMetricsDestinationProperties
-> LookoutMetricsDestinationProperties -> Bool
$c== :: LookoutMetricsDestinationProperties
-> LookoutMetricsDestinationProperties -> Bool
Prelude.Eq, ReadPrec [LookoutMetricsDestinationProperties]
ReadPrec LookoutMetricsDestinationProperties
Int -> ReadS LookoutMetricsDestinationProperties
ReadS [LookoutMetricsDestinationProperties]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [LookoutMetricsDestinationProperties]
$creadListPrec :: ReadPrec [LookoutMetricsDestinationProperties]
readPrec :: ReadPrec LookoutMetricsDestinationProperties
$creadPrec :: ReadPrec LookoutMetricsDestinationProperties
readList :: ReadS [LookoutMetricsDestinationProperties]
$creadList :: ReadS [LookoutMetricsDestinationProperties]
readsPrec :: Int -> ReadS LookoutMetricsDestinationProperties
$creadsPrec :: Int -> ReadS LookoutMetricsDestinationProperties
Prelude.Read, Int -> LookoutMetricsDestinationProperties -> ShowS
[LookoutMetricsDestinationProperties] -> ShowS
LookoutMetricsDestinationProperties -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LookoutMetricsDestinationProperties] -> ShowS
$cshowList :: [LookoutMetricsDestinationProperties] -> ShowS
show :: LookoutMetricsDestinationProperties -> String
$cshow :: LookoutMetricsDestinationProperties -> String
showsPrec :: Int -> LookoutMetricsDestinationProperties -> ShowS
$cshowsPrec :: Int -> LookoutMetricsDestinationProperties -> ShowS
Prelude.Show, forall x.
Rep LookoutMetricsDestinationProperties x
-> LookoutMetricsDestinationProperties
forall x.
LookoutMetricsDestinationProperties
-> Rep LookoutMetricsDestinationProperties x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep LookoutMetricsDestinationProperties x
-> LookoutMetricsDestinationProperties
$cfrom :: forall x.
LookoutMetricsDestinationProperties
-> Rep LookoutMetricsDestinationProperties x
Prelude.Generic)

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

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

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

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

instance
  Data.ToJSON
    LookoutMetricsDestinationProperties
  where
  toJSON :: LookoutMetricsDestinationProperties -> Value
toJSON = forall a b. a -> b -> a
Prelude.const (Object -> Value
Data.Object forall a. Monoid a => a
Prelude.mempty)