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

-- | Represents the output of a DetachTypedLink response operation.
--
-- /See:/ 'newBatchDetachTypedLinkResponse' smart constructor.
data BatchDetachTypedLinkResponse = BatchDetachTypedLinkResponse'
  {
  }
  deriving (BatchDetachTypedLinkResponse
-> BatchDetachTypedLinkResponse -> Bool
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]
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
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.
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 Data.FromJSON BatchDetachTypedLinkResponse where
  parseJSON :: Value -> Parser BatchDetachTypedLinkResponse
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"BatchDetachTypedLinkResponse"
      (\Object
x -> forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure BatchDetachTypedLinkResponse
BatchDetachTypedLinkResponse')

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

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