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

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
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
(LookoutMetricsDestinationProperties
 -> LookoutMetricsDestinationProperties -> Bool)
-> (LookoutMetricsDestinationProperties
    -> LookoutMetricsDestinationProperties -> Bool)
-> Eq LookoutMetricsDestinationProperties
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]
(Int -> ReadS LookoutMetricsDestinationProperties)
-> ReadS [LookoutMetricsDestinationProperties]
-> ReadPrec LookoutMetricsDestinationProperties
-> ReadPrec [LookoutMetricsDestinationProperties]
-> Read 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
(Int -> LookoutMetricsDestinationProperties -> ShowS)
-> (LookoutMetricsDestinationProperties -> String)
-> ([LookoutMetricsDestinationProperties] -> ShowS)
-> Show LookoutMetricsDestinationProperties
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.
 LookoutMetricsDestinationProperties
 -> Rep LookoutMetricsDestinationProperties x)
-> (forall x.
    Rep LookoutMetricsDestinationProperties x
    -> LookoutMetricsDestinationProperties)
-> Generic LookoutMetricsDestinationProperties
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
  Core.FromJSON
    LookoutMetricsDestinationProperties
  where
  parseJSON :: Value -> Parser LookoutMetricsDestinationProperties
parseJSON =
    String
-> (Object -> Parser LookoutMetricsDestinationProperties)
-> Value
-> Parser LookoutMetricsDestinationProperties
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
      String
"LookoutMetricsDestinationProperties"
      ( \Object
x ->
          LookoutMetricsDestinationProperties
-> Parser LookoutMetricsDestinationProperties
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure LookoutMetricsDestinationProperties
LookoutMetricsDestinationProperties'
      )

instance
  Prelude.Hashable
    LookoutMetricsDestinationProperties

instance
  Prelude.NFData
    LookoutMetricsDestinationProperties

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