{-# 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.CloudDirectory.Types.BatchDetachTypedLinkResponse
-- 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.CloudDirectory.Types.BatchDetachTypedLinkResponse where

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

-- | Represents the output of a DetachTypedLink response operation.
--
-- /See:/ 'newBatchDetachTypedLinkResponse' smart constructor.
data BatchDetachTypedLinkResponse = BatchDetachTypedLinkResponse'
  {
  }
  deriving (BatchDetachTypedLinkResponse
-> BatchDetachTypedLinkResponse -> Bool
(BatchDetachTypedLinkResponse
 -> BatchDetachTypedLinkResponse -> Bool)
-> (BatchDetachTypedLinkResponse
    -> BatchDetachTypedLinkResponse -> Bool)
-> Eq BatchDetachTypedLinkResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BatchDetachTypedLinkResponse
-> BatchDetachTypedLinkResponse -> Bool
$c/= :: BatchDetachTypedLinkResponse
-> BatchDetachTypedLinkResponse -> Bool
== :: BatchDetachTypedLinkResponse
-> BatchDetachTypedLinkResponse -> Bool
$c== :: BatchDetachTypedLinkResponse
-> BatchDetachTypedLinkResponse -> Bool
Prelude.Eq, ReadPrec [BatchDetachTypedLinkResponse]
ReadPrec BatchDetachTypedLinkResponse
Int -> ReadS BatchDetachTypedLinkResponse
ReadS [BatchDetachTypedLinkResponse]
(Int -> ReadS BatchDetachTypedLinkResponse)
-> ReadS [BatchDetachTypedLinkResponse]
-> ReadPrec BatchDetachTypedLinkResponse
-> ReadPrec [BatchDetachTypedLinkResponse]
-> Read BatchDetachTypedLinkResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [BatchDetachTypedLinkResponse]
$creadListPrec :: ReadPrec [BatchDetachTypedLinkResponse]
readPrec :: ReadPrec BatchDetachTypedLinkResponse
$creadPrec :: ReadPrec BatchDetachTypedLinkResponse
readList :: ReadS [BatchDetachTypedLinkResponse]
$creadList :: ReadS [BatchDetachTypedLinkResponse]
readsPrec :: Int -> ReadS BatchDetachTypedLinkResponse
$creadsPrec :: Int -> ReadS BatchDetachTypedLinkResponse
Prelude.Read, Int -> BatchDetachTypedLinkResponse -> ShowS
[BatchDetachTypedLinkResponse] -> ShowS
BatchDetachTypedLinkResponse -> String
(Int -> BatchDetachTypedLinkResponse -> ShowS)
-> (BatchDetachTypedLinkResponse -> String)
-> ([BatchDetachTypedLinkResponse] -> ShowS)
-> Show BatchDetachTypedLinkResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BatchDetachTypedLinkResponse] -> ShowS
$cshowList :: [BatchDetachTypedLinkResponse] -> ShowS
show :: BatchDetachTypedLinkResponse -> String
$cshow :: BatchDetachTypedLinkResponse -> String
showsPrec :: Int -> BatchDetachTypedLinkResponse -> ShowS
$cshowsPrec :: Int -> BatchDetachTypedLinkResponse -> ShowS
Prelude.Show, (forall x.
 BatchDetachTypedLinkResponse -> Rep BatchDetachTypedLinkResponse x)
-> (forall x.
    Rep BatchDetachTypedLinkResponse x -> BatchDetachTypedLinkResponse)
-> Generic BatchDetachTypedLinkResponse
forall x.
Rep BatchDetachTypedLinkResponse x -> BatchDetachTypedLinkResponse
forall x.
BatchDetachTypedLinkResponse -> Rep BatchDetachTypedLinkResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep BatchDetachTypedLinkResponse x -> BatchDetachTypedLinkResponse
$cfrom :: forall x.
BatchDetachTypedLinkResponse -> Rep BatchDetachTypedLinkResponse x
Prelude.Generic)

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

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

instance
  Prelude.Hashable
    BatchDetachTypedLinkResponse

instance Prelude.NFData BatchDetachTypedLinkResponse